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 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);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -24(%rbp)
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -20(%rbp)
	jmp	.L2
.L12:
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	-32(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-36(%rbp), %eax
	movl	-28(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$0, -16(%rbp)
	jns	.L3
	negl	-16(%rbp)
.L3:
	cmpl	$0, -12(%rbp)
	jns	.L4
	negl	-12(%rbp)
.L4:
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	-36(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L6
	movl	-16(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L6:
	movl	-12(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L5:
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L9
	movl	-36(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L9
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L10
	movl	-16(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L10:
	movl	-12(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L9:
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
.L8:
	movl	-32(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -36(%rbp)
	addl	$1, -20(%rbp)
.L2:
	movl	-44(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L12
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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 %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
	.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:

#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);
}
4 3 3
1 1
3 3
4 1

5

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 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);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -24(%rbp)
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -20(%rbp)
	jmp	.L2
.L12:
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	-32(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-36(%rbp), %eax
	movl	-28(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$0, -16(%rbp)
	jns	.L3
	negl	-16(%rbp)
.L3:
	cmpl	$0, -12(%rbp)
	jns	.L4
	negl	-12(%rbp)
.L4:
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	-36(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L6
	movl	-16(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L6:
	movl	-12(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L5:
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L9
	movl	-36(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L9
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L10
	movl	-16(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L10:
	movl	-12(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L9:
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
.L8:
	movl	-32(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -36(%rbp)
	addl	$1, -20(%rbp)
.L2:
	movl	-44(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L12
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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 %d %d"
.LC1:
	.string	"%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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -24(%rbp)
	leaq	-44(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -20(%rbp)
	jmp	.L2
.L12:
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	movl	-32(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-36(%rbp), %eax
	movl	-28(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -12(%rbp)
	cmpl	$0, -16(%rbp)
	jns	.L3
	negl	-16(%rbp)
.L3:
	cmpl	$0, -12(%rbp)
	jns	.L4
	negl	-12(%rbp)
.L4:
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	-36(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L6
	movl	-16(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L6:
	movl	-12(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L5:
	movl	-40(%rbp), %edx
	movl	-32(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L9
	movl	-36(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L9
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L10
	movl	-16(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L10:
	movl	-12(%rbp), %eax
	subl	%eax, -24(%rbp)
	jmp	.L8
.L9:
	movl	-16(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	addl	%eax, -24(%rbp)
.L8:
	movl	-32(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -36(%rbp)
	addl	$1, -20(%rbp)
.L2:
	movl	-44(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L12
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
