	.file	"828687.c"
	.intel_syntax noprefix
	.text
	.globl	frob_escapes
	.type	frob_escapes, @function
frob_escapes:
.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 -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L11:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L12
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 92
	cmp	eax, 33
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L4-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L8-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.text
.L6:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 9
	jmp	.L9
.L8:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 10
	jmp	.L9
.L7:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 13
	jmp	.L9
.L4:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L13
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L9
.L12:
	nop
	jmp	.L3
.L13:
	nop
.L3:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	je	.L9
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
.L9:
	add	QWORD PTR -8[rbp], 1
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	frob_escapes, .-frob_escapes
	.section	.rodata
.LC0:
	.string	"Missing test filename\n"
.LC1:
	.string	"r"
.LC2:
	.string	"Couldn't open %s\n"
.LC3:
	.string	"REG_BASIC"
.LC4:
	.string	"REG_ICASE"
.LC5:
	.string	"REG_NEWLINE"
.LC6:
	.string	"REG_NOTBOL"
.LC7:
	.string	"REG_NOTEOL"
.LC8:
	.string	" \t"
	.align 8
.LC9:
	.string	"FAIL regcomp unexpectedly failed: %s\n"
	.align 8
.LC10:
	.string	"FAIL regcomp unpexpectedly succeeded"
	.align 8
