	.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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_SQLITE_IOERR_LOCK@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%al
	movq	_SQLITE_IOERR_UNLOCK@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	sete	%cl
	orb	%al, %cl
	movq	_SQLITE_IOERR_RDLOCK@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%al
	movq	_SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	sete	%dl
	orb	%al, %dl
	orb	%cl, %dl
	movzbl	%dl, %edi
	callq	_assert
	leal	-130(%r14), %eax
	cmpl	$5, %eax
	jae	LBB0_1
LBB0_3:
	movq	_SQLITE_BUSY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	cmpl	$129, %r14d
	je	LBB0_4
## %bb.2:
	cmpl	$128, %r14d
	je	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	_SQLITE_PERM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.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_BUSY,4,2                ## @SQLITE_BUSY
	.comm	_SQLITE_PERM,4,2                ## @SQLITE_PERM
	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SQLITE_IOERR_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_IOERR_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SQLITE_IOERR_UNLOCK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQLITE_IOERR_UNLOCK@GOTPAGEOFF]
	cmp	w8, w1
Lloh5:
	ldr	w8, [x9]
	ccmp	w8, w1, #4, ne
Lloh6:
	adrp	x8, _SQLITE_IOERR_RDLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_IOERR_RDLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w8, w1, #4, ne
Lloh9:
	adrp	x8, _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ccmp	w8, w1, #4, ne
	cset	w0, eq
	bl	_assert
	sub	w8, w20, #130
	cmp	w8, #5
	b.hs	LBB0_4
LBB0_1:
Lloh12:
	adrp	x8, _SQLITE_BUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SQLITE_BUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w19, [x8]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w20, #129
	b.eq	LBB0_6
; %bb.5:
	cmp	w20, #128
	b.eq	LBB0_1
	b	LBB0_3
LBB0_6:
Lloh14:
	adrp	x8, _SQLITE_PERM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SQLITE_PERM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.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_BUSY,4,2                ; @SQLITE_BUSY
	.comm	_SQLITE_PERM,4,2                ; @SQLITE_PERM
	.no_dead_strip	_sqliteErrorFromPosixError
.subsections_via_symbols
