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 <string.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>

#define max 10

//qsort(str, n, sizeof(int), up_comp);
int up_comp(const void *a, const void *b){return *(int*)a - *(int*)b;}
int down_comp(const void *a, const void *b){return *(int*)b - *(int*)a;}

int main()
{
    int n, d, i, j, k, x[max][max], cnt=0;
    double jud, ans=0;
    
    scanf("%d %d", &n, &d);
    for (i=0; i<n; i++) {
        for (j=0; j<d; j++) {
            scanf("%d", &x[i][j]);
        }
    }
    
    for (i=0; i<n-1; i++) {
        for (k=i+1; k<n; k++) {
            ans=0;
            for (j=0; j<d; j++) {
                ans=ans+pow(abs(x[k][j]-x[i][j]), 2);
            }
            ans=sqrt(ans);
            //printf("%lf,", ans);
            if(ceil(ans)==floor(ans)){
                cnt++;
            }
        }
    }
    
    printf("%d", cnt);
    
    return 0;
}


```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	up_comp
	.type	up_comp, @function
up_comp:
.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, -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
.LFE6:
	.size	up_comp, .-up_comp
	.globl	down_comp
	.type	down_comp, @function
down_comp:
.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	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	down_comp, .-down_comp
	.section	.rodata
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
	.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	%rbx
	subq	$456, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -444(%rbp)
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -440(%rbp)
	leaq	-460(%rbp), %rdx
	leaq	-464(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -456(%rbp)
	jmp	.L6
.L9:
	movl	$0, -452(%rbp)
	jmp	.L7
.L8:
	leaq	-432(%rbp), %rcx
	movl	-452(%rbp), %eax
	movslq	%eax, %rsi
	movl	-456(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -452(%rbp)
.L7:
	movl	-460(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L8
	addl	$1, -456(%rbp)
.L6:
	movl	-464(%rbp), %eax
	cmpl	%eax, -456(%rbp)
	jl	.L9
	movl	$0, -456(%rbp)
	jmp	.L10
.L17:
	movl	-456(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -448(%rbp)
	jmp	.L11
.L16:
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -440(%rbp)
	movl	$0, -452(%rbp)
	jmp	.L12
.L13:
	movl	-452(%rbp), %eax
	movslq	%eax, %rcx
	movl	-448(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-432(%rbp,%rax,4), %ecx
	movl	-452(%rbp), %eax
	movslq	%eax, %rsi
	movl	-456(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movl	-432(%rbp,%rax,4), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-440(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -440(%rbp)
	addl	$1, -452(%rbp)
.L12:
	movl	-460(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L13
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -440(%rbp)
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	ceil@PLT
	movq	%xmm0, %rbx
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	movq	%rbx, %xmm3
	ucomisd	%xmm0, %xmm3
	jp	.L14
	movq	%rbx, %xmm4
	ucomisd	%xmm0, %xmm4
	jne	.L14
	addl	$1, -444(%rbp)
.L14:
	addl	$1, -448(%rbp)
.L11:
	movl	-464(%rbp), %eax
	cmpl	%eax, -448(%rbp)
	jl	.L16
	addl	$1, -456(%rbp)
.L10:
	movl	-464(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -456(%rbp)
	jl	.L17
	movl	-444(%rbp), %eax
	movl	%eax, %esi
	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	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.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	up_comp
	.type	up_comp, @function
up_comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	up_comp, .-up_comp
	.p2align 4
	.globl	down_comp
	.type	down_comp, @function
down_comp:
.LFB52:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE52:
	.size	down_comp, .-down_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%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	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rdx
	leaq	40(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L27
	movl	44(%rsp), %eax
	xorl	%r12d, %r12d
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r14
	leaq	48(%rsp), %r13
	testl	%eax, %eax
	jle	.L62
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	0(%r13,%r12,4), %r15
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r15, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	addq	$4, %r15
	cmpl	%ebx, %eax
	jg	.L7
	movl	40(%rsp), %ecx
	addl	$1, %ebp
	cmpl	%ebp, %ecx
	jle	.L9
	addq	$10, %r12
	testl	%eax, %eax
	jg	.L11
.L62:
	addl	$1, %ebp
	cmpl	%ecx, %ebp
	jge	.L9
.L10:
	leaq	48(%rsp), %rdi
	leal	-2(%rcx), %esi
	movl	$1, %r15d
	xorl	%edx, %edx
	movsd	.LC4(%rip), %xmm2
	addq	$2, %rsi
	movq	%rdi, %r12
	pxor	%xmm4, %xmm4
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%r15d, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	movl	44(%rsp), %ebp
	movq	%r12, %rbx
	movsd	.LC3(%rip), %xmm3
	subl	%r15d, %eax
	movsd	.LC5(%rip), %xmm5
	leaq	-1(%r15,%rax), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	40(%rdi,%rax,8), %r13
	.p2align 4,,10
	.p2align 3
.L14:
	movapd	%xmm4, %xmm0
	testl	%ebp, %ebp
	jle	.L24
	movl	40(%rbx), %eax
	subl	(%r12), %eax
	pxor	%xmm0, %xmm0
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm0, %xmm0
	addsd	%xmm4, %xmm0
	cmpl	$1, %ebp
	je	.L15
	movl	44(%rbx), %eax
	subl	4(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$2, %ebp
	je	.L15
	movl	48(%rbx), %eax
	subl	8(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$3, %ebp
	je	.L15
	movl	52(%rbx), %eax
	subl	12(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$4, %ebp
	je	.L15
	movl	56(%rbx), %eax
	subl	16(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$5, %ebp
	je	.L15
	movl	60(%rbx), %eax
	subl	20(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$6, %ebp
	je	.L15
	movl	64(%rbx), %eax
	subl	24(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$7, %ebp
	je	.L15
	movl	68(%rbx), %eax
	subl	28(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$8, %ebp
	je	.L15
	movl	72(%rbx), %eax
	subl	32(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$9, %ebp
	je	.L15
	movl	76(%rbx), %eax
	subl	36(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
.L15:
	ucomisd	%xmm0, %xmm4
	ja	.L59
.L24:
	sqrtsd	%xmm0, %xmm0
.L18:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm6
	andpd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm3
	jbe	.L19
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	cmpnlesd	%xmm1, %xmm6
	andpd	%xmm5, %xmm6
	addsd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	andnpd	%xmm0, %xmm6
	orpd	%xmm1, %xmm6
.L19:
	movapd	%xmm0, %xmm1
	andpd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm3
	jbe	.L20
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	movapd	%xmm1, %xmm7
	cmpnlesd	%xmm0, %xmm7
	andpd	%xmm5, %xmm7
	subsd	%xmm7, %xmm1
	movapd	%xmm2, %xmm7
	andnpd	%xmm0, %xmm7
	movapd	%xmm1, %xmm0
	orpd	%xmm7, %xmm0
.L20:
	ucomisd	%xmm0, %xmm6
	jp	.L21
	jne	.L21
	addl	$1, %edx
.L21:
	addq	$40, %rbx
	cmpq	%r13, %rbx
	jne	.L14
.L13:
	addq	$1, %r15
	addq	$40, %r12
	cmpq	%rsi, %r15
	jne	.L25
.L5:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L63
	addq	$472, %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
.L27:
	.cfi_restore_state
	xorl	%edx, %edx
	leaq	.LC2(%rip), %r14
	jmp	.L5
.L59:
	movq	%rsi, 24(%rsp)
	movq	%rdi, 16(%rsp)
	movl	%ecx, 12(%rsp)
	movl	%edx, 8(%rsp)
	call	sqrt@PLT
	movq	.LC6(%rip), %rax
	movq	24(%rsp), %rsi
	pxor	%xmm4, %xmm4
	movq	16(%rsp), %rdi
	movl	12(%rsp), %ecx
	movq	%rax, %xmm2
	movq	.LC5(%rip), %rax
	movl	8(%rsp), %edx
	movq	%rax, %xmm5
	movq	.LC3(%rip), %rax
	movq	%rax, %xmm3
	jmp	.L18
.L63:
	call	__stack_chk_fail@PLT
.L9:
	cmpl	$1, %ecx
	jg	.L10
	xorl	%edx, %edx
	jmp	.L5
	.cfi_endproc
.LFE53:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC5:
	.long	0
	.long	1072693248
	.set	.LC6,.LC4
	.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	up_comp
	.type	up_comp, @function
up_comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	up_comp, .-up_comp
	.p2align 4
	.globl	down_comp
	.type	down_comp, @function
down_comp:
.LFB52:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE52:
	.size	down_comp, .-down_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%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	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rdx
	leaq	40(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L27
	movl	44(%rsp), %eax
	xorl	%r12d, %r12d
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r14
	leaq	48(%rsp), %r13
	testl	%eax, %eax
	jle	.L62
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	0(%r13,%r12,4), %r15
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r15, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	addq	$4, %r15
	cmpl	%ebx, %eax
	jg	.L7
	movl	40(%rsp), %ecx
	addl	$1, %ebp
	cmpl	%ebp, %ecx
	jle	.L9
	addq	$10, %r12
	testl	%eax, %eax
	jg	.L11
.L62:
	addl	$1, %ebp
	cmpl	%ecx, %ebp
	jge	.L9
.L10:
	leaq	48(%rsp), %rdi
	leal	-2(%rcx), %esi
	movl	$1, %r15d
	xorl	%edx, %edx
	movsd	.LC4(%rip), %xmm2
	addq	$2, %rsi
	movq	%rdi, %r12
	pxor	%xmm4, %xmm4
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%r15d, %ecx
	jle	.L13
	leal	-1(%rcx), %eax
	movl	44(%rsp), %ebp
	movq	%r12, %rbx
	movsd	.LC3(%rip), %xmm3
	subl	%r15d, %eax
	movsd	.LC5(%rip), %xmm5
	leaq	-1(%r15,%rax), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	40(%rdi,%rax,8), %r13
	.p2align 4,,10
	.p2align 3
.L14:
	movapd	%xmm4, %xmm0
	testl	%ebp, %ebp
	jle	.L24
	movl	40(%rbx), %eax
	subl	(%r12), %eax
	pxor	%xmm0, %xmm0
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm0, %xmm0
	addsd	%xmm4, %xmm0
	cmpl	$1, %ebp
	je	.L15
	movl	44(%rbx), %eax
	subl	4(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$2, %ebp
	je	.L15
	movl	48(%rbx), %eax
	subl	8(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$3, %ebp
	je	.L15
	movl	52(%rbx), %eax
	subl	12(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$4, %ebp
	je	.L15
	movl	56(%rbx), %eax
	subl	16(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$5, %ebp
	je	.L15
	movl	60(%rbx), %eax
	subl	20(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$6, %ebp
	je	.L15
	movl	64(%rbx), %eax
	subl	24(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$7, %ebp
	je	.L15
	movl	68(%rbx), %eax
	subl	28(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$8, %ebp
	je	.L15
	movl	72(%rbx), %eax
	subl	32(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	cmpl	$9, %ebp
	je	.L15
	movl	76(%rbx), %eax
	subl	36(%r12), %eax
	pxor	%xmm1, %xmm1
	movl	%eax, %r8d
	negl	%r8d
	cmovns	%r8d, %eax
	cvtsi2sdl	%eax, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
.L15:
	ucomisd	%xmm0, %xmm4
	ja	.L59
.L24:
	sqrtsd	%xmm0, %xmm0
.L18:
	movapd	%xmm0, %xmm1
	movapd	%xmm0, %xmm6
	andpd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm3
	jbe	.L19
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	cmpnlesd	%xmm1, %xmm6
	andpd	%xmm5, %xmm6
	addsd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	andnpd	%xmm0, %xmm6
	orpd	%xmm1, %xmm6
.L19:
	movapd	%xmm0, %xmm1
	andpd	%xmm2, %xmm1
	ucomisd	%xmm1, %xmm3
	jbe	.L20
	cvttsd2siq	%xmm0, %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	movapd	%xmm1, %xmm7
	cmpnlesd	%xmm0, %xmm7
	andpd	%xmm5, %xmm7
	subsd	%xmm7, %xmm1
	movapd	%xmm2, %xmm7
	andnpd	%xmm0, %xmm7
	movapd	%xmm1, %xmm0
	orpd	%xmm7, %xmm0
.L20:
	ucomisd	%xmm0, %xmm6
	jp	.L21
	jne	.L21
	addl	$1, %edx
.L21:
	addq	$40, %rbx
	cmpq	%r13, %rbx
	jne	.L14
.L13:
	addq	$1, %r15
	addq	$40, %r12
	cmpq	%rsi, %r15
	jne	.L25
.L5:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L63
	addq	$472, %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
.L27:
	.cfi_restore_state
	xorl	%edx, %edx
	leaq	.LC2(%rip), %r14
	jmp	.L5
.L59:
	movq	%rsi, 24(%rsp)
	movq	%rdi, 16(%rsp)
	movl	%ecx, 12(%rsp)
	movl	%edx, 8(%rsp)
	call	sqrt@PLT
	movq	.LC6(%rip), %rax
	movq	24(%rsp), %rsi
	pxor	%xmm4, %xmm4
	movq	16(%rsp), %rdi
	movl	12(%rsp), %ecx
	movq	%rax, %xmm2
	movq	.LC5(%rip), %rax
	movl	8(%rsp), %edx
	movq	%rax, %xmm5
	movq	.LC3(%rip), %rax
	movq	%rax, %xmm3
	jmp	.L18
.L63:
	call	__stack_chk_fail@PLT
.L9:
	cmpl	$1, %ecx
	jg	.L10
	xorl	%edx, %edx
	jmp	.L5
	.cfi_endproc
.LFE53:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1127219200
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC5:
	.long	0
	.long	1072693248
	.set	.LC6,.LC4
	.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 <string.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>

#define max 10

//qsort(str, n, sizeof(int), up_comp);
int up_comp(const void *a, const void *b){return *(int*)a - *(int*)b;}
int down_comp(const void *a, const void *b){return *(int*)b - *(int*)a;}

int main()
{
    int n, d, i, j, k, x[max][max], cnt=0;
    double jud, ans=0;
    
    scanf("%d %d", &n, &d);
    for (i=0; i<n; i++) {
        for (j=0; j<d; j++) {
            scanf("%d", &x[i][j]);
        }
    }
    
    for (i=0; i<n-1; i++) {
        for (k=i+1; k<n; k++) {
            ans=0;
            for (j=0; j<d; j++) {
                ans=ans+pow(abs(x[k][j]-x[i][j]), 2);
            }
            ans=sqrt(ans);
            //printf("%lf,", ans);
            if(ceil(ans)==floor(ans)){
                cnt++;
            }
        }
    }
    
    printf("%d", cnt);
    
    return 0;
}



3 4
-3 7 8 2
-12 1 10 2
-2 8 9 0
 1 1
1
2
3
4
5
 5 1
0
2
3
4
5
 3 2
1 8
5 5
-2 8
 3 2
1 4
5 5
-2 8
 3 4
-3 7 8 2
-12 1 10 2
-2 8 13 0
 3 2
2 4
5 5
-2 8
 0 1
1
2
3
4
5
 3 4
-3 7 8 2
-18 1 10 2
-2 8 13 0
 3 2
0 4
5 5
-2 8

1 0 10 2 1 1 0 0 0 0
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 <string.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>

#define max 10

//qsort(str, n, sizeof(int), up_comp);
int up_comp(const void *a, const void *b){return *(int*)a - *(int*)b;}
int down_comp(const void *a, const void *b){return *(int*)b - *(int*)a;}

int main()
{
    int n, d, i, j, k, x[max][max], cnt=0;
    double jud, ans=0;
    
    scanf("%d %d", &n, &d);
    for (i=0; i<n; i++) {
        for (j=0; j<d; j++) {
            scanf("%d", &x[i][j]);
        }
    }
    
    for (i=0; i<n-1; i++) {
        for (k=i+1; k<n; k++) {
            ans=0;
            for (j=0; j<d; j++) {
                ans=ans+pow(abs(x[k][j]-x[i][j]), 2);
            }
            ans=sqrt(ans);
            //printf("%lf,", ans);
            if(ceil(ans)==floor(ans)){
                cnt++;
            }
        }
    }
    
    printf("%d", cnt);
    
    return 0;
}


```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	up_comp
	.type	up_comp, @function
