	.file	"3262482.c"
	.intel_syntax noprefix
	.text
	.globl	state_compare
	.type	state_compare, @function
state_compare:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	seta	al
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	seta	al
	movzx	ecx, al
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	state_compare, .-state_compare
	.section	.rodata
.LC0:
	.string	"??"
.LC1:
	.string	"%.*s"
.LC2:
	.string	"realloc"
.LC3:
	.string	"??/"
.LC4:
	.string	"\\"
	.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 2
	mov	DWORD PTR -24[rbp], 3
	mov	DWORD PTR -20[rbp], 4
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	lea	rax, -32[rbp]
	lea	rcx, state_compare[rip]
	mov	edx, 4
	mov	esi, 4
	mov	rdi, rax
	call	qsort@PLT
.L72:
	call	getchar@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 63
	jne	.L4
	cmp	QWORD PTR -80[rbp], 2
	jne	.L5
	lea	rsi, -32[rbp]
	lea	rax, -108[rbp]
	lea	r8, state_compare[rip]
	mov	ecx, 4
	mov	edx, 4
	mov	rdi, rax
	call	bsearch@PLT
	test	rax, rax
	jne	.L5
	mov	edi, 63
	call	putchar@PLT
	jmp	.L6
.L5:
	add	QWORD PTR -80[rbp], 1
	jmp	.L6
