	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_db_eget                        ## -- Begin function db_eget
	.p2align	4, 0x90
_db_eget:                               ## @db_eget
	.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
	movq	%r8, %r14
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movl	%esi, %r12d
	movq	%rdi, %r15
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movl	$0, (%r14)
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_db_get
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	cmpl	$1, %r12d
	ja	LBB0_6
## %bb.4:
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_db_last
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	cmpl	$0, -36(%rbp)
	je	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_db_err
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movl	$1, (%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_db_eget                        ; -- Begin function db_eget
	.p2align	2
_db_eget:                               ; @db_eget
	.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	x19, x4
	mov	x4, x3
	mov	x3, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x19, LBB0_2
; %bb.1:
	str	wzr, [x19]
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_db_get
	cbz	w0, LBB0_8
; %bb.3:
	cmp	w20, #1
	b.hi	LBB0_6
; %bb.4:
	add	x1, sp, #12
	mov	x0, x21
	bl	_db_last
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_9
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	bl	_db_err
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
LBB0_9:
	mov	w0, #1
	cbz	x19, LBB0_8
; %bb.10:
	str	w0, [x19]
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
