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() {
	int N[4], i;
	int check[4] = {0};
	scanf("%d %d %d %d", &N[0], &N[1], &N[2], &N[3]);	
	for (i = 0; i < 4; i++) {
		if(N[i] == 1) { check[0] += 1; }
		if(N[i] == 4) { check[1] += 1; }
		if(N[i] == 7) { check[2] += 1; }
		if(N[i] == 9) { check[3] += 1; }
	}
	for (i = 0; i < 4; i++) {
		if (check[i] != 1) {
			printf("NO\n");
			return 0;			
		}
	}
	printf("YES\n");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"NO"
.LC2:
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	leaq	-48(%rbp), %rax
	leaq	12(%rax), %rsi
	leaq	-48(%rbp), %rax
	leaq	8(%rax), %rcx
	leaq	-48(%rbp), %rax
	leaq	4(%rax), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -52(%rbp)
	jmp	.L2
.L7:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jne	.L3
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -32(%rbp)
.L3:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$4, %eax
	jne	.L4
	movl	-28(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
.L4:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$7, %eax
	jne	.L5
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
.L5:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$9, %eax
	jne	.L6
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20(%rbp)
.L6:
	addl	$1, -52(%rbp)
.L2:
	cmpl	$3, -52(%rbp)
	jle	.L7
	movl	$0, -52(%rbp)
	jmp	.L8
.L11:
	movl	-52(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	je	.L9
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L12
.L9:
	addl	$1, -52(%rbp)
.L8:
	cmpl	$3, -52(%rbp)
	jle	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L12:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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 %d %d"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.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
	leaq	.LC0(%rip), %rdi
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xorl	%ebx, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	leaq	8(%rsp), %rcx
	leaq	4(%rsp), %rdx
	leaq	12(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	cmpl	$1, %eax
	je	.L53
	cmpl	$4, %eax
	jne	.L54
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	movl	$1, %r8d
	movl	$1, %esi
	xorl	%r10d, %r10d
	xorl	%eax, %eax
.L2:
	movl	4(%rsp), %edi
	cmpl	$1, %edi
	je	.L55
	cmpl	$4, %edi
	jne	.L8
	addl	$1, %esi
	movl	$1, %r8d
.L7:
	movl	8(%rsp), %edi
	cmpl	$1, %edi
	je	.L56
	cmpl	$4, %edi
	jne	.L13
	addl	$1, %esi
	movl	$1, %r8d
.L12:
	movl	12(%rsp), %edi
	cmpl	$1, %edi
	je	.L57
	cmpl	$4, %edi
	je	.L17
	cmpl	$7, %edi
	jne	.L18
	addl	$1, %edx
	testb	%r9b, %r9b
	jne	.L58
.L19:
	movl	$4294967295, %ecx
	salq	$32, %rcx
	andq	%rbx, %rcx
	movq	%rcx, %rbx
	orq	%rdx, %rbx
.L22:
	testb	%r8b, %r8b
	je	.L23
	movq	%rsi, %rbp
	salq	$32, %rbp
.L23:
	testb	%r10b, %r10b
	je	.L24
	movl	$4294967295, %edx
	salq	$32, %rdx
	andq	%rbp, %rdx
	orq	%rax, %rdx
	movq	%rdx, %rbp
.L24:
	cmpl	$1, %ebp
	jne	.L25
	sarq	$32, %rbp
	cmpl	$1, %ebp
	jne	.L25
	cmpl	$1, %ebx
	jne	.L25
	sarq	$32, %rbx
	cmpl	$1, %ebx
	jne	.L25
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L27:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L59
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L54:
	.cfi_restore_state
	cmpl	$7, %eax
	jne	.L4
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	movl	$1, %r11d
	movl	$1, %edx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	jmp	.L2
.L18:
	cmpl	$9, %edi
	jne	.L16
	addl	$1, %ecx
.L20:
	movq	%rcx, %rbx
	salq	$32, %rbx
.L21:
	testb	%r11b, %r11b
	je	.L22
	jmp	.L19
.L17:
	addl	$1, %esi
	movl	$1, %r8d
.L16:
	testb	%r9b, %r9b
	je	.L21
	jmp	.L20
.L8:
	cmpl	$7, %edi
	jne	.L9
	addl	$1, %edx
	movl	$1, %r11d
	jmp	.L7
.L55:
	addl	$1, %eax
	movl	$1, %r10d
	jmp	.L7
.L9:
	cmpl	$9, %edi
	jne	.L7
	addl	$1, %ecx
	movl	$1, %r9d
	jmp	.L7
.L53:
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	movl	$1, %r10d
	jmp	.L2
.L4:
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	cmpl	$9, %eax
	jne	.L51
	movl	$1, %r9d
	movl	$1, %ecx
.L51:
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	jmp	.L2
.L13:
	cmpl	$7, %edi
	jne	.L14
	addl	$1, %edx
	movl	$1, %r11d
	jmp	.L12
.L57:
	addl	$1, %eax
	movl	$1, %r10d
	jmp	.L16
.L56:
	addl	$1, %eax
	movl	$1, %r10d
	jmp	.L12
.L14:
	cmpl	$9, %edi
	jne	.L12
	addl	$1, %ecx
	movl	$1, %r9d
	jmp	.L12
.L25:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L27
.L58:
	movq	%rcx, %rbx
	salq	$32, %rbx
	jmp	.L19
.L59:
	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 %d %d"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.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
	leaq	.LC0(%rip), %rdi
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xorl	%ebx, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	leaq	8(%rsp), %rcx
	leaq	4(%rsp), %rdx
	leaq	12(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	cmpl	$1, %eax
	je	.L53
	cmpl	$4, %eax
	jne	.L54
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	movl	$1, %r8d
	movl	$1, %esi
	xorl	%r10d, %r10d
	xorl	%eax, %eax
.L2:
	movl	4(%rsp), %edi
	cmpl	$1, %edi
	je	.L55
	cmpl	$4, %edi
	jne	.L8
	addl	$1, %esi
	movl	$1, %r8d
.L7:
	movl	8(%rsp), %edi
	cmpl	$1, %edi
	je	.L56
	cmpl	$4, %edi
	jne	.L13
	addl	$1, %esi
	movl	$1, %r8d
.L12:
	movl	12(%rsp), %edi
	cmpl	$1, %edi
	je	.L57
	cmpl	$4, %edi
	je	.L17
	cmpl	$7, %edi
	jne	.L18
	addl	$1, %edx
	testb	%r9b, %r9b
	jne	.L58
.L19:
	movl	$4294967295, %ecx
	salq	$32, %rcx
	andq	%rbx, %rcx
	movq	%rcx, %rbx
	orq	%rdx, %rbx
.L22:
	testb	%r8b, %r8b
	je	.L23
	movq	%rsi, %rbp
	salq	$32, %rbp
.L23:
	testb	%r10b, %r10b
	je	.L24
	movl	$4294967295, %edx
	salq	$32, %rdx
	andq	%rbp, %rdx
	orq	%rax, %rdx
	movq	%rdx, %rbp
.L24:
	cmpl	$1, %ebp
	jne	.L25
	sarq	$32, %rbp
	cmpl	$1, %ebp
	jne	.L25
	cmpl	$1, %ebx
	jne	.L25
	sarq	$32, %rbx
	cmpl	$1, %ebx
	jne	.L25
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L27:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L59
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L54:
	.cfi_restore_state
	cmpl	$7, %eax
	jne	.L4
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	movl	$1, %r11d
	movl	$1, %edx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	jmp	.L2
.L18:
	cmpl	$9, %edi
	jne	.L16
	addl	$1, %ecx
.L20:
	movq	%rcx, %rbx
	salq	$32, %rbx
.L21:
	testb	%r11b, %r11b
	je	.L22
	jmp	.L19
.L17:
	addl	$1, %esi
	movl	$1, %r8d
.L16:
	testb	%r9b, %r9b
	je	.L21
	jmp	.L20
.L8:
	cmpl	$7, %edi
	jne	.L9
	addl	$1, %edx
	movl	$1, %r11d
	jmp	.L7
.L55:
	addl	$1, %eax
	movl	$1, %r10d
	jmp	.L7
.L9:
	cmpl	$9, %edi
	jne	.L7
	addl	$1, %ecx
	movl	$1, %r9d
	jmp	.L7
.L53:
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	movl	$1, %r10d
	jmp	.L2
.L4:
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
	cmpl	$9, %eax
	jne	.L51
	movl	$1, %r9d
	movl	$1, %ecx
.L51:
	xorl	%r11d, %r11d
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	jmp	.L2
.L13:
	cmpl	$7, %edi
	jne	.L14
	addl	$1, %edx
	movl	$1, %r11d
	jmp	.L12
.L57:
	addl	$1, %eax
	movl	$1, %r10d
	jmp	.L16
.L56:
	addl	$1, %eax
	movl	$1, %r10d
	jmp	.L12
.L14:
	cmpl	$9, %edi
	jne	.L12
	addl	$1, %ecx
	movl	$1, %r9d
	jmp	.L12
.L25:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L27
.L58:
	movq	%rcx, %rbx
	salq	$32, %rbx
	jmp	.L19
.L59:
	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() {
	int N[4], i;
	int check[4] = {0};
	scanf("%d %d %d %d", &N[0], &N[1], &N[2], &N[3]);	
	for (i = 0; i < 4; i++) {
		if(N[i] == 1) { check[0] += 1; }
		if(N[i] == 4) { check[1] += 1; }
		if(N[i] == 7) { check[2] += 1; }
		if(N[i] == 9) { check[3] += 1; }
	}
	for (i = 0; i < 4; i++) {
		if (check[i] != 1) {
			printf("NO\n");
			return 0;			
		}
	}
	printf("YES\n");
	return 0;
}
1 9 13 4
 1 2 3 1
 4 9 0 13
 0 7 9 4
 1 9 13 3
 1 3 3 1
 3 9 0 13
 1 12 9 4
 1 9 13 0
 1 2 3 2

NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 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>
int main() {
	int N[4], i;
	int check[4] = {0};
	scanf("%d %d %d %d", &N[0], &N[1], &N[2], &N[3]);	
	for (i = 0; i < 4; i++) {
		if(N[i] == 1) { check[0] += 1; }
		if(N[i] == 4) { check[1] += 1; }
		if(N[i] == 7) { check[2] += 1; }
		if(N[i] == 9) { check[3] += 1; }
	}
	for (i = 0; i < 4; i++) {
		if (check[i] != 1) {
			printf("NO\n");
			return 0;			
		}
	}
	printf("YES\n");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"NO"
.LC2:
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	leaq	-48(%rbp), %rax
	leaq	12(%rax), %rsi
	leaq	-48(%rbp), %rax
	leaq	8(%rax), %rcx
	leaq	-48(%rbp), %rax
	leaq	4(%rax), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -52(%rbp)
	jmp	.L2
.L7:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jne	.L3
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -32(%rbp)
.L3:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$4, %eax
	jne	.L4
	movl	-28(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
.L4:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$7, %eax
	jne	.L5
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
.L5:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$9, %eax
	jne	.L6
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20(%rbp)
.L6:
	addl	$1, -52(%rbp)
.L2:
	cmpl	$3, -52(%rbp)
	jle	.L7
	movl	$0, -52(%rbp)
	jmp	.L8
.L11:
	movl	-52(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	je	.L9
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L12
.L9:
	addl	$1, -52(%rbp)
.L8:
	cmpl	$3, -52(%rbp)
	jle	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L12:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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 %d %d"
.LC1:
	.string	"NO"
.LC2:
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	leaq	-48(%rbp), %rax
	leaq	12(%rax), %rsi
	leaq	-48(%rbp), %rax
	leaq	8(%rax), %rcx
	leaq	-48(%rbp), %rax
	leaq	4(%rax), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -52(%rbp)
	jmp	.L2
.L7:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jne	.L3
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -32(%rbp)
.L3:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$4, %eax
	jne	.L4
	movl	-28(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
.L4:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$7, %eax
	jne	.L5
	movl	-24(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -24(%rbp)
.L5:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	cmpl	$9, %eax
	jne	.L6
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20(%rbp)
.L6:
	addl	$1, -52(%rbp)
.L2:
	cmpl	$3, -52(%rbp)
	jle	.L7
	movl	$0, -52(%rbp)
	jmp	.L8
.L11:
	movl	-52(%rbp), %eax
	cltq
	movl	-32(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	je	.L9
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L12
.L9:
	addl	$1, -52(%rbp)
.L8:
	cmpl	$3, -52(%rbp)
	jle	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L12:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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:
