	.file	"436609.c"
	.intel_syntax noprefix
	.text
	.globl	max_line_len
	.data
	.align 4
	.type	max_line_len, @object
	.size	max_line_len, 4
max_line_len:
	.long	150
	.section	.rodata
.LC0:
	.string	"-a"
.LC1:
	.string	"-r"
	.align 8
.LC2:
	.string	"/home/samad/bach-rpc/C/deleted.db"
.LC3:
	.string	"\n%d\n\n"
.LC4:
	.string	"-q"
	.align 8
.LC5:
	.string	"/home/samad/bach-rpc/C/asrar.db"
.LC6:
	.string	"%s"
.LC7:
	.string	"Bad User"
.LC8:
	.string	"-d"
.LC9:
	.string	"-help"
	.align 8
.LC10:
	.ascii	"Usage: bach [OPTION]... [Args]...\nQuery/Append/Delete admin"
	.ascii	"istrative database stored in local directory.\nOptions are s"
	.ascii	"orted alphabetically\nArguments should be seprated by spaces"
	.ascii	".\n\n    OPTIONS |         ARGUMENTS       | DESCRIPTION\n\n"
	.ascii	"      -q             [username]         Query the database f"
	.ascii	"or the \n                                        details of "
	.ascii	"given username\n\n      -a      [username password auth]  Ap"
	.ascii	"pend new user to the \n                                     "
	.ascii	"  "
	.string	" database.\n\n      -r             [username]         Delete user from database. \n \n\nProject BachmanitY 2018.\nVisit : https://github.com/ubdussamad/bach-rpc for more details.\nAuthor: Ubdussamad <ubdussamad@gmail.com>.\nBach Simple Database Management System. "
	.align 8
.LC11:
	.string	"bach: invalid option '%s'\nTry 'bach -help' for more information.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 32
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 24
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	append_user
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	user_query
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	user_query
	cmp	eax, 1
	jne	.L6
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	user_query
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L6:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	del_entry
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L3
.L8:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC12:
	.string	"r"
	.text
	.globl	user_query
	.type	user_query, @function
