	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btree_split_sibling
_btree_split_sibling:                   ## @btree_split_sibling
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_shadow_current
	movq	%rax, %r14
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	callq	_new_block
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_dm_block_data
	movq	%rax, %r15
	movq	-48(%rbp), %rdi
	callq	_dm_block_data
	movq	%rax, %rbx
	movq	24(%r15), %rdi
	callq	_le32_to_cpu
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	shrl	$31, %r14d
	addl	%eax, %r14d
	sarl	%r14d
	movq	24(%r15), %rdi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	subl	%r14d, %r12d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r15)
	movq	8(%r15), %rax
	movq	%rax, 8(%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	movl	20(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	leaq	(,%r14,4), %rsi
	addq	(%r15), %rsi
	leaq	(,%r12,4), %rdx
	callq	_memcpy
	movq	8(%r15), %rdi
	callq	_le32_to_cpu
	movq	_INTERNAL_NODE@GOTPCREL(%rip), %rcx
	movl	$8, %r13d
	testl	%eax, (%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_4
## %bb.3:
	movq	8(%rax), %rax
	movslq	(%rax), %r13
LBB0_4:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_value_ptr
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_value_ptr
	imulq	%r12, %r13
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_shadow_parent
	movq	%rax, %rdi
	callq	_dm_block_data
	movq	%rax, %r14
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_dm_block_location
	movl	%eax, %edi
	callq	_cpu_to_le64
	movl	%eax, -52(%rbp)
	leaq	-52(%rbp), %r15
	movq	%r15, %rdi
	callq	___dm_bless_for_disk
	movq	%r14, %rdi
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_value_ptr
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy_disk
	movq	-48(%rbp), %rdi
	callq	_dm_block_location
	movl	%eax, %edi
	callq	_cpu_to_le64
	movl	%eax, -52(%rbp)
	movq	%r15, %rdi
	callq	___dm_bless_for_disk
	incl	%ebx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_le64_to_cpu
	movl	$4, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movq	%rax, %rcx
	movq	%r15, %r8
	callq	_insert_at
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	movq	-48(%rbp), %rsi
	callq	_unlock_block
	jmp	LBB0_10
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_le64_to_cpu
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	jle	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rsi
	callq	_unlock_block
	movq	(%rbx), %rax
	movq	%r13, 8(%rax)
	jmp	LBB0_9
LBB0_8:
	movq	%r13, %rsi
	callq	_unlock_block
	movq	-48(%rbp), %rax
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTERNAL_NODE,4,2              ## @INTERNAL_NODE
	.no_dead_strip	_btree_split_sibling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btree_split_sibling
_btree_split_sibling:                   ; @btree_split_sibling
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_shadow_current
	mov	x20, x0
	ldr	x0, [x19, #8]
	add	x1, sp, #8
	bl	_new_block
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_dm_block_data
	mov	x24, x0
	ldr	x0, [sp, #8]
	bl	_dm_block_data
	mov	x23, x0
	ldr	x0, [x24, #24]
	bl	_le32_to_cpu
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w25, w8, #1
	ldr	x0, [x24, #24]
	bl	_le32_to_cpu
	sub	w26, w0, w25
	mov	x0, x25
	bl	_cpu_to_le32
	str	x0, [x24, #24]
	ldr	x8, [x24, #8]
	str	x8, [x23, #8]
	mov	x0, x26
	bl	_cpu_to_le32
	str	x0, [x23, #24]
	ldr	d0, [x24, #16]
	str	d0, [x23, #16]
	ldr	x0, [x23]
	ldr	x8, [x24]
	add	x1, x8, w25, uxtw #2
	lsl	x2, x26, #2
	bl	_memcpy
	ldr	x0, [x24, #8]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _INTERNAL_NODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTERNAL_NODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
	mov	w28, #8
	b	LBB0_5
LBB0_3:
	mov	x24, x0
	b	LBB0_10
LBB0_4:
	ldr	x8, [x19, #8]
	ldrsw	x28, [x8]
LBB0_5:
	mov	x0, x23
	mov	w1, #0
	bl	_value_ptr
	mov	x27, x0
	mov	x0, x24
	mov	x1, x25
	bl	_value_ptr
	mov	x1, x0
	mul	x2, x28, x26
	mov	x0, x27
	bl	_memcpy
	mov	x0, x19
	bl	_shadow_parent
	bl	_dm_block_data
	mov	x24, x0
	mov	x0, x20
	bl	_dm_block_location
	bl	_cpu_to_le64
	str	w0, [sp, #4]
	add	x0, sp, #4
	bl	___dm_bless_for_disk
	mov	x0, x24
	mov	x1, x22
	bl	_value_ptr
	add	x1, sp, #4
	mov	w2, #4
	bl	_memcpy_disk
	ldr	x0, [sp, #8]
	bl	_dm_block_location
	bl	_cpu_to_le64
	str	w0, [sp, #4]
	add	x0, sp, #4
	bl	___dm_bless_for_disk
	add	w22, w22, #1
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_le64_to_cpu
	mov	x3, x0
	add	x4, sp, #4
	mov	w0, #4
	mov	x1, x24
	mov	x2, x22
	bl	_insert_at
	cbz	w0, LBB0_7
; %bb.6:
	mov	x24, x0
	ldr	x0, [x19, #8]
	ldr	x1, [sp, #8]
	bl	_unlock_block
	b	LBB0_10
LBB0_7:
	ldr	x8, [x23]
	ldr	w0, [x8]
	bl	_le64_to_cpu
	mov	x8, x0
	ldr	x0, [x19, #8]
	cmp	x8, x21
	b.le	LBB0_9
; %bb.8:
	ldr	x1, [sp, #8]
	bl	_unlock_block
	mov	w24, #0
	ldr	x8, [x19]
	str	x20, [x8, #8]
	b	LBB0_10
LBB0_9:
	mov	x1, x20
	bl	_unlock_block
	mov	w24, #0
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	str	x8, [x9, #8]
LBB0_10:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTERNAL_NODE,4,2              ; @INTERNAL_NODE
	.no_dead_strip	_btree_split_sibling
.subsections_via_symbols
