	.file	"extr_radix.c_ldns_radix_search.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ldns_radix_search
	.type	ldns_radix_search, @function
ldns_radix_search:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rdi, rdi
	je	.L2
	mov	r13, rsi
	test	rsi, rsi
	je	.L2
	mov	r12, QWORD PTR [rdi]
	test	r12, r12
	je	.L2
	mov	r14, rdx
	test	rdx, rdx
	je	.L3
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	sub	rax, rdx
	cmp	QWORD PTR 8[r12], rax
	jbe	.L2
	lea	rbp, [rax+rax*2]
	mov	rax, QWORD PTR 16[r12]
	add	rbx, 1
	sal	rbp, 3
	add	rax, rbp
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	jle	.L6
	lea	rsi, [rdx+rbx]
	cmp	rsi, r14
	ja	.L2
	mov	esi, DWORD PTR 16[rax]
	lea	rdi, 8[r13+rcx]
	call	memcmp@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR 16[r12]
	add	rax, rbp
	add	rbx, QWORD PTR [rax]
.L6:
	mov	r12, QWORD PTR 8[rax]
	test	r12, r12
	je	.L2
	cmp	rbx, r14
	je	.L3
.L4:
	mov	rax, QWORD PTR 0[r13+rbx*8]
	mov	rdx, QWORD PTR [r12]
	lea	rcx, 0[0+rbx*8]
	cmp	rdx, rax
	jbe	.L17
	.p2align 4,,10
	.p2align 3
.L2:
	xor	r12d, r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	QWORD PTR 24[r12], 0
	jne	.L1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ldns_radix_search, .-ldns_radix_search
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_radix.c_ldns_radix_search.c"
	.text
	.align	2
	.global	ldns_radix_search
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldns_radix_search, %function
ldns_radix_search:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	clz	r4, r1
	cmp	r0, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	bne	.L2
	ldr	r5, [r0]
	cmp	r5, #0
	beq	.L2
	cmp	r2, #0
	mov	r8, r2
	beq	.L3
	mov	r7, r1
	b	.L4
.L17:
	ldr	r2, [r5, #4]
	add	r4, r4, #1
	cmp	r2, r3
	bls	.L2
	ldr	r3, [r5, #8]
	lsl	r9, r6, #2
	ldr	r2, [r3, r6, lsl #2]
	add	r3, r3, r6, lsl #2
	cmp	r2, #0
	add	r1, r2, r4
	ble	.L6
	cmp	r1, r8
	bhi	.L2
	ldr	r1, [r3, #8]
	bl	memcmp
	cmp	r0, #0
	bne	.L2
	ldr	r3, [r5, #8]
	ldr	r2, [r3, r6, lsl #2]
	add	r3, r3, r9
	add	r4, r4, r2
.L6:
	ldr	r5, [r3, #4]
	cmp	r5, #0
	beq	.L2
	cmp	r4, r8
	beq	.L3
.L4:
	ldr	r2, [r7, r4, lsl #2]
	ldr	r1, [r5]
	lsl	r0, r4, #2
	add	r0, r0, #4
	sub	r3, r2, r1
	cmp	r1, r2
	add	r0, r7, r0
	add	r6, r3, r3, lsl #1
	bls	.L17
.L2:
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	ldr	r3, [r5, #12]
	cmp	r3, #0
	bne	.L1
	b	.L2
	.size	ldns_radix_search, .-ldns_radix_search
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
