	.file	"extr_radix.c_rn_match.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rn_match
	.type	rn_match, @function
rn_match:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14, QWORD PTR [rsi]
	mov	QWORD PTR 8[rsp], r14
	mov	ebx, DWORD PTR [r14]
	call	LEN@PLT
	mov	ecx, DWORD PTR 4[r14]
	test	ecx, ecx
	js	.L25
	mov	r12, r14
	.p2align 4,,10
	.p2align 3
.L4:
	movsx	rdx, DWORD PTR [r12]
	mov	rsi, QWORD PTR 64[r12]
	mov	edx, DWORD PTR 0[rbp+rdx*4]
	and	edx, DWORD PTR 8[r12]
	cmovne	rsi, QWORD PTR 72[r12]
	mov	edx, DWORD PTR 4[rsi]
	mov	r12, rsi
	test	edx, edx
	jns	.L4
.L2:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L5
	mov	eax, DWORD PTR [rdi]
.L5:
	movsx	rsi, ebx
	cdqe
	sal	rsi, 2
	lea	r9, 0[rbp+rax*4]
	lea	rdx, 0[rbp+rsi]
	add	rsi, QWORD PTR 24[r12]
	cmp	rdx, r9
	jb	.L10
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	add	rdx, 4
	add	rsi, 4
	cmp	r9, rdx
	jbe	.L6
.L10:
	mov	eax, DWORD PTR [rdx]
	mov	r8d, DWORD PTR [rsi]
	cmp	eax, r8d
	je	.L7
	xor	eax, r8d
	mov	esi, 7
	sar	eax
	and	eax, 127
	je	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	sub	esi, 1
	sar	eax
	jne	.L8
.L9:
	sub	rdx, rbp
	sar	rdx, 2
	lea	r8d, [rsi+rdx*8]
	mov	r13d, edx
	not	r8d
	mov	r14d, r8d
	test	rdi, rdi
	jne	.L28
	mov	rbx, QWORD PTR 40[r12]
	test	rbx, rbx
	jne	.L15
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L60:
	cmp	DWORD PTR 4[rbx], r14d
	jge	.L31
.L16:
	mov	rbx, QWORD PTR 40[rbx]
	test	rbx, rbx
	je	.L24
.L15:
	mov	eax, DWORD PTR 32[rbx]
	test	DWORD PTR RNF_NORMAL[rip], eax
	jne	.L60
	mov	edx, r13d
	mov	rsi, rbx
	mov	rdi, rbp
	call	rn_satisfies_leaf@PLT
	test	rax, rax
	je	.L16
.L31:
	mov	r12, rbx
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR 32[r12]
	test	DWORD PTR RNF_ROOT[rip], eax
	je	.L1
	mov	r12, QWORD PTR 40[r12]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	QWORD PTR 8[rsp], r12
	je	.L61
.L24:
	mov	r12, QWORD PTR 56[r12]
	mov	r15, QWORD PTR 48[r12]
	test	r15, r15
	jne	.L23
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L63:
	cmp	DWORD PTR 4[r15], r14d
	jge	.L62
.L19:
	mov	r15, QWORD PTR 16[r15]
	test	r15, r15
	je	.L17
.L23:
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR RNF_NORMAL[rip], eax
	jne	.L63
	movsx	rdi, DWORD PTR [r12]
	mov	esi, r13d
	call	min@PLT
	mov	rdx, QWORD PTR 8[r15]
	mov	rsi, r12
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	rn_search_m@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L19
	mov	rax, QWORD PTR 8[r15]
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rbx, QWORD PTR 40[rbx]
	test	rbx, rbx
	je	.L19
.L20:
	cmp	QWORD PTR 16[rbx], rax
	jne	.L21
	mov	edx, DWORD PTR 4[rsp]
	mov	rsi, rbx
	mov	rdi, rbp
	call	rn_satisfies_leaf@PLT
	test	rax, rax
	je	.L19
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rbx, r12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L62:
	mov	r12, QWORD PTR 24[r15]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	r12, QWORD PTR 8[rsp]
	jmp	.L2
.L61:
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rn_match, .-rn_match
	.comm	RNF_ROOT,4,4
	.comm	RNF_NORMAL,4,4
	.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_rn_match.c"
	.text
	.align	2
	.global	rn_match
	.syntax unified
	.arm
	.fpu softvfp
	.type	rn_match, %function
