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

```c
main(a,b,c,X,Y,A,f,i,j){for(;scanf("%d%d%d",&a,&b,&c),a;printf("%d %d\n",X,Y))
for(A=2147483647,f=i=0;!f;i++)
	for(j=0;j<=i;j++)
		if(a*j+b*(i-j)==c||a*j==b*(i-j)+c||a*j+c==b*(i-j))
			if(f=1,A>a*j+b*(i-j))A=a*j+b*(i-j),X=j,Y=i-j;
exit(0);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%d%d%d"
	.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	jmp	.L2
.L9:
	movl	$2147483647, -24(%rbp)
	movl	$0, 24(%rbp)
	movl	24(%rbp), %eax
	movl	%eax, 16(%rbp)
	jmp	.L3
.L8:
	movl	$0, 32(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	je	.L5
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %edx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %ecx
	movl	-8(%rbp), %eax
	imull	%eax, %ecx
	movl	-12(%rbp), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	je	.L5
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	jne	.L6
.L5:
	movl	$1, 16(%rbp)
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	cmpl	%eax, -24(%rbp)
	jle	.L6
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -24(%rbp)
	movl	32(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, -20(%rbp)
.L6:
	addl	$1, 32(%rbp)
.L4:
	movl	32(%rbp), %eax
	cmpl	24(%rbp), %eax
	jle	.L7
	addl	$1, 24(%rbp)
.L3:
	cmpl	$0, 16(%rbp)
	je	.L8
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-12(%rbp), %rcx
	leaq	-8(%rbp), %rdx
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L9
	movl	$0, %edi
	call	exit@PLT
	.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\n"
.LC1:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	$56, %rsp
	.cfi_def_cfa_offset 112
	leaq	36(%rsp), %rax
	movl	%edi, 44(%rsp)
	movq	%rax, 8(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	44(%rsp), %rax
	movl	%esi, 40(%rsp)
	movl	%edx, 36(%rsp)
	movl	%ecx, 4(%rsp)
	movl	%r8d, 32(%rsp)
	movq	%rax, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rcx
	movq	16(%rsp), %rdx
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	movq	24(%rsp), %rsi
	call	scanf@PLT
	movl	44(%rsp), %r14d
	testl	%r14d, %r14d
	je	.L17
	movl	40(%rsp), %r12d
	movl	%r14d, %r15d
	movl	36(%rsp), %r9d
	xorl	%ebx, %ebx
	xorl	%r8d, %r8d
	movl	$2147483647, %ebp
	subl	%r12d, %r15d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%ebx, %esi
	movl	%ebx, %eax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	leal	(%rsi,%r9), %r11d
	cmpl	%r11d, %ecx
	je	.L3
	leal	(%rcx,%r9), %r11d
	cmpl	%r11d, %esi
	je	.L3
	cmpl	%r8d, %edi
	jg	.L18
.L7:
	addl	%r15d, %eax
	subl	%r12d, %esi
	addl	%r14d, %ecx
	movl	%edi, %edx
.L10:
	movl	%r8d, %r10d
	leal	1(%rdx), %edi
	subl	%edx, %r10d
	cmpl	%r9d, %eax
	jne	.L19
.L3:
	cmpl	%ebp, %eax
	jge	.L6
	movl	%r10d, 32(%rsp)
	movl	%eax, %ebp
	movl	%edx, 4(%rsp)
.L6:
	cmpl	%r8d, %edi
	jg	.L11
	movl	$1, %r13d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$1, %r8d
	addl	%r12d, %ebx
	testl	%r13d, %r13d
	je	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	32(%rsp), %edx
	movl	4(%rsp), %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L17:
	xorl	%edi, %edi
	call	exit@PLT
	.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	$56, %rsp
	.cfi_def_cfa_offset 112
	leaq	36(%rsp), %rax
	movl	%edi, 44(%rsp)
	movq	%rax, 8(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	44(%rsp), %rax
	movl	%esi, 40(%rsp)
	movl	%edx, 36(%rsp)
	movl	%ecx, 4(%rsp)
	movl	%r8d, 32(%rsp)
	movq	%rax, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rcx
	movq	16(%rsp), %rdx
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	movq	24(%rsp), %rsi
	call	scanf@PLT
	movl	44(%rsp), %r14d
	testl	%r14d, %r14d
	je	.L17
	movl	40(%rsp), %r12d
	movl	%r14d, %r15d
	movl	36(%rsp), %r9d
	xorl	%ebx, %ebx
	xorl	%r8d, %r8d
	movl	$2147483647, %ebp
	subl	%r12d, %r15d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%ebx, %esi
	movl	%ebx, %eax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	leal	(%rsi,%r9), %r11d
	cmpl	%r11d, %ecx
	je	.L3
	leal	(%rcx,%r9), %r11d
	cmpl	%r11d, %esi
	je	.L3
	cmpl	%r8d, %edi
	jg	.L18
.L7:
	addl	%r15d, %eax
	subl	%r12d, %esi
	addl	%r14d, %ecx
	movl	%edi, %edx
.L10:
	movl	%r8d, %r10d
	leal	1(%rdx), %edi
	subl	%edx, %r10d
	cmpl	%r9d, %eax
	jne	.L19
.L3:
	cmpl	%ebp, %eax
	jge	.L6
	movl	%r10d, 32(%rsp)
	movl	%eax, %ebp
	movl	%edx, 4(%rsp)
.L6:
	cmpl	%r8d, %edi
	jg	.L11
	movl	$1, %r13d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$1, %r8d
	addl	%r12d, %ebx
	testl	%r13d, %r13d
	je	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	32(%rsp), %edx
	movl	4(%rsp), %esi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L17:
	xorl	%edi, %edi
	call	exit@PLT
	.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:

main(a,b,c,X,Y,A,f,i,j){for(;scanf("%d%d%d",&a,&b,&c),a;printf("%d %d\n",X,Y))
for(A=2147483647,f=i=0;!f;i++)
	for(j=0;j<=i;j++)
		if(a*j+b*(i-j)==c||a*j==b*(i-j)+c||a*j+c==b*(i-j))
			if(f=1,A>a*j+b*(i-j))A=a*j+b*(i-j),X=j,Y=i-j;
exit(0);}
700 300 200
500 200 300
500 200 500
275 110 330
275 010 385
648 375 4002
3 1 10000
0 0 0
 700 300 200
500 200 300
500 200 500
275 110 330
275 010 385
1067 375 4002
3 1 10000
0 0 0
 700 300 200
993 200 300
500 200 500
275 110 330
275 010 385
1067 375 4002
3 1 10000
0 0 0
 700 300 200
993 200 300
500 200 500
275 110 330
275 010 385
1067 375 4002
3 1 10010
0 0 0
 700 300 200
500 200 300
500 200 500
275 110 330
83 010 385
648 375 4002
3 1 10000
0 0 0
 700 300 200
500 200 300
908 200 500
275 110 330
275 010 385
1067 375 4002
3 1 10000
0 0 0
 700 300 200
500 200 300
908 200 500
275 110 330
275 010 385
1067 375 3628
3 1 10000
0 0 0
 700 300 200
500 200 300
908 200 500
275 110 330
275 010 385
1757 375 3628
3 1 10000
0 0 0
 700 188 200
500 200 300
500 200 500
275 110 330
275 110 385
648 375 4002
3 1 10000
0 0 0
 700 300 200
500 311 300
500 200 500
275 110 330
275 010 385
648 375 4002
3 1 10000
0 0 0

1 3
1 1
1 0
0 3
1 11
49 74
3333 1
 1 3
1 1
1 0
0 3
1 11
69 207
3333 1
 1 3
100 495
1 0
0 3
1 11
69 207
3333 1
 1 3
100 495
1 0
0 3
1 11
69 207
3336 2
 1 3
1 1
1 0
0 3
5 3
49 74
3333 1
 1 3
1 1
25 111
0 3
1 11
69 207
3333 1
 1 3
1 1
25 111
0 3
1 11
166 482
3333 1
 1 3
1 1
25 111
0 3
1 11
179 829
3333 1
 7 25
1 1
1 0
0 3
1 1
49 74
3333 1
 1 3
125 200
1 0
0 3
1 11
49 74
3333 1

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

```c
main(a,b,c,X,Y,A,f,i,j){for(;scanf("%d%d%d",&a,&b,&c),a;printf("%d %d\n",X,Y))
for(A=2147483647,f=i=0;!f;i++)
	for(j=0;j<=i;j++)
		if(a*j+b*(i-j)==c||a*j==b*(i-j)+c||a*j+c==b*(i-j))
			if(f=1,A>a*j+b*(i-j))A=a*j+b*(i-j),X=j,Y=i-j;
exit(0);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"%d%d%d"
	.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	jmp	.L2
.L9:
	movl	$2147483647, -24(%rbp)
	movl	$0, 24(%rbp)
	movl	24(%rbp), %eax
	movl	%eax, 16(%rbp)
	jmp	.L3
.L8:
	movl	$0, 32(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	je	.L5
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %edx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %ecx
	movl	-8(%rbp), %eax
	imull	%eax, %ecx
	movl	-12(%rbp), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	je	.L5
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	jne	.L6
.L5:
	movl	$1, 16(%rbp)
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	cmpl	%eax, -24(%rbp)
	jle	.L6
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -24(%rbp)
	movl	32(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, -20(%rbp)
.L6:
	addl	$1, 32(%rbp)
.L4:
	movl	32(%rbp), %eax
	cmpl	24(%rbp), %eax
	jle	.L7
	addl	$1, 24(%rbp)
.L3:
	cmpl	$0, 16(%rbp)
	je	.L8
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-12(%rbp), %rcx
	leaq	-8(%rbp), %rdx
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L9
	movl	$0, %edi
	call	exit@PLT
	.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\n"
.LC1:
	.string	"%d%d%d"
	.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
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	jmp	.L2
.L9:
	movl	$2147483647, -24(%rbp)
	movl	$0, 24(%rbp)
	movl	24(%rbp), %eax
	movl	%eax, 16(%rbp)
	jmp	.L3
.L8:
	movl	$0, 32(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	leal	(%rcx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	je	.L5
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %edx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %ecx
	movl	-8(%rbp), %eax
	imull	%eax, %ecx
	movl	-12(%rbp), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	je	.L5
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %edx
	movl	-12(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	cmpl	%eax, %ecx
	jne	.L6
.L5:
	movl	$1, 16(%rbp)
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	cmpl	%eax, -24(%rbp)
	jle	.L6
	movl	-4(%rbp), %eax
	imull	32(%rbp), %eax
	movl	%eax, %ecx
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, %edx
	movl	-8(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -24(%rbp)
	movl	32(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	24(%rbp), %eax
	subl	32(%rbp), %eax
	movl	%eax, -20(%rbp)
.L6:
	addl	$1, 32(%rbp)
.L4:
	movl	32(%rbp), %eax
	cmpl	24(%rbp), %eax
	jle	.L7
	addl	$1, 24(%rbp)
.L3:
	cmpl	$0, 16(%rbp)
	je	.L8
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-12(%rbp), %rcx
	leaq	-8(%rbp), %rdx
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L9
	movl	$0, %edi
	call	exit@PLT
	.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:
