// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/apps/gapsview/gapsview.cpp
// Function: LoadColorIdentifier(int)
static void
LoadColorIdentifier(int k)
{
  // Make array of colors
  const int ncolors = 72;
  const RNRgb colors[ncolors] = {
    RNRgb(0.5, 0.5, 0.5), RNRgb(1, 0, 0), RNRgb(0, 0, 1), 
    RNRgb(0, 1, 0), RNRgb(0, 1, 1), RNRgb(1, 0, 1), 
    RNRgb(1, 0.5, 0), RNRgb(0, 1, 0.5), RNRgb(0.5, 0, 1), 
    RNRgb(0.5, 1, 0), RNRgb(0, 0.5, 1), RNRgb(1, 0, 0.5), 
    RNRgb(0.5, 0, 0), RNRgb(0, 0.5, 0), RNRgb(0, 0, 0.5), 
    RNRgb(0.5, 0.5, 0), RNRgb(0, 0.5, 0.5), RNRgb(0.5, 0, 0.5),
    RNRgb(0.7, 0, 0), RNRgb(0, 0.7, 0), RNRgb(0, 0, 0.7), 
    RNRgb(0.7, 0.7, 0), RNRgb(0, 0.7, 0.7), RNRgb(0.7, 0, 0.7), 
    RNRgb(0.7, 0.3, 0), RNRgb(0, 0.7, 0.3), RNRgb(0.3, 0, 0.7), 
    RNRgb(0.3, 0.7, 0), RNRgb(0, 0.3, 0.7), RNRgb(0.7, 0, 0.3), 
    RNRgb(0.3, 0, 0), RNRgb(0, 0.3, 0), RNRgb(0, 0, 0.3), 
    RNRgb(0.3, 0.3, 0), RNRgb(0, 0.3, 0.3), RNRgb(0.3, 0, 0.3),
    RNRgb(1, 0.3, 0.3), RNRgb(0.3, 1, 0.3), RNRgb(0.3, 0.3, 1), 
    RNRgb(1, 1, 0.3), RNRgb(0.3, 1, 1), RNRgb(1, 0.3, 1), 
    RNRgb(1, 0.5, 0.3), RNRgb(0.3, 1, 0.5), RNRgb(0.5, 0.3, 1), 
    RNRgb(0.5, 1, 0.3), RNRgb(0.3, 0.5, 1), RNRgb(1, 0.3, 0.5), 
    RNRgb(0.5, 0.3, 0.3), RNRgb(0.3, 0.5, 0.3), RNRgb(0.3, 0.3, 0.5), 
    RNRgb(0.5, 0.5, 0.3), RNRgb(0.3, 0.5, 0.5), RNRgb(0.5, 0.3, 0.5),
    RNRgb(0.3, 0.5, 0.5), RNRgb(0.5, 0.3, 0.5), RNRgb(0.5, 0.5, 0.3), 
    RNRgb(0.3, 0.3, 0.5), RNRgb(0.5, 0.3, 0.3), RNRgb(0.3, 0.5, 0.3), 
    RNRgb(0.3, 0.8, 0.5), RNRgb(0.5, 0.3, 0.8), RNRgb(0.8, 0.5, 0.3), 
    RNRgb(0.8, 0.3, 0.5), RNRgb(0.5, 0.8, 0.3), RNRgb(0.3, 0.5, 0.8), 
    RNRgb(0.8, 0.5, 0.5), RNRgb(0.5, 0.8, 0.5), RNRgb(0.5, 0.5, 0.8), 
    RNRgb(0.8, 0.8, 0.5), RNRgb(0.5, 0.8, 0.8), RNRgb(0.8, 0.5, 0.8)
  };

  // Load color
  if (k == -1) RNLoadRgb(0.8, 0.8, 0.8);
  else if (k == 0) RNLoadRgb(colors[0]);
  else RNLoadRgb(colors[1 + (k % (ncolors-1))]);
}

