	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_list_insert                 ## -- Begin function uu_list_insert
	.p2align	4, 0x90
_uu_list_insert:                        ## @uu_list_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_INDEX_TO_NODE
	leaq	8(%rbx), %r14
	testq	%rax, %rax
	cmovneq	%rax, %r14
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_INDEX_VALID
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ELEM_TO_NODE
	movq	(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_insert                    ## TAILCALL
LBB0_2:
	movq	%r12, %rdi
	callq	_INDEX_CHECK
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_uu_panic
	cmpq	$0, (%r14)
	jne	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_uu_panic
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uu_list_insert(%p, %p, %p): %s\n"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"uu_list_insert(%p, %p, %p): out-of-date index\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_list_insert                 ; -- Begin function uu_list_insert
	.p2align	2
_uu_list_insert:                        ; @uu_list_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_INDEX_TO_NODE
	mov	x8, x19
	ldr	x9, [x8], #8
	cmp	x0, #0
	csel	x21, x8, x0, eq
	cbz	x9, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_INDEX_VALID
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_ELEM_TO_NODE
	mov	x1, x0
	ldr	x2, [x21]
	mov	x0, x19
	mov	x3, x21
	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
	add	sp, sp, #64
	b	_list_insert
LBB0_4:
	mov	x0, x22
	bl	_INDEX_CHECK
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_uu_panic
	ldr	x8, [x21]
	cbnz	x8, LBB0_3
LBB0_5:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_uu_panic
	b	LBB0_3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uu_list_insert(%p, %p, %p): %s\n"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"uu_list_insert(%p, %p, %p): out-of-date index\n"

.subsections_via_symbols
