	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_radix_next                ## -- Begin function ldns_radix_next
	.p2align	4, 0x90
_ldns_radix_next:                       ## @ldns_radix_next
	.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	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_ldns_radix_next_in_subtree
	testq	%rax, %rax
	jne	LBB0_2
LBB0_5:
	movq	32(%r14), %rcx
	testq	%rcx, %rcx
	jne	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r14), %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_2
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	8(%r14), %rbx
	movq	%rcx, %r14
	incq	%rbx
	movq	(%rcx), %rcx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%rbx
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, %rbx
	jae	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_13 Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_13 Depth=2
	cmpq	$0, 24(%rax)
	jne	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r14, %rdi
	callq	_ldns_radix_next_in_subtree
	testq	%rax, %rax
	jne	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r14), %rcx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_radix_next                ; -- Begin function ldns_radix_next
	.p2align	2
_ldns_radix_next:                       ; @ldns_radix_next
	.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	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ldns_radix_next_in_subtree
	cbnz	x0, LBB0_13
LBB0_3:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_6
; %bb.4:
	mov	x0, #0
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, #0
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_13
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [x19, #8]
	mov	x19, x8
	add	x20, x9, #1
	ldr	x8, [x8]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x20, x20, #1
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x20, x8
	b.hs	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x9, [x19, #16]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x19
	bl	_ldns_radix_next_in_subtree
	cbz	x0, LBB0_7
LBB0_13:
	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
