	.file	"154954.c"
	.intel_syntax noprefix
	.text
	.globl	ID_SIZE
	.section	.rodata
	.align 4
	.type	ID_SIZE, @object
	.size	ID_SIZE, 4
ID_SIZE:
	.long	4
	.globl	USERNAME_SIZE
	.align 4
	.type	USERNAME_SIZE, @object
	.size	USERNAME_SIZE, 4
USERNAME_SIZE:
	.long	32
	.globl	EMAIL_SIZE
	.align 4
	.type	EMAIL_SIZE, @object
	.size	EMAIL_SIZE, 4
EMAIL_SIZE:
	.long	32
	.globl	ID_OFFSET
	.align 4
	.type	ID_OFFSET, @object
	.size	ID_OFFSET, 4
ID_OFFSET:
	.zero	4
	.globl	USERNAME_OFFSET
	.align 4
	.type	USERNAME_OFFSET, @object
	.size	USERNAME_OFFSET, 4
USERNAME_OFFSET:
	.long	4
	.globl	EMAIL_OFFSET
	.align 4
	.type	EMAIL_OFFSET, @object
	.size	EMAIL_OFFSET, 4
EMAIL_OFFSET:
	.long	36
	.globl	ROW_SIZE
	.align 4
	.type	ROW_SIZE, @object
	.size	ROW_SIZE, 4
ROW_SIZE:
	.long	68
	.globl	PAGE_SIZE
	.align 4
	.type	PAGE_SIZE, @object
	.size	PAGE_SIZE, 4
PAGE_SIZE:
	.long	4096
	.globl	ROWS_PER_PAGE
	.align 4
	.type	ROWS_PER_PAGE, @object
	.size	ROWS_PER_PAGE, 4
ROWS_PER_PAGE:
	.long	60
	.globl	TABLE_MAX_ROWS
	.align 4
	.type	TABLE_MAX_ROWS, @object
	.size	TABLE_MAX_ROWS, 4
TABLE_MAX_ROWS:
	.long	6000
.LC0:
	.string	"(%d, %s, %s)\n"
	.text
	.globl	print_row
	.type	print_row, @function
