// File: /workspace/github_c_makefile_star2_O1/lmcilroy[P]lzm/lzm.c
// Function: process_data
static unsigned int
process_data(const int fd_in, const int fd_out,
    struct compress_args * const args)
{
	int ret;

	if (args->compress == true && args->test == false)
		ret = compress_fd(fd_in, fd_out, args);
	else
		ret = decompress_fd(fd_in, fd_out, args);

	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r12
movl %esi, 0xc(%rsp)
movl %edi, %r14d
cmpl $0x1, 0x1010(%rdx)
movq %rdx, (%rsp)
jne 0x3abe
cmpl $0x0, 0x1038(%r12)
je 0x3de5
xorl %eax, %eax
movq %rax, 0x38(%rsp)
movq %rax, 0x20(%rsp)
movq %rax, 0x30(%rsp)
leaq 0x44(%rsp), %rbx
movl $0x4, %ebp
xorl %r15d, %r15d
movl %ebp, %edx
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1160
testl %eax, %eax
js 0x3b05
testl %eax, %eax
setne %cl
je 0x3b0f
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %ebp
jne 0x3adc
jmp 0x3b0d
callq 0x1050
movl (%rax), %r15d
movb $0x1, %cl
testl %r15d, %r15d
jne 0x40bb
testb %cl, %cl
je 0x40c8
cmpl $0x314d5a4c, 0x44(%rsp) # imm = 0x314D5A4C
jne 0x40de
leaq 0x1014(%r12), %r13
movl $0x4, %ebp
movq %r13, %rbx
xorl %r15d, %r15d
movl %ebp, %edx
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1160
testl %eax, %eax
js 0x3b6a
testl %eax, %eax
setne %cl
je 0x3b74
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %ebp
jne 0x3b41
jmp 0x3b72
callq 0x1050
movl (%rax), %r15d
movb $0x1, %cl
testl %r15d, %r15d
jne 0x40ee
testb %cl, %cl
je 0x40fb
addq $0x101c, %r12           # imm = 0x101C
movl $0x4, %ebx
movq %r12, 0x10(%rsp)
xorl %r15d, %r15d
movl %ebx, %edx
movl %r14d, %edi
movq %r12, %rsi
callq 0x1160
testl %eax, %eax
js 0x3bc2
testl %eax, %eax
setne %cl
je 0x3bcc
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r12
subl %eax, %ebx
jne 0x3b99
jmp 0x3bca
callq 0x1050
movl (%rax), %r15d
movb $0x1, %cl
testl %r15d, %r15d
movq (%rsp), %rbx
jne 0x4111
testb %cl, %cl
je 0x411e
movq 0x10(%rsp), %rax
movl (%rax), %edx
testq %rdx, %rdx
je 0x4134
movq 0x5650(%rip), %rsi      # 0x9248
leaq 0x20(%rsp), %rdi
callq 0x1250
testl %eax, %eax
jne 0x4144
movq 0x5637(%rip), %rsi      # 0x9248
movq 0x10(%rsp), %rax
movl (%rax), %edx
leaq 0x30(%rsp), %rdi
callq 0x1250
testl %eax, %eax
jne 0x4153
movl (%r13), %esi
leaq 0x38(%rsp), %rdi
callq 0x50a4
testl %eax, %eax
jne 0x4168
movl $0xc, %r12d
xorl %r13d, %r13d
movl $0x4, %ebx
leaq 0x1c(%rsp), %r15
movl %ebx, %edx
movl %r14d, %edi
movq %r15, %rsi
callq 0x1160
testl %eax, %eax
js 0x3c81
je 0x3c75
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebx
jne 0x3c53
movl $0x4, %eax
subl %ebx, %eax
xorl %r15d, %r15d
jmp 0x3c8e
callq 0x1050
movl (%rax), %r15d
movl $0x4, %eax
testl %r15d, %r15d
jne 0x4207
cmpl $0x4, %eax
jne 0x3dd5
movq 0x10(%rsp), %rax
movl (%rax), %eax
movb $0x1, %bl
testl %eax, %eax
movq %r13, 0x28(%rsp)
js 0x3cc6
movl 0x1c(%rsp), %ecx
testl %ecx, %ecx
jns 0x3cc6
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl %ecx, 0x1c(%rsp)
xorl %ebx, %ebx
addq $0x4, %r12
movl 0x1c(%rsp), %r13d
cmpl %eax, %r13d
ja 0x422c
movl %r13d, %ebp
testl %r13d, %r13d
je 0x3d0a
movq 0x20(%rsp), %r15
movl %r13d, %ebp
movl %ebp, %edx
movl %r14d, %edi
movq %r15, %rsi
callq 0x1160
testl %eax, %eax
js 0x3d14
je 0x3d0a
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebp
jne 0x3ce8
movl %r13d, %eax
subl %ebp, %eax
xorl %r15d, %r15d
jmp 0x3d1f
callq 0x1050
movl (%rax), %r15d
movl %r13d, %eax
testl %r15d, %r15d
jne 0x4240
cmpl %r13d, %eax
jne 0x4251
movq 0x10(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x8(%rsp)
leaq 0x20(%rsp), %rax
testb %bl, %bl
je 0x3d72
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x30(%rsp), %rcx
movl %r13d, %edx
leaq 0x8(%rsp), %r8
callq 0x2768
movl %eax, %r15d
leaq 0x30(%rsp), %rax
testl %r15d, %r15d
jne 0x429e
movq (%rsp), %rcx
cmpl $0x0, 0x1038(%rcx)
jne 0x3dc1
movl 0x8(%rsp), %ebp
xorl %r15d, %r15d
testl %ebp, %ebp
je 0x3db8
movq (%rax), %rbx
movl %ebp, %edx
movl 0xc(%rsp), %edi
movq %rbx, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3db0
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %ebp
jne 0x3d8d
jmp 0x3db8
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x43de
addq %r13, %r12
movl 0x8(%rsp), %eax
movq 0x28(%rsp), %r13
addq %rax, %r13
jmp 0x3c49
testl %eax, %eax
jne 0x4218
movl %eax, %r15d
jmp 0x417e
xorl %eax, %eax
movq %rax, 0x38(%rsp)
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
movq %rax, 0x30(%rsp)
movq 0x5448(%rip), %rsi      # 0x9248
movq %r12, %rax
addq $0x101c, %r12           # imm = 0x101C
movl 0x101c(%rax), %edx
callq 0x1250
testl %eax, %eax
jne 0x4265
movq 0x5424(%rip), %rsi      # 0x9248
movl (%r12), %edx
leaq 0x30(%rsp), %rdi
callq 0x1250
testl %eax, %eax
jne 0x4276
movq (%rsp), %r13
movl 0x1014(%r13), %esi
movl 0x1018(%r13), %edx
leaq 0x38(%rsp), %rdi
callq 0x4bb6
testl %eax, %eax
jne 0x428d
leaq 0x1014(%r13), %rbx
leaq 0x44(%rsp), %r15
movl $0x314d5a4c, (%r15)     # imm = 0x314D5A4C
movl $0x4, %ebp
movl %ebp, %edx
movl 0xc(%rsp), %edi
movq %r15, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3e9c
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebp
jne 0x3e76
xorl %r15d, %r15d
jmp 0x3ea4
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x42af
movl $0x4, %ebp
movl %ebp, %edx
movl 0xc(%rsp), %edi
movq %rbx, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3ed8
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %ebp
jne 0x3eb2
xorl %r15d, %r15d
jmp 0x3ee0
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x4362
movl $0x4, %ebp
movq %r12, %rbx
movl %ebp, %edx
movl 0xc(%rsp), %edi
movq %rbx, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3f17
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %ebp
jne 0x3ef1
xorl %r15d, %r15d
jmp 0x3f1f
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x43a0
movl $0xc, %eax
movq %rax, 0x10(%rsp)
xorl %ebp, %ebp
movq %r12, 0x28(%rsp)
movl (%r12), %r13d
movl %r13d, %r15d
testl %r13d, %r13d
je 0x3f71
movq 0x20(%rsp), %rbx
movl %r13d, %r15d
movl %r15d, %edx
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1160
testl %eax, %eax
js 0x3f79
je 0x3f71
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %r15d
jne 0x3f4d
subl %r15d, %r13d
xorl %r15d, %r15d
jmp 0x3f81
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x4419
testl %r13d, %r13d
je 0x40aa
movl (%r12), %eax
movl %eax, 0x8(%rsp)
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl %r13d, %edx
movq %rbx, %rcx
leaq 0x8(%rsp), %r8
callq 0x4d0a
movl %eax, %r15d
xorl %eax, %eax
cmpl $0x4b, %r15d
jne 0x3fe3
cmpl $0x0, (%r12)
js 0x3fe8
movq %rbp, %r12
movl %r13d, 0x8(%rsp)
xorl %r15d, %r15d
movl $0x80000000, %eax       # imm = 0x80000000
movq 0x20(%rsp), %rbx
jmp 0x3ff1
movq %rbp, %r12
jmp 0x3ff1
movq %rbp, %r12
movl $0x4b, %r15d
testl %r15d, %r15d
jne 0x442d
orl 0x8(%rsp), %eax
movl %eax, 0x1c(%rsp)
movl $0x4, %ebp
leaq 0x1c(%rsp), %r15
movl %ebp, %edx
movl 0xc(%rsp), %edi
movq %r15, %rsi
callq 0x10b0
testl %eax, %eax
js 0x4032
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebp
jne 0x400c
xorl %r15d, %r15d
jmp 0x403a
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x443e
movl 0x8(%rsp), %ebp
xorl %r15d, %r15d
testl %ebp, %ebp
je 0x4079
movl %ebp, %edx
movl 0xc(%rsp), %edi
movq %rbx, %rsi
callq 0x10b0
testl %eax, %eax
js 0x4071
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %ebp
jne 0x404e
jmp 0x4079
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
movq %r12, %rbp
jne 0x4477
movl %r13d, %eax
addq %rax, %rbp
movl 0x8(%rsp), %eax
movq 0x10(%rsp), %rcx
addq %rax, %rcx
addq $0x4, %rcx
movq %rcx, 0x10(%rsp)
movq 0x28(%rsp), %r12
jmp 0x3f39
xorl %r15d, %r15d
movq (%rsp), %r13
movq 0x10(%rsp), %r14
jmp 0x42e5
movq %r12, %rdi
movl %r15d, %esi
callq 0x14f0
jmp 0x40d6
movq %r12, %rdi
callq 0x1527
movl $0x5, %r15d
xorl %r12d, %r12d
jmp 0x417b
movq %r12, %rdi
callq 0x1546
movl $0x16, %r15d
jmp 0x4109
movq %r12, %rdi
movl %r15d, %esi
callq 0x1565
jmp 0x4109
movq %r12, %rdi
callq 0x159c
movl $0x5, %r15d
movl $0x4, %r12d
jmp 0x417b
movq %rbx, %rdi
movl %r15d, %esi
callq 0x15bb
jmp 0x412c
movq %rbx, %rdi
callq 0x15f2
movl $0x5, %r15d
movl $0x8, %r12d
jmp 0x417b
movq %rbx, %rdi
callq 0x17d4
movl $0x16, %r15d
jmp 0x4175
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0x1611
jmp 0x4160
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0x164b
movl $0xc, %r15d
jmp 0x4175
movl %eax, %r15d
movq %rbx, %rdi
movl %eax, %esi
callq 0x1685
movl $0xc, %r12d
xorl %r13d, %r13d
movq 0x38(%rsp), %rdi
callq 0x50ae
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x4197
callq 0x1030
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x41a6
callq 0x1030
cmpl $0x1, 0xc(%rsp)
je 0x41f5
testl %r15d, %r15d
jne 0x41f5
movq (%rsp), %rax
cmpl $0x1, 0x1034(%rax)
jne 0x41f5
cvtsi2ss %r13, %xmm0
cvtsi2ss %r12, %xmm1
divss %xmm1, %xmm0
mulss 0x1e83(%rip), %xmm0     # 0x6058
movq (%rsp), %rsi
addq $0x10, %rsi
cvtss2sd %xmm0, %xmm0
leaq 0x2120(%rip), %rdi      # 0x6308
movq %r12, %rdx
movq %r13, %rcx
movb $0x1, %al
callq 0x10f0
movl %r15d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %rdi
movl %r15d, %esi
callq 0x16bd
jmp 0x417e
movq (%rsp), %rdi
callq 0x17af
movl $0x5, %r15d
jmp 0x417e
movq (%rsp), %rdi
callq 0x178a
movl $0x16, %r15d
jmp 0x440f
movq (%rsp), %rdi
movl %r15d, %esi
callq 0x16f5
jmp 0x440f
movq (%rsp), %rdi
callq 0x172d
movl $0x5, %r15d
jmp 0x440f
movq (%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x17f3
jmp 0x4285
movq (%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x182d
movl $0xc, %r15d
jmp 0x429a
movl %eax, %r15d
movq %r13, %rdi
movl %eax, %esi
callq 0x1867
xorl %ebp, %ebp
jmp 0x42e2
movq (%rsp), %rdi
movl %r15d, %esi
callq 0x1752
jmp 0x440f
movq 0x4d42(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
movq (%rsp), %r13
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1ee6(%rip), %rsi      # 0x61b6
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
xorl %r14d, %r14d
movq 0x38(%rsp), %rdi
callq 0x4cda
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x42fe
callq 0x1030
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x430d
callq 0x1030
cmpl $0x1, 0xc(%rsp)
je 0x41f5
testl %r15d, %r15d
jne 0x41f5
cmpl $0x1, 0x1034(%r13)
jne 0x41f5
cvtsi2ss %r14, %xmm0
cvtsi2ss %rbp, %xmm1
divss %xmm1, %xmm0
mulss 0x1d13(%rip), %xmm0     # 0x6058
addq $0x10, %r13
cvtss2sd %xmm0, %xmm0
leaq 0x1ecb(%rip), %rdi      # 0x621f
movq %r13, %rsi
movq %rbp, %rdx
movq %r14, %rcx
jmp 0x41ee
movq 0x4c8f(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
movq (%rsp), %r13
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1e33(%rip), %rsi      # 0x61b6
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movl $0x4, %r14d
jmp 0x42e5
movq 0x4c51(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
movq (%rsp), %r13
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1df5(%rip), %rsi      # 0x61b6
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movl $0x8, %r14d
jmp 0x42e5
movq 0x4c13(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
movq (%rsp), %rax
leaq 0x10(%rax), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1db7(%rip), %rsi      # 0x61b6
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movq 0x28(%rsp), %r13
jmp 0x417e
movq (%rsp), %r13
movq %r13, %rdi
movl %r15d, %esi
callq 0x189f
jmp 0x40b1
movq (%rsp), %r13
movq %r13, %rdi
movl %r15d, %esi
callq 0x18d7
jmp 0x446f
movq 0x4bb3(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
movq (%rsp), %r13
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1d57(%rip), %rsi      # 0x61b6
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movq %r12, %rbp
jmp 0x40b1
movq 0x4b7a(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
movq (%rsp), %r13
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1d1e(%rip), %rsi      # 0x61b6
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
jmp 0x40b1