	.file	"extr_shell.c_process_sqliterc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"-- warning: cannot find home directory; cannot read ~/.sqliterc\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s/.sqliterc"
.LC2:
	.string	"rb"
.LC3:
	.string	"-- Loading resources from %s\n"
	.text
	.p2align 4
	.type	process_sqliterc, @function
process_sqliterc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	r13, QWORD PTR 8[rdi]
	mov	ebp, DWORD PTR [rdi]
	test	rsi, rsi
	je	.L13
.L2:
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	fopen@PLT
	mov	QWORD PTR 8[rbx], rax
	test	rax, rax
	je	.L4
	cmp	QWORD PTR stdin_is_interactive[rip], 0
	jne	.L14
.L5:
	mov	rdi, rbx
	call	process_input@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	fclose@PLT
.L4:
	mov	QWORD PTR 8[rbx], r13
	mov	rdi, r14
	mov	DWORD PTR [rbx], ebp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	sqlite3_free@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, r12
	lea	rsi, .LC3[rip]
	call	utf8_printf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	xor	edi, edi
	call	find_home_dir@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L15
	lea	rdi, .LC1[rip]
	call	sqlite3_mprintf@PLT
	mov	r12, rax
	mov	r14, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR stderr[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	raw_printf@PLT
	.cfi_endproc
.LFE0:
	.size	process_sqliterc, .-process_sqliterc
	.comm	stdin_is_interactive,8,8
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.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:

	.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_shell.c_process_sqliterc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-- warning: cannot find home directory; cannot read"
	.ascii	" ~/.sqliterc\012\000"
	.align	2
.LC1:
	.ascii	"%s/.sqliterc\000"
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"-- Loading resources from %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_sqliterc, %function
process_sqliterc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r6, r7}
	subs	r5, r1, #0
	mov	r4, r0
	movne	r8, #0
	beq	.L15
.L2:
	mov	r0, r5
	ldr	r1, .L18
	bl	fopen
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L4
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
.L5:
	mov	r0, r4
	bl	process_input
	ldr	r0, [r4, #4]
	bl	fclose
.L4:
	mov	r0, r8
	stm	r4, {r6, r7}
	pop	{r4, r5, r6, r7, r8, lr}
	b	sqlite3_free
.L16:
	ldr	r3, .L18+8
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L18+12
	bl	utf8_printf
	b	.L5
.L15:
	mov	r0, r5
	bl	find_home_dir
	subs	r1, r0, #0
	beq	.L17
	ldr	r0, .L18+16
	bl	sqlite3_mprintf
	mov	r5, r0
	mov	r8, r0
	b	.L2
.L17:
	ldr	r3, .L18+8
	ldr	r1, .L18+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, lr}
	b	raw_printf
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	stdin_is_interactive
	.word	stderr
	.word	.LC3
	.word	.LC1
	.word	.LC0
	.size	process_sqliterc, .-process_sqliterc
	.comm	stdin_is_interactive,4,4
	.comm	stderr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
