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

```c
int n,a,b,M[1<<20]={1},i,k;
main(){
    scanf("%d%d%d",&n,&a,&b);
    if(n>1L*a*b||n<a+b-1) puts("-1");
    else{
        int N=b,C=n;
        while(1){
            for(i=0;i<b;++i) {
                if(a==C){
                    for(k=0;k<=n;++k) if(!M[k]) printf("%d ",k);
                    exit(0);
                }
                C--;printf("%d ",N-i);M[N-i]=1;
            }
            a--;
            N=n<N+b?n:N+b;
        }
    }
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	b(%rip), %rcx
	xorl	%eax, %eax
	leaq	a(%rip), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	movslq	a(%rip), %rax
	movslq	b(%rip), %rsi
	movslq	n(%rip), %rcx
	movq	%rax, %rdx
	imulq	%rsi, %rax
	cmpq	%rax, %rcx
	jg	.L2
	leal	-1(%rdx,%rsi), %eax
	movq	%rcx, %r12
	movq	%rsi, %r13
	cmpl	%eax, %ecx
	jl	.L2
	leaq	.LC2(%rip), %rbp
	leaq	M(%rip), %rbx
.L3:
	movl	$0, i(%rip)
	movl	b(%rip), %esi
	testl	%esi, %esi
	jle	.L4
	xorl	%eax, %eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r13d, %esi
	movq	%rbp, %rdi
	subl	$1, %r12d
	subl	%eax, %esi
	xorl	%eax, %eax
	call	printf@PLT
	movl	i(%rip), %eax
	movl	%r13d, %edx
	subl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movl	%eax, i(%rip)
	movl	$1, (%rbx,%rdx,4)
	movl	b(%rip), %edx
	cmpl	%edx, %eax
	jge	.L21
.L10:
	cmpl	%r12d, a(%rip)
	jne	.L5
	movl	n(%rip), %edx
	xorl	%esi, %esi
	movl	$0, k(%rip)
	leaq	M(%rip), %rbx
	leaq	.LC2(%rip), %rbp
	testl	%edx, %edx
	js	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	%esi, %rax
	movl	(%rbx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	.L22
	addl	$1, %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
.L9:
	xorl	%edi, %edi
	call	exit@PLT
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	popq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	movl	k(%rip), %eax
	movl	n(%rip), %edx
	leal	1(%rax), %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
	jmp	.L9
.L21:
	addl	%r13d, %edx
	movl	n(%rip), %r13d
	subl	$1, a(%rip)
	cmpl	%r13d, %edx
	cmovle	%edx, %r13d
	jmp	.L3
.L4:
.L12:
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	k
	.bss
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	M
	.data
	.align 32
	.type	M, @object
	.size	M, 4194304
M:
	.long	1
	.zero	4194300
	.globl	b
	.bss
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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%d%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	b(%rip), %rcx
	xorl	%eax, %eax
	leaq	a(%rip), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	movslq	a(%rip), %rax
	movslq	b(%rip), %rsi
	movslq	n(%rip), %rcx
	movq	%rax, %rdx
	imulq	%rsi, %rax
	cmpq	%rax, %rcx
	jg	.L2
	leal	-1(%rdx,%rsi), %eax
	movq	%rcx, %r12
	movq	%rsi, %r13
	cmpl	%eax, %ecx
	jl	.L2
	leaq	.LC2(%rip), %rbp
	leaq	M(%rip), %rbx
.L3:
	movl	$0, i(%rip)
	movl	b(%rip), %esi
	testl	%esi, %esi
	jle	.L4
	xorl	%eax, %eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r13d, %esi
	movq	%rbp, %rdi
	subl	$1, %r12d
	subl	%eax, %esi
	xorl	%eax, %eax
	call	printf@PLT
	movl	i(%rip), %eax
	movl	%r13d, %edx
	subl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movl	%eax, i(%rip)
	movl	$1, (%rbx,%rdx,4)
	movl	b(%rip), %edx
	cmpl	%edx, %eax
	jge	.L21
.L10:
	cmpl	%r12d, a(%rip)
	jne	.L5
	movl	n(%rip), %edx
	xorl	%esi, %esi
	movl	$0, k(%rip)
	leaq	M(%rip), %rbx
	leaq	.LC2(%rip), %rbp
	testl	%edx, %edx
	js	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	%esi, %rax
	movl	(%rbx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	.L22
	addl	$1, %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
.L9:
	xorl	%edi, %edi
	call	exit@PLT
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	popq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	movl	k(%rip), %eax
	movl	n(%rip), %edx
	leal	1(%rax), %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
	jmp	.L9
.L21:
	addl	%r13d, %edx
	movl	n(%rip), %r13d
	subl	$1, a(%rip)
	cmpl	%r13d, %edx
	cmovle	%edx, %r13d
	jmp	.L3
.L4:
.L12:
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	k
	.bss
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	M
	.data
	.align 32
	.type	M, @object
	.size	M, 4194304
M:
	.long	1
	.zero	4194300
	.globl	b
	.bss
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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%d%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	b(%rip), %rcx
	xorl	%eax, %eax
	leaq	a(%rip), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	movslq	a(%rip), %rax
	movslq	b(%rip), %rsi
	movslq	n(%rip), %rcx
	movq	%rax, %rdx
	imulq	%rsi, %rax
	cmpq	%rax, %rcx
	jg	.L2
	leal	-1(%rdx,%rsi), %eax
	movq	%rcx, %r12
	movq	%rsi, %r13
	cmpl	%eax, %ecx
	jl	.L2
	leaq	.LC2(%rip), %rbp
	leaq	M(%rip), %rbx
.L3:
	movl	$0, i(%rip)
	movl	b(%rip), %esi
	testl	%esi, %esi
	jle	.L4
	xorl	%eax, %eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r13d, %esi
	movq	%rbp, %rdi
	subl	$1, %r12d
	subl	%eax, %esi
	xorl	%eax, %eax
	call	printf@PLT
	movl	i(%rip), %eax
	movl	%r13d, %edx
	subl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movl	%eax, i(%rip)
	movl	$1, (%rbx,%rdx,4)
	movl	b(%rip), %edx
	cmpl	%edx, %eax
	jge	.L21
.L10:
	cmpl	%r12d, a(%rip)
	jne	.L5
	movl	n(%rip), %edx
	xorl	%esi, %esi
	movl	$0, k(%rip)
	leaq	M(%rip), %rbx
	leaq	.LC2(%rip), %rbp
	testl	%edx, %edx
	js	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	%esi, %rax
	movl	(%rbx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	.L22
	addl	$1, %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
.L9:
	xorl	%edi, %edi
	call	exit@PLT
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	popq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	movl	k(%rip), %eax
	movl	n(%rip), %edx
	leal	1(%rax), %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
	jmp	.L9
.L21:
	addl	%r13d, %edx
	movl	n(%rip), %r13d
	subl	$1, a(%rip)
	cmpl	%r13d, %edx
	cmovle	%edx, %r13d
	jmp	.L3
.L4:
.L12:
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	k
	.bss
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	M
	.data
	.align 32
	.type	M, @object
	.size	M, 4194304
M:
	.long	1
	.zero	4194300
	.globl	b
	.bss
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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
int n,a,b,M[1<<20]={1},i,k;
main(){
    scanf("%d%d%d",&n,&a,&b);
    if(n>1L*a*b||n<a+b-1) puts("-1");
    else{
        int N=b,C=n;
        while(1){
            for(i=0;i<b;++i) {
                if(a==C){
                    for(k=0;k<=n;++k) if(!M[k]) printf("%d ",k);
                    exit(0);
                }
                C--;printf("%d ",N-i);M[N-i]=1;
            }
            a--;
            N=n<N+b?n:N+b;
        }
    }
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
int n,a,b,M[1<<20]={1},i,k;
main(){
    scanf("%d%d%d",&n,&a,&b);
    if(n>1L*a*b||n<a+b-1) puts("-1");
    else{
        int N=b,C=n;
        while(1){
            for(i=0;i<b;++i) {
                if(a==C){
                    for(k=0;k<=n;++k) if(!M[k]) printf("%d ",k);
                    exit(0);
                }
                C--;printf("%d ",N-i);M[N-i]=1;
            }
            a--;
            N=n<N+b?n:N+b;
        }
    }
}
```

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:

