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

```c
// AOJ ITP2_1_B: Deque
// 2018.6.24 bal4u

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char Q[800005][13];
#define BASE 400002
int top = BASE;
int end = BASE;
char a[30];

int main()
{
	int q;
	
	fgets(a, 30, stdin), q = atoi(a);
	while (q--) {
		fgets(a, 30, stdin);
		if (a[0] == '0') { // pushBack
			if (a[2] == '0') strcpy(Q[--top], a+4);
			else             strcpy(Q[end++], a+4);
		}
		else if (a[0] == '1') printf(Q[top+atoi(a+2)]); // randomAccess
		else { // popBack
			if (a[2] == '0') top++;
			else             --end;
		}
	}
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	call	fgets@PLT
	xorl	%esi, %esi
	movl	$10, %edx
	movq	%rbp, %rdi
	call	strtol@PLT
	testl	%eax, %eax
	je	.L2
	movq	%rax, %rbx
	leaq	2(%rbp), %r14
	leaq	Q(%rip), %r12
	leaq	4(%rbp), %r13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$49, %al
	je	.L13
	cmpb	$48, 2+a(%rip)
	je	.L14
	subl	$1, end(%rip)
.L5:
	subl	$1, %ebx
	je	.L2
.L8:
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movzbl	0(%rbp), %eax
	cmpb	$48, %al
	jne	.L3
	cmpb	$48, 2+a(%rip)
	je	.L15
	movslq	end(%rip), %rax
	leal	1(%rax), %edx
	movl	%edx, end(%rip)
.L11:
	leaq	(%rax,%rax,2), %rdx
	movq	%r13, %rsi
	leaq	(%rax,%rdx,4), %rdi
	addq	%r12, %rdi
	call	strcpy@PLT
	subl	$1, %ebx
	jne	.L8
.L2:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	addl	$1, top(%rip)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%esi, %esi
	movq	%r14, %rdi
	movl	$10, %edx
	call	strtol@PLT
	addl	top(%rip), %eax
	movl	$1, %edi
	cltq
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rsi
	xorl	%eax, %eax
	addq	%r12, %rsi
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	movl	top(%rip), %eax
	subl	$1, %eax
	movl	%eax, top(%rip)
	cltq
	jmp	.L11
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	a
	.bss
	.align 16
	.type	a, @object
	.size	a, 30
a:
	.zero	30
	.globl	end
	.data
	.align 4
	.type	end, @object
	.size	end, 4
end:
	.long	400002
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	400002
	.globl	Q
	.bss
	.align 32
	.type	Q, @object
	.size	Q, 10400065
Q:
	.zero	10400065
	.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	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	call	fgets@PLT
	xorl	%esi, %esi
	movl	$10, %edx
	movq	%rbp, %rdi
	call	strtol@PLT
	testl	%eax, %eax
	je	.L2
	movq	%rax, %rbx
	leaq	2(%rbp), %r14
	leaq	Q(%rip), %r12
	leaq	4(%rbp), %r13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$49, %al
	je	.L13
	cmpb	$48, 2+a(%rip)
	je	.L14
	subl	$1, end(%rip)
.L5:
	subl	$1, %ebx
	je	.L2
.L8:
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movzbl	0(%rbp), %eax
	cmpb	$48, %al
	jne	.L3
	cmpb	$48, 2+a(%rip)
	je	.L15
	movslq	end(%rip), %rax
	leal	1(%rax), %edx
	movl	%edx, end(%rip)
.L11:
	leaq	(%rax,%rax,2), %rdx
	movq	%r13, %rsi
	leaq	(%rax,%rdx,4), %rdi
	addq	%r12, %rdi
	call	strcpy@PLT
	subl	$1, %ebx
	jne	.L8
.L2:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	addl	$1, top(%rip)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%esi, %esi
	movq	%r14, %rdi
	movl	$10, %edx
	call	strtol@PLT
	addl	top(%rip), %eax
	movl	$1, %edi
	cltq
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rsi
	xorl	%eax, %eax
	addq	%r12, %rsi
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	movl	top(%rip), %eax
	subl	$1, %eax
	movl	%eax, top(%rip)
	cltq
	jmp	.L11
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	a
	.bss
	.align 16
	.type	a, @object
	.size	a, 30
a:
	.zero	30
	.globl	end
	.data
	.align 4
	.type	end, @object
	.size	end, 4
end:
	.long	400002
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	400002
	.globl	Q
	.bss
	.align 32
	.type	Q, @object
	.size	Q, 10400065
Q:
	.zero	10400065
	.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	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	call	fgets@PLT
	xorl	%esi, %esi
	movl	$10, %edx
	movq	%rbp, %rdi
	call	strtol@PLT
	testl	%eax, %eax
	je	.L2
	movq	%rax, %rbx
	leaq	2(%rbp), %r14
	leaq	Q(%rip), %r12
	leaq	4(%rbp), %r13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$49, %al
	je	.L13
	cmpb	$48, 2+a(%rip)
	je	.L14
	subl	$1, end(%rip)
.L5:
	subl	$1, %ebx
	je	.L2
.L8:
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movzbl	0(%rbp), %eax
	cmpb	$48, %al
	jne	.L3
	cmpb	$48, 2+a(%rip)
	je	.L15
	movslq	end(%rip), %rax
	leal	1(%rax), %edx
	movl	%edx, end(%rip)
.L11:
	leaq	(%rax,%rax,2), %rdx
	movq	%r13, %rsi
	leaq	(%rax,%rdx,4), %rdi
	addq	%r12, %rdi
	call	strcpy@PLT
	subl	$1, %ebx
	jne	.L8
.L2:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	addl	$1, top(%rip)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%esi, %esi
	movq	%r14, %rdi
	movl	$10, %edx
	call	strtol@PLT
	addl	top(%rip), %eax
	movl	$1, %edi
	cltq
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rsi
	xorl	%eax, %eax
	addq	%r12, %rsi
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	movl	top(%rip), %eax
	subl	$1, %eax
	movl	%eax, top(%rip)
	cltq
	jmp	.L11
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	a
	.bss
	.align 16
	.type	a, @object
	.size	a, 30
a:
	.zero	30
	.globl	end
	.data
	.align 4
	.type	end, @object
	.size	end, 4
end:
	.long	400002
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	400002
	.globl	Q
	.bss
	.align 32
	.type	Q, @object
	.size	Q, 10400065
Q:
	.zero	10400065
	.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
// AOJ ITP2_1_B: Deque
// 2018.6.24 bal4u

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char Q[800005][13];
#define BASE 400002
int top = BASE;
int end = BASE;
char a[30];

int main()
{
	int q;
	
	fgets(a, 30, stdin), q = atoi(a);
	while (q--) {
		fgets(a, 30, stdin);
		if (a[0] == '0') { // pushBack
			if (a[2] == '0') strcpy(Q[--top], a+4);
			else             strcpy(Q[end++], a+4);
		}
		else if (a[0] == '1') printf(Q[top+atoi(a+2)]); // randomAccess
		else { // popBack
			if (a[2] == '0') top++;
			else             --end;
		}
	}
	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
// AOJ ITP2_1_B: Deque
// 2018.6.24 bal4u

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char Q[800005][13];
#define BASE 400002
int top = BASE;
int end = BASE;
char a[30];

int main()
{
	int q;
	
	fgets(a, 30, stdin), q = atoi(a);
	while (q--) {
		fgets(a, 30, stdin);
		if (a[0] == '0') { // pushBack
			if (a[2] == '0') strcpy(Q[--top], a+4);
			else             strcpy(Q[end++], a+4);
		}
		else if (a[0] == '1') printf(Q[top+atoi(a+2)]); // randomAccess
		else { // popBack
			if (a[2] == '0') top++;
			else             --end;
		}
	}
	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:

11
0 0 1
0 0 2
0 1 3
1 0
1 1
1 0
2 0
2 1
0 0 4
1 0
1 1
 11
0 0 1
0 0 2
0 1 3
1 0
1 1
1 0
2 0
2 1
0 0 4
1 0
2 1
 11
0 0 1
0 0 3
0 1 3
1 0
1 1
1 0
2 0
2 1
0 0 4
1 0
2 1
 11
0 0 1
0 0 3
0 1 3
1 0
1 1
1 0
2 0
2 1
0 0 4
2 0
2 1
 11
0 0 1
0 0 2
0 1 3
1 0
1 1
1 1
2 0
2 1
0 0 4
1 0
1 1
 11
0 0 1
0 0 2
0 1 3
1 1
1 1
1 0
2 0
2 1
0 0 4
1 0
1 1
 11
0 0 2
0 0 2
0 1 3
1 0
1 1
1 0
2 0
2 1
0 0 4
1 0
2 1
 11
0 0 1
0 0 3
0 1 3
1 0
1 1
1 0
2 0
1 1
0 0 4
1 0
2 1
 11
0 0 2
0 0 3
0 1 3
1 0
1 1
1 0
2 0
1 1
0 0 4
1 0
2 1
 11
0 0 2
0 0 2
0 1 3
1 0
1 1
1 0
2 0
2 1
0 -1 4
1 0
2 1

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

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

```c
// AOJ ITP2_1_B: Deque
// 2018.6.24 bal4u

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

