int *get_special(int era, int card, int player) {
  static int ret[3];
  ret[0] = ret[1] = 0;
  ret[2] = 1;
  switch (era * 100 + card) {
  case 113:
    ret[1] += cardcounter(data_getbuilt(data_geteast(player)), 0);
    ret[1] += cardcounter(data_getbuilt(data_getwest(player)), 0);
    ret[1] += cardcounter(data_getbuilt(player), 0);
    break;
  case 114:
    ret[1] += cardcounter(data_getbuilt(data_geteast(player)), 1);
    ret[1] += cardcounter(data_getbuilt(data_getwest(player)), 1);
    ret[1] += cardcounter(data_getbuilt(player), 1);
    ret[1] *= 2;
    break;
  case 205:
    ret[0] = ret[1] = cardcounter(data_getbuilt(player), 0);
    break;
  case 206:
    ret[0] = ret[1] = cardcounter(data_getbuilt(player), 4);
    break;
  case 207:
    ret[0] = ret[1] = cardcounter(data_getbuilt(player), 1) * 2;
    break;
  case 208:
    ret[0] = data_getwonderstages(player);
    ret[1] = 3 * ret[0];
    break;
  case 218:
    ret[0] += cardcounter(data_getbuilt(data_geteast(player)), 0);
    ret[0] += cardcounter(data_getbuilt(data_getwest(player)), 0);
    break;
  case 219:
    ret[0] += cardcounter(data_getbuilt(data_geteast(player)), 1);
    ret[0] += cardcounter(data_getbuilt(data_getwest(player)), 1);
    ret[0] *= 2;
    break;
  case 220:
    ret[0] += cardcounter(data_getbuilt(data_geteast(player)), 4);
    ret[0] += cardcounter(data_getbuilt(data_getwest(player)), 4);
    break;
  case 221:
    ret[0] += cardcounter(data_getbuilt(data_geteast(player)), 6);
    ret[0] += cardcounter(data_getbuilt(data_getwest(player)), 6);
    break;
  case 222:
    ret[0] += cardcounter(data_getbuilt(data_geteast(player)), 5);
    ret[0] += cardcounter(data_getbuilt(data_getwest(player)), 5);
    break;
  case 223:
    ret[0] += data_getdefeats(data_geteast(player));
    ret[0] += data_getdefeats(data_getwest(player));
    break;
  case 224:
    ret[0] += cardcounter(data_getbuilt(player), 0);
    ret[0] += cardcounter(data_getbuilt(player), 1);
    ret[0] += cardcounter(data_getbuilt(player), 7);
    break;
  case 225:
    ret[0] = ret[1] = 0;
    break;
  case 226:
    ret[0] += cardcounter(data_getbuilt(data_geteast(player)), 2);
    ret[0] += cardcounter(data_getbuilt(data_getwest(player)), 2);
    break;
  case 227:
    ret[0] += data_getwonderstages(data_geteast(player));
    ret[0] += data_getwonderstages(data_getwest(player));
    ret[0] += data_getwonderstages(player);
    break;
  default:
    ret[0] = ret[1] = ret[2] = 0;
    break;
  }
  return ret;
}


