	.file	"368107.c"
	.intel_syntax noprefix
	.text
	.local	HashTab
	.comm	HashTab,40024,32
	.local	CodeTab
	.comm	CodeTab,20012,32
	.local	BitsPixel
	.comm	BitsPixel,4,4
	.local	IniCodeSize
	.comm	IniCodeSize,4,4
	.local	CurCodeSize
	.comm	CurCodeSize,4,4
	.local	CurMaxCode
	.comm	CurMaxCode,4,4
	.local	ClearCode
	.comm	ClearCode,4,4
	.local	EOFCode
	.comm	EOFCode,4,4
	.local	FreeCode
	.comm	FreeCode,4,4
	.local	Nbyte
	.comm	Nbyte,8,8
	.local	put_b
	.comm	put_b,8,8
	.section	.rodata
	.align 8
.LC0:
	.string	"\nGIFencode: incorrect image size: %d x %d\n"
	.align 8
.LC1:
	.string	"\nGIFencode: wrong number of colors: %d\n"
	.text
	.globl	GIFencode
	.type	GIFencode, @function
GIFencode:
.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, 96
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	mov	QWORD PTR -72[rbp], rcx
	mov	QWORD PTR -80[rbp], r8
	mov	QWORD PTR -88[rbp], r9
	cmp	DWORD PTR -52[rbp], 0
	jle	.L2
	cmp	DWORD PTR -52[rbp], 4096
	jg	.L2
	cmp	DWORD PTR -56[rbp], 0
	jle	.L2
	cmp	DWORD PTR -56[rbp], 4096
	jle	.L3
.L2:
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L4
.L3:
	cmp	DWORD PTR -60[rbp], 0
	jle	.L5
	cmp	DWORD PTR -60[rbp], 256
	jle	.L6
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -60[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L4
.L6:
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR put_b[rip], rax
	mov	QWORD PTR Nbyte[rip], 0
	mov	eax, 0
	call	char_init
	mov	DWORD PTR BitsPixel[rip], 1
	cmp	DWORD PTR -60[rbp], 2
	jle	.L7
	mov	DWORD PTR BitsPixel[rip], 2
.L7:
	cmp	DWORD PTR -60[rbp], 4
	jle	.L8
	mov	DWORD PTR BitsPixel[rip], 3
.L8:
	cmp	DWORD PTR -60[rbp], 8
	jle	.L9
	mov	DWORD PTR BitsPixel[rip], 4
.L9:
	cmp	DWORD PTR -60[rbp], 16
	jle	.L10
	mov	DWORD PTR BitsPixel[rip], 5
.L10:
	cmp	DWORD PTR -60[rbp], 32
	jle	.L11
	mov	DWORD PTR BitsPixel[rip], 6
.L11:
	cmp	DWORD PTR -60[rbp], 64
	jle	.L12
	mov	DWORD PTR BitsPixel[rip], 7
.L12:
	cmp	DWORD PTR -60[rbp], 128
	jle	.L13
	mov	DWORD PTR BitsPixel[rip], 8
.L13:
	mov	eax, DWORD PTR BitsPixel[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR BitsPixel[rip]
	mov	DWORD PTR IniCodeSize[rip], eax
	mov	eax, DWORD PTR BitsPixel[rip]
	cmp	eax, 1
	jg	.L14
	mov	DWORD PTR IniCodeSize[rip], 2
.L14:
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 71
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 73
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 70
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 56
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 55
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 97
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	put_short
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	put_short
	mov	DWORD PTR -12[rbp], 128
	or	DWORD PTR -12[rbp], 112
	mov	eax, DWORD PTR BitsPixel[rip]
	sub	eax, 1
	or	DWORD PTR -12[rbp], eax
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -12[rbp]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L15
.L16:
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	add	DWORD PTR -36[rbp], 1
.L15:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L16
	jmp	.L17
.L18:
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	add	DWORD PTR -36[rbp], 1
.L17:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L18
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 44
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	edi, 0
	call	put_short
	mov	edi, 0
	call	put_short
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	put_short
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	put_short
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR IniCodeSize[rip]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	eax, DWORD PTR IniCodeSize[rip]
	add	eax, 1
	mov	DWORD PTR IniCodeSize[rip], eax
	mov	eax, DWORD PTR IniCodeSize[rip]
	mov	DWORD PTR CurCodeSize[rip], eax
	mov	eax, DWORD PTR IniCodeSize[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	mov	DWORD PTR CurMaxCode[rip], eax
	mov	eax, DWORD PTR IniCodeSize[rip]
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR ClearCode[rip], eax
	mov	eax, DWORD PTR ClearCode[rip]
	add	eax, 1
	mov	DWORD PTR EOFCode[rip], eax
	mov	eax, DWORD PTR ClearCode[rip]
	add	eax, 2
	mov	DWORD PTR FreeCode[rip], eax
	mov	eax, DWORD PTR ClearCode[rip]
	mov	edi, eax
	call	output
	mov	DWORD PTR -28[rbp], 0
	jmp	.L19
.L31:
	mov	ecx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	r8, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	r8
	mov	DWORD PTR -32[rbp], 0
	cmp	DWORD PTR -28[rbp], 0
	jne	.L21
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -20[rbp], eax
	jmp	.L21
.L30:
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 12
	mov	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 4
	xor	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, HashTab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L22
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, CodeTab[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, HashTab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	js	.L32
	mov	eax, 5003
	sub	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jne	.L33
	mov	DWORD PTR -24[rbp], 1
	jmp	.L28
.L33:
	nop
.L25:
.L28:
	mov	eax, DWORD PTR -24[rbp]
	sub	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L26
	add	DWORD PTR -36[rbp], 5003
.L26:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, HashTab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L27
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, CodeTab[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L21
.L27:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, HashTab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jle	.L34
	jmp	.L28
.L32:
	nop
	jmp	.L24
.L34:
	nop
.L24:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	output
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR FreeCode[rip]
	cmp	eax, 4095
	jg	.L29
	mov	eax, DWORD PTR FreeCode[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR FreeCode[rip], edx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, CodeTab[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, HashTab[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	jmp	.L21
.L29:
	mov	eax, DWORD PTR ClearCode[rip]
	mov	edi, eax
	call	output
.L21:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L30
	add	DWORD PTR -28[rbp], 1
.L19:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L31
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	output
	mov	eax, DWORD PTR EOFCode[rip]
	mov	edi, eax
	call	output
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 0
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR put_b[rip]
	mov	edi, 59
	call	rax
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rax, QWORD PTR Nbyte[rip]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	GIFencode, .-GIFencode
	.local	cur_accum
	.comm	cur_accum,8,8
	.local	cur_bits
	.comm	cur_bits,4,4
	.local	a_count
	.comm	a_count,4,4
	.local	accum
	.comm	accum,256,32
	.data
	.align 32
	.type	masks, @object
	.size	masks, 136
masks:
	.quad	0
	.quad	1
	.quad	3
	.quad	7
	.quad	15
	.quad	31
	.quad	63
	.quad	127
	.quad	255
	.quad	511
	.quad	1023
	.quad	2047
	.quad	4095
	.quad	8191
	.quad	16383
	.quad	32767
	.quad	65535
	.text
	.type	output, @function
output:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR cur_bits[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, masks[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR cur_accum[rip]
	and	rax, rdx
	mov	QWORD PTR cur_accum[rip], rax
	mov	eax, DWORD PTR cur_bits[rip]
	test	eax, eax
	jle	.L36
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR cur_bits[rip]
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR cur_accum[rip]
	or	rax, rdx
	mov	QWORD PTR cur_accum[rip], rax
	jmp	.L37
.L36:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	QWORD PTR cur_accum[rip], rax
.L37:
	mov	edx, DWORD PTR cur_bits[rip]
	mov	eax, DWORD PTR CurCodeSize[rip]
	add	eax, edx
	mov	DWORD PTR cur_bits[rip], eax
	jmp	.L38
.L39:
	mov	rax, QWORD PTR cur_accum[rip]
	movzx	eax, al
	mov	edi, eax
	call	char_out
	mov	rax, QWORD PTR cur_accum[rip]
	shr	rax, 8
	mov	QWORD PTR cur_accum[rip], rax
	mov	eax, DWORD PTR cur_bits[rip]
	sub	eax, 8
	mov	DWORD PTR cur_bits[rip], eax
.L38:
	mov	eax, DWORD PTR cur_bits[rip]
	cmp	eax, 7
	jg	.L39
	mov	eax, DWORD PTR ClearCode[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L40
	mov	edx, 40024
	mov	esi, -1
	lea	rdi, HashTab[rip]
	call	memset@PLT
	mov	eax, DWORD PTR ClearCode[rip]
	add	eax, 2
	mov	DWORD PTR FreeCode[rip], eax
	mov	eax, DWORD PTR IniCodeSize[rip]
	mov	DWORD PTR CurCodeSize[rip], eax
	mov	eax, DWORD PTR IniCodeSize[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	mov	DWORD PTR CurMaxCode[rip], eax
.L40:
	mov	edx, DWORD PTR FreeCode[rip]
	mov	eax, DWORD PTR CurMaxCode[rip]
	cmp	edx, eax
	jle	.L41
	mov	eax, DWORD PTR CurCodeSize[rip]
	add	eax, 1
	mov	DWORD PTR CurCodeSize[rip], eax
	mov	eax, DWORD PTR CurCodeSize[rip]
	cmp	eax, 12
	jne	.L42
	mov	DWORD PTR CurMaxCode[rip], 4096
	jmp	.L41
.L42:
	mov	eax, DWORD PTR CurCodeSize[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	mov	DWORD PTR CurMaxCode[rip], eax
.L41:
	mov	eax, DWORD PTR EOFCode[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L46
	jmp	.L44
.L45:
	mov	rax, QWORD PTR cur_accum[rip]
	movzx	eax, al
	mov	edi, eax
	call	char_out
	mov	rax, QWORD PTR cur_accum[rip]
	shr	rax, 8
	mov	QWORD PTR cur_accum[rip], rax
	mov	eax, DWORD PTR cur_bits[rip]
	sub	eax, 8
	mov	DWORD PTR cur_bits[rip], eax
.L44:
	mov	eax, DWORD PTR cur_bits[rip]
	test	eax, eax
	jg	.L45
	mov	eax, 0
	call	char_flush
.L46:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	output, .-output
	.type	char_init, @function
char_init:
.LFB8:
	.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 a_count[rip], 0
	mov	QWORD PTR cur_accum[rip], 0
	mov	DWORD PTR cur_bits[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	char_init, .-char_init
	.type	char_out, @function
char_out:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR a_count[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR a_count[rip], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, accum[rip]
	mov	BYTE PTR [rax+rdx], cl
	mov	eax, DWORD PTR a_count[rip]
	cmp	eax, 253
	jle	.L50
	mov	eax, 0
	call	char_flush
.L50:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	char_out, .-char_out
	.type	char_flush, @function
char_flush:
.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, 16
	mov	eax, DWORD PTR a_count[rip]
	test	eax, eax
	je	.L56
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR a_count[rip]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L54
.L55:
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, accum[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	add	DWORD PTR -4[rbp], 1
.L54:
	mov	eax, DWORD PTR a_count[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L55
	mov	DWORD PTR a_count[rip], 0
	jmp	.L51
.L56:
	nop
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	char_flush, .-char_flush
	.type	put_short, @function
put_short:
.LFB11:
	.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	DWORD PTR -4[rbp], edi
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	mov	rdx, QWORD PTR put_b[rip]
	mov	eax, DWORD PTR -4[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	edi, eax
	call	rdx
	mov	rax, QWORD PTR Nbyte[rip]
	add	rax, 1
	mov	QWORD PTR Nbyte[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	put_short, .-put_short
	.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	"368107.c"
	.text
	.local	HashTab
	.comm	HashTab,20012,4
	.local	CodeTab
	.comm	CodeTab,20012,4
	.local	BitsPixel
	.comm	BitsPixel,4,4
	.local	IniCodeSize
	.comm	IniCodeSize,4,4
	.local	CurCodeSize
	.comm	CurCodeSize,4,4
	.local	CurMaxCode
	.comm	CurMaxCode,4,4
	.local	ClearCode
	.comm	ClearCode,4,4
	.local	EOFCode
	.comm	EOFCode,4,4
	.local	FreeCode
	.comm	FreeCode,4,4
	.local	Nbyte
	.comm	Nbyte,4,4
	.local	put_b
	.comm	put_b,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012GIFencode: incorrect image size: %d x %d\012\000"
	.align	2
.LC1:
	.ascii	"\012GIFencode: wrong number of colors: %d\012\000"
	.text
	.align	2
	.global	GIFencode
	.syntax unified
	.arm
	.fpu softvfp
	.type	GIFencode, %function
GIFencode:
	@ args = 20, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-40]
	cmp	r3, #4096
	bgt	.L2
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-44]
	cmp	r3, #4096
	ble	.L3
.L2:
	ldr	r3, .L35
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r1, .L35+4
	bl	fprintf
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L5
	ldr	r3, [fp, #-48]
	cmp	r3, #256
	ble	.L6
.L5:
	ldr	r3, .L35
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	ldr	r1, .L35+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L4
.L6:
	ldr	r2, .L35+12
	ldr	r3, [fp, #20]
	str	r3, [r2]
	ldr	r3, .L35+16
	mov	r2, #0
	str	r2, [r3]
	bl	char_init
	ldr	r3, .L35+20
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L7
	ldr	r3, .L35+20
	mov	r2, #2
	str	r2, [r3]
.L7:
	ldr	r3, [fp, #-48]
	cmp	r3, #4
	ble	.L8
	ldr	r3, .L35+20
	mov	r2, #3
	str	r2, [r3]
.L8:
	ldr	r3, [fp, #-48]
	cmp	r3, #8
	ble	.L9
	ldr	r3, .L35+20
	mov	r2, #4
	str	r2, [r3]
.L9:
	ldr	r3, [fp, #-48]
	cmp	r3, #16
	ble	.L10
	ldr	r3, .L35+20
	mov	r2, #5
	str	r2, [r3]
.L10:
	ldr	r3, [fp, #-48]
	cmp	r3, #32
	ble	.L11
	ldr	r3, .L35+20
	mov	r2, #6
	str	r2, [r3]
.L11:
	ldr	r3, [fp, #-48]
	cmp	r3, #64
	ble	.L12
	ldr	r3, .L35+20
	mov	r2, #7
	str	r2, [r3]
.L12:
	ldr	r3, [fp, #-48]
	cmp	r3, #128
	ble	.L13
	ldr	r3, .L35+20
	mov	r2, #8
	str	r2, [r3]
.L13:
	ldr	r3, .L35+20
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L35+20
	ldr	r3, [r3]
	ldr	r2, .L35+24
	str	r3, [r2]
	ldr	r3, .L35+20
	ldr	r3, [r3]
	cmp	r3, #1
	bgt	.L14
	ldr	r3, .L35+24
	mov	r2, #2
	str	r2, [r3]
.L14:
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #71
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #73
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #70
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #56
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #55
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #97
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r0, [fp, #-40]
	bl	put_short
	ldr	r0, [fp, #-44]
	bl	put_short
	mov	r3, #128
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	orr	r3, r3, #112
	str	r3, [fp, #-12]
	ldr	r3, .L35+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	orr	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	mov	r0, r2
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L15
.L16:
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-52]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r0, r2
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #4]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r0, r2
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #8]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r0, r2
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L15:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L16
	b	.L17
.L18:
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L17:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L18
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #44
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	mov	r0, #0
	bl	put_short
	mov	r0, #0
	bl	put_short
	ldr	r0, [fp, #-40]
	bl	put_short
	ldr	r0, [fp, #-44]
	bl	put_short
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, .L35+24
	ldr	r2, [r2]
	and	r2, r2, #255
	mov	r0, r2
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+24
	str	r3, [r2]
	ldr	r3, .L35+24
	ldr	r3, [r3]
	ldr	r2, .L35+28
	str	r3, [r2]
	ldr	r3, .L35+24
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L35+32
	str	r3, [r2]
	ldr	r3, .L35+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	ldr	r2, .L35+36
	str	r3, [r2]
	ldr	r3, .L35+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+40
	str	r3, [r2]
	ldr	r3, .L35+36
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L35+44
	str	r3, [r2]
	ldr	r3, .L35+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	output
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L19
.L31:
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #12]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-28]
	blx	r3
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, r3
	ldr	r3, [fp, #12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-20]
	b	.L21
.L30:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, r3
	ldr	r3, [fp, #12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #12
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-20]
	eor	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r2, .L35+48
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L22
	ldr	r2, .L35+52
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L21
.L22:
	ldr	r2, .L35+48
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	blt	.L32
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #4992
	add	r3, r3, #11
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L33
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L28
.L33:
	nop
.L25:
.L28:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L26
	ldr	r3, [fp, #-36]
	add	r3, r3, #4992
	add	r3, r3, #11
	str	r3, [fp, #-36]
.L26:
	ldr	r2, .L35+48
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L27
	ldr	r2, .L35+52
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L21
.L27:
	ldr	r2, .L35+48
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	ble	.L34
	b	.L28
.L32:
	nop
	b	.L24
.L34:
	nop
.L24:
	ldr	r0, [fp, #-20]
	bl	output
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
	ldr	r3, .L35+44
	ldr	r3, [r3]
	cmp	r3, #4096
	bge	.L29
	ldr	r3, .L35+44
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L35+44
	str	r2, [r1]
	ldr	r1, .L35+52
	ldr	r2, [fp, #-36]
	str	r3, [r1, r2, lsl #2]
	ldr	r1, .L35+48
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	b	.L21
.L29:
	ldr	r3, .L35+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	output
.L21:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L19:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L31
	ldr	r0, [fp, #-20]
	bl	output
	ldr	r3, .L35+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	output
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	mov	r0, #59
	blx	r3
	ldr	r3, .L35+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L35+16
	str	r3, [r2]
	ldr	r3, .L35+16
	ldr	r3, [r3]
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	put_b
	.word	Nbyte
	.word	BitsPixel
	.word	IniCodeSize
	.word	CurCodeSize
	.word	CurMaxCode
	.word	ClearCode
	.word	EOFCode
	.word	FreeCode
	.word	HashTab
	.word	CodeTab
	.size	GIFencode, .-GIFencode
	.local	cur_accum
	.comm	cur_accum,4,4
	.local	cur_bits
	.comm	cur_bits,4,4
	.local	a_count
	.comm	a_count,4,4
	.local	accum
	.comm	accum,256,4
	.data
	.align	2
	.type	masks, %object
	.size	masks, 68
masks:
	.word	0
	.word	1
	.word	3
	.word	7
	.word	15
	.word	31
	.word	63
	.word	127
	.word	255
	.word	511
	.word	1023
	.word	2047
	.word	4095
	.word	8191
	.word	16383
	.word	32767
	.word	65535
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, .L49+4
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L49+8
	ldr	r3, [r3]
	and	r3, r3, r2
	ldr	r2, .L49+8
	str	r3, [r2]
	ldr	r3, .L49
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L38
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, .L49+8
	ldr	r3, [r3]
	orr	r3, r2, r3
	ldr	r2, .L49+8
	str	r3, [r2]
	b	.L39
.L38:
	ldr	r3, [fp, #-8]
	ldr	r2, .L49+8
	str	r3, [r2]
.L39:
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, .L49+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L49
	str	r3, [r2]
	b	.L40
.L41:
	ldr	r3, .L49+8
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	char_out
	ldr	r3, .L49+8
	ldr	r3, [r3]
	lsr	r3, r3, #8
	ldr	r2, .L49+8
	str	r3, [r2]
	ldr	r3, .L49
	ldr	r3, [r3]
	sub	r3, r3, #8
	ldr	r2, .L49
	str	r3, [r2]
.L40:
	ldr	r3, .L49
	ldr	r3, [r3]
	cmp	r3, #7
	bgt	.L41
	ldr	r3, .L49+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L42
	ldr	r2, .L49+20
	mvn	r1, #0
	ldr	r0, .L49+24
	bl	memset
	ldr	r3, .L49+16
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L49+28
	str	r3, [r2]
	ldr	r3, .L49+32
	ldr	r3, [r3]
	ldr	r2, .L49+12
	str	r3, [r2]
	ldr	r3, .L49+32
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L49+36
	str	r3, [r2]
.L42:
	ldr	r3, .L49+28
	ldr	r2, [r3]
	ldr	r3, .L49+36
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L43
	ldr	r3, .L49+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L49+12
	str	r3, [r2]
	ldr	r3, .L49+12
	ldr	r3, [r3]
	cmp	r3, #12
	bne	.L44
	ldr	r3, .L49+36
	mov	r2, #4096
	str	r2, [r3]
	b	.L43
.L44:
	ldr	r3, .L49+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L49+36
	str	r3, [r2]
.L43:
	ldr	r3, .L49+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L48
	b	.L46
.L47:
	ldr	r3, .L49+8
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	char_out
	ldr	r3, .L49+8
	ldr	r3, [r3]
	lsr	r3, r3, #8
	ldr	r2, .L49+8
	str	r3, [r2]
	ldr	r3, .L49
	ldr	r3, [r3]
	sub	r3, r3, #8
	ldr	r2, .L49
	str	r3, [r2]
.L46:
	ldr	r3, .L49
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L47
	bl	char_flush
.L48:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	cur_bits
	.word	masks
	.word	cur_accum
	.word	CurCodeSize
	.word	ClearCode
	.word	20012
	.word	HashTab
	.word	FreeCode
	.word	IniCodeSize
	.word	CurMaxCode
	.word	EOFCode
	.size	output, .-output
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	char_init, %function
char_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L52
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L52+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L52+8
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L53:
	.align	2
.L52:
	.word	a_count
	.word	cur_accum
	.word	cur_bits
	.size	char_init, .-char_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	char_out, %function
char_out:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L57
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L57
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L57+4
	strb	r1, [r2, r3]
	ldr	r3, .L57
	ldr	r3, [r3]
	cmp	r3, #253
	ble	.L56
	bl	char_flush
.L56:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	a_count
	.word	accum
	.size	char_out, .-char_out
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	char_flush, %function
char_flush:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L65
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L65+4
	ldr	r3, [r3]
	ldr	r2, .L65
	ldr	r2, [r2]
	and	r2, r2, #255
	mov	r0, r2
	blx	r3
	ldr	r3, .L65+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L65+8
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L62
.L63:
	ldr	r3, .L65+4
	ldr	r3, [r3]
	ldr	r1, .L65+12
	ldr	r2, [fp, #-8]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r0, r2
	blx	r3
	ldr	r3, .L65+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L65+8
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L62:
	ldr	r3, .L65
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L63
	ldr	r3, .L65
	mov	r2, #0
	str	r2, [r3]
	b	.L59
.L64:
	nop
.L59:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	a_count
	.word	put_b
	.word	Nbyte
	.word	accum
	.size	char_flush, .-char_flush
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	put_short, %function
put_short:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L68
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	mov	r0, r2
	blx	r3
	ldr	r3, .L68+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L68+4
	str	r3, [r2]
	ldr	r3, .L68
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	asr	r2, r2, #8
	and	r2, r2, #255
	mov	r0, r2
	blx	r3
	ldr	r3, .L68+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L68+4
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	put_b
	.word	Nbyte
	.size	put_short, .-put_short
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
