	.file	"23575866.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	".+@#$%&*=-;>,')!"
	.text
	.globl	map
	.type	map, @function
map:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	lea	rax, .LC0[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	BYTE PTR -9[rbp], 0
	jmp	.L2
.L5:
	movsx	rdx, BYTE PTR -9[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -20[rbp]
	movzx	eax, al
	cmp	edx, eax
	jne	.L3
	movzx	eax, BYTE PTR -9[rbp]
	jmp	.L4
.L3:
	movzx	eax, BYTE PTR -9[rbp]
	add	eax, 1
	mov	BYTE PTR -9[rbp], al
.L2:
	cmp	BYTE PTR -9[rbp], 15
	jle	.L5
	mov	eax, -1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	map, .-map
	.section	.rodata
.LC1:
	.string	"unsigned char xpm[] = {\n"
.LC2:
	.string	"0x%02x"
.LC3:
	.string	"0x%02x,"
.LC4:
	.string	"};"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -10[rbp], 0
	mov	BYTE PTR -11[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	jmp	.L7
.L15:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L8
	movzx	edx, BYTE PTR -11[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 1
	test	eax, eax
	je	.L10
	movzx	edx, BYTE PTR -11[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L10:
	cmp	DWORD PTR -4[rbp], 13
	je	.L11
	cmp	DWORD PTR -4[rbp], 10
	jne	.L12
.L11:
	mov	rdx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L7
.L12:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	map
	mov	BYTE PTR -9[rbp], al
	cmp	BYTE PTR -9[rbp], -1
	jne	.L13
	mov	rdx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	jmp	.L7
.L13:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 1
	test	eax, eax
	je	.L14
	sal	BYTE PTR -11[rbp], 4
.L14:
	movzx	eax, BYTE PTR -11[rbp]
	or	al, BYTE PTR -9[rbp]
	mov	BYTE PTR -11[rbp], al
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L15
.L9:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"23575866.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	".+@#$%&*=-;>,')!\000"
	.text
	.align	2
	.global	map
	.syntax unified
	.arm
	.fpu softvfp
	.type	map, %function
map:
	@ 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]
	ldr	r3, .L6
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L2
.L5:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	cmp	r2, r3
	bne	.L3
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	b	.L4
.L3:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-9]
.L2:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #15
	bls	.L5
	mov	r3, #255
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	map, .-map
	.section	.rodata
	.align	2
.LC1:
	.ascii	"unsigned char xpm[] = {\012\000"
	.align	2
.LC2:
	.ascii	"0x%02x\000"
	.align	2
.LC3:
	.ascii	"0x%02x,\000"
	.align	2
.LC4:
	.ascii	"};\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	strb	r3, [fp, #-14]
	mov	r3, #0
	strb	r3, [fp, #-15]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L18+4
	bl	fwrite
	b	.L9
.L16:
	ldr	r3, .L18+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L10
	ldr	r3, .L18
	ldr	r3, [r3]
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	ldr	r1, .L18+12
	mov	r0, r3
	bl	fprintf
	b	.L11
.L10:
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L18
	ldr	r3, [r3]
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	ldr	r1, .L18+16
	mov	r0, r3
	bl	fprintf
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	beq	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L14
.L13:
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L14:
	ldr	r0, [fp, #-8]
	bl	map
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L15
	ldrb	r3, [fp, #-15]
	lsl	r3, r3, #4
	strb	r3, [fp, #-15]
.L15:
	ldrb	r2, [fp, #-15]
	ldrb	r3, [fp, #-13]
	orr	r3, r2, r3
	strb	r3, [fp, #-15]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, .L18+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
.L11:
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L18+20
	bl	fwrite
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	stdout
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
