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>
#define min(x, y) ((x)>(y) ? (y) : (x))

int main(){
  int n;  scanf("%d", &n);
  int h[102] = {0};
  for(int i=1; i<=n; i++)  scanf("%d", h+i);
  int ans = 0, running = 1;
  while(running){
    running = 0;
    int start = 1,  mini = 102;
    while(h[start] == 0)  start++;
    for(int i=start; i<=n+1; i++)
      if(h[i] != 0){
	running = 1;
	mini = min(mini, h[i]);
      }else if(mini != 102){
	for(int j=i-1; h[j]!=0; j--)
	  h[j] -= mini;
	ans += mini;
	mini = 102;
      }
  }
  printf("%d\n", ans);
  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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	xorl	%eax, %eax
	movq	%rbx, %rdi
	movl	$51, %ecx
	rep stosq
	testl	%r9d, %r9d
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r12
	cmpl	%ebp, %r9d
	jge	.L3
.L2:
	leal	1(%r9), %ebp
	xorl	%r11d, %r11d
	movl	$1, %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %esi
.L4:
	movslq	%esi, %rax
	movl	16(%rsp,%rax,4), %edx
	testl	%edx, %edx
	je	.L5
	cmpl	%esi, %ebp
	jl	.L6
	leal	-1(%rsi), %r10d
	leaq	(%rbx,%rax,4), %rdi
	movl	$102, %ecx
	xorl	%esi, %esi
	movq	%r10, %r8
	subq	%rax, %r10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%eax, %ecx
	movl	$1, %esi
	cmovg	%eax, %ecx
.L8:
	addq	$4, %rdi
	leal	1(%r8), %eax
	cmpl	%r9d, %r8d
	je	.L24
.L15:
	movl	%eax, %r8d
.L11:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	.L25
	cmpl	$102, %ecx
	je	.L8
	movl	(%rdi,%r10,4), %eax
	movq	%rdi, %rdx
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	subl	%ecx, %eax
	subq	$4, %rdx
	movl	%eax, (%rdx)
	movl	-4(%rdx), %eax
	testl	%eax, %eax
	jne	.L9
.L10:
	addl	%ecx, %r11d
	addq	$4, %rdi
	leal	1(%r8), %eax
	movl	$102, %ecx
	cmpl	%r9d, %r8d
	jne	.L15
.L24:
	testl	%esi, %esi
	jne	.L4
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L26:
	.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:
```

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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	xorl	%eax, %eax
	movq	%rbx, %rdi
	movl	$51, %ecx
	rep stosq
	testl	%r9d, %r9d
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r12
	cmpl	%ebp, %r9d
	jge	.L3
.L2:
	leal	1(%r9), %ebp
	xorl	%r11d, %r11d
	movl	$1, %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %esi
.L4:
	movslq	%esi, %rax
	movl	16(%rsp,%rax,4), %edx
	testl	%edx, %edx
	je	.L5
	cmpl	%esi, %ebp
	jl	.L6
	leal	-1(%rsi), %r10d
	leaq	(%rbx,%rax,4), %rdi
	movl	$102, %ecx
	xorl	%esi, %esi
	movq	%r10, %r8
	subq	%rax, %r10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%eax, %ecx
	movl	$1, %esi
	cmovg	%eax, %ecx
.L8:
	addq	$4, %rdi
	leal	1(%r8), %eax
	cmpl	%r9d, %r8d
	je	.L24
.L15:
	movl	%eax, %r8d
.L11:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	.L25
	cmpl	$102, %ecx
	je	.L8
	movl	(%rdi,%r10,4), %eax
	movq	%rdi, %rdx
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	subl	%ecx, %eax
	subq	$4, %rdx
	movl	%eax, (%rdx)
	movl	-4(%rdx), %eax
	testl	%eax, %eax
	jne	.L9
.L10:
	addl	%ecx, %r11d
	addq	$4, %rdi
	leal	1(%r8), %eax
	movl	$102, %ecx
	cmpl	%r9d, %r8d
	jne	.L15
.L24:
	testl	%esi, %esi
	jne	.L4
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L26:
	.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
```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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	xorl	%eax, %eax
	movq	%rbx, %rdi
	movl	$51, %ecx
	rep stosq
	testl	%r9d, %r9d
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r12
	cmpl	%ebp, %r9d
	jge	.L3
.L2:
	leal	1(%r9), %ebp
	xorl	%r11d, %r11d
	movl	$1, %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %esi
.L4:
	movslq	%esi, %rax
	movl	16(%rsp,%rax,4), %edx
	testl	%edx, %edx
	je	.L5
	cmpl	%esi, %ebp
	jl	.L6
	leal	-1(%rsi), %r10d
	leaq	(%rbx,%rax,4), %rdi
	movl	$102, %ecx
	xorl	%esi, %esi
	movq	%r10, %r8
	subq	%rax, %r10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%eax, %ecx
	movl	$1, %esi
	cmovg	%eax, %ecx
.L8:
	addq	$4, %rdi
	leal	1(%r8), %eax
	cmpl	%r9d, %r8d
	je	.L24
.L15:
	movl	%eax, %r8d
.L11:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	.L25
	cmpl	$102, %ecx
	je	.L8
	movl	(%rdi,%r10,4), %eax
	movq	%rdi, %rdx
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	subl	%ecx, %eax
	subq	$4, %rdx
	movl	%eax, (%rdx)
	movl	-4(%rdx), %eax
	testl	%eax, %eax
	jne	.L9
.L10:
	addl	%ecx, %r11d
	addq	$4, %rdi
	leal	1(%r8), %eax
	movl	$102, %ecx
	cmpl	%r9d, %r8d
	jne	.L15
.L24:
	testl	%esi, %esi
	jne	.L4
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L26:
	.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:
```
```c
#include <stdio.h>
#define min(x, y) ((x)>(y) ? (y) : (x))

int main(){
  int n;  scanf("%d", &n);
  int h[102] = {0};
  for(int i=1; i<=n; i++)  scanf("%d", h+i);
  int ans = 0, running = 1;
  while(running){
    running = 0;
    int start = 1,  mini = 102;
    while(h[start] == 0)  start++;
    for(int i=start; i<=n+1; i++)
      if(h[i] != 0){
	running = 1;
	mini = min(mini, h[i]);
      }else if(mini != 102){
	for(int j=i-1; h[j]!=0; j--)
	  h[j] -= mini;
	ans += mini;
	mini = 102;
      }
  }
  printf("%d\n", ans);
  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#define min(x, y) ((x)>(y) ? (y) : (x))

int main(){
  int n;  scanf("%d", &n);
  int h[102] = {0};
  for(int i=1; i<=n; i++)  scanf("%d", h+i);
  int ans = 0, running = 1;
  while(running){
    running = 0;
    int start = 1,  mini = 102;
    while(h[start] == 0)  start++;
    for(int i=start; i<=n+1; i++)
      if(h[i] != 0){
	running = 1;
	mini = min(mini, h[i]);
      }else if(mini != 102){
	for(int j=i-1; h[j]!=0; j--)
	  h[j] -= mini;
	ans += mini;
	mini = 102;
      }
  }
  printf("%d\n", ans);
  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

4
 220
 3
 8
 222
 12

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>
#define min(x, y) ((x)>(y) ? (y) : (x))

int main(){
  int n;  scanf("%d", &n);
  int h[102] = {0};
  for(int i=1; i<=n; i++)  scanf("%d", h+i);
  int ans = 0, running = 1;
  while(running){
    running = 0;
    int start = 1,  mini = 102;
    while(h[start] == 0)  start++;
    for(int i=start; i<=n+1; i++)
      if(h[i] != 0){
	running = 1;
	mini = min(mini, h[i]);
      }else if(mini != 102){
	for(int j=i-1; h[j]!=0; j--)
	  h[j] -= mini;
	ans += mini;
	mini = 102;
      }
  }
  printf("%d\n", ans);
  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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	xorl	%eax, %eax
	movq	%rbx, %rdi
	movl	$51, %ecx
	rep stosq
	testl	%r9d, %r9d
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r12
	cmpl	%ebp, %r9d
	jge	.L3
.L2:
	leal	1(%r9), %ebp
	xorl	%r11d, %r11d
	movl	$1, %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %esi
.L4:
	movslq	%esi, %rax
	movl	16(%rsp,%rax,4), %edx
	testl	%edx, %edx
	je	.L5
	cmpl	%esi, %ebp
	jl	.L6
	leal	-1(%rsi), %r10d
	leaq	(%rbx,%rax,4), %rdi
	movl	$102, %ecx
	xorl	%esi, %esi
	movq	%r10, %r8
	subq	%rax, %r10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%eax, %ecx
	movl	$1, %esi
	cmovg	%eax, %ecx
.L8:
	addq	$4, %rdi
	leal	1(%r8), %eax
	cmpl	%r9d, %r8d
	je	.L24
.L15:
	movl	%eax, %r8d
.L11:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	.L25
	cmpl	$102, %ecx
	je	.L8
	movl	(%rdi,%r10,4), %eax
	movq	%rdi, %rdx
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	subl	%ecx, %eax
	subq	$4, %rdx
	movl	%eax, (%rdx)
	movl	-4(%rdx), %eax
	testl	%eax, %eax
	jne	.L9
.L10:
	addl	%ecx, %r11d
	addq	$4, %rdi
	leal	1(%r8), %eax
	movl	$102, %ecx
	cmpl	%r9d, %r8d
	jne	.L15
.L24:
	testl	%esi, %esi
	jne	.L4
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L26:
	.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:
```

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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	xorl	%eax, %eax
	movq	%rbx, %rdi
	movl	$51, %ecx
	rep stosq
	testl	%r9d, %r9d
	jle	.L2
	leaq	20(%rsp), %r12
	movl	$1, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r12
	cmpl	%ebp, %r9d
	jge	.L3
.L2:
	leal	1(%r9), %ebp
	xorl	%r11d, %r11d
	movl	$1, %esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %esi
.L4:
	movslq	%esi, %rax
	movl	16(%rsp,%rax,4), %edx
	testl	%edx, %edx
	je	.L5
	cmpl	%esi, %ebp
	jl	.L6
	leal	-1(%rsi), %r10d
	leaq	(%rbx,%rax,4), %rdi
	movl	$102, %ecx
	xorl	%esi, %esi
	movq	%r10, %r8
	subq	%rax, %r10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L25:
	cmpl	%eax, %ecx
	movl	$1, %esi
	cmovg	%eax, %ecx
.L8:
	addq	$4, %rdi
	leal	1(%r8), %eax
	cmpl	%r9d, %r8d
	je	.L24
.L15:
	movl	%eax, %r8d
.L11:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	.L25
	cmpl	$102, %ecx
	je	.L8
	movl	(%rdi,%r10,4), %eax
	movq	%rdi, %rdx
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	subl	%ecx, %eax
	subq	$4, %rdx
	movl	%eax, (%rdx)
	movl	-4(%rdx), %eax
	testl	%eax, %eax
	jne	.L9
.L10:
	addl	%ecx, %r11d
	addq	$4, %rdi
	leal	1(%r8), %eax
	movl	$102, %ecx
	cmpl	%r9d, %r8d
	jne	.L15
.L24:
	testl	%esi, %esi
	jne	.L4
.L6:
	xorl	%eax, %eax
	movl	%r11d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L26:
	.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:
```