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 n;
int b[105];
int order[105];

int main()
{

	scanf("%d", &n);
	for (int i = 1; i <= n; i++) {
		scanf("%d", &b[i]);
	}

	for (int i = n; i >= 1; i--) {
		int j = n;

		while (j > 0 && b[j] != j) {
			j--;
		}

		if (j <= 0) {
			printf("-1\n");
			return 0;
		}

		order[i] = j;

		//???
		while (j <= n) {
			b[j] = b[j + 1];
			j++;
		}

	}

	for (int i = 1; i <= n; i++) {
		printf("%d\n", order[i]);
	}

	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 420
b:
	.zero	420
	.globl	order
	.align 32
	.type	order, @object
	.size	order, 420
order:
	.zero	420
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
	.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	$16, %rsp
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -16(%rbp)
	jmp	.L2
.L3:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -16(%rbp)
.L2:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L3
	movl	n(%rip), %eax
	movl	%eax, -12(%rbp)
	jmp	.L4
.L12:
	movl	n(%rip), %eax
	movl	%eax, -8(%rbp)
	jmp	.L5
.L7:
	subl	$1, -8(%rbp)
.L5:
	cmpl	$0, -8(%rbp)
	jle	.L6
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -8(%rbp)
	jne	.L7
.L6:
	cmpl	$0, -8(%rbp)
	jg	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	order(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L10
.L11:
	movl	-8(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	b(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	addl	$1, -8(%rbp)
.L10:
	movl	n(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jle	.L11
	subl	$1, -12(%rbp)
.L4:
	cmpl	$0, -12(%rbp)
	jg	.L12
	movl	$1, -4(%rbp)
	jmp	.L13
.L14:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	order(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4(%rbp)
.L13:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L14
	movl	$0, %eax
.L9:
	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"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L15
	leaq	4+b(%rip), %rbp
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	n(%rip), %r14d
	addq	$4, %rbp
	cmpl	%ebx, %r14d
	jge	.L3
	testl	%r14d, %r14d
	jle	.L15
	movslq	%r14d, %rbp
	leaq	order(%rip), %r13
	leal	-1(%r14), %eax
	movq	%rbp, %rdx
	leaq	0(%r13,%rbp,4), %r15
	leaq	b(%rip), %rbx
	subq	%rax, %rdx
	leaq	-4(%r13), %rax
	leaq	(%rax,%rdx,4), %r12
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	subq	$1, %rax
	testl	%eax, %eax
	jle	.L5
.L9:
	movl	%eax, %edx
	cmpl	%eax, (%rbx,%rax,4)
	jne	.L6
	movl	%eax, (%r15)
	cmpl	%eax, %r14d
	jl	.L14
	movslq	%edx, %rdi
	movl	%r14d, %eax
	salq	$2, %rdi
	subl	%edx, %eax
	leaq	4(%rbx,%rdi), %rsi
	leaq	4(,%rax,4), %rdx
	addq	%rbx, %rdi
	call	memmove@PLT
.L14:
	subq	$4, %r15
	cmpq	%r12, %r15
	jne	.L4
	cmpl	$0, n(%rip)
	jle	.L15
	movl	$1, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L11:
	movl	0(%r13,%rbx,4), %edx
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, n(%rip)
	jge	.L11
.L15:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L15
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	order
	.bss
	.align 32
	.type	order, @object
	.size	order, 420
order:
	.zero	420
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 420
b:
	.zero	420
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	n(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L15
	leaq	4+b(%rip), %rbp
	movl	$1, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	n(%rip), %r14d
	addq	$4, %rbp
	cmpl	%ebx, %r14d
	jge	.L3
	testl	%r14d, %r14d
	jle	.L15
	movslq	%r14d, %rbp
	leaq	order(%rip), %r13
	leal	-1(%r14), %eax
	movq	%rbp, %rdx
	leaq	0(%r13,%rbp,4), %r15
	leaq	b(%rip), %rbx
	subq	%rax, %rdx
	leaq	-4(%r13), %rax
	leaq	(%rax,%rdx,4), %r12
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	subq	$1, %rax
	testl	%eax, %eax
	jle	.L5
.L9:
	movl	%eax, %edx
	cmpl	%eax, (%rbx,%rax,4)
	jne	.L6
	movl	%eax, (%r15)
	cmpl	%eax, %r14d
	jl	.L14
	movslq	%edx, %rdi
	movl	%r14d, %eax
	salq	$2, %rdi
	subl	%edx, %eax
	leaq	4(%rbx,%rdi), %rsi
	leaq	4(,%rax,4), %rdx
	addq	%rbx, %rdi
	call	memmove@PLT
.L14:
	subq	$4, %r15
	cmpq	%r12, %r15
	jne	.L4
	cmpl	$0, n(%rip)
	jle	.L15
	movl	$1, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L11:
	movl	0(%r13,%rbx,4), %edx
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, n(%rip)
	jge	.L11
.L15:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L15
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	order
	.bss
	.align 32
	.type	order, @object
	.size	order, 420
order:
	.zero	420
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 420
b:
	.zero	420
	.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:

#include <stdio.h>

int n;
int b[105];
int order[105];

int main()
{

	scanf("%d", &n);
	for (int i = 1; i <= n; i++) {
		scanf("%d", &b[i]);
	}

	for (int i = n; i >= 1; i--) {
		int j = n;

		while (j > 0 && b[j] != j) {
			j--;
		}

		if (j <= 0) {
			printf("-1\n");
			return 0;
		}

		order[i] = j;

		//???
		while (j <= n) {
			b[j] = b[j + 1];
			j++;
		}

	}

	for (int i = 1; i <= n; i++) {
		printf("%d\n", order[i]);
	}

	return 0;
}

3
1 3 1
 9
1 1 1 1 2 1 2 3 2
 3
1 1 1
 2
1 1
 2
1 2
 9
1 1 1 2 1 1 2 3 2
 3
1 2 2
 9
1 1 1 1 2 1 4 3 2
 9
1 1 1 2 2 1 4 3 2
 9
1 1 1 2 2 1 4 1 2

-1
 1
2
2
3
1
2
1
1
1
 1
1
1
 1
1
 1
2
 1
2
2
3
1
1
2
1
1
 1
2
2
 1
2
1
3
2
4
1
1
1
 1
2
1
3
2
4
2
1
1
 1
2
1
1
2
4
2
1
1

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 n;
int b[105];
int order[105];

int main()
{

	scanf("%d", &n);
	for (int i = 1; i <= n; i++) {
		scanf("%d", &b[i]);
	}

	for (int i = n; i >= 1; i--) {
		int j = n;

		while (j > 0 && b[j] != j) {
			j--;
		}

		if (j <= 0) {
			printf("-1\n");
			return 0;
		}

		order[i] = j;

		//???
		while (j <= n) {
			b[j] = b[j + 1];
			j++;
		}

	}

	for (int i = 1; i <= n; i++) {
		printf("%d\n", order[i]);
	}

	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 420
b:
	.zero	420
	.globl	order
	.align 32
	.type	order, @object
	.size	order, 420
order:
	.zero	420
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
	.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	$16, %rsp
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -16(%rbp)
	jmp	.L2
.L3:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -16(%rbp)
.L2:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L3
	movl	n(%rip), %eax
	movl	%eax, -12(%rbp)
	jmp	.L4
.L12:
	movl	n(%rip), %eax
	movl	%eax, -8(%rbp)
	jmp	.L5
.L7:
	subl	$1, -8(%rbp)
.L5:
	cmpl	$0, -8(%rbp)
	jle	.L6
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -8(%rbp)
	jne	.L7
.L6:
	cmpl	$0, -8(%rbp)
	jg	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	order(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L10
.L11:
	movl	-8(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	b(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	addl	$1, -8(%rbp)
.L10:
	movl	n(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jle	.L11
	subl	$1, -12(%rbp)
.L4:
	cmpl	$0, -12(%rbp)
	jg	.L12
	movl	$1, -4(%rbp)
	jmp	.L13
.L14:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	order(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4(%rbp)
.L13:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L14
	movl	$0, %eax
.L9:
	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	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 420
b:
	.zero	420
	.globl	order
	.align 32
	.type	order, @object
	.size	order, 420
order:
	.zero	420
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
	.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	$16, %rsp
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -16(%rbp)
	jmp	.L2
.L3:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -16(%rbp)
.L2:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L3
	movl	n(%rip), %eax
	movl	%eax, -12(%rbp)
	jmp	.L4
.L12:
	movl	n(%rip), %eax
	movl	%eax, -8(%rbp)
	jmp	.L5
.L7:
	subl	$1, -8(%rbp)
.L5:
	cmpl	$0, -8(%rbp)
	jle	.L6
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -8(%rbp)
	jne	.L7
.L6:
	cmpl	$0, -8(%rbp)
	jg	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	order(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L10
.L11:
	movl	-8(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	b(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	addl	$1, -8(%rbp)
.L10:
	movl	n(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jle	.L11
	subl	$1, -12(%rbp)
.L4:
	cmpl	$0, -12(%rbp)
	jg	.L12
	movl	$1, -4(%rbp)
	jmp	.L13
.L14:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	order(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -4(%rbp)
.L13:
	movl	n(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L14
	movl	$0, %eax
.L9:
	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:
