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>
#define max(a, b) (a > b? a : b);

long long row[300000], col[300000], point[300000];

int binary_search(long long target, long long array[], long long n)
{
    long long fn = 0, bn = n - 1, tmp;
    while (fn <= bn)
    {
        tmp = (fn + bn) / 2;
        if (array[tmp] < target) {fn = tmp + 1;} else if (array[tmp] > target) {bn = tmp - 1;} else {return tmp;}
    }
    return fn;
}

int compare(const void *a, const void *b) {return *(long long*)a > *(long long*)b ? 1 : (*(long long*)a == *(long long*)b ? 0 : -1);}

int main(void)
{
    long long H, W, M;
    scanf("%lld %lld %lld", &H, &W, &M);
    long long maxRow = 0, maxCol = 0;

    for (long long i = 0; i < M; i++)
    {
        long long a, b;
        scanf("%lld %lld", &a, &b);
        row[a - 1]++;
        col[b - 1]++;

        if (row[a - 1] > maxRow)
            maxRow = row[a - 1];
        if (col[b - 1] > maxCol)
            maxCol = col[b - 1];

        point[i] = a * W + b;
    }

    long long r = maxRow + maxCol - 1;

    long long numRow = 0, numCol = 0;
    long long indexRow[M], indexCol[M];
    for (long long i = 0; i < H; i++)
    {
        if (row[i] == maxRow)
        {
            indexRow[numRow++] = i;
        }
    }

    for (long long i = 0; i < W; i++)
    {
        if (col[i] == maxCol)
        {
            indexCol[numCol++] = i;
        }
    }

    if (numRow*numCol>M) {printf("%lld", r+1); return 0;}
    qsort(point, M, sizeof(long long), compare);

    for (long long i = 0; i < numRow; i++)
    {
        for (long long j = 0; j < numCol; j++)
        {
            long long key = (indexRow[i]+1)*W+indexCol[j]+1;
            if (point[binary_search(key, point, M)] != key)
            {
                printf("%lld", r + 1);
                return 0;
            }
        }
    }

    printf("%lld", r);
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	row
	.bss
	.align 32
	.type	row, @object
	.size	row, 2400000
row:
	.zero	2400000
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 2400000
col:
	.zero	2400000
	.globl	point
	.align 32
	.type	point, @object
	.size	point, 2400000
point:
	.zero	2400000
	.text
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -40(%rbp)
	movq	%rsi, -48(%rbp)
	movq	%rdx, -56(%rbp)
	movq	$0, -24(%rbp)
	movq	-56(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -16(%rbp)
	jmp	.L2
.L6:
	movq	-24(%rbp), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -40(%rbp)
	jle	.L3
	movq	-8(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -24(%rbp)
	jmp	.L2
.L3:
	movq	-8(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -40(%rbp)
	jge	.L4
	movq	-8(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -16(%rbp)
	jmp	.L2
.L4:
	movq	-8(%rbp), %rax
	jmp	.L5
.L2:
	movq	-24(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jle	.L6
	movq	-24(%rbp), %rax
.L5:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	binary_search, .-binary_search
	.globl	compare
	.type	compare, @function
compare:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jg	.L8
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L9
	movl	$0, %eax
	jmp	.L12
.L9:
	movl	$-1, %eax
	jmp	.L12
.L8:
	movl	$1, %eax
.L12:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare, .-compare
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld"
.LC1:
	.string	"%lld %lld"
.LC2:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-200(%rbp), %rcx
	leaq	-208(%rbp), %rdx
	leaq	-216(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	jmp	.L14
.L17:
	leaq	-184(%rbp), %rdx
	leaq	-192(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rcx
	movq	(%rdx,%rcx), %rdx
	leaq	1(%rdx), %rcx
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rcx
	movq	(%rdx,%rcx), %rdx
	leaq	1(%rdx), %rcx
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -176(%rbp)
	jge	.L15
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -176(%rbp)
.L15:
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -168(%rbp)
	jge	.L16
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -168(%rbp)
.L16:
	movq	-192(%rbp), %rdx
	movq	-208(%rbp), %rax
	imulq	%rax, %rdx
	movq	-184(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movq	-160(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	point(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	addq	$1, -160(%rbp)
.L14:
	movq	-200(%rbp), %rax
	cmpq	%rax, -160(%rbp)
	jl	.L17
	movq	-176(%rbp), %rdx
	movq	-168(%rbp), %rax
	addq	%rdx, %rax
	subq	$1, %rax
	movq	%rax, -104(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	-200(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -96(%rbp)
	movq	%rax, %rdx
	movq	%rdx, -240(%rbp)
	movq	$0, -232(%rbp)
	movq	%rax, %rdx
	movq	%rdx, -256(%rbp)
	movq	$0, -248(%rbp)
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L18:
	cmpq	%rdx, %rsp
	je	.L19
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L18
.L19:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L20
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L20:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -88(%rbp)
	movq	-200(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -80(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movq	%rax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L21:
	cmpq	%rdx, %rsp
	je	.L22
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L21
.L22:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L23
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L23:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -72(%rbp)
	movq	$0, -136(%rbp)
	jmp	.L24
.L26:
	movq	-136(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -176(%rbp)
	jne	.L25
	movq	-152(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -152(%rbp)
	movq	-88(%rbp), %rdx
	movq	-136(%rbp), %rcx
	movq	%rcx, (%rdx,%rax,8)
.L25:
	addq	$1, -136(%rbp)
.L24:
	movq	-216(%rbp), %rax
	cmpq	%rax, -136(%rbp)
	jl	.L26
	movq	$0, -128(%rbp)
	jmp	.L27
.L29:
	movq	-128(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -168(%rbp)
	jne	.L28
	movq	-144(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -144(%rbp)
	movq	-72(%rbp), %rdx
	movq	-128(%rbp), %rcx
	movq	%rcx, (%rdx,%rax,8)
.L28:
	addq	$1, -128(%rbp)
.L27:
	movq	-208(%rbp), %rax
	cmpq	%rax, -128(%rbp)
	jl	.L29
	movq	-152(%rbp), %rax
	imulq	-144(%rbp), %rax
	movq	%rax, %rdx
	movq	-200(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L30
	movq	-104(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L31
.L30:
	movq	-200(%rbp), %rax
	movq	%rax, %rsi
	leaq	compare(%rip), %rax
	movq	%rax, %rcx
	movl	$8, %edx
	leaq	point(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movq	$0, -120(%rbp)
	jmp	.L32
.L36:
	movq	$0, -112(%rbp)
	jmp	.L33
.L35:
	movq	-88(%rbp), %rax
	movq	-120(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	leaq	1(%rax), %rdx
	movq	-208(%rbp), %rax
	movq	%rdx, %rcx
	imulq	%rax, %rcx
	movq	-72(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	addq	%rcx, %rax
	addq	$1, %rax
	movq	%rax, -64(%rbp)
	movq	-200(%rbp), %rdx
	movq	-64(%rbp), %rax
	leaq	point(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	binary_search
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	point(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -64(%rbp)
	je	.L34
	movq	-104(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L31
.L34:
	addq	$1, -112(%rbp)
.L33:
	movq	-112(%rbp), %rax
	cmpq	-144(%rbp), %rax
	jl	.L35
	addq	$1, -120(%rbp)
.L32:
	movq	-120(%rbp), %rax
	cmpq	-152(%rbp), %rax
	jl	.L36
	movq	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L31:
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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
	.p2align 4
	.globl	compare
	.type	compare, @function
compare:
.LFB40:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rdx
	movl	$1, %eax
	cmpq	%rdx, (%rdi)
	jg	.L1
	setne	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE40:
	.size	compare, .-compare
	.p2align 4
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$1, %rdx
	js	.L12
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	1(%rcx), %rax
	cmpq	%rax, %rdx
	jl	.L14
.L11:
	leaq	(%rdx,%rax), %rcx
	sarq	%rcx
	cmpq	%rdi, (%rsi,%rcx,8)
	jl	.L15
	jle	.L9
	leaq	-1(%rcx), %rdx
	cmpq	%rax, %rdx
	jge	.L11
.L14:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%ecx, %eax
	ret
.L12:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	binary_search, .-binary_search
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld"
.LC1:
	.string	"%lld %lld"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-96(%rbp), %rsi
	leaq	-80(%rbp), %rcx
	pushq	%r13
	leaq	-88(%rbp), %rdx
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	jle	.L17
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %r15
	xorl	%ecx, %ecx
	leaq	-72(%rbp), %r14
	leaq	row(%rip), %r9
	leaq	col(%rip), %r8
	leaq	point(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r15, %rdx
	movq	%r14, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	movq	%r8, -120(%rbp)
	movq	%r9, -112(%rbp)
	movq	%rcx, -104(%rbp)
	call	__isoc99_scanf@PLT
	movq	-72(%rbp), %rdx
	movq	-112(%rbp), %r9
	movq	-64(%rbp), %rsi
	movq	-120(%rbp), %r8
	leaq	-1(%rdx), %rax
	movq	-104(%rbp), %rcx
	movq	(%r9,%rax,8), %rdi
	leaq	-1(%rsi), %r11
	addq	$1, %rdi
	movq	%rdi, (%r9,%rax,8)
	movq	(%r8,%r11,8), %rax
	addq	$1, %rax
	cmpq	%rdi, %rcx
	cmovl	%rdi, %rcx
	cmpq	%rax, %r12
	movq	%rax, (%r8,%r11,8)
	cmovl	%rax, %r12
	movq	-88(%rbp), %rax
	imulq	%rax, %rdx
	addq	%rsi, %rdx
	movq	-80(%rbp), %rsi
	movq	%rdx, (%rbx,%r13,8)
	addq	$1, %r13
	cmpq	%r13, %rsi
	jg	.L18
.L19:
	leaq	15(,%rsi,8), %rdx
	leaq	(%rcx,%r12), %rdi
	movq	%rsp, %r8
	movq	%rdx, %r9
	movq	%rdi, -104(%rbp)
	movq	%rdx, %rdi
	andq	$-4096, %r9
	andq	$-16, %rdi
	subq	%r9, %r8
	cmpq	%r8, %rsp
	je	.L21
.L66:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%r8, %rsp
	jne	.L66
.L21:
	andl	$4095, %edi
	subq	%rdi, %rsp
	testq	%rdi, %rdi
	jne	.L67
.L22:
	movq	%rdx, %rdi
	movq	%rsp, %r8
	andq	$-4096, %rdx
	movq	%rsp, %r15
	andq	$-16, %rdi
	subq	%rdx, %r8
.L23:
	cmpq	%r8, %rsp
	je	.L24
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L23
.L67:
	orq	$0, -8(%rsp,%rdi)
	jmp	.L22
.L17:
	movq	-88(%rbp), %rax
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	jmp	.L19
.L24:
	andl	$4095, %edi
	subq	%rdi, %rsp
	testq	%rdi, %rdi
	jne	.L68
.L25:
	movq	-96(%rbp), %rdi
	movq	%rsp, %r13
	testq	%rdi, %rdi
	jle	.L47
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	leaq	row(%rip), %r9
	.p2align 4,,10
	.p2align 3
.L28:
	cmpq	%rcx, (%r9,%rdx,8)
	jne	.L27
	movq	%rdx, (%r15,%r14,8)
	addq	$1, %r14
.L27:
	addq	$1, %rdx
	cmpq	%rdi, %rdx
	jne	.L28
.L26:
	testq	%rax, %rax
	jle	.L48
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	leaq	col(%rip), %r8
	.p2align 4,,10
	.p2align 3
.L31:
	cmpq	%r12, (%r8,%rdx,8)
	jne	.L30
	movq	%rdx, 0(%r13,%r9,8)
	addq	$1, %r9
.L30:
	addq	$1, %rdx
	cmpq	%rdx, %rax
	jne	.L31
.L29:
	movq	%r14, %rax
	imulq	%r9, %rax
	cmpq	%rsi, %rax
	jg	.L65
	leaq	point(%rip), %rbx
	leaq	compare(%rip), %rcx
	movl	$8, %edx
	movq	%r9, -112(%rbp)
	movq	%rbx, %rdi
	call	qsort@PLT
	testq	%r14, %r14
	je	.L34
	movq	-80(%rbp), %rax
	movq	-88(%rbp), %r10
	xorl	%r12d, %r12d
	movq	-112(%rbp), %r9
	leaq	-1(%rax), %r8
.L35:
	testq	%r9, %r9
	je	.L45
	movq	(%r15,%r12,8), %rax
	xorl	%edi, %edi
	leaq	1(%rax), %r11
	imulq	%r10, %r11
	.p2align 4,,10
	.p2align 3
.L43:
	movq	0(%r13,%rdi,8), %rsi
	addq	%r11, %rsi
	addq	$1, %rsi
	testq	%r8, %r8
	js	.L49
	movq	%r8, %rcx
	xorl	%edx, %edx
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L69:
	leaq	1(%rax), %rdx
	cmpq	%rdx, %rcx
	jl	.L40
.L41:
	leaq	(%rdx,%rcx), %rax
	sarq	%rax
	cmpq	(%rbx,%rax,8), %rsi
	jg	.L69
	jge	.L39
	leaq	-1(%rax), %rcx
	cmpq	%rdx, %rcx
	jge	.L41
.L40:
	movslq	%edx, %rdx
	cmpq	%rsi, (%rbx,%rdx,8)
	jne	.L65
.L42:
	addq	$1, %rdi
	cmpq	%r9, %rdi
	jne	.L43
.L45:
	addq	$1, %r12
	cmpq	%r14, %r12
	jne	.L35
.L34:
	movq	-104(%rbp), %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subq	$1, %rdx
	call	__printf_chk@PLT
.L33:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L70
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	movl	%eax, %edx
	movslq	%edx, %rdx
	cmpq	%rsi, (%rbx,%rdx,8)
	je	.L42
.L65:
	movq	-104(%rbp), %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L33
.L49:
	xorl	%edx, %edx
	jmp	.L40
.L48:
	xorl	%r9d, %r9d
	jmp	.L29
.L47:
	xorl	%r14d, %r14d
	jmp	.L26
.L68:
	orq	$0, -8(%rsp,%rdi)
	jmp	.L25
.L70:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE41:
	.size	main, .-main
	.globl	point
	.bss
	.align 32
	.type	point, @object
	.size	point, 2400000
point:
	.zero	2400000
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 2400000
col:
	.zero	2400000
	.globl	row
	.align 32
	.type	row, @object
	.size	row, 2400000
row:
	.zero	2400000
	.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
	.p2align 4
	.globl	compare
	.type	compare, @function
compare:
.LFB40:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rdx
	movl	$1, %eax
	cmpq	%rdx, (%rdi)
	jg	.L1
	setne	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE40:
	.size	compare, .-compare
	.p2align 4
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB39:
	.cfi_startproc
	endbr64
	subq	$1, %rdx
	js	.L12
	xorl	%eax, %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	1(%rcx), %rax
	cmpq	%rax, %rdx
	jl	.L14
.L11:
	leaq	(%rdx,%rax), %rcx
	sarq	%rcx
	cmpq	%rdi, (%rsi,%rcx,8)
	jl	.L15
	jle	.L9
	leaq	-1(%rcx), %rdx
	cmpq	%rax, %rdx
	jge	.L11
.L14:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%ecx, %eax
	ret
.L12:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE39:
	.size	binary_search, .-binary_search
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld"
.LC1:
	.string	"%lld %lld"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-96(%rbp), %rsi
	leaq	-80(%rbp), %rcx
	pushq	%r13
	leaq	-88(%rbp), %rdx
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	jle	.L17
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %r15
	xorl	%ecx, %ecx
	leaq	-72(%rbp), %r14
	leaq	row(%rip), %r9
	leaq	col(%rip), %r8
	leaq	point(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r15, %rdx
	movq	%r14, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	movq	%r8, -120(%rbp)
	movq	%r9, -112(%rbp)
	movq	%rcx, -104(%rbp)
	call	__isoc99_scanf@PLT
	movq	-72(%rbp), %rdx
	movq	-112(%rbp), %r9
	movq	-64(%rbp), %rsi
	movq	-120(%rbp), %r8
	leaq	-1(%rdx), %rax
	movq	-104(%rbp), %rcx
	movq	(%r9,%rax,8), %rdi
	leaq	-1(%rsi), %r11
	addq	$1, %rdi
	movq	%rdi, (%r9,%rax,8)
	movq	(%r8,%r11,8), %rax
	addq	$1, %rax
	cmpq	%rdi, %rcx
	cmovl	%rdi, %rcx
	cmpq	%rax, %r12
	movq	%rax, (%r8,%r11,8)
	cmovl	%rax, %r12
	movq	-88(%rbp), %rax
	imulq	%rax, %rdx
	addq	%rsi, %rdx
	movq	-80(%rbp), %rsi
	movq	%rdx, (%rbx,%r13,8)
	addq	$1, %r13
	cmpq	%r13, %rsi
	jg	.L18
.L19:
	leaq	15(,%rsi,8), %rdx
	leaq	(%rcx,%r12), %rdi
	movq	%rsp, %r8
	movq	%rdx, %r9
	movq	%rdi, -104(%rbp)
	movq	%rdx, %rdi
	andq	$-4096, %r9
	andq	$-16, %rdi
	subq	%r9, %r8
	cmpq	%r8, %rsp
	je	.L21
.L66:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%r8, %rsp
	jne	.L66
.L21:
	andl	$4095, %edi
	subq	%rdi, %rsp
	testq	%rdi, %rdi
	jne	.L67
.L22:
	movq	%rdx, %rdi
	movq	%rsp, %r8
	andq	$-4096, %rdx
	movq	%rsp, %r15
	andq	$-16, %rdi
	subq	%rdx, %r8
.L23:
	cmpq	%r8, %rsp
	je	.L24
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L23
.L67:
	orq	$0, -8(%rsp,%rdi)
	jmp	.L22
.L17:
	movq	-88(%rbp), %rax
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	jmp	.L19
.L24:
	andl	$4095, %edi
	subq	%rdi, %rsp
	testq	%rdi, %rdi
	jne	.L68
.L25:
	movq	-96(%rbp), %rdi
	movq	%rsp, %r13
	testq	%rdi, %rdi
	jle	.L47
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	leaq	row(%rip), %r9
	.p2align 4,,10
	.p2align 3
.L28:
	cmpq	%rcx, (%r9,%rdx,8)
	jne	.L27
	movq	%rdx, (%r15,%r14,8)
	addq	$1, %r14
.L27:
	addq	$1, %rdx
	cmpq	%rdi, %rdx
	jne	.L28
.L26:
	testq	%rax, %rax
	jle	.L48
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	leaq	col(%rip), %r8
	.p2align 4,,10
	.p2align 3
.L31:
	cmpq	%r12, (%r8,%rdx,8)
	jne	.L30
	movq	%rdx, 0(%r13,%r9,8)
	addq	$1, %r9
.L30:
	addq	$1, %rdx
	cmpq	%rdx, %rax
	jne	.L31
.L29:
	movq	%r14, %rax
	imulq	%r9, %rax
	cmpq	%rsi, %rax
	jg	.L65
	leaq	point(%rip), %rbx
	leaq	compare(%rip), %rcx
	movl	$8, %edx
	movq	%r9, -112(%rbp)
	movq	%rbx, %rdi
	call	qsort@PLT
	testq	%r14, %r14
	je	.L34
	movq	-80(%rbp), %rax
	movq	-88(%rbp), %r10
	xorl	%r12d, %r12d
	movq	-112(%rbp), %r9
	leaq	-1(%rax), %r8
.L35:
	testq	%r9, %r9
	je	.L45
	movq	(%r15,%r12,8), %rax
	xorl	%edi, %edi
	leaq	1(%rax), %r11
	imulq	%r10, %r11
	.p2align 4,,10
	.p2align 3
.L43:
	movq	0(%r13,%rdi,8), %rsi
	addq	%r11, %rsi
	addq	$1, %rsi
	testq	%r8, %r8
	js	.L49
	movq	%r8, %rcx
	xorl	%edx, %edx
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L69:
	leaq	1(%rax), %rdx
	cmpq	%rdx, %rcx
	jl	.L40
.L41:
	leaq	(%rdx,%rcx), %rax
	sarq	%rax
	cmpq	(%rbx,%rax,8), %rsi
	jg	.L69
	jge	.L39
	leaq	-1(%rax), %rcx
	cmpq	%rdx, %rcx
	jge	.L41
.L40:
	movslq	%edx, %rdx
	cmpq	%rsi, (%rbx,%rdx,8)
	jne	.L65
.L42:
	addq	$1, %rdi
	cmpq	%r9, %rdi
	jne	.L43
.L45:
	addq	$1, %r12
	cmpq	%r14, %r12
	jne	.L35
.L34:
	movq	-104(%rbp), %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subq	$1, %rdx
	call	__printf_chk@PLT
.L33:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L70
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	movl	%eax, %edx
	movslq	%edx, %rdx
	cmpq	%rsi, (%rbx,%rdx,8)
	je	.L42
.L65:
	movq	-104(%rbp), %rdx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L33
.L49:
	xorl	%edx, %edx
	jmp	.L40
.L48:
	xorl	%r9d, %r9d
	jmp	.L29
.L47:
	xorl	%r14d, %r14d
	jmp	.L26
.L68:
	orq	$0, -8(%rsp,%rdi)
	jmp	.L25
.L70:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE41:
	.size	main, .-main
	.globl	point
	.bss
	.align 32
	.type	point, @object
	.size	point, 2400000
point:
	.zero	2400000
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 2400000
col:
	.zero	2400000
	.globl	row
	.align 32
	.type	row, @object
	.size	row, 2400000
row:
	.zero	2400000
	.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>
#define max(a, b) (a > b? a : b);

long long row[300000], col[300000], point[300000];

int binary_search(long long target, long long array[], long long n)
{
    long long fn = 0, bn = n - 1, tmp;
    while (fn <= bn)
    {
        tmp = (fn + bn) / 2;
        if (array[tmp] < target) {fn = tmp + 1;} else if (array[tmp] > target) {bn = tmp - 1;} else {return tmp;}
    }
    return fn;
}

int compare(const void *a, const void *b) {return *(long long*)a > *(long long*)b ? 1 : (*(long long*)a == *(long long*)b ? 0 : -1);}

int main(void)
{
    long long H, W, M;
    scanf("%lld %lld %lld", &H, &W, &M);
    long long maxRow = 0, maxCol = 0;

    for (long long i = 0; i < M; i++)
    {
        long long a, b;
        scanf("%lld %lld", &a, &b);
        row[a - 1]++;
        col[b - 1]++;

        if (row[a - 1] > maxRow)
            maxRow = row[a - 1];
        if (col[b - 1] > maxCol)
            maxCol = col[b - 1];

        point[i] = a * W + b;
    }

    long long r = maxRow + maxCol - 1;

    long long numRow = 0, numCol = 0;
    long long indexRow[M], indexCol[M];
    for (long long i = 0; i < H; i++)
    {
        if (row[i] == maxRow)
        {
            indexRow[numRow++] = i;
        }
    }

    for (long long i = 0; i < W; i++)
    {
        if (col[i] == maxCol)
        {
            indexCol[numCol++] = i;
        }
    }

    if (numRow*numCol>M) {printf("%lld", r+1); return 0;}
    qsort(point, M, sizeof(long long), compare);

    for (long long i = 0; i < numRow; i++)
    {
        for (long long j = 0; j < numCol; j++)
        {
            long long key = (indexRow[i]+1)*W+indexCol[j]+1;
            if (point[binary_search(key, point, M)] != key)
            {
                printf("%lld", r + 1);
                return 0;
            }
        }
    }

    printf("%lld", r);
    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>
#define max(a, b) (a > b? a : b);

long long row[300000], col[300000], point[300000];

int binary_search(long long target, long long array[], long long n)
{
    long long fn = 0, bn = n - 1, tmp;
    while (fn <= bn)
    {
        tmp = (fn + bn) / 2;
        if (array[tmp] < target) {fn = tmp + 1;} else if (array[tmp] > target) {bn = tmp - 1;} else {return tmp;}
    }
    return fn;
}

int compare(const void *a, const void *b) {return *(long long*)a > *(long long*)b ? 1 : (*(long long*)a == *(long long*)b ? 0 : -1);}

int main(void)
{
    long long H, W, M;
    scanf("%lld %lld %lld", &H, &W, &M);
    long long maxRow = 0, maxCol = 0;

    for (long long i = 0; i < M; i++)
    {
        long long a, b;
        scanf("%lld %lld", &a, &b);
        row[a - 1]++;
        col[b - 1]++;

        if (row[a - 1] > maxRow)
            maxRow = row[a - 1];
        if (col[b - 1] > maxCol)
            maxCol = col[b - 1];

        point[i] = a * W + b;
    }

    long long r = maxRow + maxCol - 1;

    long long numRow = 0, numCol = 0;
    long long indexRow[M], indexCol[M];
    for (long long i = 0; i < H; i++)
    {
        if (row[i] == maxRow)
        {
            indexRow[numRow++] = i;
        }
    }

    for (long long i = 0; i < W; i++)
    {
        if (col[i] == maxCol)
        {
            indexCol[numCol++] = i;
        }
    }

    if (numRow*numCol>M) {printf("%lld", r+1); return 0;}
    qsort(point, M, sizeof(long long), compare);

    for (long long i = 0; i < numRow; i++)
    {
        for (long long j = 0; j < numCol; j++)
        {
            long long key = (indexRow[i]+1)*W+indexCol[j]+1;
            if (point[binary_search(key, point, M)] != key)
            {
                printf("%lld", r + 1);
                return 0;
            }
        }
    }

    printf("%lld", r);
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	row
	.bss
	.align 32
	.type	row, @object
	.size	row, 2400000
row:
	.zero	2400000
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 2400000
col:
	.zero	2400000
	.globl	point
	.align 32
	.type	point, @object
	.size	point, 2400000
point:
	.zero	2400000
	.text
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -40(%rbp)
	movq	%rsi, -48(%rbp)
	movq	%rdx, -56(%rbp)
	movq	$0, -24(%rbp)
	movq	-56(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -16(%rbp)
	jmp	.L2
.L6:
	movq	-24(%rbp), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -40(%rbp)
	jle	.L3
	movq	-8(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -24(%rbp)
	jmp	.L2
.L3:
	movq	-8(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -40(%rbp)
	jge	.L4
	movq	-8(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -16(%rbp)
	jmp	.L2
.L4:
	movq	-8(%rbp), %rax
	jmp	.L5
.L2:
	movq	-24(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jle	.L6
	movq	-24(%rbp), %rax
.L5:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	binary_search, .-binary_search
	.globl	compare
	.type	compare, @function
compare:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jg	.L8
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L9
	movl	$0, %eax
	jmp	.L12
.L9:
	movl	$-1, %eax
	jmp	.L12
.L8:
	movl	$1, %eax
.L12:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare, .-compare
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld"
.LC1:
	.string	"%lld %lld"
.LC2:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-200(%rbp), %rcx
	leaq	-208(%rbp), %rdx
	leaq	-216(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	jmp	.L14
.L17:
	leaq	-184(%rbp), %rdx
	leaq	-192(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rcx
	movq	(%rdx,%rcx), %rdx
	leaq	1(%rdx), %rcx
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rcx
	movq	(%rdx,%rcx), %rdx
	leaq	1(%rdx), %rcx
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -176(%rbp)
	jge	.L15
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -176(%rbp)
.L15:
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -168(%rbp)
	jge	.L16
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -168(%rbp)
.L16:
	movq	-192(%rbp), %rdx
	movq	-208(%rbp), %rax
	imulq	%rax, %rdx
	movq	-184(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movq	-160(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	point(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	addq	$1, -160(%rbp)
.L14:
	movq	-200(%rbp), %rax
	cmpq	%rax, -160(%rbp)
	jl	.L17
	movq	-176(%rbp), %rdx
	movq	-168(%rbp), %rax
	addq	%rdx, %rax
	subq	$1, %rax
	movq	%rax, -104(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	-200(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -96(%rbp)
	movq	%rax, %rdx
	movq	%rdx, -240(%rbp)
	movq	$0, -232(%rbp)
	movq	%rax, %rdx
	movq	%rdx, -256(%rbp)
	movq	$0, -248(%rbp)
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L18:
	cmpq	%rdx, %rsp
	je	.L19
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L18
.L19:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L20
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L20:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -88(%rbp)
	movq	-200(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -80(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movq	%rax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L21:
	cmpq	%rdx, %rsp
	je	.L22
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L21
.L22:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L23
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L23:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -72(%rbp)
	movq	$0, -136(%rbp)
	jmp	.L24
.L26:
	movq	-136(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -176(%rbp)
	jne	.L25
	movq	-152(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -152(%rbp)
	movq	-88(%rbp), %rdx
	movq	-136(%rbp), %rcx
	movq	%rcx, (%rdx,%rax,8)
.L25:
	addq	$1, -136(%rbp)
.L24:
	movq	-216(%rbp), %rax
	cmpq	%rax, -136(%rbp)
	jl	.L26
	movq	$0, -128(%rbp)
	jmp	.L27
.L29:
	movq	-128(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -168(%rbp)
	jne	.L28
	movq	-144(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -144(%rbp)
	movq	-72(%rbp), %rdx
	movq	-128(%rbp), %rcx
	movq	%rcx, (%rdx,%rax,8)
.L28:
	addq	$1, -128(%rbp)
.L27:
	movq	-208(%rbp), %rax
	cmpq	%rax, -128(%rbp)
	jl	.L29
	movq	-152(%rbp), %rax
	imulq	-144(%rbp), %rax
	movq	%rax, %rdx
	movq	-200(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L30
	movq	-104(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L31
.L30:
	movq	-200(%rbp), %rax
	movq	%rax, %rsi
	leaq	compare(%rip), %rax
	movq	%rax, %rcx
	movl	$8, %edx
	leaq	point(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movq	$0, -120(%rbp)
	jmp	.L32
.L36:
	movq	$0, -112(%rbp)
	jmp	.L33
.L35:
	movq	-88(%rbp), %rax
	movq	-120(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	leaq	1(%rax), %rdx
	movq	-208(%rbp), %rax
	movq	%rdx, %rcx
	imulq	%rax, %rcx
	movq	-72(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	addq	%rcx, %rax
	addq	$1, %rax
	movq	%rax, -64(%rbp)
	movq	-200(%rbp), %rdx
	movq	-64(%rbp), %rax
	leaq	point(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	binary_search
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	point(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -64(%rbp)
	je	.L34
	movq	-104(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L31
.L34:
	addq	$1, -112(%rbp)
.L33:
	movq	-112(%rbp), %rax
	cmpq	-144(%rbp), %rax
	jl	.L35
	addq	$1, -120(%rbp)
.L32:
	movq	-120(%rbp), %rax
	cmpq	-152(%rbp), %rax
	jl	.L36
	movq	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L31:
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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
	.globl	row
	.bss
	.align 32
	.type	row, @object
	.size	row, 2400000
row:
	.zero	2400000
	.globl	col
	.align 32
	.type	col, @object
	.size	col, 2400000
col:
	.zero	2400000
	.globl	point
	.align 32
	.type	point, @object
	.size	point, 2400000
point:
	.zero	2400000
	.text
	.globl	binary_search
	.type	binary_search, @function
binary_search:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -40(%rbp)
	movq	%rsi, -48(%rbp)
	movq	%rdx, -56(%rbp)
	movq	$0, -24(%rbp)
	movq	-56(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -16(%rbp)
	jmp	.L2
.L6:
	movq	-24(%rbp), %rdx
	movq	-16(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -40(%rbp)
	jle	.L3
	movq	-8(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -24(%rbp)
	jmp	.L2
.L3:
	movq	-8(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	cmpq	%rax, -40(%rbp)
	jge	.L4
	movq	-8(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -16(%rbp)
	jmp	.L2
.L4:
	movq	-8(%rbp), %rax
	jmp	.L5
.L2:
	movq	-24(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jle	.L6
	movq	-24(%rbp), %rax
.L5:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	binary_search, .-binary_search
	.globl	compare
	.type	compare, @function
compare:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jg	.L8
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L9
	movl	$0, %eax
	jmp	.L12
.L9:
	movl	$-1, %eax
	jmp	.L12
.L8:
	movl	$1, %eax
.L12:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare, .-compare
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld"
.LC1:
	.string	"%lld %lld"
.LC2:
	.string	"%lld"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-200(%rbp), %rcx
	leaq	-208(%rbp), %rdx
	leaq	-216(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	jmp	.L14
.L17:
	leaq	-184(%rbp), %rdx
	leaq	-192(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rcx
	movq	(%rdx,%rcx), %rdx
	leaq	1(%rdx), %rcx
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rcx
	movq	(%rdx,%rcx), %rdx
	leaq	1(%rdx), %rcx
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -176(%rbp)
	jge	.L15
	movq	-192(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -176(%rbp)
.L15:
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -168(%rbp)
	jge	.L16
	movq	-184(%rbp), %rax
	subq	$1, %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -168(%rbp)
.L16:
	movq	-192(%rbp), %rdx
	movq	-208(%rbp), %rax
	imulq	%rax, %rdx
	movq	-184(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movq	-160(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	point(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	addq	$1, -160(%rbp)
.L14:
	movq	-200(%rbp), %rax
	cmpq	%rax, -160(%rbp)
	jl	.L17
	movq	-176(%rbp), %rdx
	movq	-168(%rbp), %rax
	addq	%rdx, %rax
	subq	$1, %rax
	movq	%rax, -104(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	-200(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -96(%rbp)
	movq	%rax, %rdx
	movq	%rdx, -240(%rbp)
	movq	$0, -232(%rbp)
	movq	%rax, %rdx
	movq	%rdx, -256(%rbp)
	movq	$0, -248(%rbp)
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L18:
	cmpq	%rdx, %rsp
	je	.L19
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L18
.L19:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L20
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L20:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -88(%rbp)
	movq	-200(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -80(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movq	%rax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L21:
	cmpq	%rdx, %rsp
	je	.L22
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L21
.L22:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L23
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L23:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -72(%rbp)
	movq	$0, -136(%rbp)
	jmp	.L24
.L26:
	movq	-136(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	row(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -176(%rbp)
	jne	.L25
	movq	-152(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -152(%rbp)
	movq	-88(%rbp), %rdx
	movq	-136(%rbp), %rcx
	movq	%rcx, (%rdx,%rax,8)
.L25:
	addq	$1, -136(%rbp)
.L24:
	movq	-216(%rbp), %rax
	cmpq	%rax, -136(%rbp)
	jl	.L26
	movq	$0, -128(%rbp)
	jmp	.L27
.L29:
	movq	-128(%rbp), %rax
	leaq	0(,%rax,8), %rdx
	leaq	col(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -168(%rbp)
	jne	.L28
	movq	-144(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -144(%rbp)
	movq	-72(%rbp), %rdx
	movq	-128(%rbp), %rcx
	movq	%rcx, (%rdx,%rax,8)
.L28:
	addq	$1, -128(%rbp)
.L27:
	movq	-208(%rbp), %rax
	cmpq	%rax, -128(%rbp)
	jl	.L29
	movq	-152(%rbp), %rax
	imulq	-144(%rbp), %rax
	movq	%rax, %rdx
	movq	-200(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L30
	movq	-104(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L31
.L30:
	movq	-200(%rbp), %rax
	movq	%rax, %rsi
	leaq	compare(%rip), %rax
	movq	%rax, %rcx
	movl	$8, %edx
	leaq	point(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movq	$0, -120(%rbp)
	jmp	.L32
.L36:
	movq	$0, -112(%rbp)
	jmp	.L33
.L35:
	movq	-88(%rbp), %rax
	movq	-120(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	leaq	1(%rax), %rdx
	movq	-208(%rbp), %rax
	movq	%rdx, %rcx
	imulq	%rax, %rcx
	movq	-72(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	addq	%rcx, %rax
	addq	$1, %rax
	movq	%rax, -64(%rbp)
	movq	-200(%rbp), %rdx
	movq	-64(%rbp), %rax
	leaq	point(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	binary_search
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	point(%rip), %rax
	movq	(%rdx,%rax), %rax
	cmpq	%rax, -64(%rbp)
	je	.L34
	movq	-104(%rbp), %rax
	addq	$1, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L31
.L34:
	addq	$1, -112(%rbp)
.L33:
	movq	-112(%rbp), %rax
	cmpq	-144(%rbp), %rax
	jl	.L35
	addq	$1, -120(%rbp)
.L32:
	movq	-120(%rbp), %rax
	cmpq	-152(%rbp), %rax
	jl	.L36
	movq	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L31:
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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:
