Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
char out[1<<20];outsz;
char ffs[]="0101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110111011101010111011101110101011101010111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111010101110101011101110111010101110111011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101";
main(N,M){
	scanf("%d%d",&N,&M);
	for(int i=1;i<1<<N;i++)
	{
		for(int j=1;j<1<<M;j++)
		{
			out[outsz++]=ffs[i|j];
		}
		out[outsz++]='\n';
	}
	write(1,out,outsz);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	out
	.bss
	.align 32
	.type	out, @object
	.size	out, 1048576
out:
	.zero	1048576
	.globl	outsz
	.align 4
	.type	outsz, @object
	.size	outsz, 4
outsz:
	.zero	4
	.globl	ffs
	.data
	.align 32
	.type	ffs, @object
	.size	ffs, 1025
ffs:
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110111011101010111011101110101011101010111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101110111010101110111011101010111010101110101011101"
	.ascii	"110111010101110111011101010111011101110101011101010111010101"
	.ascii	"110111011101010111011101110101011101110111010101110101011101"
	.ascii	"010111011101110101011101010111010101110111011101010111010101"
	.ascii	"110101011101110111010101110111011101010111011101110101011101"
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110101011101010111011101110101011101110111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101010111010101110111011101010111011101110101011101"
	.ascii	"110111010101110101011101010111011101110101011101"
	.string	"1101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101"
	.section	.rodata
.LC0:
	.string	"%d%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	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	$1, -8(%rbp)
	jmp	.L2
.L5:
	movl	$1, -4(%rbp)
	jmp	.L3
.L4:
	movl	-8(%rbp), %eax
	orl	-4(%rbp), %eax
	movl	%eax, %ecx
	movl	outsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, outsz(%rip)
	movslq	%ecx, %rdx
	leaq	ffs(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	cltq
	leaq	out(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -4(%rbp)
.L3:
	movl	-24(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -4(%rbp)
	jl	.L4
	movl	outsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, outsz(%rip)
	cltq
	leaq	out(%rip), %rdx
	movb	$10, (%rax,%rdx)
	addl	$1, -8(%rbp)
.L2:
	movl	-20(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -8(%rbp)
	jl	.L5
	movl	outsz(%rip), %eax
	movl	%eax, %edx
	leaq	out(%rip), %rax
	movq	%rax, %rsi
	movl	$1, %edi
	movl	$0, %eax
	call	write@PLT
	movl	$0, %eax
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xorl	%eax, %eax
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	leaq	8(%rsp), %rdx
	leaq	.LC0(%rip), %rdi
	movl	%esi, 8(%rsp)
	leaq	12(%rsp), %rsi
	call	scanf@PLT
	movl	12(%rsp), %ecx
	movl	$1, %edi
	movl	outsz(%rip), %r9d
	movl	%edi, %r10d
	leaq	out(%rip), %r11
	sall	%cl, %r10d
	cmpl	$1, %r10d
	jle	.L3
	movl	8(%rsp), %ecx
	movl	outsz(%rip), %r9d
	movl	$1, %esi
	leaq	out(%rip), %r11
	leaq	ffs(%rip), %r8
	sall	%cl, %edi
	leal	-1(%rdi), %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movslq	%r9d, %rcx
	movl	$1, %eax
	addq	%r11, %rcx
	cmpl	$1, %edi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%esi, %edx
	addq	$1, %rcx
	orl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movzbl	(%r8,%rdx), %edx
	movb	%dl, -1(%rcx)
	cmpl	%edi, %eax
	jne	.L5
	leal	(%rbx,%r9), %eax
.L8:
	leal	1(%rax), %r9d
	addl	$1, %esi
	cltq
	movb	$10, (%r11,%rax)
	cmpl	%r10d, %esi
	jne	.L4
	movl	%r9d, outsz(%rip)
.L3:
	movl	%r9d, %edx
	movq	%r11, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	write@PLT
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movl	%r9d, %eax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	ffs
	.data
	.align 32
	.type	ffs, @object
	.size	ffs, 1025
ffs:
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110111011101010111011101110101011101010111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101110111010101110111011101010111010101110101011101"
	.ascii	"110111010101110111011101010111011101110101011101010111010101"
	.ascii	"110111011101010111011101110101011101110111010101110101011101"
	.ascii	"010111011101110101011101010111010101110111011101010111010101"
	.ascii	"110101011101110111010101110111011101010111011101110101011101"
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110101011101010111011101110101011101110111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101010111010101110111011101010111011101110101011101"
	.ascii	"110111010101110101011101010111011101110101011101"
	.string	"1101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101"
	.globl	outsz
	.bss
	.align 4
	.type	outsz, @object
	.size	outsz, 4
outsz:
	.zero	4
	.globl	out
	.align 32
	.type	out, @object
	.size	out, 1048576
out:
	.zero	1048576
	.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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xorl	%eax, %eax
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	leaq	8(%rsp), %rdx
	leaq	.LC0(%rip), %rdi
	movl	%esi, 8(%rsp)
	leaq	12(%rsp), %rsi
	call	scanf@PLT
	movl	12(%rsp), %ecx
	movl	$1, %edi
	movl	outsz(%rip), %r9d
	movl	%edi, %r10d
	leaq	out(%rip), %r11
	sall	%cl, %r10d
	cmpl	$1, %r10d
	jle	.L3
	movl	8(%rsp), %ecx
	movl	outsz(%rip), %r9d
	movl	$1, %esi
	leaq	out(%rip), %r11
	leaq	ffs(%rip), %r8
	sall	%cl, %edi
	leal	-1(%rdi), %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movslq	%r9d, %rcx
	movl	$1, %eax
	addq	%r11, %rcx
	cmpl	$1, %edi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%esi, %edx
	addq	$1, %rcx
	orl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movzbl	(%r8,%rdx), %edx
	movb	%dl, -1(%rcx)
	cmpl	%edi, %eax
	jne	.L5
	leal	(%rbx,%r9), %eax
.L8:
	leal	1(%rax), %r9d
	addl	$1, %esi
	cltq
	movb	$10, (%r11,%rax)
	cmpl	%r10d, %esi
	jne	.L4
	movl	%r9d, outsz(%rip)
.L3:
	movl	%r9d, %edx
	movq	%r11, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	write@PLT
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movl	%r9d, %eax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	ffs
	.data
	.align 32
	.type	ffs, @object
	.size	ffs, 1025
ffs:
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110111011101010111011101110101011101010111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101110111010101110111011101010111010101110101011101"
	.ascii	"110111010101110111011101010111011101110101011101010111010101"
	.ascii	"110111011101010111011101110101011101110111010101110101011101"
	.ascii	"010111011101110101011101010111010101110111011101010111010101"
	.ascii	"110101011101110111010101110111011101010111011101110101011101"
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110101011101010111011101110101011101110111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101010111010101110111011101010111011101110101011101"
	.ascii	"110111010101110101011101010111011101110101011101"
	.string	"1101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101"
	.globl	outsz
	.bss
	.align 4
	.type	outsz, @object
	.size	outsz, 4
outsz:
	.zero	4
	.globl	out
	.align 32
	.type	out, @object
	.size	out, 1048576
out:
	.zero	1048576
	.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:

char out[1<<20];outsz;
char ffs[]="0101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110111011101010111011101110101011101010111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111010101110101011101110111010101110111011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101";
main(N,M){
	scanf("%d%d",&N,&M);
	for(int i=1;i<1<<N;i++)
	{
		for(int j=1;j<1<<M;j++)
		{
			out[outsz++]=ffs[i|j];
		}
		out[outsz++]='\n';
	}
	write(1,out,outsz);
}
1 1
 2 2
 2 1
 3 2
 4 1
 3 3
 5 1
 1 3
 3 1
 2 3

1
 111
101
111
 1
1
1
 111
101
111
101
111
101
111
 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
 1111111
1010101
1111111
1011101
1111111
1010101
1111111
 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
 1111111
 1
1
1
1
1
1
1
 1111111
1010101
1111111

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
char out[1<<20];outsz;
char ffs[]="0101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110111011101010111011101110101011101010111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111010101110101011101110111010101110111011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101";
main(N,M){
	scanf("%d%d",&N,&M);
	for(int i=1;i<1<<N;i++)
	{
		for(int j=1;j<1<<M;j++)
		{
			out[outsz++]=ffs[i|j];
		}
		out[outsz++]='\n';
	}
	write(1,out,outsz);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	out
	.bss
	.align 32
	.type	out, @object
	.size	out, 1048576
out:
	.zero	1048576
	.globl	outsz
	.align 4
	.type	outsz, @object
	.size	outsz, 4
outsz:
	.zero	4
	.globl	ffs
	.data
	.align 32
	.type	ffs, @object
	.size	ffs, 1025
ffs:
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110111011101010111011101110101011101010111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101110111010101110111011101010111010101110101011101"
	.ascii	"110111010101110111011101010111011101110101011101010111010101"
	.ascii	"110111011101010111011101110101011101110111010101110101011101"
	.ascii	"010111011101110101011101010111010101110111011101010111010101"
	.ascii	"110101011101110111010101110111011101010111011101110101011101"
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110101011101010111011101110101011101110111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101010111010101110111011101010111011101110101011101"
	.ascii	"110111010101110101011101010111011101110101011101"
	.string	"1101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101"
	.section	.rodata
.LC0:
	.string	"%d%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	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	$1, -8(%rbp)
	jmp	.L2
.L5:
	movl	$1, -4(%rbp)
	jmp	.L3
.L4:
	movl	-8(%rbp), %eax
	orl	-4(%rbp), %eax
	movl	%eax, %ecx
	movl	outsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, outsz(%rip)
	movslq	%ecx, %rdx
	leaq	ffs(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	cltq
	leaq	out(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -4(%rbp)
.L3:
	movl	-24(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -4(%rbp)
	jl	.L4
	movl	outsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, outsz(%rip)
	cltq
	leaq	out(%rip), %rdx
	movb	$10, (%rax,%rdx)
	addl	$1, -8(%rbp)
.L2:
	movl	-20(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -8(%rbp)
	jl	.L5
	movl	outsz(%rip), %eax
	movl	%eax, %edx
	leaq	out(%rip), %rax
	movq	%rax, %rsi
	movl	$1, %edi
	movl	$0, %eax
	call	write@PLT
	movl	$0, %eax
	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
	.globl	out
	.bss
	.align 32
	.type	out, @object
	.size	out, 1048576
out:
	.zero	1048576
	.globl	outsz
	.align 4
	.type	outsz, @object
	.size	outsz, 4
outsz:
	.zero	4
	.globl	ffs
	.data
	.align 32
	.type	ffs, @object
	.size	ffs, 1025
ffs:
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110111011101010111011101110101011101010111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101110111010101110111011101010111010101110101011101"
	.ascii	"110111010101110111011101010111011101110101011101010111010101"
	.ascii	"110111011101010111011101110101011101110111010101110101011101"
	.ascii	"010111011101110101011101010111010101110111011101010111010101"
	.ascii	"110101011101110111010101110111011101010111011101110101011101"
	.ascii	"010111010101110111011101010111010101110101011101110111010101"
	.ascii	"110101011101010111011101110101011101110111010101110111011101"
	.ascii	"010111010101110101011101110111010101110101011101010111011101"
	.ascii	"110101011101010111010101110111011101010111011101110101011101"
	.ascii	"110111010101110101011101010111011101110101011101"
	.string	"1101110101011101110111010101110101011101010111011101110101011101110111010101110111011101010111010101110101011101110111010101110101011101010111011101110101011101010111010101110111011101010111011101110101011101110111010101110101011101010111011101110101011101"
	.section	.rodata
.LC0:
	.string	"%d%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	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	$1, -8(%rbp)
	jmp	.L2
.L5:
	movl	$1, -4(%rbp)
	jmp	.L3
.L4:
	movl	-8(%rbp), %eax
	orl	-4(%rbp), %eax
	movl	%eax, %ecx
	movl	outsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, outsz(%rip)
	movslq	%ecx, %rdx
	leaq	ffs(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	cltq
	leaq	out(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -4(%rbp)
.L3:
	movl	-24(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -4(%rbp)
	jl	.L4
	movl	outsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, outsz(%rip)
	cltq
	leaq	out(%rip), %rdx
	movb	$10, (%rax,%rdx)
	addl	$1, -8(%rbp)
.L2:
	movl	-20(%rbp), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -8(%rbp)
	jl	.L5
	movl	outsz(%rip), %eax
	movl	%eax, %edx
	leaq	out(%rip), %rax
	movq	%rax, %rsi
	movl	$1, %edi
	movl	$0, %eax
	call	write@PLT
	movl	$0, %eax
	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:
