	.file	"995433.c"
	.intel_syntax noprefix
	.text
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 100001
p:
	.zero	100001
	.globl	v
	.align 32
	.type	v, @object
	.size	v, 100001
v:
	.zero	100001
	.globl	z
	.align 32
	.type	z, @object
	.size	z, 800008
z:
	.zero	800008
	.globl	rz
	.align 32
	.type	rz, @object
	.size	rz, 800008
rz:
	.zero	800008
	.globl	str
	.align 32
	.type	str, @object
	.size	str, 200002
str:
	.zero	200002
	.globl	rstr
	.align 32
	.type	rstr, @object
	.size	rstr, 200002
rstr:
	.zero	200002
	.globl	output
	.align 32
	.type	output, @object
	.size	output, 4000000
output:
	.zero	4000000
	.globl	cnt
	.align 32
	.type	cnt, @object
	.size	cnt, 40
cnt:
	.zero	40
	.text
	.globl	z_function
	.type	z_function, @function
z_function:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 4
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 1
	jmp	.L2
.L12:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jl	.L3
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	shr	eax, 31
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	cmp	eax, -1
	setl	al
.L4:
	test	al, al
	je	.L5
	mov	eax, 0
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jl	.L7
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	add	eax, 1
.L6:
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
.L9:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jle	.L10
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L11
.L10:
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	z_function, .-z_function
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"No Match!"
.LC3:
	.string	" %d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	QWORD PTR -24[rbp], 0
	jmp	.L14
.L22:
	mov	edx, 100001
	mov	esi, 0
	lea	rdi, p[rip]
	call	memset@PLT
	mov	edx, 100001
	mov	esi, 0
	lea	rdi, v[rip]
	call	memset@PLT
	lea	rdx, v[rip]
	lea	rsi, p[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, 200002
	mov	esi, 0
	lea	rdi, str[rip]
	call	memset@PLT
	mov	edx, 200002
	mov	esi, 0
	lea	rdi, rstr[rip]
	call	memset@PLT
	mov	edx, 800008
	mov	esi, 0
	lea	rdi, z[rip]
	call	memset@PLT
	mov	edx, 800008
	mov	esi, 0
	lea	rdi, rz[rip]
	call	memset@PLT
	lea	rdi, p[rip]
	call	strlen@PLT
	mov	DWORD PTR -36[rbp], eax
	lea	rdi, v[rip]
	call	strlen@PLT
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, v[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rcx, str[rip]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -52[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, v[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, rstr[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -52[rbp], 1
.L15:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L16
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, str[rip]
	mov	BYTE PTR [rax+rdx], 36
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, rstr[rip]
	mov	BYTE PTR [rax+rdx], 36
	mov	DWORD PTR -48[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -48[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, p[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, str[rip]
	mov	BYTE PTR [rax+rcx], dl
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -48[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, p[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	movsx	rax, ecx
	lea	rcx, rstr[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -48[rbp], 1
.L17:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L18
	lea	rsi, z[rip]
	lea	rdi, str[rip]
	call	z_function
	lea	rsi, rz[rip]
	lea	rdi, rstr[rip]
	call	z_function
	mov	DWORD PTR -44[rbp], 0
	jmp	.L19
.L21:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jg	.L20
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, z[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rz[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	edx, eax
	jl	.L20
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, cnt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, 1[rax]
	mov	rcx, QWORD PTR -24[rbp]
	lea	rsi, 0[0+rcx*4]
	lea	rcx, cnt[rip]
	mov	DWORD PTR [rsi+rcx], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, rax, 100000
	add	rax, rdx
	lea	rcx, 0[0+rax*4]
	lea	rdx, output[rip]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L20:
	add	DWORD PTR -44[rbp], 1
.L19:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L21
	add	QWORD PTR -24[rbp], 1
.L14:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	cmp	QWORD PTR -24[rbp], rax
	jb	.L22
	mov	QWORD PTR -16[rbp], 0
	jmp	.L23
.L28:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, cnt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jg	.L24
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L25
.L24:
	mov	DWORD PTR -40[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax, 100000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, output[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax, 100000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, output[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, cnt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L27
	mov	edi, 10
	call	putchar@PLT
.L25:
	add	QWORD PTR -16[rbp], 1
.L23:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	cmp	QWORD PTR -16[rbp], rax
	jb	.L28
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"995433.c"
	.text
	.comm	p,100001,4
	.comm	v,100001,4
	.comm	z,800008,4
	.comm	rz,800008,4
	.comm	str,200002,4
	.comm	rstr,200002,4
	.comm	output,4000000,4
	.comm	cnt,40,4
	.align	2
	.global	z_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	z_function, %function
z_function:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r2, #4
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	memset
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L2
.L12:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r2, r2, r3
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r3, r3, #31
	and	r3, r3, #255
	b	.L4
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	cmn	r3, #1
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
.L4:
	cmp	r3, #0
	beq	.L5
	mov	r3, #0
	b	.L6
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r2, r2, r3
	ldr	r1, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L7
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L6
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	add	r3, r3, #1
.L6:
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-28]
	add	r2, r1, r2
	str	r3, [r2]
	b	.L9
.L11:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
.L9:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L11
.L10:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L12
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	z_function, .-z_function
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s %s\000"
	.align	2
.LC2:
	.ascii	"No Match!\000"
	.align	2
.LC3:
	.ascii	" %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L31+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L14
.L22:
	ldr	r2, .L31+8
	mov	r1, #0
	ldr	r0, .L31+12
	bl	memset
	ldr	r2, .L31+8
	mov	r1, #0
	ldr	r0, .L31+16
	bl	memset
	ldr	r2, .L31+16
	ldr	r1, .L31+12
	ldr	r0, .L31+20
	bl	__isoc99_scanf
	ldr	r2, .L31+24
	mov	r1, #0
	ldr	r0, .L31+28
	bl	memset
	ldr	r2, .L31+24
	mov	r1, #0
	ldr	r0, .L31+32
	bl	memset
	ldr	r2, .L31+36
	mov	r1, #0
	ldr	r0, .L31+40
	bl	memset
	ldr	r2, .L31+36
	mov	r1, #0
	ldr	r0, .L31+44
	bl	memset
	ldr	r0, .L31+12
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r0, .L31+16
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L15
.L16:
	ldr	r2, .L31+16
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L31+28
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	ldr	r1, .L31+16
	ldr	r2, [fp, #-40]
	add	r2, r1, r2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L31+32
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L15:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L16
	ldr	r2, .L31+28
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #36
	strb	r2, [r3]
	ldr	r2, .L31+32
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #36
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L17
.L18:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r1, .L31+12
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L31+28
	strb	r1, [r2, r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	ldr	r1, .L31+12
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L31+32
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L17:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L18
	ldr	r1, .L31+40
	ldr	r0, .L31+28
	bl	z_function
	ldr	r1, .L31+44
	ldr	r0, .L31+32
	bl	z_function
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L19
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	sub	r2, r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L20
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, .L31+40
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r1, r1, r3
	ldr	r3, [fp, #-32]
	sub	r1, r1, r3
	ldr	r3, [fp, #-16]
	sub	r3, r1, r3
	add	r3, r3, #1
	ldr	r1, .L31+44
	ldr	r3, [r1, r3, lsl #2]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r2, r3
	blt	.L20
	ldr	r2, .L31+48
	ldr	r3, [fp, #-44]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #1
	ldr	r0, .L31+48
	ldr	r2, [fp, #-44]
	str	r1, [r0, r2, lsl #2]
	ldr	r1, .L31+52
	ldr	r2, [fp, #-44]
	ldr	r0, .L31+56
	mul	r2, r0, r2
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
.L20:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L19:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r3, [fp, #-44]
	cmp	r3, r2
	bcc	.L22
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L23
.L28:
	ldr	r2, .L31+48
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bgt	.L24
	ldr	r0, .L31+60
	bl	puts
	b	.L25
.L24:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r1, .L31+52
	ldr	r2, [fp, #-28]
	ldr	r0, .L31+56
	mul	r2, r0, r2
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L31+4
	bl	printf
	b	.L26
.L27:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r1, .L31+52
	ldr	r2, [fp, #-28]
	ldr	r0, .L31+56
	mul	r2, r0, r2
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L31+64
	bl	printf
.L26:
	ldr	r2, .L31+48
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L27
	mov	r0, #10
	bl	putchar
.L25:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	cmp	r3, r2
	bcc	.L28
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC4
	.word	.LC0
	.word	100001
	.word	p
	.word	v
	.word	.LC1
	.word	200002
	.word	str
	.word	rstr
	.word	800008
	.word	z
	.word	rz
	.word	cnt
	.word	output
	.word	100000
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
