	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_radix_del_fix
_ldns_radix_del_fix:                    ## @ldns_radix_del_fix
	.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
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	cmpq	$0, 16(%rsi)
	je	LBB0_2
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rsi), %rbx
	movq	%rsi, %rdi
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_ldns_radix_cleanup_leaf
	cmpq	$0, 16(%rbx)
	movq	%rbx, %rsi
	je	LBB0_3
	jmp	LBB0_10
LBB0_4:
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.5:
	cmpq	$0, 8(%rsi)
	je	LBB0_10
## %bb.6:
	movq	%rsi, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ldns_radix_cleanup_onechild    ## TAILCALL
LBB0_8:
	xorl	%esi, %esi
	callq	_ldns_radix_node_free
	movq	$0, (%r14)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ldns_radix_del_fix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_radix_del_fix
_ldns_radix_del_fix:                    ; @ldns_radix_del_fix
	.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
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x1]
	cbnz	w8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x1, #8]
	cbz	x20, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x1
	bl	_ldns_radix_cleanup_leaf
	ldr	x8, [x20, #16]
	mov	x1, x20
	cbz	x8, LBB0_4
	b	LBB0_2
LBB0_7:
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.8:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.9:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ldns_radix_cleanup_onechild
LBB0_10:
	mov	x0, x1
	mov	x1, #0
	bl	_ldns_radix_node_free
	str	xzr, [x19]
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ldns_radix_del_fix
.subsections_via_symbols
