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 q, c, n, a, s, f;
	
	scanf("%d", &q);
	while (q--){
		scanf("%d %d %d", &c, &a, &n);
		
		s = 0;
		f = -1;
		while (s != f){
			f = s;
			if (c >= 1 && a >= 1 && n >= 1){
				c--;
				n--;
				a--;
				s++;
			}
			else if (c >= 2 && a >= 1){
				c -= 2;
				a--;
				s++;
			}
			else if (c >= 3){
				c -= 3;
				s++;
			}
		}
		printf("%d\n", s);
	}
		
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L7:
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	movl	$-1, -12(%rbp)
	jmp	.L3
.L6:
	movl	-16(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-28(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -28(%rbp)
	movl	-24(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	addl	$1, -16(%rbp)
	jmp	.L3
.L4:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jle	.L5
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jle	.L5
	movl	-28(%rbp), %eax
	subl	$2, %eax
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	addl	$1, -16(%rbp)
	jmp	.L3
.L5:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jle	.L3
	movl	-28(%rbp), %eax
	subl	$3, %eax
	movl	%eax, -28(%rbp)
	addl	$1, -16(%rbp)
.L3:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jne	.L6
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	movl	-32(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -32(%rbp)
	testl	%eax, %eax
	jne	.L7
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.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"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L17
	leaq	16(%rsp), %r14
	leaq	20(%rsp), %r13
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r14, %rcx
	movq	%r13, %rdx
	movq	%rbp, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	16(%rsp), %r9d
	xorl	%edi, %edi
	movl	12(%rsp), %edx
	movl	$1, %eax
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%ecx, %ecx
	jle	.L8
	testl	%r9d, %r9d
	jle	.L9
	subl	$1, %edx
	subl	$1, %r9d
	subl	$1, %ecx
	movl	%eax, %esi
	movl	$1, %r11d
	movl	$1, %r10d
.L10:
	addl	$1, %eax
	movl	$1, %edi
	cmpl	%r8d, %esi
	je	.L68
.L11:
	leal	-1(%rax), %r8d
	testl	%edx, %edx
	jg	.L3
.L62:
	testb	%r11b, %r11b
	je	.L14
	movl	%r9d, 16(%rsp)
.L14:
	testb	%r10b, %r10b
	je	.L15
	movl	%ecx, 20(%rsp)
.L15:
	testb	%dil, %dil
	je	.L7
	movl	%edx, 12(%rsp)
.L7:
	movl	%r8d, %edx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	jne	.L2
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L69
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmpl	$2, %edx
	jle	.L62
	subl	$3, %edx
	movl	%eax, %esi
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	$1, %edx
	je	.L70
	subl	$2, %edx
	subl	$1, %ecx
	movl	%eax, %esi
	movl	$1, %r10d
	jmp	.L10
.L68:
	testb	%r11b, %r11b
	je	.L12
	movl	%r9d, 16(%rsp)
.L12:
	testb	%r10b, %r10b
	je	.L13
	movl	%ecx, 20(%rsp)
.L13:
	movl	%edx, 12(%rsp)
	movl	%esi, %r8d
	jmp	.L7
.L70:
	testb	%r11b, %r11b
	je	.L19
	movl	%r9d, 16(%rsp)
.L19:
	testb	%r10b, %r10b
	je	.L20
	movl	%ecx, 20(%rsp)
.L20:
	testb	%dil, %dil
	je	.L7
	movl	$1, 12(%rsp)
	jmp	.L7
.L69:
	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"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$32, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L17
	leaq	16(%rsp), %r14
	leaq	20(%rsp), %r13
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r14, %rcx
	movq	%r13, %rdx
	movq	%rbp, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %ecx
	movl	16(%rsp), %r9d
	xorl	%edi, %edi
	movl	12(%rsp), %edx
	movl	$1, %eax
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%ecx, %ecx
	jle	.L8
	testl	%r9d, %r9d
	jle	.L9
	subl	$1, %edx
	subl	$1, %r9d
	subl	$1, %ecx
	movl	%eax, %esi
	movl	$1, %r11d
	movl	$1, %r10d
.L10:
	addl	$1, %eax
	movl	$1, %edi
	cmpl	%r8d, %esi
	je	.L68
.L11:
	leal	-1(%rax), %r8d
	testl	%edx, %edx
	jg	.L3
.L62:
	testb	%r11b, %r11b
	je	.L14
	movl	%r9d, 16(%rsp)
.L14:
	testb	%r10b, %r10b
	je	.L15
	movl	%ecx, 20(%rsp)
.L15:
	testb	%dil, %dil
	je	.L7
	movl	%edx, 12(%rsp)
.L7:
	movl	%r8d, %edx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	jne	.L2
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L69
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmpl	$2, %edx
	jle	.L62
	subl	$3, %edx
	movl	%eax, %esi
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	cmpl	$1, %edx
	je	.L70
	subl	$2, %edx
	subl	$1, %ecx
	movl	%eax, %esi
	movl	$1, %r10d
	jmp	.L10
.L68:
	testb	%r11b, %r11b
	je	.L12
	movl	%r9d, 16(%rsp)
.L12:
	testb	%r10b, %r10b
	je	.L13
	movl	%ecx, 20(%rsp)
.L13:
	movl	%edx, 12(%rsp)
	movl	%esi, %r8d
	jmp	.L7
.L70:
	testb	%r11b, %r11b
	je	.L19
	movl	%r9d, 16(%rsp)
.L19:
	testb	%r10b, %r10b
	je	.L20
	movl	%ecx, 20(%rsp)
.L20:
	testb	%dil, %dil
	je	.L7
	movl	$1, 12(%rsp)
	jmp	.L7
.L69:
	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 q, c, n, a, s, f;
	
	scanf("%d", &q);
	while (q--){
		scanf("%d %d %d", &c, &a, &n);
		
		s = 0;
		f = -1;
		while (s != f){
			f = s;
			if (c >= 1 && a >= 1 && n >= 1){
				c--;
				n--;
				a--;
				s++;
			}
			else if (c >= 2 && a >= 1){
				c -= 2;
				a--;
				s++;
			}
			else if (c >= 3){
				c -= 3;
				s++;
			}
		}
		printf("%d\n", s);
	}
		
	return 0;
}
4
3 0 0
1 1 1
9 4 2
0 1 2
 4
2 0 0
1 1 1
9 4 2
0 1 2
 4
3 0 1
1 1 1
9 4 1
0 1 2
 4
3 0 0
1 2 1
0 4 2
0 1 2
 4
0 0 0
1 2 1
0 4 2
0 1 3
 4
2 1 0
2 2 2
9 8 2
0 1 3
 4
0 1 2
3 0 2
9 19 0
0 2 3
 4
0 1 2
3 0 2
9 0 0
0 2 3
 4
3 0 0
1 2 1
12 4 2
0 1 2
 4
0 0 0
1 2 1
1 4 2
0 0 3

1
1
5
0
 0
1
5
0
 1
1
4
0
 1
1
0
0
 0
1
0
0
 1
2
5
0
 0
1
4
0
 0
1
3
0
 1
1
6
0
 0
1
1
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 q, c, n, a, s, f;
	
	scanf("%d", &q);
	while (q--){
		scanf("%d %d %d", &c, &a, &n);
		
		s = 0;
		f = -1;
		while (s != f){
			f = s;
			if (c >= 1 && a >= 1 && n >= 1){
				c--;
				n--;
				a--;
				s++;
			}
			else if (c >= 2 && a >= 1){
				c -= 2;
				a--;
				s++;
			}
			else if (c >= 3){
				c -= 3;
				s++;
			}
		}
		printf("%d\n", s);
	}
		
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L7:
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	movl	$-1, -12(%rbp)
	jmp	.L3
.L6:
	movl	-16(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-28(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -28(%rbp)
	movl	-24(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	addl	$1, -16(%rbp)
	jmp	.L3
.L4:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jle	.L5
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jle	.L5
	movl	-28(%rbp), %eax
	subl	$2, %eax
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	addl	$1, -16(%rbp)
	jmp	.L3
.L5:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jle	.L3
	movl	-28(%rbp), %eax
	subl	$3, %eax
	movl	%eax, -28(%rbp)
	addl	$1, -16(%rbp)
.L3:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jne	.L6
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	movl	-32(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -32(%rbp)
	testl	%eax, %eax
	jne	.L7
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.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"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d\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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L7:
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	movl	$-1, -12(%rbp)
	jmp	.L3
.L6:
	movl	-16(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jle	.L4
	movl	-28(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -28(%rbp)
	movl	-24(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	addl	$1, -16(%rbp)
	jmp	.L3
.L4:
	movl	-28(%rbp), %eax
	cmpl	$1, %eax
	jle	.L5
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jle	.L5
	movl	-28(%rbp), %eax
	subl	$2, %eax
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	addl	$1, -16(%rbp)
	jmp	.L3
.L5:
	movl	-28(%rbp), %eax
	cmpl	$2, %eax
	jle	.L3
	movl	-28(%rbp), %eax
	subl	$3, %eax
	movl	%eax, -28(%rbp)
	addl	$1, -16(%rbp)
.L3:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jne	.L6
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	movl	-32(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -32(%rbp)
	testl	%eax, %eax
	jne	.L7
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.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:
