	.file	"111077065.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Before replaced: %s\n"
	.align 8
.LC1:
	.string	"After \"%s\" replaced with \"%s\": %s\n"
	.align 8
.LC2:
	.string	"Failed, \"%s\" need to be replaced is not in \"%s\".\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7957704922557147252
	movabs	rdx, 474316218471
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	BYTE PTR -16[rbp], 0
	mov	DWORD PTR -113[rbp], 1852797559
	mov	WORD PTR -109[rbp], 103
	movabs	rax, 7451612542263256438
	mov	QWORD PTR -107[rbp], rax
	mov	WORD PTR -99[rbp], 29800
	mov	BYTE PTR -97[rbp], 0
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -107[rbp]
	lea	rcx, -113[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	replaceString
	mov	DWORD PTR -120[rbp], eax
	cmp	DWORD PTR -120[rbp], 0
	jne	.L2
	lea	rcx, -96[rbp]
	lea	rdx, -107[rbp]
	lea	rax, -113[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rdx, -96[rbp]
	lea	rax, -113[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	replaceString
	.type	replaceString, @function
replaceString:
.LFB1:
	.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
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	findString
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	stringLength
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	je	.L7
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	removeString
	mov	edx, DWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insertString
	mov	eax, 0
	jmp	.L9
.L7:
	mov	eax, DWORD PTR -8[rbp]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	replaceString, .-replaceString
	.globl	findString
	.type	findString, @function
findString:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	stringLength
	mov	DWORD PTR -104[rbp], eax
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	stringLength
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -108[rbp], 0
	jmp	.L11
.L15:
	mov	rax, QWORD PTR -128[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L12
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -100[rbp]
	add	eax, edx
	cmp	DWORD PTR -104[rbp], eax
	jge	.L13
	mov	eax, -1
	jmp	.L16
.L13:
	lea	rcx, -96[rbp]
	mov	edx, DWORD PTR -100[rbp]
	mov	esi, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	substring
	mov	rdx, QWORD PTR -128[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	equalStrings
	test	al, al
	je	.L12
	mov	eax, DWORD PTR -108[rbp]
	jmp	.L16
.L12:
	add	DWORD PTR -108[rbp], 1
.L11:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	mov	eax, -1
.L16:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	findString, .-findString
	.globl	removeString
	.type	removeString, @function
removeString:
.LFB3:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	stringLength
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jl	.L19
	jmp	.L20
.L21:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 1
.L20:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L21
.L19:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	removeString, .-removeString
	.globl	insertString
	.type	insertString, @function
insertString:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	DWORD PTR -132[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR -112[rbp], eax
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -104[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -112[rbp]
	sub	eax, DWORD PTR -132[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -96[rbp+rax], dl
	add	DWORD PTR -112[rbp], 1
.L23:
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L24
	mov	eax, DWORD PTR -112[rbp]
	sub	eax, DWORD PTR -132[rbp]
	cdqe
	mov	BYTE PTR -96[rbp+rax], 0
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	stringLength
	mov	DWORD PTR -100[rbp], eax
	mov	edx, DWORD PTR -100[rbp]
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	removeString
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -108[rbp]
	mov	edx, DWORD PTR -132[rbp]
	add	edx, ecx
	movsx	rcx, edx
	mov	rdx, QWORD PTR -120[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -108[rbp], 1
.L25:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L26
	jmp	.L27
.L28:
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -132[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -104[rbp], 1
.L27:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	test	al, al
	jne	.L28
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -132[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	insertString, .-insertString
	.globl	substring
	.type	substring, @function
substring:
.LFB5:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	stringLength
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L31
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 1
.L32:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jl	.L33
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L37
.L31:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 1
.L35:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L36
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L37:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	substring, .-substring
	.globl	stringLength
	.type	stringLength, @function
stringLength:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L39
.L40:
	add	DWORD PTR -4[rbp], 1
.L39:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L40
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	stringLength, .-stringLength
	.globl	equalStrings
	.type	equalStrings, @function
equalStrings:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L43
.L45:
	add	DWORD PTR -4[rbp], 1
.L43:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L44
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L44
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L45
.L44:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L46
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L46
	mov	BYTE PTR -5[rbp], 1
	jmp	.L47
.L46:
	mov	BYTE PTR -5[rbp], 0
.L47:
	movzx	eax, BYTE PTR -5[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	equalStrings, .-equalStrings
	.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	"111077065.c"
	.text
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Before replaced: %s\012\000"
	.align	2
.LC4:
	.ascii	"After \"%s\" replaced with \"%s\": %s\012\000"
	.align	2
.LC5:
	.ascii	"Failed, \"%s\" need to be replaced is not in \"%s\""
	.ascii	".\012\000"
	.align	2
.LC0:
	.ascii	"the wrong son\000"
	.space	67
	.align	2
.LC1:
	.ascii	"wrong\000"
	.align	2
.LC2:
	.ascii	"very right\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #92
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	sub	r3, fp, #78
	mov	r2, #67
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, .L6+8
	sub	r3, fp, #112
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	ldr	r2, .L6+12
	sub	r3, fp, #104
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	sub	r2, fp, #104
	sub	r1, fp, #112
	sub	r3, fp, #92
	mov	r0, r3
	bl	replaceString
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #92
	sub	r2, fp, #104
	sub	r1, fp, #112
	ldr	r0, .L6+20
	bl	printf
	b	.L3
.L2:
	sub	r2, fp, #92
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L6+24
	bl	printf
.L3:
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.align	2
	.global	replaceString
	.syntax unified
	.arm
	.fpu softvfp
	.type	replaceString, %function
replaceString:
	@ 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	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	findString
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	stringLength
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L9
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	removeString
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	insertString
	mov	r3, #0
	b	.L11
.L9:
	ldr	r3, [fp, #-12]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	replaceString, .-replaceString
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findString
	.syntax unified
	.arm
	.fpu softvfp
	.type	findString, %function
findString:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-112]
	bl	stringLength
	str	r0, [fp, #-100]
	ldr	r0, [fp, #-116]
	bl	stringLength
	str	r0, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L13
.L17:
	ldr	r3, [fp, #-116]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-104]
	ldr	r1, [fp, #-112]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L14
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	bge	.L15
	mvn	r3, #0
	b	.L18
.L15:
	sub	r3, fp, #92
	ldr	r2, [fp, #-96]
	ldr	r1, [fp, #-104]
	ldr	r0, [fp, #-112]
	bl	substring
	sub	r3, fp, #92
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	equalStrings
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-104]
	b	.L18
.L14:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L13:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	mvn	r3, #0
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC7
	.size	findString, .-findString
	.align	2
	.global	removeString
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeString, %function
removeString:
	@ 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, #-20]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	stringLength
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L23
	b	.L24
.L25:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L24:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L25
.L23:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	removeString, .-removeString
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertString
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertString, %function
insertString:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L27
.L28:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-112]
	add	r2, r2, r3
	ldr	r1, [fp, #-108]
	ldr	r3, [fp, #-120]
	sub	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-88]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L27:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L28
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-120]
	sub	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-88]
	sub	r3, fp, #92
	mov	r0, r3
	bl	stringLength
	str	r0, [fp, #-96]
	ldr	r2, [fp, #-96]
	ldr	r1, [fp, #-120]
	ldr	r0, [fp, #-112]
	bl	removeString
	b	.L29
.L30:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-116]
	add	r2, r2, r3
	ldr	r1, [fp, #-104]
	ldr	r3, [fp, #-120]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L29:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L30
	b	.L31
.L32:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-120]
	add	r2, r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	sub	r1, fp, #92
	ldr	r2, [fp, #-100]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L31:
	sub	r2, fp, #92
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L32
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-120]
	add	r2, r2, r3
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC8
	.size	insertString, .-insertString
	.align	2
	.global	substring
	.syntax unified
	.arm
	.fpu softvfp
	.type	substring, %function
substring:
	@ 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]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	stringLength
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L37
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L38
.L39:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L43
.L37:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L41
.L42:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L41:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L42
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	substring, .-substring
	.align	2
	.global	stringLength
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringLength, %function
stringLength:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L45
.L46:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L45:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	stringLength, .-stringLength
	.align	2
	.global	equalStrings
	.syntax unified
	.arm
	.fpu softvfp
	.type	equalStrings, %function
equalStrings:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L49
.L51:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L49:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L50
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L51
.L50:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L52
	mov	r3, #1
	strb	r3, [fp, #-9]
	b	.L53
.L52:
	mov	r3, #0
	strb	r3, [fp, #-9]
.L53:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	equalStrings, .-equalStrings
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