.L4:
	cmp	DWORD PTR -104[rbp], 0
	js	.L76
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, 6
	ja	.L9
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L11[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L11[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L17-.L11
	.long	.L16-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.text
.L17:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, .LC0[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -104[rbp]
	sub	eax, 34
	cmp	eax, 27
	ja	.L77
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L20[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L20[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L20:
	.long	.L23-.L20
	.long	.L78-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L22-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L21-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L77-.L20
	.long	.L78-.L20
	.text
.L22:
	cmp	QWORD PTR -80[rbp], 2
	jne	.L24
	mov	eax, 0
	jmp	.L25
.L24:
	mov	eax, 5
.L25:
	mov	DWORD PTR -108[rbp], eax
	jmp	.L18
.L23:
	mov	DWORD PTR -108[rbp], 6
	jmp	.L18
.L21:
	cmp	QWORD PTR -80[rbp], 2
	je	.L79
	mov	DWORD PTR -108[rbp], 1
	jmp	.L27
.L78:
	nop
	jmp	.L77
.L79:
	nop
.L18:
	jmp	.L77
.L15:
	cmp	DWORD PTR -104[rbp], 92
	je	.L28
	cmp	DWORD PTR -104[rbp], 92
	jg	.L14
	cmp	DWORD PTR -104[rbp], 10
	je	.L29
	cmp	DWORD PTR -104[rbp], 47
	jne	.L14
	cmp	QWORD PTR -80[rbp], 1
	jbe	.L80
.L28:
	call	getchar@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 10
	je	.L81
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	jmp	.L81
.L29:
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L27
.L14:
	cmp	DWORD PTR -104[rbp], 42
	jne	.L82
	mov	DWORD PTR -108[rbp], 4
	jmp	.L82
.L13:
	cmp	DWORD PTR -104[rbp], 92
	je	.L32
	cmp	DWORD PTR -104[rbp], 92
	jg	.L33
	cmp	DWORD PTR -104[rbp], 42
	je	.L83
	cmp	DWORD PTR -104[rbp], 47
	jne	.L33
	cmp	QWORD PTR -80[rbp], 0
	je	.L35
	cmp	QWORD PTR -80[rbp], 2
	je	.L84
	jmp	.L75
.L35:
	mov	edi, 32
	call	putchar@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L27
.L75:
	mov	DWORD PTR -108[rbp], 3
	jmp	.L27
.L84:
	nop
.L32:
	call	getchar@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 10
	je	.L83
.L33:
	mov	DWORD PTR -108[rbp], 3
	jmp	.L83
.L12:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, .LC0[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -104[rbp], 92
	je	.L38
	cmp	DWORD PTR -104[rbp], 92
	jg	.L85
	cmp	DWORD PTR -104[rbp], 39
	je	.L40
	cmp	DWORD PTR -104[rbp], 47
	jne	.L85
	cmp	QWORD PTR -80[rbp], 2
	jne	.L86
.L38:
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	putchar@PLT
	call	getchar@PLT
	mov	DWORD PTR -104[rbp], eax
	jmp	.L39
.L40:
	cmp	QWORD PTR -80[rbp], 2
	je	.L87
	mov	DWORD PTR -108[rbp], 0
	jmp	.L87
.L86:
	nop
	jmp	.L85
.L87:
	nop
.L39:
	jmp	.L85
.L10:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, .LC0[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -104[rbp], 92
	je	.L42
	cmp	DWORD PTR -104[rbp], 92
	jg	.L88
	cmp	DWORD PTR -104[rbp], 34
	je	.L44
	cmp	DWORD PTR -104[rbp], 47
	jne	.L88
	cmp	QWORD PTR -80[rbp], 2
	jne	.L89
.L42:
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	putchar@PLT
	call	getchar@PLT
	mov	DWORD PTR -104[rbp], eax
	jmp	.L43
.L44:
	cmp	QWORD PTR -80[rbp], 2
	je	.L90
	mov	DWORD PTR -108[rbp], 0
	jmp	.L90
.L89:
	nop
	jmp	.L88
.L90:
	nop
.L43:
	jmp	.L88
.L16:
	cmp	DWORD PTR -104[rbp], 92
	je	.L46
	cmp	DWORD PTR -104[rbp], 92
	jg	.L47
	cmp	DWORD PTR -104[rbp], 42
	je	.L48
	cmp	DWORD PTR -104[rbp], 47
	je	.L49
	jmp	.L47
.L48:
	mov	QWORD PTR -88[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -108[rbp], 3
	jmp	.L27
.L49:
	cmp	QWORD PTR -80[rbp], 0
	je	.L50
	cmp	QWORD PTR -80[rbp], 2
	je	.L51
	jmp	.L47
.L50:
	mov	QWORD PTR -88[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -108[rbp], 2
	jmp	.L27
.L51:
	mov	DWORD PTR -100[rbp], 1
	mov	QWORD PTR -80[rbp], 0
	nop
.L46:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L91
	call	getchar@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 10
	je	.L54
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	DWORD PTR -100[rbp], 0
	je	.L55
	mov	eax, 47
	jmp	.L56
.L55:
	mov	eax, 92
.L56:
	mov	DWORD PTR -104[rbp], eax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L57
	mov	eax, DWORD PTR -100[rbp]
	add	eax, eax
	cdqe
	jmp	.L58
.L57:
	mov	rax, QWORD PTR -80[rbp]
.L58:
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L47
.L54:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L59
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 1
	and	rax, QWORD PTR -96[rbp]
	test	rax, rax
	jne	.L59
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rax
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L60
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L61
.L60:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rdx, 1[rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rcx
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L59:
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -88[rbp], rdx
	mov	edx, eax
	mov	eax, DWORD PTR -100[rbp]
	mov	ecx, edx
	sal	eax, cl
	mov	ecx, eax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, ecx
	mov	ecx, edx
	or	ecx, eax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	and	QWORD PTR -88[rbp], 7
	cmp	QWORD PTR -88[rbp], 0
	sete	al
	movzx	eax, al
	add	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L27
.L91:
	nop
.L47:
	mov	edi, 47
	call	putchar@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	jmp	.L62
.L65:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -56[rbp]
	mov	ecx, edx
	sar	eax, cl
	and	eax, 1
	test	eax, eax
	je	.L63
	lea	rax, .LC3[rip]
	jmp	.L64
.L63:
	lea	rax, .LC4[rip]
.L64:
	mov	rdi, rax
	call	puts@PLT
	add	QWORD PTR -56[rbp], 1
	and	QWORD PTR -56[rbp], 7
	cmp	QWORD PTR -56[rbp], 0
	sete	al
	movzx	eax, al
	add	QWORD PTR -64[rbp], rax
.L62:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	jb	.L65
	mov	QWORD PTR -48[rbp], 0
	jmp	.L66
.L69:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	rdx, QWORD PTR -48[rbp]
	mov	ecx, edx
	sar	eax, cl
	and	eax, 1
	test	eax, eax
	je	.L67
	lea	rax, .LC3[rip]
	jmp	.L68
.L67:
	lea	rax, .LC4[rip]
.L68:
	mov	rdi, rax
	call	puts@PLT
	add	QWORD PTR -48[rbp], 1
.L66:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	jb	.L69
	mov	QWORD PTR -88[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -96[rbp], rax
	jmp	.L70
.L71:
	mov	edi, 63
	call	putchar@PLT
	sub	QWORD PTR -80[rbp], 1
.L70:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L71
	mov	DWORD PTR -108[rbp], 0
	nop
	jmp	.L9
.L77:
	nop
	jmp	.L9
.L85:
	nop
	jmp	.L9
.L88:
	nop
.L9:
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	putchar@PLT
	jmp	.L27
.L80:
	nop
	jmp	.L27
.L81:
	nop
	jmp	.L27
.L82:
	nop
	jmp	.L27
.L83:
	nop
.L27:
	mov	QWORD PTR -80[rbp], 0
.L6:
	jmp	.L72
.L76:
	nop
	mov	eax, 0
.L61:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	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	"3262482.c"
	.text
	.align	2
	.global	state_compare
	.syntax unified
	.arm
	.fpu softvfp
	.type	state_compare, %function
state_compare:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	sub	r3, r1, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	state_compare, .-state_compare
	.section	.rodata
	.align	2
.LC1:
	.ascii	"??\000"
	.align	2
.LC2:
	.ascii	"%.*s\000"
	.align	2
.LC3:
	.ascii	"realloc\000"
	.align	2
.LC4:
	.ascii	"??/\000"
	.align	2
.LC5:
	.ascii	"\\\000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.word	4
	.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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, .L92+4
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r0, fp, #24
	ldr	r3, .L92+8
	mov	r2, #4
	mov	r1, #4
	bl	qsort
.L72:
	bl	getchar
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #63
	bne	.L4
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L5
	sub	r1, fp, #24
	sub	r0, fp, #68
	ldr	r3, .L92+8
	str	r3, [sp]
	mov	r3, #4
	mov	r2, #4
	bl	bsearch
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r0, #63
	bl	putchar
	b	.L6
.L5:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L6
.L4:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L76
	ldr	r3, [fp, #-68]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L10
.L17:
	ldr	r3, [fp, #-56]
	ldr	r2, .L92+12
	mov	r1, r3
	ldr	r0, .L92+16
	bl	printf
	ldr	r3, [fp, #-48]
	sub	r3, r3, #34
	cmp	r3, #27
	ldrls	pc, [pc, r3, asl #2]
	b	.L77
.L20:
	.word	.L23
	.word	.L78
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L22
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L21
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L77
	.word	.L78
.L22:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L24
	mov	r3, #0
	b	.L25
.L24:
	mov	r3, #5
.L25:
	str	r3, [fp, #-68]
	b	.L18
.L23:
	mov	r3, #6
	str	r3, [fp, #-68]
	b	.L18
.L21:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L79
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L27
.L78:
	nop
	b	.L77
.L79:
	nop
.L18:
	b	.L77
.L15:
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	beq	.L28
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	bgt	.L14
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	beq	.L29
	ldr	r3, [fp, #-48]
	cmp	r3, #47
	bne	.L14
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bls	.L80
.L28:
	bl	getchar
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	beq	.L81
	ldr	r3, .L92+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	ungetc
	b	.L81
.L29:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L27
.L14:
	ldr	r3, [fp, #-48]
	cmp	r3, #42
	bne	.L82
	mov	r3, #4
	str	r3, [fp, #-68]
	b	.L82
.L13:
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	beq	.L32
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	bgt	.L33
	ldr	r3, [fp, #-48]
	cmp	r3, #42
	beq	.L83
	ldr	r3, [fp, #-48]
	cmp	r3, #47
	bne	.L33
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L84
	b	.L75
.L35:
	mov	r0, #32
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L27
.L75:
	mov	r3, #3
	str	r3, [fp, #-68]
	b	.L27
.L84:
	nop
.L32:
	bl	getchar
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	beq	.L83
.L33:
	mov	r3, #3
	str	r3, [fp, #-68]
	b	.L83
.L12:
	ldr	r3, [fp, #-56]
	ldr	r2, .L92+12
	mov	r1, r3
	ldr	r0, .L92+16
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	beq	.L38
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	bgt	.L85
	ldr	r3, [fp, #-48]
	cmp	r3, #39
	beq	.L40
	ldr	r3, [fp, #-48]
	cmp	r3, #47
	bne	.L85
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L86
.L38:
	ldr	r0, [fp, #-48]
	bl	putchar
	bl	getchar
	str	r0, [fp, #-48]
	b	.L39
.L40:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L87
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L87
.L86:
	nop
	b	.L85
.L87:
	nop
.L39:
	b	.L85
.L10:
	ldr	r3, [fp, #-56]
	ldr	r2, .L92+12
	mov	r1, r3
	ldr	r0, .L92+16
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	beq	.L42
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	bgt	.L88
	ldr	r3, [fp, #-48]
	cmp	r3, #34
	beq	.L44
	ldr	r3, [fp, #-48]
	cmp	r3, #47
	bne	.L88
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L89
.L42:
	ldr	r0, [fp, #-48]
	bl	putchar
	bl	getchar
	str	r0, [fp, #-48]
	b	.L43
.L44:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L90
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L90
.L89:
	nop
	b	.L88
.L90:
	nop
.L43:
	b	.L88
.L16:
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	beq	.L46
	ldr	r3, [fp, #-48]
	cmp	r3, #92
	bgt	.L47
	ldr	r3, [fp, #-48]
	cmp	r3, #42
	beq	.L48
	ldr	r3, [fp, #-48]
	cmp	r3, #47
	beq	.L49
	b	.L47
.L48:
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-64]
	mov	r3, #3
	str	r3, [fp, #-68]
	b	.L27
.L49:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L51
	b	.L47
.L50:
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-64]
	mov	r3, #2
	str	r3, [fp, #-68]
	b	.L27
.L51:
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-56]
	nop
.L46:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L91
	bl	getchar
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #10
	beq	.L54
	ldr	r3, .L92+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	ungetc
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L55
	mov	r3, #47
	b	.L56
.L55:
	mov	r3, #92
.L56:
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #1
	b	.L58
.L57:
	ldr	r3, [fp, #-56]
.L58:
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L47
.L54:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-64]
	add	r2, r3, #1
	ldr	r3, [fp, #-64]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #1
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	realloc
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L60
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, .L92+24
	bl	perror
	mov	r3, #1
	b	.L61
.L60:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	add	r0, r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	memset
.L59:
	ldr	r3, [fp, #-60]
	add	r2, r3, #1
	str	r2, [fp, #-60]
	ldr	r2, [fp, #-44]
	lsl	r3, r2, r3
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-64]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-64]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	and	r3, r3, #7
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r2
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L27
.L91:
	nop
.L47:
	mov	r0, #47
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L62
.L65:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-36]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L63
	ldr	r3, .L92+28
	b	.L64
.L63:
	ldr	r3, .L92+32
.L64:
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	and	r3, r3, #7
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	str	r3, [fp, #-40]
.L62:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bcc	.L65
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L66
.L69:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L92+28
	b	.L68
.L67:
	ldr	r3, .L92+32
.L68:
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L66:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bcc	.L69
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-64]
	b	.L70
.L71:
	mov	r0, #63
	bl	putchar
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
.L70:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L71
	mov	r3, #0
	str	r3, [fp, #-68]
	nop
	b	.L9
.L77:
	nop
	b	.L9
.L85:
	nop
	b	.L9
.L88:
	nop
.L9:
	ldr	r0, [fp, #-48]
	bl	putchar
	b	.L27
.L80:
	nop
	b	.L27
.L81:
	nop
	b	.L27
.L82:
	nop
	b	.L27
.L83:
	nop
.L27:
	mov	r3, #0
	str	r3, [fp, #-56]
.L6:
	b	.L72
.L76:
	nop
	mov	r3, #0
.L61:
	ldr	r2, .L92
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L73
	bl	__stack_chk_fail
.L73:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC6
	.word	.LC0
	.word	state_compare
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