7 0 1
 1 1 1
 6 1 6
 6 3 3
 8 2 4
 2 1 2
 4 2 2
 3 1 3
 3 2 2
 566480 300000 300000

-1
 1  6 5 4 3 2 1  3 2 1 6 4 5  4 3 2 1 8 7 6 5  2 1  2 1 4 3  3 2 1  2 1 3  -1

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

```c
int n,a,b,M[1<<20]={1},i,k;
main(){
    scanf("%d%d%d",&n,&a,&b);
    if(n>1L*a*b||n<a+b-1) puts("-1");
    else{
        int N=b,C=n;
        while(1){
            for(i=0;i<b;++i) {
                if(a==C){
                    for(k=0;k<=n;++k) if(!M[k]) printf("%d ",k);
                    exit(0);
                }
                C--;printf("%d ",N-i);M[N-i]=1;
            }
            a--;
            N=n<N+b?n:N+b;
        }
    }
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	b(%rip), %rcx
	xorl	%eax, %eax
	leaq	a(%rip), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	movslq	a(%rip), %rax
	movslq	b(%rip), %rsi
	movslq	n(%rip), %rcx
	movq	%rax, %rdx
	imulq	%rsi, %rax
	cmpq	%rax, %rcx
	jg	.L2
	leal	-1(%rdx,%rsi), %eax
	movq	%rcx, %r12
	movq	%rsi, %r13
	cmpl	%eax, %ecx
	jl	.L2
	leaq	.LC2(%rip), %rbp
	leaq	M(%rip), %rbx
.L3:
	movl	$0, i(%rip)
	movl	b(%rip), %esi
	testl	%esi, %esi
	jle	.L4
	xorl	%eax, %eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r13d, %esi
	movq	%rbp, %rdi
	subl	$1, %r12d
	subl	%eax, %esi
	xorl	%eax, %eax
	call	printf@PLT
	movl	i(%rip), %eax
	movl	%r13d, %edx
	subl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movl	%eax, i(%rip)
	movl	$1, (%rbx,%rdx,4)
	movl	b(%rip), %edx
	cmpl	%edx, %eax
	jge	.L21
.L10:
	cmpl	%r12d, a(%rip)
	jne	.L5
	movl	n(%rip), %edx
	xorl	%esi, %esi
	movl	$0, k(%rip)
	leaq	M(%rip), %rbx
	leaq	.LC2(%rip), %rbp
	testl	%edx, %edx
	js	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	%esi, %rax
	movl	(%rbx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	.L22
	addl	$1, %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
.L9:
	xorl	%edi, %edi
	call	exit@PLT
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	popq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	movl	k(%rip), %eax
	movl	n(%rip), %edx
	leal	1(%rax), %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
	jmp	.L9
.L21:
	addl	%r13d, %edx
	movl	n(%rip), %r13d
	subl	$1, a(%rip)
	cmpl	%r13d, %edx
	cmovle	%edx, %r13d
	jmp	.L3
.L4:
.L12:
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	k
	.bss
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	M
	.data
	.align 32
	.type	M, @object
	.size	M, 4194304
M:
	.long	1
	.zero	4194300
	.globl	b
	.bss
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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%d%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	b(%rip), %rcx
	xorl	%eax, %eax
	leaq	a(%rip), %rdx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	movslq	a(%rip), %rax
	movslq	b(%rip), %rsi
	movslq	n(%rip), %rcx
	movq	%rax, %rdx
	imulq	%rsi, %rax
	cmpq	%rax, %rcx
	jg	.L2
	leal	-1(%rdx,%rsi), %eax
	movq	%rcx, %r12
	movq	%rsi, %r13
	cmpl	%eax, %ecx
	jl	.L2
	leaq	.LC2(%rip), %rbp
	leaq	M(%rip), %rbx
.L3:
	movl	$0, i(%rip)
	movl	b(%rip), %esi
	testl	%esi, %esi
	jle	.L4
	xorl	%eax, %eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r13d, %esi
	movq	%rbp, %rdi
	subl	$1, %r12d
	subl	%eax, %esi
	xorl	%eax, %eax
	call	printf@PLT
	movl	i(%rip), %eax
	movl	%r13d, %edx
	subl	%eax, %edx
	addl	$1, %eax
	movslq	%edx, %rdx
	movl	%eax, i(%rip)
	movl	$1, (%rbx,%rdx,4)
	movl	b(%rip), %edx
	cmpl	%edx, %eax
	jge	.L21
.L10:
	cmpl	%r12d, a(%rip)
	jne	.L5
	movl	n(%rip), %edx
	xorl	%esi, %esi
	movl	$0, k(%rip)
	leaq	M(%rip), %rbx
	leaq	.LC2(%rip), %rbp
	testl	%edx, %edx
	js	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	%esi, %rax
	movl	(%rbx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	.L22
	addl	$1, %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
.L9:
	xorl	%edi, %edi
	call	exit@PLT
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	popq	%rdx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	movl	k(%rip), %eax
	movl	n(%rip), %edx
	leal	1(%rax), %esi
	movl	%esi, k(%rip)
	cmpl	%edx, %esi
	jle	.L6
	jmp	.L9
.L21:
	addl	%r13d, %edx
	movl	n(%rip), %r13d
	subl	$1, a(%rip)
	cmpl	%r13d, %edx
	cmovle	%edx, %r13d
	jmp	.L3
.L4:
.L12:
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	k
	.bss
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	M
	.data
	.align 32
	.type	M, @object
	.size	M, 4194304
M:
	.long	1
	.zero	4194300
	.globl	b
	.bss
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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:
```