	.file	"61076146.c"
	.intel_syntax noprefix
	.text
	.type	_RLE_WriteRep, @function
_RLE_WriteRep:
.LFB0:
	.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	eax, ecx
	mov	DWORD PTR -44[rbp], r8d
	mov	BYTE PTR -36[rbp], dl
	mov	BYTE PTR -40[rbp], al
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -44[rbp], 3
	ja	.L2
	movzx	eax, BYTE PTR -40[rbp]
	cmp	al, BYTE PTR -36[rbp]
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -36[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	edx, -1[rcx]
	mov	BYTE PTR [rax], dl
	jmp	.L4
.L3:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 1
.L5:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jb	.L6
	jmp	.L4
.L2:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -36[rbp]
	mov	BYTE PTR [rdx], al
	sub	DWORD PTR -44[rbp], 1
	cmp	DWORD PTR -44[rbp], 127
	jbe	.L7
	mov	eax, DWORD PTR -44[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	or	ecx, -128
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L7:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -44[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L4:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	_RLE_WriteRep, .-_RLE_WriteRep
	.type	_RLE_WriteNonRep, @function
_RLE_WriteNonRep:
.LFB1:
	.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	eax, ecx
	mov	BYTE PTR -36[rbp], dl
	mov	BYTE PTR -40[rbp], al
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	movzx	eax, BYTE PTR -40[rbp]
	cmp	al, BYTE PTR -36[rbp]
	jne	.L9
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -36[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L10:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	_RLE_WriteNonRep, .-_RLE_WriteNonRep
	.globl	RLE_Compress
	.type	RLE_Compress, @function
RLE_Compress:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1104
	mov	QWORD PTR -1080[rbp], rdi
	mov	QWORD PTR -1088[rbp], rsi
	mov	DWORD PTR -1092[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1092[rbp], 0
	jne	.L12
	mov	eax, 0
	jmp	.L32
.L12:
	mov	DWORD PTR -1044[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -1044[rbp]
	mov	DWORD PTR -1040[rbp+rax*4], 0
	add	DWORD PTR -1044[rbp], 1
.L14:
	cmp	DWORD PTR -1044[rbp], 255
	jbe	.L15
	mov	DWORD PTR -1044[rbp], 0
	jmp	.L16
.L17:
	mov	edx, DWORD PTR -1044[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	movsx	rdx, eax
	mov	edx, DWORD PTR -1040[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -1040[rbp+rax*4], edx
	add	DWORD PTR -1044[rbp], 1
.L16:
	mov	eax, DWORD PTR -1044[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	jb	.L17
	mov	BYTE PTR -1057[rbp], 0
	mov	DWORD PTR -1044[rbp], 1
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -1044[rbp]
	mov	edx, DWORD PTR -1040[rbp+rax*4]
	movzx	eax, BYTE PTR -1057[rbp]
	cdqe
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	cmp	edx, eax
	jnb	.L19
	mov	eax, DWORD PTR -1044[rbp]
	mov	BYTE PTR -1057[rbp], al
.L19:
	add	DWORD PTR -1044[rbp], 1
.L18:
	cmp	DWORD PTR -1044[rbp], 255
	jbe	.L20
	mov	rax, QWORD PTR -1088[rbp]
	movzx	edx, BYTE PTR -1057[rbp]
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -1056[rbp], 1
	mov	rax, QWORD PTR -1080[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1059[rbp], al
	mov	DWORD PTR -1052[rbp], 1
	mov	DWORD PTR -1048[rbp], 1
	cmp	DWORD PTR -1092[rbp], 1
	jbe	.L21
	mov	eax, DWORD PTR -1052[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1052[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1058[rbp], al
	mov	DWORD PTR -1048[rbp], 2
.L30:
	movzx	eax, BYTE PTR -1059[rbp]
	cmp	al, BYTE PTR -1058[rbp]
	jne	.L22
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -1052[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1052[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1058[rbp], al
	add	DWORD PTR -1048[rbp], 1
.L23:
	mov	eax, DWORD PTR -1052[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	jnb	.L24
	movzx	eax, BYTE PTR -1059[rbp]
	cmp	al, BYTE PTR -1058[rbp]
	jne	.L24
	cmp	DWORD PTR -1048[rbp], 32767
	jbe	.L25
.L24:
	movzx	eax, BYTE PTR -1059[rbp]
	cmp	al, BYTE PTR -1058[rbp]
	jne	.L26
	movzx	ecx, BYTE PTR -1059[rbp]
	movzx	edx, BYTE PTR -1057[rbp]
	mov	edi, DWORD PTR -1048[rbp]
	lea	rsi, -1056[rbp]
	mov	rax, QWORD PTR -1088[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	_RLE_WriteRep
	mov	eax, DWORD PTR -1052[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	jnb	.L27
	mov	eax, DWORD PTR -1052[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1052[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1059[rbp], al
	mov	DWORD PTR -1048[rbp], 1
	jmp	.L28
.L27:
	mov	DWORD PTR -1048[rbp], 0
	jmp	.L28
.L26:
	mov	eax, DWORD PTR -1048[rbp]
	lea	edi, -1[rax]
	movzx	ecx, BYTE PTR -1059[rbp]
	movzx	edx, BYTE PTR -1057[rbp]
	lea	rsi, -1056[rbp]
	mov	rax, QWORD PTR -1088[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	_RLE_WriteRep
	movzx	eax, BYTE PTR -1058[rbp]
	mov	BYTE PTR -1059[rbp], al
	mov	DWORD PTR -1048[rbp], 1
	jmp	.L28
.L22:
	movzx	ecx, BYTE PTR -1059[rbp]
	movzx	edx, BYTE PTR -1057[rbp]
	lea	rsi, -1056[rbp]
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdi, rax
	call	_RLE_WriteNonRep
	movzx	eax, BYTE PTR -1058[rbp]
	mov	BYTE PTR -1059[rbp], al
	mov	DWORD PTR -1048[rbp], 1
.L28:
	mov	eax, DWORD PTR -1052[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	jnb	.L29
	mov	eax, DWORD PTR -1052[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1052[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1058[rbp], al
	mov	DWORD PTR -1048[rbp], 2
.L29:
	mov	eax, DWORD PTR -1052[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	jb	.L30
	cmp	DWORD PTR -1048[rbp], 1
	ja	.L30
.L21:
	cmp	DWORD PTR -1048[rbp], 1
	jne	.L31
	movzx	ecx, BYTE PTR -1059[rbp]
	movzx	edx, BYTE PTR -1057[rbp]
	lea	rsi, -1056[rbp]
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdi, rax
	call	_RLE_WriteNonRep
.L31:
	mov	eax, DWORD PTR -1056[rbp]
.L32:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	RLE_Compress, .-RLE_Compress
	.globl	RLE_Uncompress
	.type	RLE_Uncompress, @function
RLE_Uncompress:
.LFB3:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	cmp	DWORD PTR -52[rbp], 0
	je	.L46
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -18[rbp], al
	mov	DWORD PTR -8[rbp], 0
.L45:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, BYTE PTR -18[rbp]
	jne	.L37
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 2
	ja	.L38
	mov	DWORD PTR -16[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -18[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L39:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jbe	.L40
	jmp	.L41
.L38:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 128
	test	eax, eax
	je	.L42
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	and	eax, 32512
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, ecx
	mov	DWORD PTR -4[rbp], eax
.L42:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	mov	DWORD PTR -16[rbp], 0
	jmp	.L43
.L44:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L43:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jbe	.L44
	jmp	.L41
.L37:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L41:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jb	.L45
	jmp	.L34
.L46:
	nop
.L34:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	RLE_Uncompress, .-RLE_Uncompress
	.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	"61076146.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_RLE_WriteRep, %function
_RLE_WriteRep:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-21]
	mov	r3, r2
	strb	r3, [fp, #-22]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #4]
	cmp	r3, #3
	bhi	.L2
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L3
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #4]
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-22]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	bcc	.L6
	b	.L4
.L2:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	str	r3, [fp, #4]
	ldr	r3, [fp, #4]
	cmp	r3, #127
	bls	.L7
	ldr	r3, [fp, #4]
	lsr	r3, r3, #8
	and	r1, r3, #255
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	mvn	r3, r1, lsl #25
	mvn	r3, r3, lsr #25
	and	r3, r3, #255
	strb	r3, [r2]
.L7:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-22]
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_RLE_WriteRep, .-_RLE_WriteRep
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_RLE_WriteNonRep, %function
_RLE_WriteNonRep:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-21]
	mov	r3, r2
	strb	r3, [fp, #-22]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldrb	r2, [fp, #-22]	@ zero_extendqisi2
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L10
.L9:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-22]
	strb	r2, [r3]
.L10:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	_RLE_WriteNonRep, .-_RLE_WriteNonRep
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	RLE_Compress
	.syntax unified
	.arm
	.fpu softvfp
	.type	RLE_Compress, %function
RLE_Compress:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1072
	str	r0, [fp, #-1056]
	str	r1, [fp, #-1060]
	str	r2, [fp, #-1064]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1064]
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	b	.L32
.L12:
	mov	r3, #0
	str	r3, [fp, #-1036]
	b	.L14
.L15:
	ldr	r3, [fp, #-1036]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-1028]
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	str	r3, [fp, #-1036]
.L14:
	ldr	r3, [fp, #-1036]
	cmp	r3, #255
	bls	.L15
	mov	r3, #0
	str	r3, [fp, #-1036]
	b	.L16
.L17:
	ldr	r2, [fp, #-1056]
	ldr	r3, [fp, #-1036]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1028]
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	str	r3, [fp, #-1036]
.L16:
	ldr	r2, [fp, #-1036]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	bcc	.L17
	mov	r3, #0
	strb	r3, [fp, #-1049]
	mov	r3, #1
	str	r3, [fp, #-1036]
	b	.L18
.L20:
	ldr	r3, [fp, #-1036]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1028]
	ldrb	r3, [fp, #-1049]	@ zero_extendqisi2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1028]
	cmp	r2, r3
	bcs	.L19
	ldr	r3, [fp, #-1036]
	strb	r3, [fp, #-1049]
.L19:
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	str	r3, [fp, #-1036]
.L18:
	ldr	r3, [fp, #-1036]
	cmp	r3, #255
	bls	.L20
	ldr	r3, [fp, #-1060]
	ldrb	r2, [fp, #-1049]
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1056]
	ldrb	r3, [r3]
	strb	r3, [fp, #-1051]
	mov	r3, #1
	str	r3, [fp, #-1044]
	mov	r3, #1
	str	r3, [fp, #-1040]
	ldr	r3, [fp, #-1064]
	cmp	r3, #1
	bls	.L21
	ldr	r3, [fp, #-1044]
	add	r2, r3, #1
	str	r2, [fp, #-1044]
	ldr	r2, [fp, #-1056]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-1050]
	mov	r3, #2
	str	r3, [fp, #-1040]
.L30:
	ldrb	r2, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r3, [fp, #-1050]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L22
	b	.L23
.L25:
	ldr	r3, [fp, #-1044]
	add	r2, r3, #1
	str	r2, [fp, #-1044]
	ldr	r2, [fp, #-1056]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-1050]
	ldr	r3, [fp, #-1040]
	add	r3, r3, #1
	str	r3, [fp, #-1040]
.L23:
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	bcs	.L24
	ldrb	r2, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r3, [fp, #-1050]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L24
	ldr	r3, [fp, #-1040]
	cmp	r3, #32768
	bcc	.L25
.L24:
	ldrb	r2, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r3, [fp, #-1050]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L26
	ldrb	r0, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r2, [fp, #-1049]	@ zero_extendqisi2
	sub	r1, fp, #1040
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r3, [fp, #-1040]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-1060]
	bl	_RLE_WriteRep
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	bcs	.L27
	ldr	r3, [fp, #-1044]
	add	r2, r3, #1
	str	r2, [fp, #-1044]
	ldr	r2, [fp, #-1056]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-1051]
	mov	r3, #1
	str	r3, [fp, #-1040]
	b	.L28
.L27:
	mov	r3, #0
	str	r3, [fp, #-1040]
	b	.L28
.L26:
	ldr	r3, [fp, #-1040]
	sub	r3, r3, #1
	ldrb	r0, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r2, [fp, #-1049]	@ zero_extendqisi2
	sub	r1, fp, #1040
	sub	r1, r1, #4
	sub	r1, r1, #4
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-1060]
	bl	_RLE_WriteRep
	ldrb	r3, [fp, #-1050]
	strb	r3, [fp, #-1051]
	mov	r3, #1
	str	r3, [fp, #-1040]
	b	.L28
.L22:
	ldrb	r3, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r2, [fp, #-1049]	@ zero_extendqisi2
	sub	r1, fp, #1040
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r0, [fp, #-1060]
	bl	_RLE_WriteNonRep
	ldrb	r3, [fp, #-1050]
	strb	r3, [fp, #-1051]
	mov	r3, #1
	str	r3, [fp, #-1040]
.L28:
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	bcs	.L29
	ldr	r3, [fp, #-1044]
	add	r2, r3, #1
	str	r2, [fp, #-1044]
	ldr	r2, [fp, #-1056]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-1050]
	mov	r3, #2
	str	r3, [fp, #-1040]
.L29:
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	bcc	.L30
	ldr	r3, [fp, #-1040]
	cmp	r3, #1
	bhi	.L30
.L21:
	ldr	r3, [fp, #-1040]
	cmp	r3, #1
	bne	.L31
	ldrb	r3, [fp, #-1051]	@ zero_extendqisi2
	ldrb	r2, [fp, #-1049]	@ zero_extendqisi2
	sub	r1, fp, #1040
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r0, [fp, #-1060]
	bl	_RLE_WriteNonRep
.L31:
	ldr	r3, [fp, #-1048]
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC0
	.size	RLE_Compress, .-RLE_Compress
	.align	2
	.global	RLE_Uncompress
	.syntax unified
	.arm
	.fpu softvfp
	.type	RLE_Uncompress, %function
RLE_Uncompress:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L48
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-22]
	mov	r3, #0
	str	r3, [fp, #-12]
.L47:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L39
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bhi	.L40
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L41
.L42:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r2, [fp, #-22]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L41:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bls	.L42
	b	.L43
.L40:
	ldr	r3, [fp, #-8]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #8
	and	r2, r3, #32512
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L44:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L45
.L46:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L45:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bls	.L46
	b	.L43
.L39:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L43:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L47
	b	.L36
.L48:
	nop
.L36:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RLE_Uncompress, .-RLE_Uncompress
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
