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 rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

typedef struct node{
    int bit;
    int consume_mp;
}node;

int main(){
    int n, a, b, c;
    scanf("%d %d %d %d", &n, &a, &b, &c);
    int l[n];
    rep(i, 0, n){
        scanf("%d", &l[i]);
    }
    int x = (int)pow(2, n) - 1;
    node a_mp[x], b_mp[x], c_mp[x];
    rep(i, 1, x+1){
        node buf;
        buf.bit = i;
        buf.consume_mp = 0;
        int len_sum = 0;
        rep(j, 0, n){
            int y = 1 << j;
            if(i&y){
                len_sum += l[j];
                buf.consume_mp += 10;
            }
        }
        buf.consume_mp -= 10;
        a_mp[i-1] = buf;
        a_mp[i-1].consume_mp += abs(len_sum - a);
        b_mp[i-1] = buf;
        b_mp[i-1].consume_mp += abs(len_sum - b);
        c_mp[i-1] = buf;
        c_mp[i-1].consume_mp += abs(len_sum - c);
    }
    /*rep(i, 0, x){
        printf("%d ", a_mp[i].consume_mp);
    }
    printf("\n");
    rep(i, 0, x){
        printf("%d ", b_mp[i].consume_mp);
    }
    printf("\n");
    rep(i, 0, x){
        printf("%d ", c_mp[i].consume_mp);
    }
    printf("\n");*/
    int ans = INT_MAX;
    rep(i, 0, x){
        rep(j, 0, x){
            rep(k, 0, x){
                if((a_mp[i].bit&b_mp[j].bit) || (b_mp[j].bit&c_mp[k].bit) || (c_mp[k].bit&a_mp[i].bit)){
                    continue;
                }
                int buf = a_mp[i].consume_mp + b_mp[j].consume_mp + c_mp[k].consume_mp;
                if(ans > buf){
                    ans = buf;
                    //printf("(%d,%d,%d) : %d %d : %d %d : %d %d\n", i, j, k, a_mp[i].bit, a_mp[i].consume_mp, b_mp[j].bit, b_mp[j].consume_mp, c_mp[k].bit, c_mp[k].consume_mp);
                }
            }
        }
    }
    printf("%d", ans);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$248, %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	-176(%rbp), %rsi
	leaq	-180(%rbp), %rcx
	leaq	-184(%rbp), %rdx
	leaq	-188(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-188(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -128(%rbp)
	movslq	%edx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movslq	%edx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rdx
	movq	%rdx, %rax
	andq	$-4096, %rax
	movq	%rsp, %rcx
	subq	%rax, %rcx
.L2:
	cmpq	%rcx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	movq	%rdx, %rax
	andl	$4095, %eax
	testq	%rax, %rax
	je	.L4
	movq	%rdx, %rax
	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, -120(%rbp)
	movl	$0, -172(%rbp)
	jmp	.L5
.L6:
	movl	-172(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -172(%rbp)
.L5:
	movl	-188(%rbp), %eax
	cmpl	%eax, -172(%rbp)
	jl	.L6
	movl	-188(%rbp), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	.LC2(%rip), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2sil	%xmm0, %eax
	subl	$1, %eax
	movl	%eax, -140(%rbp)
	movl	-140(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -112(%rbp)
	movslq	%edx, %rax
	movq	%rax, -208(%rbp)
	movq	$0, -200(%rbp)
	movslq	%edx, %rax
	movq	%rax, -224(%rbp)
	movq	$0, -216(%rbp)
	movslq	%edx, %rax
	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
.L7:
	cmpq	%rdx, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L9
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L9:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -104(%rbp)
	movl	-140(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -96(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -240(%rbp)
	movq	$0, -232(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -256(%rbp)
	movq	$0, -248(%rbp)
	cltq
	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
.L10:
	cmpq	%rdx, %rsp
	je	.L11
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L10
.L11:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L12
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L12:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -88(%rbp)
	movl	-140(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -80(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -272(%rbp)
	movq	$0, -264(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -288(%rbp)
	movq	$0, -280(%rbp)
	cltq
	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
.L13:
	cmpq	%rdx, %rsp
	je	.L14
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L13
.L14:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L15
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L15:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -72(%rbp)
	movl	$1, -168(%rbp)
	jmp	.L16
.L20:
	movl	-168(%rbp), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -164(%rbp)
	movl	$0, -160(%rbp)
	jmp	.L17
.L19:
	movl	-160(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	movl	%eax, -132(%rbp)
	movl	-168(%rbp), %eax
	andl	-132(%rbp), %eax
	testl	%eax, %eax
	je	.L18
	movq	-120(%rbp), %rax
	movl	-160(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	addl	%eax, -164(%rbp)
	movl	-60(%rbp), %eax
	addl	$10, %eax
	movl	%eax, -60(%rbp)
.L18:
	addl	$1, -160(%rbp)
.L17:
	movl	-188(%rbp), %eax
	cmpl	%eax, -160(%rbp)
	jl	.L19
	movl	-60(%rbp), %eax
	subl	$10, %eax
	movl	%eax, -60(%rbp)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-184(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-180(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-176(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	addl	$1, -168(%rbp)
.L16:
	movl	-140(%rbp), %eax
	cmpl	-168(%rbp), %eax
	jge	.L20
	movl	$2147483647, -156(%rbp)
	movl	$0, -152(%rbp)
	jmp	.L21
.L29:
	movl	$0, -148(%rbp)
	jmp	.L22
.L28:
	movl	$0, -144(%rbp)
	jmp	.L23
.L27:
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %ecx
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	addl	%eax, %ecx
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	addl	%ecx, %eax
	movl	%eax, -136(%rbp)
	movl	-156(%rbp), %eax
	cmpl	-136(%rbp), %eax
	jle	.L26
	movl	-136(%rbp), %eax
	movl	%eax, -156(%rbp)
	jmp	.L26
.L32:
	nop
.L26:
	addl	$1, -144(%rbp)
.L23:
	movl	-144(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L27
	addl	$1, -148(%rbp)
.L22:
	movl	-148(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L28
	addl	$1, -152(%rbp)
.L21:
	movl	-152(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L29
	movl	-156(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.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	-64(%rbp), %rcx
	leaq	-68(%rbp), %rdx
	pushq	%r13
	leaq	-72(%rbp), %rsi
	leaq	-60(%rbp), %r8
	pushq	%r12
	pushq	%rbx
	subq	$72, %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	-72(%rbp), %rax
	movq	%rsp, %rcx
	leaq	15(,%rax,4), %rdx
	movq	%rax, %r13
	movq	%rdx, %rax
	andq	$-4096, %rdx
	subq	%rdx, %rcx
	andq	$-16, %rax
	cmpq	%rcx, %rsp
	je	.L3
.L54:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L54
.L3:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	jne	.L55
.L4:
	movq	%rsp, %rbx
	leaq	.LC1(%rip), %r12
	testl	%r13d, %r13d
	jle	.L5
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r15, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	-72(%rbp), %r13d
	addq	$4, %r15
	cmpl	%r14d, %r13d
	jg	.L6
.L5:
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm1
	call	pow@PLT
	movq	%rsp, %rcx
	cvttsd2sil	%xmm0, %esi
	leal	-1(%rsi), %edi
	movslq	%edi, %rax
	leaq	15(,%rax,8), %rdx
	movq	%rdx, %r8
	movq	%rdx, %rax
	andq	$-4096, %r8
	andq	$-16, %rax
	subq	%r8, %rcx
	cmpq	%rcx, %rsp
	je	.L8
.L56:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L56
.L8:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	jne	.L57
.L9:
	movq	%rdx, %r9
	movq	%rdx, %rcx
	movq	%rsp, %r8
	movq	%rsp, %rax
	andq	$-4096, %r9
	andq	$-16, %rcx
	subq	%r9, %r8
.L10:
	cmpq	%r8, %rsp
	je	.L11
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L10
.L57:
	orq	$0, -8(%rsp,%rax)
	jmp	.L9
.L55:
	orq	$0, -8(%rsp,%rax)
	jmp	.L4
.L11:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L58
.L12:
	movq	%rdx, %rcx
	movq	%rsp, %r8
	andq	$-4096, %rdx
	movq	%rsp, %r14
	andq	$-16, %rcx
	subq	%rdx, %r8
.L13:
	cmpq	%r8, %rsp
	je	.L14
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L13
.L58:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L12
.L14:
	movq	%rcx, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	je	.L15
	orq	$0, -8(%rsp,%rdx)
.L15:
	movq	%rsp, %r11
	movl	$2147483647, %r9d
	testl	%edi, %edi
	jle	.L17
	movl	-68(%rbp), %edi
	movl	$1, %r10d
	movslq	%r13d, %r9
	movl	$1, %r8d
	movl	%edi, -84(%rbp)
	movl	-64(%rbp), %edi
	movl	%edi, -88(%rbp)
	movl	-60(%rbp), %edi
	movl	%edi, -92(%rbp)
	leal	-2(%rsi), %edi
	movq	%rdi, -112(%rbp)
	addq	$2, %rdi
	movq	%rdi, -104(%rbp)
	.p2align 4,,10
	.p2align 3
.L20:
	movl	%r10d, %esi
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%r13d, %r13d
	jle	.L59
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%r8d, %r15d
	sall	%cl, %r15d
	testl	%esi, %r15d
	je	.L18
	addl	(%rbx,%rcx,4), %edx
	addl	$10, %edi
.L18:
	addq	$1, %rcx
	cmpq	%r9, %rcx
	jne	.L19
	subl	$10, %edi
.L23:
	movl	%edx, %r15d
	subl	-84(%rbp), %r15d
	movd	%esi, %xmm0
	movl	%r15d, %ecx
	negl	%ecx
	cmovs	%r15d, %ecx
	movl	%edx, %r15d
	subl	-88(%rbp), %r15d
	addl	%edi, %ecx
	movd	%ecx, %xmm2
	movl	%r15d, %ecx
	negl	%ecx
	punpckldq	%xmm2, %xmm0
	cmovs	%r15d, %ecx
	subl	-92(%rbp), %edx
	movq	%xmm0, -8(%rax,%r10,8)
	movd	%esi, %xmm0
	addl	%edi, %ecx
	movd	%ecx, %xmm3
	movl	%edx, %ecx
	negl	%ecx
	punpckldq	%xmm3, %xmm0
	cmovs	%edx, %ecx
	movq	%xmm0, -8(%r14,%r10,8)
	movd	%esi, %xmm0
	addl	%edi, %ecx
	movd	%ecx, %xmm4
	punpckldq	%xmm4, %xmm0
	movq	%xmm0, -8(%r11,%r10,8)
	addq	$1, %r10
	cmpq	-104(%rbp), %r10
	jne	.L20
	movq	-112(%rbp), %rdx
	movl	$2147483647, %r9d
	salq	$3, %rdx
	leaq	8(%rdx,%rax), %r13
	leaq	8(%r14,%rdx), %rbx
	leaq	8(%r11,%rdx), %r8
	.p2align 4,,10
	.p2align 3
.L21:
	movl	(%rax), %r10d
	movq	%r14, %rdi
	.p2align 4,,10
	.p2align 3
.L28:
	movl	(%rdi), %edx
	movl	%r10d, %esi
	orl	%edx, %esi
	testl	%edx, %r10d
	jne	.L25
	movq	%r11, %rdx
	.p2align 4,,10
	.p2align 3
.L27:
	movl	%esi, %ecx
	andl	(%rdx), %ecx
	jne	.L26
	movl	4(%rax), %ecx
	addl	4(%rdi), %ecx
	addl	4(%rdx), %ecx
	cmpl	%ecx, %r9d
	cmovg	%ecx, %r9d
.L26:
	addq	$8, %rdx
	cmpq	%r8, %rdx
	jne	.L27
.L25:
	addq	$8, %rdi
	cmpq	%rdi, %rbx
	jne	.L28
	addq	$8, %rax
	cmpq	%rax, %r13
	jne	.L21
.L17:
	xorl	%eax, %eax
	movl	%r9d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L60
	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
.L59:
	.cfi_restore_state
	movl	$-10, %edi
	jmp	.L23
.L60:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.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	-64(%rbp), %rcx
	leaq	-68(%rbp), %rdx
	pushq	%r13
	leaq	-72(%rbp), %rsi
	leaq	-60(%rbp), %r8
	pushq	%r12
	pushq	%rbx
	subq	$72, %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	-72(%rbp), %rax
	movq	%rsp, %rcx
	leaq	15(,%rax,4), %rdx
	movq	%rax, %r13
	movq	%rdx, %rax
	andq	$-4096, %rdx
	subq	%rdx, %rcx
	andq	$-16, %rax
	cmpq	%rcx, %rsp
	je	.L3
.L54:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L54
.L3:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	jne	.L55
.L4:
	movq	%rsp, %rbx
	leaq	.LC1(%rip), %r12
	testl	%r13d, %r13d
	jle	.L5
	movq	%rbx, %r15
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r15, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	-72(%rbp), %r13d
	addq	$4, %r15
	cmpl	%r14d, %r13d
	jg	.L6
.L5:
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm0
	cvtsi2sdl	%r13d, %xmm1
	call	pow@PLT
	movq	%rsp, %rcx
	cvttsd2sil	%xmm0, %esi
	leal	-1(%rsi), %edi
	movslq	%edi, %rax
	leaq	15(,%rax,8), %rdx
	movq	%rdx, %r8
	movq	%rdx, %rax
	andq	$-4096, %r8
	andq	$-16, %rax
	subq	%r8, %rcx
	cmpq	%rcx, %rsp
	je	.L8
.L56:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L56
.L8:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	jne	.L57
.L9:
	movq	%rdx, %r9
	movq	%rdx, %rcx
	movq	%rsp, %r8
	movq	%rsp, %rax
	andq	$-4096, %r9
	andq	$-16, %rcx
	subq	%r9, %r8
.L10:
	cmpq	%r8, %rsp
	je	.L11
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L10
.L57:
	orq	$0, -8(%rsp,%rax)
	jmp	.L9
.L55:
	orq	$0, -8(%rsp,%rax)
	jmp	.L4
.L11:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L58
.L12:
	movq	%rdx, %rcx
	movq	%rsp, %r8
	andq	$-4096, %rdx
	movq	%rsp, %r14
	andq	$-16, %rcx
	subq	%rdx, %r8
.L13:
	cmpq	%r8, %rsp
	je	.L14
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L13
.L58:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L12
.L14:
	movq	%rcx, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	je	.L15
	orq	$0, -8(%rsp,%rdx)
.L15:
	movq	%rsp, %r11
	movl	$2147483647, %r9d
	testl	%edi, %edi
	jle	.L17
	movl	-68(%rbp), %edi
	movl	$1, %r10d
	movslq	%r13d, %r9
	movl	$1, %r8d
	movl	%edi, -84(%rbp)
	movl	-64(%rbp), %edi
	movl	%edi, -88(%rbp)
	movl	-60(%rbp), %edi
	movl	%edi, -92(%rbp)
	leal	-2(%rsi), %edi
	movq	%rdi, -112(%rbp)
	addq	$2, %rdi
	movq	%rdi, -104(%rbp)
	.p2align 4,,10
	.p2align 3
.L20:
	movl	%r10d, %esi
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	xorl	%edx, %edx
	testl	%r13d, %r13d
	jle	.L59
	.p2align 4,,10
	.p2align 3
.L19:
	movl	%r8d, %r15d
	sall	%cl, %r15d
	testl	%esi, %r15d
	je	.L18
	addl	(%rbx,%rcx,4), %edx
	addl	$10, %edi
.L18:
	addq	$1, %rcx
	cmpq	%r9, %rcx
	jne	.L19
	subl	$10, %edi
.L23:
	movl	%edx, %r15d
	subl	-84(%rbp), %r15d
	movd	%esi, %xmm0
	movl	%r15d, %ecx
	negl	%ecx
	cmovs	%r15d, %ecx
	movl	%edx, %r15d
	subl	-88(%rbp), %r15d
	addl	%edi, %ecx
	movd	%ecx, %xmm2
	movl	%r15d, %ecx
	negl	%ecx
	punpckldq	%xmm2, %xmm0
	cmovs	%r15d, %ecx
	subl	-92(%rbp), %edx
	movq	%xmm0, -8(%rax,%r10,8)
	movd	%esi, %xmm0
	addl	%edi, %ecx
	movd	%ecx, %xmm3
	movl	%edx, %ecx
	negl	%ecx
	punpckldq	%xmm3, %xmm0
	cmovs	%edx, %ecx
	movq	%xmm0, -8(%r14,%r10,8)
	movd	%esi, %xmm0
	addl	%edi, %ecx
	movd	%ecx, %xmm4
	punpckldq	%xmm4, %xmm0
	movq	%xmm0, -8(%r11,%r10,8)
	addq	$1, %r10
	cmpq	-104(%rbp), %r10
	jne	.L20
	movq	-112(%rbp), %rdx
	movl	$2147483647, %r9d
	salq	$3, %rdx
	leaq	8(%rdx,%rax), %r13
	leaq	8(%r14,%rdx), %rbx
	leaq	8(%r11,%rdx), %r8
	.p2align 4,,10
	.p2align 3
.L21:
	movl	(%rax), %r10d
	movq	%r14, %rdi
	.p2align 4,,10
	.p2align 3
.L28:
	movl	(%rdi), %edx
	movl	%r10d, %esi
	orl	%edx, %esi
	testl	%edx, %r10d
	jne	.L25
	movq	%r11, %rdx
	.p2align 4,,10
	.p2align 3
.L27:
	movl	%esi, %ecx
	andl	(%rdx), %ecx
	jne	.L26
	movl	4(%rax), %ecx
	addl	4(%rdi), %ecx
	addl	4(%rdx), %ecx
	cmpl	%ecx, %r9d
	cmovg	%ecx, %r9d
.L26:
	addq	$8, %rdx
	cmpq	%r8, %rdx
	jne	.L27
.L25:
	addq	$8, %rdi
	cmpq	%rdi, %rbx
	jne	.L28
	addq	$8, %rax
	cmpq	%rax, %r13
	jne	.L21
.L17:
	xorl	%eax, %eax
	movl	%r9d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L60
	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
.L59:
	.cfi_restore_state
	movl	$-10, %edi
	jmp	.L23
.L60:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.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:

#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>

#define rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

typedef struct node{
    int bit;
    int consume_mp;
}node;

int main(){
    int n, a, b, c;
    scanf("%d %d %d %d", &n, &a, &b, &c);
    int l[n];
    rep(i, 0, n){
        scanf("%d", &l[i]);
    }
    int x = (int)pow(2, n) - 1;
    node a_mp[x], b_mp[x], c_mp[x];
    rep(i, 1, x+1){
        node buf;
        buf.bit = i;
        buf.consume_mp = 0;
        int len_sum = 0;
        rep(j, 0, n){
            int y = 1 << j;
            if(i&y){
                len_sum += l[j];
                buf.consume_mp += 10;
            }
        }
        buf.consume_mp -= 10;
        a_mp[i-1] = buf;
        a_mp[i-1].consume_mp += abs(len_sum - a);
        b_mp[i-1] = buf;
        b_mp[i-1].consume_mp += abs(len_sum - b);
        c_mp[i-1] = buf;
        c_mp[i-1].consume_mp += abs(len_sum - c);
    }
    /*rep(i, 0, x){
        printf("%d ", a_mp[i].consume_mp);
    }
    printf("\n");
    rep(i, 0, x){
        printf("%d ", b_mp[i].consume_mp);
    }
    printf("\n");
    rep(i, 0, x){
        printf("%d ", c_mp[i].consume_mp);
    }
    printf("\n");*/
    int ans = INT_MAX;
    rep(i, 0, x){
        rep(j, 0, x){
            rep(k, 0, x){
                if((a_mp[i].bit&b_mp[j].bit) || (b_mp[j].bit&c_mp[k].bit) || (c_mp[k].bit&a_mp[i].bit)){
                    continue;
                }
                int buf = a_mp[i].consume_mp + b_mp[j].consume_mp + c_mp[k].consume_mp;
                if(ans > buf){
                    ans = buf;
                    //printf("(%d,%d,%d) : %d %d : %d %d : %d %d\n", i, j, k, a_mp[i].bit, a_mp[i].consume_mp, b_mp[j].bit, b_mp[j].consume_mp, c_mp[k].bit, c_mp[k].consume_mp);
                }
            }
        }
    }
    printf("%d", ans);

    return 0;
}
8 1100 800 100
300
333
400
444
500
555
600
666
 5 100 171 80
98
40
30
21
80
 8 100 90 80
100
100
90
90
90
80
80
20
 8 1100 800 100
297
333
400
444
500
555
600
666
 5 100 171 80
68
40
30
21
80
 8 100 90 110
100
100
90
90
90
80
80
20
 8 1100 800 100
297
333
400
444
336
555
600
666
 5 100 171 80
68
40
42
21
80
 8 100 90 110
100
100
90
104
90
80
80
20
 5 100 171 80
80
40
42
21
80

243 102 0 240 132 10 271 120 6 108
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 rep(i,begin,end) for(int i=begin; i<end; i++)
#define revrep(i,begin,end) for(int i=begin; i>end; i--)
#define lld long long int

typedef struct node{
    int bit;
    int consume_mp;
}node;

int main(){
    int n, a, b, c;
    scanf("%d %d %d %d", &n, &a, &b, &c);
    int l[n];
    rep(i, 0, n){
        scanf("%d", &l[i]);
    }
    int x = (int)pow(2, n) - 1;
    node a_mp[x], b_mp[x], c_mp[x];
    rep(i, 1, x+1){
        node buf;
        buf.bit = i;
        buf.consume_mp = 0;
        int len_sum = 0;
        rep(j, 0, n){
            int y = 1 << j;
            if(i&y){
                len_sum += l[j];
                buf.consume_mp += 10;
            }
        }
        buf.consume_mp -= 10;
        a_mp[i-1] = buf;
        a_mp[i-1].consume_mp += abs(len_sum - a);
        b_mp[i-1] = buf;
        b_mp[i-1].consume_mp += abs(len_sum - b);
        c_mp[i-1] = buf;
        c_mp[i-1].consume_mp += abs(len_sum - c);
    }
    /*rep(i, 0, x){
        printf("%d ", a_mp[i].consume_mp);
    }
    printf("\n");
    rep(i, 0, x){
        printf("%d ", b_mp[i].consume_mp);
    }
    printf("\n");
    rep(i, 0, x){
        printf("%d ", c_mp[i].consume_mp);
    }
    printf("\n");*/
    int ans = INT_MAX;
    rep(i, 0, x){
        rep(j, 0, x){
            rep(k, 0, x){
                if((a_mp[i].bit&b_mp[j].bit) || (b_mp[j].bit&c_mp[k].bit) || (c_mp[k].bit&a_mp[i].bit)){
                    continue;
                }
                int buf = a_mp[i].consume_mp + b_mp[j].consume_mp + c_mp[k].consume_mp;
                if(ans > buf){
                    ans = buf;
                    //printf("(%d,%d,%d) : %d %d : %d %d : %d %d\n", i, j, k, a_mp[i].bit, a_mp[i].consume_mp, b_mp[j].bit, b_mp[j].consume_mp, c_mp[k].bit, c_mp[k].consume_mp);
                }
            }
        }
    }
    printf("%d", ans);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$248, %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	-176(%rbp), %rsi
	leaq	-180(%rbp), %rcx
	leaq	-184(%rbp), %rdx
	leaq	-188(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-188(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -128(%rbp)
	movslq	%edx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movslq	%edx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rdx
	movq	%rdx, %rax
	andq	$-4096, %rax
	movq	%rsp, %rcx
	subq	%rax, %rcx
.L2:
	cmpq	%rcx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	movq	%rdx, %rax
	andl	$4095, %eax
	testq	%rax, %rax
	je	.L4
	movq	%rdx, %rax
	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, -120(%rbp)
	movl	$0, -172(%rbp)
	jmp	.L5
.L6:
	movl	-172(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -172(%rbp)
.L5:
	movl	-188(%rbp), %eax
	cmpl	%eax, -172(%rbp)
	jl	.L6
	movl	-188(%rbp), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	.LC2(%rip), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2sil	%xmm0, %eax
	subl	$1, %eax
	movl	%eax, -140(%rbp)
	movl	-140(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -112(%rbp)
	movslq	%edx, %rax
	movq	%rax, -208(%rbp)
	movq	$0, -200(%rbp)
	movslq	%edx, %rax
	movq	%rax, -224(%rbp)
	movq	$0, -216(%rbp)
	movslq	%edx, %rax
	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
.L7:
	cmpq	%rdx, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L9
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L9:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -104(%rbp)
	movl	-140(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -96(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -240(%rbp)
	movq	$0, -232(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -256(%rbp)
	movq	$0, -248(%rbp)
	cltq
	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
.L10:
	cmpq	%rdx, %rsp
	je	.L11
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L10
.L11:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L12
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L12:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -88(%rbp)
	movl	-140(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -80(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -272(%rbp)
	movq	$0, -264(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -288(%rbp)
	movq	$0, -280(%rbp)
	cltq
	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
.L13:
	cmpq	%rdx, %rsp
	je	.L14
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L13
.L14:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L15
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L15:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -72(%rbp)
	movl	$1, -168(%rbp)
	jmp	.L16
.L20:
	movl	-168(%rbp), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -164(%rbp)
	movl	$0, -160(%rbp)
	jmp	.L17
.L19:
	movl	-160(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	movl	%eax, -132(%rbp)
	movl	-168(%rbp), %eax
	andl	-132(%rbp), %eax
	testl	%eax, %eax
	je	.L18
	movq	-120(%rbp), %rax
	movl	-160(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	addl	%eax, -164(%rbp)
	movl	-60(%rbp), %eax
	addl	$10, %eax
	movl	%eax, -60(%rbp)
.L18:
	addl	$1, -160(%rbp)
.L17:
	movl	-188(%rbp), %eax
	cmpl	%eax, -160(%rbp)
	jl	.L19
	movl	-60(%rbp), %eax
	subl	$10, %eax
	movl	%eax, -60(%rbp)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-184(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-180(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-176(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	addl	$1, -168(%rbp)
.L16:
	movl	-140(%rbp), %eax
	cmpl	-168(%rbp), %eax
	jge	.L20
	movl	$2147483647, -156(%rbp)
	movl	$0, -152(%rbp)
	jmp	.L21
.L29:
	movl	$0, -148(%rbp)
	jmp	.L22
.L28:
	movl	$0, -144(%rbp)
	jmp	.L23
.L27:
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %ecx
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	addl	%eax, %ecx
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	addl	%ecx, %eax
	movl	%eax, -136(%rbp)
	movl	-156(%rbp), %eax
	cmpl	-136(%rbp), %eax
	jle	.L26
	movl	-136(%rbp), %eax
	movl	%eax, -156(%rbp)
	jmp	.L26
.L32:
	nop
.L26:
	addl	$1, -144(%rbp)
.L23:
	movl	-144(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L27
	addl	$1, -148(%rbp)
.L22:
	movl	-148(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L28
	addl	$1, -152(%rbp)
.L21:
	movl	-152(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L29
	movl	-156(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.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
	.section	.rodata
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$248, %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	-176(%rbp), %rsi
	leaq	-180(%rbp), %rcx
	leaq	-184(%rbp), %rdx
	leaq	-188(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-188(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -128(%rbp)
	movslq	%edx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movslq	%edx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%edx, %rax
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rdx
	movq	%rdx, %rax
	andq	$-4096, %rax
	movq	%rsp, %rcx
	subq	%rax, %rcx
.L2:
	cmpq	%rcx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	movq	%rdx, %rax
	andl	$4095, %eax
	testq	%rax, %rax
	je	.L4
	movq	%rdx, %rax
	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, -120(%rbp)
	movl	$0, -172(%rbp)
	jmp	.L5
.L6:
	movl	-172(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -172(%rbp)
.L5:
	movl	-188(%rbp), %eax
	cmpl	%eax, -172(%rbp)
	jl	.L6
	movl	-188(%rbp), %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movq	.LC2(%rip), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2sil	%xmm0, %eax
	subl	$1, %eax
	movl	%eax, -140(%rbp)
	movl	-140(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -112(%rbp)
	movslq	%edx, %rax
	movq	%rax, -208(%rbp)
	movq	$0, -200(%rbp)
	movslq	%edx, %rax
	movq	%rax, -224(%rbp)
	movq	$0, -216(%rbp)
	movslq	%edx, %rax
	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
.L7:
	cmpq	%rdx, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L9
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L9:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -104(%rbp)
	movl	-140(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -96(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -240(%rbp)
	movq	$0, -232(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -256(%rbp)
	movq	$0, -248(%rbp)
	cltq
	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
.L10:
	cmpq	%rdx, %rsp
	je	.L11
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L10
.L11:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L12
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L12:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -88(%rbp)
	movl	-140(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -80(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -272(%rbp)
	movq	$0, -264(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -288(%rbp)
	movq	$0, -280(%rbp)
	cltq
	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
.L13:
	cmpq	%rdx, %rsp
	je	.L14
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L13
.L14:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L15
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L15:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -72(%rbp)
	movl	$1, -168(%rbp)
	jmp	.L16
.L20:
	movl	-168(%rbp), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -164(%rbp)
	movl	$0, -160(%rbp)
	jmp	.L17
.L19:
	movl	-160(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	movl	%eax, -132(%rbp)
	movl	-168(%rbp), %eax
	andl	-132(%rbp), %eax
	testl	%eax, %eax
	je	.L18
	movq	-120(%rbp), %rax
	movl	-160(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	addl	%eax, -164(%rbp)
	movl	-60(%rbp), %eax
	addl	$10, %eax
	movl	%eax, -60(%rbp)
.L18:
	addl	$1, -160(%rbp)
.L17:
	movl	-188(%rbp), %eax
	cmpl	%eax, -160(%rbp)
	jl	.L19
	movl	-60(%rbp), %eax
	subl	$10, %eax
	movl	%eax, -60(%rbp)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-184(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-104(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-180(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-88(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movq	-64(%rbp), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %esi
	movl	-176(%rbp), %edx
	movl	-164(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-168(%rbp), %eax
	leal	-1(%rax), %edx
	addl	%esi, %ecx
	movq	-72(%rbp), %rax
	movslq	%edx, %rdx
	movl	%ecx, 4(%rax,%rdx,8)
	addl	$1, -168(%rbp)
.L16:
	movl	-140(%rbp), %eax
	cmpl	-168(%rbp), %eax
	jge	.L20
	movl	$2147483647, -156(%rbp)
	movl	$0, -152(%rbp)
	jmp	.L21
.L29:
	movl	$0, -148(%rbp)
	jmp	.L22
.L28:
	movl	$0, -144(%rbp)
	jmp	.L23
.L27:
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %ecx
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,8), %eax
	andl	%ecx, %eax
	testl	%eax, %eax
	jne	.L32
	movq	-104(%rbp), %rax
	movl	-152(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %ecx
	movq	-88(%rbp), %rax
	movl	-148(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	addl	%eax, %ecx
	movq	-72(%rbp), %rax
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	movl	4(%rax,%rdx,8), %eax
	addl	%ecx, %eax
	movl	%eax, -136(%rbp)
	movl	-156(%rbp), %eax
	cmpl	-136(%rbp), %eax
	jle	.L26
	movl	-136(%rbp), %eax
	movl	%eax, -156(%rbp)
	jmp	.L26
.L32:
	nop
.L26:
	addl	$1, -144(%rbp)
.L23:
	movl	-144(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L27
	addl	$1, -148(%rbp)
.L22:
	movl	-148(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L28
	addl	$1, -152(%rbp)
.L21:
	movl	-152(%rbp), %eax
	cmpl	-140(%rbp), %eax
	jl	.L29
	movl	-156(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.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:
