	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_list_remove                 ## -- Begin function uu_list_remove
	.p2align	4, 0x90
_uu_list_remove:                        ## @uu_list_remove
	.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	%rsi, %r15
	movq	%rdi, %r14
	callq	_ELEM_TO_NODE
	movq	%rax, %r12
	cmpq	$0, 40(%r14)
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%r12)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_uu_panic
LBB0_3:
	movl	32(%r14), %edi
	callq	_INDEX_NEXT
	movl	%eax, 32(%r14)
LBB0_4:
	leaq	8(%r14), %r13
	movq	24(%r14), %rbx
	cmpq	%r13, %rbx
	jne	LBB0_6
LBB0_12:
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movq	%rax, (%rcx)
	movq	%rcx, (%rax)
	decl	4(%r14)
	movl	(%r14), %edi
	callq	_POOL_TO_MARKER
	movq	%rax, 8(%r12)
	movq	$0, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rbx), %rbx
	cmpq	%r13, %rbx
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rbx)
	movq	(%rbx), %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rax, %r12
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_walk_advance
	movq	16(%rbx), %rbx
	cmpq	%r13, %rbx
	jne	LBB0_6
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_uu_panic
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uu_list_remove(%p, %p): elem not on list\n"

L_.str.1:                               ## @.str.1
	.asciz	"uu_list_remove(%p, %p): active non-robust walker\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_list_remove                 ; -- Begin function uu_list_remove
	.p2align	2
_uu_list_remove:                        ; @uu_list_remove
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x20, x0
	bl	_ELEM_TO_NODE
	mov	x19, x0
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_uu_panic
LBB0_3:
	ldr	w0, [x20, #32]
	bl	_INDEX_NEXT
	str	w0, [x20, #32]
LBB0_4:
	add	x24, x20, #8
	ldr	x22, [x20, #24]
	cmp	x22, x24
	b.eq	LBB0_12
; %bb.5:
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x22, #16]
	cmp	x22, x24
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x22]
	cbz	x9, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x19, x8
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_list_walk_advance
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x8, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	bl	_uu_panic
	b	LBB0_6
LBB0_12:
	ldp	x8, x9, [x19]
	str	x8, [x9]
	str	x9, [x8]
	ldp	w0, w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20, #4]
	bl	_POOL_TO_MARKER
	stp	xzr, x0, [x19]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uu_list_remove(%p, %p): elem not on list\n"

l_.str.1:                               ; @.str.1
	.asciz	"uu_list_remove(%p, %p): active non-robust walker\n"

.subsections_via_symbols
