	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_perm_del                    ## -- Begin function dl_perm_del
	.p2align	4, 0x90
_dl_perm_del:                           ## @dl_perm_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$-1, %eax
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r12
	cmpl	%esi, (%rdi)
	jle	LBB0_3
## %bb.2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	8(%r12), %rdi
	leaq	-72(%rbp), %rdx
	leaq	-88(%rbp), %r14
	leaq	-96(%rbp), %rsi
	movq	%r14, %rcx
	movl	%ebx, %r8d
	callq	_dl_prm_extract
	movq	-96(%rbp), %rdi
	callq	_LEN
	subl	%eax, %ebx
	movq	-88(%rbp), %rdi
	leaq	4(%r12), %r13
	leaq	-104(%rbp), %r15
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movq	%r13, %r8
	callq	_dl_prm_split_node
	movq	-104(%rbp), %rdi
	movq	%r15, %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdx
	movl	$1, %ecx
	movq	%r13, %r8
	callq	_dl_prm_split_node
	movq	-96(%rbp), %rsi
	movq	-88(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r13, %rcx
	callq	_dl_prm_merge
	movq	-88(%rbp), %rsi
	movq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rcx
	callq	_dl_prm_merge
	movq	-80(%rbp), %rsi
	movq	-72(%rbp), %rdx
	leaq	-72(%rbp), %rdi
	movq	%r13, %rcx
	callq	_dl_prm_merge
	movq	-72(%rbp), %rax
	movq	%rax, 8(%r12)
	movq	-104(%rbp), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dl_prm_rev_del
	xorl	%edi, %edi
	cmpq	-104(%rbp), %rax
	sete	%dil
	callq	_assert
	movq	-104(%rbp), %rdi
	callq	_dl_free_prm
	decl	(%r12)
	xorl	%eax, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.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_del                    ; -- Begin function dl_perm_del
	.p2align	2
_dl_perm_del:                           ; @dl_perm_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_3
; %bb.2:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	str	q0, [sp, #16]
	add	x8, sp, #16
	add	x22, x8, #16
	ldr	x0, [x19, #8]
	add	x20, x8, #24
	orr	x23, x8, #0x8
	add	x1, sp, #16
	mov	x2, x20
	mov	x3, x23
	mov	x4, x21
	bl	_dl_prm_extract
	ldr	x0, [sp, #16]
	bl	_LEN
	sub	w3, w21, w0
	ldr	x0, [sp, #24]
	add	x21, x19, #4
	add	x2, sp, #8
	mov	x1, x23
	mov	x4, x21
	bl	_dl_prm_split_node
	ldr	x0, [sp, #8]
	add	x1, sp, #8
	mov	x2, x22
	mov	w3, #1
	mov	x4, x21
	bl	_dl_prm_split_node
	ldp	x1, x2, [sp, #16]
	mov	x0, x23
	mov	x3, x21
	bl	_dl_prm_merge
	ldp	x1, x2, [sp, #24]
	mov	x0, x22
	mov	x3, x21
	bl	_dl_prm_merge
	ldp	x1, x2, [sp, #32]
	mov	x0, x20
	mov	x3, x21
	bl	_dl_prm_merge
	ldr	x8, [sp, #40]
	str	x8, [x19, #8]
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_dl_prm_rev_del
	ldr	x8, [sp, #8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	x0, [sp, #8]
	bl	_dl_free_prm
	mov	w0, #0
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
