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>
#include <stdlib.h>

int main() {
  int n = 0;
  int h = 0;
  int destn = 0;
  int lx;
  int ly;
  int x;
  int y;
  int result = 0;
  int big;
  int small;
  int xs;
  int ys;
  int i = 0;

  scanf("%d%d%d", &n, &h, &destn);
  for(i = 0; i < destn; ++i) {
    scanf("%d%d", &x, &y);
    if(i >= 1) {
      xs = lx - x;
      ys = ly - y;
      if((xs > 0 && ys > 0) || (xs < 0 && ys < 0)) {
        xs = abs(xs);
        ys = abs(ys);
        if(xs > ys) {
          big = xs;
          small = ys;
        } else {
          big = ys;
          small = xs;
        }
        result += (small + big - small);
      } else {
        result += (abs(xs) + abs(ys));
      }
    }
    lx = x;
    ly = y;
  }
  printf("%d\n", result);
  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:
.LFB6:
	.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, -60(%rbp)
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -24(%rbp)
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -24(%rbp)
	jmp	.L2
.L9:
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$0, -24(%rbp)
	jle	.L3
	movl	-48(%rbp), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-44(%rbp), %edx
	movl	-36(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
	cmpl	$0, -20(%rbp)
	jle	.L4
	cmpl	$0, -16(%rbp)
	jg	.L5
.L4:
	cmpl	$0, -20(%rbp)
	jns	.L6
	cmpl	$0, -16(%rbp)
	jns	.L6
.L5:
	movl	-20(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L7
	movl	-20(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L8
.L7:
	movl	-16(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L8:
	movl	-28(%rbp), %eax
	addl	%eax, -32(%rbp)
	jmp	.L3
.L6:
	movl	-20(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-16(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	addl	%ecx, %eax
	addl	%eax, -32(%rbp)
.L3:
	movl	-48(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -36(%rbp)
	addl	$1, -24(%rbp)
.L2:
	movl	-52(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L9
	movl	-32(%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	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rcx
	leaq	24(%rsp), %rdx
	movl	$0, 20(%rsp)
	leaq	20(%rsp), %rsi
	movl	$0, 24(%rsp)
	movl	$0, 28(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %rbp
	xorl	%eax, %eax
	movl	$1, %r14d
	leaq	.LC1(%rip), %rbx
	movq	%r13, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, 28(%rsp)
	movl	32(%rsp), %r12d
	movl	$0, 12(%rsp)
	movl	36(%rsp), %r15d
	jg	.L8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%eax, %esi
	negl	%esi
	cmovns	%esi, %eax
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	cmpl	%edx, %eax
	cmovl	%edx, %eax
	addl	$1, %r14d
	addl	%eax, 12(%rsp)
	cmpl	%r14d, 28(%rsp)
	jle	.L3
.L8:
	movq	%r13, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%r12d, %eax
	movl	32(%rsp), %r12d
	movl	%r15d, %edx
	movl	36(%rsp), %r15d
	subl	%r12d, %eax
	subl	%r15d, %edx
	testl	%eax, %eax
	jle	.L12
	testl	%edx, %edx
	jg	.L4
.L12:
	testl	%edx, %eax
	js	.L4
	movl	%eax, %esi
	negl	%esi
	cmovns	%esi, %eax
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	addl	$1, %r14d
	addl	%edx, %eax
	addl	%eax, 12(%rsp)
	cmpl	%r14d, 28(%rsp)
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	movl	12(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$56, %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
.L21:
	.cfi_restore_state
	movl	$0, 12(%rsp)
	jmp	.L3
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rcx
	leaq	24(%rsp), %rdx
	movl	$0, 20(%rsp)
	leaq	20(%rsp), %rsi
	movl	$0, 24(%rsp)
	movl	$0, 28(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L21
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %rbp
	xorl	%eax, %eax
	movl	$1, %r14d
	leaq	.LC1(%rip), %rbx
	movq	%r13, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, 28(%rsp)
	movl	32(%rsp), %r12d
	movl	$0, 12(%rsp)
	movl	36(%rsp), %r15d
	jg	.L8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%eax, %esi
	negl	%esi
	cmovns	%esi, %eax
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	cmpl	%edx, %eax
	cmovl	%edx, %eax
	addl	$1, %r14d
	addl	%eax, 12(%rsp)
	cmpl	%r14d, 28(%rsp)
	jle	.L3
.L8:
	movq	%r13, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	%r12d, %eax
	movl	32(%rsp), %r12d
	movl	%r15d, %edx
	movl	36(%rsp), %r15d
	subl	%r12d, %eax
	subl	%r15d, %edx
	testl	%eax, %eax
	jle	.L12
	testl	%edx, %edx
	jg	.L4
.L12:
	testl	%edx, %eax
	js	.L4
	movl	%eax, %esi
	negl	%esi
	cmovns	%esi, %eax
	movl	%edx, %esi
	negl	%esi
	cmovns	%esi, %edx
	addl	$1, %r14d
	addl	%edx, %eax
	addl	%eax, 12(%rsp)
	cmpl	%r14d, 28(%rsp)
	jg	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	movl	12(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$56, %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
.L21:
	.cfi_restore_state
	movl	$0, 12(%rsp)
	jmp	.L3
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#include <stdlib.h>

int main() {
  int n = 0;
  int h = 0;
  int destn = 0;
  int lx;
  int ly;
  int x;
  int y;
  int result = 0;
  int big;
  int small;
  int xs;
  int ys;
  int i = 0;

  scanf("%d%d%d", &n, &h, &destn);
  for(i = 0; i < destn; ++i) {
    scanf("%d%d", &x, &y);
    if(i >= 1) {
      xs = lx - x;
      ys = ly - y;
      if((xs > 0 && ys > 0) || (xs < 0 && ys < 0)) {
        xs = abs(xs);
        ys = abs(ys);
        if(xs > ys) {
          big = xs;
          small = ys;
        } else {
          big = ys;
          small = xs;
        }
        result += (small + big - small);
      } else {
        result += (abs(xs) + abs(ys));
      }
    }
    lx = x;
    ly = y;
  }
  printf("%d\n", result);
  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>
#include <stdlib.h>

int main() {
  int n = 0;
  int h = 0;
  int destn = 0;
  int lx;
  int ly;
  int x;
  int y;
  int result = 0;
  int big;
  int small;
  int xs;
  int ys;
  int i = 0;

  scanf("%d%d%d", &n, &h, &destn);
  for(i = 0; i < destn; ++i) {
    scanf("%d%d", &x, &y);
    if(i >= 1) {
      xs = lx - x;
      ys = ly - y;
      if((xs > 0 && ys > 0) || (xs < 0 && ys < 0)) {
        xs = abs(xs);
        ys = abs(ys);
        if(xs > ys) {
          big = xs;
          small = ys;
        } else {
          big = ys;
          small = xs;
        }
        result += (small + big - small);
      } else {
        result += (abs(xs) + abs(ys));
      }
    }
    lx = x;
    ly = y;
  }
  printf("%d\n", result);
  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:
.LFB6:
	.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, -60(%rbp)
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -24(%rbp)
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -24(%rbp)
	jmp	.L2
.L9:
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$0, -24(%rbp)
	jle	.L3
	movl	-48(%rbp), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-44(%rbp), %edx
	movl	-36(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
	cmpl	$0, -20(%rbp)
	jle	.L4
	cmpl	$0, -16(%rbp)
	jg	.L5
.L4:
	cmpl	$0, -20(%rbp)
	jns	.L6
	cmpl	$0, -16(%rbp)
	jns	.L6
.L5:
	movl	-20(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L7
	movl	-20(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L8
.L7:
	movl	-16(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L8:
	movl	-28(%rbp), %eax
	addl	%eax, -32(%rbp)
	jmp	.L3
.L6:
	movl	-20(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-16(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	addl	%ecx, %eax
	addl	%eax, -32(%rbp)
.L3:
	movl	-48(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -36(%rbp)
	addl	$1, -24(%rbp)
.L2:
	movl	-52(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L9
	movl	-32(%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	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
.LFB6:
	.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, -60(%rbp)
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -24(%rbp)
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -24(%rbp)
	jmp	.L2
.L9:
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$0, -24(%rbp)
	jle	.L3
	movl	-48(%rbp), %edx
	movl	-40(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-44(%rbp), %edx
	movl	-36(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
	cmpl	$0, -20(%rbp)
	jle	.L4
	cmpl	$0, -16(%rbp)
	jg	.L5
.L4:
	cmpl	$0, -20(%rbp)
	jns	.L6
	cmpl	$0, -16(%rbp)
	jns	.L6
.L5:
	movl	-20(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L7
	movl	-20(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-16(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L8
.L7:
	movl	-16(%rbp), %eax
	movl	%eax, -28(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L8:
	movl	-28(%rbp), %eax
	addl	%eax, -32(%rbp)
	jmp	.L3
.L6:
	movl	-20(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	movl	%eax, %ecx
	movl	-16(%rbp), %eax
	movl	%eax, %edx
	negl	%edx
	cmovns	%edx, %eax
	addl	%ecx, %eax
	addl	%eax, -32(%rbp)
.L3:
	movl	-48(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -36(%rbp)
	addl	$1, -24(%rbp)
.L2:
	movl	-52(%rbp), %eax
	cmpl	%eax, -24(%rbp)
	jl	.L9
	movl	-32(%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	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
