	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_radix_find_less_equal     ## -- Begin function ldns_radix_find_less_equal
	.p2align	4, 0x90
_ldns_radix_find_less_equal:            ## @ldns_radix_find_less_equal
	.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
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.2:
	movq	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_5
## %bb.3:
	movq	%rdx, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_5:
	movq	$0, (%rcx)
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	addq	(%rax,%rbx,8), %r14
	movq	8(%rax,%rbx,8), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdi, %r13
	cmpq	%r15, %r14
	jae	LBB0_19
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rsi
	subq	(%r13), %rsi
	jb	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	8(%r13), %rsi
	jae	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%r13), %rax
	leaq	(%rsi,%rsi,2), %rbx
	movq	8(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	movq	(%rax,%rbx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rdx,%r14), %rcx
	leaq	(%r12,%r14,8), %rdi
	movl	16(%rax,%rbx,8), %esi
	cmpq	%r15, %rcx
	ja	LBB0_26
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	callq	_memcmp
	testl	%eax, %eax
	js	LBB0_29
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%r13), %rax
	je	LBB0_8
## %bb.17:
	movq	8(%rax,%rbx,8), %rdi
	jmp	LBB0_27
LBB0_18:
	movq	%r13, %rdi
LBB0_19:
	cmpq	$0, 16(%rdi)
	je	LBB0_30
## %bb.20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, (%rax)
	movl	$1, %r15d
	jmp	LBB0_7
LBB0_21:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ldns_radix_self_or_prev
	jmp	LBB0_6
LBB0_22:
	movq	%r13, %rdi
	callq	_ldns_radix_last_in_subtree_incl_self
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.23:
	movq	%r13, %rdi
	callq	_ldns_radix_prev
	movq	%rax, (%rbx)
	jmp	LBB0_7
LBB0_24:
	movq	%r13, %rdi
	callq	_ldns_radix_prev_from_index
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, (%rsi)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.25:
	movq	%r13, %rdi
	callq	_ldns_radix_self_or_prev
	jmp	LBB0_7
LBB0_26:
	subq	%r14, %r15
	movq	%r15, %rdx
	callq	_memcmp
	movq	24(%r13), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	testl	%eax, %eax
	jle	LBB0_30
LBB0_27:
	callq	_ldns_radix_last_in_subtree_incl_self
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, (%r14)
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.28:
	movq	24(%r13), %rax
	movq	8(%rax,%rbx,8), %rdi
	callq	_ldns_radix_prev
	movq	%rax, (%r14)
	jmp	LBB0_7
LBB0_29:
	movq	24(%r13), %rax
	movq	8(%rax,%rbx,8), %rdi
LBB0_30:
	callq	_ldns_radix_prev
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_6
	.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_find_less_equal     ; -- Begin function ldns_radix_find_less_equal
	.p2align	2
_ldns_radix_find_less_equal:            ; @ldns_radix_find_less_equal
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x1
	cbz	x1, LBB0_5
; %bb.2:
	ldr	x20, [x0]
	cbz	x20, LBB0_5
; %bb.3:
	mov	x22, x2
	cbz	x2, LBB0_16
; %bb.4:
	mov	x24, #0
	mov	w25, #24
	b	LBB0_8
LBB0_5:
	mov	w0, #0
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x20, x9
	cmp	x24, x22
	b.hs	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, x24, lsl #3]
	ldr	x9, [x20]
	subs	x21, x8, x9
	b.lo	LBB0_21
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	cmp	x21, x8
	b.hs	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #24]
	madd	x9, x21, x25, x8
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	mul	x10, x21, x25
	ldr	x2, [x8, x10]
	cbz	x2, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x23, x24, lsl #3
	madd	x8, x21, x25, x8
	ldr	w1, [x8, #16]
	add	x8, x2, x24
	cmp	x8, x22
	b.hi	LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_memcmp
	tbnz	w0, #31, LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #24]
	cbnz	w0, LBB0_23
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	madd	x8, x21, x25, x8
	ldp	x9, x20, [x8]
	add	x24, x9, x24
	cmp	x24, x22
	b.lo	LBB0_8
LBB0_16:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_19
; %bb.17:
	str	x20, [x19]
	mov	w0, #1
	b	LBB0_6
LBB0_18:
	mov	x0, x20
	bl	_ldns_radix_last_in_subtree_incl_self
	str	x0, [x19]
	cbnz	x0, LBB0_25
LBB0_19:
	mov	x0, x20
	b	LBB0_27
LBB0_20:
	mov	x0, x20
	mov	x1, x21
	bl	_ldns_radix_prev_from_index
	str	x0, [x19]
	cbnz	x0, LBB0_25
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	bl	_ldns_radix_self_or_prev
	mov	w0, #0
	b	LBB0_6
LBB0_22:
	sub	x2, x22, x24
	bl	_memcmp
	mov	x8, x0
	ldr	x9, [x20, #24]
	mov	w10, #24
	madd	x9, x21, x10, x9
	ldr	x0, [x9, #8]
	cmp	w8, #0
	b.le	LBB0_27
	b	LBB0_24
LBB0_23:
	mov	w9, #24
	madd	x8, x21, x9, x8
	ldr	x0, [x8, #8]
LBB0_24:
	bl	_ldns_radix_last_in_subtree_incl_self
	str	x0, [x19]
	cbz	x0, LBB0_26
LBB0_25:
	mov	w0, #0
	b	LBB0_6
LBB0_26:
	ldr	x8, [x20, #24]
	mov	w9, #24
	madd	x8, x21, x9, x8
	ldr	x0, [x8, #8]
LBB0_27:
	bl	_ldns_radix_prev
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
