	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sqliteErrorFromPosixError
_sqliteErrorFromPosixError:             ## @sqliteErrorFromPosixError
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	addl	$-128, %edi
	cmpl	$18, %edi
	ja	LBB0_11
## %bb.1:
	movl	$172289, %ecx                   ## imm = 0x2A101
	btl	%edi, %ecx
	jae	LBB0_2
LBB0_8:
	movq	_SQLITE_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	cmpl	$2, %edi
	je	LBB0_9
## %bb.3:
	cmpl	$18, %edi
	jne	LBB0_11
## %bb.4:
	movq	_SQLITE_IOERR_LOCK@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_8
## %bb.5:
	movq	_SQLITE_IOERR_UNLOCK@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movq	_SQLITE_IOERR_RDLOCK@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_8
LBB0_9:
	movq	_SQLITE_PERM@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_BUSY,4,2                ## @SQLITE_BUSY
	.comm	_SQLITE_IOERR_LOCK,4,2          ## @SQLITE_IOERR_LOCK
	.comm	_SQLITE_IOERR_UNLOCK,4,2        ## @SQLITE_IOERR_UNLOCK
	.comm	_SQLITE_IOERR_RDLOCK,4,2        ## @SQLITE_IOERR_RDLOCK
	.comm	_SQLITE_IOERR_CHECKRESERVEDLOCK,4,2 ## @SQLITE_IOERR_CHECKRESERVEDLOCK
	.comm	_SQLITE_PERM,4,2                ## @SQLITE_PERM
	.comm	_SQLITE_IOERR_BLOCKED,4,2       ## @SQLITE_IOERR_BLOCKED
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.no_dead_strip	_sqliteErrorFromPosixError
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sqliteErrorFromPosixError
_sqliteErrorFromPosixError:             ; @sqliteErrorFromPosixError
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #18
	b.hi	LBB0_8
; %bb.1:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #41217
	movk	w10, #2, lsl #16
	tst	w9, w10
	b.eq	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _SQLITE_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_BUSY@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	cmp	w8, #2
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #18
	b.ne	LBB0_8
; %bb.5:
Lloh2:
	adrp	x8, _SQLITE_IOERR_LOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_IOERR_LOCK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _SQLITE_IOERR_UNLOCK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SQLITE_IOERR_UNLOCK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _SQLITE_IOERR_RDLOCK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SQLITE_IOERR_RDLOCK@GOTPAGEOFF]
Lloh10:
	adrp	x11, _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
Lloh13:
	ldr	w11, [x11]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	ccmp	w10, w1, #4, ne
	ccmp	w11, w1, #4, ne
	b.eq	LBB0_2
LBB0_6:
Lloh14:
	adrp	x8, _SQLITE_PERM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SQLITE_PERM@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
LBB0_8:
	mov	x0, x1
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_BUSY,4,2                ; @SQLITE_BUSY
	.comm	_SQLITE_IOERR_LOCK,4,2          ; @SQLITE_IOERR_LOCK
	.comm	_SQLITE_IOERR_UNLOCK,4,2        ; @SQLITE_IOERR_UNLOCK
	.comm	_SQLITE_IOERR_RDLOCK,4,2        ; @SQLITE_IOERR_RDLOCK
	.comm	_SQLITE_IOERR_CHECKRESERVEDLOCK,4,2 ; @SQLITE_IOERR_CHECKRESERVEDLOCK
	.comm	_SQLITE_PERM,4,2                ; @SQLITE_PERM
	.comm	_SQLITE_IOERR_BLOCKED,4,2       ; @SQLITE_IOERR_BLOCKED
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.no_dead_strip	_sqliteErrorFromPosixError
.subsections_via_symbols
