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(){
  int n,i,count=0,max=0;
  scanf("%d",&n);
  int h[n+2];
  for(i=0;i<n;i++){
    scanf("%d",&h[i]);
    max+=h[i];
  }
  h[n]=0;
  while(max!=0){
    for(i=0;i<n;i++){
      if(h[i]!=0 && h[i+1]==0)
        count++;
      if(h[i]!=0){
        h[i]--;
        max--;
      }
    }
  }
  printf("%d\n",count);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movq	%rsp, %rsi
	leal	2(%rdx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L32:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L32
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L33
.L4:
	movq	%rsp, %r12
	testl	%edx, %edx
	jle	.L5
	movq	%r12, %r13
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %esi
	addl	0(%r13), %ebx
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L6
	movslq	%esi, %rax
	movl	$0, (%r12,%rax,4)
	testl	%ebx, %ebx
	je	.L15
	leal	-1(%rsi), %eax
	xorl	%r8d, %r8d
	leaq	4(%r12,%rax,4), %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rax
	testl	%esi, %esi
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%rax), %edx
	testl	%edx, %edx
	je	.L10
	cmpl	$1, 4(%rax)
	adcl	$0, %r8d
	subl	$1, %edx
	subl	$1, %ebx
	movl	%edx, (%rax)
.L10:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L12
	testl	%ebx, %ebx
	jne	.L9
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L34
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L33:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	movl	$0, (%r12,%rdx,4)
	xorl	%r8d, %r8d
	jmp	.L8
.L15:
	xorl	%r8d, %r8d
	jmp	.L8
.L34:
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movq	%rsp, %rsi
	leal	2(%rdx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L32:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L32
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L33
.L4:
	movq	%rsp, %r12
	testl	%edx, %edx
	jle	.L5
	movq	%r12, %r13
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %esi
	addl	0(%r13), %ebx
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L6
	movslq	%esi, %rax
	movl	$0, (%r12,%rax,4)
	testl	%ebx, %ebx
	je	.L15
	leal	-1(%rsi), %eax
	xorl	%r8d, %r8d
	leaq	4(%r12,%rax,4), %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rax
	testl	%esi, %esi
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%rax), %edx
	testl	%edx, %edx
	je	.L10
	cmpl	$1, 4(%rax)
	adcl	$0, %r8d
	subl	$1, %edx
	subl	$1, %ebx
	movl	%edx, (%rax)
.L10:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L12
	testl	%ebx, %ebx
	jne	.L9
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L34
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L33:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	movl	$0, (%r12,%rdx,4)
	xorl	%r8d, %r8d
	jmp	.L8
.L15:
	xorl	%r8d, %r8d
	jmp	.L8
.L34:
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movq	%rsp, %rsi
	leal	2(%rdx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L32:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L32
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L33
.L4:
	movq	%rsp, %r12
	testl	%edx, %edx
	jle	.L5
	movq	%r12, %r13
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %esi
	addl	0(%r13), %ebx
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L6
	movslq	%esi, %rax
	movl	$0, (%r12,%rax,4)
	testl	%ebx, %ebx
	je	.L15
	leal	-1(%rsi), %eax
	xorl	%r8d, %r8d
	leaq	4(%r12,%rax,4), %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rax
	testl	%esi, %esi
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%rax), %edx
	testl	%edx, %edx
	je	.L10
	cmpl	$1, 4(%rax)
	adcl	$0, %r8d
	subl	$1, %edx
	subl	$1, %ebx
	movl	%edx, (%rax)
.L10:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L12
	testl	%ebx, %ebx
	jne	.L9
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L34
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L33:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	movl	$0, (%r12,%rdx,4)
	xorl	%r8d, %r8d
	jmp	.L8
.L15:
	xorl	%r8d, %r8d
	jmp	.L8
.L34:
	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(){
  int n,i,count=0,max=0;
  scanf("%d",&n);
  int h[n+2];
  for(i=0;i<n;i++){
    scanf("%d",&h[i]);
    max+=h[i];
  }
  h[n]=0;
  while(max!=0){
    for(i=0;i<n;i++){
      if(h[i]!=0 && h[i+1]==0)
        count++;
      if(h[i]!=0){
        h[i]--;
        max--;
      }
    }
  }
  printf("%d\n",count);
  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(){
  int n,i,count=0,max=0;
  scanf("%d",&n);
  int h[n+2];
  for(i=0;i<n;i++){
    scanf("%d",&h[i]);
    max+=h[i];
  }
  h[n]=0;
  while(max!=0){
    for(i=0;i<n;i++){
      if(h[i]!=0 && h[i+1]==0)
        count++;
      if(h[i]!=0){
        h[i]--;
        max--;
      }
    }
  }
  printf("%d\n",count);
  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
1 4 2 1
 8
4 23 75 1 23 96 50 100
 5
1 1 2 3 1
 4
1 8 2 1
 8
4 23 75 0 23 97 50 100
 4
1 12 2 1
 8
4 23 136 0 23 97 50 100
 4
1 12 0 2
 8
4 39 136 0 23 97 50 101
 8
4 39 136 0 23 108 50 101

4
 220
 3
 8
 222
 12
 283
 14
 284
 295

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(){
  int n,i,count=0,max=0;
  scanf("%d",&n);
  int h[n+2];
  for(i=0;i<n;i++){
    scanf("%d",&h[i]);
    max+=h[i];
  }
  h[n]=0;
  while(max!=0){
    for(i=0;i<n;i++){
      if(h[i]!=0 && h[i+1]==0)
        count++;
      if(h[i]!=0){
        h[i]--;
        max--;
      }
    }
  }
  printf("%d\n",count);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movq	%rsp, %rsi
	leal	2(%rdx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L32:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L32
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L33
.L4:
	movq	%rsp, %r12
	testl	%edx, %edx
	jle	.L5
	movq	%r12, %r13
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %esi
	addl	0(%r13), %ebx
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L6
	movslq	%esi, %rax
	movl	$0, (%r12,%rax,4)
	testl	%ebx, %ebx
	je	.L15
	leal	-1(%rsi), %eax
	xorl	%r8d, %r8d
	leaq	4(%r12,%rax,4), %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rax
	testl	%esi, %esi
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%rax), %edx
	testl	%edx, %edx
	je	.L10
	cmpl	$1, 4(%rax)
	adcl	$0, %r8d
	subl	$1, %edx
	subl	$1, %ebx
	movl	%edx, (%rax)
.L10:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L12
	testl	%ebx, %ebx
	jne	.L9
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L34
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L33:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	movl	$0, (%r12,%rdx,4)
	xorl	%r8d, %r8d
	jmp	.L8
.L15:
	xorl	%r8d, %r8d
	jmp	.L8
.L34:
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movq	%rsp, %rsi
	leal	2(%rdx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rcx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L32:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L32
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L33
.L4:
	movq	%rsp, %r12
	testl	%edx, %edx
	jle	.L5
	movq	%r12, %r13
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %esi
	addl	0(%r13), %ebx
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L6
	movslq	%esi, %rax
	movl	$0, (%r12,%rax,4)
	testl	%ebx, %ebx
	je	.L15
	leal	-1(%rsi), %eax
	xorl	%r8d, %r8d
	leaq	4(%r12,%rax,4), %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rax
	testl	%esi, %esi
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%rax), %edx
	testl	%edx, %edx
	je	.L10
	cmpl	$1, 4(%rax)
	adcl	$0, %r8d
	subl	$1, %edx
	subl	$1, %ebx
	movl	%edx, (%rax)
.L10:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L12
	testl	%ebx, %ebx
	jne	.L9
.L8:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L34
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L33:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	movl	$0, (%r12,%rdx,4)
	xorl	%r8d, %r8d
	jmp	.L8
.L15:
	xorl	%r8d, %r8d
	jmp	.L8
.L34:
	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:
```