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>
#define SIZE 100

int main(void)
{
	int n, k, b, err;
	int i, j;
	int s[SIZE];

	while (1) {
		scanf("%d%d", &n, &k);
		if (n == 0 && k == 0) break;
		err = 0;
		for (i  = 0; i < SIZE; i++)
			s[i] = 0;
		for (i = 0; i < k; i++)
			scanf("%d", &s[i]);
		for (i = 0; i < n; i++) 
			for (j = 0; j < k; j++) {
				scanf("%d", &b);
				s[j] -= b;
			}
		for (i = 0; i < k; i++)
			if (s[i] < 0) {
				err = 1;
				break;
			}
		if (err) 
			puts("No");
		else
			puts("Yes");
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$448, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L18:
	leaq	-436(%rbp), %rdx
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-440(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-436(%rbp), %eax
	testl	%eax, %eax
	je	.L22
.L2:
	movl	$0, -428(%rbp)
	movl	$0, -424(%rbp)
	jmp	.L4
.L5:
	movl	-424(%rbp), %eax
	cltq
	movl	$0, -416(%rbp,%rax,4)
	addl	$1, -424(%rbp)
.L4:
	cmpl	$99, -424(%rbp)
	jle	.L5
	movl	$0, -424(%rbp)
	jmp	.L6
.L7:
	leaq	-416(%rbp), %rdx
	movl	-424(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -424(%rbp)
.L6:
	movl	-436(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L7
	movl	$0, -424(%rbp)
	jmp	.L8
.L11:
	movl	$0, -420(%rbp)
	jmp	.L9
.L10:
	leaq	-432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	-432(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-420(%rbp), %eax
	cltq
	movl	%edx, -416(%rbp,%rax,4)
	addl	$1, -420(%rbp)
.L9:
	movl	-436(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L10
	addl	$1, -424(%rbp)
.L8:
	movl	-440(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L11
	movl	$0, -424(%rbp)
	jmp	.L12
.L15:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jns	.L13
	movl	$1, -428(%rbp)
	jmp	.L14
.L13:
	addl	$1, -424(%rbp)
.L12:
	movl	-436(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L15
.L14:
	cmpl	$0, -428(%rbp)
	je	.L16
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L18
.L16:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L18
.L22:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%d"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC1(%rip), %rbx
	subq	$456, %rsp
	.cfi_def_cfa_offset 512
	movq	%fs:40, %rax
	movq	%rax, 440(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, (%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	(%rsp), %rdx
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	24(%rsp), %esi
	movl	%edx, %eax
	orl	%esi, %eax
	je	.L3
	leaq	32(%rsp), %r12
	movl	$50, %ecx
	xorl	%eax, %eax
	movq	%r12, %rdi
	rep stosq
	testl	%esi, %esi
	jle	.L4
	movq	%r12, %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %esi
	addq	$4, %r13
	cmpl	%ebp, %esi
	jg	.L5
	movl	20(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L7
.L6:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L9:
	testl	%esi, %esi
	jle	.L11
	movq	%r12, %r15
	xorl	%r14d, %r14d
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %esi
	movl	28(%rsp), %eax
	subl	%eax, (%r15)
	addq	$4, %r15
	cmpl	%r14d, %esi
	jg	.L8
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L9
.L7:
	testl	%esi, %esi
	jle	.L11
	leal	-1(%rsi), %eax
	leaq	36(%rsp,%rax,4), %rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	addq	$4, %r12
	cmpq	%rax, %r12
	je	.L11
.L13:
	movl	(%r12), %edx
	testl	%edx, %edx
	jns	.L23
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L4:
	testl	%edx, %edx
	jg	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L3:
	movq	440(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$456, %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
.L24:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	.LC1(%rip), %rbx
	subq	$456, %rsp
	.cfi_def_cfa_offset 512
	movq	%fs:40, %rax
	movq	%rax, 440(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, (%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	(%rsp), %rdx
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %edx
	movl	24(%rsp), %esi
	movl	%edx, %eax
	orl	%esi, %eax
	je	.L3
	leaq	32(%rsp), %r12
	movl	$50, %ecx
	xorl	%eax, %eax
	movq	%r12, %rdi
	rep stosq
	testl	%esi, %esi
	jle	.L4
	movq	%r12, %r13
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %esi
	addq	$4, %r13
	cmpl	%ebp, %esi
	jg	.L5
	movl	20(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L7
.L6:
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L9:
	testl	%esi, %esi
	jle	.L11
	movq	%r12, %r15
	xorl	%r14d, %r14d
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %esi
	movl	28(%rsp), %eax
	subl	%eax, (%r15)
	addq	$4, %r15
	cmpl	%r14d, %esi
	jg	.L8
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L9
.L7:
	testl	%esi, %esi
	jle	.L11
	leal	-1(%rsi), %eax
	leaq	36(%rsp,%rax,4), %rax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	addq	$4, %r12
	cmpq	%rax, %r12
	je	.L11
.L13:
	movl	(%r12), %edx
	testl	%edx, %edx
	jns	.L23
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L4:
	testl	%edx, %edx
	jg	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L3:
	movq	440(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$456, %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
.L24:
	.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:

#include <stdio.h>
#define SIZE 100

int main(void)
{
	int n, k, b, err;
	int i, j;
	int s[SIZE];

	while (1) {
		scanf("%d%d", &n, &k);
		if (n == 0 && k == 0) break;
		err = 0;
		for (i  = 0; i < SIZE; i++)
			s[i] = 0;
		for (i = 0; i < k; i++)
			scanf("%d", &s[i]);
		for (i = 0; i < n; i++) 
			for (j = 0; j < k; j++) {
				scanf("%d", &b);
				s[j] -= b;
			}
		for (i = 0; i < k; i++)
			if (s[i] < 0) {
				err = 1;
				break;
			}
		if (err) 
			puts("No");
		else
			puts("Yes");
	}

	return 0;
}
2 3
5 4 5
1 2 3
3 2 1
3 5
1 2 3 4 5
-1 1 0 1 2
0 1 1 2 2
1 0 3 1 1
0 0
 2 3
5 4 5
1 2 3
3 2 1
3 5
1 2 3 4 5
0 1 -1 1 2
0 1 1 2 2
1 0 3 1 1
0 0
 2 3
2 4 5
1 2 3
3 2 1
3 5
1 2 3 4 5
-1 1 0 1 2
0 1 1 2 2
1 0 3 1 1
0 0
 2 3
5 4 5
1 2 3
3 4 1
3 5
1 2 3 7 5
1 1 -1 1 2
-1 1 1 0 2
1 0 3 1 1
0 0
 2 3
5 4 5
1 1 3
3 2 1
3 5
1 2 3 4 5
-1 1 0 1 2
0 1 1 2 2
1 0 3 1 1
0 0
 2 3
5 4 6
1 1 3
3 2 1
3 5
1 2 3 4 5
-1 1 0 1 2
0 1 1 2 2
1 0 3 1 1
0 0
 2 3
5 4 6
1 1 3
3 2 1
3 5
1 2 3 6 5
-1 1 0 1 2
0 1 1 2 2
1 0 3 1 1
0 0
 2 3
5 4 6
1 1 3
3 2 1
3 5
1 2 3 6 5
-1 1 0 1 2
0 0 1 2 2
1 0 3 1 1
0 0
 2 3
5 4 6
1 1 3
3 2 1
3 5
1 2 3 6 5
-1 1 0 1 2
0 0 1 2 2
1 0 3 0 1
0 0
 2 3
5 4 5
1 1 4
3 2 1
3 5
1 2 3 4 5
-1 1 0 1 2
0 1 1 2 2
1 0 3 1 1
0 0

Yes
No
 Yes
Yes
 No
No
 No
Yes
 Yes
No
 Yes
No
 Yes
No
 Yes
No
 Yes
No
 Yes
No

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>
#define SIZE 100

int main(void)
{
	int n, k, b, err;
	int i, j;
	int s[SIZE];

	while (1) {
		scanf("%d%d", &n, &k);
		if (n == 0 && k == 0) break;
		err = 0;
		for (i  = 0; i < SIZE; i++)
			s[i] = 0;
		for (i = 0; i < k; i++)
			scanf("%d", &s[i]);
		for (i = 0; i < n; i++) 
			for (j = 0; j < k; j++) {
				scanf("%d", &b);
				s[j] -= b;
			}
		for (i = 0; i < k; i++)
			if (s[i] < 0) {
				err = 1;
				break;
			}
		if (err) 
			puts("No");
		else
			puts("Yes");
	}

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$448, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L18:
	leaq	-436(%rbp), %rdx
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-440(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-436(%rbp), %eax
	testl	%eax, %eax
	je	.L22
.L2:
	movl	$0, -428(%rbp)
	movl	$0, -424(%rbp)
	jmp	.L4
.L5:
	movl	-424(%rbp), %eax
	cltq
	movl	$0, -416(%rbp,%rax,4)
	addl	$1, -424(%rbp)
.L4:
	cmpl	$99, -424(%rbp)
	jle	.L5
	movl	$0, -424(%rbp)
	jmp	.L6
.L7:
	leaq	-416(%rbp), %rdx
	movl	-424(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -424(%rbp)
.L6:
	movl	-436(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L7
	movl	$0, -424(%rbp)
	jmp	.L8
.L11:
	movl	$0, -420(%rbp)
	jmp	.L9
.L10:
	leaq	-432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	-432(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-420(%rbp), %eax
	cltq
	movl	%edx, -416(%rbp,%rax,4)
	addl	$1, -420(%rbp)
.L9:
	movl	-436(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L10
	addl	$1, -424(%rbp)
.L8:
	movl	-440(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L11
	movl	$0, -424(%rbp)
	jmp	.L12
.L15:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jns	.L13
	movl	$1, -428(%rbp)
	jmp	.L14
.L13:
	addl	$1, -424(%rbp)
.L12:
	movl	-436(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L15
.L14:
	cmpl	$0, -428(%rbp)
	je	.L16
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L18
.L16:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L18
.L22:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%d"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$448, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L18:
	leaq	-436(%rbp), %rdx
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-440(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-436(%rbp), %eax
	testl	%eax, %eax
	je	.L22
.L2:
	movl	$0, -428(%rbp)
	movl	$0, -424(%rbp)
	jmp	.L4
.L5:
	movl	-424(%rbp), %eax
	cltq
	movl	$0, -416(%rbp,%rax,4)
	addl	$1, -424(%rbp)
.L4:
	cmpl	$99, -424(%rbp)
	jle	.L5
	movl	$0, -424(%rbp)
	jmp	.L6
.L7:
	leaq	-416(%rbp), %rdx
	movl	-424(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -424(%rbp)
.L6:
	movl	-436(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L7
	movl	$0, -424(%rbp)
	jmp	.L8
.L11:
	movl	$0, -420(%rbp)
	jmp	.L9
.L10:
	leaq	-432(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	-432(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-420(%rbp), %eax
	cltq
	movl	%edx, -416(%rbp,%rax,4)
	addl	$1, -420(%rbp)
.L9:
	movl	-436(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L10
	addl	$1, -424(%rbp)
.L8:
	movl	-440(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L11
	movl	$0, -424(%rbp)
	jmp	.L12
.L15:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jns	.L13
	movl	$1, -428(%rbp)
	jmp	.L14
.L13:
	addl	$1, -424(%rbp)
.L12:
	movl	-436(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L15
.L14:
	cmpl	$0, -428(%rbp)
	je	.L16
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L18
.L16:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L18
.L22:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
