	.file	"806678.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the number of productions: "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Enter the grammar: (use '->' for productions)"
.LC3:
	.string	"%s"
	.align 8
.LC4:
	.string	"\nGrammar after the removal of left factoring:"
.LC5:
	.string	"%c->%c%c'"
.LC6:
	.string	"|%s"
.LC7:
	.string	"\n%c'->%s"
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 296
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -320[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -288[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 120
	imul	rax, r14, 0
	lea	rsi, [rdx+rax]
	mov	eax, 120
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rax, ecx
	sal	rax, 4
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 120
	imul	rax, r12, 0
	lea	rsi, [rdx+rax]
	mov	eax, 120
	mul	r12
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	mov	rcx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rcx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -280[rbp], rax
	mov	BYTE PTR -322[rbp], 0
	mov	BYTE PTR -323[rbp], 0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -316[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	mov	rdx, QWORD PTR -280[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -316[rbp], 1
.L5:
	mov	eax, DWORD PTR -320[rbp]
	cmp	DWORD PTR -316[rbp], eax
	jl	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -312[rbp], 0
	jmp	.L7
.L21:
	mov	DWORD PTR -308[rbp], 2
	mov	rcx, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -321[rbp], al
	jmp	.L8
.L16:
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, rcx
	movzx	ecx, BYTE PTR [rax]
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jne	.L9
	mov	DWORD PTR -304[rbp], 0
	jmp	.L10
.L12:
	add	DWORD PTR -308[rbp], 1
	movsx	esi, BYTE PTR -322[rbp]
	mov	edx, DWORD PTR -304[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -304[rbp], eax
	mov	r8, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, r8
	add	rax, rdi
	movzx	ecx, BYTE PTR [rax]
	movsx	rdi, edx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rax, -48[rax]
	add	rax, rbp
	add	rax, rdi
	sub	rax, 224
	mov	BYTE PTR [rax], cl
.L10:
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L11
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	jne	.L12
.L11:
	movzx	eax, BYTE PTR -322[rbp]
	mov	edx, eax
	add	edx, 1
	mov	BYTE PTR -322[rbp], dl
	movsx	eax, al
	mov	edx, DWORD PTR -304[rbp]
	sub	edx, 1
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rax, -48[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 224
	mov	BYTE PTR [rax], 0
	jmp	.L8
.L9:
	mov	DWORD PTR -300[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -308[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -308[rbp], edx
	movsx	esi, BYTE PTR -323[rbp]
	mov	edx, DWORD PTR -300[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -300[rbp], ecx
	mov	r8, QWORD PTR -280[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, r8
	add	rax, rdi
	movzx	ecx, BYTE PTR [rax]
	movsx	rdi, edx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rax, -48[rax]
	add	rax, rbp
	add	rax, rdi
	sub	rax, 112
	mov	BYTE PTR [rax], cl
.L13:
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L14
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	jne	.L15
.L14:
	movzx	eax, BYTE PTR -323[rbp]
	mov	edx, eax
	add	edx, 1
	mov	BYTE PTR -323[rbp], dl
	movsx	eax, al
	mov	edx, DWORD PTR -300[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rax, -48[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 112
	mov	BYTE PTR [rax], 0
.L8:
	add	DWORD PTR -308[rbp], 1
	mov	rsi, QWORD PTR -280[rbp]
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rsi
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	movsx	ecx, BYTE PTR -321[rbp]
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR 3[rax]
	movsx	edx, al
	movsx	eax, BYTE PTR -321[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -296[rbp], 0
	jmp	.L17
.L18:
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -296[rbp], 1
.L17:
	movsx	eax, BYTE PTR -323[rbp]
	cmp	DWORD PTR -296[rbp], eax
	jl	.L18
	movsx	eax, BYTE PTR -321[rbp]
	lea	rdx, -272[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -292[rbp], 1
	jmp	.L19
.L20:
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -292[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -292[rbp], 1
.L19:
	movsx	eax, BYTE PTR -322[rbp]
	cmp	DWORD PTR -292[rbp], eax
	jl	.L20
	add	DWORD PTR -312[rbp], 1
.L7:
	mov	eax, DWORD PTR -320[rbp]
	cmp	DWORD PTR -312[rbp], eax
	jl	.L21
	mov	rsp, rbx
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"806678.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the number of productions: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the grammar: (use '->' for productions)\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"\012Grammar after the removal of left factoring:\000"
	.align	2
.LC5:
	.ascii	"%c->%c%c'\000"
	.align	2
.LC6:
	.ascii	"|%s\000"
	.align	2
.LC7:
	.ascii	"\012%c'->%s\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #252
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldr	ip, [fp, #-264]
	sub	r3, ip, #1
	str	r3, [fp, #-232]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #4
	orr	r1, r1, r2, lsr #28
	lsl	r0, r2, #4
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #4
	orr	r1, r1, r2, lsr #28
	lsl	r0, r2, #4
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-228]
	mov	r3, #0
	strb	r3, [fp, #-266]
	mov	r3, #0
	strb	r3, [fp, #-267]
	ldr	r0, .L21+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L2
.L3:
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L2:
	ldr	r3, [fp, #-264]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L21+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L4
.L18:
	mov	r3, #2
	str	r3, [fp, #-252]
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-265]
	b	.L5
.L13:
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r0, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L6
	mov	r3, #0
	str	r3, [fp, #-248]
	b	.L7
.L9:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
	ldrb	r1, [fp, #-266]	@ zero_extendqisi2
	ldr	r2, [fp, #-248]
	add	r3, r2, #1
	str	r3, [fp, #-248]
	ldr	ip, [fp, #-228]
	ldr	r0, [fp, #-256]
	mov	r3, r0
	lsl	r3, r3, #4
	sub	r3, r3, r0
	add	r0, ip, r3
	ldr	r3, [fp, #-252]
	add	r3, r0, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, fp, #20
	add	r3, r1, r3
	add	r3, r3, r2
	sub	r3, r3, #204
	mov	r2, r0
	strb	r2, [r3]
.L7:
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	bne	.L9
.L8:
	ldrb	r3, [fp, #-266]	@ zero_extendqisi2
	add	r2, r3, #1
	strb	r2, [fp, #-266]
	mov	r1, r3
	ldr	r3, [fp, #-248]
	sub	r2, r3, #1
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, fp, #20
	add	r3, r1, r3
	add	r3, r3, r2
	sub	r3, r3, #204
	mov	r2, #0
	strb	r2, [r3]
	b	.L5
.L6:
	mov	r3, #0
	str	r3, [fp, #-244]
	b	.L10
.L12:
	ldr	r1, [fp, #-252]
	add	r3, r1, #1
	str	r3, [fp, #-252]
	ldrb	r0, [fp, #-267]	@ zero_extendqisi2
	ldr	r2, [fp, #-244]
	add	r3, r2, #1
	str	r3, [fp, #-244]
	ldr	lr, [fp, #-228]
	ldr	ip, [fp, #-256]
	mov	r3, ip
	lsl	r3, r3, #4
	sub	r3, r3, ip
	add	r3, lr, r3
	add	r3, r3, r1
	ldrb	r1, [r3]	@ zero_extendqisi2
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #1
	sub	r0, fp, #20
	add	r3, r0, r3
	add	r3, r3, r2
	sub	r3, r3, #104
	mov	r2, r1
	strb	r2, [r3]
.L10:
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	bne	.L12
.L11:
	ldrb	r3, [fp, #-267]	@ zero_extendqisi2
	add	r2, r3, #1
	strb	r2, [fp, #-267]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #20
	add	r2, r2, r3
	ldr	r3, [fp, #-244]
	add	r3, r2, r3
	sub	r3, r3, #104
	mov	r2, #0
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
	ldr	r1, [fp, #-228]
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r2, r1, r3
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	ldrb	r1, [fp, #-265]	@ zero_extendqisi2
	ldr	r3, [fp, #-228]
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-265]	@ zero_extendqisi2
	ldr	r0, .L21+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-240]
	b	.L14
.L15:
	sub	r1, fp, #124
	ldr	r2, [fp, #-240]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
.L14:
	ldrb	r3, [fp, #-267]	@ zero_extendqisi2
	ldr	r2, [fp, #-240]
	cmp	r2, r3
	blt	.L15
	ldrb	r3, [fp, #-265]	@ zero_extendqisi2
	sub	r2, fp, #224
	mov	r1, r3
	ldr	r0, .L21+32
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-236]
	b	.L16
.L17:
	sub	r1, fp, #224
	ldr	r2, [fp, #-236]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L16:
	ldrb	r3, [fp, #-266]	@ zero_extendqisi2
	ldr	r2, [fp, #-236]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L4:
	ldr	r3, [fp, #-264]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	blt	.L18
	mov	sp, r6
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
