	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trp_del                        ## -- Begin function trp_del
	.p2align	4, 0x90
_trp_del:                               ## @trp_del
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	addq	$8, %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	cmpl	%esi, %ecx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	16(%rbx), %rdx
	addq	$8, %rbx
	cmpl	%esi, %ecx
	cmovlq	%rbx, %rdi
	cmovgq	%rdx, %rdi
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdx
	callq	_trp_merge
	movq	$0, 16(%rbx)
	movq	_free_nodes@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, (%rax)
	incl	(%r14)
	movl	4(%rbx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_free_nodes,8,3                 ## @free_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trp_del                        ; -- Begin function trp_del
	.p2align	2
_trp_del:                               ; @trp_del
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #8]!
	cbz	x20, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, w1
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x20, #16
	add	x9, x20, #8
	csel	x9, x9, x0, lt
	csel	x0, x8, x9, gt
	ldr	x20, [x0]
	cbnz	x20, LBB0_1
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldp	x1, x2, [x20, #8]
	bl	_trp_merge
Lloh0:
	adrp	x8, _free_nodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free_nodes@GOTPAGEOFF]
	ldr	x9, [x8]
	stp	x9, xzr, [x20, #8]
	str	x20, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w0, [x20, #4]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_free_nodes,8,3                 ; @free_nodes
.subsections_via_symbols
