// File: /workspace/github_cpp_makefile_star2_O3/myudelson[P]hmm-scalable/FitBit.cpp
// Function: FitBit::doLog10ScaleGentle(FIT_BIT_SLOT)
void FitBit::get(enum FIT_BIT_SLOT fbs, NUMBER* &a_PI, NUMBER** &a_A, NUMBER** &a_B) {
    switch (fbs) {
        case FBS_PAR:
            a_PI = this->pi;
            a_A  = this->A;
            a_B  = this->B;
            break;
        case FBS_PARm1:
            a_PI = this->PIm1;
            a_A  = this->Am1;
            a_B  = this->Bm1;
            break;
        case FBS_PARm2:
            a_PI = this->PIm2;
            a_A  = this->Am2;
            a_B  = this->Bm2;
            break;
        case FBS_GRAD:
            a_PI = this->gradPI;
            a_A  = this->gradA;
            a_B  = this->gradB;
            break;
        case FBS_GRADm1:
            a_PI = this->gradPIm1;
            a_A  = this->gradAm1;
            a_B  = this->gradBm1;
            break;
        case FBS_GRADcopy:
            a_PI = this->gradPIcopy;
            a_A  = this->gradAcopy;
            a_B  = this->gradBcopy;
            break;
        case FBS_PARcopy:
            a_PI = this->PIcopy;
            a_A  = this->Acopy;
            a_B  = this->Bcopy;
            break;
        case FBS_DIR:
            a_PI = this->dirPI;
            a_A  = this->dirA;
            a_B  = this->dirB;
            break;
        case FBS_DIRm1:
            a_PI = this->dirPIm1;
            a_A  = this->dirAm1;
            a_B  = this->dirBm1;
            break;
        default:
            break;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
decl %esi
xorl %ebp, %ebp
cmpl $0x8, %esi
ja 0xb473
movl %esi, %eax
leaq 0x288ac(%rip), %rcx     # 0x33ce8
movq (%rcx,%rax,8), %rcx
leaq 0x288e9(%rip), %rdx     # 0x33d30
movq (%rdx,%rax,8), %rdx
leaq 0x28926(%rip), %rsi     # 0x33d78
movq (%rsi,%rax,8), %rax
movq (%rdi,%rcx), %rcx
movq %rcx, 0x20(%rsp)
movq (%rdi,%rdx), %rcx
movq %rcx, 0x18(%rsp)
movq (%rdi,%rax), %rax
movq %rax, 0x10(%rsp)
jmp 0xb48e
movq $0x0, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
movsbl 0x1(%rdi), %r15d
movsbl (%rdi), %edx
movq 0x18(%rdi), %r13
testq %r13, %r13
movl %r15d, %eax
cmovel %ebp, %eax
movq 0x10(%rdi), %r12
cmpq $0x1, %r12
sbbl $-0x1, %eax
movq %rdi, 0x40(%rsp)
movq 0x20(%rdi), %rcx
movq %rcx, 0x28(%rsp)
testq %rcx, %rcx
movl %edx, 0x8(%rsp)
cmovnel %edx, %ebp
addl %eax, %ebp
imull %r15d, %ebp
movslq %ebp, %r14
movl $0x8, %esi
movq %r14, %rdi
callq 0x4130
movq %rax, %rbx
movl $0x8, %esi
movq %r14, %rdi
callq 0x4130
movq %rax, %r14
testl %r15d, %r15d
jle 0xb6e1
movq %rbp, 0x38(%rsp)
movslq %r15d, %r15
movzbl 0x8(%rsp), %ebp
movq 0x28(%rsp), %r9
testq %r9, %r9
sete %al
testb %bpl, %bpl
setle %cl
orb %al, %cl
movb %cl, 0x7(%rsp)
leaq (,%r15,8), %rcx
leal (,%rbp,8), %edx
xorl %esi, %esi
xorl %edi, %edi
xorl %r8d, %r8d
movq %rbx, 0x8(%rsp)
movq %r14, 0x30(%rsp)
testq %r12, %r12
je 0xb567
movsd (%r12,%rsi,8), %xmm0
movslq %edi, %rax
incl %edi
movsd %xmm0, (%r14,%rax,8)
movq 0x20(%rsp), %rax
movsd (%rax,%rsi,8), %xmm0
movslq %r8d, %rax
incl %r8d
movsd %xmm0, (%rbx,%rax,8)
testq %r13, %r13
je 0xb5c7
movq (%r13,%rsi,8), %r9
movq 0x18(%rsp), %rax
movq (%rax,%rsi,8), %r10
movslq %edi, %rax
movslq %r8d, %r11
leaq (%rbx,%r11,8), %rbx
leaq (%r14,%rax,8), %rax
xorl %r11d, %r11d
xorl %r14d, %r14d
movsd (%r9,%r14), %xmm0
movsd %xmm0, (%rax,%r14)
movsd (%r10,%r14), %xmm0
movsd %xmm0, (%rbx,%r14)
addq $0x8, %r14
decl %r11d
cmpq %r14, %rcx
jne 0xb58e
subl %r11d, %r8d
subl %r11d, %edi
movq 0x8(%rsp), %rbx
movq 0x30(%rsp), %r14
movq 0x28(%rsp), %r9
cmpb $0x0, 0x7(%rsp)
jne 0xb628
movq (%r9,%rsi,8), %r9
movq 0x10(%rsp), %rax
movq (%rax,%rsi,8), %r10
movslq %edi, %rax
movslq %r8d, %r11
leaq (%rbx,%r11,8), %rbx
leaq (%r14,%rax,8), %rax
xorl %r11d, %r11d
xorl %r14d, %r14d
movsd (%r9,%r14), %xmm0
movsd %xmm0, (%rax,%r14)
movsd (%r10,%r14), %xmm0
movsd %xmm0, (%rbx,%r14)
addq $0x8, %r14
decl %r11d
cmpq %r14, %rdx
jne 0xb5ef
subl %r11d, %r8d
subl %r11d, %edi
movq 0x8(%rsp), %rbx
movq 0x30(%rsp), %r14
movq 0x28(%rsp), %r9
incq %rsi
cmpq %r15, %rsi
jne 0xb53c
movsbl 0x38(%rsp), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9418
testb %r15b, %r15b
jle 0xb6f0
movq 0x40(%rsp), %rdx
movq 0x10(%rdx), %rax
movq 0x18(%rdx), %rcx
cmpq $0x0, 0x20(%rdx)
sete %sil
testb %bpl, %bpl
setle %dl
orb %sil, %dl
xorl %esi, %esi
testq %rax, %rax
je 0xb686
movq 0x20(%rsp), %rdi
movsd (%rdi,%rsi,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%rsi,8)
testq %rcx, %rcx
je 0xb6af
movq 0x18(%rsp), %rdi
movq (%rdi,%rsi,8), %rdi
xorl %r8d, %r8d
movsd (%rdi,%r8,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%r8,8)
incq %r8
cmpq %r8, %r15
jne 0xb697
testb %dl, %dl
jne 0xb6d7
movq 0x10(%rsp), %rdi
movq (%rdi,%rsi,8), %rdi
xorl %r8d, %r8d
movsd (%rdi,%r8,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%r8,8)
incq %r8
cmpq %r8, %rbp
jne 0xb6bf
incq %rsi
cmpq %r15, %rsi
jne 0xb66e
jmp 0xb6f0
movsbl %bpl, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9418
movq %rbx, %rdi
callq 0x42a0
movq %r14, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42a0