	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_perm_list_del               ## -- Begin function dl_perm_list_del
	.p2align	4, 0x90
_dl_perm_list_del:                      ## @dl_perm_list_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
	movl	$-1, %eax
	testl	%esi, %esi
	js	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpl	%esi, (%rdi)
	jle	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dl_perm_list_move
	movq	8(%rbx), %rax
	movq	(%rax), %r14
	movq	(%r14), %rax
	incq	%rax
	cmpq	8(%r14), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_list_del
	movq	%r14, %rdi
	callq	_list_free
	jmp	LBB0_5
LBB0_4:
	movq	%rax, (%r14)
LBB0_5:
	decl	(%rbx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_perm_list_del               ; -- Begin function dl_perm_list_del
	.p2align	2
_dl_perm_list_del:                      ; @dl_perm_list_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
	tbnz	w1, #31, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w2, #0
	bl	_dl_perm_list_move
	ldr	x8, [x19, #8]
	ldr	x20, [x8]
	ldp	x8, x9, [x20]
	add	x8, x8, #1
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_list_del
	mov	x0, x20
	bl	_list_free
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_7
LBB0_5:
	str	x8, [x20]
LBB0_6:
	mov	w0, #0
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
