	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_ext_insert
_tree_ext_insert:                       ## @tree_ext_insert
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	%edx, (%rdi)
	jle	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	cmpl	%r14d, 4(%rbx)
	setg	%r15b
	movq	8(%rbx,%r15,8), %rdi
	movl	%r14d, %esi
	callq	_tree_ext_insert
	movq	%rax, 8(%rbx,%r15,8)
	movq	%rbx, %rdi
	callq	_tree_ext_relax
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, %edi
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_new_tree_ext_node
	movq	%rax, %r15
	leaq	16(%rax), %rdi
	leaq	8(%rax), %rsi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_tree_ext_split
	movq	%r15, %rdi
	callq	_tree_ext_relax
	movq	%r15, %rbx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tree_ext_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_ext_insert
_tree_ext_insert:                       ; @tree_ext_insert
	.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]
	cmp	w8, w2
	b.le	LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, w20
	mov	w8, #8
	mov	w9, #16
	csel	x21, x9, x8, gt
	ldr	x0, [x19, x21]
	mov	x1, x20
	bl	_tree_ext_insert
	str	x0, [x19, x21]
	mov	x0, x19
	bl	_tree_ext_relax
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x2
	mov	x2, x3
	bl	_new_tree_ext_node
	mov	x21, x0
	add	x0, x0, #16
	add	x1, x21, #8
	mov	x2, x19
	mov	x3, x20
	bl	_tree_ext_split
	mov	x0, x21
	bl	_tree_ext_relax
	mov	x19, x21
LBB0_3:
	mov	x0, x19
	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	_tree_ext_insert
.subsections_via_symbols
