// File: /workspace/github_cpp_makefile_star2_O1/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 0x17d96(%rip), %xmm4    # 0x2b058
ucomisd %xmm2, %xmm4
jb 0x13553
xorpd %xmm3, %xmm3
ucomisd %xmm3, %xmm2
jb 0x13553
ucomisd %xmm1, %xmm4
jb 0x13553
ucomisd %xmm3, %xmm0
jb 0x13553
ucomisd %xmm0, %xmm4
jb 0x13553
ucomisd %xmm3, %xmm1
jb 0x13553
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 0x12234
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 0x12449
movq 0x23c5b(%rip), %r15     # 0x36fd0
leaq 0x19bb3(%rip), %rsi     # 0x2cf2f
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 0x19b27(%rip), %rsi     # 0x2cf34
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 0x19aa0(%rip), %rsi     # 0x2cf39
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 0x19971(%rip), %rdi     # 0x2cecb
leaq 0x19758(%rip), %rsi     # 0x2ccb9
leaq 0x1999c(%rip), %rcx     # 0x2cf04
movl $0x107, %edx            # imm = 0x107
callq 0x31c0