x86 assembly (clang, -O0):
<get_special>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
movl   $0x0,0x2edd(%rip)
movl   $0x0,0x2ecf(%rip)
movl   $0x1,0x2ecd(%rip)
mov    -0x4(%rbp),%eax
imul   $0x64,%eax,%edx
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
mov    %edx,%eax
lea    -0x71(%rax,%rcx,1),%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x72,%eax
ja     16d2 <get_special+0x572>
mov    -0x18(%rbp),%rax
lea    0xe46(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2e71(%rip),%eax
mov    %eax,0x2e6b(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2e47(%rip),%eax
mov    %eax,0x2e41(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2e26(%rip),%eax
mov    %eax,0x2e20(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2df4(%rip),%eax
mov    %eax,0x2dee(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2dc7(%rip),%eax
mov    %eax,0x2dc1(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2da3(%rip),%eax
mov    %eax,0x2d9d(%rip)
mov    0x2d97(%rip),%eax
shl    $0x1,%eax
mov    %eax,0x2d8e(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
mov    %eax,0x2d6e(%rip)
mov    %eax,0x2d64(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x4,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
mov    %eax,0x2d45(%rip)
mov    %eax,0x2d3b(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
shl    $0x1,%eax
mov    %eax,0x2d19(%rip)
mov    %eax,0x2d0f(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1030 <data_getwonderstages@plt>
mov    %eax,0x2cfa(%rip)
imul   $0x3,0x2cf3(%rip),%eax
mov    %eax,0x2cf1(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2cc4(%rip),%eax
mov    %eax,0x2cbe(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2c9a(%rip),%eax
mov    %eax,0x2c94(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2c68(%rip),%eax
mov    %eax,0x2c62(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2c3b(%rip),%eax
mov    %eax,0x2c35(%rip)
mov    0x2c2f(%rip),%eax
shl    $0x1,%eax
mov    %eax,0x2c26(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x4,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2bfa(%rip),%eax
mov    %eax,0x2bf4(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x4,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2bcd(%rip),%eax
mov    %eax,0x2bc7(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x6,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2b9b(%rip),%eax
mov    %eax,0x2b95(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x6,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2b6e(%rip),%eax
mov    %eax,0x2b68(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x5,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2b3c(%rip),%eax
mov    %eax,0x2b36(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x5,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2b0f(%rip),%eax
mov    %eax,0x2b09(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1080 <data_getdefeats@plt>
add    0x2aeb(%rip),%eax
mov    %eax,0x2ae5(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1080 <data_getdefeats@plt>
add    0x2acc(%rip),%eax
mov    %eax,0x2ac6(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2aa6(%rip),%eax
mov    %eax,0x2aa0(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2a82(%rip),%eax
mov    %eax,0x2a7c(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x7,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2a5e(%rip),%eax
mov    %eax,0x2a58(%rip)
jmp    16f0 <get_special+0x590>
movl   $0x0,0x2a4d(%rip)
movl   $0x0,0x2a3f(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x2,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x2a13(%rip),%eax
mov    %eax,0x2a0d(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x2,%esi
mov    $0x0,%al
call   1070 <cardcounter@plt>
add    0x29e6(%rip),%eax
mov    %eax,0x29e0(%rip)
jmp    16f0 <get_special+0x590>
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1060 <data_geteast@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1030 <data_getwonderstages@plt>
add    0x29c2(%rip),%eax
mov    %eax,0x29bc(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1050 <data_getwest@plt>
mov    %eax,%edi
mov    $0x0,%al
call   1030 <data_getwonderstages@plt>
add    0x29a3(%rip),%eax
mov    %eax,0x299d(%rip)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1030 <data_getwonderstages@plt>
add    0x298d(%rip),%eax
mov    %eax,0x2987(%rip)
jmp    16f0 <get_special+0x590>
movl   $0x0,0x2980(%rip)
movl   $0x0,0x2972(%rip)
movl   $0x0,0x2964(%rip)
lea    0x295d(%rip),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_special>:
push   %rbx
movq   $0x0,0x2ee8(%rip)
movl   $0x1,0x2ee6(%rip)
imul   $0x64,%edi,%eax
add    %esi,%eax
add    $0xffffff8f,%eax
cmp    $0x72,%eax
ja     155a <get_special+0x3fa>
mov    %edx,%ebx
lea    0xe70(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2e9c(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2e79(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2e5f(%rip)
jmp    1516 <get_special+0x3b6>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2e34(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2e0e(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    0x2df1(%rip),%eax
add    %eax,%eax
mov    %eax,0x2de9(%rip)
jmp    1516 <get_special+0x3b6>
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
jmp    1293 <get_special+0x133>
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x4,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
jmp    12b5 <get_special+0x155>
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,%eax
mov    %eax,0x2d9d(%rip)
mov    %eax,0x2d93(%rip)
jmp    1516 <get_special+0x3b6>
mov    %ebx,%edi
xor    %eax,%eax
call   1030 <data_getwonderstages@plt>
mov    %eax,0x2d7f(%rip)
lea    (%rax,%rax,2),%eax
mov    %eax,0x2d7a(%rip)
jmp    1516 <get_special+0x3b6>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2d4e(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
jmp    1509 <get_special+0x3a9>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2d0d(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    0x2ce7(%rip),%eax
add    %eax,%eax
mov    %eax,0x2cdf(%rip)
jmp    1516 <get_special+0x3b6>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x4,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2cb4(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x4,%esi
jmp    1509 <get_special+0x3a9>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x6,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2c70(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x6,%esi
jmp    1509 <get_special+0x3a9>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x5,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2c2c(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x5,%esi
jmp    1509 <get_special+0x3a9>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1080 <data_getdefeats@plt>
add    %eax,0x2bf6(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1080 <data_getdefeats@plt>
jmp    1510 <get_special+0x3b0>
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2bc5(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2ba8(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x7,%esi
jmp    1509 <get_special+0x3a9>
movl   $0x0,0x2b8c(%rip)
jmp    1516 <get_special+0x3b6>
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x2,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2b64(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1040 <data_getbuilt@plt>
mov    %eax,%edi
mov    $0x2,%esi
xor    %eax,%eax
call   1070 <cardcounter@plt>
add    %eax,0x2b3e(%rip)
lea    0x2b37(%rip),%rax
pop    %rbx
ret
mov    %ebx,%edi
xor    %eax,%eax
call   1060 <data_geteast@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1030 <data_getwonderstages@plt>
add    %eax,0x2b1d(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1050 <data_getwest@plt>
mov    %eax,%edi
xor    %eax,%eax
call   1030 <data_getwonderstages@plt>
add    %eax,0x2b05(%rip)
mov    %ebx,%edi
xor    %eax,%eax
call   1030 <data_getwonderstages@plt>
jmp    1510 <get_special+0x3b0>
movl   $0x0,0x2af8(%rip)
movq   $0x0,0x2ae5(%rip)
jmp    1516 <get_special+0x3b6>

LLVM IR (-O0):
@get_special.ret = internal global [3 x i32] zeroinitializer
define i32* @get_special(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
store i32 1, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 2)
%7 = load i32, i32* %4
%8 = mul nsw i32 %7, 100
%9 = load i32, i32* %5
%10 = add nsw i32 %8, %9
switch i32 %10, label %190 [
i32 113, label %11
i32 114, label %29
i32 205, label %49
i32 206, label %53
i32 207, label %57
i32 208, label %62
i32 218, label %67
i32 219, label %80
i32 220, label %95
i32 221, label %108
i32 222, label %121
i32 223, label %134
i32 224, label %145
i32 225, label %161
i32 226, label %162
i32 227, label %175
]
11: ; preds = %3
%12 = load i32, i32* %6
%13 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %12)
%14 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %13)
%15 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %14, i32 0)
%16 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%17 = add nsw i32 %16, %15
store i32 %17, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%18 = load i32, i32* %6
%19 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %18)
%20 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %19)
%21 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %20, i32 0)
%22 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%23 = add nsw i32 %22, %21
store i32 %23, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%24 = load i32, i32* %6
%25 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %24)
%26 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %25, i32 0)
%27 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%28 = add nsw i32 %27, %26
store i32 %28, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
br label %191
29: ; preds = %3
%30 = load i32, i32* %6
%31 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %30)
%32 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %31)
%33 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %32, i32 1)
%34 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%35 = add nsw i32 %34, %33
store i32 %35, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%36 = load i32, i32* %6
%37 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %36)
%38 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %37)
%39 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %38, i32 1)
%40 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%41 = add nsw i32 %40, %39
store i32 %41, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%42 = load i32, i32* %6
%43 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %42)
%44 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %43, i32 1)
%45 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%46 = add nsw i32 %45, %44
store i32 %46, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%47 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%48 = mul nsw i32 %47, 2
store i32 %48, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
br label %191
49: ; preds = %3
%50 = load i32, i32* %6
%51 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %50)
%52 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %51, i32 0)
store i32 %52, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 %52, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
53: ; preds = %3
%54 = load i32, i32* %6
%55 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %54)
%56 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %55, i32 4)
store i32 %56, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 %56, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
57: ; preds = %3
%58 = load i32, i32* %6
%59 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %58)
%60 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %59, i32 1)
%61 = mul nsw i32 %60, 2
store i32 %61, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 %61, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
62: ; preds = %3
%63 = load i32, i32* %6
%64 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %63)
store i32 %64, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%65 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%66 = mul nsw i32 3, %65
store i32 %66, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
br label %191
67: ; preds = %3
%68 = load i32, i32* %6
%69 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %68)
%70 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %69)
%71 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %70, i32 0)
%72 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%73 = add nsw i32 %72, %71
store i32 %73, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%74 = load i32, i32* %6
%75 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %74)
%76 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %75)
%77 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %76, i32 0)
%78 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%79 = add nsw i32 %78, %77
store i32 %79, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
80: ; preds = %3
%81 = load i32, i32* %6
%82 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %81)
%83 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %82)
%84 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %83, i32 1)
%85 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%86 = add nsw i32 %85, %84
store i32 %86, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%87 = load i32, i32* %6
%88 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %87)
%89 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %88)
%90 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %89, i32 1)
%91 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%92 = add nsw i32 %91, %90
store i32 %92, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%93 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%94 = mul nsw i32 %93, 2
store i32 %94, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
95: ; preds = %3
%96 = load i32, i32* %6
%97 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %96)
%98 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %97)
%99 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %98, i32 4)
%100 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%101 = add nsw i32 %100, %99
store i32 %101, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%102 = load i32, i32* %6
%103 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %102)
%104 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %103)
%105 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %104, i32 4)
%106 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%107 = add nsw i32 %106, %105
store i32 %107, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
108: ; preds = %3
%109 = load i32, i32* %6
%110 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %109)
%111 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %110)
%112 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %111, i32 6)
%113 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%114 = add nsw i32 %113, %112
store i32 %114, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%115 = load i32, i32* %6
%116 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %115)
%117 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %116)
%118 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %117, i32 6)
%119 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%120 = add nsw i32 %119, %118
store i32 %120, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
121: ; preds = %3
%122 = load i32, i32* %6
%123 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %122)
%124 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %123)
%125 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %124, i32 5)
%126 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%127 = add nsw i32 %126, %125
store i32 %127, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%128 = load i32, i32* %6
%129 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %128)
%130 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %129)
%131 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %130, i32 5)
%132 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%133 = add nsw i32 %132, %131
store i32 %133, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
134: ; preds = %3
%135 = load i32, i32* %6
%136 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %135)
%137 = call i32 (i32, ...) bitcast (i32 (...)* @data_getdefeats to i32 (i32, ...)*)(i32 %136)
%138 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%139 = add nsw i32 %138, %137
store i32 %139, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%140 = load i32, i32* %6
%141 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %140)
%142 = call i32 (i32, ...) bitcast (i32 (...)* @data_getdefeats to i32 (i32, ...)*)(i32 %141)
%143 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%144 = add nsw i32 %143, %142
store i32 %144, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
145: ; preds = %3
%146 = load i32, i32* %6
%147 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %146)
%148 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %147, i32 0)
%149 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%150 = add nsw i32 %149, %148
store i32 %150, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%151 = load i32, i32* %6
%152 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %151)
%153 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %152, i32 1)
%154 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%155 = add nsw i32 %154, %153
store i32 %155, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%156 = load i32, i32* %6
%157 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %156)
%158 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %157, i32 7)
%159 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%160 = add nsw i32 %159, %158
store i32 %160, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
161: ; preds = %3
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
162: ; preds = %3
%163 = load i32, i32* %6
%164 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %163)
%165 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %164)
%166 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %165, i32 2)
%167 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%168 = add nsw i32 %167, %166
store i32 %168, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%169 = load i32, i32* %6
%170 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %169)
%171 = call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %170)
%172 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %171, i32 2)
%173 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%174 = add nsw i32 %173, %172
store i32 %174, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
175: ; preds = %3
%176 = load i32, i32* %6
%177 = call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %176)
%178 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %177)
%179 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%180 = add nsw i32 %179, %178
store i32 %180, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%181 = load i32, i32* %6
%182 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %181)
%183 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %182)
%184 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%185 = add nsw i32 %184, %183
store i32 %185, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%186 = load i32, i32* %6
%187 = call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %186)
%188 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%189 = add nsw i32 %188, %187
store i32 %189, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
190: ; preds = %3
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 2)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %191
191: ; preds = %190, %175, %162, %161, %145, %134, %121, %108, %95, %80, %67, %62, %57, %53, %49, %29, %11
ret i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
}

