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>

int main(void){

  int n,d;
  scanf("%d %d", &n, &d);
	int x[n][d];
	for (int i = 0; i < n; i++) {
		for (int j = 0; j < d; j++) {
			scanf("%d", &x[i][j]);
		}
	}

	long square;
	long answer = 0;
	int flag;
	for (int i = 0; i < n; i++) {
		for (int j = i+1; j < n; j++) {
			square = 0;
			for (int axis = 0; axis < d; axis++) {
				square += (x[i][axis]-x[j][axis])*(x[i][axis]-x[j][axis]);
			}
			flag = 0;
			for (long i = 1; i <= square; i++) {
				if (i*i == square) {
					flag = 1;
					break;
				}
				if (i*i > square) {
					break;
				}
			}
			if (flag == 1) {
				answer++;
			}
		}
	}

	printf("%ld\n", answer);

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	$168, %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, -200(%rbp)
	leaq	-132(%rbp), %rdx
	leaq	-136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-132(%rbp), %ecx
	movl	-136(%rbp), %esi
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -80(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -192(%rbp)
	movq	$0, -184(%rbp)
	movslq	%ecx, %rax
	leaq	0(,%rax,4), %rbx
	movslq	%esi, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -176(%rbp)
	movq	$0, -168(%rbp)
	movslq	%esi, %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	-176(%rbp), %r9
	movq	-168(%rbp), %r10
	movq	%r10, %rdx
	imulq	-160(%rbp), %rdx
	movq	-152(%rbp), %rax
	imulq	%r9, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r9, %rax
	mulq	-160(%rbp)
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%esi, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movq	%r15, %rdx
	imulq	%r12, %rdx
	movq	%r13, %rax
	imulq	%r14, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r14, %rax
	mulq	%r12
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rdx, %rax
	leaq	0(,%rax,4), %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
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -128(%rbp)
	jmp	.L5
.L8:
	movl	$0, -124(%rbp)
	jmp	.L6
.L7:
	movq	%rbx, %rdx
	shrq	$2, %rdx
	movl	-124(%rbp), %eax
	movslq	%eax, %rcx
	movl	-128(%rbp), %eax
	cltq
	imulq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -124(%rbp)
.L6:
	movl	-132(%rbp), %eax
	cmpl	%eax, -124(%rbp)
	jl	.L7
	addl	$1, -128(%rbp)
.L5:
	movl	-136(%rbp), %eax
	cmpl	%eax, -128(%rbp)
	jl	.L8
	movq	$0, -96(%rbp)
	movl	$0, -116(%rbp)
	jmp	.L9
.L20:
	movl	-116(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -112(%rbp)
	jmp	.L10
.L19:
	movq	$0, -104(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L11
.L12:
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rsi
	movl	-116(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rsi, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	%rbx, %rsi
	shrq	$2, %rsi
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %ecx
	movslq	%ecx, %rdi
	movl	-112(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	%rsi, %rcx
	addq	%rdi, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdi
	movl	-116(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rdi, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %ecx
	movslq	%ecx, %r8
	movl	-112(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	%rdi, %rcx
	addq	%r8, %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	imull	%esi, %eax
	cltq
	addq	%rax, -104(%rbp)
	addl	$1, -108(%rbp)
.L11:
	movl	-132(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L12
	movl	$0, -120(%rbp)
	movq	$1, -88(%rbp)
	jmp	.L13
.L17:
	movq	-88(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -104(%rbp)
	jne	.L14
	movl	$1, -120(%rbp)
	jmp	.L15
.L14:
	movq	-88(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -104(%rbp)
	jl	.L23
	addq	$1, -88(%rbp)
.L13:
	movq	-88(%rbp), %rax
	cmpq	-104(%rbp), %rax
	jle	.L17
	jmp	.L15
.L23:
	nop
.L15:
	cmpl	$1, -120(%rbp)
	jne	.L18
	addq	$1, -96(%rbp)
.L18:
	addl	$1, -112(%rbp)
.L10:
	movl	-136(%rbp), %eax
	cmpl	%eax, -112(%rbp)
	jl	.L19
	addl	$1, -116(%rbp)
.L9:
	movl	-136(%rbp), %eax
	cmpl	%eax, -116(%rbp)
	jl	.L20
	movq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-200(%rbp), %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	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
	movslq	-60(%rbp), %rdx
	movl	-64(%rbp), %r11d
	movq	%rsp, %rcx
	leaq	0(,%rdx,4), %rax
	movq	%rdx, %rdi
	movq	%rax, -88(%rbp)
	movslq	%r11d, %rax
	imulq	%rdx, %rax
	leaq	15(,%rax,4), %rdx
	movq	%rdx, %rax
	andq	$-4096, %rdx
	subq	%rdx, %rcx
	andq	$-16, %rax
	cmpq	%rcx, %rsp
	je	.L3
.L47:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L47
.L3:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	jne	.L48
.L4:
	movq	%rsp, %rbx
	testl	%r11d, %r11d
	jle	.L5
	movq	-88(%rbp), %rax
	movq	%rbx, -72(%rbp)
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	leaq	.LC1(%rip), %r12
	shrq	$2, %rax
	movq	%rax, -80(%rbp)
	testl	%edi, %edi
	jle	.L49
	.p2align 4,,10
	.p2align 3
.L12:
	movq	-72(%rbp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14,4), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %edi
	addq	$4, %rbx
	cmpl	%r15d, %edi
	jg	.L7
	movl	-64(%rbp), %r11d
	addl	$1, %r13d
	cmpl	%r13d, %r11d
	jle	.L50
	addq	-80(%rbp), %r14
	testl	%edi, %edi
	jg	.L12
.L49:
	addl	$1, %r13d
	movq	-72(%rbp), %rbx
	cmpl	%r13d, %r11d
	jle	.L11
.L10:
	movq	-88(%rbp), %r13
	movl	%r11d, -72(%rbp)
	movl	%edi, %r14d
	pxor	%xmm4, %xmm4
	movq	$0, -104(%rbp)
	andl	$-4, %r14d
	leaq	(%rbx,%r13), %rax
	movl	$1, -92(%rbp)
	movq	%rax, -112(%rbp)
	leal	-1(%rdi), %eax
	movl	%eax, -88(%rbp)
	movq	-80(%rbp), %rax
	negq	%rax
	salq	$2, %rax
	movq	%rax, -120(%rbp)
	movl	%edi, %eax
	shrl	$2, %eax
	leal	-1(%rax), %r9d
	addq	$1, %r9
	salq	$4, %r9
	.p2align 4,,10
	.p2align 3
.L22:
	movl	-92(%rbp), %r11d
	movq	-112(%rbp), %rcx
	movq	-120(%rbp), %r8
	leal	-1(%r11), %r12d
	movslq	%r12d, %r12
	imulq	-80(%rbp), %r12
	addq	%rcx, %r8
	.p2align 4,,10
	.p2align 3
.L15:
	testl	%edi, %edi
	jle	.L19
	cmpl	$2, -88(%rbp)
	jbe	.L26
	xorl	%eax, %eax
	pxor	%xmm2, %xmm2
	.p2align 4,,10
	.p2align 3
.L17:
	movdqu	(%r8,%rax), %xmm0
	movdqu	(%rcx,%rax), %xmm5
	movdqa	%xmm4, %xmm3
	addq	$16, %rax
	psubd	%xmm5, %xmm0
	movdqa	%xmm0, %xmm1
	pmuludq	%xmm0, %xmm1
	psrlq	$32, %xmm0
	pmuludq	%xmm0, %xmm0
	pshufd	$8, %xmm1, %xmm1
	pshufd	$8, %xmm0, %xmm0
	punpckldq	%xmm0, %xmm1
	pcmpgtd	%xmm1, %xmm3
	movdqa	%xmm1, %xmm0
	punpckldq	%xmm3, %xmm0
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm0, %xmm2
	paddq	%xmm1, %xmm2
	cmpq	%rax, %r9
	jne	.L17
	movdqa	%xmm2, %xmm0
	movl	%r14d, %edx
	psrldq	$8, %xmm0
	paddq	%xmm0, %xmm2
	movq	%xmm2, %rax
	cmpl	%r14d, %edi
	je	.L18
.L16:
	movslq	%r11d, %r10
	imulq	-80(%rbp), %r10
	movslq	%edx, %r15
	leaq	(%r15,%r12), %rsi
	movl	(%rbx,%rsi,4), %esi
	addq	%r10, %r15
	subl	(%rbx,%r15,4), %esi
	leal	1(%rdx), %r15d
	imull	%esi, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rax
	cmpl	%edi, %r15d
	jge	.L18
	movslq	%r15d, %r15
	addl	$2, %edx
	leaq	(%r15,%r12), %rsi
	addq	%r10, %r15
	movl	(%rbx,%rsi,4), %esi
	subl	(%rbx,%r15,4), %esi
	imull	%esi, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rax
	cmpl	%edx, %edi
	jle	.L18
	movslq	%edx, %rdx
	leaq	(%rdx,%r12), %rsi
	addq	%r10, %rdx
	movl	(%rbx,%rsi,4), %esi
	subl	(%rbx,%rdx,4), %esi
	imull	%esi, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rax
.L18:
	testq	%rax, %rax
	jle	.L19
	cmpq	$1, %rax
	je	.L20
	movl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L21:
	movq	%rdx, %rsi
	imulq	%rdx, %rsi
	cmpq	%rax, %rsi
	je	.L20
	jg	.L19
	addq	$1, %rdx
	cmpq	%rax, %rdx
	jle	.L21
.L19:
	addl	$1, %r11d
	addq	%r13, %rcx
	cmpl	%r11d, -72(%rbp)
	jg	.L15
.L52:
	addl	$1, -92(%rbp)
	movl	-92(%rbp), %eax
	addq	%r13, -112(%rbp)
	cmpl	%eax, -72(%rbp)
	jne	.L22
.L14:
	movq	-104(%rbp), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L51
	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
.L20:
	.cfi_restore_state
	addq	$1, -104(%rbp)
	addl	$1, %r11d
	addq	%r13, %rcx
	cmpl	%r11d, -72(%rbp)
	jg	.L15
	jmp	.L52
.L26:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	.L16
.L50:
	movq	-72(%rbp), %rbx
	testl	%r11d, %r11d
	jle	.L5
.L11:
	cmpl	$1, %r11d
	jne	.L10
.L5:
	movq	$0, -104(%rbp)
	jmp	.L14
.L48:
	orq	$0, -8(%rsp,%rax)
	jmp	.L4
.L51:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-60(%rbp), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	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
	movslq	-60(%rbp), %rdx
	movl	-64(%rbp), %r11d
	movq	%rsp, %rcx
	leaq	0(,%rdx,4), %rax
	movq	%rdx, %rdi
	movq	%rax, -88(%rbp)
	movslq	%r11d, %rax
	imulq	%rdx, %rax
	leaq	15(,%rax,4), %rdx
	movq	%rdx, %rax
	andq	$-4096, %rdx
	subq	%rdx, %rcx
	andq	$-16, %rax
	cmpq	%rcx, %rsp
	je	.L3
.L47:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L47
.L3:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	jne	.L48
.L4:
	movq	%rsp, %rbx
	testl	%r11d, %r11d
	jle	.L5
	movq	-88(%rbp), %rax
	movq	%rbx, -72(%rbp)
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	leaq	.LC1(%rip), %r12
	shrq	$2, %rax
	movq	%rax, -80(%rbp)
	testl	%edi, %edi
	jle	.L49
	.p2align 4,,10
	.p2align 3
.L12:
	movq	-72(%rbp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14,4), %rbx
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %edi
	addq	$4, %rbx
	cmpl	%r15d, %edi
	jg	.L7
	movl	-64(%rbp), %r11d
	addl	$1, %r13d
	cmpl	%r13d, %r11d
	jle	.L50
	addq	-80(%rbp), %r14
	testl	%edi, %edi
	jg	.L12
.L49:
	addl	$1, %r13d
	movq	-72(%rbp), %rbx
	cmpl	%r13d, %r11d
	jle	.L11
.L10:
	movq	-88(%rbp), %r13
	movl	%r11d, -72(%rbp)
	movl	%edi, %r14d
	pxor	%xmm4, %xmm4
	movq	$0, -104(%rbp)
	andl	$-4, %r14d
	leaq	(%rbx,%r13), %rax
	movl	$1, -92(%rbp)
	movq	%rax, -112(%rbp)
	leal	-1(%rdi), %eax
	movl	%eax, -88(%rbp)
	movq	-80(%rbp), %rax
	negq	%rax
	salq	$2, %rax
	movq	%rax, -120(%rbp)
	movl	%edi, %eax
	shrl	$2, %eax
	leal	-1(%rax), %r9d
	addq	$1, %r9
	salq	$4, %r9
	.p2align 4,,10
	.p2align 3
.L22:
	movl	-92(%rbp), %r11d
	movq	-112(%rbp), %rcx
	movq	-120(%rbp), %r8
	leal	-1(%r11), %r12d
	movslq	%r12d, %r12
	imulq	-80(%rbp), %r12
	addq	%rcx, %r8
	.p2align 4,,10
	.p2align 3
.L15:
	testl	%edi, %edi
	jle	.L19
	cmpl	$2, -88(%rbp)
	jbe	.L26
	xorl	%eax, %eax
	pxor	%xmm2, %xmm2
	.p2align 4,,10
	.p2align 3
.L17:
	movdqu	(%r8,%rax), %xmm0
	movdqu	(%rcx,%rax), %xmm5
	movdqa	%xmm4, %xmm3
	addq	$16, %rax
	psubd	%xmm5, %xmm0
	movdqa	%xmm0, %xmm1
	pmuludq	%xmm0, %xmm1
	psrlq	$32, %xmm0
	pmuludq	%xmm0, %xmm0
	pshufd	$8, %xmm1, %xmm1
	pshufd	$8, %xmm0, %xmm0
	punpckldq	%xmm0, %xmm1
	pcmpgtd	%xmm1, %xmm3
	movdqa	%xmm1, %xmm0
	punpckldq	%xmm3, %xmm0
	punpckhdq	%xmm3, %xmm1
	paddq	%xmm0, %xmm2
	paddq	%xmm1, %xmm2
	cmpq	%rax, %r9
	jne	.L17
	movdqa	%xmm2, %xmm0
	movl	%r14d, %edx
	psrldq	$8, %xmm0
	paddq	%xmm0, %xmm2
	movq	%xmm2, %rax
	cmpl	%r14d, %edi
	je	.L18
.L16:
	movslq	%r11d, %r10
	imulq	-80(%rbp), %r10
	movslq	%edx, %r15
	leaq	(%r15,%r12), %rsi
	movl	(%rbx,%rsi,4), %esi
	addq	%r10, %r15
	subl	(%rbx,%r15,4), %esi
	leal	1(%rdx), %r15d
	imull	%esi, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rax
	cmpl	%edi, %r15d
	jge	.L18
	movslq	%r15d, %r15
	addl	$2, %edx
	leaq	(%r15,%r12), %rsi
	addq	%r10, %r15
	movl	(%rbx,%rsi,4), %esi
	subl	(%rbx,%r15,4), %esi
	imull	%esi, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rax
	cmpl	%edx, %edi
	jle	.L18
	movslq	%edx, %rdx
	leaq	(%rdx,%r12), %rsi
	addq	%r10, %rdx
	movl	(%rbx,%rsi,4), %esi
	subl	(%rbx,%rdx,4), %esi
	imull	%esi, %esi
	movslq	%esi, %rsi
	addq	%rsi, %rax
.L18:
	testq	%rax, %rax
	jle	.L19
	cmpq	$1, %rax
	je	.L20
	movl	$2, %edx
	.p2align 4,,10
	.p2align 3
.L21:
	movq	%rdx, %rsi
	imulq	%rdx, %rsi
	cmpq	%rax, %rsi
	je	.L20
	jg	.L19
	addq	$1, %rdx
	cmpq	%rax, %rdx
	jle	.L21
.L19:
	addl	$1, %r11d
	addq	%r13, %rcx
	cmpl	%r11d, -72(%rbp)
	jg	.L15
.L52:
	addl	$1, -92(%rbp)
	movl	-92(%rbp), %eax
	addq	%r13, -112(%rbp)
	cmpl	%eax, -72(%rbp)
	jne	.L22
.L14:
	movq	-104(%rbp), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L51
	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
.L20:
	.cfi_restore_state
	addq	$1, -104(%rbp)
	addl	$1, %r11d
	addq	%r13, %rcx
	cmpl	%r11d, -72(%rbp)
	jg	.L15
	jmp	.L52
.L26:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	.L16
.L50:
	movq	-72(%rbp), %rbx
	testl	%r11d, %r11d
	jle	.L5
.L11:
	cmpl	$1, %r11d
	jne	.L10
.L5:
	movq	$0, -104(%rbp)
	jmp	.L14
.L48:
	orq	$0, -8(%rsp,%rax)
	jmp	.L4
.L51:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>

int main(void){

  int n,d;
  scanf("%d %d", &n, &d);
	int x[n][d];
	for (int i = 0; i < n; i++) {
		for (int j = 0; j < d; j++) {
			scanf("%d", &x[i][j]);
		}
	}

	long square;
	long answer = 0;
	int flag;
	for (int i = 0; i < n; i++) {
		for (int j = i+1; j < n; j++) {
			square = 0;
			for (int axis = 0; axis < d; axis++) {
				square += (x[i][axis]-x[j][axis])*(x[i][axis]-x[j][axis]);
			}
			flag = 0;
			for (long i = 1; i <= square; i++) {
				if (i*i == square) {
					flag = 1;
					break;
				}
				if (i*i > square) {
					break;
				}
			}
			if (flag == 1) {
				answer++;
			}
		}
	}

	printf("%ld\n", answer);

  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>

int main(void){

  int n,d;
  scanf("%d %d", &n, &d);
	int x[n][d];
	for (int i = 0; i < n; i++) {
		for (int j = 0; j < d; j++) {
			scanf("%d", &x[i][j]);
		}
	}

	long square;
	long answer = 0;
	int flag;
	for (int i = 0; i < n; i++) {
		for (int j = i+1; j < n; j++) {
			square = 0;
			for (int axis = 0; axis < d; axis++) {
				square += (x[i][axis]-x[j][axis])*(x[i][axis]-x[j][axis]);
			}
			flag = 0;
			for (long i = 1; i <= square; i++) {
				if (i*i == square) {
					flag = 1;
					break;
				}
				if (i*i > square) {
					break;
				}
			}
			if (flag == 1) {
				answer++;
			}
		}
	}

	printf("%ld\n", answer);

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	$168, %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, -200(%rbp)
	leaq	-132(%rbp), %rdx
	leaq	-136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-132(%rbp), %ecx
	movl	-136(%rbp), %esi
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -80(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -192(%rbp)
	movq	$0, -184(%rbp)
	movslq	%ecx, %rax
	leaq	0(,%rax,4), %rbx
	movslq	%esi, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -176(%rbp)
	movq	$0, -168(%rbp)
	movslq	%esi, %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	-176(%rbp), %r9
	movq	-168(%rbp), %r10
	movq	%r10, %rdx
	imulq	-160(%rbp), %rdx
	movq	-152(%rbp), %rax
	imulq	%r9, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r9, %rax
	mulq	-160(%rbp)
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%esi, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movq	%r15, %rdx
	imulq	%r12, %rdx
	movq	%r13, %rax
	imulq	%r14, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r14, %rax
	mulq	%r12
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rdx, %rax
	leaq	0(,%rax,4), %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
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -128(%rbp)
	jmp	.L5
.L8:
	movl	$0, -124(%rbp)
	jmp	.L6
.L7:
	movq	%rbx, %rdx
	shrq	$2, %rdx
	movl	-124(%rbp), %eax
	movslq	%eax, %rcx
	movl	-128(%rbp), %eax
	cltq
	imulq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -124(%rbp)
.L6:
	movl	-132(%rbp), %eax
	cmpl	%eax, -124(%rbp)
	jl	.L7
	addl	$1, -128(%rbp)
.L5:
	movl	-136(%rbp), %eax
	cmpl	%eax, -128(%rbp)
	jl	.L8
	movq	$0, -96(%rbp)
	movl	$0, -116(%rbp)
	jmp	.L9
.L20:
	movl	-116(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -112(%rbp)
	jmp	.L10
.L19:
	movq	$0, -104(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L11
.L12:
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rsi
	movl	-116(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rsi, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	%rbx, %rsi
	shrq	$2, %rsi
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %ecx
	movslq	%ecx, %rdi
	movl	-112(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	%rsi, %rcx
	addq	%rdi, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdi
	movl	-116(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rdi, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %ecx
	movslq	%ecx, %r8
	movl	-112(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	%rdi, %rcx
	addq	%r8, %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	imull	%esi, %eax
	cltq
	addq	%rax, -104(%rbp)
	addl	$1, -108(%rbp)
.L11:
	movl	-132(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L12
	movl	$0, -120(%rbp)
	movq	$1, -88(%rbp)
	jmp	.L13
.L17:
	movq	-88(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -104(%rbp)
	jne	.L14
	movl	$1, -120(%rbp)
	jmp	.L15
.L14:
	movq	-88(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -104(%rbp)
	jl	.L23
	addq	$1, -88(%rbp)
.L13:
	movq	-88(%rbp), %rax
	cmpq	-104(%rbp), %rax
	jle	.L17
	jmp	.L15
.L23:
	nop
.L15:
	cmpl	$1, -120(%rbp)
	jne	.L18
	addq	$1, -96(%rbp)
.L18:
	addl	$1, -112(%rbp)
.L10:
	movl	-136(%rbp), %eax
	cmpl	%eax, -112(%rbp)
	jl	.L19
	addl	$1, -116(%rbp)
.L9:
	movl	-136(%rbp), %eax
	cmpl	%eax, -116(%rbp)
	jl	.L20
	movq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-200(%rbp), %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	$168, %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, -200(%rbp)
	leaq	-132(%rbp), %rdx
	leaq	-136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-132(%rbp), %ecx
	movl	-136(%rbp), %esi
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -80(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -192(%rbp)
	movq	$0, -184(%rbp)
	movslq	%ecx, %rax
	leaq	0(,%rax,4), %rbx
	movslq	%esi, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -176(%rbp)
	movq	$0, -168(%rbp)
	movslq	%esi, %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	-176(%rbp), %r9
	movq	-168(%rbp), %r10
	movq	%r10, %rdx
	imulq	-160(%rbp), %rdx
	movq	-152(%rbp), %rax
	imulq	%r9, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r9, %rax
	mulq	-160(%rbp)
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%esi, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movq	%r15, %rdx
	imulq	%r12, %rdx
	movq	%r13, %rax
	imulq	%r14, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r14, %rax
	mulq	%r12
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rdx, %rax
	leaq	0(,%rax,4), %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
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -128(%rbp)
	jmp	.L5
.L8:
	movl	$0, -124(%rbp)
	jmp	.L6
.L7:
	movq	%rbx, %rdx
	shrq	$2, %rdx
	movl	-124(%rbp), %eax
	movslq	%eax, %rcx
	movl	-128(%rbp), %eax
	cltq
	imulq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -124(%rbp)
.L6:
	movl	-132(%rbp), %eax
	cmpl	%eax, -124(%rbp)
	jl	.L7
	addl	$1, -128(%rbp)
.L5:
	movl	-136(%rbp), %eax
	cmpl	%eax, -128(%rbp)
	jl	.L8
	movq	$0, -96(%rbp)
	movl	$0, -116(%rbp)
	jmp	.L9
.L20:
	movl	-116(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -112(%rbp)
	jmp	.L10
.L19:
	movq	$0, -104(%rbp)
	movl	$0, -108(%rbp)
	jmp	.L11
.L12:
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rsi
	movl	-116(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rsi, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	%rbx, %rsi
	shrq	$2, %rsi
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %ecx
	movslq	%ecx, %rdi
	movl	-112(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	%rsi, %rcx
	addq	%rdi, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movq	%rbx, %rcx
	shrq	$2, %rcx
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %edx
	movslq	%edx, %rdi
	movl	-116(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rdi, %rdx
	movl	(%rax,%rdx,4), %edx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	movq	-64(%rbp), %rax
	movl	-108(%rbp), %ecx
	movslq	%ecx, %r8
	movl	-112(%rbp), %ecx
	movslq	%ecx, %rcx
	imulq	%rdi, %rcx
	addq	%r8, %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	imull	%esi, %eax
	cltq
	addq	%rax, -104(%rbp)
	addl	$1, -108(%rbp)
.L11:
	movl	-132(%rbp), %eax
	cmpl	%eax, -108(%rbp)
	jl	.L12
	movl	$0, -120(%rbp)
	movq	$1, -88(%rbp)
	jmp	.L13
.L17:
	movq	-88(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -104(%rbp)
	jne	.L14
	movl	$1, -120(%rbp)
	jmp	.L15
.L14:
	movq	-88(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -104(%rbp)
	jl	.L23
	addq	$1, -88(%rbp)
.L13:
	movq	-88(%rbp), %rax
	cmpq	-104(%rbp), %rax
	jle	.L17
	jmp	.L15
.L23:
	nop
.L15:
	cmpl	$1, -120(%rbp)
	jne	.L18
	addq	$1, -96(%rbp)
.L18:
	addl	$1, -112(%rbp)
.L10:
	movl	-136(%rbp), %eax
	cmpl	%eax, -112(%rbp)
	jl	.L19
	addl	$1, -116(%rbp)
.L9:
	movl	-136(%rbp), %eax
	cmpl	%eax, -116(%rbp)
	jl	.L20
	movq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-200(%rbp), %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
