	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_pgout                     ## -- Begin function __bt_pgout
	.p2align	4, 0x90
___bt_pgout:                            ## @__bt_pgout
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	_B_NEEDSWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_ISSET
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movq	_P_META@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.19:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mswap                          ## TAILCALL
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	callq	_NEXTINDEX
	movq	_P_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r15), %ecx
	movq	%rax, %r14
	movq	_P_BINTERNAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_8
## %bb.3:
	testq	%r14, %r14
	je	LBB0_17
## %bb.4:
	xorl	%r12d, %r12d
	movq	_P_BIGKEY@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%r12,4), %edi
	callq	_M_16_SWAP
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_17
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_GETBINTERNAL
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_P_32_SWAP
	leaq	4(%rbx), %rdi
	callq	_P_32_SWAP
	movl	(%r13), %eax
	testl	%eax, 12(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	16(%rbx), %rdi
	callq	_P_32_SWAP
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_P_32_SWAP
	jmp	LBB0_7
LBB0_8:
	movq	_P_BLEAF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_17
## %bb.9:
	testq	%r14, %r14
	je	LBB0_17
## %bb.10:
	xorl	%r12d, %r12d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%r12,4), %edi
	callq	_M_16_SWAP
	incq	%r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r12, %r14
	je	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_GETBLEAF
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_P_32_SWAP
	leaq	4(%rbx), %rdi
	callq	_P_32_SWAP
	movl	8(%rbx), %r14d
	movq	_P_BIGKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_P_BIGDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	testl	%r14d, %edx
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	12(%rbx), %r13
	testl	%r14d, %ecx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	callq	_P_32_SWAP
	addq	$20, %rbx
	movq	%rbx, %rdi
	callq	_P_32_SWAP
	movq	_P_BIGDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %r13
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	testl	%r14d, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	4(%r13), %rdi
	callq	_P_32_SWAP
	addq	$12, %r13
	movq	%r13, %rdi
	callq	_P_32_SWAP
	jmp	LBB0_16
LBB0_17:
	movl	4(%r15), %edi
	callq	_M_32_SWAP
	movl	8(%r15), %edi
	callq	_M_32_SWAP
	movl	12(%r15), %edi
	callq	_M_32_SWAP
	movl	(%r15), %edi
	callq	_M_32_SWAP
	movl	20(%r15), %edi
	callq	_M_16_SWAP
	movl	16(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_M_16_SWAP                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B_NEEDSWAP,4,2                 ## @B_NEEDSWAP
	.comm	_P_META,8,3                     ## @P_META
	.comm	_P_TYPE,4,2                     ## @P_TYPE
	.comm	_P_BINTERNAL,4,2                ## @P_BINTERNAL
	.comm	_P_BIGKEY,4,2                   ## @P_BIGKEY
	.comm	_P_BLEAF,4,2                    ## @P_BLEAF
	.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_pgout                     ; -- Begin function __bt_pgout
	.p2align	2
___bt_pgout:                            ; @__bt_pgout
	.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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _B_NEEDSWAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B_NEEDSWAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_F_ISSET
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _P_META@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P_META@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	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
	b	_mswap
LBB0_3:
	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_4:
	mov	x0, x19
	bl	_NEXTINDEX
	mov	x20, x0
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _P_TYPE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _P_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _P_BINTERNAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _P_BINTERNAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.5:
	cbz	x20, LBB0_11
; %bb.6:
	mov	x21, #0
Lloh12:
	adrp	x23, _P_BIGKEY@GOTPAGE
Lloh13:
	ldr	x23, [x23, _P_BIGKEY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x21, lsl #2]
	bl	_M_16_SWAP
	add	x21, x21, #1
	cmp	x20, x21
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_GETBINTERNAL
	mov	x22, x0
	bl	_P_32_SWAP
	add	x0, x22, #4
	bl	_P_32_SWAP
	ldr	w8, [x22, #12]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x22, #16
	bl	_P_32_SWAP
	add	x0, x22, #24
	bl	_P_32_SWAP
	b	LBB0_7
LBB0_10:
Lloh14:
	adrp	x9, _P_BLEAF@GOTPAGE
Lloh15:
	ldr	x9, [x9, _P_BLEAF@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	x20, #0, #4, eq
	b.ne	LBB0_12
LBB0_11:
	ldr	w0, [x19, #4]
	bl	_M_32_SWAP
	ldr	w0, [x19, #8]
	bl	_M_32_SWAP
	ldr	w0, [x19, #12]
	bl	_M_32_SWAP
	ldr	w0, [x19]
	bl	_M_32_SWAP
	ldr	w0, [x19, #20]
	bl	_M_16_SWAP
	ldr	w0, [x19, #16]
	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
	b	_M_16_SWAP
LBB0_12:
	mov	x21, #0
Lloh17:
	adrp	x24, _P_BIGKEY@GOTPAGE
Lloh18:
	ldr	x24, [x24, _P_BIGKEY@GOTPAGEOFF]
Lloh19:
	adrp	x25, _P_BIGDATA@GOTPAGE
Lloh20:
	ldr	x25, [x25, _P_BIGDATA@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x21, lsl #2]
	bl	_M_16_SWAP
	add	x21, x21, #1
	cmp	x20, x21
	b.eq	LBB0_11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_GETBLEAF
	mov	x23, x0
	bl	_P_32_SWAP
	add	x0, x23, #4
	bl	_P_32_SWAP
	ldr	w26, [x23, #8]
	ldr	w9, [x24]
	ldr	w8, [x25]
	orr	w10, w8, w9
	tst	w10, w26
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x23, #12
	tst	w9, w26
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	bl	_P_32_SWAP
	add	x22, x23, #20
	mov	x0, x22
	bl	_P_32_SWAP
	ldr	w8, [x25]
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	tst	w8, w26
	b.eq	LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, x22, #4
	bl	_P_32_SWAP
	add	x0, x22, #12
	bl	_P_32_SWAP
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_B_NEEDSWAP,4,2                 ; @B_NEEDSWAP
	.comm	_P_META,8,3                     ; @P_META
	.comm	_P_TYPE,4,2                     ; @P_TYPE
	.comm	_P_BINTERNAL,4,2                ; @P_BINTERNAL
	.comm	_P_BIGKEY,4,2                   ; @P_BIGKEY
	.comm	_P_BLEAF,4,2                    ; @P_BLEAF
	.comm	_P_BIGDATA,4,2                  ; @P_BIGDATA
.subsections_via_symbols
