	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_anchors_delete_insecure        ## -- Begin function anchors_delete_insecure
	.p2align	4, 0x90
_anchors_delete_insecure:               ## @anchors_delete_insecure
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-96(%rbp), %r15
	movq	%r15, -96(%rbp)
	movq	%rdx, -32(%rbp)
	leaq	-44(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_dname_count_size_labels
	movl	%eax, -40(%rbp)
	movl	%ebx, -48(%rbp)
	movq	%r14, %rdi
	callq	_lock_basic_lock
	movl	4(%r14), %edi
	movq	%r15, %rsi
	callq	_rbtree_search
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_lock_basic_lock
	cmpq	$0, 40(%rbx)
	jne	LBB0_5
## %bb.2:
	cmpq	$0, 32(%rbx)
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 24(%rbx)
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_9
LBB0_5:
	movq	%r14, %rdi
	callq	_lock_basic_unlock
	movq	%r15, %rdi
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
LBB0_7:
	callq	_lock_basic_unlock
LBB0_8:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	callq	_rbtree_delete
	movq	%r14, %rdi
	callq	_anchors_init_parents_locked
	movq	%r14, %rdi
	callq	_lock_basic_unlock
	movq	%r15, %rdi
	callq	_lock_basic_unlock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_anchors_delfunc
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_anchors_delete_insecure        ; -- Begin function anchors_delete_insecure
	.p2align	2
_anchors_delete_insecure:               ; @anchors_delete_insecure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	add	x8, sp, #8
	str	x8, [sp, #8]
	str	x2, [sp, #72]
	add	x1, x8, #52
	mov	x0, x2
	bl	_dname_count_size_labels
	str	w0, [sp, #64]
	str	w20, [sp, #56]
	mov	x0, x19
	bl	_lock_basic_lock
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	bl	_rbtree_search
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	add	x21, x0, #8
	mov	x0, x21
	bl	_lock_basic_lock
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_lock_basic_unlock
	mov	x0, x21
	b	LBB0_7
LBB0_6:
	mov	x0, x19
LBB0_7:
	bl	_lock_basic_unlock
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_rbtree_delete
	mov	x0, x19
	bl	_anchors_init_parents_locked
	mov	x0, x19
	bl	_lock_basic_unlock
	mov	x0, x21
	bl	_lock_basic_unlock
	mov	x0, x20
	mov	x1, #0
	bl	_anchors_delfunc
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