.LC11:
	.string	"FAIL rm[%d] %d..%d != expected %d..%d\n"
	.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
	push	rbx
	sub	rsp, 856
	.cfi_offset 3, -24
	mov	DWORD PTR -852[rbp], edi
	mov	QWORD PTR -864[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -844[rbp], 0
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	DWORD PTR -840[rbp], 1
	mov	DWORD PTR -836[rbp], 0
	cmp	DWORD PTR -852[rbp], 1
	jg	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L53
.L15:
	mov	rax, QWORD PTR -864[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -776[rbp], rax
	cmp	QWORD PTR -776[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -864[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L52:
	mov	rdx, QWORD PTR -816[rbp]
	mov	rax, QWORD PTR -768[rbp]
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L19
	mov	rdx, QWORD PTR -816[rbp]
	sub	QWORD PTR -768[rbp], 1
	mov	rax, QWORD PTR -768[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L19:
	mov	rax, QWORD PTR -816[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -816[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	je	.L55
	mov	rax, QWORD PTR -816[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L56
	mov	rax, QWORD PTR -816[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L23
	mov	rax, QWORD PTR -816[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L24
	mov	DWORD PTR -840[rbp], 0
	jmp	.L25
.L24:
	mov	DWORD PTR -840[rbp], 1
.L25:
	mov	rax, QWORD PTR -816[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L26
	or	DWORD PTR -840[rbp], 2
.L26:
	mov	rax, QWORD PTR -816[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L27
	or	DWORD PTR -840[rbp], 4
.L27:
	mov	DWORD PTR -836[rbp], 0
	mov	rax, QWORD PTR -816[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L28
	or	DWORD PTR -836[rbp], 1
.L28:
	mov	rax, QWORD PTR -816[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L57
	or	DWORD PTR -836[rbp], 2
	jmp	.L57
.L23:
	mov	rbx, QWORD PTR -816[rbp]
	mov	rax, QWORD PTR -816[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strspn@PLT
	add	rax, rbx
	mov	QWORD PTR -760[rbp], rax
	mov	rax, QWORD PTR -760[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L58
	mov	rax, QWORD PTR -760[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	rdx, QWORD PTR -760[rbp]
	add	rax, rdx
	mov	QWORD PTR -784[rbp], rax
	mov	rax, QWORD PTR -784[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L59
	mov	rax, QWORD PTR -784[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -784[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -784[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strspn@PLT
	mov	rdx, QWORD PTR -784[rbp]
	add	rax, rdx
	mov	QWORD PTR -792[rbp], rax
	mov	rax, QWORD PTR -792[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L60
	mov	rax, QWORD PTR -792[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L33
	add	QWORD PTR -792[rbp], 1
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 34
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -784[rbp], rax
	cmp	QWORD PTR -784[rbp], 0
	je	.L61
	mov	rax, QWORD PTR -784[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -784[rbp], rdx
	mov	BYTE PTR [rax], 0
	jmp	.L35
.L33:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	rdx, QWORD PTR -792[rbp]
	add	rax, rdx
	mov	QWORD PTR -784[rbp], rax
	mov	rax, QWORD PTR -792[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	jne	.L36
	mov	QWORD PTR -792[rbp], 0
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -784[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L62
	mov	rax, QWORD PTR -784[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -784[rbp], rdx
	mov	BYTE PTR [rax], 0
.L35:
	mov	rax, QWORD PTR -760[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	frob_escapes
	cmp	QWORD PTR -792[rbp], 0
	je	.L38
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	frob_escapes
.L38:
	mov	edx, DWORD PTR -840[rbp]
	mov	rcx, QWORD PTR -760[rbp]
	lea	rax, -752[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	regcomp@PLT
	mov	DWORD PTR -828[rbp], eax
	cmp	DWORD PTR -828[rbp], 0
	je	.L39
	cmp	QWORD PTR -792[rbp], 0
	je	.L63
	lea	rdx, -528[rbp]
	lea	rsi, -752[rbp]
	mov	eax, DWORD PTR -828[rbp]
	mov	ecx, 500
	mov	edi, eax
	call	regerror@PLT
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -844[rbp], 1
	jmp	.L63
.L39:
	cmp	QWORD PTR -792[rbp], 0
	jne	.L41
	lea	rax, -752[rbp]
	mov	rdi, rax
	call	regfree@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -844[rbp], 1
	jmp	.L18
.L41:
	mov	ecx, DWORD PTR -836[rbp]
	lea	rdx, -688[rbp]
	mov	rsi, QWORD PTR -792[rbp]
	lea	rax, -752[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 20
	mov	rdi, rax
	call	regexec@PLT
	test	eax, eax
	je	.L42
	mov	DWORD PTR -832[rbp], 0
	jmp	.L43
.L44:
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	DWORD PTR -688[rbp+rax*8], -1
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	DWORD PTR -684[rbp+rax*8], -1
	add	DWORD PTR -832[rbp], 1
.L43:
	cmp	DWORD PTR -832[rbp], 19
	jle	.L44
.L42:
	lea	rax, -752[rbp]
	mov	rdi, rax
	call	regfree@PLT
	mov	DWORD PTR -832[rbp], 0
	jmp	.L45
.L51:
	lea	rcx, -800[rbp]
	mov	rax, QWORD PTR -784[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -824[rbp], eax
	mov	rax, QWORD PTR -800[rbp]
	cmp	QWORD PTR -784[rbp], rax
	je	.L64
	mov	rax, QWORD PTR -800[rbp]
	mov	QWORD PTR -784[rbp], rax
	lea	rcx, -800[rbp]
	mov	rax, QWORD PTR -784[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -820[rbp], eax
	mov	rax, QWORD PTR -800[rbp]
	cmp	QWORD PTR -784[rbp], rax
	je	.L65
	mov	rax, QWORD PTR -800[rbp]
	mov	QWORD PTR -784[rbp], rax
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	eax, DWORD PTR -688[rbp+rax*8]
	cmp	DWORD PTR -824[rbp], eax
	jne	.L49
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	eax, DWORD PTR -684[rbp+rax*8]
	cmp	DWORD PTR -820[rbp], eax
	je	.L50
.L49:
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	ecx, DWORD PTR -684[rbp+rax*8]
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	mov	edx, DWORD PTR -688[rbp+rax*8]
	mov	edi, DWORD PTR -820[rbp]
	mov	esi, DWORD PTR -824[rbp]
	mov	eax, DWORD PTR -832[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -844[rbp], 1
	jmp	.L18
.L50:
	add	DWORD PTR -832[rbp], 1
.L45:
	cmp	DWORD PTR -832[rbp], 19
	jg	.L18
	mov	rax, QWORD PTR -784[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L51
	jmp	.L18
.L64:
	nop
	jmp	.L18
.L65:
	nop
	jmp	.L18
.L55:
	nop
	jmp	.L18
.L56:
	nop
	jmp	.L18
.L57:
	nop
	jmp	.L18
.L58:
	nop
	jmp	.L18
.L59:
	nop
	jmp	.L18
.L60:
	nop
	jmp	.L18
.L61:
	nop
	jmp	.L18
.L62:
	nop
	jmp	.L18
.L63:
	nop
.L18:
	mov	rdx, QWORD PTR -776[rbp]
	lea	rcx, -808[rbp]
	lea	rax, -816[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -768[rbp], rax
	cmp	QWORD PTR -768[rbp], 0
	jg	.L52
	mov	rax, QWORD PTR -816[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -776[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -844[rbp]
.L53:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	mov	rbx, QWORD PTR -8[rbp]
	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	"828687.c"
	.text
	.align	2
	.global	frob_escapes
	.syntax unified
	.arm
	.fpu softvfp
	.type	frob_escapes, %function
frob_escapes:
	@ 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, #-8]
	b	.L2
.L11:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L12
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #92
	cmp	r3, #33
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L4
	.word	.L3
	.word	.L4
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L8
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L4
	.word	.L4
	.word	.L4
.L6:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	mov	r2, #9
	strb	r2, [r3]
	b	.L9
.L8:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	mov	r2, #10
	strb	r2, [r3]
	b	.L9
.L7:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	mov	r2, #13
	strb	r2, [r3]
	b	.L9
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	b	.L9
.L12:
	nop
	b	.L3
.L13:
	nop
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	beq	.L9
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	frob_escapes, .-frob_escapes
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Missing test filename\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Couldn't open %s\012\000"
	.align	2
.LC3:
	.ascii	"REG_BASIC\000"
	.align	2
.LC4:
	.ascii	"REG_ICASE\000"
	.align	2
.LC5:
	.ascii	"REG_NEWLINE\000"
	.align	2
.LC6:
	.ascii	"REG_NOTBOL\000"
	.align	2
.LC7:
	.ascii	"REG_NOTEOL\000"
	.align	2
.LC8:
	.ascii	" \011\000"
	.align	2
.LC9:
	.ascii	"FAIL regcomp unexpectedly failed: %s\012\000"
	.align	2
.LC10:
	.ascii	"FAIL regcomp unpexpectedly succeeded\000"
	.align	2
.LC11:
	.ascii	"FAIL rm[%d] %d..%d != expected %d..%d\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 768
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #780
	str	r0, [fp, #-776]
	str	r1, [fp, #-780]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-756]
	mov	r3, #0
	str	r3, [fp, #-768]
	mov	r3, #0
	str	r3, [fp, #-764]
	mov	r3, #1
	str	r3, [fp, #-748]
	mov	r3, #0
	str	r3, [fp, #-744]
	ldr	r3, [fp, #-776]
	cmp	r3, #1
	bgt	.L15
	ldr	r3, .L66+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L66+8
	bl	fwrite
	mov	r3, #1
	b	.L53
.L15:
	ldr	r3, [fp, #-780]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L66+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-732]
	ldr	r3, [fp, #-732]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L66+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-780]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L66+16
	bl	fprintf
	mov	r3, #1
	b	.L53
.L52:
	ldr	r2, [fp, #-768]
	ldr	r3, [fp, #-728]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L19
	ldr	r2, [fp, #-768]
	ldr	r3, [fp, #-728]
	sub	r3, r3, #1
	str	r3, [fp, #-728]
	ldr	r3, [fp, #-728]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L19:
	ldr	r3, [fp, #-768]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-768]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L55
	ldr	r3, [fp, #-768]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-768]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L23
	ldr	r3, [fp, #-768]
	ldr	r1, .L66+20
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mov	r3, #0
	str	r3, [fp, #-748]
	b	.L25
.L24:
	mov	r3, #1
	str	r3, [fp, #-748]
.L25:
	ldr	r3, [fp, #-768]
	ldr	r1, .L66+24
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-748]
	orr	r3, r3, #2
	str	r3, [fp, #-748]
.L26:
	ldr	r3, [fp, #-768]
	ldr	r1, .L66+28
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-748]
	orr	r3, r3, #4
	str	r3, [fp, #-748]
.L27:
	mov	r3, #0
	str	r3, [fp, #-744]
	ldr	r3, [fp, #-768]
	ldr	r1, .L66+32
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-744]
	orr	r3, r3, #1
	str	r3, [fp, #-744]
.L28:
	ldr	r3, [fp, #-768]
	ldr	r1, .L66+36
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-744]
	orr	r3, r3, #2
	str	r3, [fp, #-744]
	b	.L57
.L23:
	ldr	r4, [fp, #-768]
	ldr	r3, [fp, #-768]
	ldr	r1, .L66+40
	mov	r0, r3
	bl	strspn
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-724]
	ldr	r3, [fp, #-724]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r1, .L66+40
	ldr	r0, [fp, #-724]
	bl	strcspn
	mov	r2, r0
	ldr	r3, [fp, #-724]
	add	r3, r3, r2
	str	r3, [fp, #-740]
	ldr	r3, [fp, #-740]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-740]
	add	r2, r3, #1
	str	r2, [fp, #-740]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L66+40
	ldr	r0, [fp, #-740]
	bl	strspn
	mov	r2, r0
	ldr	r3, [fp, #-740]
	add	r3, r3, r2
	str	r3, [fp, #-752]
	ldr	r3, [fp, #-752]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-752]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L33
	ldr	r3, [fp, #-752]
	add	r3, r3, #1
	str	r3, [fp, #-752]
	mov	r1, #34
	ldr	r0, [fp, #-752]
	bl	strchr
	str	r0, [fp, #-740]
	ldr	r3, [fp, #-740]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-740]
	add	r2, r3, #1
	str	r2, [fp, #-740]
	mov	r2, #0
	strb	r2, [r3]
	b	.L35
.L33:
	ldr	r1, .L66+40
	ldr	r0, [fp, #-752]
	bl	strcspn
	mov	r2, r0
	ldr	r3, [fp, #-752]
	add	r3, r3, r2
	str	r3, [fp, #-740]
	ldr	r3, [fp, #-752]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	bne	.L36
	mov	r3, #0
	str	r3, [fp, #-752]
	b	.L35
.L36:
	ldr	r3, [fp, #-740]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-740]
	add	r2, r3, #1
	str	r2, [fp, #-740]
	mov	r2, #0
	strb	r2, [r3]
.L35:
	mov	r1, #1
	ldr	r0, [fp, #-724]
	bl	frob_escapes
	ldr	r3, [fp, #-752]
	cmp	r3, #0
	beq	.L38
	mov	r1, #0
	ldr	r0, [fp, #-752]
	bl	frob_escapes
.L38:
	sub	r3, fp, #708
	ldr	r2, [fp, #-748]
	ldr	r1, [fp, #-724]
	mov	r0, r3
	bl	regcomp
	str	r0, [fp, #-720]
	ldr	r3, [fp, #-720]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-752]
	cmp	r3, #0
	beq	.L63
	sub	r2, fp, #516
	sub	r1, fp, #708
	mov	r3, #500
	ldr	r0, [fp, #-720]
	bl	regerror
	sub	r3, fp, #516
	mov	r1, r3
	ldr	r0, .L66+44
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-756]
	b	.L63
.L39:
	ldr	r3, [fp, #-752]
	cmp	r3, #0
	bne	.L41
	sub	r3, fp, #708
	mov	r0, r3
	bl	regfree
	ldr	r0, .L66+48
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-756]
	b	.L18
.L41:
	sub	r2, fp, #676
	sub	r0, fp, #708
	ldr	r3, [fp, #-744]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #20
	ldr	r1, [fp, #-752]
	bl	regexec
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	mov	r3, #0
	str	r3, [fp, #-736]
	b	.L43
.L44:
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-664]
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-660]
	ldr	r3, [fp, #-736]
	add	r3, r3, #1
	str	r3, [fp, #-736]
.L43:
	ldr	r3, [fp, #-736]
	cmp	r3, #19
	ble	.L44
.L42:
	sub	r3, fp, #708
	mov	r0, r3
	bl	regfree
	mov	r3, #0
	str	r3, [fp, #-736]
	b	.L45
.L51:
	sub	r3, fp, #760
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-740]
	bl	strtol
	str	r0, [fp, #-716]
	ldr	r3, [fp, #-760]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	beq	.L64
	ldr	r3, [fp, #-760]
	str	r3, [fp, #-740]
	sub	r3, fp, #760
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-740]
	bl	strtol
	str	r0, [fp, #-712]
	ldr	r3, [fp, #-760]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	beq	.L65
	ldr	r3, [fp, #-760]
	str	r3, [fp, #-740]
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-664]
	ldr	r2, [fp, #-716]
	cmp	r2, r3
	bne	.L49
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-660]
	ldr	r2, [fp, #-712]
	cmp	r2, r3
	beq	.L50
.L49:
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-664]
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #3
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-660]
	ldr	r3, [fp, #-712]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-716]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-736]
	ldr	r0, .L66+52
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-756]
	b	.L18
.L50:
	ldr	r3, [fp, #-736]
	add	r3, r3, #1
	str	r3, [fp, #-736]
.L45:
	ldr	r3, [fp, #-736]
	cmp	r3, #19
	bgt	.L18
	ldr	r3, [fp, #-740]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L51
	b	.L18
.L64:
	nop
	b	.L18
.L65:
	nop
	b	.L18
.L55:
	nop
	b	.L18
.L56:
	nop
	b	.L18
.L57:
	nop
	b	.L18
.L58:
	nop
	b	.L18
.L59:
	nop
	b	.L18
.L60:
	nop
	b	.L18
.L61:
	nop
	b	.L18
.L62:
	nop
	b	.L18
.L63:
	nop
.L18:
	sub	r1, fp, #764
	sub	r3, fp, #768
	ldr	r2, [fp, #-732]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-728]
	ldr	r3, [fp, #-728]
	cmp	r3, #0
	bgt	.L52
	ldr	r3, [fp, #-768]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-732]
	bl	fclose
	ldr	r3, [fp, #-756]
.L53:
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC12
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
