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 mem[25], s, n;
int min = -1;

void solve(int x, int A)
{
	int B;
	int sa;
	
	if (x == n){
		B = s - A;
		if( A > B){
			sa = A - B;
		}
		else {
			sa = B - A;
		}
		if (min == -1){
			min = sa;
		}
		if (min > sa){
			min = sa;
		}
		return;
	}
	
	solve(x + 1, A + mem[x]);
	solve(x + 1, A);
}

int main(void)
{
	int i;
	
	while (1){
		
		s = 0;
		
		scanf("%d", &n);
		
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d", &mem[i]);
			s += mem[i];
		}
		solve(0, 0);
		printf("%d\n", min);
		min = -1;
	}
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	mem
	.bss
	.align 32
	.type	mem, @object
	.size	mem, 100
mem:
	.zero	100
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	-1
	.text
	.globl	solve
	.type	solve, @function
solve:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	n(%rip), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L2
	movl	s(%rip), %eax
	subl	-24(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-24(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jle	.L3
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, -8(%rbp)
	jmp	.L4
.L3:
	movl	-4(%rbp), %eax
	subl	-24(%rbp), %eax
	movl	%eax, -8(%rbp)
.L4:
	movl	min(%rip), %eax
	cmpl	$-1, %eax
	jne	.L5
	movl	-8(%rbp), %eax
	movl	%eax, min(%rip)
.L5:
	movl	min(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jge	.L8
	movl	-8(%rbp), %eax
	movl	%eax, min(%rip)
	jmp	.L8
.L2:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	addl	%eax, %edx
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	solve
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	solve
	jmp	.L1
.L8:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
.L14:
	movl	$0, s(%rip)
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L17
	movl	$0, -4(%rbp)
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	s(%rip), %eax
	addl	%edx, %eax
	movl	%eax, s(%rip)
	addl	$1, -4(%rbp)
.L12:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L13
	movl	$0, %esi
	movl	$0, %edi
	call	solve
	movl	min(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$-1, min(%rip)
	jmp	.L14
.L17:
	nop
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	solve
	.type	solve, @function
solve:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$136, %rsp
	.cfi_def_cfa_offset 192
	movl	n(%rip), %r10d
	movl	%edi, 12(%rsp)
	movl	%esi, 92(%rsp)
	cmpl	%r10d, %edi
	je	.L89
	movslq	12(%rsp), %rax
	leaq	mem(%rip), %rbx
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, 56(%rsp)
.L5:
	movq	56(%rsp), %rbx
	movl	92(%rsp), %eax
	addl	$1, 12(%rsp)
	addl	(%rbx), %eax
	movl	%eax, 48(%rsp)
	movl	12(%rsp), %eax
	cmpl	%r10d, %eax
	je	.L90
	cltq
	leaq	mem(%rip), %rcx
	movq	%rax, %rbx
	leaq	4(%rcx,%rax,4), %rax
	movq	%rax, 64(%rsp)
	movl	%ebx, 32(%rsp)
.L13:
	movq	64(%rsp), %rbx
	movl	48(%rsp), %eax
	addl	$1, 32(%rsp)
	addl	-4(%rbx), %eax
	movl	%eax, 52(%rsp)
	movl	32(%rsp), %eax
	cmpl	%r10d, %eax
	je	.L18
	movq	%rbx, 72(%rsp)
	movl	%eax, 36(%rsp)
.L19:
	movq	72(%rsp), %rbx
	movl	52(%rsp), %eax
	addl	$1, 36(%rsp)
	addl	(%rbx), %eax
	movl	%eax, 88(%rsp)
	movl	36(%rsp), %eax
	cmpl	%r10d, %eax
	je	.L25
	movl	%eax, 20(%rsp)
	movq	%rbx, 80(%rsp)
	movl	%r10d, %ebx
.L26:
	movq	80(%rsp), %rdi
	movl	88(%rsp), %eax
	addl	$1, 20(%rsp)
	addl	4(%rdi), %eax
	movl	%eax, 16(%rsp)
	movl	20(%rsp), %eax
	cmpl	%ebx, %eax
	je	.L91
	cltq
	leaq	mem(%rip), %rcx
	leaq	4(%rcx,%rax,4), %r9
	movl	%eax, %r14d
.L35:
	addl	$1, %r14d
	movl	16(%rsp), %ebp
	addl	-4(%r9), %ebp
	cmpl	%ebx, %r14d
	je	.L40
	movq	%r9, 24(%rsp)
	movq	%r9, %r8
	movl	%r14d, %r10d
.L41:
	movl	(%r8), %edx
	addl	$1, %r10d
	addl	%ebp, %edx
	cmpl	%ebx, %r10d
	je	.L47
	movq	%r8, 40(%rsp)
	movl	%r10d, %r9d
.L48:
	movq	40(%rsp), %rax
	addl	$1, %r9d
	movl	4(%rax), %ecx
	addl	%edx, %ecx
	cmpl	%ebx, %r9d
	je	.L92
	movslq	%r9d, %rax
	leaq	mem(%rip), %rdi
	movl	%r9d, %r13d
	leaq	4(%rdi,%rax,4), %r15
.L57:
	movl	-4(%r15), %r12d
	addl	$1, %r13d
	addl	%ecx, %r12d
	cmpl	%ebx, %r13d
	je	.L67
	movq	%r15, %rax
	movl	%r13d, %ebx
.L62:
	movl	(%rax), %esi
	addl	$1, %ebx
	movq	%r8, 120(%rsp)
	movl	%ebx, %edi
	movl	%r9d, 116(%rsp)
	addl	%r12d, %esi
	movl	%ecx, 112(%rsp)
	movl	%r10d, 108(%rsp)
	movl	%edx, 104(%rsp)
	movq	%rax, 96(%rsp)
	call	solve
	movq	96(%rsp), %rax
	movl	104(%rsp), %edx
	movl	108(%rsp), %r10d
	movl	112(%rsp), %ecx
	addq	$4, %rax
	cmpl	%ebx, n(%rip)
	movl	116(%rsp), %r9d
	movq	120(%rsp), %r8
	jne	.L62
.L67:
	movl	s(%rip), %r11d
	movl	%r12d, %edi
	movl	%r11d, %esi
	subl	%r12d, %esi
	movl	%esi, %eax
	subl	%esi, %edi
	subl	%r12d, %eax
	cmpl	%esi, %r12d
	movl	min(%rip), %esi
	cmovg	%edi, %eax
	cmpl	$-1, %esi
	je	.L86
	cmpl	%eax, %esi
	jle	.L66
.L86:
	movl	%eax, min(%rip)
	movl	%eax, %esi
.L66:
	addq	$4, %r15
	cmpl	%ebx, %r13d
	jne	.L57
.L56:
	movl	%r11d, %edi
	movl	%ecx, %r12d
	subl	%ecx, %edi
	movl	%edi, %eax
	subl	%edi, %r12d
	subl	%ecx, %eax
	cmpl	%edi, %ecx
	cmovg	%r12d, %eax
	cmpl	$-1, %esi
	je	.L85
	cmpl	%esi, %eax
	jge	.L61
.L85:
	movl	%eax, min(%rip)
	movl	%eax, %esi
.L61:
	addq	$4, 40(%rsp)
	cmpl	%ebx, %r9d
	jne	.L48
.L49:
	movl	%r11d, %ecx
	movl	%edx, %edi
	subl	%edx, %ecx
	movl	%ecx, %eax
	subl	%ecx, %edi
	subl	%edx, %eax
	cmpl	%ecx, %edx
	cmovg	%edi, %eax
	cmpl	$-1, %esi
	je	.L84
	cmpl	%esi, %eax
	jge	.L53
.L84:
	movl	%eax, min(%rip)
	movl	%eax, %esi
.L53:
	addq	$4, %r8
	cmpl	%ebx, %r10d
	jne	.L41
	movq	24(%rsp), %r9
.L42:
	movl	%r11d, %edx
	movl	%ebp, %ecx
	subl	%ebp, %edx
	movl	%edx, %eax
	subl	%edx, %ecx
	subl	%ebp, %eax
	cmpl	%edx, %ebp
	cmovg	%ecx, %eax
	cmpl	$-1, %esi
	je	.L83
	cmpl	%esi, %eax
	jge	.L72
.L83:
	movl	%eax, min(%rip)
.L46:
	addq	$4, %r9
	cmpl	%ebx, %r14d
	jne	.L35
.L34:
	movl	16(%rsp), %edi
	movl	%r11d, %edx
	subl	%edi, %edx
	movl	%edi, %esi
	movl	%edx, %ecx
	subl	%edx, %esi
	subl	%edi, %ecx
	cmpl	%edx, %edi
	cmovg	%esi, %ecx
	cmpl	$-1, %eax
	je	.L82
	cmpl	%eax, %ecx
	jge	.L71
.L82:
	movl	%ecx, min(%rip)
.L39:
	addq	$4, 80(%rsp)
	cmpl	%ebx, 20(%rsp)
	jne	.L26
	movl	%ebx, %r10d
.L27:
	movl	88(%rsp), %edi
	movl	%r11d, %eax
	subl	%edi, %eax
	movl	%edi, %esi
	movl	%eax, %edx
	subl	%eax, %esi
	subl	%edi, %edx
	cmpl	%eax, %edi
	cmovg	%esi, %edx
	cmpl	$-1, %ecx
	je	.L81
	cmpl	%ecx, %edx
	jge	.L70
.L81:
	movl	%edx, min(%rip)
.L31:
	addq	$4, 72(%rsp)
	cmpl	%r10d, 36(%rsp)
	jne	.L19
.L20:
	movl	52(%rsp), %edi
	movl	%r11d, %ecx
	subl	%edi, %ecx
	movl	%edi, %esi
	movl	%ecx, %eax
	subl	%ecx, %esi
	subl	%edi, %eax
	cmpl	%ecx, %edi
	cmovg	%esi, %eax
	cmpl	$-1, %edx
	je	.L80
	cmpl	%edx, %eax
	jge	.L69
.L80:
	movl	%eax, min(%rip)
.L24:
	addq	$4, 64(%rsp)
	cmpl	%r10d, 32(%rsp)
	jne	.L13
.L12:
	movl	48(%rsp), %edi
	movl	%r11d, %edx
	subl	%edi, %edx
	movl	%edi, %esi
	movl	%edx, %ecx
	subl	%edx, %esi
	subl	%edi, %ecx
	cmpl	%edx, %edi
	cmovg	%esi, %ecx
	cmpl	$-1, %eax
	je	.L79
	cmpl	%eax, %ecx
	jge	.L68
.L79:
	movl	%ecx, min(%rip)
.L17:
	addq	$4, 56(%rsp)
	cmpl	%r10d, 12(%rsp)
	jne	.L5
.L4:
	movl	92(%rsp), %edi
	movl	%r11d, %eax
	subl	%edi, %eax
	movl	%edi, %esi
	subl	%eax, %esi
	movl	%eax, %edx
	subl	%edi, %edx
	cmpl	%eax, %edi
	movl	%esi, %eax
	cmovle	%edx, %eax
	cmpl	$-1, %ecx
	je	.L87
	cmpl	%ecx, %eax
	jge	.L1
.L87:
	movl	%eax, min(%rip)
.L1:
	addq	$136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L47:
	.cfi_restore_state
	movl	s(%rip), %r11d
	movl	min(%rip), %esi
	jmp	.L49
	.p2align 4,,10
	.p2align 3
.L92:
	movl	s(%rip), %r11d
	movl	min(%rip), %esi
	jmp	.L56
.L40:
	movl	s(%rip), %r11d
	movl	min(%rip), %esi
	jmp	.L42
.L72:
	movl	%esi, %eax
	jmp	.L46
.L91:
	movl	s(%rip), %r11d
	movl	min(%rip), %eax
	jmp	.L34
.L71:
	movl	%eax, %ecx
	jmp	.L39
.L25:
	movl	s(%rip), %r11d
	movl	min(%rip), %ecx
	jmp	.L27
.L70:
	movl	%ecx, %edx
	jmp	.L31
.L18:
	movl	s(%rip), %r11d
	movl	min(%rip), %edx
	jmp	.L20
.L69:
	movl	%edx, %eax
	jmp	.L24
.L68:
	movl	%eax, %ecx
	jmp	.L17
.L90:
	movl	s(%rip), %r11d
	movl	min(%rip), %eax
	jmp	.L12
.L89:
	movl	s(%rip), %r11d
	movl	min(%rip), %ecx
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	solve, .-solve
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	n(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.p2align 4,,10
	.p2align 3
.L99:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movl	$0, s(%rip)
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L94
	jle	.L95
	leaq	mem(%rip), %rbx
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L96:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	n(%rip), %edx
	movl	s(%rip), %eax
	addq	$4, %rbx
	addl	-4(%rbx), %eax
	movl	%eax, s(%rip)
	cmpl	%r14d, %edx
	jg	.L96
	testl	%edx, %edx
	je	.L101
.L95:
	leaq	mem(%rip), %r14
	xorl	%ebx, %ebx
.L100:
	movl	(%r14), %esi
	addl	$1, %ebx
	addq	$4, %r14
	movl	%ebx, %edi
	call	solve
	cmpl	%ebx, n(%rip)
	jne	.L100
	movl	s(%rip), %eax
.L101:
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	min(%rip), %eax
	cmpl	$-1, %eax
	je	.L107
	cmpl	%edx, %eax
	jle	.L102
.L107:
	movl	%edx, min(%rip)
.L98:
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$-1, min(%rip)
	jmp	.L99
	.p2align 4,,10
	.p2align 3
.L102:
	movl	%eax, %edx
	jmp	.L98
	.p2align 4,,10
	.p2align 3
.L94:
	popq	%rbx
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	-1
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	mem
	.align 32
	.type	mem, @object
	.size	mem, 100
mem:
	.zero	100
	.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	solve
	.type	solve, @function
solve:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$136, %rsp
	.cfi_def_cfa_offset 192
	movl	n(%rip), %r10d
	movl	%edi, 12(%rsp)
	movl	%esi, 92(%rsp)
	cmpl	%r10d, %edi
	je	.L89
	movslq	12(%rsp), %rax
	leaq	mem(%rip), %rbx
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, 56(%rsp)
.L5:
	movq	56(%rsp), %rbx
	movl	92(%rsp), %eax
	addl	$1, 12(%rsp)
	addl	(%rbx), %eax
	movl	%eax, 48(%rsp)
	movl	12(%rsp), %eax
	cmpl	%r10d, %eax
	je	.L90
	cltq
	leaq	mem(%rip), %rcx
	movq	%rax, %rbx
	leaq	4(%rcx,%rax,4), %rax
	movq	%rax, 64(%rsp)
	movl	%ebx, 32(%rsp)
.L13:
	movq	64(%rsp), %rbx
	movl	48(%rsp), %eax
	addl	$1, 32(%rsp)
	addl	-4(%rbx), %eax
	movl	%eax, 52(%rsp)
	movl	32(%rsp), %eax
	cmpl	%r10d, %eax
	je	.L18
	movq	%rbx, 72(%rsp)
	movl	%eax, 36(%rsp)
.L19:
	movq	72(%rsp), %rbx
	movl	52(%rsp), %eax
	addl	$1, 36(%rsp)
	addl	(%rbx), %eax
	movl	%eax, 88(%rsp)
	movl	36(%rsp), %eax
	cmpl	%r10d, %eax
	je	.L25
	movl	%eax, 20(%rsp)
	movq	%rbx, 80(%rsp)
	movl	%r10d, %ebx
.L26:
	movq	80(%rsp), %rdi
	movl	88(%rsp), %eax
	addl	$1, 20(%rsp)
	addl	4(%rdi), %eax
	movl	%eax, 16(%rsp)
	movl	20(%rsp), %eax
	cmpl	%ebx, %eax
	je	.L91
	cltq
	leaq	mem(%rip), %rcx
	leaq	4(%rcx,%rax,4), %r9
	movl	%eax, %r14d
.L35:
	addl	$1, %r14d
	movl	16(%rsp), %ebp
	addl	-4(%r9), %ebp
	cmpl	%ebx, %r14d
	je	.L40
	movq	%r9, 24(%rsp)
	movq	%r9, %r8
	movl	%r14d, %r10d
.L41:
	movl	(%r8), %edx
	addl	$1, %r10d
	addl	%ebp, %edx
	cmpl	%ebx, %r10d
	je	.L47
	movq	%r8, 40(%rsp)
	movl	%r10d, %r9d
.L48:
	movq	40(%rsp), %rax
	addl	$1, %r9d
	movl	4(%rax), %ecx
	addl	%edx, %ecx
	cmpl	%ebx, %r9d
	je	.L92
	movslq	%r9d, %rax
	leaq	mem(%rip), %rdi
	movl	%r9d, %r13d
	leaq	4(%rdi,%rax,4), %r15
.L57:
	movl	-4(%r15), %r12d
	addl	$1, %r13d
	addl	%ecx, %r12d
	cmpl	%ebx, %r13d
	je	.L67
	movq	%r15, %rax
	movl	%r13d, %ebx
.L62:
	movl	(%rax), %esi
	addl	$1, %ebx
	movq	%r8, 120(%rsp)
	movl	%ebx, %edi
	movl	%r9d, 116(%rsp)
	addl	%r12d, %esi
	movl	%ecx, 112(%rsp)
	movl	%r10d, 108(%rsp)
	movl	%edx, 104(%rsp)
	movq	%rax, 96(%rsp)
	call	solve
	movq	96(%rsp), %rax
	movl	104(%rsp), %edx
	movl	108(%rsp), %r10d
	movl	112(%rsp), %ecx
	addq	$4, %rax
	cmpl	%ebx, n(%rip)
	movl	116(%rsp), %r9d
	movq	120(%rsp), %r8
	jne	.L62
.L67:
	movl	s(%rip), %r11d
	movl	%r12d, %edi
	movl	%r11d, %esi
	subl	%r12d, %esi
	movl	%esi, %eax
	subl	%esi, %edi
	subl	%r12d, %eax
	cmpl	%esi, %r12d
	movl	min(%rip), %esi
	cmovg	%edi, %eax
	cmpl	$-1, %esi
	je	.L86
	cmpl	%eax, %esi
	jle	.L66
.L86:
	movl	%eax, min(%rip)
	movl	%eax, %esi
.L66:
	addq	$4, %r15
	cmpl	%ebx, %r13d
	jne	.L57
.L56:
	movl	%r11d, %edi
	movl	%ecx, %r12d
	subl	%ecx, %edi
	movl	%edi, %eax
	subl	%edi, %r12d
	subl	%ecx, %eax
	cmpl	%edi, %ecx
	cmovg	%r12d, %eax
	cmpl	$-1, %esi
	je	.L85
	cmpl	%esi, %eax
	jge	.L61
.L85:
	movl	%eax, min(%rip)
	movl	%eax, %esi
.L61:
	addq	$4, 40(%rsp)
	cmpl	%ebx, %r9d
	jne	.L48
.L49:
	movl	%r11d, %ecx
	movl	%edx, %edi
	subl	%edx, %ecx
	movl	%ecx, %eax
	subl	%ecx, %edi
	subl	%edx, %eax
	cmpl	%ecx, %edx
	cmovg	%edi, %eax
	cmpl	$-1, %esi
	je	.L84
	cmpl	%esi, %eax
	jge	.L53
.L84:
	movl	%eax, min(%rip)
	movl	%eax, %esi
.L53:
	addq	$4, %r8
	cmpl	%ebx, %r10d
	jne	.L41
	movq	24(%rsp), %r9
.L42:
	movl	%r11d, %edx
	movl	%ebp, %ecx
	subl	%ebp, %edx
	movl	%edx, %eax
	subl	%edx, %ecx
	subl	%ebp, %eax
	cmpl	%edx, %ebp
	cmovg	%ecx, %eax
	cmpl	$-1, %esi
	je	.L83
	cmpl	%esi, %eax
	jge	.L72
.L83:
	movl	%eax, min(%rip)
.L46:
	addq	$4, %r9
	cmpl	%ebx, %r14d
	jne	.L35
.L34:
	movl	16(%rsp), %edi
	movl	%r11d, %edx
	subl	%edi, %edx
	movl	%edi, %esi
	movl	%edx, %ecx
	subl	%edx, %esi
	subl	%edi, %ecx
	cmpl	%edx, %edi
	cmovg	%esi, %ecx
	cmpl	$-1, %eax
	je	.L82
	cmpl	%eax, %ecx
	jge	.L71
.L82:
	movl	%ecx, min(%rip)
.L39:
	addq	$4, 80(%rsp)
	cmpl	%ebx, 20(%rsp)
	jne	.L26
	movl	%ebx, %r10d
.L27:
	movl	88(%rsp), %edi
	movl	%r11d, %eax
	subl	%edi, %eax
	movl	%edi, %esi
	movl	%eax, %edx
	subl	%eax, %esi
	subl	%edi, %edx
	cmpl	%eax, %edi
	cmovg	%esi, %edx
	cmpl	$-1, %ecx
	je	.L81
	cmpl	%ecx, %edx
	jge	.L70
.L81:
	movl	%edx, min(%rip)
.L31:
	addq	$4, 72(%rsp)
	cmpl	%r10d, 36(%rsp)
	jne	.L19
.L20:
	movl	52(%rsp), %edi
	movl	%r11d, %ecx
	subl	%edi, %ecx
	movl	%edi, %esi
	movl	%ecx, %eax
	subl	%ecx, %esi
	subl	%edi, %eax
	cmpl	%ecx, %edi
	cmovg	%esi, %eax
	cmpl	$-1, %edx
	je	.L80
	cmpl	%edx, %eax
	jge	.L69
.L80:
	movl	%eax, min(%rip)
.L24:
	addq	$4, 64(%rsp)
	cmpl	%r10d, 32(%rsp)
	jne	.L13
.L12:
	movl	48(%rsp), %edi
	movl	%r11d, %edx
	subl	%edi, %edx
	movl	%edi, %esi
	movl	%edx, %ecx
	subl	%edx, %esi
	subl	%edi, %ecx
	cmpl	%edx, %edi
	cmovg	%esi, %ecx
	cmpl	$-1, %eax
	je	.L79
	cmpl	%eax, %ecx
	jge	.L68
.L79:
	movl	%ecx, min(%rip)
.L17:
	addq	$4, 56(%rsp)
	cmpl	%r10d, 12(%rsp)
	jne	.L5
.L4:
	movl	92(%rsp), %edi
	movl	%r11d, %eax
	subl	%edi, %eax
	movl	%edi, %esi
	subl	%eax, %esi
	movl	%eax, %edx
	subl	%edi, %edx
	cmpl	%eax, %edi
	movl	%esi, %eax
	cmovle	%edx, %eax
	cmpl	$-1, %ecx
	je	.L87
	cmpl	%ecx, %eax
	jge	.L1
.L87:
	movl	%eax, min(%rip)
.L1:
	addq	$136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L47:
	.cfi_restore_state
	movl	s(%rip), %r11d
	movl	min(%rip), %esi
	jmp	.L49
	.p2align 4,,10
	.p2align 3
.L92:
	movl	s(%rip), %r11d
	movl	min(%rip), %esi
	jmp	.L56
.L40:
	movl	s(%rip), %r11d
	movl	min(%rip), %esi
	jmp	.L42
.L72:
	movl	%esi, %eax
	jmp	.L46
.L91:
	movl	s(%rip), %r11d
	movl	min(%rip), %eax
	jmp	.L34
.L71:
	movl	%eax, %ecx
	jmp	.L39
.L25:
	movl	s(%rip), %r11d
	movl	min(%rip), %ecx
	jmp	.L27
.L70:
	movl	%ecx, %edx
	jmp	.L31
.L18:
	movl	s(%rip), %r11d
	movl	min(%rip), %edx
	jmp	.L20
.L69:
	movl	%edx, %eax
	jmp	.L24
.L68:
	movl	%eax, %ecx
	jmp	.L17
.L90:
	movl	s(%rip), %r11d
	movl	min(%rip), %eax
	jmp	.L12
.L89:
	movl	s(%rip), %r11d
	movl	min(%rip), %ecx
	jmp	.L4
	.cfi_endproc
.LFE23:
	.size	solve, .-solve
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	n(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.p2align 4,,10
	.p2align 3
.L99:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movl	$0, s(%rip)
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L94
	jle	.L95
	leaq	mem(%rip), %rbx
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L96:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	n(%rip), %edx
	movl	s(%rip), %eax
	addq	$4, %rbx
	addl	-4(%rbx), %eax
	movl	%eax, s(%rip)
	cmpl	%r14d, %edx
	jg	.L96
	testl	%edx, %edx
	je	.L101
.L95:
	leaq	mem(%rip), %r14
	xorl	%ebx, %ebx
.L100:
	movl	(%r14), %esi
	addl	$1, %ebx
	addq	$4, %r14
	movl	%ebx, %edi
	call	solve
	cmpl	%ebx, n(%rip)
	jne	.L100
	movl	s(%rip), %eax
.L101:
	movl	%eax, %edx
	negl	%edx
	cmovs	%eax, %edx
	movl	min(%rip), %eax
	cmpl	$-1, %eax
	je	.L107
	cmpl	%edx, %eax
	jle	.L102
.L107:
	movl	%edx, min(%rip)
.L98:
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$-1, min(%rip)
	jmp	.L99
	.p2align 4,,10
	.p2align 3
.L102:
	movl	%eax, %edx
	jmp	.L98
	.p2align 4,,10
	.p2align 3
.L94:
	popq	%rbx
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	-1
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	mem
	.align 32
	.type	mem, @object
	.size	mem, 100
mem:
	.zero	100
	.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 mem[25], s, n;
int min = -1;

void solve(int x, int A)
{
	int B;
	int sa;
	
	if (x == n){
		B = s - A;
		if( A > B){
			sa = A - B;
		}
		else {
			sa = B - A;
		}
		if (min == -1){
			min = sa;
		}
		if (min > sa){
			min = sa;
		}
		return;
	}
	
	solve(x + 1, A + mem[x]);
	solve(x + 1, A);
}

int main(void)
{
	int i;
	
	while (1){
		
		s = 0;
		
		scanf("%d", &n);
		
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d", &mem[i]);
			s += mem[i];
		}
		solve(0, 0);
		printf("%d\n", min);
		min = -1;
	}
	return (0);
}
5
1 2 3 4 5
4
2 3 5 10
0
 5
1 2 3 4 5
4
1 3 5 10
0
 5
1 2 3 4 5
4
1 3 4 10
0
 5
1 3 3 4 5
4
2 3 5 7
0
 5
1 2 3 4 4
4
1 3 4 10
0
 5
1 3 3 4 5
4
2 3 5 10
0
 5
1 2 3 4 5
4
0 3 5 11
0

1
0
 1
1
 1
2
 0
1
 0
2
 0
0
 1
3

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int mem[25], s, n;
int min = -1;

void solve(int x, int A)
{
	int B;
	int sa;
	
	if (x == n){
		B = s - A;
		if( A > B){
			sa = A - B;
		}
		else {
			sa = B - A;
		}
		if (min == -1){
			min = sa;
		}
		if (min > sa){
			min = sa;
		}
		return;
	}
	
	solve(x + 1, A + mem[x]);
	solve(x + 1, A);
}

int main(void)
{
	int i;
	
	while (1){
		
		s = 0;
		
		scanf("%d", &n);
		
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d", &mem[i]);
			s += mem[i];
		}
		solve(0, 0);
		printf("%d\n", min);
		min = -1;
	}
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	mem
	.bss
	.align 32
	.type	mem, @object
	.size	mem, 100
mem:
	.zero	100
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	-1
	.text
	.globl	solve
	.type	solve, @function
solve:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	n(%rip), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L2
	movl	s(%rip), %eax
	subl	-24(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-24(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jle	.L3
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, -8(%rbp)
	jmp	.L4
.L3:
	movl	-4(%rbp), %eax
	subl	-24(%rbp), %eax
	movl	%eax, -8(%rbp)
.L4:
	movl	min(%rip), %eax
	cmpl	$-1, %eax
	jne	.L5
	movl	-8(%rbp), %eax
	movl	%eax, min(%rip)
.L5:
	movl	min(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jge	.L8
	movl	-8(%rbp), %eax
	movl	%eax, min(%rip)
	jmp	.L8
.L2:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	addl	%eax, %edx
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	solve
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	solve
	jmp	.L1
.L8:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
.L14:
	movl	$0, s(%rip)
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L17
	movl	$0, -4(%rbp)
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	s(%rip), %eax
	addl	%edx, %eax
	movl	%eax, s(%rip)
	addl	$1, -4(%rbp)
.L12:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L13
	movl	$0, %esi
	movl	$0, %edi
	call	solve
	movl	min(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$-1, min(%rip)
	jmp	.L14
.L17:
	nop
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	mem
	.bss
	.align 32
	.type	mem, @object
	.size	mem, 100
mem:
	.zero	100
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	min
	.data
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.long	-1
	.text
	.globl	solve
	.type	solve, @function
solve:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	n(%rip), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L2
	movl	s(%rip), %eax
	subl	-24(%rbp), %eax
	movl	%eax, -4(%rbp)
	movl	-24(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jle	.L3
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	%eax, -8(%rbp)
	jmp	.L4
.L3:
	movl	-4(%rbp), %eax
	subl	-24(%rbp), %eax
	movl	%eax, -8(%rbp)
.L4:
	movl	min(%rip), %eax
	cmpl	$-1, %eax
	jne	.L5
	movl	-8(%rbp), %eax
	movl	%eax, min(%rip)
.L5:
	movl	min(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jge	.L8
	movl	-8(%rbp), %eax
	movl	%eax, min(%rip)
	jmp	.L8
.L2:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-24(%rbp), %eax
	addl	%eax, %edx
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	solve
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	solve
	jmp	.L1
.L8:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
.L14:
	movl	$0, s(%rip)
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L17
	movl	$0, -4(%rbp)
	jmp	.L12
.L13:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	mem(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	s(%rip), %eax
	addl	%edx, %eax
	movl	%eax, s(%rip)
	addl	$1, -4(%rbp)
.L12:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L13
	movl	$0, %esi
	movl	$0, %edi
	call	solve
	movl	min(%rip), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$-1, min(%rip)
	jmp	.L14
.L17:
	nop
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
