	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_split
_tree_split:                            ## @tree_split
	.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	%rsi, %r13
	movq	%rdi, %r12
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	16(%rdx), %ecx
	movl	20(%rdx), %edx
	movl	%r15d, %edi
	movq	%r8, %rsi
	callq	_key_cmp
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movq	%rbx, (%r12)
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	jmp	LBB0_4
LBB0_5:
	movq	$0, (%r13)
	movq	$0, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, (%r13)
	leaq	8(%rbx), %rsi
	movq	8(%rbx), %rdx
	movq	%r12, %rdi
LBB0_4:
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_tree_split
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_counters                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tree_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_split
_tree_split:                            ; @tree_split
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x1
	mov	x22, x0
	cbz	x2, LBB0_3
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	ldr	w2, [x2, #20]
	ldr	w3, [x19, #16]
	mov	x0, x21
	mov	x1, x4
	bl	_key_cmp
	tbnz	x0, #63, LBB0_4
; %bb.2:
	str	x19, [x22]
	ldr	x2, [x19]
	mov	x0, x19
	mov	x1, x23
	b	LBB0_5
LBB0_3:
	str	xzr, [x23]
	str	xzr, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	str	x19, [x23]
	mov	x1, x19
	ldr	x2, [x1, #8]!
	mov	x0, x22
LBB0_5:
	mov	x3, x21
	mov	x4, x20
	bl	_tree_split
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_update_counters
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tree_split
.subsections_via_symbols
