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

int main(){
  long a[100000] = {};
  long absmin = -1; 
  long n = 0;
  long i = 0;
  long long abstotal=0;
  long minuscnt=0;
  scanf("%ld",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    if(a[i]<0){
      minuscnt++;
    }
    if(absmin == -1 || absmin > labs(a[i])){
      absmin = labs(a[i]);
    }
    abstotal += labs(a[i]);
  }
  if(minuscnt % 2 == 0){
    printf("%lld",abstotal);
  }else{
    printf("%lld",abstotal-2*absmin);
  }
  return 0;
}
  
  
    ```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld"
.LC1:
	.string	"%lld"
	.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
	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
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800096
	xorl	%esi, %esi
	movl	$800000, %edx
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	movq	$0, 8(%rsp)
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L9
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	$-1, %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	0(%r13), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rax, %rbx
	movq	%rdx, %rax
	negq	%rax
	cmovs	%rdx, %rax
	cmpq	%rax, %r14
	movq	%rax, %rdx
	cmovle	%r14, %rdx
	cmpq	$-1, %r14
	cmove	%rax, %rdx
	addq	%rax, %r12
	addq	$1, %r15
	addq	$8, %r13
	movq	%rdx, %r14
	cmpq	%r15, 8(%rsp)
	jg	.L5
	andl	$1, %ebx
	je	.L2
	addq	%rdx, %r14
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	subq	%r14, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$800040, %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
.L9:
	.cfi_restore_state
	xorl	%r12d, %r12d
.L2:
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	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:
```

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	"%ld"
.LC1:
	.string	"%lld"
	.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
	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
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800096
	xorl	%esi, %esi
	movl	$800000, %edx
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	movq	$0, 8(%rsp)
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L9
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	$-1, %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	0(%r13), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rax, %rbx
	movq	%rdx, %rax
	negq	%rax
	cmovs	%rdx, %rax
	cmpq	%rax, %r14
	movq	%rax, %rdx
	cmovle	%r14, %rdx
	cmpq	$-1, %r14
	cmove	%rax, %rdx
	addq	%rax, %r12
	addq	$1, %r15
	addq	$8, %r13
	movq	%rdx, %r14
	cmpq	%r15, 8(%rsp)
	jg	.L5
	andl	$1, %ebx
	je	.L2
	addq	%rdx, %r14
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	subq	%r14, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$800040, %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
.L9:
	.cfi_restore_state
	xorl	%r12d, %r12d
.L2:
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld"
.LC1:
	.string	"%lld"
	.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
	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
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800096
	xorl	%esi, %esi
	movl	$800000, %edx
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	movq	$0, 8(%rsp)
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L9
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	$-1, %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	0(%r13), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rax, %rbx
	movq	%rdx, %rax
	negq	%rax
	cmovs	%rdx, %rax
	cmpq	%rax, %r14
	movq	%rax, %rdx
	cmovle	%r14, %rdx
	cmpq	$-1, %r14
	cmove	%rax, %rdx
	addq	%rax, %r12
	addq	$1, %r15
	addq	$8, %r13
	movq	%rdx, %r14
	cmpq	%r15, 8(%rsp)
	jg	.L5
	andl	$1, %ebx
	je	.L2
	addq	%rdx, %r14
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	subq	%r14, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$800040, %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
.L9:
	.cfi_restore_state
	xorl	%r12d, %r12d
.L2:
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	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:
```
```c
#include<stdio.h>
#include<stdlib.h>

