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 soma(num){
  int soma = 0;

  while (num != 0) {
    soma   += num % 10;
    num  = num / 10;
  }

  return soma;
}

int main(void) {
  int n, a, b, menor;

  scanf("%d", &n);
  a = 1;
  b = n-1;
  menor = soma(a) + soma(b);

  while (a < b){
    int somaTemp = soma(a) + soma(b);
    if( somaTemp < menor){
      menor = somaTemp;
    }

    a++;
    b--;
  }

  printf("%d", menor);


  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	soma
	.type	soma, @function
soma:
.LFB23:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testl	%edi, %edi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %edx
	sarq	$34, %rax
	subl	%edx, %eax
	leal	(%rax,%rax,4), %edx
	addl	%edx, %edx
	subl	%edx, %edi
	addl	%edi, %r8d
	movl	%eax, %edi
	testl	%eax, %eax
	jne	.L3
.L1:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	soma, .-soma
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	subl	$1, %edi
	je	.L14
	movl	%edi, %edx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %ecx
	sarq	$34, %rax
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %edx
	addl	%edx, %r8d
	movl	%eax, %edx
	testl	%eax, %eax
	jne	.L9
	addl	$1, %r8d
	cmpl	$1, %edi
	jle	.L8
	movl	$1, %r9d
	movl	$3435973837, %esi
	.p2align 4,,10
	.p2align 3
.L12:
	xorl	%r10d, %r10d
	movl	%r9d, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%eax, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	addl	%eax, %r10d
	movl	%edx, %eax
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%ecx, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r11d
	addl	%r11d, %r11d
	subl	%r11d, %ecx
	addl	%ecx, %eax
	movl	%edx, %ecx
	testl	%edx, %edx
	jne	.L11
	addl	%r10d, %eax
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	addl	$1, %r9d
	subl	$1, %edi
	cmpl	%edi, %r9d
	jl	.L12
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L8
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	soma
	.type	soma, @function
soma:
.LFB23:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testl	%edi, %edi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %edx
	sarq	$34, %rax
	subl	%edx, %eax
	leal	(%rax,%rax,4), %edx
	addl	%edx, %edx
	subl	%edx, %edi
	addl	%edi, %r8d
	movl	%eax, %edi
	testl	%eax, %eax
	jne	.L3
.L1:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	soma, .-soma
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	subl	$1, %edi
	je	.L14
	movl	%edi, %edx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %ecx
	sarq	$34, %rax
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %edx
	addl	%edx, %r8d
	movl	%eax, %edx
	testl	%eax, %eax
	jne	.L9
	addl	$1, %r8d
	cmpl	$1, %edi
	jle	.L8
	movl	$1, %r9d
	movl	$3435973837, %esi
	.p2align 4,,10
	.p2align 3
.L12:
	xorl	%r10d, %r10d
	movl	%r9d, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%eax, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	addl	%eax, %r10d
	movl	%edx, %eax
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%ecx, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r11d
	addl	%r11d, %r11d
	subl	%r11d, %ecx
	addl	%ecx, %eax
	movl	%edx, %ecx
	testl	%edx, %edx
	jne	.L11
	addl	%r10d, %eax
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	addl	$1, %r9d
	subl	$1, %edi
	cmpl	%edi, %r9d
	jl	.L12
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L8
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	soma
	.type	soma, @function
soma:
.LFB23:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testl	%edi, %edi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %edx
	sarq	$34, %rax
	subl	%edx, %eax
	leal	(%rax,%rax,4), %edx
	addl	%edx, %edx
	subl	%edx, %edi
	addl	%edi, %r8d
	movl	%eax, %edi
	testl	%eax, %eax
	jne	.L3
.L1:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	soma, .-soma
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	subl	$1, %edi
	je	.L14
	movl	%edi, %edx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %ecx
	sarq	$34, %rax
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %edx
	addl	%edx, %r8d
	movl	%eax, %edx
	testl	%eax, %eax
	jne	.L9
	addl	$1, %r8d
	cmpl	$1, %edi
	jle	.L8
	movl	$1, %r9d
	movl	$3435973837, %esi
	.p2align 4,,10
	.p2align 3
.L12:
	xorl	%r10d, %r10d
	movl	%r9d, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%eax, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	addl	%eax, %r10d
	movl	%edx, %eax
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%ecx, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r11d
	addl	%r11d, %r11d
	subl	%r11d, %ecx
	addl	%ecx, %eax
	movl	%edx, %ecx
	testl	%edx, %edx
	jne	.L11
	addl	%r10d, %eax
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	addl	$1, %r9d
	subl	$1, %edi
	cmpl	%edi, %r9d
	jl	.L12
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L8
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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 soma(num){
  int soma = 0;

  while (num != 0) {
    soma   += num % 10;
    num  = num / 10;
  }

  return soma;
}

int main(void) {
  int n, a, b, menor;

  scanf("%d", &n);
  a = 1;
  b = n-1;
  menor = soma(a) + soma(b);

  while (a < b){
    int somaTemp = soma(a) + soma(b);
    if( somaTemp < menor){
      menor = somaTemp;
    }

    a++;
    b--;
  }

  printf("%d", menor);


  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 soma(num){
  int soma = 0;

  while (num != 0) {
    soma   += num % 10;
    num  = num / 10;
  }

  return soma;
}

int main(void) {
  int n, a, b, menor;

  scanf("%d", &n);
  a = 1;
  b = n-1;
  menor = soma(a) + soma(b);

  while (a < b){
    int somaTemp = soma(a) + soma(b);
    if( somaTemp < menor){
      menor = somaTemp;
    }

    a++;
    b--;
  }

  printf("%d", menor);


  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:

22
 37
 36
 3
 5
 7
 26
 38
 58
 78

4 10 9 3 5 7 8 11 13 15
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 soma(num){
  int soma = 0;

  while (num != 0) {
    soma   += num % 10;
    num  = num / 10;
  }

  return soma;
}

int main(void) {
  int n, a, b, menor;

  scanf("%d", &n);
  a = 1;
  b = n-1;
  menor = soma(a) + soma(b);

  while (a < b){
    int somaTemp = soma(a) + soma(b);
    if( somaTemp < menor){
      menor = somaTemp;
    }

    a++;
    b--;
  }

  printf("%d", menor);


  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	soma
	.type	soma, @function
soma:
.LFB23:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testl	%edi, %edi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %edx
	sarq	$34, %rax
	subl	%edx, %eax
	leal	(%rax,%rax,4), %edx
	addl	%edx, %edx
	subl	%edx, %edi
	addl	%edi, %r8d
	movl	%eax, %edi
	testl	%eax, %eax
	jne	.L3
.L1:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	soma, .-soma
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	subl	$1, %edi
	je	.L14
	movl	%edi, %edx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %ecx
	sarq	$34, %rax
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %edx
	addl	%edx, %r8d
	movl	%eax, %edx
	testl	%eax, %eax
	jne	.L9
	addl	$1, %r8d
	cmpl	$1, %edi
	jle	.L8
	movl	$1, %r9d
	movl	$3435973837, %esi
	.p2align 4,,10
	.p2align 3
.L12:
	xorl	%r10d, %r10d
	movl	%r9d, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%eax, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	addl	%eax, %r10d
	movl	%edx, %eax
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%ecx, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r11d
	addl	%r11d, %r11d
	subl	%r11d, %ecx
	addl	%ecx, %eax
	movl	%edx, %ecx
	testl	%edx, %edx
	jne	.L11
	addl	%r10d, %eax
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	addl	$1, %r9d
	subl	$1, %edi
	cmpl	%edi, %r9d
	jl	.L12
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L8
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	soma
	.type	soma, @function
soma:
.LFB23:
	.cfi_startproc
	endbr64
	xorl	%r8d, %r8d
	testl	%edi, %edi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edi, %rax
	movl	%edi, %edx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %edx
	sarq	$34, %rax
	subl	%edx, %eax
	leal	(%rax,%rax,4), %edx
	addl	%edx, %edx
	subl	%edx, %edi
	addl	%edi, %r8d
	movl	%eax, %edi
	testl	%eax, %eax
	jne	.L3
.L1:
	movl	%r8d, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	soma, .-soma
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	subl	$1, %edi
	je	.L14
	movl	%edi, %edx
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%edx, %rax
	movl	%edx, %ecx
	imulq	$1717986919, %rax, %rax
	sarl	$31, %ecx
	sarq	$34, %rax
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %edx
	addl	%edx, %r8d
	movl	%eax, %edx
	testl	%eax, %eax
	jne	.L9
	addl	$1, %r8d
	cmpl	$1, %edi
	jle	.L8
	movl	$1, %r9d
	movl	$3435973837, %esi
	.p2align 4,,10
	.p2align 3
.L12:
	xorl	%r10d, %r10d
	movl	%r9d, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%eax, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	addl	%eax, %r10d
	movl	%edx, %eax
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%ecx, %edx
	imulq	%rsi, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r11d
	addl	%r11d, %r11d
	subl	%r11d, %ecx
	addl	%ecx, %eax
	movl	%edx, %ecx
	testl	%edx, %edx
	jne	.L11
	addl	%r10d, %eax
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	addl	$1, %r9d
	subl	$1, %edi
	cmpl	%edi, %r9d
	jl	.L12
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L8
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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:
```