	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_db_get_key                     ## -- Begin function db_get_key
	.p2align	4, 0x90
_db_get_key:                            ## @db_get_key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_db_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_get_key_stmt@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_sqlite3_reset
	movl	(%r15), %edi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_sqlite3_bind_int
	movl	(%r15), %edi
	movl	$2, %esi
	movl	%r14d, %edx
	callq	_sqlite3_bind_int
	movl	(%r15), %edi
	callq	_sqlite3_step
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movl	(%r15), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_column_int             ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_db_enabled,4,2                 ## @db_enabled
	.comm	_get_key_stmt,4,2               ## @get_key_stmt
	.comm	_SQLITE_ROW,8,3                 ## @SQLITE_ROW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_db_get_key                     ; -- Begin function db_get_key
	.p2align	2
_db_get_key:                            ; @db_get_key
	.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
Lloh0:
	adrp	x8, _db_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _db_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x21, _get_key_stmt@GOTPAGE
Lloh4:
	ldr	x21, [x21, _get_key_stmt@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_sqlite3_reset
	ldr	w0, [x21]
	mov	w1, #1
	mov	x2, x20
	bl	_sqlite3_bind_int
	ldr	w0, [x21]
	mov	w1, #2
	mov	x2, x19
	bl	_sqlite3_bind_int
	ldr	w0, [x21]
	bl	_sqlite3_step
Lloh5:
	adrp	x8, _SQLITE_ROW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_ROW@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x21]
	mov	w1, #0
	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
	b	_sqlite3_column_int
LBB0_3:
	mov	w0, #0
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_db_enabled,4,2                 ; @db_enabled
	.comm	_get_key_stmt,4,2               ; @get_key_stmt
	.comm	_SQLITE_ROW,8,3                 ; @SQLITE_ROW
.subsections_via_symbols
