// File: /workspace/github_c_makefile_star2_O3/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 $0x58, %rsp
movq %rdx, %r13
movl %esi, %ebp
movl %edi, %r14d
cmpl $0x1, 0x1010(%rdx)
jne 0x3b0d
cmpl $0x0, 0x1038(%r13)
je 0x3e45
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movq %rax, 0x38(%rsp)
movq %rax, 0x40(%rsp)
leaq 0x54(%rsp), %rbx
movl $0x4, %r15d
movl %r15d, %edx
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1160
testl %eax, %eax
js 0x3b53
je 0x4199
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %r15d
jne 0x3b29
jmp 0x3b64
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x41a9
cmpl $0x314d5a4c, 0x54(%rsp) # imm = 0x314D5A4C
jne 0x4113
leaq 0x1014(%r13), %r12
movl $0x4, %r15d
movq %r12, %rbx
movl %r15d, %edx
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1160
testl %eax, %eax
js 0x3bac
je 0x41b9
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %r15d
jne 0x3b82
jmp 0x3bbd
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x41c9
leaq 0x101c(%r13), %r15
movl $0x4, %ebx
movq %r15, 0x30(%rsp)
movl %ebx, %edx
movl %r14d, %edi
movq %r15, %rsi
callq 0x1160
testl %eax, %eax
js 0x3bf6
je 0x41dc
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebx
jne 0x3bce
jmp 0x3c07
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x41ec
movq 0x30(%rsp), %rax
movl (%rax), %edx
testq %rdx, %rdx
je 0x4126
movq 0x562a(%rip), %rsi      # 0x9248
leaq 0x38(%rsp), %rdi
callq 0x1250
testl %eax, %eax
jne 0x4136
movq 0x5611(%rip), %rsi      # 0x9248
movq 0x30(%rsp), %rax
movl (%rax), %edx
leaq 0x40(%rsp), %rdi
callq 0x1250
testl %eax, %eax
jne 0x4145
movl (%r12), %esi
leaq 0x48(%rsp), %rdi
callq 0x5078
testl %eax, %eax
jne 0x4171
movl $0xc, %r12d
movq $0x0, 0x10(%rsp)
leaq 0x24(%rsp), %r15
movq %r13, 0x28(%rsp)
movl $0x4, %ebx
movl %ebx, %edx
movl %r14d, %edi
movq %r15, %rsi
callq 0x1160
testl %eax, %eax
js 0x3cac
je 0x3e2f
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebx
jne 0x3c84
jmp 0x3cbd
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x4451
movq %r12, 0x18(%rsp)
movq 0x30(%rsp), %rax
movl (%rax), %eax
testl %eax, %eax
sets %cl
movl 0x24(%rsp), %r12d
testl %r12d, %r12d
setns %bl
orb %cl, %bl
jne 0x3ce9
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movl %r12d, 0x24(%rsp)
addq $0x4, 0x18(%rsp)
cmpl %eax, %r12d
ja 0x43d8
testl %r12d, %r12d
je 0x3d39
movq 0x38(%rsp), %r15
movl %r12d, %r13d
movl %r13d, %edx
movl %r14d, %edi
movq %r15, %rsi
callq 0x1160
testl %eax, %eax
js 0x3d45
je 0x3d2c
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %r13d
jne 0x3d05
xorl %r13d, %r13d
movl %r12d, %eax
subl %r13d, %eax
movq 0x28(%rsp), %r13
jmp 0x3d3b
xorl %eax, %eax
cmpl %r12d, %eax
je 0x3d5b
jmp 0x442c
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
movq 0x28(%rsp), %r13
jne 0x44a5
movq 0x30(%rsp), %rax
movl (%rax), %eax
movl %eax, 0xc(%rsp)
leaq 0x38(%rsp), %rax
testb %bl, %bl
je 0x3d9c
movq 0x48(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rcx
movl %r12d, %edx
leaq 0xc(%rsp), %r8
callq 0x27af
movl %eax, %r15d
leaq 0x40(%rsp), %rax
testl %r15d, %r15d
jne 0x4498
cmpl $0x0, 0x1038(%r13)
je 0x3dc4
movl %r12d, %eax
movq 0x18(%rsp), %r12
addq %rax, %r12
movl 0xc(%rsp), %eax
addq %rax, 0x10(%rsp)
leaq 0x24(%rsp), %r15
jmp 0x3c7f
movl 0xc(%rsp), %ebx
testl %ebx, %ebx
je 0x3da6
movq (%rax), %r15
movl %ebx, %edx
movl %ebp, %edi
movq %r15, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3df0
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebx
jne 0x3dcf
jmp 0x3da6
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
je 0x3da6
movq 0x51f4(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x23a4(%rip), %rsi      # 0x61be
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
jmp 0x44b0
xorl %r15d, %r15d
cmpl $0x4, %ebx
jne 0x4186
movq 0x10(%rsp), %rbx
jmp 0x41ff
xorl %eax, %eax
movq %rax, 0x48(%rsp)
leaq 0x38(%rsp), %rdi
movq %rax, (%rdi)
movq %rax, 0x40(%rsp)
movq 0x53e8(%rip), %rsi      # 0x9248
leaq 0x101c(%r13), %rbx
movl 0x101c(%r13), %edx
callq 0x1250
testl %eax, %eax
jne 0x4282
movq 0x53c6(%rip), %rsi      # 0x9248
movl (%rbx), %edx
leaq 0x40(%rsp), %rdi
callq 0x1250
testl %eax, %eax
jne 0x428f
movl 0x1014(%r13), %esi
movl 0x1018(%r13), %edx
leaq 0x48(%rsp), %rdi
callq 0x4bbe
testl %eax, %eax
jne 0x42a2
movq %rbx, 0x30(%rsp)
leaq 0x1014(%r13), %rbx
leaq 0x54(%rsp), %r15
movl $0x314d5a4c, (%r15)     # imm = 0x314D5A4C
movl $0x4, %r12d
movl %r12d, %edx
movl %ebp, %edi
movq %r15, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3ef7
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %r12d
jne 0x3ed4
jmp 0x3f08
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x431a
movl $0x4, %r15d
movq 0x30(%rsp), %r12
movl %r15d, %edx
movl %ebp, %edi
movq %rbx, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3f36
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %r15d
jne 0x3f13
jmp 0x3f47
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x434f
movl $0x4, %r15d
movq %r12, %rbx
movl %r15d, %edx
movl %ebp, %edi
movq %rbx, %rsi
callq 0x10b0
testl %eax, %eax
js 0x3f73
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %rbx
subl %eax, %r15d
jne 0x3f50
jmp 0x3f84
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x4389
movq %r13, 0x28(%rsp)
movl (%r12), %r13d
testl %r13d, %r13d
je 0x40fe
movl $0xc, %ebx
xorl %r12d, %r12d
movq %r12, 0x18(%rsp)
movq 0x38(%rsp), %r15
movl %r13d, %r12d
movq %rbx, 0x10(%rsp)
movl %r12d, %edx
movl %r14d, %edi
movq %r15, %rsi
callq 0x1160
testl %eax, %eax
js 0x3fe1
je 0x3fd7
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %r12d
jne 0x3fb0
xorl %r12d, %r12d
subl %r12d, %r13d
jne 0x3ff2
jmp 0x415a
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x443c
movq 0x30(%rsp), %rbx
movl (%rbx), %eax
movl %eax, 0xc(%rsp)
movq 0x40(%rsp), %r12
movq 0x48(%rsp), %rdi
movq 0x38(%rsp), %rsi
movl %r13d, %edx
movq %r12, %rcx
leaq 0xc(%rsp), %r8
callq 0x4ce2
movl %eax, %r15d
cmpl $0x4b, %eax
je 0x4035
testl %r15d, %r15d
jne 0x43c3
xorl %eax, %eax
movl 0xc(%rsp), %ecx
jmp 0x4050
cmpl $0x0, (%rbx)
js 0x43c3
movl %r13d, 0xc(%rsp)
movl $0x80000000, %eax       # imm = 0x80000000
movq 0x38(%rsp), %r12
movl %r13d, %ecx
orl %eax, %ecx
movl %ecx, 0x24(%rsp)
movl $0x4, %ebx
leaq 0x24(%rsp), %r15
movl %ebx, %edx
movl %ebp, %edi
movq %r15, %rsi
callq 0x10b0
testl %eax, %eax
js 0x4081
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r15
subl %eax, %ebx
jne 0x4060
jmp 0x4092
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x43eb
movl 0xc(%rsp), %r15d
testl %r15d, %r15d
movq 0x10(%rsp), %rbx
je 0x40d5
movl %r15d, %edx
movl %ebp, %edi
movq %r12, %rsi
callq 0x10b0
testl %eax, %eax
js 0x40c4
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq %rcx, %r12
subl %eax, %r15d
jne 0x40a1
jmp 0x40d5
callq 0x1050
movl (%rax), %r15d
testl %r15d, %r15d
jne 0x4461
movl %r13d, %eax
movq 0x18(%rsp), %r12
addq %rax, %r12
movl 0xc(%rsp), %eax
addq %rax, %rbx
addq $0x4, %rbx
movq 0x30(%rsp), %rax
movl (%rax), %r13d
testl %r13d, %r13d
jne 0x3f9e
jmp 0x4106
xorl %r12d, %r12d
movl $0xc, %ebx
xorl %r15d, %r15d
movq 0x28(%rsp), %r13
jmp 0x42b4
movq %r13, %rdi
callq 0x1547
movl $0x16, %r15d
jmp 0x41d4
movq %r13, %rdi
callq 0x17d5
movl $0x16, %r15d
jmp 0x417e
movq %r13, %rdi
movq 0x30(%rsp), %rsi
callq 0x1612
jmp 0x4152
movq %r13, %rdi
movq 0x30(%rsp), %rsi
callq 0x164c
movl $0xc, %r15d
jmp 0x417e
xorl %r15d, %r15d
movq 0x28(%rsp), %r13
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
jmp 0x42b4
movl %eax, %r15d
movq %r13, %rdi
movl %eax, %esi
callq 0x1686
movl $0xc, %r12d
jmp 0x41fd
movq %r13, %rdi
callq 0x16be
movl $0x5, %r15d
jmp 0x3e3b
movq %r13, %rdi
callq 0x14f1
movl $0x5, %r15d
jmp 0x41b4
movq %r13, %rdi
movl %r15d, %esi
callq 0x1510
xorl %r12d, %r12d
jmp 0x41fd
movq %r13, %rdi
callq 0x1566
movl $0x5, %r15d
jmp 0x41d4
movq %r13, %rdi
movl %r15d, %esi
callq 0x1585
movl $0x4, %r12d
jmp 0x41fd
movq %r13, %rdi
callq 0x15bc
movl $0x5, %r15d
jmp 0x41f7
movq %r13, %rdi
movl %r15d, %esi
callq 0x15db
movl $0x8, %r12d
xorl %ebx, %ebx
movq 0x48(%rsp), %rdi
callq 0x5082
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x4218
callq 0x1030
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x4227
callq 0x1030
cmpl $0x1, %ebp
je 0x4270
testl %r15d, %r15d
jne 0x4270
cmpl $0x1, 0x1034(%r13)
jne 0x4270
cvtsi2ss %rbx, %xmm0
cvtsi2ss %r12, %xmm1
divss %xmm1, %xmm0
mulss 0x1e6f(%rip), %xmm0     # 0x60c0
addq $0x10, %r13
cvtss2sd %xmm0, %xmm0
leaq 0x20b0(%rip), %rdi      # 0x6310
movq %r13, %rsi
movq %r12, %rdx
movq %rbx, %rcx
movb $0x1, %al
callq 0x10f0
movl %r15d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %rdi
movq %rbx, %rsi
callq 0x17f4
jmp 0x429a
movq %r13, %rdi
movq %rbx, %rsi
callq 0x182e
movl $0xc, %r15d
jmp 0x42af
movl %eax, %r15d
movq %r13, %rdi
movl %eax, %esi
callq 0x1868
xorl %r12d, %r12d
xorl %ebx, %ebx
movq 0x48(%rsp), %rdi
callq 0x4cb2
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x42cd
callq 0x1030
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x42dc
callq 0x1030
cmpl $0x1, %ebp
je 0x4270
testl %r15d, %r15d
jne 0x4270
cmpl $0x1, 0x1034(%r13)
jne 0x4270
cvtsi2ss %rbx, %xmm0
cvtsi2ss %r12, %xmm1
divss %xmm1, %xmm0
mulss 0x1dba(%rip), %xmm0     # 0x60c0
addq $0x10, %r13
cvtss2sd %xmm0, %xmm0
leaq 0x1f12(%rip), %rdi      # 0x6227
jmp 0x4260
movq 0x4cd7(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1e87(%rip), %rsi      # 0x61be
movq %rbx, %rdi
xorl %r12d, %r12d
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
jmp 0x42b2
movq 0x4ca2(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1e52(%rip), %rsi      # 0x61be
movq %rbx, %rdi
xorl %r12d, %r12d
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movl $0x4, %ebx
jmp 0x42b4
movq 0x4c68(%rip), %rax      # 0x8ff8
movq (%rax), %rbx
leaq 0x10(%r13), %r14
movl %r15d, %edi
callq 0x1260
leaq 0x1e18(%rip), %rsi      # 0x61be
movq %rbx, %rdi
xorl %r12d, %r12d
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movl $0x8, %ebx
jmp 0x42b4
movq 0x28(%rsp), %r13
movq %r13, %rdi
movl %r15d, %esi
callq 0x18d8
jmp 0x4162
movq %r13, %rdi
callq 0x17b0
movl $0x16, %r15d
jmp 0x44b0
movq 0x4c06(%rip), %rax      # 0x8ff8
movq (%rax), %r14
movq 0x28(%rsp), %r13
leaq 0x10(%r13), %r12
movl %r15d, %edi
callq 0x1260
leaq 0x1db1(%rip), %rsi      # 0x61be
movq %r14, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
movq 0x18(%rsp), %r12
movq 0x10(%rsp), %rbx
jmp 0x42b4
movq %r13, %rdi
callq 0x1753
movl $0x5, %r15d
jmp 0x44b0
movq 0x28(%rsp), %r13
movq %r13, %rdi
movl %r15d, %esi
callq 0x18a0
jmp 0x4162
movq %r13, %rdi
movl %r15d, %esi
callq 0x16e3
jmp 0x3e3b
movq 0x4b90(%rip), %rax      # 0x8ff8
movq (%rax), %r14
movq 0x28(%rsp), %r13
leaq 0x10(%r13), %r12
movl %r15d, %edi
callq 0x1260
leaq 0x1d3b(%rip), %rsi      # 0x61be
movq %r14, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x11a0
jmp 0x4167
movq %r13, %rdi
movl %r15d, %esi
callq 0x1778
jmp 0x44b0
movq %r13, %rdi
movl %r15d, %esi
callq 0x171b
movq 0x18(%rsp), %r12
jmp 0x3e3b