	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tlist_remove                   ## -- Begin function tlist_remove
	.p2align	4, 0x90
_tlist_remove:                          ## @tlist_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movq	%rbx, %rdx
	callq	_vkprintf
	movq	8(%rbx), %r15
	movq	16(%rbx), %r12
	movq	%r12, %rax
	orq	%r15, %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	addq	$8, %rbx
	testq	%r12, %r12
	setne	%al
	testq	%r15, %r15
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	%r15, 8(%r12)
	movq	%r12, 16(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	(%r14), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tlist_remove (%p)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tlist_remove                   ; -- Begin function tlist_remove
	.p2align	2
_tlist_remove:                          ; @tlist_remove
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x20
	bl	_vkprintf
	ldp	x21, x22, [x20, #8]!
	orr	x8, x22, x21
	cbnz	x8, LBB0_2
; %bb.1:
	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_2:
	cmp	x22, #0
	ccmp	x21, #0, #4, ne
	cset	w0, ne
	bl	_assert
	str	x21, [x22, #8]
	str	x22, [x21, #16]
	stp	xzr, xzr, [x20]
	ldr	x8, [x19]
	sub	x9, x8, #1
	str	x9, [x19]
	cmp	x8, #0
	cset	w0, gt
	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
	b	_assert
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tlist_remove (%p)\n"

.subsections_via_symbols
