// File: ATOMIC-LICHESS[P]ATOMKRAFT/evaluate.cpp
// Function: (anonymous namespace)::trace_row(char const*, int)
void trace_row(const char *name, int idx) {

    Score wScore = TracedScores[WHITE][idx];
    Score bScore = TracedScores[BLACK][idx];

    switch (idx) {
    case PST: case IMBALANCE: case PAWN: case UNSTOPPABLE: case TOTAL:
        TraceStream << std::setw(20) << name << " |   ---   --- |   ---   --- | "
                    << std::setw(6)  << to_cp(mg_value(wScore)) << " "
                    << std::setw(6)  << to_cp(eg_value(wScore)) << " \n";
        break;
    default:
        TraceStream << std::setw(20) << name << " | " << std::noshowpos
                    << std::setw(5)  << to_cp(mg_value(wScore)) << " "
                    << std::setw(5)  << to_cp(eg_value(wScore)) << " | "
                    << std::setw(5)  << to_cp(mg_value(bScore)) << " "
                    << std::setw(5)  << to_cp(eg_value(bScore)) << " | "
                    << std::showpos
                    << std::setw(6)  << to_cp(mg_value(wScore - bScore)) << " "
                    << std::setw(6)  << to_cp(eg_value(wScore - bScore)) << " \n";
    }
  }

