	.file	"34511975.c"
	.intel_syntax noprefix
	.text
	.globl	increment
	.type	increment, @function
increment:
.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	BYTE PTR -2[rbp], 85
	mov	BYTE PTR -1[rbp], 33
	mov	BYTE PTR -3[rbp], 4
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	movzx	ecx, BYTE PTR -2[rbp]
	mov	edx, 0
	div	ecx
	mov	eax, edx
	mov	ecx, eax
	movsx	rdx, BYTE PTR -3[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR -1[rbp]
	add	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	movzx	esi, BYTE PTR -2[rbp]
	mov	edx, 0
	div	esi
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	movzx	eax, BYTE PTR -3[rbp]
	sub	eax, 1
	mov	BYTE PTR -3[rbp], al
.L2:
	cmp	BYTE PTR -3[rbp], 0
	jns	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	increment, .-increment
	.globl	move_bin
	.type	move_bin, @function
move_bin:
.LFB7:
	.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	eax, esi
	mov	WORD PTR -28[rbp], ax
	mov	BYTE PTR -1[rbp], 8
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	movzx	eax, BYTE PTR -1[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	movsx	eax, WORD PTR -28[rbp]
	or	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	move_bin, .-move_bin
	.globl	encode
	.type	encode, @function
encode:
.LFB8:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -25[rbp], 0
	mov	DWORD PTR -13[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L10:
	movzx	eax, BYTE PTR -25[rbp]
	add	eax, 1
	mov	BYTE PTR -25[rbp], al
	cmp	BYTE PTR -25[rbp], 4
	jne	.L7
	mov	BYTE PTR -25[rbp], 0
	movsx	edx, WORD PTR -22[rbp]
	lea	rax, -20[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	move_bin
	lea	rdx, -20[rbp]
	lea	rax, -13[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	increment
	mov	BYTE PTR -24[rbp], 0
	jmp	.L8
.L9:
	movzx	eax, BYTE PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR -13[rbp+rax]
	movzx	eax, al
	mov	edi, eax
	call	putchar@PLT
	movzx	eax, BYTE PTR -24[rbp]
	add	eax, 1
	mov	BYTE PTR -24[rbp], al
.L8:
	cmp	BYTE PTR -24[rbp], 4
	jbe	.L9
	mov	DWORD PTR -20[rbp], 0
	jmp	.L6
.L7:
	movsx	edx, WORD PTR -22[rbp]
	lea	rax, -20[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	move_bin
.L6:
	call	getchar@PLT
	mov	WORD PTR -22[rbp], ax
	cmp	WORD PTR -22[rbp], -1
	jne	.L10
	cmp	BYTE PTR -25[rbp], 0
	jne	.L13
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	jmp	.L17
.L14:
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 8
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, BYTE PTR -25[rbp]
	add	eax, 1
	mov	BYTE PTR -25[rbp], al
.L13:
	cmp	BYTE PTR -25[rbp], 3
	jbe	.L14
	lea	rdx, -20[rbp]
	lea	rax, -13[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	increment
	mov	BYTE PTR -23[rbp], 0
	jmp	.L15
.L16:
	movzx	eax, BYTE PTR -23[rbp]
	cdqe
	movzx	eax, BYTE PTR -13[rbp+rax]
	movzx	eax, al
	mov	edi, eax
	call	putchar@PLT
	movzx	eax, BYTE PTR -23[rbp]
	add	eax, 1
	mov	BYTE PTR -23[rbp], al
.L15:
	cmp	BYTE PTR -23[rbp], 4
	jbe	.L16
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	encode, .-encode
	.globl	decode
	.type	decode, @function
decode:
.LFB9:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -28[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -13[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	mov	BYTE PTR -25[rbp], 117
	mov	BYTE PTR -24[rbp], 85
	mov	BYTE PTR -23[rbp], 33
	jmp	.L20
.L29:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, WORD PTR -22[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L21
	jmp	.L20
.L21:
	movzx	eax, BYTE PTR -28[rbp]
	add	eax, 1
	mov	BYTE PTR -28[rbp], al
	movsx	edx, WORD PTR -22[rbp]
	movzx	eax, BYTE PTR -23[rbp]
	cmp	edx, eax
	jl	.L22
	movsx	edx, WORD PTR -22[rbp]
	movzx	eax, BYTE PTR -25[rbp]
	cmp	edx, eax
	jle	.L23
.L22:
	mov	eax, 1
	jmp	.L31
.L23:
	movzx	eax, BYTE PTR -24[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	movsx	eax, WORD PTR -22[rbp]
	movzx	ecx, BYTE PTR -23[rbp]
	sub	eax, ecx
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	cmp	BYTE PTR -28[rbp], 5
	jne	.L20
	mov	BYTE PTR -27[rbp], 4
	jmp	.L25
.L26:
	movzx	eax, BYTE PTR -27[rbp]
	mov	edx, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR -13[rbp+rax], dl
	shr	DWORD PTR -20[rbp], 8
	movzx	eax, BYTE PTR -27[rbp]
	sub	eax, 1
	mov	BYTE PTR -27[rbp], al
.L25:
	cmp	BYTE PTR -27[rbp], 0
	jne	.L26
	mov	BYTE PTR -26[rbp], 1
	jmp	.L27
.L28:
	movzx	eax, BYTE PTR -26[rbp]
	cdqe
	movzx	eax, BYTE PTR -13[rbp+rax]
	movzx	eax, al
	mov	edi, eax
	call	putchar@PLT
	movzx	eax, BYTE PTR -26[rbp]
	add	eax, 1
	mov	BYTE PTR -26[rbp], al
.L27:
	cmp	BYTE PTR -26[rbp], 4
	jbe	.L28
	mov	BYTE PTR -28[rbp], 0
	mov	DWORD PTR -20[rbp], 0
.L20:
	call	getchar@PLT
	mov	WORD PTR -22[rbp], ax
	cmp	WORD PTR -22[rbp], -1
	jne	.L29
	cmp	BYTE PTR -28[rbp], 0
	je	.L30
	mov	eax, 1
	jmp	.L31
.L30:
	mov	eax, 0
.L31:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	decode, .-decode
	.section	.rodata
.LC0:
	.string	"-e"
.LC1:
	.string	"-d"
.LC2:
	.string	"usage: %s [-e|-d]\n"
.LC3:
	.string	"an error occured\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -20[rbp], 1
	je	.L34
	cmp	DWORD PTR -20[rbp], 2
	jne	.L35
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
.L34:
	call	encode
	mov	DWORD PTR -4[rbp], eax
	jmp	.L36
.L35:
	cmp	DWORD PTR -20[rbp], 2
	jne	.L37
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	call	decode
	mov	DWORD PTR -4[rbp], eax
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -32[rbp]
	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	.L38
.L36:
	cmp	DWORD PTR -4[rbp], 0
	je	.L39
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L38
.L39:
	mov	eax, 0
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"34511975.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.align	2
	.global	increment
	.syntax unified
	.arm
	.fpu softvfp
	.type	increment, %function
increment:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #85
	strb	r3, [fp, #-6]
	mov	r3, #33
	strb	r3, [fp, #-5]
	mov	r3, #4
	strb	r3, [fp, #-7]
	b	.L2
.L3:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	and	r1, r3, #255
	ldrsb	r3, [fp, #-7]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-5]
	add	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldrsb	r3, [fp, #-7]
	and	r3, r3, #255
	sub	r3, r3, #1
	and	r3, r3, #255
	strb	r3, [fp, #-7]
.L2:
	ldrsb	r3, [fp, #-7]
	cmp	r3, #0
	bge	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	increment, .-increment
	.align	2
	.global	move_bin
	.syntax unified
	.arm
	.fpu softvfp
	.type	move_bin, %function
move_bin:
	@ 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]
	mov	r3, r1
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #8
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-18]
	orr	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	move_bin, .-move_bin
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode, %function
encode:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-25]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	strb	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L6
.L10:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L7
	mov	r3, #0
	strb	r3, [fp, #-25]
	ldrsh	r2, [fp, #-22]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	move_bin
	sub	r2, fp, #20
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	increment
	mov	r3, #0
	strb	r3, [fp, #-24]
	b	.L8
.L9:
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-12]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-24]
.L8:
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	cmp	r3, #4
	bls	.L9
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L6
.L7:
	ldrsh	r2, [fp, #-22]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	move_bin
.L6:
	bl	getchar
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	ldrsh	r3, [fp, #-22]
	cmn	r3, #1
	bne	.L10
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	b	.L17
.L14:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #8
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-25]
.L13:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #3
	bls	.L14
	sub	r2, fp, #20
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	increment
	mov	r3, #0
	strb	r3, [fp, #-23]
	b	.L15
.L16:
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-12]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-23]
.L15:
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #4
	bls	.L16
	mov	r0, #10
	bl	putchar
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.size	encode, .-encode
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode, %function
decode:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	strb	r3, [fp, #-12]
	mov	r3, #117
	strb	r3, [fp, #-25]
	mov	r3, #85
	strb	r3, [fp, #-24]
	mov	r3, #33
	strb	r3, [fp, #-23]
	b	.L22
.L31:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-22]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L23
	b	.L22
.L23:
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-28]
	ldrsh	r2, [fp, #-22]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r2, r3
	blt	.L24
	ldrsh	r2, [fp, #-22]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, r3
	ble	.L25
.L24:
	mov	r3, #1
	b	.L33
.L25:
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	ldrsh	r1, [fp, #-22]
	ldrb	r2, [fp, #-23]	@ zero_extendqisi2
	sub	r2, r1, r2
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #5
	bne	.L22
	mov	r3, #4
	strb	r3, [fp, #-27]
	b	.L27
.L28:
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-12]
	ldr	r3, [fp, #-20]
	lsr	r3, r3, #8
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	sub	r3, r3, #1
	strb	r3, [fp, #-27]
.L27:
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L28
	mov	r3, #1
	strb	r3, [fp, #-26]
	b	.L29
.L30:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-12]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-26]
.L29:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #4
	bls	.L30
	mov	r3, #0
	strb	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
.L22:
	bl	getchar
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	ldrsh	r3, [fp, #-22]
	cmn	r3, #1
	bne	.L31
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	mov	r3, #1
	b	.L33
.L32:
	mov	r3, #0
.L33:
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC1
	.size	decode, .-decode
	.section	.rodata
	.align	2
.LC2:
	.ascii	"-e\000"
	.align	2
.LC3:
	.ascii	"-d\000"
	.align	2
.LC4:
	.ascii	"usage: %s [-e|-d]\012\000"
	.align	2
.LC5:
	.ascii	"an error occured\012\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
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L38
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L39
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
.L38:
	bl	encode
	str	r0, [fp, #-8]
	b	.L40
.L39:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L41
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L44+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	bl	decode
	str	r0, [fp, #-8]
	b	.L40
.L41:
	ldr	r3, .L44+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L44+12
	bl	fprintf
	mov	r3, #1
	b	.L42
.L40:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L44+8
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L44+16
	bl	fwrite
	mov	r3, #1
	b	.L42
.L43:
	mov	r3, #0
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC2
	.word	.LC3
	.word	stderr
	.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
