	.file	"713450.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	":"
.LC1:
	.string	"-"
.LC2:
	.string	"rb"
.LC3:
	.string	"Cannot open file %s.\n"
.LC4:
	.string	"\r\n"
.LC5:
	.string	"=\r\n"
.LC6:
	.string	"=%02X"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	BYTE PTR -14[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L2
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rax, .LC1[rip]
	mov	ecx, 2
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	freopen@PLT
	mov	QWORD PTR -8[rbp], rax
.L4:
	jmp	.L5
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -13[rbp], al
	add	DWORD PTR -12[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L19
	cmp	BYTE PTR -13[rbp], 13
	je	.L8
	cmp	BYTE PTR -13[rbp], 10
	jne	.L9
.L8:
	cmp	BYTE PTR -14[rbp], 13
	jne	.L10
	cmp	BYTE PTR -13[rbp], 10
	jne	.L10
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR -14[rbp], al
	jmp	.L7
.L10:
	cmp	BYTE PTR -14[rbp], 32
	jne	.L11
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 61
	call	fputc@PLT
.L11:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L9:
	cmp	BYTE PTR -13[rbp], 61
	je	.L13
	cmp	BYTE PTR -13[rbp], 31
	jle	.L13
	cmp	BYTE PTR -13[rbp], 127
	je	.L13
	cmp	DWORD PTR -12[rbp], 75
	ja	.L14
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -13[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	jmp	.L12
.L14:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -13[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L13:
	cmp	DWORD PTR -12[rbp], 73
	ja	.L16
	movzx	eax, BYTE PTR -13[rbp]
	movzx	edx, al
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 2
	jmp	.L12
.L16:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	movzx	eax, BYTE PTR -13[rbp]
	movzx	edx, al
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -12[rbp], 3
.L12:
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR -14[rbp], al
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L17
	jmp	.L7
.L19:
	nop
.L7:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"713450.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	":\000"
	.align	2
.LC1:
	.ascii	"-\000"
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"Cannot open file %s.\012\000"
	.align	2
.LC4:
	.ascii	"\015\012\000"
	.align	2
.LC5:
	.ascii	"=\015\012\000"
	.align	2
.LC6:
	.ascii	"=%02X\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	mov	r3, #0
	strb	r3, [fp, #-14]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, .L20
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L20+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L20+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, .L20+24
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+12
	mov	r0, #0
	bl	freopen
	str	r0, [fp, #-12]
.L4:
	b	.L5
.L17:
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L8
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L9
.L8:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L10
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L10
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-14]
	b	.L7
.L10:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L11
	ldr	r3, .L20+28
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #61
	bl	fputc
.L11:
	ldr	r3, .L20+28
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L20+32
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L9:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L13
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L13
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #126
	bhi	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #75
	bhi	.L14
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L20+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputc
	b	.L12
.L14:
	ldr	r3, .L20+28
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L20+36
	bl	fwrite
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L20+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #73
	bhi	.L16
	ldr	r3, .L20+28
	ldr	r3, [r3]
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r1, .L20+40
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	str	r3, [fp, #-8]
	b	.L12
.L16:
	ldr	r3, .L20+28
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L20+36
	bl	fwrite
	ldr	r3, .L20+28
	ldr	r3, [r3]
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r1, .L20+40
	mov	r0, r3
	bl	fprintf
	mov	r3, #3
	str	r3, [fp, #-8]
.L12:
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-14]
.L5:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	b	.L7
.L19:
	nop
.L7:
	ldr	r3, .L20+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	optind
	.word	.LC1
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	stdin
	.word	stdout
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
