	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_ret                       ## -- Begin function __bt_ret
	.p2align	4, 0x90
___bt_ret:                              ## @__bt_ret
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %eax
	movl	4(%rsi), %edi
	movl	%eax, %esi
	callq	_GETBLEAF
	movq	%rax, %r13
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movq	_P_BIGKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.2:
	movq	8(%r13), %rsi
	leaq	8(%r15), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	___ovfl_get
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_10
LBB0_4:
	cmpl	$0, 16(%rbp)
	jne	LBB0_6
## %bb.5:
	movq	_B_DB_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_26
LBB0_6:
	movq	16(%r13), %rdx
	movq	8(%r15), %rdi
	cmpq	(%r15), %rdx
	jle	LBB0_9
## %bb.7:
	movq	%rdx, %rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	%rax, %rdi
	movq	%rax, 8(%r15)
	movq	16(%r13), %rdx
	movq	%rdx, (%r15)
LBB0_9:
	addq	$8, %r15
	movq	8(%r13), %rsi
	callq	_memmove
	movq	16(%r13), %rax
	movq	%rax, (%rbx)
	movq	%r15, %r14
LBB0_10:
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
LBB0_11:
	movq	_RET_SUCCESS@GOTPCREL(%rip), %r14
	testq	%r12, %r12
	je	LBB0_24
## %bb.12:
	movq	_P_BIGDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_15
## %bb.13:
	movq	16(%r13), %rsi
	addq	8(%r13), %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	leaq	8(%r8), %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	___ovfl_get
	testq	%rax, %rax
	je	LBB0_19
LBB0_3:
	movq	_RET_ERROR@GOTPCREL(%rip), %r14
	jmp	LBB0_24
LBB0_15:
	cmpl	$0, 16(%rbp)
	jne	LBB0_17
## %bb.16:
	movq	_B_DB_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_28
LBB0_17:
	movq	24(%r13), %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	(%rbx), %rdx
	jge	LBB0_20
## %bb.18:
	movq	8(%rbx), %rdi
	jmp	LBB0_22
LBB0_19:
	movq	(%rbx), %rax
	jmp	LBB0_23
LBB0_20:
	incq	%rdx
	movq	8(%rbx), %rdi
	movq	%rdx, %rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.21:
	movq	%rax, %rdi
	movq	%rax, 8(%rbx)
	movq	24(%r13), %rdx
	leaq	1(%rdx), %rax
	movq	%rax, (%rbx)
LBB0_22:
	movq	16(%r13), %rsi
	addq	8(%r13), %rsi
	callq	_memmove
	movq	24(%r13), %rax
	movq	%rax, (%r12)
	movq	8(%rbx), %rax
LBB0_23:
	movq	%rax, 8(%r12)
LBB0_24:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	16(%r13), %rax
	movq	%rax, (%rbx)
	movq	%r13, %r14
	addq	$8, %r14
	jmp	LBB0_10
LBB0_28:
	movq	24(%r13), %rax
	movq	%rax, (%r12)
	movq	16(%r13), %rax
	addq	8(%r13), %rax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_P_BIGKEY,4,2                   ## @P_BIGKEY
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.comm	_B_DB_LOCK,4,2                  ## @B_DB_LOCK
	.comm	_RET_SUCCESS,4,2                ## @RET_SUCCESS
	.comm	_P_BIGDATA,4,2                  ## @P_BIGDATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_ret                       ; -- Begin function __bt_ret
	.p2align	2
___bt_ret:                              ; @__bt_ret
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x6
	mov	x20, x5
	mov	x19, x4
	mov	x25, x3
	mov	x24, x2
	mov	x22, x0
	ldp	w1, w0, [x1]
	bl	_GETBLEAF
	mov	x21, x0
	cbz	x24, LBB0_10
; %bb.1:
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _P_BIGKEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P_BIGKEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x1, [x21, #8]
	add	x26, x25, #8
	mov	x0, x22
	mov	x2, x24
	mov	x3, x26
	mov	x4, x25
	bl	___ovfl_get
	cbnz	x0, LBB0_13
	b	LBB0_9
LBB0_3:
	cbnz	w23, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _B_DB_LOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B_DB_LOCK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_F_ISSET
	cbz	x0, LBB0_25
LBB0_5:
	ldr	x2, [x21, #16]
	ldr	x8, [x25]
	mov	x26, x25
	ldr	x0, [x26, #8]!
	cmp	x2, x8
	b.le	LBB0_8
; %bb.6:
	mov	x1, x2
	bl	_realloc
	cbz	x0, LBB0_13
; %bb.7:
	ldr	x2, [x21, #16]
	stp	x2, x0, [x25]
LBB0_8:
	ldr	x1, [x21, #8]
	bl	_memmove
	ldr	x8, [x21, #16]
	str	x8, [x24]
LBB0_9:
	ldr	x8, [x26]
	str	x8, [x24, #8]
LBB0_10:
	cbz	x19, LBB0_23
; %bb.11:
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _P_BIGDATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P_BIGDATA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
	ldp	x8, x9, [x21, #8]
	add	x1, x9, x8
	add	x21, x20, #8
	mov	x0, x22
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	___ovfl_get
	cbz	x0, LBB0_18
LBB0_13:
Lloh9:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
	b	LBB0_24
LBB0_14:
	cbnz	w23, LBB0_16
; %bb.15:
Lloh11:
	adrp	x8, _B_DB_LOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B_DB_LOCK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_F_ISSET
	cbz	x0, LBB0_26
LBB0_16:
	ldr	x2, [x21, #24]
	ldr	x8, [x20]
	cmp	x2, x8
	b.ge	LBB0_19
; %bb.17:
	ldr	x0, [x20, #8]
	b	LBB0_21
LBB0_18:
	ldr	x8, [x21]
	b	LBB0_22
LBB0_19:
	add	x1, x2, #1
	ldr	x0, [x20, #8]
	bl	_realloc
	cbz	x0, LBB0_13
; %bb.20:
	ldr	x2, [x21, #24]
	add	x8, x2, #1
	stp	x8, x0, [x20]
LBB0_21:
	ldp	x8, x9, [x21, #8]
	add	x1, x9, x8
	bl	_memmove
	ldr	x8, [x21, #24]
	str	x8, [x19]
	ldr	x8, [x20, #8]
LBB0_22:
	str	x8, [x19, #8]
LBB0_23:
Lloh14:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_25:
	ldr	x8, [x21, #16]
	str	x8, [x24]
	add	x26, x21, #8
	b	LBB0_9
LBB0_26:
	ldr	x8, [x21, #24]
	str	x8, [x19]
	ldp	x8, x9, [x21, #8]
	add	x8, x9, x8
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_P_BIGKEY,4,2                   ; @P_BIGKEY
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_B_DB_LOCK,4,2                  ; @B_DB_LOCK
	.comm	_RET_SUCCESS,4,2                ; @RET_SUCCESS
	.comm	_P_BIGDATA,4,2                  ; @P_BIGDATA
.subsections_via_symbols