LLVM IR (-O2):
@get_special.ret = internal global [3 x i32] zeroinitializer
define i32* @get_special(i32 %0, i32 %1, i32 %2) {
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
store i32 1, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 2)
%4 = mul nsw i32 %0, 100
%5 = add nsw i32 %4, %1
switch i32 %5, label %152 [
i32 113, label %6
i32 114, label %21
i32 205, label %37
i32 206, label %40
i32 207, label %43
i32 208, label %47
i32 218, label %50
i32 219, label %61
i32 220, label %73
i32 221, label %84
i32 222, label %95
i32 223, label %106
i32 224, label %115
i32 225, label %128
i32 226, label %129
i32 227, label %140
]
6: ; preds = %3
%7 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%8 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %7)
%9 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %8, i32 0)
%10 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%11 = add nsw i32 %10, %9
store i32 %11, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%12 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%13 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %12)
%14 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %13, i32 0)
%15 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%16 = add nsw i32 %15, %14
store i32 %16, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%17 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%18 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %17, i32 0)
%19 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%20 = add nsw i32 %19, %18
store i32 %20, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
br label %153
21: ; preds = %3
%22 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%23 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %22)
%24 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %23, i32 1)
%25 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%26 = add nsw i32 %25, %24
store i32 %26, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%27 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%28 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %27)
%29 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %28, i32 1)
%30 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%31 = add nsw i32 %30, %29
store i32 %31, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%32 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%33 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %32, i32 1)
%34 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
%35 = add nsw i32 %34, %33
%36 = shl nsw i32 %35, 1
store i32 %36, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
br label %153
37: ; preds = %3
%38 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%39 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %38, i32 0)
store i32 %39, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 %39, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
40: ; preds = %3
%41 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%42 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %41, i32 4)
store i32 %42, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 %42, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
43: ; preds = %3
%44 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%45 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %44, i32 1)
%46 = shl nsw i32 %45, 1
store i32 %46, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 %46, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
47: ; preds = %3
%48 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %2)
store i32 %48, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%49 = mul nsw i32 %48, 3
store i32 %49, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
br label %153
50: ; preds = %3
%51 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%52 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %51)
%53 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %52, i32 0)
%54 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%55 = add nsw i32 %54, %53
store i32 %55, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%56 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%57 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %56)
%58 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %57, i32 0)
%59 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%60 = add nsw i32 %59, %58
store i32 %60, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
61: ; preds = %3
%62 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%63 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %62)
%64 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %63, i32 1)
%65 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%66 = add nsw i32 %65, %64
store i32 %66, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%67 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%68 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %67)
%69 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %68, i32 1)
%70 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%71 = add nsw i32 %70, %69
%72 = shl nsw i32 %71, 1
store i32 %72, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
73: ; preds = %3
%74 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%75 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %74)
%76 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %75, i32 4)
%77 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%78 = add nsw i32 %77, %76
store i32 %78, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%79 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%80 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %79)
%81 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %80, i32 4)
%82 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%83 = add nsw i32 %82, %81
store i32 %83, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
84: ; preds = %3
%85 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%86 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %85)
%87 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %86, i32 6)
%88 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%89 = add nsw i32 %88, %87
store i32 %89, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%90 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%91 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %90)
%92 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %91, i32 6)
%93 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%94 = add nsw i32 %93, %92
store i32 %94, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
95: ; preds = %3
%96 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%97 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %96)
%98 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %97, i32 5)
%99 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%100 = add nsw i32 %99, %98
store i32 %100, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%101 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%102 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %101)
%103 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %102, i32 5)
%104 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%105 = add nsw i32 %104, %103
store i32 %105, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
106: ; preds = %3
%107 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%108 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getdefeats to i32 (i32, ...)*)(i32 %107)
%109 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%110 = add nsw i32 %109, %108
store i32 %110, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%111 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%112 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getdefeats to i32 (i32, ...)*)(i32 %111)
%113 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%114 = add nsw i32 %113, %112
store i32 %114, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
115: ; preds = %3
%116 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%117 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %116, i32 0)
%118 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%119 = add nsw i32 %118, %117
store i32 %119, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%120 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%121 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %120, i32 1)
%122 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%123 = add nsw i32 %122, %121
store i32 %123, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%124 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %2)
%125 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %124, i32 7)
%126 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%127 = add nsw i32 %126, %125
store i32 %127, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
128: ; preds = %3
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
129: ; preds = %3
%130 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%131 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %130)
%132 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %131, i32 2)
%133 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%134 = add nsw i32 %133, %132
store i32 %134, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%135 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%136 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getbuilt to i32 (i32, ...)*)(i32 %135)
%137 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @cardcounter to i32 (i32, i32, ...)*)(i32 %136, i32 2)
%138 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%139 = add nsw i32 %138, %137
store i32 %139, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
140: ; preds = %3
%141 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_geteast to i32 (i32, ...)*)(i32 %2)
%142 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %141)
%143 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%144 = add nsw i32 %143, %142
store i32 %144, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%145 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwest to i32 (i32, ...)*)(i32 %2)
%146 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %145)
%147 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%148 = add nsw i32 %147, %146
store i32 %148, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%149 = tail call i32 (i32, ...) bitcast (i32 (...)* @data_getwonderstages to i32 (i32, ...)*)(i32 %2)
%150 = load i32, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
%151 = add nsw i32 %150, %149
store i32 %151, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
152: ; preds = %3
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 2)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 1)
store i32 0, i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
br label %153
153: ; preds = %152, %140, %129, %128, %115, %106, %95, %84, %73, %61, %50, %47, %43, %40, %37, %21, %6
ret i32* getelementptr inbounds ([3 x i32], [3 x i32]* @get_special.ret, i64 0, i64 0)
}