	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdb_sqlite_remove
_hdb_sqlite_remove:                     ## @hdb_sqlite_remove
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	(%rsi), %r12
	movq	8(%r12), %r14
	leaq	-40(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_krb5_unparse_name
	movq	-40(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rdx, %rdi
	callq	_free
	jmp	LBB0_6
LBB0_2:
	movq	_SQLITE_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$-1, %ecx
	callq	_sqlite3_bind_text
	movl	(%r12), %esi
	movl	%r15d, %edi
	movq	%r14, %rdx
	callq	_hdb_sqlite_step
	movq	_SQLITE_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%rbx, %rcx
	callq	_krb5_set_error_message
LBB0_5:
	movq	%r14, %rdi
	callq	_sqlite3_clear_bindings
	movq	%r14, %rdi
	callq	_sqlite3_reset
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_STATIC,4,2              ## @SQLITE_STATIC
	.comm	_SQLITE_DONE,8,3                ## @SQLITE_DONE
	.comm	_EINVAL,8,3                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sqlite remove failed: %d"

	.no_dead_strip	_hdb_sqlite_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdb_sqlite_remove
_hdb_sqlite_remove:                     ; @hdb_sqlite_remove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, x2
	mov	x20, x0
	ldr	x22, [x1]
	ldr	x19, [x22, #8]
	add	x2, sp, #8
	mov	x1, x8
	bl	_krb5_unparse_name
	ldr	x2, [sp, #8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x2
	bl	_free
	b	LBB0_6
LBB0_2:
Lloh0:
	adrp	x8, _SQLITE_STATIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_STATIC@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	w3, #-1
	bl	_sqlite3_bind_text
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x19
	bl	_hdb_sqlite_step
Lloh3:
	adrp	x8, _SQLITE_DONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_DONE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x21, #0
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x21
	bl	_krb5_set_error_message
LBB0_5:
	mov	x0, x19
	bl	_sqlite3_clear_bindings
	mov	x0, x19
	bl	_sqlite3_reset
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_STATIC,4,2              ; @SQLITE_STATIC
	.comm	_SQLITE_DONE,8,3                ; @SQLITE_DONE
	.comm	_EINVAL,8,3                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sqlite remove failed: %d"

	.no_dead_strip	_hdb_sqlite_remove
.subsections_via_symbols
