	.file	"extr_dnstree.c_name_tree_lookup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	name_tree_lookup
	.type	name_tree_lookup, @function
name_tree_lookup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r9, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, r8
	sub	rsp, 88
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	lea	rsi, 16[rsp]
	mov	QWORD PTR 16[rsp], rdx
	lea	rdx, 8[rsp]
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 56[rsp], rsi
	mov	QWORD PTR 48[rsp], r9
	mov	DWORD PTR 24[rsp], ecx
	mov	QWORD PTR 32[rsp], r8
	call	rbtree_find_less_equal@PLT
	mov	r12, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L1
	test	r12, r12
	je	.L4
	cmp	QWORD PTR 16[r12], rbx
	jne	.L4
	mov	esi, DWORD PTR 8[r12]
	mov	rdi, QWORD PTR 32[r12]
	lea	r8, 4[rsp]
	mov	ecx, DWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 48[rsp]
	call	dname_lab_cmp@PLT
	mov	eax, DWORD PTR 4[rsp]
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	DWORD PTR 8[r12], eax
	jle	.L1
	mov	r12, QWORD PTR 24[r12]
	test	r12, r12
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	name_tree_lookup, .-name_tree_lookup
	.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_dnstree.c_name_tree_lookup.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	name_tree_lookup
	.syntax unified
	.arm
	.fpu softvfp
	.type	name_tree_lookup, %function
name_tree_lookup:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, lr}
	sub	sp, sp, #52
	str	r3, [sp, #24]
	ldr	r5, [sp, #64]
	ldr	r3, .L16
	str	r1, [sp, #36]
	str	r2, [sp, #20]
	add	r1, sp, #20
	add	r2, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	str	ip, [sp, #12]
	str	r5, [sp, #28]
	str	r1, [sp, #40]
	bl	rbtree_find_less_equal
	cmp	r0, #0
	ldr	r4, [sp, #12]
	bne	.L1
	cmp	r4, #0
	beq	.L4
	ldr	r3, [r4, #8]
	cmp	r3, r5
	bne	.L4
	add	r3, sp, #16
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #16]
	ldr	r2, [sp, #36]
	str	r3, [sp]
	ldr	r3, [sp, #24]
	bl	dname_lab_cmp
	ldr	r2, [sp, #16]
.L7:
	ldr	r3, [r4, #4]
	cmp	r3, r2
	ble	.L1
	ldr	r4, [r4, #12]
	cmp	r4, #0
	bne	.L7
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, pc}
.L4:
	mov	r4, #0
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	name_tree_lookup, .-name_tree_lookup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