print_row:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 36[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_row, .-print_row
	.globl	serialize_row
	.type	serialize_row, @function
serialize_row:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, 0
	mov	esi, ecx
	mov	rcx, QWORD PTR -16[rbp]
	add	rcx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 4[rax]
	mov	eax, 4
	mov	esi, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 36[rax]
	mov	eax, 36
	mov	esi, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	serialize_row, .-serialize_row
	.globl	deserialize_row
	.type	deserialize_row, @function
deserialize_row:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 4
	mov	edx, eax
	mov	eax, 0
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, 32
	mov	edx, eax
	mov	eax, 4
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, 32
	mov	edx, eax
	mov	eax, 36
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 36
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	deserialize_row, .-deserialize_row
	.globl	row_slot
	.type	row_slot, @function
row_slot:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	esi, 60
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, 0
	div	esi
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	mov	eax, 4096
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	QWORD PTR 8[rax+rdx*8], rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	QWORD PTR -8[rbp], rax
.L5:
	mov	ecx, 60
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, 0
	div	ecx
	mov	DWORD PTR -16[rbp], edx
	mov	edx, 68
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	row_slot, .-row_slot
	.globl	new_table
	.type	new_table, @function
new_table:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 808
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	QWORD PTR 8[rax+rdx*8], 0
	add	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 99
	jbe	.L9
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	new_table, .-new_table
	.globl	free_table
	.type	free_table, @function
free_table:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR 8[rax+rdx*8]
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	free_table, .-free_table
	.globl	new_input_buffer
	.type	new_input_buffer, @function
new_input_buffer:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	new_input_buffer, .-new_input_buffer
	.section	.rodata
.LC1:
	.string	"huang \033[32m>\033[0m "
	.text
	.globl	print_prompt
	.type	print_prompt, @function
print_prompt:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	print_prompt, .-print_prompt
	.section	.rodata
	.align 8
.LC2:
	.string	"\033[31mError\033[0m in function `read_input`"
	.text
	.globl	read_input
	.type	read_input, @function
read_input:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L18
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	read_input, .-read_input
	.globl	close_input_buffer
	.type	close_input_buffer, @function
close_input_buffer:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	close_input_buffer, .-close_input_buffer
	.section	.rodata
.LC3:
	.string	".exit"
.LC4:
	.string	".quit"
.LC5:
	.string	".q"
	.text
	.globl	do_meta_command
	.type	do_meta_command, @function
do_meta_command:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	close_input_buffer
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free_table
	mov	edi, 0
	call	exit@PLT
.L22:
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	do_meta_command, .-do_meta_command
	.section	.rodata
.LC6:
	.string	"insert"
.LC7:
	.string	"insert %d %s %s"
.LC8:
	.string	"select"
	.text
	.globl	prepare_statement
	.type	prepare_statement, @function
prepare_statement:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 6
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L25
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 40[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r8, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 2
	setle	al
	movzx	eax, al
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 1
	mov	eax, 0
	jmp	.L26
.L27:
	mov	eax, 2
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	prepare_statement, .-prepare_statement
	.globl	execute_insert
	.type	execute_insert, @function
execute_insert:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 99
	jbe	.L29
	mov	eax, 1
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	row_slot
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	serialize_row
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	execute_insert, .-execute_insert
	.globl	execute_select
	.type	execute_select, @function
execute_select:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L32
.L33:
	mov	edx, DWORD PTR -84[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	row_slot
	mov	rdx, rax
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	deserialize_row
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	print_row
	add	DWORD PTR -84[rbp], 1
.L32:
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -84[rbp], eax
	jb	.L33
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	execute_select, .-execute_select
	.globl	execute_statement
	.type	execute_statement, @function
execute_statement:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L37
	cmp	eax, 1
	je	.L38
	jmp	.L41
.L37:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execute_insert
	jmp	.L36
.L38:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execute_select
	jmp	.L36
.L41:
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	execute_statement, .-execute_statement
	.section	.rodata
	.align 8
.LC9:
	.string	"\033[31mUnrecognized command\033[0m '%s'.\n"
	.align 8
.LC10:
	.string	"\033[31mSyntax Error\033[0m: Could not parse statement."
	.align 8
.LC11:
	.string	"\033[31mUnrecognized keyword\033[0m at start of '%s'.\n"
.LC12:
	.string	"Executed."
.LC13:
	.string	"\033[31mError\033[0m: Table full."
	.text
	.globl	main
	.type	main, @function
main:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	new_table
	mov	QWORD PTR -96[rbp], rax
	mov	eax, 0
	call	new_input_buffer
	mov	QWORD PTR -88[rbp], rax
.L55:
	mov	eax, 0
	call	print_prompt
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	read_input
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L43
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	do_meta_command
	test	eax, eax
	je	.L57
	cmp	eax, 1
	jne	.L43
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L43:
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	prepare_statement
	cmp	eax, 2
	je	.L47
	cmp	eax, 2
	ja	.L48
	test	eax, eax
	je	.L58
	cmp	eax, 1
	jne	.L48
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L54
.L47:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L58:
	nop
.L48:
	mov	rdx, QWORD PTR -96[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execute_statement
	test	eax, eax
	je	.L51
	cmp	eax, 1
	je	.L52
	jmp	.L54
.L51:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L54
.L52:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L54
.L57:
	nop
.L54:
	jmp	.L55
	.cfi_endproc
.LFE21:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"154954.c"
	.text
	.global	ID_SIZE
	.section	.rodata
	.align	2
	.type	ID_SIZE, %object
	.size	ID_SIZE, 4
ID_SIZE:
	.word	4
	.global	USERNAME_SIZE
	.align	2
	.type	USERNAME_SIZE, %object
	.size	USERNAME_SIZE, 4
USERNAME_SIZE:
	.word	32
	.global	EMAIL_SIZE
	.align	2
	.type	EMAIL_SIZE, %object
	.size	EMAIL_SIZE, 4
EMAIL_SIZE:
	.word	32
	.global	ID_OFFSET
	.align	2
	.type	ID_OFFSET, %object
	.size	ID_OFFSET, 4
ID_OFFSET:
	.space	4
	.global	USERNAME_OFFSET
	.align	2
	.type	USERNAME_OFFSET, %object
	.size	USERNAME_OFFSET, 4
USERNAME_OFFSET:
	.word	4
	.global	EMAIL_OFFSET
	.align	2
	.type	EMAIL_OFFSET, %object
	.size	EMAIL_OFFSET, 4
EMAIL_OFFSET:
	.word	36
	.global	ROW_SIZE
	.align	2
	.type	ROW_SIZE, %object
	.size	ROW_SIZE, 4
ROW_SIZE:
	.word	68
	.global	PAGE_SIZE
	.align	2
	.type	PAGE_SIZE, %object
	.size	PAGE_SIZE, 4
PAGE_SIZE:
	.word	4096
	.global	ROWS_PER_PAGE
	.align	2
	.type	ROWS_PER_PAGE, %object
	.size	ROWS_PER_PAGE, 4
ROWS_PER_PAGE:
	.word	60
	.global	TABLE_MAX_ROWS
	.align	2
	.type	TABLE_MAX_ROWS, %object
	.size	TABLE_MAX_ROWS, 4
TABLE_MAX_ROWS:
	.word	6000
	.align	2
.LC0:
	.ascii	"(%d, %s, %s)\012\000"
	.text
	.align	2
	.global	print_row
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_row, %function
print_row:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, #36
	ldr	r0, .L2
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	print_row, .-print_row
	.align	2
	.global	serialize_row
	.syntax unified
	.arm
	.fpu softvfp
	.type	serialize_row, %function
serialize_row:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r2, #0
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldr	r1, [fp, #-8]
	mov	r2, #4
	mov	r0, r3
	bl	memcpy
	mov	r2, #4
	ldr	r3, [fp, #-12]
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r2, #32
	mov	r1, r3
	bl	memcpy
	mov	r2, #36
	ldr	r3, [fp, #-12]
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r3, #36
	mov	r2, #32
	mov	r1, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	serialize_row, .-serialize_row
	.align	2
	.global	deserialize_row
	.syntax unified
	.arm
	.fpu softvfp
	.type	deserialize_row, %function
deserialize_row:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	mov	r2, #0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #4
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	add	r0, r3, #4
	mov	r2, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #32
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	add	r0, r3, #36
	mov	r2, #36
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #32
	mov	r1, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	deserialize_row, .-deserialize_row
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.align	2
	.global	row_slot
	.syntax unified
	.arm
	.fpu softvfp
	.type	row_slot, %function
row_slot:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #60
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L7
	mov	r3, #4096
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L7:
	mov	r2, #60
	ldr	r3, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-12]
	mov	r2, #68
	ldr	r3, [fp, #-12]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	row_slot, .-row_slot
	.align	2
	.global	new_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_table, %function
new_table:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #404
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L11:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	bls	.L11
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_table, .-new_table
	.align	2
	.global	free_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_table, %function
free_table:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L15
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_table, .-free_table
	.align	2
	.global	new_input_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_input_buffer, %function
new_input_buffer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_input_buffer, .-new_input_buffer
	.section	.rodata
	.align	2
.LC1:
	.ascii	"huang \033[32m>\033[0m \000"
	.text
	.align	2
	.global	print_prompt
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_prompt, %function
print_prompt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L19
	bl	printf
	nop
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC1
	.size	print_prompt, .-print_prompt
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\033[31mError\033[0m in function `read_input`\000"
	.text
	.align	2
	.global	read_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_input, %function
read_input:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, .L23
	ldr	r2, [r2]
	mov	r1, r3
	bl	getline
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L22
	ldr	r0, .L23+4
	bl	puts
	mov	r0, #1
	bl	exit
.L22:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	stdin
	.word	.LC2
	.size	read_input, .-read_input
	.align	2
	.global	close_input_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_input_buffer, %function
close_input_buffer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	close_input_buffer, .-close_input_buffer
	.section	.rodata
	.align	2
.LC3:
	.ascii	".exit\000"
	.align	2
.LC4:
	.ascii	".quit\000"
	.align	2
.LC5:
	.ascii	".q\000"
	.text
	.align	2
	.global	do_meta_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_meta_command, %function
do_meta_command:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L30
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L30+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L30+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
.L27:
	ldr	r0, [fp, #-8]
	bl	close_input_buffer
	ldr	r0, [fp, #-12]
	bl	free_table
	mov	r0, #0
	bl	exit
.L28:
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	do_meta_command, .-do_meta_command
	.section	.rodata
	.align	2
.LC6:
	.ascii	"insert\000"
	.align	2
.LC7:
	.ascii	"insert %d %s %s\000"
	.align	2
.LC8:
	.ascii	"select\000"
	.text
	.align	2
	.global	prepare_statement
	.syntax unified
	.arm
	.fpu softvfp
	.type	prepare_statement, %function
prepare_statement:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #6
	ldr	r1, .L36
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #4
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldr	r3, [fp, #-20]
	add	r3, r3, #40
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L36+4
	bl	__isoc99_sscanf
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	b	.L34
.L33:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, .L36+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-20]
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	b	.L34
.L35:
	mov	r3, #2
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	prepare_statement, .-prepare_statement
	.align	2
	.global	execute_insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_insert, %function
execute_insert:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #99
	bls	.L39
	mov	r3, #1
	b	.L40
.L39:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	row_slot
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	serialize_row
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	execute_insert, .-execute_insert
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	execute_select
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_select, %function
execute_select:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L42
.L43:
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-92]
	bl	row_slot
	mov	r2, r0
	sub	r3, fp, #76
	mov	r1, r3
	mov	r0, r2
	bl	deserialize_row
	sub	r3, fp, #76
	mov	r0, r3
	bl	print_row
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L42:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	bcc	.L43
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC9
	.size	execute_select, .-execute_select
	.align	2
	.global	execute_statement
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_statement, %function
execute_statement:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L49
	cmp	r3, #1
	beq	.L50
	b	.L53
.L49:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	execute_insert
	mov	r3, r0
	b	.L48
.L50:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	execute_select
	mov	r3, r0
	b	.L48
.L53:
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	execute_statement, .-execute_statement
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\033[31mUnrecognized command\033[0m '%s'.\012\000"
	.align	2
.LC11:
	.ascii	"\033[31mSyntax Error\033[0m: Could not parse statem"
	.ascii	"ent.\000"
	.align	2
.LC12:
	.ascii	"\033[31mUnrecognized keyword\033[0m at start of '%s"
	.ascii	"'.\012\000"
	.align	2
.LC13:
	.ascii	"Executed.\000"
	.align	2
.LC14:
	.ascii	"\033[31mError\033[0m: Table full.\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	new_table
	str	r0, [fp, #-88]
	bl	new_input_buffer
	str	r0, [fp, #-84]
.L67:
	bl	print_prompt
	ldr	r0, [fp, #-84]
	bl	read_input
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L55
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-84]
	bl	do_meta_command
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	cmp	r3, #1
	bne	.L55
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L71+4
	bl	printf
	b	.L66
.L55:
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, [fp, #-84]
	bl	prepare_statement
	mov	r3, r0
	cmp	r3, #2
	beq	.L59
	cmp	r3, #2
	bhi	.L60
	cmp	r3, #0
	beq	.L70
	cmp	r3, #1
	bne	.L60
	ldr	r0, .L71+8
	bl	puts
	b	.L66
.L59:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L71+12
	bl	printf
	b	.L66
.L70:
	nop
.L60:
	sub	r3, fp, #80
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	execute_statement
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	cmp	r3, #1
	beq	.L64
	b	.L66
.L63:
	ldr	r0, .L71+16
	bl	puts
	b	.L66
.L64:
	ldr	r0, .L71+20
	bl	puts
	b	.L66
.L69:
	nop
.L66:
	b	.L67
.L72:
	.align	2
.L71:
	.word	.LC15
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
