	.file	"537854.c"
	.intel_syntax noprefix
	.text
	.globl	input_file
	.bss
	.align 8
	.type	input_file, @object
	.size	input_file, 8
input_file:
	.zero	8
	.globl	output_file
	.align 8
	.type	output_file, @object
	.size	output_file, 8
output_file:
	.zero	8
	.globl	read_bitcounter
	.align 4
	.type	read_bitcounter, @object
	.size	read_bitcounter, 4
read_bitcounter:
	.zero	4
	.globl	read_buffer
	.align 4
	.type	read_buffer, @object
	.size	read_buffer, 4
read_buffer:
	.zero	4
	.globl	write_bitcounter
	.align 4
	.type	write_bitcounter, @object
	.size	write_bitcounter, 4
write_bitcounter:
	.zero	4
	.globl	write_buffer
	.align 4
	.type	write_buffer, @object
	.size	write_buffer, 4
write_buffer:
	.zero	4
	.text
	.type	read_bit, @function
read_bit:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR read_bitcounter[rip]
	test	eax, eax
	jne	.L2
	mov	DWORD PTR read_bitcounter[rip], 8
	mov	rax, QWORD PTR input_file[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR read_buffer[rip], eax
.L2:
	mov	eax, DWORD PTR read_bitcounter[rip]
	sub	eax, 1
	mov	DWORD PTR read_bitcounter[rip], eax
	mov	edx, DWORD PTR read_buffer[rip]
	mov	eax, DWORD PTR read_bitcounter[rip]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_bit, .-read_bit
	.type	write_bit, @function
write_bit:
.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 write_bitcounter[rip]
	sub	eax, 1
	mov	DWORD PTR write_bitcounter[rip], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L5
	mov	eax, DWORD PTR write_bitcounter[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, DWORD PTR write_buffer[rip]
	or	eax, edx
	mov	DWORD PTR write_buffer[rip], eax
.L5:
	mov	eax, DWORD PTR write_bitcounter[rip]
	test	eax, eax
	jne	.L7
	mov	rdx, QWORD PTR output_file[rip]
	mov	eax, DWORD PTR write_buffer[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	DWORD PTR write_bitcounter[rip], 8
	mov	DWORD PTR write_buffer[rip], 0
.L7:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	write_bit, .-write_bit
	.type	read_int, @function
read_int:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L10:
	mov	eax, 0
	call	read_bit
	test	eax, eax
	je	.L9
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	or	DWORD PTR -4[rbp], eax
.L9:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -20[rbp], edx
	test	eax, eax
	jg	.L10
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_int, .-read_int
	.type	write_zeros, @function
write_zeros:
.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
	jmp	.L13
.L14:
	mov	edi, 0
	call	write_bit
.L13:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -4[rbp], edx
	test	eax, eax
	jg	.L14
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	write_zeros, .-write_zeros
	.section	.rodata
	.align 8
.LC0:
	.string	"Missing ICECOMPR magic. Abort!\n"
	.text
	.globl	ice_uncompress
	.type	ice_uncompress, @function
ice_uncompress:
.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	DWORD PTR read_bitcounter[rip], 0
	mov	DWORD PTR read_buffer[rip], 0
	mov	DWORD PTR write_bitcounter[rip], 8
	mov	DWORD PTR write_buffer[rip], 0
	mov	edi, 32
	call	read_int
	cmp	eax, 1229145411
	sete	al
	movzx	eax, al
	mov	DWORD PTR -8[rbp], eax
	mov	edi, 32
	call	read_int
	cmp	eax, 1330466898
	sete	al
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	je	.L16
	cmp	DWORD PTR -4[rbp], 0
	jne	.L17
.L16:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L18
.L17:
	mov	eax, 0
	call	read_bit
	test	eax, eax
	je	.L19
	mov	edi, 2
	call	read_int
	mov	edi, eax
	call	write_zeros
	mov	edi, 1
	call	write_bit
	jmp	.L17
.L19:
	mov	eax, 0
	call	read_bit
	test	eax, eax
	je	.L21
	mov	edi, 5
	call	read_int
	mov	edi, eax
	call	write_zeros
	mov	edi, 1
	call	write_bit
	jmp	.L17
.L21:
	mov	eax, 0
	call	read_bit
	test	eax, eax
	je	.L22
	mov	edi, 8
	call	read_int
	mov	edi, eax
	call	write_zeros
	mov	edi, 1
	call	write_bit
	jmp	.L17
.L22:
	mov	eax, 0
	call	read_bit
	test	eax, eax
	je	.L23
	mov	edi, 6
	call	read_int
	mov	DWORD PTR -12[rbp], eax
	jmp	.L24
.L25:
	mov	eax, 0
	call	read_bit
	mov	edi, eax
	call	write_bit
.L24:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -12[rbp], edx
	test	eax, eax
	jne	.L25
	mov	edi, 1
	call	write_bit
	jmp	.L17
.L23:
	mov	eax, 0
	call	read_bit
	test	eax, eax
	je	.L26
	mov	edi, 23
	call	read_int
	mov	edi, eax
	call	write_zeros
	mov	edi, 1
	call	write_bit
	jmp	.L17
.L26:
	mov	edi, 23
	call	read_int
	mov	edi, eax
	call	write_zeros
	nop
	mov	eax, 0
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ice_uncompress, .-ice_uncompress
	.section	.rodata
	.align 8
.LC1:
	.string	"Usage: iceuncompr [input-file [output-file]]"
	.text
	.globl	help
	.type	help, @function
help:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	help, .-help
	.section	.rodata
.LC2:
	.string	"v"
.LC3:
	.string	"rb"
	.align 8
.LC4:
	.string	"Failed to open input file `%s': %s\n"
.LC5:
	.string	"wb"
	.align 8
.LC6:
	.string	"Failed to open output file `%s': %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR input_file[rip], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR output_file[rip], rax
	jmp	.L30
.L32:
	cmp	DWORD PTR -4[rbp], 118
	jne	.L31
	jmp	.L30
.L31:
	mov	eax, 0
	call	help
.L30:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC2[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L32
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L33
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR input_file[rip], rax
	mov	rax, QWORD PTR input_file[rip]
	test	rax, rax
	jne	.L34
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L35
.L34:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L33:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L36
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR output_file[rip], rax
	mov	rax, QWORD PTR output_file[rip]
	test	rax, rax
	jne	.L37
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L35
.L37:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L36:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	je	.L38
	mov	eax, 0
	call	help
.L38:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	je	.L39
	mov	eax, 0
	call	help
.L39:
	mov	eax, 0
	call	ice_uncompress
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"537854.c"
	.text
	.comm	input_file,4,4
	.comm	output_file,4,4
	.comm	read_bitcounter,4,4
	.comm	read_buffer,4,4
	.comm	write_bitcounter,4,4
	.comm	write_buffer,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_bit, %function
read_bit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	ldr	r2, .L4+8
	str	r3, [r2]
.L2:
	ldr	r3, .L4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2]
	ldr	r3, .L4+8
	ldr	r2, [r3]
	ldr	r3, .L4
	ldr	r3, [r3]
	asr	r3, r2, r3
	and	r3, r3, #1
	mov	r0, r3
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	read_bitcounter
	.word	input_file
	.word	read_buffer
	.size	read_bit, .-read_bit
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_bit, %function
write_bit:
	@ 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, .L10
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L10
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r2, r2, r3
	ldr	r3, .L10+4
	ldr	r3, [r3]
	orr	r3, r2, r3
	ldr	r2, .L10+4
	str	r3, [r2]
.L7:
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputc
	ldr	r3, .L10
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L10+4
	mov	r2, #0
	str	r2, [r3]
.L9:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	write_bitcounter
	.word	write_buffer
	.word	output_file
	.size	write_bit, .-write_bit
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_int, %function
read_int:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L13
.L14:
	bl	read_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	mov	r2, #1
	ldr	r3, [fp, #-16]
	lsl	r3, r2, r3
	ldr	r2, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	cmp	r3, #0
	bgt	.L14
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	read_int, .-read_int
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_zeros, %function
write_zeros:
	@ 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]
	b	.L17
.L18:
	mov	r0, #0
	bl	write_bit
.L17:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	str	r2, [fp, #-8]
	cmp	r3, #0
	bgt	.L18
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	write_zeros, .-write_zeros
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Missing ICECOMPR magic. Abort!\012\000"
	.text
	.align	2
	.global	ice_uncompress
	.syntax unified
	.arm
	.fpu softvfp
	.type	ice_uncompress, %function
ice_uncompress:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+8
	mov	r2, #8
	str	r2, [r3]
	ldr	r3, .L32+12
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #32
	bl	read_int
	mov	r3, r0
	ldr	r2, .L32+16
	cmp	r3, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	mov	r0, #32
	bl	read_int
	mov	r3, r0
	ldr	r2, .L32+20
	cmp	r3, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L21
.L20:
	ldr	r3, .L32+24
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L32+28
	bl	fwrite
	mov	r3, #1
	b	.L22
.L21:
	bl	read_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	mov	r0, #2
	bl	read_int
	mov	r3, r0
	mov	r0, r3
	bl	write_zeros
	mov	r0, #1
	bl	write_bit
	b	.L21
.L23:
	bl	read_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	mov	r0, #5
	bl	read_int
	mov	r3, r0
	mov	r0, r3
	bl	write_zeros
	mov	r0, #1
	bl	write_bit
	b	.L21
.L25:
	bl	read_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	mov	r0, #8
	bl	read_int
	mov	r3, r0
	mov	r0, r3
	bl	write_zeros
	mov	r0, #1
	bl	write_bit
	b	.L21
.L26:
	bl	read_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	mov	r0, #6
	bl	read_int
	str	r0, [fp, #-16]
	b	.L28
.L29:
	bl	read_bit
	mov	r3, r0
	mov	r0, r3
	bl	write_bit
.L28:
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	cmp	r3, #0
	bne	.L29
	mov	r0, #1
	bl	write_bit
	b	.L21
.L27:
	bl	read_bit
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	mov	r0, #23
	bl	read_int
	mov	r3, r0
	mov	r0, r3
	bl	write_zeros
	mov	r0, #1
	bl	write_bit
	b	.L21
.L30:
	mov	r0, #23
	bl	read_int
	mov	r3, r0
	mov	r0, r3
	bl	write_zeros
	nop
	mov	r3, #0
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	read_bitcounter
	.word	read_buffer
	.word	write_bitcounter
	.word	write_buffer
	.word	1229145411
	.word	1330466898
	.word	stderr
	.word	.LC0
	.size	ice_uncompress, .-ice_uncompress
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: iceuncompr [input-file [output-file]]\000"
	.text
	.align	2
	.global	help
	.syntax unified
	.arm
	.fpu softvfp
	.type	help, %function
help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #10
	bl	putchar
	ldr	r0, .L35
	bl	puts
	mov	r0, #10
	bl	putchar
	mov	r0, #1
	bl	exit
.L36:
	.align	2
.L35:
	.word	.LC1
	.size	help, .-help
	.section	.rodata
	.align	2
.LC2:
	.ascii	"v\000"
	.align	2
.LC3:
	.ascii	"rb\000"
	.align	2
.LC4:
	.ascii	"Failed to open input file `%s': %s\012\000"
	.align	2
.LC5:
	.ascii	"wb\000"
	.align	2
.LC6:
	.ascii	"Failed to open output file `%s': %s\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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, .L48+4
	str	r3, [r2]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	ldr	r2, .L48+12
	str	r3, [r2]
	b	.L38
.L40:
	ldr	r3, [fp, #-16]
	cmp	r3, #118
	bne	.L39
	b	.L38
.L39:
	bl	help
.L38:
	ldr	r2, .L48+16
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L40
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L41
	ldr	r3, .L48+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L48+24
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L48+4
	str	r3, [r2]
	ldr	r3, .L48+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L48+28
	ldr	r4, [r3]
	ldr	r3, .L48+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L48+32
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L43
.L42:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48+20
	str	r3, [r2]
.L41:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L44
	ldr	r3, .L48+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L48+36
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L48+12
	str	r3, [r2]
	ldr	r3, .L48+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L48+28
	ldr	r4, [r3]
	ldr	r3, .L48+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L48+40
	mov	r0, r4
	bl	fprintf
	mov	r3, #1
	b	.L43
.L45:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48+20
	str	r3, [r2]
.L44:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L46
	bl	help
.L46:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L47
	bl	help
.L47:
	bl	ice_uncompress
	mov	r3, r0
.L43:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L49:
	.align	2
.L48:
	.word	stdin
	.word	input_file
	.word	stdout
	.word	output_file
	.word	.LC2
	.word	optind
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
