// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/./ImageProcs.h
// Function: NoiseParam::selfCheck()
void selfCheck()
	{
		assert(label_.length() > 0);
		assert(lux_ > 0);
		assert(minReflectance_ >= 0);
		assert(maxReflectance_ > minReflectance_ && maxReflectance_ <= 1);
		assert(temperatureC_ >= -100 && temperatureC_ <= 50);
		//assert(focalLengthMM_ > 0);
		assert(pixelPitchMicrons_ > 0);
		assert(fullWellCapacity_ >= 1);
		assert(readNoise_ > 0 && readNoise_ < fullWellCapacity_);
		//Assert that all bias pixels are >= 0 and <= 1
		assert(ampVarFactor_ >= 0);
		assert(darkCurrentRoomTempElectronsPerPixPerSec_ >= 0);
		assert(hotPixelFactor_ >= 0);
		assert(quantumEfficiency_[R] >= 0 && quantumEfficiency_[R] <= 1);
		assert(quantumEfficiency_[G] >= 0 && quantumEfficiency_[G] <= 1);
		assert(quantumEfficiency_[B] >= 0 && quantumEfficiency_[B] <= 1);
		assert(ampGlowElectronsPerPixPerSec_ >= 0);
		assert(exposureSecs_ > 0);
		assert(ampGain_ >= 0 || ampGain_ == -1);
		assert(focalRatio_ > 0);
	}

