	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_fileio_init            ## -- Begin function sqlite3_fileio_init
	.p2align	4, 0x90
_sqlite3_fileio_init:                   ## @sqlite3_fileio_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_SQLITE_EXTENSION_INIT2
	movq	_SQLITE_UTF8@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	_readfileFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	$0
	callq	_sqlite3_create_function
	addq	$16, %rsp
	movq	_SQLITE_OK@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	je	LBB0_1
## %bb.2:
	cmpl	%ecx, %eax
	je	LBB0_3
LBB0_4:
	cmpl	%ecx, %eax
	jne	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fsdirRegister                  ## TAILCALL
LBB0_1:
	movl	(%r14), %ecx
	movq	_writefileFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$-1, %edx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	$0
	callq	_sqlite3_create_function
	addq	$16, %rsp
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_4
LBB0_3:
	movl	(%r14), %ecx
	movq	_lsModeFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	$0
	callq	_sqlite3_create_function
	addq	$16, %rsp
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	je	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"readfile"

	.comm	_SQLITE_UTF8,4,2                ## @SQLITE_UTF8
	.comm	_readfileFunc,4,2               ## @readfileFunc
L_.str.1:                               ## @.str.1
	.asciz	"writefile"

	.comm	_writefileFunc,4,2              ## @writefileFunc
L_.str.2:                               ## @.str.2
	.asciz	"lsmode"

	.comm	_lsModeFunc,4,2                 ## @lsModeFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_fileio_init            ; -- Begin function sqlite3_fileio_init
	.p2align	2
_sqlite3_fileio_init:                   ; @sqlite3_fileio_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	x0, x2
	bl	_SQLITE_EXTENSION_INIT2
Lloh0:
	adrp	x20, _SQLITE_UTF8@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SQLITE_UTF8@GOTPAGEOFF]
	ldr	w3, [x20]
Lloh2:
	adrp	x8, _readfileFunc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _readfileFunc@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	mov	w4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_sqlite3_create_function
Lloh7:
	adrp	x21, _SQLITE_OK@GOTPAGE
Lloh8:
	ldr	x21, [x21, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, w8
	b.eq	LBB0_5
LBB0_2:
	cmp	w0, w8
	b.ne	LBB0_6
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fsdirRegister
LBB0_4:
	ldr	w3, [x20]
Lloh9:
	adrp	x8, _writefileFunc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _writefileFunc@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	mov	w4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_sqlite3_create_function
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_2
LBB0_5:
	ldr	w3, [x20]
Lloh14:
	adrp	x8, _lsModeFunc@GOTPAGE
Lloh15:
	ldr	x8, [x8, _lsModeFunc@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	mov	w4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_sqlite3_create_function
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"readfile"

	.comm	_SQLITE_UTF8,4,2                ; @SQLITE_UTF8
	.comm	_readfileFunc,4,2               ; @readfileFunc
l_.str.1:                               ; @.str.1
	.asciz	"writefile"

	.comm	_writefileFunc,4,2              ; @writefileFunc
l_.str.2:                               ; @.str.2
	.asciz	"lsmode"

	.comm	_lsModeFunc,4,2                 ; @lsModeFunc
.subsections_via_symbols
