	.file	"extr_hpdf_utils.c_HPDF_StrStr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	HPDF_StrStr
	.type	HPDF_StrStr, @function
HPDF_StrStr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	mov	esi, -1
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, r12
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	HPDF_StrLen@PLT
	test	rbx, rbx
	je	.L2
	mov	rbp, rax
	mov	rax, rbx
	test	rbp, rbp
	je	.L1
	test	r13, r13
	je	.L15
.L4:
	cmp	r13, rbp
	jl	.L2
	sub	r13, rbp
	lea	r13, 1[rbx+r13]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, rbx
	call	HPDF_MemCmp@PLT
	test	rax, rax
	je	.L7
	add	rbx, 1
	cmp	rbx, r13
	jne	.L5
.L2:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, rbx
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, -1
	mov	rdi, rbx
	call	HPDF_StrLen@PLT
	mov	r13, rax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	HPDF_StrStr, .-HPDF_StrStr
	.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_hpdf_utils.c_HPDF_StrStr.c"
	.text
	.align	2
	.global	HPDF_StrStr
	.syntax unified
	.arm
	.fpu softvfp
	.type	HPDF_StrStr, %function
HPDF_StrStr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r1
	mov	r0, r1
	mvn	r1, #0
	mov	r5, r2
	bl	HPDF_StrLen
	cmp	r4, #0
	beq	.L2
	cmp	r0, #0
	mov	r7, r0
	beq	.L7
	cmp	r5, #0
	beq	.L14
.L4:
	cmp	r5, r7
	blt	.L2
	sub	r5, r5, r7
	add	r5, r5, #1
	add	r5, r4, r5
.L5:
	mov	r2, r7
	mov	r1, r6
	mov	r0, r4
	bl	HPDF_MemCmp
	cmp	r0, #0
	beq	.L7
	add	r4, r4, #1
	cmp	r4, r5
	bne	.L5
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mvn	r1, #0
	mov	r0, r4
	bl	HPDF_StrLen
	mov	r5, r0
	b	.L4
	.size	HPDF_StrStr, .-HPDF_StrStr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