rn_match:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, [r1]
	mov	r8, r0
	ldr	r5, [r7]
	bl	LEN
	ldr	r3, [r7, #4]
	mov	r4, r7
	cmp	r3, #0
	blt	.L2
.L4:
	ldr	r3, [r4]
	ldr	r2, [r4, #8]
	ldr	r1, [r8, r3, lsl #2]
	ldr	r3, [r4, #36]
	tst	r1, r2
	ldr	r4, [r4, #40]
	moveq	r4, r3
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bge	.L4
.L2:
	ldr	ip, [r4, #12]
	add	r2, r8, r5, lsl #2
	cmp	ip, #0
	ldrne	r0, [ip]
	lsl	r5, r5, #2
	add	r6, r8, r0, lsl #2
	cmp	r2, r6
	ldr	r0, [r4, #16]
	bcs	.L6
	sub	r5, r5, #4
	add	r0, r0, r5
	b	.L10
.L7:
	cmp	r6, r2
	bls	.L6
.L10:
	ldr	r3, [r2]
	ldr	lr, [r0, #4]!
	mov	r1, r2
	cmp	r3, lr
	add	r2, r2, #4
	beq	.L7
	eor	r3, r3, lr
	asr	r3, r3, #1
	ands	r3, r3, #127
	mov	r10, #7
	beq	.L9
.L8:
	asrs	r3, r3, #1
	sub	r10, r10, #1
	bne	.L8
.L9:
	sub	r1, r1, r8
	asr	r9, r1, #2
	add	r10, r10, r9, lsl #3
	cmp	ip, #0
	mvn	r10, r10
	bne	.L28
	ldr	r5, [r4, #24]
	cmp	r5, #0
	beq	.L13
.L12:
	ldr	r6, .L63
	b	.L15
.L60:
	ldr	r3, [r5, #4]
	cmp	r3, r10
	bge	.L31
.L16:
	ldr	r5, [r5, #24]
	cmp	r5, #0
	beq	.L13
.L15:
	ldr	r2, [r5, #20]
	ldr	r3, [r6]
	tst	r2, r3
	bne	.L60
	mov	r2, r9
	mov	r1, r5
	mov	r0, r8
	bl	rn_satisfies_leaf
	cmp	r0, #0
	beq	.L16
.L31:
	mov	r4, r5
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r3, .L63+4
	ldr	r2, [r4, #20]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L1
	ldr	r4, [r4, #24]
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r3, .L63
.L24:
	ldr	r4, [r4, #32]
	ldr	r6, [r4, #28]
	cmp	r6, #0
	bne	.L23
	b	.L17
.L62:
	ldr	r2, [r6, #4]
	cmp	r2, r10
	bge	.L61
.L19:
	ldr	r6, [r6, #12]
	cmp	r6, #0
	beq	.L17
.L23:
	ldr	r1, [r6]
	ldr	r2, [r3]
	tst	r1, r2
	bne	.L62
	mov	r1, r9
	ldr	r0, [r4]
	bl	min
	mov	r1, r4
	mov	fp, r0
	ldr	r2, [r6, #8]
	mov	r0, r8
	bl	rn_search_m
	subs	r5, r0, #0
	ldr	r3, .L63
	beq	.L19
	ldr	r1, [r6, #8]
	b	.L20
.L21:
	ldr	r5, [r5, #24]
	cmp	r5, #0
	beq	.L19
.L20:
	ldr	r2, [r5, #12]
	cmp	r2, r1
	bne	.L21
	mov	r2, fp
	mov	r1, r5
	mov	r0, r8
	bl	rn_satisfies_leaf
	cmp	r0, #0
	ldr	r3, .L63
	bne	.L31
	ldr	r6, [r6, #12]
	cmp	r6, #0
	bne	.L23
.L17:
	cmp	r7, r4
	bne	.L24
	mov	r4, #0
	b	.L1
.L28:
	mov	r5, r4
	b	.L12
.L61:
	ldr	r4, [r6, #16]
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L64:
	.align	2
.L63:
	.word	RNF_NORMAL
	.word	RNF_ROOT
	.size	rn_match, .-rn_match
	.comm	RNF_ROOT,4,4
	.comm	RNF_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
