	.file	"339738.c"
	.intel_syntax noprefix
	.text
	.type	ymz_step, @function
ymz_step:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	BYTE PTR -36[rbp], al
	movzx	eax, BYTE PTR -36[rbp]
	and	eax, 8
	mov	DWORD PTR -16[rbp], eax
	movzx	eax, BYTE PTR -36[rbp]
	and	eax, 7
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR [rax]
	cwde
	imul	eax, edx
	sar	eax, 3
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, WORD PTR [rax]
	cwde
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, step_table.0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR [rax]
	cwde
	imul	eax, edx
	sar	eax, 8
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 32767
	jg	.L2
	mov	eax, 0
	cmp	DWORD PTR -8[rbp], 0
	cmovns	eax, DWORD PTR -8[rbp]
	jmp	.L3
.L2:
	mov	eax, 32767
.L3:
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jle	.L4
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -20[rbp], eax
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -20[rbp], eax
.L5:
	cmp	DWORD PTR -4[rbp], 24576
	jg	.L6
	mov	eax, 127
	cmp	DWORD PTR -4[rbp], 127
	cmovge	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	jmp	.L7
.L6:
	mov	edx, 24576
.L7:
	mov	rax, QWORD PTR -56[rbp]
	mov	WORD PTR [rax], dx
	cmp	DWORD PTR -20[rbp], 32767
	jg	.L8
	mov	eax, -32768
	cmp	DWORD PTR -20[rbp], -32768
	cmovge	eax, DWORD PTR -20[rbp]
	jmp	.L9
.L8:
	mov	eax, 32767
.L9:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ymz_step, .-ymz_step
	.globl	ymz_encode
	.type	ymz_encode, @function