// Assembly:
pushq %rbx
subq $0x6c0, %rsp            # imm = 0x6C0
movl %edi, %ebx
movq %rsp, %rdi
movsd 0xfc07a(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x18(%rsp), %rdi
movsd 0xfc09a(%rip), %xmm0    # 0x12b070
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0xe1b4a
leaq 0x30(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0xfc07c(%rip), %xmm2    # 0x12b070
callq 0xe1b4a
leaq 0x48(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0xfc064(%rip), %xmm1    # 0x12b070
callq 0xe1b4a
leaq 0x60(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfc04f(%rip), %xmm1    # 0x12b070
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x78(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfc037(%rip), %xmm0    # 0x12b070
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x90(%rsp), %rdi
xorps %xmm2, %xmm2
movsd 0xfc01c(%rip), %xmm0    # 0x12b070
movsd 0xfbfdc(%rip), %xmm1    # 0x12b038
callq 0xe1b4a
leaq 0xa8(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbffc(%rip), %xmm1    # 0x12b070
movsd 0xfbfbc(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0xc0(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbfa4(%rip), %xmm0    # 0x12b038
movsd 0xfbfd4(%rip), %xmm2    # 0x12b070
callq 0xe1b4a
leaq 0xd8(%rsp), %rdi
xorps %xmm2, %xmm2
movsd 0xfbf84(%rip), %xmm0    # 0x12b038
movsd 0xfbfb4(%rip), %xmm1    # 0x12b070
callq 0xe1b4a
leaq 0xf0(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbf64(%rip), %xmm1    # 0x12b038
movsd 0xfbf94(%rip), %xmm2    # 0x12b070
callq 0xe1b4a
leaq 0x108(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbf7c(%rip), %xmm0    # 0x12b070
movsd 0xfbf3c(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x120(%rsp), %rdi
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
movsd 0xfbf21(%rip), %xmm0    # 0x12b038
callq 0xe1b4a
leaq 0x138(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0xfbf06(%rip), %xmm1    # 0x12b038
callq 0xe1b4a
leaq 0x150(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0xfbeeb(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x168(%rsp), %rdi
xorps %xmm2, %xmm2
movsd 0xfbed3(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm1
callq 0xe1b4a
leaq 0x180(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbeb8(%rip), %xmm1    # 0x12b038
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x198(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbe9d(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x1b0(%rsp), %rdi
movsd 0xfbef5(%rip), %xmm0    # 0x12b0a8
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0xe1b4a
leaq 0x1c8(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0xfbed4(%rip), %xmm1    # 0x12b0a8
callq 0xe1b4a
leaq 0x1e0(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0xfbeb9(%rip), %xmm2    # 0x12b0a8
callq 0xe1b4a
leaq 0x1f8(%rsp), %rdi
xorps %xmm2, %xmm2
movsd 0xfbea1(%rip), %xmm0    # 0x12b0a8
movaps %xmm0, %xmm1
callq 0xe1b4a
leaq 0x210(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbe86(%rip), %xmm1    # 0x12b0a8
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x228(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbe6b(%rip), %xmm0    # 0x12b0a8
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x240(%rsp), %rdi
movsd 0xfbe5b(%rip), %xmm1    # 0x12b0b0
xorps %xmm2, %xmm2
movsd 0xfbe48(%rip), %xmm0    # 0x12b0a8
callq 0xe1b4a
leaq 0x258(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbe30(%rip), %xmm1    # 0x12b0a8
movsd 0xfbe30(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x270(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbe18(%rip), %xmm0    # 0x12b0b0
movsd 0xfbe08(%rip), %xmm2    # 0x12b0a8
callq 0xe1b4a
leaq 0x288(%rsp), %rdi
xorps %xmm2, %xmm2
movsd 0xfbdf8(%rip), %xmm0    # 0x12b0b0
movsd 0xfbde8(%rip), %xmm1    # 0x12b0a8
callq 0xe1b4a
leaq 0x2a0(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbdd8(%rip), %xmm1    # 0x12b0b0
movsd 0xfbdc8(%rip), %xmm2    # 0x12b0a8
callq 0xe1b4a
leaq 0x2b8(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbdb0(%rip), %xmm0    # 0x12b0a8
movsd 0xfbdb0(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x2d0(%rsp), %rdi
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
movsd 0xfbd95(%rip), %xmm0    # 0x12b0b0
callq 0xe1b4a
leaq 0x2e8(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm2, %xmm2
movsd 0xfbd7a(%rip), %xmm1    # 0x12b0b0
callq 0xe1b4a
leaq 0x300(%rsp), %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movsd 0xfbd5f(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x318(%rsp), %rdi
xorps %xmm2, %xmm2
movsd 0xfbd47(%rip), %xmm0    # 0x12b0b0
movaps %xmm0, %xmm1
callq 0xe1b4a
leaq 0x330(%rsp), %rdi
xorps %xmm0, %xmm0
movsd 0xfbd2c(%rip), %xmm1    # 0x12b0b0
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x348(%rsp), %rdi
xorps %xmm1, %xmm1
movsd 0xfbd11(%rip), %xmm0    # 0x12b0b0
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x360(%rsp), %rdi
movsd 0xfbcb9(%rip), %xmm0    # 0x12b070
movsd 0xfbcf1(%rip), %xmm1    # 0x12b0b0
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x378(%rsp), %rdi
movsd 0xfbcd9(%rip), %xmm0    # 0x12b0b0
movsd 0xfbc91(%rip), %xmm1    # 0x12b070
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x390(%rsp), %rdi
movsd 0xfbcb9(%rip), %xmm0    # 0x12b0b0
movaps %xmm0, %xmm1
movsd 0xfbc6e(%rip), %xmm2    # 0x12b070
callq 0xe1b4a
leaq 0x3a8(%rsp), %rdi
movsd 0xfbc59(%rip), %xmm0    # 0x12b070
movaps %xmm0, %xmm1
movsd 0xfbc8e(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x3c0(%rsp), %rdi
movsd 0xfbc79(%rip), %xmm0    # 0x12b0b0
movsd 0xfbc31(%rip), %xmm1    # 0x12b070
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x3d8(%rsp), %rdi
movsd 0xfbc19(%rip), %xmm0    # 0x12b070
movsd 0xfbc51(%rip), %xmm1    # 0x12b0b0
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x3f0(%rsp), %rdi
movsd 0xfbbf9(%rip), %xmm0    # 0x12b070
movsd 0xfbbb9(%rip), %xmm1    # 0x12b038
movsd 0xfbc29(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x408(%rsp), %rdi
movsd 0xfbc14(%rip), %xmm0    # 0x12b0b0
movsd 0xfbbcc(%rip), %xmm1    # 0x12b070
movsd 0xfbb8c(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x420(%rsp), %rdi
movsd 0xfbb77(%rip), %xmm0    # 0x12b038
movsd 0xfbbe7(%rip), %xmm1    # 0x12b0b0
movsd 0xfbb9f(%rip), %xmm2    # 0x12b070
callq 0xe1b4a
leaq 0x438(%rsp), %rdi
movsd 0xfbb52(%rip), %xmm0    # 0x12b038
movsd 0xfbb82(%rip), %xmm1    # 0x12b070
movsd 0xfbbba(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x450(%rsp), %rdi
movsd 0xfbba5(%rip), %xmm0    # 0x12b0b0
movsd 0xfbb25(%rip), %xmm1    # 0x12b038
movsd 0xfbb55(%rip), %xmm2    # 0x12b070
callq 0xe1b4a
leaq 0x468(%rsp), %rdi
movsd 0xfbb40(%rip), %xmm0    # 0x12b070
movsd 0xfbb78(%rip), %xmm1    # 0x12b0b0
movsd 0xfbaf8(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x480(%rsp), %rdi
movsd 0xfbae3(%rip), %xmm0    # 0x12b038
movsd 0xfbb53(%rip), %xmm1    # 0x12b0b0
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x498(%rsp), %rdi
movsd 0xfbb3b(%rip), %xmm0    # 0x12b0b0
movsd 0xfbabb(%rip), %xmm1    # 0x12b038
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x4b0(%rsp), %rdi
movsd 0xfbb1b(%rip), %xmm0    # 0x12b0b0
movaps %xmm0, %xmm1
movsd 0xfba98(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x4c8(%rsp), %rdi
movsd 0xfba83(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm1
movsd 0xfbaf0(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x4e0(%rsp), %rdi
movsd 0xfbadb(%rip), %xmm0    # 0x12b0b0
movsd 0xfba5b(%rip), %xmm1    # 0x12b038
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x4f8(%rsp), %rdi
movsd 0xfba43(%rip), %xmm0    # 0x12b038
movsd 0xfbab3(%rip), %xmm1    # 0x12b0b0
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x510(%rsp), %rdi
movsd 0xfba9b(%rip), %xmm0    # 0x12b0b0
movsd 0xfba1b(%rip), %xmm1    # 0x12b038
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x528(%rsp), %rdi
movsd 0xfba03(%rip), %xmm0    # 0x12b038
movsd 0xfba73(%rip), %xmm1    # 0x12b0b0
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x540(%rsp), %rdi
movsd 0xfb9e3(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm1
movsd 0xfba50(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x558(%rsp), %rdi
movsd 0xfba3b(%rip), %xmm0    # 0x12b0b0
movaps %xmm0, %xmm1
movsd 0xfb9b8(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x570(%rsp), %rdi
movsd 0xfb9a3(%rip), %xmm0    # 0x12b038
movsd 0xfba13(%rip), %xmm1    # 0x12b0b0
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x588(%rsp), %rdi
movsd 0xfb9fb(%rip), %xmm0    # 0x12b0b0
movsd 0xfb97b(%rip), %xmm1    # 0x12b038
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x5a0(%rsp), %rdi
movsd 0xfb9c3(%rip), %xmm1    # 0x12b098
movsd 0xfb9d3(%rip), %xmm0    # 0x12b0b0
movsd 0xfb953(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x5b8(%rsp), %rdi
movsd 0xfb93e(%rip), %xmm0    # 0x12b038
movsd 0xfb9ae(%rip), %xmm1    # 0x12b0b0
movsd 0xfb98e(%rip), %xmm2    # 0x12b098
callq 0xe1b4a
leaq 0x5d0(%rsp), %rdi
movsd 0xfb979(%rip), %xmm0    # 0x12b098
movsd 0xfb911(%rip), %xmm1    # 0x12b038
movsd 0xfb981(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x5e8(%rsp), %rdi
movsd 0xfb954(%rip), %xmm0    # 0x12b098
movsd 0xfb964(%rip), %xmm1    # 0x12b0b0
movsd 0xfb8e4(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x600(%rsp), %rdi
movsd 0xfb8cf(%rip), %xmm0    # 0x12b038
movsd 0xfb927(%rip), %xmm1    # 0x12b098
movsd 0xfb937(%rip), %xmm2    # 0x12b0b0
callq 0xe1b4a
leaq 0x618(%rsp), %rdi
movsd 0xfb922(%rip), %xmm0    # 0x12b0b0
movsd 0xfb8a2(%rip), %xmm1    # 0x12b038
movsd 0xfb8fa(%rip), %xmm2    # 0x12b098
callq 0xe1b4a
leaq 0x630(%rsp), %rdi
movsd 0xfb8e5(%rip), %xmm0    # 0x12b098
movsd 0xfb87d(%rip), %xmm1    # 0x12b038
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x648(%rsp), %rdi
movsd 0xfb865(%rip), %xmm0    # 0x12b038
movsd 0xfb8bd(%rip), %xmm1    # 0x12b098
movaps %xmm0, %xmm2
callq 0xe1b4a
leaq 0x660(%rsp), %rdi
movsd 0xfb845(%rip), %xmm0    # 0x12b038
movaps %xmm0, %xmm1
movsd 0xfb89a(%rip), %xmm2    # 0x12b098
callq 0xe1b4a
leaq 0x678(%rsp), %rdi
movsd 0xfb885(%rip), %xmm0    # 0x12b098
movaps %xmm0, %xmm1
movsd 0xfb81a(%rip), %xmm2    # 0x12b038
callq 0xe1b4a
leaq 0x690(%rsp), %rdi
movsd 0xfb805(%rip), %xmm0    # 0x12b038
movsd 0xfb85d(%rip), %xmm1    # 0x12b098
movaps %xmm1, %xmm2
callq 0xe1b4a
leaq 0x6a8(%rsp), %rdi
movsd 0xfb845(%rip), %xmm0    # 0x12b098
movsd 0xfb7dd(%rip), %xmm1    # 0x12b038
movaps %xmm0, %xmm2
callq 0xe1b4a
testl %ebx, %ebx
je 0x2f881
cmpl $-0x1, %ebx
jne 0x2f886
movsd 0xfb824(%rip), %xmm0    # 0x12b098
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
callq 0x27f10
jmp 0x2f8a0
movq %rsp, %rdi
jmp 0x2f89b
pushq $0x47
popq %rcx
movl %ebx, %eax
cltd
idivl %ecx
incl %edx
movslq %edx, %rax
imulq $0x18, %rax, %rax
leaq (%rsp,%rax), %rdi
callq 0x30e9a
addq $0x6c0, %rsp            # imm = 0x6C0
popq %rbx
retq