	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_avl_insert                  ## -- Begin function uu_avl_insert
	.p2align	4, 0x90
_uu_avl_insert:                         ## @uu_avl_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	%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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_10
## %bb.1:
	movq	8(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_NODE_ARRAY
	movq	%rax, %r13
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_uu_panic
LBB0_3:
	movq	(%r13), %r12
	testq	%r12, %r12
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_uu_panic
	movq	(%r13), %r12
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_POOL_TO_MARKER
	cmpq	%rax, %r12
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_uu_panic
LBB0_7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_INDEX_VALID
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_INDEX_CHECK
	testq	%rax, %rax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_uu_panic
LBB0_9:
	movl	4(%rbx), %edi
	callq	_INDEX_NEXT
	movl	%eax, 4(%rbx)
LBB0_10:
	movq	%r15, %rdi
	callq	_INDEX_DECODE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avl_insert                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uu_avl_insert(%p, %p, %p): node already in tree, or corrupt\n"

L_.str.1:                               ## @.str.1
	.asciz	"uu_avl_insert(%p, %p, %p): node not initialized\n"

L_.str.2:                               ## @.str.2
	.asciz	"uu_avl_insert(%p, %p, %p): node from other pool, or corrupt\n"

L_.str.3:                               ## @.str.3
	.asciz	"uu_avl_insert(%p, %p, %p): %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"outdated index"

L_.str.5:                               ## @.str.5
	.asciz	"invalid index"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_avl_insert                  ; -- Begin function uu_avl_insert
	.p2align	2
_uu_avl_insert:                         ; @uu_avl_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x22, [x20, #8]
	mov	x0, x22
	mov	x1, x19
	bl	_NODE_ARRAY
	mov	x23, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_uu_panic
LBB0_3:
	ldr	x24, [x23]
	cbnz	x24, LBB0_5
; %bb.4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_uu_panic
	ldr	x24, [x23]
LBB0_5:
	mov	x0, x22
	bl	_POOL_TO_MARKER
	cmp	x24, x0
	b.eq	LBB0_7
; %bb.6:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_uu_panic
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	bl	_INDEX_VALID
	cbnz	w0, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_INDEX_CHECK
Lloh6:
	adrp	x8, l_.str.4@PAGE
Lloh7:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh8:
	adrp	x9, l_.str.5@PAGE
Lloh9:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	x0, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_uu_panic
LBB0_9:
	ldr	w0, [x20, #4]
	bl	_INDEX_NEXT
	str	w0, [x20, #4]
LBB0_10:
	mov	x0, x21
	bl	_INDEX_DECODE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_avl_insert
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uu_avl_insert(%p, %p, %p): node already in tree, or corrupt\n"

l_.str.1:                               ; @.str.1
	.asciz	"uu_avl_insert(%p, %p, %p): node not initialized\n"

l_.str.2:                               ; @.str.2
	.asciz	"uu_avl_insert(%p, %p, %p): node from other pool, or corrupt\n"

l_.str.3:                               ; @.str.3
	.asciz	"uu_avl_insert(%p, %p, %p): %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"outdated index"

l_.str.5:                               ; @.str.5
	.asciz	"invalid index"

.subsections_via_symbols