// Assembly:
pushq %rax
cmpq $0x0, 0x8(%rdi)
je 0x830c
movsd 0x20(%rdi), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x832b
movsd 0x28(%rdi), %xmm0
ucomisd %xmm1, %xmm0
jb 0x834a
movsd 0x30(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x8369
movsd 0x19eb9(%rip), %xmm0    # 0x22058
ucomisd %xmm1, %xmm0
jb 0x8369
movsd 0x38(%rdi), %xmm1
ucomisd 0x19eaa(%rip), %xmm1    # 0x22060
jb 0x8388
movsd 0x19ea4(%rip), %xmm2    # 0x22068
ucomisd %xmm1, %xmm2
jb 0x8388
movsd 0x40(%rdi), %xmm1
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jbe 0x83a7
movq 0x48(%rdi), %rax
testq %rax, %rax
je 0x83c6
movsd 0x50(%rdi), %xmm1
ucomisd %xmm2, %xmm1
jbe 0x83e5
movq %rax, %xmm2
punpckldq 0x19e16(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x19e1e(%rip), %xmm2    # 0x22030
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
ucomisd %xmm1, %xmm3
jbe 0x83e5
movsd 0x58(%rdi), %xmm2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm2
jb 0x8404
movsd 0x60(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jb 0x8423
movsd 0x68(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jb 0x8442
movsd 0x78(%rdi), %xmm2
ucomisd %xmm1, %xmm2
jb 0x8461
ucomisd %xmm2, %xmm0
jb 0x8461
movsd 0x80(%rdi), %xmm1
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jb 0x8480
ucomisd %xmm1, %xmm0
jb 0x8480
movsd 0x88(%rdi), %xmm1
ucomisd %xmm2, %xmm1
jb 0x849f
ucomisd %xmm1, %xmm0
jb 0x849f
movsd 0x90(%rdi), %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jb 0x84be
movsd 0x98(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x84dd
movsd 0xa0(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jae 0x82f8
ucomisd 0x19d84(%rip), %xmm1    # 0x22070
jne 0x84fc
jp 0x84fc
movsd 0xa8(%rdi), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x851b
popq %rax
retq
leaq 0x1a8fb(%rip), %rdi     # 0x22c0e
leaq 0x1a908(%rip), %rsi     # 0x22c22
leaq 0x1a910(%rip), %rcx     # 0x22c31
movl $0xde, %edx
callq 0x31a0
leaq 0x1a91c(%rip), %rdi     # 0x22c4e
leaq 0x1a8e9(%rip), %rsi     # 0x22c22
leaq 0x1a8f1(%rip), %rcx     # 0x22c31
movl $0xdf, %edx
callq 0x31a0
leaq 0x1a906(%rip), %rdi     # 0x22c57
leaq 0x1a8ca(%rip), %rsi     # 0x22c22
leaq 0x1a8d2(%rip), %rcx     # 0x22c31
movl $0xe0, %edx
callq 0x31a0
leaq 0x1a8fc(%rip), %rdi     # 0x22c6c
leaq 0x1a8ab(%rip), %rsi     # 0x22c22
leaq 0x1a8b3(%rip), %rcx     # 0x22c31
movl $0xe1, %edx
callq 0x31a0
leaq 0x1a917(%rip), %rdi     # 0x22ca6
leaq 0x1a88c(%rip), %rsi     # 0x22c22
leaq 0x1a894(%rip), %rcx     # 0x22c31
movl $0xe2, %edx
callq 0x31a0
leaq 0x1a925(%rip), %rdi     # 0x22cd3
leaq 0x1a86d(%rip), %rsi     # 0x22c22
leaq 0x1a875(%rip), %rcx     # 0x22c31
movl $0xe4, %edx
callq 0x31a0
leaq 0x1a91d(%rip), %rdi     # 0x22cea
leaq 0x1a84e(%rip), %rsi     # 0x22c22
leaq 0x1a856(%rip), %rcx     # 0x22c31
movl $0xe5, %edx
callq 0x31a0
leaq 0x1a915(%rip), %rdi     # 0x22d01
leaq 0x1a82f(%rip), %rsi     # 0x22c22
leaq 0x1a837(%rip), %rcx     # 0x22c31
movl $0xe6, %edx
callq 0x31a0
leaq 0x1a927(%rip), %rdi     # 0x22d32
leaq 0x1a810(%rip), %rsi     # 0x22c22
leaq 0x1a818(%rip), %rcx     # 0x22c31
movl $0xe8, %edx
callq 0x31a0
leaq 0x1a91b(%rip), %rdi     # 0x22d45
leaq 0x1a7f1(%rip), %rsi     # 0x22c22
leaq 0x1a7f9(%rip), %rcx     # 0x22c31
movl $0xe9, %edx
callq 0x31a0
leaq 0x1a92b(%rip), %rdi     # 0x22d74
leaq 0x1a7d2(%rip), %rsi     # 0x22c22
leaq 0x1a7da(%rip), %rcx     # 0x22c31
movl $0xea, %edx
callq 0x31a0
leaq 0x1a921(%rip), %rdi     # 0x22d89
leaq 0x1a7b3(%rip), %rsi     # 0x22c22
leaq 0x1a7bb(%rip), %rcx     # 0x22c31
movl $0xeb, %edx
callq 0x31a0
leaq 0x1a93b(%rip), %rdi     # 0x22dc2
leaq 0x1a794(%rip), %rsi     # 0x22c22
leaq 0x1a79c(%rip), %rcx     # 0x22c31
movl $0xec, %edx
callq 0x31a0
leaq 0x1a955(%rip), %rdi     # 0x22dfb
leaq 0x1a775(%rip), %rsi     # 0x22c22
leaq 0x1a77d(%rip), %rcx     # 0x22c31
movl $0xed, %edx
callq 0x31a0
leaq 0x1a96f(%rip), %rdi     # 0x22e34
leaq 0x1a756(%rip), %rsi     # 0x22c22
leaq 0x1a75e(%rip), %rcx     # 0x22c31
movl $0xee, %edx
callq 0x31a0
leaq 0x1a973(%rip), %rdi     # 0x22e57
leaq 0x1a737(%rip), %rsi     # 0x22c22
leaq 0x1a73f(%rip), %rcx     # 0x22c31
movl $0xef, %edx
callq 0x31a0
leaq 0x1a966(%rip), %rdi     # 0x22e69
leaq 0x1a718(%rip), %rsi     # 0x22c22
leaq 0x1a720(%rip), %rcx     # 0x22c31
movl $0xf0, %edx
callq 0x31a0
leaq 0x1a967(%rip), %rdi     # 0x22e89
leaq 0x1a6f9(%rip), %rsi     # 0x22c22
leaq 0x1a701(%rip), %rcx     # 0x22c31
movl $0xf1, %edx
callq 0x31a0