up_comp:
.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, -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
.LFE6:
	.size	up_comp, .-up_comp
	.globl	down_comp
	.type	down_comp, @function
down_comp:
.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	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	down_comp, .-down_comp
	.section	.rodata
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
	.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	%rbx
	subq	$456, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -444(%rbp)
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -440(%rbp)
	leaq	-460(%rbp), %rdx
	leaq	-464(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -456(%rbp)
	jmp	.L6
.L9:
	movl	$0, -452(%rbp)
	jmp	.L7
.L8:
	leaq	-432(%rbp), %rcx
	movl	-452(%rbp), %eax
	movslq	%eax, %rsi
	movl	-456(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -452(%rbp)
.L7:
	movl	-460(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L8
	addl	$1, -456(%rbp)
.L6:
	movl	-464(%rbp), %eax
	cmpl	%eax, -456(%rbp)
	jl	.L9
	movl	$0, -456(%rbp)
	jmp	.L10
.L17:
	movl	-456(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -448(%rbp)
	jmp	.L11
.L16:
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -440(%rbp)
	movl	$0, -452(%rbp)
	jmp	.L12
.L13:
	movl	-452(%rbp), %eax
	movslq	%eax, %rcx
	movl	-448(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-432(%rbp,%rax,4), %ecx
	movl	-452(%rbp), %eax
	movslq	%eax, %rsi
	movl	-456(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movl	-432(%rbp,%rax,4), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-440(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -440(%rbp)
	addl	$1, -452(%rbp)
.L12:
	movl	-460(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L13
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -440(%rbp)
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	ceil@PLT
	movq	%xmm0, %rbx
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	movq	%rbx, %xmm3
	ucomisd	%xmm0, %xmm3
	jp	.L14
	movq	%rbx, %xmm4
	ucomisd	%xmm0, %xmm4
	jne	.L14
	addl	$1, -444(%rbp)
.L14:
	addl	$1, -448(%rbp)
.L11:
	movl	-464(%rbp), %eax
	cmpl	%eax, -448(%rbp)
	jl	.L16
	addl	$1, -456(%rbp)
.L10:
	movl	-464(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -456(%rbp)
	jl	.L17
	movl	-444(%rbp), %eax
	movl	%eax, %esi
	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	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.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	up_comp
	.type	up_comp, @function
up_comp:
.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, -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
.LFE6:
	.size	up_comp, .-up_comp
	.globl	down_comp
	.type	down_comp, @function
down_comp:
.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	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	down_comp, .-down_comp
	.section	.rodata
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d"
	.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	%rbx
	subq	$456, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -444(%rbp)
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -440(%rbp)
	leaq	-460(%rbp), %rdx
	leaq	-464(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -456(%rbp)
	jmp	.L6
.L9:
	movl	$0, -452(%rbp)
	jmp	.L7
.L8:
	leaq	-432(%rbp), %rcx
	movl	-452(%rbp), %eax
	movslq	%eax, %rsi
	movl	-456(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -452(%rbp)
.L7:
	movl	-460(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L8
	addl	$1, -456(%rbp)
.L6:
	movl	-464(%rbp), %eax
	cmpl	%eax, -456(%rbp)
	jl	.L9
	movl	$0, -456(%rbp)
	jmp	.L10
.L17:
	movl	-456(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -448(%rbp)
	jmp	.L11
.L16:
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -440(%rbp)
	movl	$0, -452(%rbp)
	jmp	.L12
.L13:
	movl	-452(%rbp), %eax
	movslq	%eax, %rcx
	movl	-448(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-432(%rbp,%rax,4), %ecx
	movl	-452(%rbp), %eax
	movslq	%eax, %rsi
	movl	-456(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movl	-432(%rbp,%rax,4), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-440(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -440(%rbp)
	addl	$1, -452(%rbp)
.L12:
	movl	-460(%rbp), %eax
	cmpl	%eax, -452(%rbp)
	jl	.L13
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -440(%rbp)
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	ceil@PLT
	movq	%xmm0, %rbx
	movq	-440(%rbp), %rax
	movq	%rax, %xmm0
	call	floor@PLT
	movq	%rbx, %xmm3
	ucomisd	%xmm0, %xmm3
	jp	.L14
	movq	%rbx, %xmm4
	ucomisd	%xmm0, %xmm4
	jne	.L14
	addl	$1, -444(%rbp)
.L14:
	addl	$1, -448(%rbp)
.L11:
	movl	-464(%rbp), %eax
	cmpl	%eax, -448(%rbp)
	jl	.L16
	addl	$1, -456(%rbp)
.L10:
	movl	-464(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -456(%rbp)
	jl	.L17
	movl	-444(%rbp), %eax
	movl	%eax, %esi
	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	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.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:
