	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_db_auth_select                 ## -- Begin function db_auth_select
	.p2align	4, 0x90
_db_auth_select:                        ## @db_auth_select
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_db_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_db_auth_select_none
	movq	_db@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rcx
	movl	$-1, %edx
	xorl	%r8d, %r8d
	callq	_sqlite3_prepare_v2
	movq	-24(%rbp), %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3_bind_text
	movq	-24(%rbp), %rdi
	callq	_sqlite3_step
	movq	-24(%rbp), %rdi
	callq	_sqlite3_finalize
	movl	(%r14), %edi
	callq	_sqlite3_changes
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_db_enabled,4,2                 ## @db_enabled
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update auth.identity_token set selected = 1 where username = ?;"

	.comm	_db,4,2                         ## @db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_db_auth_select                 ; -- Begin function db_auth_select
	.p2align	2
_db_auth_select:                        ; @db_auth_select
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _db_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _db_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_db_auth_select_none
Lloh3:
	adrp	x20, _db@GOTPAGE
Lloh4:
	ldr	x20, [x20, _db@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	w2, #-1
	mov	x4, #0
	bl	_sqlite3_prepare_v2
	ldr	x0, [sp, #8]
	mov	w1, #1
	mov	x2, x19
	mov	w3, #-1
	mov	x4, #0
	bl	_sqlite3_bind_text
	ldr	x0, [sp, #8]
	bl	_sqlite3_step
	ldr	x0, [sp, #8]
	bl	_sqlite3_finalize
	ldr	w0, [x20]
	bl	_sqlite3_changes
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_db_enabled,4,2                 ; @db_enabled
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update auth.identity_token set selected = 1 where username = ?;"

	.comm	_db,4,2                         ; @db
.subsections_via_symbols
