	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unixShmLock
_unixShmLock:                           ## @unixShmLock
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movq	24(%r14), %r12
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	cmpq	8(%rax), %r12
	sete	%dil
	callq	_assert
	movq	24(%r12), %rax
	xorl	%edi, %edi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	testl	%r13d, %r13d
	setns	%al
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leal	(%r15,%r13), %edx
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movq	_SQLITE_SHM_NLOCK@GOTPCREL(%rip), %rcx
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	cmpl	(%rcx), %edx
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	xorl	%edi, %edi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	setg	%dil
	callq	_assert
	movq	_SQLITE_SHM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SQLITE_SHM_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	orl	%edx, %ecx
	movl	$1, %r15d
	movl	$1, %edi
	cmpl	%r13d, %ecx
	je	LBB0_4
## %bb.1:
	movq	_SQLITE_SHM_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %edx
	movl	$1, %edi
	cmpl	%r13d, %edx
	je	LBB0_4
## %bb.2:
	movq	_SQLITE_SHM_UNLOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %eax
	movl	$1, %edi
	cmpl	%r13d, %eax
	je	LBB0_4
## %bb.3:
	orl	%ecx, %edx
	xorl	%edi, %edi
	cmpl	%r13d, %edx
	sete	%dil
LBB0_4:
	callq	_assert
	cmpl	$1, -56(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movq	_SQLITE_SHM_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r13d, %ecx
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpq	$0, (%r12)
	jns	LBB0_6
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	cmpl	$1, (%rax)
	sete	%r15b
LBB0_6:
	movl	%r15d, %edi
	callq	_assert
	movl	$1, %ebx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r12)
	movl	$1, %edi
	js	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
LBB0_8:
	callq	_assert
	movl	$1, %r12d
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %ebx
	subl	%ebx, %r12d
	cmpl	$2, -56(%rbp)                   ## 4-byte Folded Reload
	setge	%al
	cmpl	%ebx, %r12d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	callq	_sqlite3_mutex_enter
	movq	_SQLITE_SHM_UNLOCK@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_19
## %bb.9:
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	movq	_SQLITE_OK@GOTPCREL(%rip), %r13
	je	LBB0_10
## %bb.11:
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %rbx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%r14), %eax
	orl	(%r14), %eax
	xorl	%edi, %edi
	andl	(%rbx), %eax
	sete	%dil
	callq	_assert
	orl	4(%rbx), %r15d
	jmp	LBB0_14
LBB0_19:
	movq	16(%rbx), %rdx
	movq	_SQLITE_SHM_SHARED@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_31
## %bb.20:
	testq	%rdx, %rdx
	movq	_SQLITE_OK@GOTPCREL(%rip), %r15
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_21
## %bb.22:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	testl	%r12d, (%rdx)
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	orl	4(%rdx), %ecx
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_23
	jmp	LBB0_26
LBB0_10:
	xorl	%r15d, %r15d
LBB0_15:
	testl	%r12d, %r15d
	je	LBB0_17
