	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_list_insert_after           ## -- Begin function uu_list_insert_after
	.p2align	4, 0x90
_uu_list_insert_after:                  ## @uu_list_insert_after
	.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, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_ELEM_TO_NODE
	leaq	16(%rbx), %r15
	testq	%r12, %r12
	cmovneq	%rax, %r15
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_2
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
LBB0_4:
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_uu_panic
LBB0_6:
	movq	_UU_ERROR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_uu_set_error
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_uu_panic
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ELEM_TO_NODE
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_list_insert
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uu_list_insert_after(%p, %p, %p): %p is not currently on a list\n"

L_.str.1:                               ## @.str.1
	.asciz	"uu_list_insert_after(%p, ...): list is UU_LIST_SORTED\n"

	.comm	_UU_ERROR_NOT_SUPPORTED,4,2     ## @UU_ERROR_NOT_SUPPORTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_list_insert_after           ; -- Begin function uu_list_insert_after
	.p2align	2
_uu_list_insert_after:                  ; @uu_list_insert_after
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_ELEM_TO_NODE
	mov	x8, x19
	ldr	x9, [x8], #16
	cmp	x22, #0
	csel	x21, x8, x0, eq
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_uu_panic
LBB0_5:
Lloh2:
	adrp	x8, _UU_ERROR_NOT_SUPPORTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UU_ERROR_NOT_SUPPORTED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_uu_set_error
	mov	w0, #-1
	b	LBB0_8
LBB0_6:
	stp	x20, x22, [sp, #8]
	str	x22, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_uu_panic
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_ELEM_TO_NODE
	mov	x1, x0
	ldr	w3, [x21]
	mov	x0, x19
	mov	x2, x21
	bl	_list_insert
	mov	w0, #0
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uu_list_insert_after(%p, %p, %p): %p is not currently on a list\n"

l_.str.1:                               ; @.str.1
	.asciz	"uu_list_insert_after(%p, ...): list is UU_LIST_SORTED\n"

	.comm	_UU_ERROR_NOT_SUPPORTED,4,2     ; @UU_ERROR_NOT_SUPPORTED
.subsections_via_symbols
