	.file	"extr_ngx_string.c_ngx_strnstr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ngx_strnstr
	.type	ngx_strnstr, @function
ngx_strnstr:
.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
	lea	r14, 1[rsi]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	lea	rbp, -1[r12]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	rdi, r14
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR [rsi]
	call	ngx_strlen@PLT
	mov	r15, rax
	test	r12, r12
	jne	.L2
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	sub	rbp, 1
	cmp	rbp, -1
	je	.L4
.L2:
	mov	r12, rbx
	mov	rax, QWORD PTR [rbx]
	add	rbx, 8
	test	rax, rax
	je	.L4
	cmp	r13, rax
	jne	.L5
	cmp	r15, rbp
	ja	.L4
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, rbx
	call	ngx_strncmp@PLT
	test	rax, rax
	jne	.L5
.L1:
	add	rsp, 8
	.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
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ngx_strnstr, .-ngx_strnstr
	.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_ngx_string.c_ngx_strnstr.c"
	.text
	.align	2
	.global	ngx_strnstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_strnstr, %function
ngx_strnstr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r1
	ldr	r7, [r9], #1
	mov	r4, r2
	mov	r5, r0
	mov	r0, r9
	bl	ngx_strlen
	cmp	r4, #0
	movne	r8, r0
	subne	r4, r4, #1
	bne	.L2
	b	.L4
.L5:
	subs	r4, r4, #1
	bcc	.L4
.L2:
	mov	r6, r5
	ldr	r3, [r5], #4
	cmp	r3, #0
	beq	.L4
	cmp	r7, r3
	bne	.L5
	cmp	r8, r4
	bhi	.L4
	mov	r2, r8
	mov	r1, r9
	mov	r0, r5
	bl	ngx_strncmp
	cmp	r0, #0
	bne	.L5
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	ngx_strnstr, .-ngx_strnstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
