	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_profile                ## -- Begin function sqlite3_profile
	.p2align	4, 0x90
_sqlite3_profile:                       ## @sqlite3_profile
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_sqlite3_mutex_enter
	movq	16(%rbx), %r14
	movq	%r12, (%rbx)
	movq	%r15, 16(%rbx)
	movq	_SQLITE_TRACE_NONLEGACY_MASK@GOTPCREL(%rip), %rcx
	movl	12(%rbx), %eax
	andl	(%rcx), %eax
	movl	%eax, 12(%rbx)
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	_SQLITE_TRACE_XPROFILE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 12(%rbx)
LBB0_2:
	movl	8(%rbx), %edi
	callq	_sqlite3_mutex_leave
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_TRACE_NONLEGACY_MASK,4,2 ## @SQLITE_TRACE_NONLEGACY_MASK
	.comm	_SQLITE_TRACE_XPROFILE,4,2      ## @SQLITE_TRACE_XPROFILE
	.comm	_SQLITE_MISUSE_BKPT,4,2         ## @SQLITE_MISUSE_BKPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_profile                ; -- Begin function sqlite3_profile
	.p2align	2
_sqlite3_profile:                       ; @sqlite3_profile
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_sqlite3_mutex_enter
	ldr	x20, [x19, #16]
	str	x22, [x19]
	str	x21, [x19, #16]
Lloh0:
	adrp	x8, _SQLITE_TRACE_NONLEGACY_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_TRACE_NONLEGACY_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	and	w8, w9, w8
	str	w8, [x19, #12]
	cbz	x22, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _SQLITE_TRACE_XPROFILE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQLITE_TRACE_XPROFILE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_sqlite3_mutex_leave
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_TRACE_NONLEGACY_MASK,4,2 ; @SQLITE_TRACE_NONLEGACY_MASK
	.comm	_SQLITE_TRACE_XPROFILE,4,2      ; @SQLITE_TRACE_XPROFILE
	.comm	_SQLITE_MISUSE_BKPT,4,2         ; @SQLITE_MISUSE_BKPT
.subsections_via_symbols
