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 compare_int_x(const void *a, const void *b);
int compare_int_y(const void *a, const void *b);

typedef struct {
	int x;
    int y;
} POINT;

int main(void){
	int N;
    POINT point[500000];
    int min_distance = 0, distance;
    int i;
	
	scanf("%d", &N);
    for(i = 0; i < N; i++){
        scanf("%d %d", &point[i].x, &point[i].y);
    }

    qsort(point, N, sizeof(POINT), compare_int_x);
	for(i = 0; i < N - 1; i++){
        distance = (point[i].x - point[i + 1].x) * (point[i].x - point[i + 1].x) + (point[i].y - point[i + 1].y) * (point[i].y - point[i + 1].y);
        if(min_distance > distance || i == 0){
             min_distance = distance;
        }
	}

    qsort(point, N, sizeof(POINT), compare_int_y);
	for(i = 0; i < N - 1; i++){
        distance = (point[i].x - point[i + 1].x) * (point[i].x - point[i + 1].x) + (point[i].y - point[i + 1].y) * (point[i].y - point[i + 1].y);
        if(min_distance > distance){
             min_distance = distance;
        }
	}

    printf("%d\n", min_distance);

	return 0;
}

int compare_int_x(const void *a, const void *b){
    return ((POINT*)a)->x - ((POINT*)b)->x;
}

