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;
	scanf("%d", &N);

	int i, j, k, flag[100001] = {1};
	for (i = 0; flag[N] == 0; i++) {
		for (j = N; j > 0; j--) {
			if (flag[j] == 1) continue;
			else if (flag[j-1] == 1) flag[j] = 1;
			else {
				for (k = 6; k <= j; k *= 6) flag[j] |= flag[j-k];
				for (k = 9; k <= j; k *= 9) flag[j] |= flag[j-k];
			}
		}
	}
	
	printf("%d\n", i);
	fflush(stdout);
	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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397336
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rcx
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	call	memset@PLT
	movslq	12(%rsp), %r11
	movl	$1, 16(%rsp)
	movl	16(%rsp,%r11,4), %edx
	testl	%edx, %edx
	jne	.L15
	movq	%r11, %rbx
	leaq	(%rax,%r11,4), %rbp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r11, %r9
	xorl	%edx, %edx
	testl	%ebx, %ebx
	jg	.L11
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$1, (%rsi)
.L5:
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jle	.L10
.L27:
	movl	(%rsi), %edx
.L11:
	movl	%r9d, %edi
	cmpl	$1, %edx
	je	.L5
	cmpl	$1, -4(%rsi)
	je	.L6
	movl	%r9d, %r8d
	movl	$6, %eax
	cmpl	$5, %r9d
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	addl	%eax, %eax
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L7
	cmpl	$8, %r8d
	jle	.L5
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L9
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jg	.L27
.L10:
	movl	16(%rsp,%r11,4), %eax
	addl	$1, %r10d
	testl	%eax, %eax
	je	.L3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movl	%r10d, %edx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400040, %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
.L26:
	.cfi_restore_state
	addl	$1, %r10d
	jmp	.L3
.L15:
	xorl	%r10d, %r10d
	jmp	.L2
.L28:
	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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397336
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rcx
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	call	memset@PLT
	movslq	12(%rsp), %r11
	movl	$1, 16(%rsp)
	movl	16(%rsp,%r11,4), %edx
	testl	%edx, %edx
	jne	.L15
	movq	%r11, %rbx
	leaq	(%rax,%r11,4), %rbp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r11, %r9
	xorl	%edx, %edx
	testl	%ebx, %ebx
	jg	.L11
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$1, (%rsi)
.L5:
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jle	.L10
.L27:
	movl	(%rsi), %edx
.L11:
	movl	%r9d, %edi
	cmpl	$1, %edx
	je	.L5
	cmpl	$1, -4(%rsi)
	je	.L6
	movl	%r9d, %r8d
	movl	$6, %eax
	cmpl	$5, %r9d
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	addl	%eax, %eax
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L7
	cmpl	$8, %r8d
	jle	.L5
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L9
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jg	.L27
.L10:
	movl	16(%rsp,%r11,4), %eax
	addl	$1, %r10d
	testl	%eax, %eax
	je	.L3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movl	%r10d, %edx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400040, %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
.L26:
	.cfi_restore_state
	addl	$1, %r10d
	jmp	.L3
.L15:
	xorl	%r10d, %r10d
	jmp	.L2
.L28:
	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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397336
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rcx
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	call	memset@PLT
	movslq	12(%rsp), %r11
	movl	$1, 16(%rsp)
	movl	16(%rsp,%r11,4), %edx
	testl	%edx, %edx
	jne	.L15
	movq	%r11, %rbx
	leaq	(%rax,%r11,4), %rbp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r11, %r9
	xorl	%edx, %edx
	testl	%ebx, %ebx
	jg	.L11
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$1, (%rsi)
.L5:
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jle	.L10
.L27:
	movl	(%rsi), %edx
.L11:
	movl	%r9d, %edi
	cmpl	$1, %edx
	je	.L5
	cmpl	$1, -4(%rsi)
	je	.L6
	movl	%r9d, %r8d
	movl	$6, %eax
	cmpl	$5, %r9d
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	addl	%eax, %eax
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L7
	cmpl	$8, %r8d
	jle	.L5
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L9
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jg	.L27
.L10:
	movl	16(%rsp,%r11,4), %eax
	addl	$1, %r10d
	testl	%eax, %eax
	je	.L3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movl	%r10d, %edx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400040, %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
.L26:
	.cfi_restore_state
	addl	$1, %r10d
	jmp	.L3
.L15:
	xorl	%r10d, %r10d
	jmp	.L2
.L28:
	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;
	scanf("%d", &N);

	int i, j, k, flag[100001] = {1};
	for (i = 0; flag[N] == 0; i++) {
		for (j = N; j > 0; j--) {
			if (flag[j] == 1) continue;
			else if (flag[j-1] == 1) flag[j] = 1;
			else {
				for (k = 6; k <= j; k *= 6) flag[j] |= flag[j-k];
				for (k = 9; k <= j; k *= 9) flag[j] |= flag[j-k];
			}
		}
	}
	
	printf("%d\n", i);
	fflush(stdout);
	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;
	scanf("%d", &N);

	int i, j, k, flag[100001] = {1};
	for (i = 0; flag[N] == 0; i++) {
		for (j = N; j > 0; j--) {
			if (flag[j] == 1) continue;
			else if (flag[j-1] == 1) flag[j] = 1;
			else {
				for (k = 6; k <= j; k *= 6) flag[j] |= flag[j-k];
				for (k = 9; k <= j; k *= 9) flag[j] |= flag[j-k];
			}
		}
	}
	
	printf("%d\n", i);
	fflush(stdout);
	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:

1
 66223
 181
 0
 179
 18
 18666
 7553
 8
 105

1
 9
 5
 0
 6
 2
 8
 7
 3
 4

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;
	scanf("%d", &N);

	int i, j, k, flag[100001] = {1};
	for (i = 0; flag[N] == 0; i++) {
		for (j = N; j > 0; j--) {
			if (flag[j] == 1) continue;
			else if (flag[j-1] == 1) flag[j] = 1;
			else {
				for (k = 6; k <= j; k *= 6) flag[j] |= flag[j-k];
				for (k = 9; k <= j; k *= 9) flag[j] |= flag[j-k];
			}
		}
	}
	
	printf("%d\n", i);
	fflush(stdout);
	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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397336
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rcx
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	call	memset@PLT
	movslq	12(%rsp), %r11
	movl	$1, 16(%rsp)
	movl	16(%rsp,%r11,4), %edx
	testl	%edx, %edx
	jne	.L15
	movq	%r11, %rbx
	leaq	(%rax,%r11,4), %rbp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r11, %r9
	xorl	%edx, %edx
	testl	%ebx, %ebx
	jg	.L11
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$1, (%rsi)
.L5:
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jle	.L10
.L27:
	movl	(%rsi), %edx
.L11:
	movl	%r9d, %edi
	cmpl	$1, %edx
	je	.L5
	cmpl	$1, -4(%rsi)
	je	.L6
	movl	%r9d, %r8d
	movl	$6, %eax
	cmpl	$5, %r9d
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	addl	%eax, %eax
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L7
	cmpl	$8, %r8d
	jle	.L5
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L9
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jg	.L27
.L10:
	movl	16(%rsp,%r11,4), %eax
	addl	$1, %r10d
	testl	%eax, %eax
	je	.L3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movl	%r10d, %edx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400040, %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
.L26:
	.cfi_restore_state
	addl	$1, %r10d
	jmp	.L3
.L15:
	xorl	%r10d, %r10d
	jmp	.L2
.L28:
	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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397336
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rcx
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	call	memset@PLT
	movslq	12(%rsp), %r11
	movl	$1, 16(%rsp)
	movl	16(%rsp,%r11,4), %edx
	testl	%edx, %edx
	jne	.L15
	movq	%r11, %rbx
	leaq	(%rax,%r11,4), %rbp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r11, %r9
	xorl	%edx, %edx
	testl	%ebx, %ebx
	jg	.L11
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$1, (%rsi)
.L5:
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jle	.L10
.L27:
	movl	(%rsi), %edx
.L11:
	movl	%r9d, %edi
	cmpl	$1, %edx
	je	.L5
	cmpl	$1, -4(%rsi)
	je	.L6
	movl	%r9d, %r8d
	movl	$6, %eax
	cmpl	$5, %r9d
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,2), %eax
	movslq	%ecx, %rcx
	addl	%eax, %eax
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L7
	cmpl	$8, %r8d
	jle	.L5
	movl	$9, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edi, %ecx
	subl	%eax, %ecx
	leal	(%rax,%rax,8), %eax
	movslq	%ecx, %rcx
	orl	16(%rsp,%rcx,4), %edx
	movl	%edx, (%rsi)
	cmpl	%r8d, %eax
	jle	.L9
	subq	$1, %r9
	subq	$4, %rsi
	testl	%r9d, %r9d
	jg	.L27
.L10:
	movl	16(%rsp,%r11,4), %eax
	addl	$1, %r10d
	testl	%eax, %eax
	je	.L3
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movl	%r10d, %edx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$400040, %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
.L26:
	.cfi_restore_state
	addl	$1, %r10d
	jmp	.L3
.L15:
	xorl	%r10d, %r10d
	jmp	.L2
.L28:
	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:
```