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

```c
#include<stdio.h>
int main()
{
	int i,a,w1=0,w2=0,w3=0,k1=0,k2=0,k3=0;
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(w3<a){
			w3=a;
			if(w2<a){
				w3=w2;
				w2=a;
				if(w1<a){
					w2=w1;
					w1=a;
				}
			}
		}
	}
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(k3<a){
			k3=a;
			if(k2<a){
				k3=k2;
				k2=a;
				if(k1<a){
					k2=k1;
					k1=a;
				}
			}
		}
	}
	printf("%d %d\n",w1+w2+w3,k1+k2+k3);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	$10, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	movl	$0, 4(%rsp)
	movl	$0, 8(%rsp)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ecx, 4(%rsp)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %ebx
	je	.L15
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%ebp, %eax
	jle	.L2
	movl	4(%rsp), %edx
	movl	%eax, %ebp
	cmpl	%edx, %eax
	jle	.L2
	movl	8(%rsp), %ecx
	movl	%edx, %ebp
	cmpl	%ecx, %eax
	jg	.L16
	movl	%eax, 4(%rsp)
	subl	$1, %ebx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$0, 12(%rsp)
	movl	$10, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%r14d, %eax
	jle	.L4
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jle	.L4
	movl	12(%rsp), %ecx
	movl	%r15d, %r14d
	movl	%eax, %r15d
	cmpl	%ecx, %eax
	jle	.L4
	movl	%eax, 12(%rsp)
	movl	%ecx, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	subl	$1, %ebx
	jne	.L5
	movl	12(%rsp), %ecx
	movl	8(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	%r15d, %ecx
	addl	%ebp, %edx
	addl	%r14d, %ecx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L17:
	.cfi_restore_state
	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:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	$10, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	movl	$0, 4(%rsp)
	movl	$0, 8(%rsp)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ecx, 4(%rsp)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %ebx
	je	.L15
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%ebp, %eax
	jle	.L2
	movl	4(%rsp), %edx
	movl	%eax, %ebp
	cmpl	%edx, %eax
	jle	.L2
	movl	8(%rsp), %ecx
	movl	%edx, %ebp
	cmpl	%ecx, %eax
	jg	.L16
	movl	%eax, 4(%rsp)
	subl	$1, %ebx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$0, 12(%rsp)
	movl	$10, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%r14d, %eax
	jle	.L4
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jle	.L4
	movl	12(%rsp), %ecx
	movl	%r15d, %r14d
	movl	%eax, %r15d
	cmpl	%ecx, %eax
	jle	.L4
	movl	%eax, 12(%rsp)
	movl	%ecx, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	subl	$1, %ebx
	jne	.L5
	movl	12(%rsp), %ecx
	movl	8(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	%r15d, %ecx
	addl	%ebp, %edx
	addl	%r14d, %ecx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L17:
	.cfi_restore_state
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	$10, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	movl	$0, 4(%rsp)
	movl	$0, 8(%rsp)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ecx, 4(%rsp)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %ebx
	je	.L15
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%ebp, %eax
	jle	.L2
	movl	4(%rsp), %edx
	movl	%eax, %ebp
	cmpl	%edx, %eax
	jle	.L2
	movl	8(%rsp), %ecx
	movl	%edx, %ebp
	cmpl	%ecx, %eax
	jg	.L16
	movl	%eax, 4(%rsp)
	subl	$1, %ebx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$0, 12(%rsp)
	movl	$10, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%r14d, %eax
	jle	.L4
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jle	.L4
	movl	12(%rsp), %ecx
	movl	%r15d, %r14d
	movl	%eax, %r15d
	cmpl	%ecx, %eax
	jle	.L4
	movl	%eax, 12(%rsp)
	movl	%ecx, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	subl	$1, %ebx
	jne	.L5
	movl	12(%rsp), %ecx
	movl	8(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	%r15d, %ecx
	addl	%ebp, %edx
	addl	%r14d, %ecx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L17:
	.cfi_restore_state
	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:
```
```c
#include<stdio.h>
int main()
{
	int i,a,w1=0,w2=0,w3=0,k1=0,k2=0,k3=0;
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(w3<a){
			w3=a;
			if(w2<a){
				w3=w2;
				w2=a;
				if(w1<a){
					w2=w1;
					w1=a;
				}
			}
		}
	}
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(k3<a){
			k3=a;
			if(k2<a){
				k3=k2;
				k2=a;
				if(k1<a){
					k2=k1;
					k1=a;
				}
			}
		}
	}
	printf("%d %d\n",w1+w2+w3,k1+k2+k3);
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main()
{
	int i,a,w1=0,w2=0,w3=0,k1=0,k2=0,k3=0;
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(w3<a){
			w3=a;
			if(w2<a){
				w3=w2;
				w2=a;
				if(w1<a){
					w2=w1;
					w1=a;
				}
			}
		}
	}
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(k3<a){
			k3=a;
			if(k2<a){
				k3=k2;
				k2=a;
				if(k1<a){
					k2=k1;
					k1=a;
				}
			}
		}
	}
	printf("%d %d\n",w1+w2+w3,k1+k2+k3);
	return 0;
}```

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.
Optimized Assembly Code:

23
23
20
15
15
14
13
9
7
6
25
19
17
17
16
13
12
11
9
5

66 61

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

```c
#include<stdio.h>
int main()
{
	int i,a,w1=0,w2=0,w3=0,k1=0,k2=0,k3=0;
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(w3<a){
			w3=a;
			if(w2<a){
				w3=w2;
				w2=a;
				if(w1<a){
					w2=w1;
					w1=a;
				}
			}
		}
	}
	for(i=0;i<10;i++){
		scanf("%d",&a);
		if(k3<a){
			k3=a;
			if(k2<a){
				k3=k2;
				k2=a;
				if(k1<a){
					k2=k1;
					k1=a;
				}
			}
		}
	}
	printf("%d %d\n",w1+w2+w3,k1+k2+k3);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	$10, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	movl	$0, 4(%rsp)
	movl	$0, 8(%rsp)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ecx, 4(%rsp)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %ebx
	je	.L15
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%ebp, %eax
	jle	.L2
	movl	4(%rsp), %edx
	movl	%eax, %ebp
	cmpl	%edx, %eax
	jle	.L2
	movl	8(%rsp), %ecx
	movl	%edx, %ebp
	cmpl	%ecx, %eax
	jg	.L16
	movl	%eax, 4(%rsp)
	subl	$1, %ebx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$0, 12(%rsp)
	movl	$10, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%r14d, %eax
	jle	.L4
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jle	.L4
	movl	12(%rsp), %ecx
	movl	%r15d, %r14d
	movl	%eax, %r15d
	cmpl	%ecx, %eax
	jle	.L4
	movl	%eax, 12(%rsp)
	movl	%ecx, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	subl	$1, %ebx
	jne	.L5
	movl	12(%rsp), %ecx
	movl	8(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	%r15d, %ecx
	addl	%ebp, %edx
	addl	%r14d, %ecx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L17:
	.cfi_restore_state
	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:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	$10, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r13
	movl	$0, 4(%rsp)
	movl	$0, 8(%rsp)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ecx, 4(%rsp)
	movl	%eax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %ebx
	je	.L15
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%ebp, %eax
	jle	.L2
	movl	4(%rsp), %edx
	movl	%eax, %ebp
	cmpl	%edx, %eax
	jle	.L2
	movl	8(%rsp), %ecx
	movl	%edx, %ebp
	cmpl	%ecx, %eax
	jg	.L16
	movl	%eax, 4(%rsp)
	subl	$1, %ebx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$0, 12(%rsp)
	movl	$10, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%r14d, %eax
	jle	.L4
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jle	.L4
	movl	12(%rsp), %ecx
	movl	%r15d, %r14d
	movl	%eax, %r15d
	cmpl	%ecx, %eax
	jle	.L4
	movl	%eax, 12(%rsp)
	movl	%ecx, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	subl	$1, %ebx
	jne	.L5
	movl	12(%rsp), %ecx
	movl	8(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	addl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	addl	%r15d, %ecx
	addl	%ebp, %edx
	addl	%r14d, %ecx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.L17:
	.cfi_restore_state
	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:
```