char Q[800005][13];
#define BASE 400002
int top = BASE;
int end = BASE;
char a[30];

int main()
{
	int q;
	
	fgets(a, 30, stdin), q = atoi(a);
	while (q--) {
		fgets(a, 30, stdin);
		if (a[0] == '0') { // pushBack
			if (a[2] == '0') strcpy(Q[--top], a+4);
			else             strcpy(Q[end++], a+4);
		}
		else if (a[0] == '1') printf(Q[top+atoi(a+2)]); // randomAccess
		else { // popBack
			if (a[2] == '0') top++;
			else             --end;
		}
	}
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	call	fgets@PLT
	xorl	%esi, %esi
	movl	$10, %edx
	movq	%rbp, %rdi
	call	strtol@PLT
	testl	%eax, %eax
	je	.L2
	movq	%rax, %rbx
	leaq	2(%rbp), %r14
	leaq	Q(%rip), %r12
	leaq	4(%rbp), %r13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$49, %al
	je	.L13
	cmpb	$48, 2+a(%rip)
	je	.L14
	subl	$1, end(%rip)
.L5:
	subl	$1, %ebx
	je	.L2
.L8:
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movzbl	0(%rbp), %eax
	cmpb	$48, %al
	jne	.L3
	cmpb	$48, 2+a(%rip)
	je	.L15
	movslq	end(%rip), %rax
	leal	1(%rax), %edx
	movl	%edx, end(%rip)
.L11:
	leaq	(%rax,%rax,2), %rdx
	movq	%r13, %rsi
	leaq	(%rax,%rdx,4), %rdi
	addq	%r12, %rdi
	call	strcpy@PLT
	subl	$1, %ebx
	jne	.L8
.L2:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	addl	$1, top(%rip)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%esi, %esi
	movq	%r14, %rdi
	movl	$10, %edx
	call	strtol@PLT
	addl	top(%rip), %eax
	movl	$1, %edi
	cltq
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rsi
	xorl	%eax, %eax
	addq	%r12, %rsi
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	movl	top(%rip), %eax
	subl	$1, %eax
	movl	%eax, top(%rip)
	cltq
	jmp	.L11
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	a
	.bss
	.align 16
	.type	a, @object
	.size	a, 30
a:
	.zero	30
	.globl	end
	.data
	.align 4
	.type	end, @object
	.size	end, 4
end:
	.long	400002
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	400002
	.globl	Q
	.bss
	.align 32
	.type	Q, @object
	.size	Q, 10400065
Q:
	.zero	10400065
	.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	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	a(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	call	fgets@PLT
	xorl	%esi, %esi
	movl	$10, %edx
	movq	%rbp, %rdi
	call	strtol@PLT
	testl	%eax, %eax
	je	.L2
	movq	%rax, %rbx
	leaq	2(%rbp), %r14
	leaq	Q(%rip), %r12
	leaq	4(%rbp), %r13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$49, %al
	je	.L13
	cmpb	$48, 2+a(%rip)
	je	.L14
	subl	$1, end(%rip)
.L5:
	subl	$1, %ebx
	je	.L2
.L8:
	movq	stdin(%rip), %rdx
	movl	$30, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movzbl	0(%rbp), %eax
	cmpb	$48, %al
	jne	.L3
	cmpb	$48, 2+a(%rip)
	je	.L15
	movslq	end(%rip), %rax
	leal	1(%rax), %edx
	movl	%edx, end(%rip)
.L11:
	leaq	(%rax,%rax,2), %rdx
	movq	%r13, %rsi
	leaq	(%rax,%rdx,4), %rdi
	addq	%r12, %rdi
	call	strcpy@PLT
	subl	$1, %ebx
	jne	.L8
.L2:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	addl	$1, top(%rip)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%esi, %esi
	movq	%r14, %rdi
	movl	$10, %edx
	call	strtol@PLT
	addl	top(%rip), %eax
	movl	$1, %edi
	cltq
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rsi
	xorl	%eax, %eax
	addq	%r12, %rsi
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	movl	top(%rip), %eax
	subl	$1, %eax
	movl	%eax, top(%rip)
	cltq
	jmp	.L11
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	a
	.bss
	.align 16
	.type	a, @object
	.size	a, 30
a:
	.zero	30
	.globl	end
	.data
	.align 4
	.type	end, @object
	.size	end, 4
end:
	.long	400002
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	400002
	.globl	Q
	.bss
	.align 32
	.type	Q, @object
	.size	Q, 10400065
Q:
	.zero	10400065
	.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:
```