ymz_encode:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -28[rbp], 127
	mov	WORD PTR -26[rbp], 0
	mov	BYTE PTR -30[rbp], 0
	mov	BYTE PTR -29[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L12
.L16:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, WORD PTR [rax]
	and	eax, -8
	cwde
	movzx	edx, WORD PTR -26[rbp]
	movsx	edx, dx
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	sal	eax, 16
	movzx	edx, WORD PTR -28[rbp]
	movsx	edx, dx
	mov	esi, edx
	sal	esi, 14
	cdq
	idiv	esi
	mov	DWORD PTR -24[rbp], eax
	mov	eax, 7
	cmp	DWORD PTR -24[rbp], 7
	cmovbe	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L13
	or	DWORD PTR -24[rbp], 8
.L13:
	cmp	BYTE PTR -29[rbp], 0
	je	.L14
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	or	cl, BYTE PTR -30[rbp]
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 4
	mov	BYTE PTR -30[rbp], al
.L15:
	xor	BYTE PTR -29[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movzx	eax, al
	lea	rdx, -28[rbp]
	lea	rcx, -26[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	ymz_step
	add	QWORD PTR -16[rbp], 1
.L12:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L16
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ymz_encode, .-ymz_encode
	.globl	ymz_decode
	.type	ymz_decode, @function
ymz_decode:
.LFB8:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	WORD PTR -36[rbp], 127
	mov	WORD PTR -34[rbp], 0
	mov	BYTE PTR -38[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L19
.L21:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	movzx	eax, BYTE PTR -38[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	BYTE PTR -37[rbp], al
	sar	BYTE PTR -37[rbp], 4
	cmp	BYTE PTR -38[rbp], 0
	je	.L20
	add	QWORD PTR -56[rbp], 1
.L20:
	xor	BYTE PTR -38[rbp], 4
	movzx	eax, WORD PTR -34[rbp]
	cwde
	imul	eax, eax, 254
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	WORD PTR -34[rbp], ax
	movzx	eax, BYTE PTR -37[rbp]
	movzx	eax, al
	mov	rbx, QWORD PTR -64[rbp]
	lea	rdx, 2[rbx]
	mov	QWORD PTR -64[rbp], rdx
	lea	rdx, -36[rbp]
	lea	rcx, -34[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	ymz_step
	mov	WORD PTR [rbx], ax
	add	QWORD PTR -32[rbp], 1
.L19:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jl	.L21
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ymz_decode, .-ymz_decode
	.globl	aica_encode
	.type	aica_encode, @function
aica_encode:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -28[rbp], 127
	mov	WORD PTR -26[rbp], 0
	mov	BYTE PTR -30[rbp], 0
	mov	BYTE PTR -29[rbp], 4
	mov	QWORD PTR -16[rbp], 0
	jmp	.L24
.L28:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, WORD PTR [rax]
	and	eax, -8
	cwde
	movzx	edx, WORD PTR -26[rbp]
	movsx	edx, dx
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	sal	eax, 16
	movzx	edx, WORD PTR -28[rbp]
	movsx	edx, dx
	mov	esi, edx
	sal	esi, 14
	cdq
	idiv	esi
	mov	DWORD PTR -24[rbp], eax
	mov	eax, 7
	cmp	DWORD PTR -24[rbp], 7
	cmovbe	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L25
	or	DWORD PTR -24[rbp], 8
.L25:
	cmp	BYTE PTR -29[rbp], 0
	jne	.L26
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	or	cl, BYTE PTR -30[rbp]
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -24[rbp]
	sal	eax, 4
	mov	BYTE PTR -30[rbp], al
.L27:
	xor	BYTE PTR -29[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movzx	eax, al
	lea	rdx, -28[rbp]
	lea	rcx, -26[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	ymz_step
	add	QWORD PTR -16[rbp], 1
.L24:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L28
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	aica_encode, .-aica_encode
	.globl	aica_decode
	.type	aica_decode, @function
aica_decode:
.LFB10:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	WORD PTR -36[rbp], 127
	mov	WORD PTR -34[rbp], 0
	mov	BYTE PTR -38[rbp], 4
	mov	QWORD PTR -32[rbp], 0
	jmp	.L31
.L33:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	movzx	eax, BYTE PTR -38[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	BYTE PTR -37[rbp], al
	sar	BYTE PTR -37[rbp], 4
	cmp	BYTE PTR -38[rbp], 0
	jne	.L32
	add	QWORD PTR -56[rbp], 1
.L32:
	xor	BYTE PTR -38[rbp], 4
	movzx	eax, WORD PTR -34[rbp]
	cwde
	imul	eax, eax, 254
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	WORD PTR -34[rbp], ax
	movzx	eax, BYTE PTR -37[rbp]
	movzx	eax, al
	mov	rbx, QWORD PTR -64[rbp]
	lea	rdx, 2[rbx]
	mov	QWORD PTR -64[rbp], rdx
	lea	rdx, -36[rbp]
	lea	rcx, -34[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	ymz_step
	mov	WORD PTR [rbx], ax
	add	QWORD PTR -32[rbp], 1
.L31:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jl	.L33
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	aica_decode, .-aica_decode
	.section	.rodata
	.align 32
	.type	step_table.0, @object
	.size	step_table.0, 32
step_table.0:
	.long	230
	.long	230
	.long	230
	.long	230
	.long	307
	.long	409
	.long	512
	.long	614
	.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	"339738.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ymz_step, %function
ymz_step:
	@ 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
	mov	r3, r0
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	and	r3, r3, #8
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	and	r3, r3, #7
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, [fp, #-40]
	ldrsh	r2, [r2]
	mul	r3, r2, r3
	asr	r3, r3, #3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	ldrsh	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r2, .L11
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-40]
	ldrsh	r2, [r2]
	mul	r3, r2, r3
	asr	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #32768
	bge	.L2
	ldr	r3, [fp, #-12]
	bic	r3, r3, r3, asr #31
	b	.L3
.L2:
	ldr	r3, .L11+4
.L3:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L4
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L5
.L4:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #24576
	bgt	.L6
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	movge	r3, r3
	movlt	r3, #127
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L7
.L6:
	mov	r3, #24576
.L7:
	ldr	r2, [fp, #-40]
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-24]
	cmp	r3, #32768
	bge	.L8
	ldr	r3, [fp, #-24]
	ldr	r2, .L11+8
	cmp	r3, r2
	movge	r3, r3
	movlt	r3, r2
	b	.L9
.L8:
	ldr	r3, .L11+4
.L9:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-36]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L12:
	.align	2
.L11:
	.word	step_table.6362
	.word	32767
	.word	-32768
	.size	ymz_step, .-ymz_step
	.global	__aeabi_idiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ymz_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	ymz_encode, %function
ymz_encode:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #127
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-26]
	mov	r3, #0
	strb	r3, [fp, #-25]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L14
.L18:
	ldr	r3, [fp, #-32]
	add	r2, r3, #2
	str	r2, [fp, #-32]
	ldrsh	r3, [r3]
	bic	r3, r3, #7
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	ldrsh	r3, [fp, #-22]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	rsblt	r3, r3, #0
	lsl	r3, r3, #16
	ldrsh	r2, [fp, #-24]
	lsl	r2, r2, #14
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	movcc	r3, r3
	movcs	r3, #7
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L15
	ldr	r3, [fp, #-16]
	orr	r3, r3, #8
	str	r3, [fp, #-16]
.L15:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	and	r3, r3, #15
	and	r1, r3, #255
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r2, [fp, #-26]
	orr	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L17
.L16:
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	lsl	r3, r3, #4
	strb	r3, [fp, #-26]
.L17:
	ldrb	r3, [fp, #-25]
	eor	r3, r3, #1
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	sub	r2, fp, #24
	sub	r1, fp, #22
	mov	r0, r3
	bl	ymz_step
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L14:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L18
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.size	ymz_encode, .-ymz_encode
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ymz_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	ymz_decode, %function
ymz_decode:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #127
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-26]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L23
.L25:
	ldr	r3, [fp, #-32]
	ldrsb	r3, [r3]
	mov	r2, r3
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	lsl	r3, r2, r3
	strb	r3, [fp, #-25]
	ldrsb	r3, [fp, #-25]
	asr	r3, r3, #4
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L24:
	ldrb	r3, [fp, #-26]
	eor	r3, r3, #4
	strb	r3, [fp, #-26]
	ldrsh	r3, [fp, #-22]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #7
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-22]	@ movhi
	ldrb	r0, [fp, #-25]	@ zero_extendqisi2
	ldr	r4, [fp, #-36]
	add	r3, r4, #2
	str	r3, [fp, #-36]
	sub	r2, fp, #24
	sub	r3, fp, #22
	mov	r1, r3
	bl	ymz_step
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L23:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L25
	nop
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.size	ymz_decode, .-ymz_decode
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aica_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	aica_encode, %function
aica_encode:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #127
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-26]
	mov	r3, #4
	strb	r3, [fp, #-25]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L30
.L34:
	ldr	r3, [fp, #-32]
	add	r2, r3, #2
	str	r2, [fp, #-32]
	ldrsh	r3, [r3]
	bic	r3, r3, #7
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	ldrsh	r3, [fp, #-22]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	rsblt	r3, r3, #0
	lsl	r3, r3, #16
	ldrsh	r2, [fp, #-24]
	lsl	r2, r2, #14
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	movcc	r3, r3
	movcs	r3, #7
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L31
	ldr	r3, [fp, #-16]
	orr	r3, r3, #8
	str	r3, [fp, #-16]
.L31:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	and	r3, r3, #15
	and	r1, r3, #255
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r2, [fp, #-26]
	orr	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L33
.L32:
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	lsl	r3, r3, #4
	strb	r3, [fp, #-26]
.L33:
	ldrb	r3, [fp, #-25]
	eor	r3, r3, #1
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	sub	r2, fp, #24
	sub	r1, fp, #22
	mov	r0, r3
	bl	ymz_step
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L30:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L34
	nop
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC2
	.size	aica_encode, .-aica_encode
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aica_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	aica_decode, %function
aica_decode:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #127
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #4
	strb	r3, [fp, #-26]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L39
.L41:
	ldr	r3, [fp, #-32]
	ldrsb	r3, [r3]
	mov	r2, r3
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	lsl	r3, r2, r3
	strb	r3, [fp, #-25]
	ldrsb	r3, [fp, #-25]
	asr	r3, r3, #4
	strb	r3, [fp, #-25]
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L40:
	ldrb	r3, [fp, #-26]
	eor	r3, r3, #4
	strb	r3, [fp, #-26]
	ldrsh	r3, [fp, #-22]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #7
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-22]	@ movhi
	ldrb	r0, [fp, #-25]	@ zero_extendqisi2
	ldr	r4, [fp, #-36]
	add	r3, r4, #2
	str	r3, [fp, #-36]
	sub	r2, fp, #24
	sub	r3, fp, #22
	mov	r1, r3
	bl	ymz_step
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L39:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L41
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC3
	.size	aica_decode, .-aica_decode
	.section	.rodata
	.align	2
	.type	step_table.6362, %object
	.size	step_table.6362, 32
step_table.6362:
	.word	230
	.word	230
	.word	230
	.word	230
	.word	307
	.word	409
	.word	512
	.word	614
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