// Assembly:
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movl %esi, 0xbc(%rsp)
movslq 0xbc(%rsp), %rcx
leaq 0x3c2e0b(%rip), %rax    # 0x3e2a50
movl (%rax,%rcx,4), %ecx
movl %ecx, 0xb8(%rsp)
movslq 0xbc(%rsp), %rcx
movl 0x40(%rax,%rcx,4), %eax
movl %eax, 0xb4(%rsp)
movl 0xbc(%rsp), %eax
movl %eax, 0x88(%rsp)
subl $0x1, %eax
je 0x1fca8
jmp 0x1fc77
movl 0x88(%rsp), %eax
addl $-0x8, %eax
subl $0x2, %eax
jb 0x1fca8
jmp 0x1fc88
movl 0x88(%rsp), %eax
subl $0xd, %eax
je 0x1fca8
jmp 0x1fc96
movl 0x88(%rsp), %eax
subl $0xf, %eax
jne 0x1fdaa
jmp 0x1fca8
movl $0x14, %edi
callq 0x28160
movl %eax, 0xb0(%rsp)
movl 0xb0(%rsp), %esi
leaq 0x3c2bd9(%rip), %rdi    # 0x3e28a0
addq $0x10, %rdi
callq 0x65a0
movq %rax, %rdi
movq 0xc0(%rsp), %rsi
callq 0x64b0
movq %rax, %rdi
leaq 0x3a27a(%rip), %rsi     # 0x59f64
callq 0x64b0
movq %rax, 0x68(%rsp)
movl $0x6, %edi
callq 0x28160
movq 0x68(%rsp), %rdi
movl %eax, 0xac(%rsp)
movl 0xac(%rsp), %esi
callq 0x65a0
movq %rax, 0x70(%rsp)
movl 0xb8(%rsp), %edi
callq 0x281d0
movl %eax, %edi
callq 0x200d0
movq 0x70(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x3981e(%rip), %rsi     # 0x59560
callq 0x64b0
movq %rax, 0x78(%rsp)
movl $0x6, %edi
callq 0x28160
movq 0x78(%rsp), %rdi
movl %eax, 0xa8(%rsp)
movl 0xa8(%rsp), %esi
callq 0x65a0
movq %rax, 0x80(%rsp)
movl 0xb8(%rsp), %edi
callq 0x281f0
movl %eax, %edi
callq 0x200d0
movq 0x80(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x3a0a9(%rip), %rsi     # 0x59e49
callq 0x64b0
jmp 0x2003b
movl $0x14, %edi
callq 0x28160
movl %eax, 0xa4(%rsp)
movl 0xa4(%rsp), %esi
leaq 0x3c2ad7(%rip), %rdi    # 0x3e28a0
addq $0x10, %rdi
callq 0x65a0
movq %rax, %rdi
movq 0xc0(%rsp), %rsi
callq 0x64b0
movq %rax, %rdi
leaq 0x3a194(%rip), %rsi     # 0x59f80
callq 0x64b0
movq %rax, %rdi
leaq 0x9925(%rip), %rsi      # 0x29720
callq 0x6170
movq %rax, 0x8(%rsp)
movl $0x5, %edi
callq 0x28160
movq 0x8(%rsp), %rdi
movl %eax, 0xa0(%rsp)
movl 0xa0(%rsp), %esi
callq 0x65a0
movq %rax, 0x10(%rsp)
movl 0xb8(%rsp), %edi
callq 0x281d0
movl %eax, %edi
callq 0x200d0
movq 0x10(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x3970d(%rip), %rsi     # 0x59560
callq 0x64b0
movq %rax, 0x18(%rsp)
movl $0x5, %edi
callq 0x28160
movq 0x18(%rsp), %rdi
movl %eax, 0x9c(%rsp)
movl 0x9c(%rsp), %esi
callq 0x65a0
movq %rax, 0x20(%rsp)
movl 0xb8(%rsp), %edi
callq 0x281f0
movl %eax, %edi
callq 0x200d0
movq 0x20(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x3a0d5(%rip), %rsi     # 0x59f80
callq 0x64b0
movq %rax, 0x28(%rsp)
movl $0x5, %edi
callq 0x28160
movq 0x28(%rsp), %rdi
movl %eax, 0x98(%rsp)
movl 0x98(%rsp), %esi
callq 0x65a0
movq %rax, 0x30(%rsp)
movl 0xb4(%rsp), %edi
callq 0x281d0
movl %eax, %edi
callq 0x200d0
movq 0x30(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x3965d(%rip), %rsi     # 0x59560
callq 0x64b0
movq %rax, 0x38(%rsp)
movl $0x5, %edi
callq 0x28160
movq 0x38(%rsp), %rdi
movl %eax, 0x94(%rsp)
movl 0x94(%rsp), %esi
callq 0x65a0
movq %rax, 0x40(%rsp)
movl 0xb4(%rsp), %edi
callq 0x281f0
movl %eax, %edi
callq 0x200d0
movq 0x40(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x3a025(%rip), %rsi     # 0x59f80
callq 0x64b0
movq %rax, %rdi
leaq 0x8196(%rip), %rsi      # 0x28100
callq 0x6170
movq %rax, 0x48(%rsp)
movl $0x6, %edi
callq 0x28160
movq 0x48(%rsp), %rdi
movl %eax, 0x90(%rsp)
movl 0x90(%rsp), %esi
callq 0x65a0
movq %rax, 0x50(%rsp)
movl 0xb8(%rsp), %edi
movl 0xb4(%rsp), %esi
callq 0x29740
movl %eax, %edi
callq 0x281d0
movl %eax, %edi
callq 0x200d0
movq 0x50(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x39590(%rip), %rsi     # 0x59560
callq 0x64b0
movq %rax, 0x58(%rsp)
movl $0x6, %edi
callq 0x28160
movq 0x58(%rsp), %rdi
movl %eax, 0x8c(%rsp)
movl 0x8c(%rsp), %esi
callq 0x65a0
movq %rax, 0x60(%rsp)
movl 0xb8(%rsp), %edi
movl 0xb4(%rsp), %esi
callq 0x29740
movl %eax, %edi
callq 0x281f0
movl %eax, %edi
callq 0x200d0
movq 0x60(%rsp), %rdi
callq 0x6a10
movq %rax, %rdi
leaq 0x39e13(%rip), %rsi     # 0x59e49
callq 0x64b0
addq $0xc8, %rsp
retq
nopw %cs:(%rax,%rax)