int compare_int_y(const void *a, const void *b){
    return ((POINT*)a)->y - ((POINT*)b)->y;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\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
	leaq	-3997696(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2336, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -4000028(%rbp)
	leaq	-4000032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L2
.L3:
	leaq	-4000016(%rbp), %rdx
	movl	-4000024(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	leaq	-4000016(%rbp), %rcx
	movl	-4000024(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000024(%rbp)
.L2:
	movl	-4000032(%rbp), %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L3
	movl	-4000032(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-4000016(%rbp), %rax
	leaq	compare_int_x(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L4
.L7:
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	imull	%eax, %ecx
	movl	%ecx, %esi
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edi
	movl	%edx, %eax
	subl	%edi, %eax
	imull	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, -4000020(%rbp)
	movl	-4000028(%rbp), %eax
	cmpl	-4000020(%rbp), %eax
	jg	.L5
	cmpl	$0, -4000024(%rbp)
	jne	.L6
.L5:
	movl	-4000020(%rbp), %eax
	movl	%eax, -4000028(%rbp)
.L6:
	addl	$1, -4000024(%rbp)
.L4:
	movl	-4000032(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L7
	movl	-4000032(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-4000016(%rbp), %rax
	leaq	compare_int_y(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L8
.L10:
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movl	%ecx, %esi
	imull	%eax, %esi
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edi
	movl	%edx, %eax
	subl	%edi, %eax
	imull	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, -4000020(%rbp)
	movl	-4000028(%rbp), %eax
	cmpl	-4000020(%rbp), %eax
	jle	.L9
	movl	-4000020(%rbp), %eax
	movl	%eax, -4000028(%rbp)
.L9:
	addl	$1, -4000024(%rbp)
.L8:
	movl	-4000032(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L10
	movl	-4000028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	compare_int_x
	.type	compare_int_x, @function
compare_int_x:
.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare_int_x, .-compare_int_x
	.globl	compare_int_y
	.type	compare_int_y, @function
compare_int_y:
.LFB8:
	.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
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	compare_int_y, .-compare_int_y
	.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_int_x
	.type	compare_int_x, @function
compare_int_x:
.LFB40:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE40:
	.size	compare_int_x, .-compare_int_x
	.p2align 4
	.globl	compare_int_y
	.type	compare_int_y, @function
compare_int_y:
.LFB41:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	ret
	.cfi_endproc
.LFE41:
	.size	compare_int_y, .-compare_int_y
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3997696(%rsp), %r11
	.cfi_def_cfa 11, 3997736
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2344, %rsp
	.cfi_def_cfa_offset 4000080
	leaq	.LC0(%rip), %rdi
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 4000024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	movq	%rbx, %r12
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	testl	%esi, %esi
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	leaq	4(%r12), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	addl	$1, %ebp
	addq	$8, %r12
	cmpl	%ebp, %esi
	jg	.L6
.L5:
	movl	$8, %edx
	leaq	compare_int_x(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%r12d, %r12d
	call	qsort@PLT
	movl	12(%rsp), %r9d
	leal	-1(%r9), %edx
	testl	%edx, %edx
	jle	.L8
	movl	24(%rsp), %edi
	movl	16(%rsp), %r12d
	movl	28(%rsp), %esi
	movl	20(%rsp), %eax
	subl	%edi, %r12d
	subl	%esi, %eax
	imull	%r12d, %r12d
	imull	%eax, %eax
	addl	%eax, %r12d
	cmpl	$1, %edx
	je	.L8
	leal	-3(%r9), %r8d
	movl	$1, %ecx
	addq	$2, %r8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %edx
	movl	%esi, %eax
	movl	8(%rbx,%rcx,8), %edi
	movl	12(%rbx,%rcx,8), %esi
	subl	%edi, %edx
	subl	%esi, %eax
	imull	%eax, %eax
	imull	%edx, %edx
	addl	%edx, %eax
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	addq	$1, %rcx
	cmpq	%r8, %rcx
	jne	.L9
.L8:
	movslq	%r9d, %rsi
	leaq	compare_int_y(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %esi
	testl	%esi, %esi
	jle	.L10
	subl	$2, %eax
	cmpl	$2, %eax
	jbe	.L18
	movl	%esi, %eax
	movd	%r12d, %xmm7
	shrl	$2, %eax
	pshufd	$0, %xmm7, %xmm3
	subl	$1, %eax
	salq	$5, %rax
	leaq	48(%rsp,%rax), %rax
	.p2align 4,,10
	.p2align 3
.L12:
	movdqu	8(%rbx), %xmm2
	movdqa	(%rbx), %xmm0
	addq	$32, %rbx
	movdqu	-8(%rbx), %xmm5
	movdqa	%xmm2, %xmm4
	movdqa	%xmm0, %xmm1
	shufps	$136, -16(%rbx), %xmm1
	shufps	$221, -16(%rbx), %xmm0
	shufps	$136, %xmm5, %xmm4
	psubd	%xmm4, %xmm1
	shufps	$221, %xmm5, %xmm2
	psubd	%xmm2, %xmm0
	movdqa	%xmm1, %xmm2
	pmuludq	%xmm1, %xmm2
	psrlq	$32, %xmm1
	pmuludq	%xmm1, %xmm1
	pshufd	$8, %xmm2, %xmm2
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	pmuludq	%xmm0, %xmm1
	psrlq	$32, %xmm0
	pmuludq	%xmm0, %xmm0
	pshufd	$8, %xmm1, %xmm1
	pshufd	$8, %xmm0, %xmm0
	punpckldq	%xmm0, %xmm1
	paddd	%xmm1, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm3, %xmm1
	pand	%xmm1, %xmm3
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm3
	cmpq	%rax, %rbx
	jne	.L12
	movdqa	%xmm3, %xmm1
	movl	%esi, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	movdqa	%xmm1, %xmm0
	pcmpgtd	%xmm3, %xmm0
	pand	%xmm0, %xmm3
	pandn	%xmm1, %xmm0
	por	%xmm3, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %r12d
	testb	$3, %sil
	je	.L10
.L11:
	movslq	%ecx, %r8
	leal	1(%rcx), %r9d
	salq	$3, %r8
	movslq	%r9d, %rdi
	movl	16(%rsp,%rdi,8), %eax
	movl	16(%rsp,%r8), %edx
	movl	20(%rsp,%rdi,8), %edi
	movl	20(%rsp,%r8), %r8d
	subl	%eax, %edx
	subl	%edi, %r8d
	imull	%edx, %edx
	imull	%r8d, %r8d
	addl	%r8d, %edx
	cmpl	%edx, %r12d
	cmovg	%edx, %r12d
	cmpl	%esi, %r9d
	jge	.L10
	leal	2(%rcx), %r9d
	movslq	%r9d, %rdx
	movl	16(%rsp,%rdx,8), %r8d
	movl	20(%rsp,%rdx,8), %edx
	subl	%r8d, %eax
	subl	%edx, %edi
	imull	%eax, %eax
	imull	%edi, %edi
	addl	%edi, %eax
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	cmpl	%r9d, %esi
	jle	.L10
	addl	$3, %ecx
	movslq	%ecx, %rcx
	subl	16(%rsp,%rcx,8), %r8d
	subl	20(%rsp,%rcx,8), %edx
	imull	%edx, %edx
	imull	%r8d, %r8d
	leal	(%rdx,%r8), %eax
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
.L10:
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	4000024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$4000040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	xorl	%ecx, %ecx
	jmp	.L11
.L26:
	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
	.p2align 4
	.globl	compare_int_x
	.type	compare_int_x, @function
compare_int_x:
.LFB40:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE40:
	.size	compare_int_x, .-compare_int_x
	.p2align 4
	.globl	compare_int_y
	.type	compare_int_y, @function
compare_int_y:
.LFB41:
	.cfi_startproc
	endbr64
	movl	4(%rdi), %eax
	subl	4(%rsi), %eax
	ret
	.cfi_endproc
.LFE41:
	.size	compare_int_y, .-compare_int_y
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-3997696(%rsp), %r11
	.cfi_def_cfa 11, 3997736
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2344, %rsp
	.cfi_def_cfa_offset 4000080
	leaq	.LC0(%rip), %rdi
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 4000024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	movq	%rbx, %r12
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	testl	%esi, %esi
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	leaq	4(%r12), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	addl	$1, %ebp
	addq	$8, %r12
	cmpl	%ebp, %esi
	jg	.L6
.L5:
	movl	$8, %edx
	leaq	compare_int_x(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%r12d, %r12d
	call	qsort@PLT
	movl	12(%rsp), %r9d
	leal	-1(%r9), %edx
	testl	%edx, %edx
	jle	.L8
	movl	24(%rsp), %edi
	movl	16(%rsp), %r12d
	movl	28(%rsp), %esi
	movl	20(%rsp), %eax
	subl	%edi, %r12d
	subl	%esi, %eax
	imull	%r12d, %r12d
	imull	%eax, %eax
	addl	%eax, %r12d
	cmpl	$1, %edx
	je	.L8
	leal	-3(%r9), %r8d
	movl	$1, %ecx
	addq	$2, %r8
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %edx
	movl	%esi, %eax
	movl	8(%rbx,%rcx,8), %edi
	movl	12(%rbx,%rcx,8), %esi
	subl	%edi, %edx
	subl	%esi, %eax
	imull	%eax, %eax
	imull	%edx, %edx
	addl	%edx, %eax
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	addq	$1, %rcx
	cmpq	%r8, %rcx
	jne	.L9
.L8:
	movslq	%r9d, %rsi
	leaq	compare_int_y(%rip), %rcx
	movl	$8, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	12(%rsp), %eax
	leal	-1(%rax), %esi
	testl	%esi, %esi
	jle	.L10
	subl	$2, %eax
	cmpl	$2, %eax
	jbe	.L18
	movl	%esi, %eax
	movd	%r12d, %xmm7
	shrl	$2, %eax
	pshufd	$0, %xmm7, %xmm3
	subl	$1, %eax
	salq	$5, %rax
	leaq	48(%rsp,%rax), %rax
	.p2align 4,,10
	.p2align 3
.L12:
	movdqu	8(%rbx), %xmm2
	movdqa	(%rbx), %xmm0
	addq	$32, %rbx
	movdqu	-8(%rbx), %xmm5
	movdqa	%xmm2, %xmm4
	movdqa	%xmm0, %xmm1
	shufps	$136, -16(%rbx), %xmm1
	shufps	$221, -16(%rbx), %xmm0
	shufps	$136, %xmm5, %xmm4
	psubd	%xmm4, %xmm1
	shufps	$221, %xmm5, %xmm2
	psubd	%xmm2, %xmm0
	movdqa	%xmm1, %xmm2
	pmuludq	%xmm1, %xmm2
	psrlq	$32, %xmm1
	pmuludq	%xmm1, %xmm1
	pshufd	$8, %xmm2, %xmm2
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm2
	movdqa	%xmm0, %xmm1
	pmuludq	%xmm0, %xmm1
	psrlq	$32, %xmm0
	pmuludq	%xmm0, %xmm0
	pshufd	$8, %xmm1, %xmm1
	pshufd	$8, %xmm0, %xmm0
	punpckldq	%xmm0, %xmm1
	paddd	%xmm1, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm3, %xmm1
	pand	%xmm1, %xmm3
	pandn	%xmm2, %xmm1
	por	%xmm1, %xmm3
	cmpq	%rax, %rbx
	jne	.L12
	movdqa	%xmm3, %xmm1
	movl	%esi, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	movdqa	%xmm1, %xmm0
	pcmpgtd	%xmm3, %xmm0
	pand	%xmm0, %xmm3
	pandn	%xmm1, %xmm0
	por	%xmm3, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %r12d
	testb	$3, %sil
	je	.L10
.L11:
	movslq	%ecx, %r8
	leal	1(%rcx), %r9d
	salq	$3, %r8
	movslq	%r9d, %rdi
	movl	16(%rsp,%rdi,8), %eax
	movl	16(%rsp,%r8), %edx
	movl	20(%rsp,%rdi,8), %edi
	movl	20(%rsp,%r8), %r8d
	subl	%eax, %edx
	subl	%edi, %r8d
	imull	%edx, %edx
	imull	%r8d, %r8d
	addl	%r8d, %edx
	cmpl	%edx, %r12d
	cmovg	%edx, %r12d
	cmpl	%esi, %r9d
	jge	.L10
	leal	2(%rcx), %r9d
	movslq	%r9d, %rdx
	movl	16(%rsp,%rdx,8), %r8d
	movl	20(%rsp,%rdx,8), %edx
	subl	%r8d, %eax
	subl	%edx, %edi
	imull	%eax, %eax
	imull	%edi, %edi
	addl	%edi, %eax
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	cmpl	%r9d, %esi
	jle	.L10
	addl	$3, %ecx
	movslq	%ecx, %rcx
	subl	16(%rsp,%rcx,8), %r8d
	subl	20(%rsp,%rcx,8), %edx
	imull	%edx, %edx
	imull	%r8d, %r8d
	leal	(%rdx,%r8), %eax
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
.L10:
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	4000024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$4000040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	xorl	%ecx, %ecx
	jmp	.L11
.L26:
	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 compare_int_x(const void *a, const void *b);
int compare_int_y(const void *a, const void *b);

typedef struct {
	int x;
    int y;
} POINT;

int main(void){
	int N;
    POINT point[500000];
    int min_distance = 0, distance;
    int i;
	
	scanf("%d", &N);
    for(i = 0; i < N; i++){
        scanf("%d %d", &point[i].x, &point[i].y);
    }

    qsort(point, N, sizeof(POINT), compare_int_x);
	for(i = 0; i < N - 1; i++){
        distance = (point[i].x - point[i + 1].x) * (point[i].x - point[i + 1].x) + (point[i].y - point[i + 1].y) * (point[i].y - point[i + 1].y);
        if(min_distance > distance || i == 0){
             min_distance = distance;
        }
	}

    qsort(point, N, sizeof(POINT), compare_int_y);
	for(i = 0; i < N - 1; i++){
        distance = (point[i].x - point[i + 1].x) * (point[i].x - point[i + 1].x) + (point[i].y - point[i + 1].y) * (point[i].y - point[i + 1].y);
        if(min_distance > distance){
             min_distance = distance;
        }
	}

    printf("%d\n", min_distance);

	return 0;
}

int compare_int_x(const void *a, const void *b){
    return ((POINT*)a)->x - ((POINT*)b)->x;
}

int compare_int_y(const void *a, const void *b){
    return ((POINT*)a)->y - ((POINT*)b)->y;
}

2
0 0
1 1

2

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 compare_int_x(const void *a, const void *b);
int compare_int_y(const void *a, const void *b);

typedef struct {
	int x;
    int y;
} POINT;

int main(void){
	int N;
    POINT point[500000];
    int min_distance = 0, distance;
    int i;
	
	scanf("%d", &N);
    for(i = 0; i < N; i++){
        scanf("%d %d", &point[i].x, &point[i].y);
    }

    qsort(point, N, sizeof(POINT), compare_int_x);
	for(i = 0; i < N - 1; i++){
        distance = (point[i].x - point[i + 1].x) * (point[i].x - point[i + 1].x) + (point[i].y - point[i + 1].y) * (point[i].y - point[i + 1].y);
        if(min_distance > distance || i == 0){
             min_distance = distance;
        }
	}

    qsort(point, N, sizeof(POINT), compare_int_y);
	for(i = 0; i < N - 1; i++){
        distance = (point[i].x - point[i + 1].x) * (point[i].x - point[i + 1].x) + (point[i].y - point[i + 1].y) * (point[i].y - point[i + 1].y);
        if(min_distance > distance){
             min_distance = distance;
        }
	}

    printf("%d\n", min_distance);

	return 0;
}

int compare_int_x(const void *a, const void *b){
    return ((POINT*)a)->x - ((POINT*)b)->x;
}

int compare_int_y(const void *a, const void *b){
    return ((POINT*)a)->y - ((POINT*)b)->y;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\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
	leaq	-3997696(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2336, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -4000028(%rbp)
	leaq	-4000032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L2
.L3:
	leaq	-4000016(%rbp), %rdx
	movl	-4000024(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	leaq	-4000016(%rbp), %rcx
	movl	-4000024(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000024(%rbp)
.L2:
	movl	-4000032(%rbp), %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L3
	movl	-4000032(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-4000016(%rbp), %rax
	leaq	compare_int_x(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L4
.L7:
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	imull	%eax, %ecx
	movl	%ecx, %esi
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edi
	movl	%edx, %eax
	subl	%edi, %eax
	imull	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, -4000020(%rbp)
	movl	-4000028(%rbp), %eax
	cmpl	-4000020(%rbp), %eax
	jg	.L5
	cmpl	$0, -4000024(%rbp)
	jne	.L6
.L5:
	movl	-4000020(%rbp), %eax
	movl	%eax, -4000028(%rbp)
.L6:
	addl	$1, -4000024(%rbp)
.L4:
	movl	-4000032(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L7
	movl	-4000032(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-4000016(%rbp), %rax
	leaq	compare_int_y(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L8
.L10:
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movl	%ecx, %esi
	imull	%eax, %esi
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edi
	movl	%edx, %eax
	subl	%edi, %eax
	imull	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, -4000020(%rbp)
	movl	-4000028(%rbp), %eax
	cmpl	-4000020(%rbp), %eax
	jle	.L9
	movl	-4000020(%rbp), %eax
	movl	%eax, -4000028(%rbp)
.L9:
	addl	$1, -4000024(%rbp)
.L8:
	movl	-4000032(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L10
	movl	-4000028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	compare_int_x
	.type	compare_int_x, @function
compare_int_x:
.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare_int_x, .-compare_int_x
	.globl	compare_int_y
	.type	compare_int_y, @function
compare_int_y:
.LFB8:
	.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
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	compare_int_y, .-compare_int_y
	.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	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\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
	leaq	-3997696(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2336, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -4000028(%rbp)
	leaq	-4000032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L2
.L3:
	leaq	-4000016(%rbp), %rdx
	movl	-4000024(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rdx
	leaq	-4000016(%rbp), %rcx
	movl	-4000024(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -4000024(%rbp)
.L2:
	movl	-4000032(%rbp), %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L3
	movl	-4000032(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-4000016(%rbp), %rax
	leaq	compare_int_x(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L4
.L7:
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	imull	%eax, %ecx
	movl	%ecx, %esi
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edi
	movl	%edx, %eax
	subl	%edi, %eax
	imull	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, -4000020(%rbp)
	movl	-4000028(%rbp), %eax
	cmpl	-4000020(%rbp), %eax
	jg	.L5
	cmpl	$0, -4000024(%rbp)
	jne	.L6
.L5:
	movl	-4000020(%rbp), %eax
	movl	%eax, -4000028(%rbp)
.L6:
	addl	$1, -4000024(%rbp)
.L4:
	movl	-4000032(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L7
	movl	-4000032(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-4000016(%rbp), %rax
	leaq	compare_int_y(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4000024(%rbp)
	jmp	.L8
.L10:
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000016(%rbp,%rax,8), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movl	%ecx, %esi
	imull	%eax, %esi
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-4000024(%rbp), %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edx
	movl	-4000024(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-4000012(%rbp,%rax,8), %edi
	movl	%edx, %eax
	subl	%edi, %eax
	imull	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, -4000020(%rbp)
	movl	-4000028(%rbp), %eax
	cmpl	-4000020(%rbp), %eax
	jle	.L9
	movl	-4000020(%rbp), %eax
	movl	%eax, -4000028(%rbp)
.L9:
	addl	$1, -4000024(%rbp)
.L8:
	movl	-4000032(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -4000024(%rbp)
	jl	.L10
	movl	-4000028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	compare_int_x
	.type	compare_int_x, @function
compare_int_x:
.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	compare_int_x, .-compare_int_x
	.globl	compare_int_y
	.type	compare_int_y, @function
compare_int_y:
.LFB8:
	.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
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	compare_int_y, .-compare_int_y
	.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:
