// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/ImageProcs.cpp
// Function: printColor(double, double, double)
void printColor(Float_t r, Float_t g, Float_t b)
{
	assert(r >= 0 && r <= 1 &&
			g >= 0 && g <= 1 &&
			b >= 0 && b <= 1);
	
	Float_t x, y, z, l, a, b2;
	
	rgb2xyz(r, g, b, x, y, z);
	xyz2cielab(x, y, z, l, a, b2);
	
	cout << "RGB:";
	cout << setw(15) << r;
	cout << setw(15) << g;
	cout << setw(15) << b << endl;
	cout << "XYZ:";
	cout << setw(15) << x;
	cout << setw(15) << y;
	cout << setw(15) << z << endl;
	cout << "LAB:";
	cout << setw(15) << l;
	cout << setw(15) << a;
	cout << setw(15) << b2 << endl << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movsd 0x16dfb(%rip), %xmm4    # 0x2a058
ucomisd %xmm2, %xmm4
jb 0x134ee
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm2
jb 0x134ee
ucomisd %xmm1, %xmm4
jb 0x134ee
ucomisd %xmm3, %xmm0
jb 0x134ee
ucomisd %xmm0, %xmm4
jb 0x134ee
ucomisd %xmm3, %xmm1
jb 0x134ee
leaq 0x60(%rsp), %rbx
leaq 0x58(%rsp), %r14
leaq 0x50(%rsp), %r15
movsd %xmm2, 0x18(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x8(%rsp)
callq 0x121d0
movsd (%rbx), %xmm0
movsd %xmm0, 0x20(%rsp)
movsd (%r14), %xmm1
movsd %xmm1, 0x28(%rsp)
movsd (%r15), %xmm2
movsd %xmm2, 0x30(%rsp)
leaq 0x48(%rsp), %r12
leaq 0x40(%rsp), %r14
leaq 0x38(%rsp), %rbx
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x123e5
movq 0x23cc0(%rip), %r15     # 0x36fd0
leaq 0x18c20(%rip), %rsi     # 0x2bf37
movl $0x4, %edx
movq %r15, %rdi
callq 0x3360
movq (%r15), %rax
movq -0x18(%rax), %rax
movl $0xf, %ebp
movq %rbp, 0x10(%r15,%rax)
movq %r15, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x3480
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movq %r15, %rdi
movsd 0x10(%rsp), %xmm0
callq 0x3480
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movq %r15, %rdi
movsd 0x18(%rsp), %xmm0
callq 0x3480
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
leaq 0x18b94(%rip), %rsi     # 0x2bf3c
movl $0x4, %edx
movq %r15, %rdi
callq 0x3360
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movq %r15, %rdi
movsd 0x20(%rsp), %xmm0
callq 0x3480
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movq %r15, %rdi
movsd 0x28(%rsp), %xmm0
callq 0x3480
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movq %r15, %rdi
movsd 0x30(%rsp), %xmm0
callq 0x3480
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
leaq 0x18b0d(%rip), %rsi     # 0x2bf41
movl $0x4, %edx
movq %r15, %rdi
callq 0x3360
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movsd (%r12), %xmm0
movq %r15, %rdi
callq 0x3480
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movsd (%r14), %xmm0
movq %r15, %rdi
callq 0x3480
movq (%r15), %rax
movq -0x18(%rax), %rax
movq %rbp, 0x10(%r15,%rax)
movsd (%rbx), %xmm0
movq %r15, %rdi
callq 0x3480
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31f0
leaq 0x189de(%rip), %rdi     # 0x2bed3
leaq 0x187c5(%rip), %rsi     # 0x2bcc1
leaq 0x18a09(%rip), %rcx     # 0x2bf0c
movl $0x107, %edx            # imm = 0x107
callq 0x31c0