// File: /workspace/github_c_makefile_star2_O2/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, %rbx
movl %esi, %ebp
movl %edi, 0x10(%rsp)
cmpl $0x1, 0x1010(%rdx)
movl %esi, 0x4(%rsp)
jne 0x2186
cmpl $0x0, 0x1038(%rbx)
je 0x23cd
andq $0x0, 0x38(%rsp)
andq $0x0, 0x20(%rsp)
andq $0x0, 0x30(%rsp)
leaq 0x8(%rsp), %rdx
movl $0x4, (%rdx)
leaq 0x44(%rsp), %rsi
movl 0x10(%rsp), %edi
callq 0x2b94
testl %eax, %eax
jne 0x25de
cmpl $0x4, 0x8(%rsp)
jne 0x261a
cmpl $0x314d5a4c, 0x44(%rsp) # imm = 0x314D5A4C
jne 0x2645
leaq 0x8(%rsp), %rdx
movl $0x4, (%rdx)
movq %rbx, %r12
addq $0x1014, %rbx           # imm = 0x1014
movl 0x10(%rsp), %edi
movq %rbx, %rsi
callq 0x2b94
testl %eax, %eax
jne 0x2668
cmpl $0x4, 0x8(%rsp)
jne 0x26a1
leaq 0x101c(%r12), %rbp
leaq 0x8(%rsp), %rdx
movl 0x10(%rsp), %edi
movq %rbp, %rsi
callq 0x2b94
testl %eax, %eax
jne 0x26d1
cmpl $0x4, 0x8(%rsp)
jne 0x270a
movl (%rbp), %edx
testq %rdx, %rdx
je 0x2735
movq 0x6003(%rip), %rsi      # 0x8248
leaq 0x20(%rsp), %rdi
callq 0x1240
testl %eax, %eax
jne 0x2597
movq 0x5fea(%rip), %rsi      # 0x8248
movl (%rbp), %edx
leaq 0x30(%rsp), %rdi
callq 0x1240
testl %eax, %eax
jne 0x2597
movl (%rbx), %esi
leaq 0x38(%rsp), %rdi
callq 0x3d34
testl %eax, %eax
jne 0x275e
pushq $0xc
popq %r13
xorl %r15d, %r15d
movq %r12, %rbx
movl $0x4, 0x8(%rsp)
movl 0x10(%rsp), %edi
leaq 0x14(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x2b94
testl %eax, %eax
jne 0x27e6
movl 0x8(%rsp), %r14d
cmpl $0x4, %r14d
jne 0x239b
movq %r15, 0x28(%rsp)
movl (%rbp), %eax
testl %eax, %eax
sets %cl
movl 0x14(%rsp), %r15d
testl %r15d, %r15d
setns %r12b
orb %cl, %r12b
jne 0x22ed
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
movl %r15d, 0x14(%rsp)
addq $0x4, %r13
cmpl %eax, %r15d
ja 0x2828
movl %r15d, 0x8(%rsp)
movq 0x20(%rsp), %rsi
movl 0x10(%rsp), %edi
leaq 0x8(%rsp), %rdx
callq 0x2b94
testl %eax, %eax
jne 0x2848
cmpl %r15d, 0x8(%rsp)
jne 0x2870
movl (%rbp), %eax
movl %eax, 0xc(%rsp)
leaq 0x20(%rsp), %rcx
testb %r12b, %r12b
je 0x2363
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x30(%rsp), %rcx
movl %r15d, %edx
leaq 0xc(%rsp), %r8
callq 0x3d3e
testl %eax, %eax
jne 0x28fc
movl 0xc(%rsp), %eax
leaq 0x30(%rsp), %rcx
cmpl $0x0, 0x1038(%rbx)
jne 0x2386
movq (%rcx), %rsi
movl %eax, %edx
movl 0x4(%rsp), %edi
callq 0x2b58
testl %eax, %eax
jne 0x29d3
movl 0xc(%rsp), %eax
movl %r15d, %ecx
addq %rcx, %r13
movl %eax, %eax
movq 0x28(%rsp), %r15
addq %rax, %r15
jmp 0x2291
testl %r14d, %r14d
movl 0x4(%rsp), %ebp
je 0x2a13
movq 0x5c49(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq 0x8(%rbx), %rdx
leaq 0x2e5e(%rip), %rsi      # 0x521b
xorl %eax, %eax
callq 0x1190
pushq $0x5
popq %r14
jmp 0x2a13
andq $0x0, 0x38(%rsp)
leaq 0x20(%rsp), %rdi
andq $0x0, (%rdi)
andq $0x0, 0x30(%rsp)
movq 0x5e5f(%rip), %rsi      # 0x8248
movl 0x101c(%rbx), %edx
callq 0x1240
testl %eax, %eax
movq %rbx, 0x18(%rsp)
jne 0x27a2
leaq 0x101c(%rbx), %rbp
movq 0x5e39(%rip), %rsi      # 0x8248
movl (%rbp), %edx
leaq 0x30(%rsp), %rdi
callq 0x1240
testl %eax, %eax
jne 0x27a2
movl 0x1014(%rbx), %esi
movl 0x1018(%rbx), %edx
leaq 0x38(%rsp), %rdi
callq 0x3770
testl %eax, %eax
jne 0x28d5
leaq 0x8(%rsp), %rsi
movl $0x314d5a4c, (%rsi)     # imm = 0x314D5A4C
pushq $0x4
popq %rdx
movl 0x4(%rsp), %ebx
movl %ebx, %edi
callq 0x2b58
testl %eax, %eax
jne 0x2925
movq 0x18(%rsp), %rax
leaq 0x1014(%rax), %rsi
pushq $0x4
popq %r12
movl %ebx, %edi
movq %r12, %rdx
callq 0x2b58
testl %eax, %eax
jne 0x2965
pushq $0x4
popq %rdx
movl %ebx, %edi
movq %rbp, %rsi
callq 0x2b58
testl %eax, %eax
jne 0x2992
pushq $0xc
popq %r12
xorl %r13d, %r13d
movq %rbp, 0x28(%rsp)
movl (%rbp), %eax
movl %eax, 0x14(%rsp)
movq 0x20(%rsp), %rsi
movl 0x10(%rsp), %edi
leaq 0x14(%rsp), %rdx
callq 0x2b94
testl %eax, %eax
jne 0x2a8b
movl 0x14(%rsp), %ebx
testq %rbx, %rbx
je 0x258f
movl (%rbp), %eax
movl %eax, 0xc(%rsp)
movq 0x30(%rsp), %r15
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl %ebx, %edx
movq %r15, %rcx
leaq 0xc(%rsp), %r8
callq 0x388e
movl %eax, %r14d
cmpl $0x4b, %eax
je 0x2519
testl %r14d, %r14d
jne 0x2ab2
movq %r12, %rbp
movq %r13, %r12
xorl %eax, %eax
movl 0xc(%rsp), %ecx
jmp 0x2539
cmpl $0x0, (%rbp)
js 0x2ab2
movq %r12, %rbp
movq %r13, %r12
movl %ebx, 0xc(%rsp)
movl $0x80000000, %eax       # imm = 0x80000000
movq 0x20(%rsp), %r15
movl %ebx, %ecx
orl %eax, %ecx
movl %ecx, 0x44(%rsp)
movl 0x4(%rsp), %r13d
movl %r13d, %edi
leaq 0x44(%rsp), %rsi
pushq $0x4
popq %rdx
callq 0x2b58
testl %eax, %eax
jne 0x2895
movl 0xc(%rsp), %edx
movl %r13d, %edi
movq %r15, %rsi
callq 0x2b58
testl %eax, %eax
jne 0x2895
movq %r12, %r13
addq %rbx, %r13
movl 0xc(%rsp), %eax
leaq (%rax,%rbp), %r12
addq $0x4, %r12
movq 0x28(%rsp), %rbp
jmp 0x24a6
xorl %r14d, %r14d
jmp 0x2ae4
movq 0x5a5a(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x8(%r12), %r15
movl 0x101c(%r12), %ebp
pushq $0xc
popq %r14
movl %r14d, %edi
callq 0x1250
leaq 0x2cc4(%rip), %rsi      # 0x5285
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
xorl %r15d, %r15d
movl %ebp, %ecx
movq %rax, %r8
xorl %eax, %eax
callq 0x1190
jmp 0x2795
movl %eax, %r14d
movq 0x5a10(%rip), %rax      # 0x7ff8
movq %rbx, %r12
movq (%rax), %rbx
movq 0x8(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2bab(%rip), %rsi      # 0x51ad
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
jmp 0x263d
movq 0x59d7(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq 0x8(%rbx), %rdx
leaq 0x2bec(%rip), %rsi      # 0x521b
xorl %r13d, %r13d
xorl %eax, %eax
callq 0x1190
pushq $0x5
popq %r14
xorl %r15d, %r15d
jmp 0x2a13
movq 0x59ac(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq 0x8(%rbx), %rdx
leaq 0x2bda(%rip), %rsi      # 0x5234
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x1190
pushq $0x16
jmp 0x26c6
movl %eax, %r14d
movq 0x5986(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x8(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2b24(%rip), %rsi      # 0x51ad
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
xorl %r15d, %r15d
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
jmp 0x26c8
movq 0x5950(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq %r12, %rbx
movq 0x8(%r12), %rdx
leaq 0x2b95(%rip), %rsi      # 0x524f
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x1190
pushq $0x5
popq %r14
pushq $0x4
popq %r13
jmp 0x2a13
movl %eax, %r14d
movq 0x591d(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x8(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2abb(%rip), %rsi      # 0x51ad
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
xorl %r15d, %r15d
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
jmp 0x2731
movq 0x58e7(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq %r12, %rbx
movq 0x8(%r12), %rdx
leaq 0x2b2c(%rip), %rsi      # 0x524f
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x1190
pushq $0x5
popq %r14
pushq $0x8
jmp 0x2797
movq 0x58bc(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq %r12, %rbx
movq 0x8(%r12), %rdx
leaq 0x2b1a(%rip), %rsi      # 0x5268
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x1190
pushq $0x16
popq %r14
jmp 0x2795
movl %eax, %r14d
movq 0x5890(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x8(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x29ea(%rip), %rsi      # 0x5169
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
xorl %r15d, %r15d
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
pushq $0xc
popq %r13
movl 0x4(%rsp), %ebp
jmp 0x2a13
movq 0x584f(%rip), %rax      # 0x7ff8
movq %rbx, %rcx
movq (%rax), %rbx
movq 0x8(%rcx), %r15
movl 0x101c(%rcx), %ebp
pushq $0xc
popq %r14
movl %r14d, %edi
callq 0x1250
leaq 0x2973(%rip), %rsi      # 0x513f
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r15, %rdx
movl %ebp, %ecx
movq %rax, %r8
xorl %eax, %eax
callq 0x1190
jmp 0x295d
movl %eax, %r14d
movq 0x5808(%rip), %rax      # 0x7ff8
movq %rbx, %r12
movq (%rax), %rbx
movq %r15, %rbp
movq 0x8(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x29a0(%rip), %rsi      # 0x51ad
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
movq %rbp, %r15
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
jmp 0x2799
movq 0x57c9(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq 0x8(%rbx), %rdx
leaq 0x2a2b(%rip), %rsi      # 0x5268
xorl %eax, %eax
callq 0x1190
pushq $0x16
jmp 0x288e
movl %eax, %r14d
movq 0x57a6(%rip), %rax      # 0x7ff8
movq (%rax), %rbp
movq 0x8(%rbx), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2945(%rip), %rsi      # 0x51ad
movq %rbp, %rdi
jmp 0x29fd
movq 0x5781(%rip), %rax      # 0x7ff8
movq (%rax), %rdi
movq 0x8(%rbx), %rdx
leaq 0x2996(%rip), %rsi      # 0x521b
xorl %eax, %eax
callq 0x1190
pushq $0x5
popq %r14
jmp 0x2a0a
movl %eax, %r14d
movq 0x5759(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
leaq 0x10(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x28d0(%rip), %rsi      # 0x518a
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
movq %r12, %r13
movq %rbp, %r12
jmp 0x2ae4
movl %eax, %r14d
movq 0x5719(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
movq 0x8(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x286f(%rip), %rsi      # 0x5169
jmp 0x294a
movl %eax, %r14d
movq 0x56f2(%rip), %rax      # 0x7ff8
movq %rbx, %r12
movq (%rax), %rbx
movq 0x8(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2998(%rip), %rsi      # 0x52b8
jmp 0x29f7
movl %eax, %r14d
movq 0x56c9(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
leaq 0x10(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2840(%rip), %rsi      # 0x518a
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
xorl %r12d, %r12d
jmp 0x2ae4
movl %eax, %r14d
movq 0x5689(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
leaq 0x10(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2800(%rip), %rsi      # 0x518a
xorl %r13d, %r13d
jmp 0x2ad4
movl %eax, %r14d
movq 0x565c(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
leaq 0x10(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x27d3(%rip), %rsi      # 0x518a
xorl %r13d, %r13d
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
pushq $0x8
popq %r12
jmp 0x2ae4
movl %eax, %r14d
movq 0x561b(%rip), %rax      # 0x7ff8
movq %rbx, %r12
movq (%rax), %rbx
leaq 0x10(%r12), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x2793(%rip), %rsi      # 0x518a
movq %rbx, %rdi
movq %r12, %rbx
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
movl 0x4(%rsp), %ebp
movq 0x28(%rsp), %r15
movq 0x38(%rsp), %rdi
callq 0x3d3b
movq 0x20(%rsp), %rdi
callq 0x1030
movq 0x30(%rsp), %rdi
callq 0x1030
cmpl $0x1, %ebp
je 0x2a79
testl %r14d, %r14d
jne 0x2a79
cmpl $0x1, 0x1034(%rbx)
jne 0x2a79
cvtsi2ss %r15, %xmm0
cvtsi2ss %r13, %xmm1
divss %xmm1, %xmm0
mulss 0x260a(%rip), %xmm0     # 0x5064
addq $0x10, %rbx
cvtss2sd %xmm0, %xmm0
leaq 0x2873(%rip), %rdi      # 0x52dc
movq %rbx, %rsi
movq %r13, %rdx
movq %r15, %rcx
movb $0x1, %al
callq 0x10f0
movl %r14d, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %r14d
movq 0x5563(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
movq 0x8(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x26fd(%rip), %rsi      # 0x51ad
jmp 0x2ad4
movq 0x553f(%rip), %rax      # 0x7ff8
movq (%rax), %rbx
movq 0x18(%rsp), %rax
movq 0x8(%rax), %r15
movl %r14d, %edi
callq 0x1250
leaq 0x26fb(%rip), %rsi      # 0x51cf
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1190
movq 0x38(%rsp), %rdi
callq 0x3868
movq 0x20(%rsp), %rdi
callq 0x1030
movq 0x30(%rsp), %rdi
callq 0x1030
cmpl $0x1, 0x4(%rsp)
movq 0x18(%rsp), %rsi
je 0x2a79
testl %r14d, %r14d
jne 0x2a79
cmpl $0x1, 0x1034(%rsi)
jne 0x2a79
cvtsi2ss %r12, %xmm0
cvtsi2ss %r13, %xmm1
divss %xmm1, %xmm0
mulss 0x2526(%rip), %xmm0     # 0x5064
addq $0x10, %rsi
cvtss2sd %xmm0, %xmm0
leaq 0x26a6(%rip), %rdi      # 0x51f3
movq %r13, %rdx
movq %r12, %rcx
jmp 0x2a72