## %bb.16:
	movl	(%r13), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_17:
	movq	_F_UNLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	-72(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	_UNIX_SHM_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_unixShmSystemLock
	movl	%eax, %r15d
	movl	(%r13), %eax
	cmpl	%eax, %r15d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_39
LBB0_18:
	notl	%r12d
	andl	%r12d, (%r14)
	andl	%r12d, 4(%r14)
	movl	%eax, %r15d
	jmp	LBB0_39
LBB0_31:
	testq	%rdx, %rdx
	movq	_SQLITE_OK@GOTPCREL(%rip), %r13
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_36
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	testl	%r12d, (%rdx)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	testl	%r12d, 4(%rdx)
	jne	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_33
	jmp	LBB0_36
LBB0_21:
	xorl	%ecx, %ecx
	jmp	LBB0_26
LBB0_24:
	movq	_SQLITE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_26:
	movl	(%r15), %edx
	cmpl	%edx, %eax
	jne	LBB0_29
## %bb.27:
	testl	%r12d, %ecx
	jne	LBB0_30
## %bb.28:
	movq	_F_RDLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	-72(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	_UNIX_SHM_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_unixShmSystemLock
	movl	(%r15), %edx
LBB0_29:
	movl	%eax, %r15d
	movl	%edx, %eax
	cmpl	%edx, %r15d
	jne	LBB0_39
LBB0_30:
	orl	%r12d, 4(%r14)
	movl	%eax, %r15d
	jmp	LBB0_39
LBB0_35:
	movq	_SQLITE_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_36:
	movl	%eax, %r15d
	cmpl	(%r13), %eax
	jne	LBB0_39
## %bb.37:
	movq	_F_WRLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	-72(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	_UNIX_SHM_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_unixShmSystemLock
	movl	%eax, %r15d
	cmpl	(%r13), %eax
	jne	LBB0_39
## %bb.38:
	xorl	%edi, %edi
	movl	4(%r14), %eax
	andl	%r12d, %eax
	sete	%dil
	callq	_assert
	orl	%r12d, (%r14)
LBB0_39:
	movl	8(%rbx), %edi
	callq	_sqlite3_mutex_leave
	xorl	%edi, %edi
	callq	_osGetpid
	movslq	(%r14), %rdi
	callq	_OSTRACE
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_SHM_NLOCK,4,2           ## @SQLITE_SHM_NLOCK
	.comm	_SQLITE_SHM_LOCK,4,2            ## @SQLITE_SHM_LOCK
	.comm	_SQLITE_SHM_SHARED,4,2          ## @SQLITE_SHM_SHARED
	.comm	_SQLITE_SHM_EXCLUSIVE,4,2       ## @SQLITE_SHM_EXCLUSIVE
	.comm	_SQLITE_SHM_UNLOCK,4,2          ## @SQLITE_SHM_UNLOCK
	.comm	_F_UNLCK,4,2                    ## @F_UNLCK
	.comm	_UNIX_SHM_BASE,8,3              ## @UNIX_SHM_BASE
	.comm	_SQLITE_BUSY,4,2                ## @SQLITE_BUSY
	.comm	_F_RDLCK,4,2                    ## @F_RDLCK
	.comm	_F_WRLCK,4,2                    ## @F_WRLCK
	.no_dead_strip	_unixShmLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unixShmLock
_unixShmLock:                           ; @unixShmLock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldp	x8, x24, [x0]
	ldr	x25, [x24, #24]
Lloh0:
	adrp	x9, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x8, [x8, #8]
	cmp	x25, x8
	cset	w0, eq
	bl	_assert
	ldr	x8, [x25, #24]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	cmp	w21, #0
	add	w27, w19, w21
Lloh3:
	adrp	x8, _SQLITE_SHM_NLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_SHM_NLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w27, w8, #0, ge
	cset	w0, le
	bl	_assert
	cmp	w19, #0
	cset	w0, gt
	bl	_assert
Lloh6:
	adrp	x8, _SQLITE_SHM_LOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_SHM_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
Lloh9:
	adrp	x28, _SQLITE_SHM_SHARED@GOTPAGE
Lloh10:
	ldr	x28, [x28, _SQLITE_SHM_SHARED@GOTPAGEOFF]
	ldr	w8, [x28]
	orr	w10, w8, w9
Lloh11:
	adrp	x22, _SQLITE_SHM_EXCLUSIVE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _SQLITE_SHM_EXCLUSIVE@GOTPAGEOFF]
Lloh13:
	adrp	x26, _SQLITE_SHM_UNLOCK@GOTPAGE
Lloh14:
	ldr	x26, [x26, _SQLITE_SHM_UNLOCK@GOTPAGEOFF]
	cmp	w10, w23
	b.eq	LBB0_2
; %bb.1:
	ldr	w10, [x22]
	orr	w9, w10, w9
	cmp	w9, w23
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	ldr	w9, [x26]
	orr	w8, w9, w8
	mov	w11, #1
	orr	w9, w9, w10
	cmp	w9, w23
	cset	w9, eq
	cmp	w8, w23
	csel	w0, w11, w9, eq
LBB0_4:
	bl	_assert
	ldr	w8, [x22]
	tst	w8, w23
	ccmp	w19, #1, #4, eq
	cset	w0, eq
	bl	_assert
	ldr	x8, [x25]
	tbnz	x8, #63, LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w0, eq
LBB0_7:
	bl	_assert
	ldr	x8, [x25]
	mov	w22, #1
	tbnz	x8, #63, LBB0_9
; %bb.8:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	bl	_assert
	lsl	w8, w22, w27
	lsl	w9, w22, w21
	sub	w27, w8, w9
	cmp	w19, #1
	ccmp	w27, w9, #4, le
	cset	w0, eq
	bl	_assert
	ldr	w0, [x25, #8]
	bl	_sqlite3_mutex_enter
	ldr	w8, [x26]
	tst	w8, w23
	b.eq	LBB0_16
; %bb.11:
	ldr	x22, [x25, #16]
	cbz	x22, LBB0_21
; %bb.12:
	mov	w23, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cmp	x22, x24
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x22]
	ldp	w9, w10, [x24]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x22, #4]
	orr	w23, w8, w23
	b	LBB0_13
LBB0_16:
	ldr	w9, [x28]
	ldr	x8, [x25, #16]
Lloh15:
	adrp	x22, _SQLITE_OK@GOTPAGE
Lloh16:
	ldr	x22, [x22, _SQLITE_OK@GOTPAGEOFF]
	tst	w9, w23
	b.eq	LBB0_26
; %bb.17:
	mov	w9, #0
	cbz	x8, LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	tst	w10, w27
	b.ne	LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_18
LBB0_20:
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	b	LBB0_32
LBB0_21:
	mov	w23, #0
LBB0_22:
	tst	w23, w27
	b.eq	LBB0_24
; %bb.23:
Lloh17:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	b	LBB0_25
LBB0_24:
Lloh20:
	adrp	x8, _F_UNLCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _F_UNLCK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _UNIX_SHM_BASE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UNIX_SHM_BASE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	add	x2, x8, w21, sxtw
	mov	x0, x20
	mov	x3, x19
	bl	_unixShmSystemLock
	mov	x23, x0
Lloh26:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_42
LBB0_25:
	mvn	w9, w27
	ldr	d0, [x24]
	dup.2s	v1, w9
	and.8b	v0, v0, v1
	str	d0, [x24]
	mov	x23, x8
	b	LBB0_42
LBB0_26:
	cbz	x8, LBB0_38
; %bb.27:
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	tst	w9, w27
	b.ne	LBB0_37
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w9, [x8, #4]
	tst	w9, w27
	b.ne	LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_28
	b	LBB0_39
LBB0_31:
Lloh29:
	adrp	x8, _SQLITE_BUSY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SQLITE_BUSY@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
LBB0_32:
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_35
; %bb.33:
	tst	w9, w27
	b.ne	LBB0_36
; %bb.34:
Lloh32:
	adrp	x8, _F_RDLCK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _F_RDLCK@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _UNIX_SHM_BASE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _UNIX_SHM_BASE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	add	x2, x8, w21, sxtw
	mov	x0, x20
	mov	x3, x19
	bl	_unixShmSystemLock
	ldr	w8, [x22]
LBB0_35:
	mov	x23, x0
	mov	x0, x8
	cmp	w23, w8
	b.ne	LBB0_42
LBB0_36:
	ldr	w8, [x24, #4]
	orr	w8, w8, w27
	str	w8, [x24, #4]
	mov	x23, x0
	b	LBB0_42
LBB0_37:
Lloh38:
	adrp	x8, _SQLITE_BUSY@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SQLITE_BUSY@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x8]
	b	LBB0_39
LBB0_38:
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
LBB0_39:
	ldr	w8, [x22]
	mov	x23, x10
	cmp	w10, w8
	b.ne	LBB0_42
; %bb.40:
Lloh41:
	adrp	x8, _F_WRLCK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _F_WRLCK@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _UNIX_SHM_BASE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _UNIX_SHM_BASE@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	add	x2, x8, w21, sxtw
	mov	x0, x20
	mov	x3, x19
	bl	_unixShmSystemLock
	mov	x23, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_42
; %bb.41:
	ldr	w8, [x24, #4]
	tst	w8, w27
	cset	w0, eq
	bl	_assert
	ldr	w8, [x24]
	orr	w8, w8, w27
	str	w8, [x24]
LBB0_42:
	ldr	w0, [x25, #8]
	bl	_sqlite3_mutex_leave
	mov	w0, #0
	bl	_osGetpid
	ldrsw	x0, [x24]
	bl	_OSTRACE
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_SHM_NLOCK,4,2           ; @SQLITE_SHM_NLOCK
	.comm	_SQLITE_SHM_LOCK,4,2            ; @SQLITE_SHM_LOCK
	.comm	_SQLITE_SHM_SHARED,4,2          ; @SQLITE_SHM_SHARED
	.comm	_SQLITE_SHM_EXCLUSIVE,4,2       ; @SQLITE_SHM_EXCLUSIVE
	.comm	_SQLITE_SHM_UNLOCK,4,2          ; @SQLITE_SHM_UNLOCK
	.comm	_F_UNLCK,4,2                    ; @F_UNLCK
	.comm	_UNIX_SHM_BASE,8,3              ; @UNIX_SHM_BASE
	.comm	_SQLITE_BUSY,4,2                ; @SQLITE_BUSY
	.comm	_F_RDLCK,4,2                    ; @F_RDLCK
	.comm	_F_WRLCK,4,2                    ; @F_WRLCK
	.no_dead_strip	_unixShmLock
.subsections_via_symbols
