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(void)

{
	int w, h, n;
	int fx, fy, x, y;
	int sum = 0;
	int i, j;
	int dx, dy;

	scanf("%d %d %d", &w, &h, &n);

	scanf("%d %d", &fx, &fy);
	for (i = 1; i < n; i++){
		scanf("%d %d", &x, &y);
		dx = fx - x;
		dy = fy - y;

		if (dx < 0){
			dx *= -1;
		}
		if (dy < 0){
			dy *= -1;
		}

		if (fx > x && fy > y){
			
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else if (fx < x && fy < y){
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else {
			sum += (dx + dy);
		}
		fx = x;
		fy = y;
	}
	printf("%d\n", sum);

	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%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
	leaq	.LC1(%rip), %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	movq	%rbx, %rdi
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$1, 20(%rsp)
	jle	.L11
	movl	$1, %r14d
	xorl	%r13d, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%edx, %esi
	jle	.L6
.L20:
	movl	%r13d, %ecx
	subl	%edi, %r13d
	subl	%r8d, %ecx
	cmpl	%edi, %r8d
	cmovl	%ecx, %r13d
.L6:
	movl	%eax, 24(%rsp)
	addl	$1, %r14d
	movl	%edx, 28(%rsp)
	cmpl	%r14d, 20(%rsp)
	jle	.L2
.L9:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ecx
	movl	32(%rsp), %eax
	movl	28(%rsp), %esi
	movl	36(%rsp), %edx
	movl	%eax, %edi
	movl	%ecx, %r8d
	subl	%ecx, %edi
	subl	%eax, %r8d
	movl	%edx, %r9d
	cmovs	%edi, %r8d
	movl	%esi, %edi
	subl	%esi, %r9d
	subl	%edx, %edi
	cmovs	%r9d, %edi
	leal	(%r8,%rdi), %r9d
	addl	%r9d, %r13d
	cmpl	%eax, %ecx
	jg	.L22
	cmpl	%edx, %esi
	jge	.L6
	cmpl	%eax, %ecx
	jl	.L20
	jmp	.L6
.L11:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movl	%r13d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$48, %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
.L23:
	.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 %d %d"
.LC1:
	.string	"%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
	leaq	.LC1(%rip), %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	movq	%rbx, %rdi
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$1, 20(%rsp)
	jle	.L11
	movl	$1, %r14d
	xorl	%r13d, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%edx, %esi
	jle	.L6
.L20:
	movl	%r13d, %ecx
	subl	%edi, %r13d
	subl	%r8d, %ecx
	cmpl	%edi, %r8d
	cmovl	%ecx, %r13d
.L6:
	movl	%eax, 24(%rsp)
	addl	$1, %r14d
	movl	%edx, 28(%rsp)
	cmpl	%r14d, 20(%rsp)
	jle	.L2
.L9:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ecx
	movl	32(%rsp), %eax
	movl	28(%rsp), %esi
	movl	36(%rsp), %edx
	movl	%eax, %edi
	movl	%ecx, %r8d
	subl	%ecx, %edi
	subl	%eax, %r8d
	movl	%edx, %r9d
	cmovs	%edi, %r8d
	movl	%esi, %edi
	subl	%esi, %r9d
	subl	%edx, %edi
	cmovs	%r9d, %edi
	leal	(%r8,%rdi), %r9d
	addl	%r9d, %r13d
	cmpl	%eax, %ecx
	jg	.L22
	cmpl	%edx, %esi
	jge	.L6
	cmpl	%eax, %ecx
	jl	.L20
	jmp	.L6
.L11:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movl	%r13d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$48, %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
.L23:
	.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 %d %d"
.LC1:
	.string	"%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
	leaq	.LC1(%rip), %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	movq	%rbx, %rdi
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$1, 20(%rsp)
	jle	.L11
	movl	$1, %r14d
	xorl	%r13d, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%edx, %esi
	jle	.L6
.L20:
	movl	%r13d, %ecx
	subl	%edi, %r13d
	subl	%r8d, %ecx
	cmpl	%edi, %r8d
	cmovl	%ecx, %r13d
.L6:
	movl	%eax, 24(%rsp)
	addl	$1, %r14d
	movl	%edx, 28(%rsp)
	cmpl	%r14d, 20(%rsp)
	jle	.L2
.L9:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ecx
	movl	32(%rsp), %eax
	movl	28(%rsp), %esi
	movl	36(%rsp), %edx
	movl	%eax, %edi
	movl	%ecx, %r8d
	subl	%ecx, %edi
	subl	%eax, %r8d
	movl	%edx, %r9d
	cmovs	%edi, %r8d
	movl	%esi, %edi
	subl	%esi, %r9d
	subl	%edx, %edi
	cmovs	%r9d, %edi
	leal	(%r8,%rdi), %r9d
	addl	%r9d, %r13d
	cmpl	%eax, %ecx
	jg	.L22
	cmpl	%edx, %esi
	jge	.L6
	cmpl	%eax, %ecx
	jl	.L20
	jmp	.L6
.L11:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movl	%r13d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$48, %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
.L23:
	.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(void)

{
	int w, h, n;
	int fx, fy, x, y;
	int sum = 0;
	int i, j;
	int dx, dy;

	scanf("%d %d %d", &w, &h, &n);

	scanf("%d %d", &fx, &fy);
	for (i = 1; i < n; i++){
		scanf("%d %d", &x, &y);
		dx = fx - x;
		dy = fy - y;

		if (dx < 0){
			dx *= -1;
		}
		if (dy < 0){
			dy *= -1;
		}

		if (fx > x && fy > y){
			
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else if (fx < x && fy < y){
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else {
			sum += (dx + dy);
		}
		fx = x;
		fy = y;
	}
	printf("%d\n", sum);

	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(void)

{
	int w, h, n;
	int fx, fy, x, y;
	int sum = 0;
	int i, j;
	int dx, dy;

	scanf("%d %d %d", &w, &h, &n);

	scanf("%d %d", &fx, &fy);
	for (i = 1; i < n; i++){
		scanf("%d %d", &x, &y);
		dx = fx - x;
		dy = fy - y;

		if (dx < 0){
			dx *= -1;
		}
		if (dy < 0){
			dy *= -1;
		}

		if (fx > x && fy > y){
			
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else if (fx < x && fy < y){
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else {
			sum += (dx + dy);
		}
		fx = x;
		fy = y;
	}
	printf("%d\n", sum);

	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:

4 3 3
1 1
3 3
4 1

5

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(void)

{
	int w, h, n;
	int fx, fy, x, y;
	int sum = 0;
	int i, j;
	int dx, dy;

	scanf("%d %d %d", &w, &h, &n);

	scanf("%d %d", &fx, &fy);
	for (i = 1; i < n; i++){
		scanf("%d %d", &x, &y);
		dx = fx - x;
		dy = fy - y;

		if (dx < 0){
			dx *= -1;
		}
		if (dy < 0){
			dy *= -1;
		}

		if (fx > x && fy > y){
			
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else if (fx < x && fy < y){
			sum += (dx + dy);
			if (dx < dy){
				sum -= dx;
			}
			else {
				sum -= dy;
			}
		}
		else {
			sum += (dx + dy);
		}
		fx = x;
		fy = y;
	}
	printf("%d\n", sum);

	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%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
	leaq	.LC1(%rip), %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	movq	%rbx, %rdi
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$1, 20(%rsp)
	jle	.L11
	movl	$1, %r14d
	xorl	%r13d, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%edx, %esi
	jle	.L6
.L20:
	movl	%r13d, %ecx
	subl	%edi, %r13d
	subl	%r8d, %ecx
	cmpl	%edi, %r8d
	cmovl	%ecx, %r13d
.L6:
	movl	%eax, 24(%rsp)
	addl	$1, %r14d
	movl	%edx, 28(%rsp)
	cmpl	%r14d, 20(%rsp)
	jle	.L2
.L9:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ecx
	movl	32(%rsp), %eax
	movl	28(%rsp), %esi
	movl	36(%rsp), %edx
	movl	%eax, %edi
	movl	%ecx, %r8d
	subl	%ecx, %edi
	subl	%eax, %r8d
	movl	%edx, %r9d
	cmovs	%edi, %r8d
	movl	%esi, %edi
	subl	%esi, %r9d
	subl	%edx, %edi
	cmovs	%r9d, %edi
	leal	(%r8,%rdi), %r9d
	addl	%r9d, %r13d
	cmpl	%eax, %ecx
	jg	.L22
	cmpl	%edx, %esi
	jge	.L6
	cmpl	%eax, %ecx
	jl	.L20
	jmp	.L6
.L11:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movl	%r13d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$48, %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
.L23:
	.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 %d %d"
.LC1:
	.string	"%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
	leaq	.LC1(%rip), %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	movq	%rbx, %rdi
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$1, 20(%rsp)
	jle	.L11
	movl	$1, %r14d
	xorl	%r13d, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%edx, %esi
	jle	.L6
.L20:
	movl	%r13d, %ecx
	subl	%edi, %r13d
	subl	%r8d, %ecx
	cmpl	%edi, %r8d
	cmovl	%ecx, %r13d
.L6:
	movl	%eax, 24(%rsp)
	addl	$1, %r14d
	movl	%edx, 28(%rsp)
	cmpl	%r14d, 20(%rsp)
	jle	.L2
.L9:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ecx
	movl	32(%rsp), %eax
	movl	28(%rsp), %esi
	movl	36(%rsp), %edx
	movl	%eax, %edi
	movl	%ecx, %r8d
	subl	%ecx, %edi
	subl	%eax, %r8d
	movl	%edx, %r9d
	cmovs	%edi, %r8d
	movl	%esi, %edi
	subl	%esi, %r9d
	subl	%edx, %edi
	cmovs	%r9d, %edi
	leal	(%r8,%rdi), %r9d
	addl	%r9d, %r13d
	cmpl	%eax, %ecx
	jg	.L22
	cmpl	%edx, %esi
	jge	.L6
	cmpl	%eax, %ecx
	jl	.L20
	jmp	.L6
.L11:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movl	%r13d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$48, %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
.L23:
	.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:
```