	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_sqliterc
_process_sqliterc:                      ## @process_sqliterc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movl	(%rdi), %r13d
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_2:
	xorl	%edi, %edi
	callq	_find_home_dir
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_sqlite3_mprintf
	movq	%rax, %r14
	movq	%rax, %r15
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_utf8_printf
LBB0_7:
	movq	%rbx, %rdi
	callq	_process_input
	movq	8(%rbx), %rdi
	callq	_fclose
LBB0_8:
	movq	%r12, 8(%rbx)
	movl	%r13d, (%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_free                   ## TAILCALL
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-- warning: cannot find home directory; cannot read ~/.sqliterc\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s/.sqliterc"

L_.str.2:                               ## @.str.2
	.asciz	"rb"

	.comm	_stdin_is_interactive,8,3       ## @stdin_is_interactive
L_.str.3:                               ## @.str.3
	.asciz	"-- Loading resources from %s\n"

	.no_dead_strip	_process_sqliterc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_sqliterc
_process_sqliterc:                      ; @process_sqliterc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldr	w23, [x0]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x21, x1
	mov	x20, #0
	b	LBB0_4
LBB0_2:
	mov	w0, #0
	bl	_find_home_dir
	cbz	x0, LBB0_9
; %bb.3:
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_sqlite3_mprintf
	mov	x20, x0
	mov	x21, x0
LBB0_4:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_fopen
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.5:
Lloh4:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_utf8_printf
LBB0_7:
	mov	x0, x19
	bl	_process_input
	ldr	x0, [x19, #8]
	bl	_fclose
LBB0_8:
	str	x22, [x19, #8]
	str	w23, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sqlite3_free
LBB0_9:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_raw_printf
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-- warning: cannot find home directory; cannot read ~/.sqliterc\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s/.sqliterc"

l_.str.2:                               ; @.str.2
	.asciz	"rb"

	.comm	_stdin_is_interactive,8,3       ; @stdin_is_interactive
l_.str.3:                               ; @.str.3
	.asciz	"-- Loading resources from %s\n"

	.no_dead_strip	_process_sqliterc
.subsections_via_symbols
