	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unixFileControl
_unixFileControl:                       ## @unixFileControl
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$15, %esi
	ja	LBB0_7
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	32(%rbx), %rax
	movl	4(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_sqlite3_mprintf
	movq	%rax, (%r14)
	jmp	LBB0_16
LBB0_3:
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	callq	_sqlite3_malloc64
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%rax, %r15
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_unixGetTempname
	movq	%r15, (%r14)
	jmp	LBB0_16
LBB0_6:
	movl	$1, %edi
	callq	_SimulateIOErrorBenign
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_fcntlSizeHint
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_SimulateIOErrorBenign
	movl	%ebx, %eax
	jmp	LBB0_18
LBB0_7:
	movq	_SQLITE_NOTFOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	movq	_UNIXFILE_PSOW@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_UNIXFILE_PERSIST_WAL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_unixModeBit
	jmp	LBB0_16
LBB0_11:
	movl	(%rbx), %eax
	jmp	LBB0_12
LBB0_13:
	movl	4(%rbx), %eax
	jmp	LBB0_12
LBB0_14:
	movq	%rbx, %rdi
	callq	_fileHasMoved
LBB0_12:
	movl	%eax, (%r14)
	jmp	LBB0_16
LBB0_15:
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
LBB0_16:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_UNIXFILE_PERSIST_WAL,4,2       ## @UNIXFILE_PERSIST_WAL
	.comm	_UNIXFILE_PSOW,4,2              ## @UNIXFILE_PSOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_SQLITE_NOTFOUND,4,2            ## @SQLITE_NOTFOUND
	.comm	_F2FS_IOC_ABORT_VOLATILE_WRITE,4,2 ## @F2FS_IOC_ABORT_VOLATILE_WRITE
	.comm	_F2FS_IOC_COMMIT_ATOMIC_WRITE,4,2 ## @F2FS_IOC_COMMIT_ATOMIC_WRITE
	.comm	_F2FS_IOC_START_ATOMIC_WRITE,4,2 ## @F2FS_IOC_START_ATOMIC_WRITE
	.comm	_SQLITE_IOERR_BEGIN_ATOMIC,4,2  ## @SQLITE_IOERR_BEGIN_ATOMIC
	.comm	_SQLITE_IOERR_COMMIT_ATOMIC,4,2 ## @SQLITE_IOERR_COMMIT_ATOMIC
	.comm	_SQLITE_IOERR_ROLLBACK_ATOMIC,4,2 ## @SQLITE_IOERR_ROLLBACK_ATOMIC
	.comm	_sqlite3GlobalConfig,4,2        ## @sqlite3GlobalConfig
	.no_dead_strip	_unixFileControl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unixFileControl
_unixFileControl:                       ; @unixFileControl
	.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
	sub	w8, w1, #128
	cmp	w8, #15
	b.hi	LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x20, #32]
	ldr	w1, [x8, #4]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sqlite3_mprintf
	str	x0, [x19]
	b	LBB0_15
LBB0_3:
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	bl	_sqlite3_malloc64
	cbz	x0, LBB0_15
; %bb.4:
	mov	x21, x0
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_unixGetTempname
	str	x21, [x19]
	b	LBB0_15
LBB0_5:
	mov	w0, #1
	bl	_SimulateIOErrorBenign
	ldr	w1, [x19]
	mov	x0, x20
	bl	_fcntlSizeHint
	mov	x19, x0
	mov	w0, #0
	bl	_SimulateIOErrorBenign
	mov	x0, x19
	b	LBB0_17
LBB0_6:
Lloh4:
	adrp	x8, _SQLITE_NOTFOUND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQLITE_NOTFOUND@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
Lloh6:
	adrp	x8, _UNIXFILE_PSOW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UNIXFILE_PSOW@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _UNIXFILE_PERSIST_WAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UNIXFILE_PERSIST_WAL@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_unixModeBit
	b	LBB0_15
LBB0_10:
	ldr	w8, [x20]
	b	LBB0_12
LBB0_11:
	ldr	w8, [x20, #4]
LBB0_12:
	str	w8, [x19]
	b	LBB0_15
LBB0_13:
	mov	x0, x20
	bl	_fileHasMoved
	str	w0, [x19]
	b	LBB0_15
LBB0_14:
	ldr	w8, [x19]
	str	w8, [x20, #8]
LBB0_15:
Lloh10:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
LBB0_17:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_UNIXFILE_PERSIST_WAL,4,2       ; @UNIXFILE_PERSIST_WAL
	.comm	_UNIXFILE_PSOW,4,2              ; @UNIXFILE_PSOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_SQLITE_NOTFOUND,4,2            ; @SQLITE_NOTFOUND
	.comm	_F2FS_IOC_ABORT_VOLATILE_WRITE,4,2 ; @F2FS_IOC_ABORT_VOLATILE_WRITE
	.comm	_F2FS_IOC_COMMIT_ATOMIC_WRITE,4,2 ; @F2FS_IOC_COMMIT_ATOMIC_WRITE
	.comm	_F2FS_IOC_START_ATOMIC_WRITE,4,2 ; @F2FS_IOC_START_ATOMIC_WRITE
	.comm	_SQLITE_IOERR_BEGIN_ATOMIC,4,2  ; @SQLITE_IOERR_BEGIN_ATOMIC
	.comm	_SQLITE_IOERR_COMMIT_ATOMIC,4,2 ; @SQLITE_IOERR_COMMIT_ATOMIC
	.comm	_SQLITE_IOERR_ROLLBACK_ATOMIC,4,2 ; @SQLITE_IOERR_ROLLBACK_ATOMIC
	.comm	_sqlite3GlobalConfig,4,2        ; @sqlite3GlobalConfig
	.no_dead_strip	_unixFileControl
.subsections_via_symbols