user_query:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -152[rbp], rdi
	mov	QWORD PTR -160[rbp], rsi
	mov	QWORD PTR -168[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L12
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	WORD PTR -128[rbp], 0
	jmp	.L13
.L26:
	mov	WORD PTR -126[rbp], 0
	mov	WORD PTR -130[rbp], 0
.L16:
	mov	rdx, QWORD PTR -120[rbp]
	movsx	rax, WORD PTR -130[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L14
	movzx	eax, WORD PTR -130[rbp]
	mov	WORD PTR -126[rbp], ax
	nop
	movsx	eax, WORD PTR -126[rbp]
	add	eax, 1
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
	jmp	.L17
.L14:
	movzx	eax, WORD PTR -130[rbp]
	add	eax, 1
	mov	WORD PTR -130[rbp], ax
	jmp	.L16
.L17:
	cmp	rsp, rdx
	je	.L18
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L17
.L18:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L19
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L19:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	movsx	eax, WORD PTR -126[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	mov	eax, 0
	call	slice_str
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	rax, rsp
	mov	r12, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	strlength
	cwde
	mov	DWORD PTR -124[rbp], eax
	movsx	edx, WORD PTR -126[rbp]
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, edx
	add	eax, 1
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -184[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L21:
	cmp	rsp, rdx
	je	.L22
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L21
.L22:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L23
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L23:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	movsx	eax, WORD PTR -126[rbp]
	lea	edi, 1[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -124[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	mov	eax, 0
	call	slice_str
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -120[rbp]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	free@PLT
.L24:
	mov	eax, 0
	mov	rsp, r12
	mov	rsp, rbx
	jmp	.L28
.L20:
	mov	rsp, rbx
	movzx	eax, WORD PTR -128[rbp]
	add	eax, 1
	mov	WORD PTR -128[rbp], ax
.L13:
	mov	rdx, QWORD PTR -104[rbp]
	lea	rcx, -112[rbp]
	lea	rax, -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], -1
	jne	.L26
	mov	rax, QWORD PTR -168[rbp]
	movabs	rbx, 8243121502424424770
	mov	QWORD PTR [rax], rbx
	mov	WORD PTR 8[rax], 46
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -120[rbp]
	test	rax, rax
	je	.L27
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	free@PLT
.L27:
	mov	eax, 1
.L28:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	user_query, .-user_query
	.section	.rodata
.LC13:
	.string	"a"
.LC14:
	.string	"asrar.db"
.LC15:
	.string	"%lu"
.LC16:
	.string	"%s,%s,%s,%s\n"
	.text
	.globl	append_user
	.type	append_user, @function
append_user:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rsi, .LC13[rip]
	lea	rdi, .LC14[rip]
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	eax, 0
	call	last_usr
	add	rax, 1
	mov	rcx, rax
	lea	rdx, .LC15[rip]
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	cdqe
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L31:
	cmp	rsp, rdx
	je	.L32
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L31
.L32:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L33
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L33:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	eax, 0
	call	last_usr
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rdx
	lea	rdx, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	rdi, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	append_user, .-append_user
	.section	.rodata
.LC17:
	.string	"rb"
	.text
	.globl	last_usr
	.type	last_usr, @function
last_usr:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r12
	push	rbx
	add	rsp, -128
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	movabs	rax, 7022008356674955311
	movabs	rdx, 7521962876968657261
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rax, 7002889816395248173
	movabs	rdx, 27694698367906419
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR max_len.0[rip]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR max_len.0[rip]
	add	rax, 1
	mov	r8, rax
	mov	r9d, 0
	mov	rax, QWORD PTR max_len.0[rip]
	add	rax, 1
	mov	rsi, rax
	mov	edi, 0
	mov	rax, QWORD PTR max_len.0[rip]
	lea	rdx, 1[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L37:
	cmp	rsp, rdx
	je	.L38
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L37
.L38:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L39
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L39:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -128[rbp], rax
	lea	rax, -80[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	je	.L40
	mov	rax, QWORD PTR max_len.0[rip]
	neg	rax
	mov	rcx, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR max_len.0[rip]
	sub	rax, 1
	mov	rsi, rax
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR max_len.0[rip]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	BYTE PTR [rax+rdx], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 1
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	strlength
	mov	WORD PTR -138[rbp], ax
	mov	WORD PTR -140[rbp], 0
	mov	WORD PTR -142[rbp], 0
	jmp	.L41
.L43:
	movsx	rdx, WORD PTR -142[rbp]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L42
	movzx	eax, WORD PTR -142[rbp]
	mov	WORD PTR -140[rbp], ax
.L42:
	movzx	eax, WORD PTR -142[rbp]
	add	eax, 1
	mov	WORD PTR -142[rbp], ax
.L41:
	movzx	eax, WORD PTR -142[rbp]
	cmp	ax, WORD PTR -138[rbp]
	jl	.L43
	movsx	eax, WORD PTR -138[rbp]
	movsx	edx, WORD PTR -140[rbp]
	sub	eax, edx
	add	eax, 1
	mov	rdx, rsp
	mov	r12, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L44:
	cmp	rsp, rdx
	je	.L45
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L44
.L45:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L46
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L46:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -88[rbp], rax
	movsx	edx, WORD PTR -138[rbp]
	movsx	eax, WORD PTR -140[rbp]
	lea	edi, 1[rax]
	mov	rsi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	mov	eax, 0
	call	slice_str
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	rsp, r12
	mov	rsp, rbx
	jmp	.L36
.L40:
	mov	rsp, rbx
.L36:
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	last_usr, .-last_usr
	.globl	strlength
	.type	strlength, @function
strlength:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	WORD PTR -2[rbp], 0
.L52:
	movsx	rdx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L55
	movzx	eax, WORD PTR -2[rbp]
	add	eax, 1
	mov	WORD PTR -2[rbp], ax
	jmp	.L52
.L55:
	nop
	movzx	eax, WORD PTR -2[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	strlength, .-strlength
	.globl	slice_str
	.type	slice_str, @function
slice_str:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L57
.L58:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -8[rbp], 1
.L57:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jbe	.L58
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	slice_str, .-slice_str
	.section	.rodata
.LC18:
	.string	"%s,%s\n"
	.text
	.globl	del_entry
	.type	del_entry, @function
del_entry:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR max_line_len[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -48[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L60:
	cmp	rsp, rdx
	je	.L61
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L60
.L61:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L62
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L62:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -40[rbp], rax
	lea	rsi, .LC13[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	call	user_query
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	del_entry, .-del_entry
	.section	.rodata
	.align 8
	.type	max_len.0, @object
	.size	max_len.0, 8
max_len.0:
	.quad	102
	.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	"436609.c"
	.text
	.global	max_line_len
	.data
	.align	2
	.type	max_line_len, %object
	.size	max_line_len, 4
max_line_len:
	.word	150
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-a\000"
	.align	2
.LC1:
	.ascii	"-r\000"
	.align	2
.LC2:
	.ascii	"/home/samad/bach-rpc/C/deleted.db\000"
	.align	2
.LC3:
	.ascii	"\012%d\012\012\000"
	.align	2
.LC4:
	.ascii	"-q\000"
	.align	2
.LC5:
	.ascii	"/home/samad/bach-rpc/C/asrar.db\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.ascii	"Bad User\000"
	.align	2
.LC8:
	.ascii	"-d\000"
	.align	2
.LC9:
	.ascii	"-help\000"
	.align	2
.LC10:
	.ascii	"Usage: bach [OPTION]... [Args]...\012Query/Append/D"
	.ascii	"elete administrative database stored in local direc"
	.ascii	"tory.\012Options are sorted alphabetically\012Argum"
	.ascii	"ents should be seprated by spaces.\012\012    OPTIO"
	.ascii	"NS |         ARGUMENTS       | DESCRIPTION\012\012 "
	.ascii	"     -q             [username]         Query the da"
	.ascii	"tabase for the \012                                "
	.ascii	"        details of given username\012\012      -a  "
	.ascii	"    [username password auth]  Append new user to th"
	.ascii	"e \012                                        datab"
	.ascii	"ase.\012\012      -r             [username]        "
	.ascii	" Delete user from database. \012 \012\012Project Ba"
	.ascii	"chmanitY 2018.\012Visit : https://github.com/ubduss"
	.ascii	"amad/bach-rpc for more details.\012Author: Ubdussam"
	.ascii	"ad <ubdussamad@gmail.com>.\012Bach Simple Database "
	.ascii	"Management System. \000"
	.align	2
.LC11:
	.ascii	"bach: invalid option '%s'\012Try 'bach -help' for m"
	.ascii	"ore information.\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L11+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, r3
	bl	append_user
	b	.L3
.L2:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L11+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r3
	ldr	r0, .L11+12
	bl	user_query
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	b	.L3
.L4:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L11+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r3
	ldr	r0, .L11+12
	bl	user_query
	mov	r3, r0
	cmp	r3, #1
	bne	.L6
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #108
	mov	r1, r3
	ldr	r0, .L11+24
	bl	user_query
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L11+28
	bl	printf
	b	.L3
.L6:
	ldr	r0, .L11+32
	bl	puts
	b	.L3
.L5:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L11+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	del_entry
	b	.L3
.L7:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L11+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L11+44
	bl	puts
	b	.L3
.L8:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+48
	bl	printf
.L3:
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.section	.rodata
	.align	2
.LC13:
	.ascii	"r\000"
	.align	2
.LC14:
	.ascii	"Bad User.\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	user_query
	.syntax unified
	.arm
	.fpu softvfp
	.type	user_query, %function
user_query:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r1, .L27+4
	ldr	r0, [fp, #-64]
	bl	fopen
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L14
	mov	r0, #1
	bl	exit
.L14:
	mov	r3, #0
	strh	r3, [fp, #-56]	@ movhi
	b	.L15
.L22:
	mov	r3, #0
	strh	r3, [fp, #-54]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-58]	@ movhi
.L18:
	ldr	r2, [fp, #-52]
	ldrsh	r3, [fp, #-58]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L16
	ldrh	r3, [fp, #-58]	@ movhi
	strh	r3, [fp, #-54]	@ movhi
	nop
	ldrsh	r3, [fp, #-54]
	add	ip, r3, #1
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-52]
	ldrsh	r3, [fp, #-54]
	sub	r3, r3, #1
	mov	r2, #0
	ldr	r1, [fp, #-32]
	bl	slice_str
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-68]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	b	.L26
.L16:
	ldrsh	r3, [fp, #-58]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-58]	@ movhi
	b	.L18
.L26:
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	strlength
	mov	r3, r0
	str	r3, [fp, #-28]
	ldrsh	r3, [fp, #-54]
	ldr	r2, [fp, #-28]
	sub	r3, r2, r3
	add	ip, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-52]
	ldrsh	r3, [fp, #-54]
	add	r2, r3, #1
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-20]
	bl	slice_str
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-72]
	bl	strcpy
	ldr	r0, [fp, #-44]
	bl	fclose
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	free
.L20:
	mov	r3, #0
	mov	sp, r5
	mov	sp, r4
	b	.L24
.L19:
	mov	sp, r4
	ldrsh	r3, [fp, #-56]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-56]	@ movhi
.L15:
	sub	r1, fp, #48
	sub	r3, fp, #52
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	bne	.L22
	ldr	r3, [fp, #-72]
	ldr	r2, .L27+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #10
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-44]
	bl	fclose
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	free
.L23:
	mov	r3, #1
.L24:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC15
	.word	.LC13
	.word	.LC14
	.size	user_query, .-user_query
	.section	.rodata
	.align	2
.LC16:
	.ascii	"a\000"
	.align	2
.LC17:
	.ascii	"asrar.db\000"
	.align	2
.LC18:
	.ascii	"%lu\000"
	.align	2
.LC19:
	.ascii	"%s,%s,%s,%s\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	append_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_user, %function
append_user:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r1, .L32+4
	ldr	r0, .L32+8
	bl	fopen
	str	r0, [fp, #-36]
	bl	last_usr
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, .L32+12
	mov	r1, #0
	mov	r0, #0
	bl	snprintf
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r5, r3
	bl	last_usr
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, .L32+12
	mov	r1, r5
	ldr	r0, [fp, #-24]
	bl	snprintf
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-24]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r1, .L32+16
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r0, [fp, #-36]
	bl	fclose
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC20
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	append_user, .-append_user
	.section	.rodata
	.align	2
.LC21:
	.ascii	"rb\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	last_usr
	.syntax unified
	.arm
	.fpu softvfp
	.type	last_usr, %function
last_usr:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L41+4
	sub	ip, fp, #48
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L41+8
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	ldr	r3, .L41+8
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, .L41+8
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, .L41+8
	ldr	r3, [r3]
	add	r3, r3, #1
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-72]
	sub	r3, fp, #48
	ldr	r1, .L41+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L41+8
	ldr	r3, [r3]
	rsb	r3, r3, #0
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	fseek
	ldr	r3, .L41+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-68]
	mov	r2, #1
	ldr	r0, [fp, #-72]
	bl	fread
	ldr	r0, [fp, #-68]
	bl	fclose
	ldr	r3, .L41+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-72]
	mov	r1, #0
	strb	r1, [r2, r3]
	mov	r1, #10
	ldr	r0, [fp, #-72]
	bl	strrchr
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r0, [fp, #-60]
	bl	strlength
	mov	r3, r0
	strh	r3, [fp, #-78]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-80]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-82]	@ movhi
	b	.L36
.L38:
	ldrsh	r3, [fp, #-82]
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L37
	ldrh	r3, [fp, #-82]	@ movhi
	strh	r3, [fp, #-80]	@ movhi
.L37:
	ldrsh	r3, [fp, #-82]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-82]	@ movhi
.L36:
	ldrsh	r2, [fp, #-82]
	ldrsh	r3, [fp, #-78]
	cmp	r2, r3
	blt	.L38
	ldrsh	r2, [fp, #-78]
	ldrsh	r3, [fp, #-80]
	sub	r3, r2, r3
	add	ip, r3, #1
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-52]
	ldrsh	r3, [fp, #-80]
	add	r2, r3, #1
	ldrsh	r3, [fp, #-78]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-60]
	bl	slice_str
	mov	r2, #10
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	strtol
	mov	r3, r0
	mov	sp, r5
	mov	sp, r4
	b	.L34
.L35:
	mov	sp, r4
.L34:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC22
	.word	.LC5
	.word	max_len.5343
	.word	.LC21
	.size	last_usr, .-last_usr
	.align	2
	.global	strlength
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlength, %function
strlength:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
.L46:
	ldrsh	r3, [fp, #-6]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L49
	ldrsh	r3, [fp, #-6]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
	b	.L46
.L49:
	nop
	ldrsh	r3, [fp, #-6]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strlength, .-strlength
	.align	2
	.global	slice_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	slice_str, %function
slice_str:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	b	.L51
.L52:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L51:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bls	.L52
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	slice_str, .-slice_str
	.section	.rodata
	.align	2
.LC23:
	.ascii	"%s,%s\012\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	del_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_entry, %function
del_entry:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, .L56+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r1, .L56+8
	ldr	r0, .L56+12
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-32]
	ldr	r0, .L56+16
	bl	user_query
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	ldr	r1, .L56+20
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r0, [fp, #-20]
	bl	fclose
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC24
	.word	max_line_len
	.word	.LC16
	.word	.LC2
	.word	.LC5
	.word	.LC23
	.size	del_entry, .-del_entry
	.section	.rodata
	.align	2
	.type	max_len.5343, %object
	.size	max_len.5343, 4
max_len.5343:
	.word	102
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
