	.file	"extr_nsp32.c_nsp32_search_period_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"limit_entry exceeds syncnum!"
	.text
	.p2align 4
	.type	nsp32_search_period_entry, @function
nsp32_search_period_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movsx	rax, DWORD PTR [rsi]
	mov	ebx, edx
	mov	esi, DWORD PTR [rdi]
	cmp	eax, esi
	jge	.L13
.L2:
	mov	rdx, QWORD PTR 8[rbp]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	ecx, eax
	mov	r8d, eax
	cmp	BYTE PTR [rdx+rax*2], bl
	ja	.L4
	cmp	BYTE PTR 1[rdx+rax*2], bl
	jnb	.L1
.L4:
	add	rax, 1
	lea	r8d, 1[rcx]
	cmp	esi, eax
	jg	.L6
.L3:
	cmp	esi, r8d
	je	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR KERN_ERR[rip]
	lea	rsi, .LC0[rip]
	call	nsp32_msg@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	DWORD PTR [r12], 0
	test	esi, esi
	jle	.L8
	xor	eax, eax
	jmp	.L2
.L8:
	xor	r8d, r8d
	jmp	.L3
.L14:
	mov	r8d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	nsp32_search_period_entry, .-nsp32_search_period_entry
	.comm	KERN_ERR,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_nsp32.c_nsp32_search_period_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"limit_entry exceeds syncnum!\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nsp32_search_period_entry, %function
nsp32_search_period_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r1]
	ldr	ip, [r5]
	mov	r4, r2
	cmp	r0, ip
	bge	.L13
.L2:
	ldr	r2, [r5, #4]
	add	r1, r2, #1
.L6:
	ldrb	r3, [r2, r0, lsl #1]	@ zero_extendqisi2
	cmp	r3, r4
	bhi	.L4
	ldrb	r3, [r1, r0, lsl #1]	@ zero_extendqisi2
	cmp	r3, r4
	popcs	{r4, r5, r6, pc}
.L4:
	add	r0, r0, #1
	cmp	r0, ip
	blt	.L6
.L3:
	cmp	ip, r0
	mvneq	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, .L14
	mov	r6, r1
	ldr	r0, [r3]
	ldr	r1, .L14+4
	bl	nsp32_msg
	mov	r0, #0
	ldr	ip, [r5]
	str	r0, [r6]
	cmp	ip, r0
	bgt	.L2
	b	.L3
.L15:
	.align	2
.L14:
	.word	KERN_ERR
	.word	.LC0
	.size	nsp32_search_period_entry, .-nsp32_search_period_entry
	.comm	KERN_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
