Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>

int main(void) {

  long h,w,m;
  scanf("%ld %ld %ld", &h, &w, &m);
  long *check_h,*check_w,**bomb;
  check_h = (long*)malloc(sizeof(long)*(h+1));
  for (long i = 1; i <= h; i++) {
    check_h[i] = 0;
  }
  check_w = (long*)malloc(sizeof(long)*(w+1));
  for (long i = 1; i <= w; i++) {
    check_w[i] = 0;
  }
  bomb = (long**)malloc(sizeof(long*)*m);
  for (long i = 0; i < m; i++) {
    bomb[i] = (long*)malloc(sizeof(long)*2);
    scanf("%ld %ld", &bomb[i][0], &bomb[i][1]);
    check_h[bomb[i][0]]++;
    check_w[bomb[i][1]]++;
  }
  long max_h = check_h[1],count_h = 0,max_w = check_w[1],count_w = 0;
  for (long i = 2; i <= h; i++) {
    if (check_h[i] > max_h) {
      max_h = check_h[i];
    }
  }
  for (long i = 1; i <= h; i++) {
    if (check_h[i] == max_h) {
      count_h++;
    }
  }
  for (long i = 2; i <= w; i++) {
    if (check_w[i] > max_w) {
      max_w = check_w[i];
    }
  }
  for (long i = 1; i <= w; i++) {
    if (check_w[i] == max_w) {
      count_w++;
    }
  }
  long ans = max_h+max_w,count_all = count_h*count_w,count_bomb = 0;
  for (long i = 0; i < m; i++) {
    if (check_h[bomb[i][0]]+check_w[bomb[i][1]] == ans) {
      count_bomb++;
    }
  }
  if (count_bomb == count_all) {
    ans--;
  }
  printf("%ld\n", ans);

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld %ld %ld"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-176(%rbp), %rcx
	leaq	-184(%rbp), %rdx
	leaq	-192(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-192(%rbp), %rax
	addq	$1, %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -56(%rbp)
	movq	$1, -168(%rbp)
	jmp	.L2
.L3:
	movq	-168(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addq	$1, -168(%rbp)
.L2:
	movq	-192(%rbp), %rax
	cmpq	%rax, -168(%rbp)
	jle	.L3
	movq	-184(%rbp), %rax
	addq	$1, %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -48(%rbp)
	movq	$1, -160(%rbp)
	jmp	.L4
.L5:
	movq	-160(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addq	$1, -160(%rbp)
.L4:
	movq	-184(%rbp), %rax
	cmpq	%rax, -160(%rbp)
	jle	.L5
	movq	-176(%rbp), %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -40(%rbp)
	movq	$0, -152(%rbp)
	jmp	.L6
.L7:
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	leaq	(%rdx,%rax), %rbx
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, (%rbx)
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rdx
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	addq	$1, %rdx
	movq	%rdx, (%rax)
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	addq	$1, %rdx
	movq	%rdx, (%rax)
	addq	$1, -152(%rbp)
.L6:
	movq	-176(%rbp), %rax
	cmpq	%rax, -152(%rbp)
	jl	.L7
	movq	-56(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$2, -112(%rbp)
	jmp	.L8
.L10:
	movq	-112(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -144(%rbp)
	jge	.L9
	movq	-112(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)
.L9:
	addq	$1, -112(%rbp)
.L8:
	movq	-192(%rbp), %rax
	cmpq	%rax, -112(%rbp)
	jle	.L10
	movq	$1, -104(%rbp)
	jmp	.L11
.L13:
	movq	-104(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -144(%rbp)
	jne	.L12
	addq	$1, -136(%rbp)
.L12:
	addq	$1, -104(%rbp)
.L11:
	movq	-192(%rbp), %rax
	cmpq	%rax, -104(%rbp)
	jle	.L13
	movq	$2, -96(%rbp)
	jmp	.L14
.L16:
	movq	-96(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -128(%rbp)
	jge	.L15
	movq	-96(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
.L15:
	addq	$1, -96(%rbp)
.L14:
	movq	-184(%rbp), %rax
	cmpq	%rax, -96(%rbp)
	jle	.L16
	movq	$1, -88(%rbp)
	jmp	.L17
.L19:
	movq	-88(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -128(%rbp)
	jne	.L18
	addq	$1, -120(%rbp)
.L18:
	addq	$1, -88(%rbp)
.L17:
	movq	-184(%rbp), %rax
	cmpq	%rax, -88(%rbp)
	jle	.L19
	movq	-144(%rbp), %rdx
	movq	-128(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -80(%rbp)
	movq	-136(%rbp), %rax
	imulq	-120(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	jmp	.L20
.L22:
	movq	-64(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rax
	leaq	0(,%rax,8), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rcx
	movq	-48(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	addq	%rdx, %rax
	cmpq	%rax, -80(%rbp)
	jne	.L21
	addq	$1, -72(%rbp)
.L21:
	addq	$1, -64(%rbp)
.L20:
	movq	-176(%rbp), %rax
	cmpq	%rax, -64(%rbp)
	jl	.L22
	movq	-72(%rbp), %rax
	cmpq	-32(%rbp), %rax
	jne	.L23
	subq	$1, -80(%rbp)
.L23:
	movq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld %ld %ld"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbp
	leaq	8(,%rbp,8), %rbx
	movq	%rbx, %rdi
	call	malloc@PLT
	movq	%rax, %r12
	testq	%rbp, %rbp
	jle	.L2
	leaq	-8(%rbx), %rdx
	leaq	8(%rax), %rdi
	xorl	%esi, %esi
	call	memset@PLT
.L2:
	movq	8(%rsp), %rbp
	leaq	8(,%rbp,8), %rbx
	movq	%rbx, %rdi
	call	malloc@PLT
	movq	%rax, %r15
	testq	%rbp, %rbp
	jle	.L3
	leaq	-8(%rbx), %rdx
	leaq	8(%rax), %rdi
	xorl	%esi, %esi
	call	memset@PLT
.L3:
	movq	16(%rsp), %rbx
	leaq	0(,%rbx,8), %rdi
	call	malloc@PLT
	movq	%rax, %rbp
	testq	%rbx, %rbx
	jle	.L4
	xorl	%r13d, %r13d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$16, %edi
	call	malloc@PLT
	movq	%r14, %rdi
	movq	%rax, 0(%rbp,%r13,8)
	movq	%rax, %rbx
	leaq	8(%rax), %rdx
	movq	%rax, %rsi
	xorl	%eax, %eax
	addq	$1, %r13
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	addq	$1, (%r12,%rax,8)
	movq	8(%rbx), %rax
	movq	16(%rsp), %rbx
	addq	$1, (%r15,%rax,8)
	cmpq	%r13, %rbx
	jg	.L5
.L4:
	movq	(%rsp), %rdi
	movq	8(%r12), %rdx
	movq	8(%r15), %rax
	cmpq	$1, %rdi
	jle	.L6
	leaq	16(%r12), %rcx
	leaq	8(%r12,%rdi,8), %r8
	.p2align 4,,10
	.p2align 3
.L7:
	movq	(%rcx), %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	addq	$8, %rcx
	cmpq	%r8, %rcx
	jne	.L7
.L8:
	movl	$1, %ecx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L11:
	cmpq	(%r12,%rcx,8), %rdx
	jne	.L10
	addq	$1, %r8
.L10:
	addq	$1, %rcx
	cmpq	%rcx, %rdi
	jge	.L11
.L9:
	movq	8(%rsp), %rdi
	cmpq	$1, %rdi
	jle	.L12
	leaq	16(%r15), %rcx
	leaq	8(%r15,%rdi,8), %r9
	.p2align 4,,10
	.p2align 3
.L13:
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	cmovl	%rsi, %rax
	addq	$8, %rcx
	cmpq	%r9, %rcx
	jne	.L13
.L14:
	movl	$1, %ecx
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L17:
	cmpq	(%r15,%rcx,8), %rax
	jne	.L16
	addq	$1, %rsi
.L16:
	addq	$1, %rcx
	cmpq	%rcx, %rdi
	jge	.L17
	imulq	%rsi, %r8
	addq	%rax, %rdx
	testq	%rbx, %rbx
	jle	.L26
.L22:
	leaq	0(%rbp,%rbx,8), %rdi
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L20:
	movq	0(%rbp), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	movq	(%r15,%rax,8), %rax
	addq	(%r12,%rsi,8), %rax
	cmpq	%rax, %rdx
	sete	%al
	addq	$8, %rbp
	movzbl	%al, %eax
	addq	%rax, %rcx
	cmpq	%rbp, %rdi
	jne	.L20
.L18:
	cmpq	%rcx, %r8
	je	.L23
.L21:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L37
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	je	.L14
	addq	%rax, %rdx
	xorl	%r8d, %r8d
	testq	%rbx, %rbx
	jg	.L22
.L23:
	subq	$1, %rdx
	jmp	.L21
.L6:
	movl	$0, %r8d
	jne	.L9
	jmp	.L8
.L26:
	xorl	%ecx, %ecx
	jmp	.L18
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld %ld %ld"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rbp
	leaq	8(,%rbp,8), %rbx
	movq	%rbx, %rdi
	call	malloc@PLT
	movq	%rax, %r12
	testq	%rbp, %rbp
	jle	.L2
	leaq	-8(%rbx), %rdx
	leaq	8(%rax), %rdi
	xorl	%esi, %esi
	call	memset@PLT
.L2:
	movq	8(%rsp), %rbp
	leaq	8(,%rbp,8), %rbx
	movq	%rbx, %rdi
	call	malloc@PLT
	movq	%rax, %r15
	testq	%rbp, %rbp
	jle	.L3
	leaq	-8(%rbx), %rdx
	leaq	8(%rax), %rdi
	xorl	%esi, %esi
	call	memset@PLT
.L3:
	movq	16(%rsp), %rbx
	leaq	0(,%rbx,8), %rdi
	call	malloc@PLT
	movq	%rax, %rbp
	testq	%rbx, %rbx
	jle	.L4
	xorl	%r13d, %r13d
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$16, %edi
	call	malloc@PLT
	movq	%r14, %rdi
	movq	%rax, 0(%rbp,%r13,8)
	movq	%rax, %rbx
	leaq	8(%rax), %rdx
	movq	%rax, %rsi
	xorl	%eax, %eax
	addq	$1, %r13
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	addq	$1, (%r12,%rax,8)
	movq	8(%rbx), %rax
	movq	16(%rsp), %rbx
	addq	$1, (%r15,%rax,8)
	cmpq	%r13, %rbx
	jg	.L5
.L4:
	movq	(%rsp), %rdi
	movq	8(%r12), %rdx
	movq	8(%r15), %rax
	cmpq	$1, %rdi
	jle	.L6
	leaq	16(%r12), %rcx
	leaq	8(%r12,%rdi,8), %r8
	.p2align 4,,10
	.p2align 3
.L7:
	movq	(%rcx), %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	addq	$8, %rcx
	cmpq	%r8, %rcx
	jne	.L7
.L8:
	movl	$1, %ecx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L11:
	cmpq	(%r12,%rcx,8), %rdx
	jne	.L10
	addq	$1, %r8
.L10:
	addq	$1, %rcx
	cmpq	%rcx, %rdi
	jge	.L11
.L9:
	movq	8(%rsp), %rdi
	cmpq	$1, %rdi
	jle	.L12
	leaq	16(%r15), %rcx
	leaq	8(%r15,%rdi,8), %r9
	.p2align 4,,10
	.p2align 3
.L13:
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	cmovl	%rsi, %rax
	addq	$8, %rcx
	cmpq	%r9, %rcx
	jne	.L13
.L14:
	movl	$1, %ecx
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L17:
	cmpq	(%r15,%rcx,8), %rax
	jne	.L16
	addq	$1, %rsi
.L16:
	addq	$1, %rcx
	cmpq	%rcx, %rdi
	jge	.L17
	imulq	%rsi, %r8
	addq	%rax, %rdx
	testq	%rbx, %rbx
	jle	.L26
.L22:
	leaq	0(%rbp,%rbx,8), %rdi
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L20:
	movq	0(%rbp), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	movq	(%r15,%rax,8), %rax
	addq	(%r12,%rsi,8), %rax
	cmpq	%rax, %rdx
	sete	%al
	addq	$8, %rbp
	movzbl	%al, %eax
	addq	%rax, %rcx
	cmpq	%rbp, %rdi
	jne	.L20
.L18:
	cmpq	%rcx, %r8
	je	.L23
.L21:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L37
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	je	.L14
	addq	%rax, %rdx
	xorl	%r8d, %r8d
	testq	%rbx, %rbx
	jg	.L22
.L23:
	subq	$1, %rdx
	jmp	.L21
.L6:
	movl	$0, %r8d
	jne	.L9
	jmp	.L8
.L26:
	xorl	%ecx, %ecx
	jmp	.L18
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdio.h>
#include <stdlib.h>

int main(void) {

  long h,w,m;
  scanf("%ld %ld %ld", &h, &w, &m);
  long *check_h,*check_w,**bomb;
  check_h = (long*)malloc(sizeof(long)*(h+1));
  for (long i = 1; i <= h; i++) {
    check_h[i] = 0;
  }
  check_w = (long*)malloc(sizeof(long)*(w+1));
  for (long i = 1; i <= w; i++) {
    check_w[i] = 0;
  }
  bomb = (long**)malloc(sizeof(long*)*m);
  for (long i = 0; i < m; i++) {
    bomb[i] = (long*)malloc(sizeof(long)*2);
    scanf("%ld %ld", &bomb[i][0], &bomb[i][1]);
    check_h[bomb[i][0]]++;
    check_w[bomb[i][1]]++;
  }
  long max_h = check_h[1],count_h = 0,max_w = check_w[1],count_w = 0;
  for (long i = 2; i <= h; i++) {
    if (check_h[i] > max_h) {
      max_h = check_h[i];
    }
  }
  for (long i = 1; i <= h; i++) {
    if (check_h[i] == max_h) {
      count_h++;
    }
  }
  for (long i = 2; i <= w; i++) {
    if (check_w[i] > max_w) {
      max_w = check_w[i];
    }
  }
  for (long i = 1; i <= w; i++) {
    if (check_w[i] == max_w) {
      count_w++;
    }
  }
  long ans = max_h+max_w,count_all = count_h*count_w,count_bomb = 0;
  for (long i = 0; i < m; i++) {
    if (check_h[bomb[i][0]]+check_w[bomb[i][1]] == ans) {
      count_bomb++;
    }
  }
  if (count_bomb == count_all) {
    ans--;
  }
  printf("%ld\n", ans);

  return 0;
}
2 3 3
2 2
1 1
1 2
 5 5 10
2 5
4 5
2 3
5 5
2 2
5 4
5 3
5 1
3 5
1 4
 5 5 10
2 5
4 5
2 3
5 5
2 4
5 4
5 1
1 1
4 5
1 4
 5 5 10
2 5
4 2
2 3
5 5
2 3
5 4
5 1
1 1
4 5
1 4
 6 3 4
1 3
3 1
1 1
1 2
 5 5 10
2 5
4 5
2 1
5 5
2 2
5 4
5 1
5 2
3 5
1 5
 5 5 10
2 5
4 5
2 3
5 5
2 2
5 4
5 1
5 1
3 5
1 4
 5 5 10
2 5
4 5
2 3
5 5
2 4
5 4
5 1
5 1
3 5
1 4
 5 5 10
2 5
4 5
2 3
5 5
2 4
5 4
5 1
5 1
4 5
1 4
 2 3 3
2 1
1 1
1 3

3
 7
 6
 5
 4
 8
 7
 7
 7
 3

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>

int main(void) {

  long h,w,m;
  scanf("%ld %ld %ld", &h, &w, &m);
  long *check_h,*check_w,**bomb;
  check_h = (long*)malloc(sizeof(long)*(h+1));
  for (long i = 1; i <= h; i++) {
    check_h[i] = 0;
  }
  check_w = (long*)malloc(sizeof(long)*(w+1));
  for (long i = 1; i <= w; i++) {
    check_w[i] = 0;
  }
  bomb = (long**)malloc(sizeof(long*)*m);
  for (long i = 0; i < m; i++) {
    bomb[i] = (long*)malloc(sizeof(long)*2);
    scanf("%ld %ld", &bomb[i][0], &bomb[i][1]);
    check_h[bomb[i][0]]++;
    check_w[bomb[i][1]]++;
  }
  long max_h = check_h[1],count_h = 0,max_w = check_w[1],count_w = 0;
  for (long i = 2; i <= h; i++) {
    if (check_h[i] > max_h) {
      max_h = check_h[i];
    }
  }
  for (long i = 1; i <= h; i++) {
    if (check_h[i] == max_h) {
      count_h++;
    }
  }
  for (long i = 2; i <= w; i++) {
    if (check_w[i] > max_w) {
      max_w = check_w[i];
    }
  }
  for (long i = 1; i <= w; i++) {
    if (check_w[i] == max_w) {
      count_w++;
    }
  }
  long ans = max_h+max_w,count_all = count_h*count_w,count_bomb = 0;
  for (long i = 0; i < m; i++) {
    if (check_h[bomb[i][0]]+check_w[bomb[i][1]] == ans) {
      count_bomb++;
    }
  }
  if (count_bomb == count_all) {
    ans--;
  }
  printf("%ld\n", ans);

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld %ld %ld"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-176(%rbp), %rcx
	leaq	-184(%rbp), %rdx
	leaq	-192(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-192(%rbp), %rax
	addq	$1, %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -56(%rbp)
	movq	$1, -168(%rbp)
	jmp	.L2
.L3:
	movq	-168(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addq	$1, -168(%rbp)
.L2:
	movq	-192(%rbp), %rax
	cmpq	%rax, -168(%rbp)
	jle	.L3
	movq	-184(%rbp), %rax
	addq	$1, %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -48(%rbp)
	movq	$1, -160(%rbp)
	jmp	.L4
.L5:
	movq	-160(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addq	$1, -160(%rbp)
.L4:
	movq	-184(%rbp), %rax
	cmpq	%rax, -160(%rbp)
	jle	.L5
	movq	-176(%rbp), %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -40(%rbp)
	movq	$0, -152(%rbp)
	jmp	.L6
.L7:
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	leaq	(%rdx,%rax), %rbx
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, (%rbx)
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rdx
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	addq	$1, %rdx
	movq	%rdx, (%rax)
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	addq	$1, %rdx
	movq	%rdx, (%rax)
	addq	$1, -152(%rbp)
.L6:
	movq	-176(%rbp), %rax
	cmpq	%rax, -152(%rbp)
	jl	.L7
	movq	-56(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$2, -112(%rbp)
	jmp	.L8
.L10:
	movq	-112(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -144(%rbp)
	jge	.L9
	movq	-112(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)
.L9:
	addq	$1, -112(%rbp)
.L8:
	movq	-192(%rbp), %rax
	cmpq	%rax, -112(%rbp)
	jle	.L10
	movq	$1, -104(%rbp)
	jmp	.L11
.L13:
	movq	-104(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -144(%rbp)
	jne	.L12
	addq	$1, -136(%rbp)
.L12:
	addq	$1, -104(%rbp)
.L11:
	movq	-192(%rbp), %rax
	cmpq	%rax, -104(%rbp)
	jle	.L13
	movq	$2, -96(%rbp)
	jmp	.L14
.L16:
	movq	-96(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -128(%rbp)
	jge	.L15
	movq	-96(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
.L15:
	addq	$1, -96(%rbp)
.L14:
	movq	-184(%rbp), %rax
	cmpq	%rax, -96(%rbp)
	jle	.L16
	movq	$1, -88(%rbp)
	jmp	.L17
.L19:
	movq	-88(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -128(%rbp)
	jne	.L18
	addq	$1, -120(%rbp)
.L18:
	addq	$1, -88(%rbp)
.L17:
	movq	-184(%rbp), %rax
	cmpq	%rax, -88(%rbp)
	jle	.L19
	movq	-144(%rbp), %rdx
	movq	-128(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -80(%rbp)
	movq	-136(%rbp), %rax
	imulq	-120(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	jmp	.L20
.L22:
	movq	-64(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rax
	leaq	0(,%rax,8), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rcx
	movq	-48(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	addq	%rdx, %rax
	cmpq	%rax, -80(%rbp)
	jne	.L21
	addq	$1, -72(%rbp)
.L21:
	addq	$1, -64(%rbp)
.L20:
	movq	-176(%rbp), %rax
	cmpq	%rax, -64(%rbp)
	jl	.L22
	movq	-72(%rbp), %rax
	cmpq	-32(%rbp), %rax
	jne	.L23
	subq	$1, -80(%rbp)
.L23:
	movq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld %ld %ld"
.LC1:
	.string	"%ld %ld"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-176(%rbp), %rcx
	leaq	-184(%rbp), %rdx
	leaq	-192(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-192(%rbp), %rax
	addq	$1, %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -56(%rbp)
	movq	$1, -168(%rbp)
	jmp	.L2
.L3:
	movq	-168(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addq	$1, -168(%rbp)
.L2:
	movq	-192(%rbp), %rax
	cmpq	%rax, -168(%rbp)
	jle	.L3
	movq	-184(%rbp), %rax
	addq	$1, %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -48(%rbp)
	movq	$1, -160(%rbp)
	jmp	.L4
.L5:
	movq	-160(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addq	$1, -160(%rbp)
.L4:
	movq	-184(%rbp), %rax
	cmpq	%rax, -160(%rbp)
	jle	.L5
	movq	-176(%rbp), %rax
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -40(%rbp)
	movq	$0, -152(%rbp)
	jmp	.L6
.L7:
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	leaq	(%rdx,%rax), %rbx
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, (%rbx)
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rdx
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	addq	$1, %rdx
	movq	%rdx, (%rax)
	movq	-152(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	addq	$1, %rdx
	movq	%rdx, (%rax)
	addq	$1, -152(%rbp)
.L6:
	movq	-176(%rbp), %rax
	cmpq	%rax, -152(%rbp)
	jl	.L7
	movq	-56(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	-48(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$2, -112(%rbp)
	jmp	.L8
.L10:
	movq	-112(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -144(%rbp)
	jge	.L9
	movq	-112(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)
.L9:
	addq	$1, -112(%rbp)
.L8:
	movq	-192(%rbp), %rax
	cmpq	%rax, -112(%rbp)
	jle	.L10
	movq	$1, -104(%rbp)
	jmp	.L11
.L13:
	movq	-104(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -144(%rbp)
	jne	.L12
	addq	$1, -136(%rbp)
.L12:
	addq	$1, -104(%rbp)
.L11:
	movq	-192(%rbp), %rax
	cmpq	%rax, -104(%rbp)
	jle	.L13
	movq	$2, -96(%rbp)
	jmp	.L14
.L16:
	movq	-96(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -128(%rbp)
	jge	.L15
	movq	-96(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
.L15:
	addq	$1, -96(%rbp)
.L14:
	movq	-184(%rbp), %rax
	cmpq	%rax, -96(%rbp)
	jle	.L16
	movq	$1, -88(%rbp)
	jmp	.L17
.L19:
	movq	-88(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -128(%rbp)
	jne	.L18
	addq	$1, -120(%rbp)
.L18:
	addq	$1, -88(%rbp)
.L17:
	movq	-184(%rbp), %rax
	cmpq	%rax, -88(%rbp)
	jle	.L19
	movq	-144(%rbp), %rdx
	movq	-128(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -80(%rbp)
	movq	-136(%rbp), %rax
	imulq	-120(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	jmp	.L20
.L22:
	movq	-64(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-64(%rbp), %rax
	leaq	0(,%rax,8), %rcx
	movq	-40(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	leaq	0(,%rax,8), %rcx
	movq	-48(%rbp), %rax
	addq	%rcx, %rax
	movq	(%rax), %rax
	addq	%rdx, %rax
	cmpq	%rax, -80(%rbp)
	jne	.L21
	addq	$1, -72(%rbp)
.L21:
	addq	$1, -64(%rbp)
.L20:
	movq	-176(%rbp), %rax
	cmpq	%rax, -64(%rbp)
	jl	.L22
	movq	-72(%rbp), %rax
	cmpq	-32(%rbp), %rax
	jne	.L23
	subq	$1, -80(%rbp)
.L23:
	movq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
