	.file	"618067.c"
	.intel_syntax noprefix
	.text
	.globl	kmp_search
	.type	kmp_search, @function
kmp_search:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	cmp	QWORD PTR -40[rbp], 0
	je	.L2
	cmp	QWORD PTR -48[rbp], 0
	je	.L2
	cmp	QWORD PTR -56[rbp], 0
	jne	.L3
.L2:
	mov	eax, -1
	jmp	.L4
.L3:
	mov	DWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L6
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -12[rbp]
	add	eax, 1
	jmp	.L4
.L6:
	add	DWORD PTR -24[rbp], 1
.L5:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L7
	mov	eax, -1
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	kmp_search, .-kmp_search
	.globl	dp_construct
	.type	dp_construct, @function
dp_construct:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	jne	.L9
	mov	eax, 0
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	sal	eax, 8
	cdqe
	sal	eax, 2
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	mov	eax, 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 1
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -28[rbp], 1
	jmp	.L12
.L17:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -24[rbp], eax
	jne	.L14
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 10
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
.L15:
	add	DWORD PTR -24[rbp], 1
.L13:
	cmp	DWORD PTR -24[rbp], 255
	jle	.L16
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 10
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -28[rbp], 1
.L12:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L17
	mov	rax, QWORD PTR -8[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dp_construct, .-dp_construct
	.globl	dp_destroy
	.type	dp_destroy, @function
dp_destroy:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	dp_destroy, .-dp_destroy
	.globl	kmp_strstr_dp
	.type	kmp_strstr_dp, @function
kmp_strstr_dp:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	cmp	QWORD PTR -24[rbp], 0
	je	.L20
	cmp	QWORD PTR -32[rbp], 0
	je	.L20
	cmp	QWORD PTR -40[rbp], 0
	jne	.L21
.L20:
	mov	eax, 0
	jmp	.L22
.L21:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	kmp_search
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L23
	mov	eax, 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	kmp_strstr_dp, .-kmp_strstr_dp
	.globl	kmp_strstr
	.type	kmp_strstr, @function
kmp_strstr:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	je	.L25
	cmp	QWORD PTR -32[rbp], 0
	jne	.L26
.L25:
	mov	eax, 0
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	dp_construct
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L28
	mov	eax, 0
	jmp	.L27
.L28:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	kmp_search
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	DWORD PTR -12[rbp], -1
	jne	.L29
	mov	eax, 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	kmp_strstr, .-kmp_strstr
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"618067.c"
	.text
	.align	2
	.global	kmp_search
	.syntax unified
	.arm
	.fpu softvfp
	.type	kmp_search, %function
kmp_search:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L3
.L2:
	mvn	r3, #0
	b	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L5
.L7:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L6
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	add	r3, r3, #1
	b	.L4
.L6:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L5:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	mvn	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	kmp_search, .-kmp_search
	.align	2
	.global	dp_construct
	.syntax unified
	.arm
	.fpu softvfp
	.type	dp_construct, %function
dp_construct:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	b	.L10
.L9:
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #10
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L10
.L11:
	ldr	r3, [fp, #-12]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3, r1, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L12
.L17:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L13
.L16:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	bne	.L14
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r1, r2, #1
	ldr	r2, [fp, #-24]
	str	r1, [r3, r2, lsl #2]
	b	.L15
.L14:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #10
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldr	r1, [fp, #-24]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-24]
	str	r1, [r3, r2, lsl #2]
.L15:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #255
	ble	.L16
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-32]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L12:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-8]
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	dp_construct, .-dp_construct
	.align	2
	.global	dp_destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	dp_destroy, %function
dp_destroy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	dp_destroy, .-dp_destroy
	.align	2
	.global	kmp_strstr_dp
	.syntax unified
	.arm
	.fpu softvfp
	.type	kmp_strstr_dp, %function
kmp_strstr_dp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L21
.L20:
	mov	r3, #0
	b	.L22
.L21:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	kmp_search
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L23
	mov	r3, #0
	b	.L22
.L23:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	kmp_strstr_dp, .-kmp_strstr_dp
	.align	2
	.global	kmp_strstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	kmp_strstr, %function
kmp_strstr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L26
.L25:
	mov	r3, #0
	b	.L27
.L26:
	ldr	r0, [fp, #-20]
	bl	dp_construct
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	b	.L27
.L28:
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	kmp_search
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L29
	mov	r3, #0
	b	.L27
.L29:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	kmp_strstr, .-kmp_strstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
