	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_set_auxdata            ## -- Begin function sqlite3_set_auxdata
	.p2align	4, 0x90
_sqlite3_set_auxdata:                   ## @sqlite3_set_auxdata
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	24(%rdi), %r13
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_sqlite3_mutex_held
	movl	%eax, %edi
	callq	_assert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movq	(%r13), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r12d, (%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	js	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	cmpq	%rax, 8(%rbx)
	jne	LBB0_5
LBB0_9:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	24(%rbx), %rdi
	callq	*%rax
	jmp	LBB0_11
LBB0_6:
	movl	8(%r13), %edi
	movl	$40, %esi
	callq	_sqlite3DbMallocZero
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
	movl	%r12d, (%rbx)
	movq	(%r13), %rax
	movq	%rax, 32(%rbx)
	movq	%rbx, (%r13)
	cmpl	$0, 8(%r15)
	jne	LBB0_11
## %bb.8:
	movl	$-1, 8(%r15)
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	%r14, 16(%rbx)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testq	%r14, %r14
	je	LBB0_13
## %bb.14:
	movq	%r14, %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_set_auxdata            ; -- Begin function sqlite3_set_auxdata
	.p2align	2
_sqlite3_set_auxdata:                   ; @sqlite3_set_auxdata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldp	x8, x23, [x0, #16]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_sqlite3_mutex_held
	bl	_assert
	cmp	x23, #0
	cset	w0, ne
	bl	_assert
	ldr	x21, [x23]
	cbnz	x21, LBB0_5
LBB0_1:
	ldr	w0, [x23, #8]
	mov	w1, #40
	bl	_sqlite3DbMallocZero
	cbz	x0, LBB0_12
; %bb.2:
	mov	x21, x0
	ldr	x8, [x20]
	str	x8, [x0, #8]
	str	w22, [x0]
	ldr	x8, [x23]
	str	x8, [x0, #32]
	str	x0, [x23]
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_10
; %bb.3:
	mov	w8, #-1
	str	w8, [x20, #8]
	b	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21, #32]
	cbz	x21, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w22, #31, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_8:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x0, [x21, #24]
	blr	x8
LBB0_10:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	stp	x0, x19, [x21, #16]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x1, LBB0_11
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	br	x1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
