	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_radix_search              ## -- Begin function ldns_radix_search
	.p2align	4, 0x90
_ldns_radix_search:                     ## @ldns_radix_search
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.2:
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.3:
	movq	%rdx, %r14
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	addq	(%rax,%r13,8), %r12
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, %r12
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15,%r12,8), %rcx
	subq	(%rbx), %rcx
	jb	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	8(%rbx), %rcx
	jae	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movq	16(%rbx), %rax
	leaq	(%rcx,%rcx,2), %r13
	movq	(%rax,%r13,8), %rdx
	testq	%rdx, %rdx
	jle	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rdx,%r12), %rcx
	cmpq	%r14, %rcx
	ja	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r15,%r12,8), %rdi
	movl	16(%rax,%r13,8), %esi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	cmoveq	%rax, %rbx
	jmp	LBB0_14
	.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_search              ; -- Begin function ldns_radix_search
	.p2align	2
_ldns_radix_search:                     ; @ldns_radix_search
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x8, x0
	mov	x0, #0
	cbz	x8, LBB0_13
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_13
; %bb.2:
	ldr	x23, [x8]
	cbz	x23, LBB0_12
; %bb.3:
	mov	x19, x2
	mov	x21, #0
	mov	w22, #24
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23, #16]
	mul	x9, x24, x22
	ldr	x9, [x8, x9]
	add	x21, x9, x21
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	madd	x8, x24, x22, x8
	ldr	x23, [x8, #8]
	cbz	x23, LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x19
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, x21, lsl #3]
	ldr	x9, [x23]
	subs	x24, x8, x9
	b.lo	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23, #8]
	cmp	x24, x8
	b.hs	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldr	x8, [x23, #16]
	mul	x9, x24, x22
	ldr	x2, [x8, x9]
	cmp	x2, #1
	b.lt	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x2, x21
	cmp	x9, x19
	b.hi	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x20, x21, lsl #3
	madd	x8, x24, x22, x8
	ldr	w1, [x8, #16]
	bl	_memcmp
	cbz	x0, LBB0_4
LBB0_12:
	mov	x0, #0
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x8, [x23, #24]
	cmp	x8, #0
	csel	x0, xzr, x23, eq
	b	LBB0_13
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