int main(){
  long a[100000] = {};
  long absmin = -1; 
  long n = 0;
  long i = 0;
  long long abstotal=0;
  long minuscnt=0;
  scanf("%ld",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    if(a[i]<0){
      minuscnt++;
    }
    if(absmin == -1 || absmin > labs(a[i])){
      absmin = labs(a[i]);
    }
    abstotal += labs(a[i]);
  }
  if(minuscnt % 2 == 0){
    printf("%lld",abstotal);
  }else{
    printf("%lld",abstotal-2*absmin);
  }
  return 0;
}
  
  
    ```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>

int main(){
  long a[100000] = {};
  long absmin = -1; 
  long n = 0;
  long i = 0;
  long long abstotal=0;
  long minuscnt=0;
  scanf("%ld",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    if(a[i]<0){
      minuscnt++;
    }
    if(absmin == -1 || absmin > labs(a[i])){
      absmin = labs(a[i]);
    }
    abstotal += labs(a[i]);
  }
  if(minuscnt % 2 == 0){
    printf("%lld",abstotal);
  }else{
    printf("%lld",abstotal-2*absmin);
  }
  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:

11
-1000000000 1000000000 -364513171 1000000000 -1000000000 0 1000000000 -1000000000 1000000000 -1000000000 1000000000
 5
10 -4 -8 -11 5
 3
-10 5 0
 11
-1000000000 1000000000 -364513171 1000000000 -1000000000 0 1000000000 -1000000000 1000000000 -1000000000 1000000100
 5
10 -4 -4 -11 5
 3
-14 5 0
 11
-1000000000 1000000000 -364513171 1000000000 -1000000000 0 1000000000 -1000000000 1000000100 -1000000000 1000000100
 5
10 -4 -4 -14 5
 3
-14 5 1
 11
-1000000000 1000000000 -364513171 1000000000 -1382285407 0 1000000000 -1000000000 1000000000 -1000000000 1000000100

9364513171 30 15 9364513271 26 19 9364513371 29 18 9746798678
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>
#include<stdlib.h>

int main(){
  long a[100000] = {};
  long absmin = -1; 
  long n = 0;
  long i = 0;
  long long abstotal=0;
  long minuscnt=0;
  scanf("%ld",&n);
  for(i=0;i<n;i++){
    scanf("%ld",&a[i]);
    if(a[i]<0){
      minuscnt++;
    }
    if(absmin == -1 || absmin > labs(a[i])){
      absmin = labs(a[i]);
    }
    abstotal += labs(a[i]);
  }
  if(minuscnt % 2 == 0){
    printf("%lld",abstotal);
  }else{
    printf("%lld",abstotal-2*absmin);
  }
  return 0;
}
  
  
    ```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%ld"
.LC1:
	.string	"%lld"
	.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
	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
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800096
	xorl	%esi, %esi
	movl	$800000, %edx
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	movq	$0, 8(%rsp)
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L9
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	$-1, %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	0(%r13), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rax, %rbx
	movq	%rdx, %rax
	negq	%rax
	cmovs	%rdx, %rax
	cmpq	%rax, %r14
	movq	%rax, %rdx
	cmovle	%r14, %rdx
	cmpq	$-1, %r14
	cmove	%rax, %rdx
	addq	%rax, %r12
	addq	$1, %r15
	addq	$8, %r13
	movq	%rdx, %r14
	cmpq	%r15, 8(%rsp)
	jg	.L5
	andl	$1, %ebx
	je	.L2
	addq	%rdx, %r14
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	subq	%r14, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$800040, %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
.L9:
	.cfi_restore_state
	xorl	%r12d, %r12d
.L2:
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	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:
```

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	"%ld"
.LC1:
	.string	"%lld"
	.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
	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
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800096
	xorl	%esi, %esi
	movl	$800000, %edx
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	movq	%r13, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	movq	$0, 8(%rsp)
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L9
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	$-1, %r14
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	0(%r13), %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	addq	%rax, %rbx
	movq	%rdx, %rax
	negq	%rax
	cmovs	%rdx, %rax
	cmpq	%rax, %r14
	movq	%rax, %rdx
	cmovle	%r14, %rdx
	cmpq	$-1, %r14
	cmove	%rax, %rdx
	addq	%rax, %r12
	addq	$1, %r15
	addq	$8, %r13
	movq	%rdx, %r14
	cmpq	%r15, 8(%rsp)
	jg	.L5
	andl	$1, %ebx
	je	.L2
	addq	%rdx, %r14
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	subq	%r14, %rdx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$800040, %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
.L9:
	.cfi_restore_state
	xorl	%r12d, %r12d
.L2:
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	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:
```