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>
int main(void) {
	int N;
	scanf("%d", &N);
	int s[100];
	int sum = 0;
	int min = 100;
	for (int i = 0; i < N; i++) {
		scanf("%d", &s[i]);
		sum += s[i];
	}
	/* ↑総和を求める */

	/*  ↓総和が10の倍数ならば10の倍数でない最小値を探し総和から引く　そうでないならsum出力　すべて10の倍数のときは0出力 */
	
	if (sum % 10 == 0){

		for (int i = 0; i < N; i++){
			if (s[i] % 10 == 0){
				s[i] = 0;
			}
		}

		for (int i = 0; i < N; i++){
			if (s[i] < min&&s[i] != 0){
				min = s[i];
			}
		}

		if (min != 100){
			printf("%d", sum - min);
		}
		else{
			printf("%d", 0);
		}

	}
	else{
		printf("%d", sum);
	}




	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -436(%rbp)
	movl	$100, -432(%rbp)
	movl	$0, -428(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-428(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	addl	%eax, -436(%rbp)
	addl	$1, -428(%rbp)
.L2:
	movl	-440(%rbp), %eax
	cmpl	%eax, -428(%rbp)
	jl	.L3
	movl	-436(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	testl	%edx, %edx
	jne	.L4
	movl	$0, -424(%rbp)
	jmp	.L5
.L7:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	testl	%edx, %edx
	jne	.L6
	movl	-424(%rbp), %eax
	cltq
	movl	$0, -416(%rbp,%rax,4)
.L6:
	addl	$1, -424(%rbp)
.L5:
	movl	-440(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L7
	movl	$0, -420(%rbp)
	jmp	.L8
.L10:
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	cmpl	%eax, -432(%rbp)
	jle	.L9
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L9
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	%eax, -432(%rbp)
.L9:
	addl	$1, -420(%rbp)
.L8:
	movl	-440(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L10
	cmpl	$100, -432(%rbp)
	je	.L11
	movl	-436(%rbp), %eax
	subl	-432(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movl	$0, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L4:
	movl	-436(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$432, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %edx
	movl	12(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %edx
	movl	%edx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	imull	$-858993459, %edx, %ecx
	addl	$429496728, %ecx
	rorl	%ecx
	cmpl	$429496728, %ecx
	ja	.L4
	testl	%eax, %eax
	jle	.L10
	subl	$1, %eax
	movq	%r13, %rcx
	leaq	20(%rsp,%rax,4), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	imull	$-858993459, (%rcx), %eax
	addl	$429496728, %eax
	rorl	%eax
	cmpl	$429496728, %eax
	ja	.L5
	movl	$0, (%rcx)
.L5:
	addq	$4, %rcx
	cmpq	%rsi, %rcx
	jne	.L6
	movl	$100, %ecx
	.p2align 4,,10
	.p2align 3
.L9:
	movl	0(%rbp), %eax
	cmpl	%ecx, %eax
	jge	.L7
	testl	%eax, %eax
	cmovne	%eax, %ecx
.L7:
	addq	$4, %rbp
	cmpq	%rsi, %rbp
	jne	.L9
	cmpl	$100, %ecx
	je	.L10
	subl	%ecx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L4:
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L26:
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%r14, %rdi
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$432, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	leaq	16(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movl	0(%r13,%rbx,4), %edx
	movl	12(%rsp), %eax
	addq	$1, %rbx
	addl	%r12d, %edx
	movl	%edx, %r12d
	cmpl	%ebx, %eax
	jg	.L3
	imull	$-858993459, %edx, %ecx
	addl	$429496728, %ecx
	rorl	%ecx
	cmpl	$429496728, %ecx
	ja	.L4
	testl	%eax, %eax
	jle	.L10
	subl	$1, %eax
	movq	%r13, %rcx
	leaq	20(%rsp,%rax,4), %rsi
	.p2align 4,,10
	.p2align 3
.L6:
	imull	$-858993459, (%rcx), %eax
	addl	$429496728, %eax
	rorl	%eax
	cmpl	$429496728, %eax
	ja	.L5
	movl	$0, (%rcx)
.L5:
	addq	$4, %rcx
	cmpq	%rsi, %rcx
	jne	.L6
	movl	$100, %ecx
	.p2align 4,,10
	.p2align 3
.L9:
	movl	0(%rbp), %eax
	cmpl	%ecx, %eax
	jge	.L7
	testl	%eax, %eax
	cmovne	%eax, %ecx
.L7:
	addq	$4, %rbp
	cmpq	%rsi, %rbp
	jne	.L9
	cmpl	$100, %ecx
	je	.L10
	subl	%ecx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	xorl	%edx, %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L4:
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L26:
	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>
int main(void) {
	int N;
	scanf("%d", &N);
	int s[100];
	int sum = 0;
	int min = 100;
	for (int i = 0; i < N; i++) {
		scanf("%d", &s[i]);
		sum += s[i];
	}
	/* ↑総和を求める */

	/*  ↓総和が10の倍数ならば10の倍数でない最小値を探し総和から引く　そうでないならsum出力　すべて10の倍数のときは0出力 */
	
	if (sum % 10 == 0){

		for (int i = 0; i < N; i++){
			if (s[i] % 10 == 0){
				s[i] = 0;
			}
		}

		for (int i = 0; i < N; i++){
			if (s[i] < min&&s[i] != 0){
				min = s[i];
			}
		}

		if (min != 100){
			printf("%d", sum - min);
		}
		else{
			printf("%d", 0);
		}

	}
	else{
		printf("%d", sum);
	}




	return 0;
}
3
4
10
15
 3
10
20
40
 3
5
10
12
 3
8
10
15
 3
7
20
40
 3
5
10
8
 3
1
10
15
 3
7
34
40
 3
5
10
10
 3
7
38
40

29 0 27 33 67 23 26 81 25 85
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>
int main(void) {
	int N;
	scanf("%d", &N);
	int s[100];
	int sum = 0;
	int min = 100;
	for (int i = 0; i < N; i++) {
		scanf("%d", &s[i]);
		sum += s[i];
	}
	/* ↑総和を求める */

	/*  ↓総和が10の倍数ならば10の倍数でない最小値を探し総和から引く　そうでないならsum出力　すべて10の倍数のときは0出力 */
	
	if (sum % 10 == 0){

		for (int i = 0; i < N; i++){
			if (s[i] % 10 == 0){
				s[i] = 0;
			}
		}

		for (int i = 0; i < N; i++){
			if (s[i] < min&&s[i] != 0){
				min = s[i];
			}
		}

		if (min != 100){
			printf("%d", sum - min);
		}
		else{
			printf("%d", 0);
		}

	}
	else{
		printf("%d", sum);
	}




	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -436(%rbp)
	movl	$100, -432(%rbp)
	movl	$0, -428(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-428(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	addl	%eax, -436(%rbp)
	addl	$1, -428(%rbp)
.L2:
	movl	-440(%rbp), %eax
	cmpl	%eax, -428(%rbp)
	jl	.L3
	movl	-436(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	testl	%edx, %edx
	jne	.L4
	movl	$0, -424(%rbp)
	jmp	.L5
.L7:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	testl	%edx, %edx
	jne	.L6
	movl	-424(%rbp), %eax
	cltq
	movl	$0, -416(%rbp,%rax,4)
.L6:
	addl	$1, -424(%rbp)
.L5:
	movl	-440(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L7
	movl	$0, -420(%rbp)
	jmp	.L8
.L10:
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	cmpl	%eax, -432(%rbp)
	jle	.L9
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L9
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	%eax, -432(%rbp)
.L9:
	addl	$1, -420(%rbp)
.L8:
	movl	-440(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L10
	cmpl	$100, -432(%rbp)
	je	.L11
	movl	-436(%rbp), %eax
	subl	-432(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movl	$0, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L4:
	movl	-436(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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"
	.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
	leaq	-440(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -436(%rbp)
	movl	$100, -432(%rbp)
	movl	$0, -428(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-428(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-428(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	addl	%eax, -436(%rbp)
	addl	$1, -428(%rbp)
.L2:
	movl	-440(%rbp), %eax
	cmpl	%eax, -428(%rbp)
	jl	.L3
	movl	-436(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	testl	%edx, %edx
	jne	.L4
	movl	$0, -424(%rbp)
	jmp	.L5
.L7:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	testl	%edx, %edx
	jne	.L6
	movl	-424(%rbp), %eax
	cltq
	movl	$0, -416(%rbp,%rax,4)
.L6:
	addl	$1, -424(%rbp)
.L5:
	movl	-440(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L7
	movl	$0, -420(%rbp)
	jmp	.L8
.L10:
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	cmpl	%eax, -432(%rbp)
	jle	.L9
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L9
	movl	-420(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	%eax, -432(%rbp)
.L9:
	addl	$1, -420(%rbp)
.L8:
	movl	-440(%rbp), %eax
	cmpl	%eax, -420(%rbp)
	jl	.L10
	cmpl	$100, -432(%rbp)
	je	.L11
	movl	-436(%rbp), %eax
	subl	-432(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movl	$0, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L4:
	movl	-436(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
