	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_split_penalty
__bt_split_penalty:                     ## @_bt_split_penalty
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$0, 20(%rdi)
	je	LBB0_1
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__bt_split_lastleft
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	__bt_split_firstright
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setne	%dil
	callq	_Assert
	movl	12(%r14), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__bt_keep_natts_fast            ## TAILCALL
LBB0_1:
	cmpl	$0, 8(%rbx)
	movq	(%rbx), %rsi
	jne	LBB0_5
## %bb.2:
	cmpq	(%r14), %rsi
	jne	LBB0_5
## %bb.3:
	movl	8(%r14), %eax
	jmp	LBB0_6
LBB0_5:
	movl	16(%r14), %edi
	callq	_PageGetItemId
	movl	%eax, %edi
	callq	_ItemIdGetLength
	movl	%eax, %edi
	callq	_MAXALIGN
	addl	$4, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__bt_split_penalty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_split_penalty
__bt_split_penalty:                     ; @_bt_split_penalty
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	__bt_split_lastleft
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	__bt_split_firstright
	mov	x20, x0
	cmp	x21, x0
	cset	w0, ne
	bl	_Assert
	ldr	w0, [x19, #12]
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__bt_keep_natts_fast
LBB0_2:
	ldr	w8, [x20, #8]
	ldr	x1, [x20]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19, #16]
	bl	_PageGetItemId
	bl	_ItemIdGetLength
	bl	_MAXALIGN
	add	w0, w0, #4
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__bt_split_penalty
.subsections_via_symbols
