	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utree_insert_node
_utree_insert_node:                     ## @utree_insert_node
	.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, %r14
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpq	(%r14), %rax
	jge	LBB0_5
## %bb.2:
	leaq	32(%r14), %rdi
	leaq	24(%r14), %r15
	movq	8(%r14), %rcx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_utree_split
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, 16(%rax)
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	%r14, 16(%rax)
LBB0_10:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r14), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_7
## %bb.6:
	movq	32(%rbx), %rdi
	movq	%r14, %rsi
	callq	_utree_insert_node
	movq	%rax, 32(%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	callq	_utree_insert_node
	movq	%rax, 24(%rbx)
LBB0_8:
	movq	%rbx, %r14
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_utree_insert_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utree_insert_node
_utree_insert_node:                     ; @utree_insert_node
	.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	x19, x1
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.2:
	add	x0, x19, #32
	add	x21, x19, #24
	ldr	x3, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_utree_split
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	str	x19, [x8, #16]
LBB0_4:
	ldr	x0, [x21]
	cbz	x0, LBB0_6
LBB0_5:
	str	x19, [x0, #16]
LBB0_6:
	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
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.8:
	ldr	x0, [x20, #32]
	mov	x1, x19
	bl	_utree_insert_node
	str	x0, [x20, #32]
	b	LBB0_10
LBB0_9:
	ldr	x0, [x20, #24]
	mov	x1, x19
	bl	_utree_insert_node
	str	x0, [x20, #24]
LBB0_10:
	mov	x19, x20
	cbnz	x0, LBB0_5
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_utree_insert_node
.subsections_via_symbols
