	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt_psplit
_bt_psplit:                             ## @bt_psplit
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%r8, -128(%rbp)                 ## 8-byte Spill
	movl	(%r8), %r15d
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movslq	(%rdi), %rbx
	movq	_BTDATAOFF@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_NEXTINDEX
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movslq	%r15d, %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	subq	%r14, %rbx
	movl	%ebx, %ecx
	shrl	$31, %ecx
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	addl	%ebx, %ecx
	sarl	%ecx
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
	leal	-1(%rax), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	xorl	%r14d, %r14d
                                        ## implicit-def: $rcx
                                        ## kill: killed $rcx
	movq	%r15, %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpl	%eax, %r14d
	jge	LBB0_26
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-152(%rbp), %r15                ## 8-byte Reload
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	movl	$0, %edi
	cmpq	%rbx, %rcx
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_P_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_45
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETRLEAF
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_NRLEAF
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETRINTERNAL
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_NRINTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETBLEAF
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_NBLEAF
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETBINTERNAL
	movq	%rax, %r12
	movl	4(%rax), %edi
	callq	_NBINTERNAL
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movq	_P_BIGKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	andl	(%r12), %edi
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-144(%rbp), %rbx                ## 8-byte Folded Reload
	jge	LBB0_13
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	jne	LBB0_15
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	leal	(%r15,%rsi), %edx
	movslq	%edx, %rdx
	addq	$4, %rdx
	cmpq	-136(%rbp), %rdx                ## 8-byte Folded Reload
	jae	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_25
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rbx, %rcx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	16(%rdx), %eax
	subl	%r15d, %eax
	movl	%eax, 16(%rdx)
	movq	8(%rdx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	movslq	16(%rdx), %rdi
	addq	%rdx, %rdi
	movq	%r13, %r12
	movq	%rsi, %r13
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memmove
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%r12, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%r15d, %esi
	addl	$4, %esi
	cmpl	-108(%rbp), %esi                ## 4-byte Folded Reload
	jl	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%edi, %edi
	je	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	cmpl	$3, %edx
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%edx
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	jmp	LBB0_21
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_24:
	movl	-60(%rbp), %r14d                ## 4-byte Reload
LBB0_25:
	decl	%ebx
LBB0_26:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	20(%rcx), %eax
	leal	(%rax,%rbx,4), %eax
	addl	$4, %eax
	movl	%eax, 20(%rcx)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	8(%rax), %r15
	movq	_CURS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_33
## %bb.27:
	movq	(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	24(%rcx), %rax
	jne	LBB0_33
## %bb.28:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	16(%rcx), %eax
	cmpl	%r12d, %eax
	jl	LBB0_30
## %bb.29:
	incl	%eax
	movl	%eax, 16(%rcx)
LBB0_30:
	subl	%r14d, %eax
	jge	LBB0_32
## %bb.31:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	%rax, (%r15)
	jmp	LBB0_33
LBB0_32:
	movq	%rcx, %rdx
	movq	24(%r13), %rcx
	movq	%rcx, 8(%rdx)
	movl	%eax, 16(%rdx)
LBB0_33:
	cmpl	%ebx, %r12d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_34
## %bb.35:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	subl	%r14d, (%rax)
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_36
LBB0_34:
	movq	_MAX_PAGE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_36:
	xorl	%ebx, %ebx
	cmpl	%edx, %r14d
	jge	LBB0_50
## %bb.37:
	xorl	%ebx, %ebx
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETBINTERNAL
	movq	%rax, %r15
	movl	4(%rax), %edi
	callq	_NBINTERNAL
LBB0_47:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	%eax, %edx
LBB0_48:                                ##   in Loop: Header=BB0_38 Depth=1
	incl	%r14d
	movl	16(%r13), %eax
	subl	%edx, %eax
	movl	%eax, 16(%r13)
	movq	8(%r13), %rcx
	movslq	%ebx, %rbx
	movl	%eax, (%rcx,%rbx,4)
	movslq	16(%r13), %rdi
	addq	%r13, %rdi
	movq	%r15, %rsi
	callq	_memmove
	incl	%ebx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%r14d, %edx
	je	LBB0_49
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpl	%r12d, %r14d
	sete	%cl
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_MAX_PAGE_OFFSET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	_P_TYPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	andl	(%rsi), %edx
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_45
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=1
	movb	%cl, %al
	addl	%eax, %ebx
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_44:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETRLEAF
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_NRLEAF
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETRINTERNAL
	movq	%rax, %r15
	movq	_NRINTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_GETBLEAF
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_NBLEAF
	jmp	LBB0_47
LBB0_49:
	shll	$2, %ebx
LBB0_50:
	movl	20(%r13), %eax
	leal	(%rax,%rbx), %ecx
	cmpl	%edx, %r12d
	leal	4(%rax,%rbx), %eax
	cmovnel	%ecx, %eax
	movl	%eax, 20(%r13)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_6
.set L0_1_set_44, LBB0_44-LJTI0_1
.set L0_1_set_43, LBB0_43-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_46, LBB0_46-LJTI0_1
LJTI0_1:
	.long	L0_1_set_44
	.long	L0_1_set_43
	.long	L0_1_set_42
	.long	L0_1_set_46
	.end_data_region
                                        ## -- End function
	.comm	_BTDATAOFF,4,2                  ## @BTDATAOFF
	.comm	_P_TYPE,4,2                     ## @P_TYPE
	.comm	_P_BIGKEY,4,2                   ## @P_BIGKEY
	.comm	_NRINTERNAL,4,2                 ## @NRINTERNAL
	.comm	_CURS_INIT,4,2                  ## @CURS_INIT
	.comm	_MAX_PAGE_OFFSET,4,2            ## @MAX_PAGE_OFFSET
	.no_dead_strip	_bt_psplit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt_psplit
_bt_psplit:                             ; @bt_psplit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x5, x2, [sp, #24]               ; 16-byte Folded Spill
	mov	x27, x4
	mov	x19, x3
	mov	x22, x1
	mov	x20, x0
	ldr	w25, [x4]
	ldrsw	x8, [x0]
Lloh0:
	adrp	x9, _BTDATAOFF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTDATAOFF@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	sub	x8, x8, x9
	cmp	w8, #0
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	cinc	w26, w8, lt
	mov	x0, x1
	bl	_NEXTINDEX
	mov	x21, x0
Lloh3:
	adrp	x28, _P_TYPE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _P_TYPE@GOTPAGEOFF]
	subs	w8, w0, #1
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	b.lt	LBB0_21
; %bb.1:
	stp	x20, x27, [sp]                  ; 16-byte Folded Spill
	mov	x24, #0
	mov	w20, #0
	mov	w23, #0
	mov	x8, x25
	sxtw	x8, w8
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	asr	w8, w26, #1
	stp	wzr, w8, [sp, #40]              ; 8-byte Folded Spill
                                        ; implicit-def: $x27
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	w23, w21
	b.ge	LBB0_24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x25, x24
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mov	x28, x8
	b	LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x28]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_47
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh5:
	adrp	x11, lJTI0_0@PAGE
Lloh6:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_7
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETRLEAF
	mov	x27, x0
	bl	_NRLEAF
	mov	x28, x0
	mov	w26, #0
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETRINTERNAL
	mov	x27, x0
	mov	w26, #0
Lloh7:
	adrp	x8, _NRINTERNAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NRINTERNAL@GOTPAGEOFF]
Lloh9:
	ldr	w28, [x8]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETBLEAF
	mov	x27, x0
	bl	_NBLEAF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETBINTERNAL
	mov	x27, x0
	ldr	w0, [x0, #4]
	bl	_NBINTERNAL
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x0
	ldr	w8, [x27]
Lloh10:
	adrp	x9, _P_BIGKEY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _P_BIGKEY@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w26, w9, w8
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x24, x8
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w23, w8
	b.ne	LBB0_15
	b	LBB0_22
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w28, w20
	sxtw	x8, w8
	add	x8, x8, #4
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x8, x9
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	ccmp	w23, w8, #4, lo
	b.eq	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x24
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w8, [x10, #16]
	sub	w8, w8, w28
	str	w8, [x10, #16]
	ldr	x9, [x10, #8]
	str	w8, [x9, x24, lsl #2]
	ldrsw	x8, [x10, #16]
	add	x0, x10, x8
	mov	x1, x27
	mov	x2, x28
	bl	_memmove
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w28, w20
	add	w20, w8, #4
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
Lloh13:
	adrp	x28, _P_TYPE@GOTPAGE
Lloh14:
	ldr	x28, [x28, _P_TYPE@GOTPAGEOFF]
	cmp	w20, w8
	b.lt	LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w26, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.eq	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_21:
	mov	w23, #0
	mov	w24, #0
	b	LBB0_25
LBB0_22:
	ldr	w23, [sp, #60]                  ; 4-byte Folded Reload
LBB0_23:
	sub	w24, w24, #1
Lloh15:
	adrp	x28, _P_TYPE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _P_TYPE@GOTPAGEOFF]
LBB0_24:
	ldp	x20, x27, [sp]                  ; 16-byte Folded Reload
LBB0_25:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x9, #20]
	add	w8, w8, w24, lsl #2
	add	w8, w8, #4
	str	w8, [x9, #20]
	add	x26, x20, #8
Lloh17:
	adrp	x8, _CURS_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CURS_INIT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_F_ISSET
	cbz	x0, LBB0_32
; %bb.26:
	ldr	x8, [x26]
	ldr	x9, [x22, #24]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.27:
	ldr	w8, [x20, #16]
	cmp	w8, w25
	b.lt	LBB0_29
; %bb.28:
	add	w8, w8, #1
	str	w8, [x20, #16]
LBB0_29:
	subs	w8, w8, w23
	b.ge	LBB0_31
; %bb.30:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #24]
	str	x8, [x26]
	b	LBB0_32
LBB0_31:
	ldr	x9, [x19, #24]
	str	x9, [x20, #8]
	str	w8, [x20, #16]
LBB0_32:
Lloh20:
	adrp	x20, _MAX_PAGE_OFFSET@GOTPAGE
Lloh21:
	ldr	x20, [x20, _MAX_PAGE_OFFSET@GOTPAGEOFF]
	cmp	w25, w24
	b.le	LBB0_35
; %bb.33:
	ldr	w8, [x27]
	sub	w8, w8, w23
	str	w8, [x27]
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	cmp	w23, w21
	b.lt	LBB0_36
LBB0_34:
	mov	w8, #0
	b	LBB0_46
LBB0_35:
	ldr	w25, [x20]
	cmp	w23, w21
	b.ge	LBB0_34
LBB0_36:
	mov	w8, #0
Lloh22:
	adrp	x26, lJTI0_1@PAGE
Lloh23:
	add	x26, x26, lJTI0_1@PAGEOFF
	b	LBB0_40
LBB0_37:                                ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETBINTERNAL
	mov	x24, x0
	ldr	w0, [x0, #4]
	bl	_NBINTERNAL
LBB0_38:                                ;   in Loop: Header=BB0_40 Depth=1
	mov	x2, x0
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=1
	add	w23, w23, #1
	ldr	w8, [x19, #16]
	sub	w8, w8, w2
	str	w8, [x19, #16]
	ldr	x9, [x19, #8]
	str	w8, [x9, w27, sxtw #2]
	ldrsw	x8, [x19, #16]
	add	x0, x19, x8
	mov	x1, x24
	bl	_memmove
	add	w8, w27, #1
	cmp	w21, w23
	b.eq	LBB0_45
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20]
	cmp	w23, w25
	csel	w25, w9, w25, eq
	cinc	w27, w8, eq
	ldr	w8, [x22]
	ldr	w9, [x28]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_47
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	adr	x9, LBB0_37
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_42:                                ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETRLEAF
	mov	x24, x0
	bl	_NRLEAF
	b	LBB0_38
LBB0_43:                                ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETRINTERNAL
	mov	x24, x0
Lloh24:
	adrp	x8, _NRINTERNAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NRINTERNAL@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	b	LBB0_39
LBB0_44:                                ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_GETBLEAF
	mov	x24, x0
	bl	_NBLEAF
	b	LBB0_38
LBB0_45:
	lsl	w8, w8, #2
LBB0_46:
	ldr	w9, [x19, #20]
	add	w8, w9, w8
	add	w9, w8, #4
	cmp	w25, w21
	csel	w8, w9, w8, eq
	str	w8, [x19, #20]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_47:
	bl	_abort
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
lJTI0_1:
	.byte	(LBB0_42-LBB0_37)>>2
	.byte	(LBB0_43-LBB0_37)>>2
	.byte	(LBB0_44-LBB0_37)>>2
	.byte	(LBB0_37-LBB0_37)>>2
                                        ; -- End function
	.comm	_BTDATAOFF,4,2                  ; @BTDATAOFF
	.comm	_P_TYPE,4,2                     ; @P_TYPE
	.comm	_P_BIGKEY,4,2                   ; @P_BIGKEY
	.comm	_NRINTERNAL,4,2                 ; @NRINTERNAL
	.comm	_CURS_INIT,4,2                  ; @CURS_INIT
	.comm	_MAX_PAGE_OFFSET,4,2            ; @MAX_PAGE_OFFSET
	.no_dead_strip	_bt_psplit
.subsections_via_symbols
