int main() {
  if (test__fixxfti(0.0, 0))
    return 1;
  if (test__fixxfti(0.5, 0))
    return 1;
  if (test__fixxfti(0.99, 0))
    return 1;
  if (test__fixxfti(1.0, 1))
    return 1;
  if (test__fixxfti(1.5, 1))
    return 1;
  if (test__fixxfti(1.99, 1))
    return 1;
  if (test__fixxfti(2.0, 2))
    return 1;
  if (test__fixxfti(2.01, 2))
    return 1;
  if (test__fixxfti(-0.5, 0))
    return 1;
  if (test__fixxfti(-0.99, 0))
    return 1;
  if (test__fixxfti(-1.0, -1))
    return 1;
  if (test__fixxfti(-1.5, -1))
    return 1;
  if (test__fixxfti(-1.99, -1))
    return 1;
  if (test__fixxfti(-2.0, -2))
    return 1;
  if (test__fixxfti(-2.01, -2))
    return 1;
  if (test__fixxfti(0x1.FFFFFEp+62, 0x7FFFFF8000000000LL))
    return 1;
  if (test__fixxfti(0x1.FFFFFCp+62, 0x7FFFFF0000000000LL))
    return 1;
  if (test__fixxfti(-0x1.FFFFFEp+62,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000008000000000LL)))
    return 1;
  if (test__fixxfti(-0x1.FFFFFCp+62,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000010000000000LL)))
    return 1;
  if (test__fixxfti(0x1.FFFFFFFFFFFFFp+62, 0x7FFFFFFFFFFFFC00LL))
    return 1;
  if (test__fixxfti(0x1.FFFFFFFFFFFFEp+62, 0x7FFFFFFFFFFFF800LL))
    return 1;
  if (test__fixxfti(-0x1.FFFFFFFFFFFFFp+62,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000000000000400LL)))
    return 1;
  if (test__fixxfti(-0x1.FFFFFFFFFFFFEp+62,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000000000000800LL)))
    return 1;
  if (test__fixxfti(0x1.FFFFFFFFFFFFFFFCp+62L, 0x7FFFFFFFFFFFFFFFLL))
    return 1;
  if (test__fixxfti(0x1.FFFFFFFFFFFFFFF8p+62L, 0x7FFFFFFFFFFFFFFELL))
    return 1;
  if (test__fixxfti(-0x1.0000000000000000p+63L,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000000000000000LL)))
    return 1;
  if (test__fixxfti(-0x1.FFFFFFFFFFFFFFFCp+62L,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000000000000001LL)))
    return 1;
  if (test__fixxfti(-0x1.FFFFFFFFFFFFFFF8p+62L,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000000000000002LL)))
    return 1;
  if (test__fixxfti(0x1.FFFFFFFFFFFFFFFEp+126L,
                    make_ti(0x7FFFFFFFFFFFFFFFLL, 0x8000000000000000LL)))
    return 1;
  if (test__fixxfti(0x1.FFFFFFFFFFFFFFFCp+126L,
                    make_ti(0x7FFFFFFFFFFFFFFFLL, 0x0000000000000000LL)))
    return 1;
  if (test__fixxfti(-0x1.0000000000000000p+127L,
                    make_ti(0x8000000000000000LL, 0x0000000000000000LL)))
    return 1;
  if (test__fixxfti(-0x1.FFFFFFFFFFFFFFFEp+126L,
                    make_ti(0x8000000000000000LL, 0x8000000000000000LL)))
    return 1;
  if (test__fixxfti(-0x1.FFFFFFFFFFFFFFFCp+126L,
                    make_ti(0x8000000000000001LL, 0x0000000000000000LL)))
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1150 <main+0x30>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xea8(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1176 <main+0x56>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xe8a(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     119c <main+0x7c>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xe6c(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     11c5 <main+0xa5>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xe4b(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     11ee <main+0xce>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xe2a(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1217 <main+0xf7>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xe09(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1240 <main+0x120>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xde8(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1269 <main+0x149>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xdc7(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     128f <main+0x16f>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xda9(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     12b5 <main+0x195>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xd8b(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     12de <main+0x1be>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xd6a(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1307 <main+0x1e7>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xd49(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1330 <main+0x210>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xd28(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1359 <main+0x239>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xd07(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1382 <main+0x262>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xce6(%rip),%xmm0
movabs $0x7fffff8000000000,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     13b0 <main+0x290>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xcc0(%rip),%xmm0
movabs $0x7fffff0000000000,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     13de <main+0x2be>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000008000000000,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xc80(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     141c <main+0x2fc>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000010000000000,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xc4a(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     145a <main+0x33a>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xc2e(%rip),%xmm0
movabs $0x7ffffffffffffc00,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1488 <main+0x368>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movsd  0xc08(%rip),%xmm0
movabs $0x7ffffffffffff800,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     14b6 <main+0x396>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000000000000400,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xbc8(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     14f4 <main+0x3d4>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000000000000800,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xb92(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1532 <main+0x412>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    %rsp,%rax
fldt   0xb75(%rip)
fstpt  (%rax)
xor    %eax,%eax
movabs $0x7fffffffffffffff,%rdi
ff ff 7f
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1563 <main+0x443>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    %rsp,%rax
fldt   0xb54(%rip)
fstpt  (%rax)
xor    %eax,%eax
movabs $0x7ffffffffffffffe,%rdi
ff ff 7f
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1594 <main+0x474>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000000000000000,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
flds   0xb79(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     15d5 <main+0x4b5>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000000000000001,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
fldt   0xad8(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1616 <main+0x4f6>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000000000000002,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
fldt   0xaa7(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1657 <main+0x537>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movabs $0x7fffffffffffffff,%rdi
ff ff 7f
movabs $0x8000000000000000,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
fldt   0xa73(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     169b <main+0x57b>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movabs $0x7fffffffffffffff,%rdi
ff ff 7f
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
fldt   0xa45(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     16d9 <main+0x5b9>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movabs $0x8000000000000000,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
flds   0xa3b(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1717 <main+0x5f7>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movabs $0x8000000000000000,%rsi
mov    %rsi,%rdi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
fldt   0x9da(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1754 <main+0x634>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movabs $0x8000000000000001,%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
mov    %rsp,%rax
fldt   0x9ac(%rip)
fstpt  (%rax)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
cmp    $0x0,%eax
je     1792 <main+0x672>
movl   $0x1,-0x4(%rbp)
jmp    1799 <main+0x679>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x18,%rsp
xorps  %xmm0,%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
mov    $0x1,%ebx
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xeb4(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xea3(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe92(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe79(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe60(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe47(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe33(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe1f(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xe0e(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xdfd(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xde9(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xdd5(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xdc1(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xdad(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xd99(%rip),%xmm0
movabs $0x7fffff8000000000,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movsd  0xd80(%rip),%xmm0
movabs $0x7fffff0000000000,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movabs $0x8000008000000000,%rsi
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xd4f(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movabs $0x8000010000000000,%rsi
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xd26(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
movabs $0x8000000000000000,%r14
lea    -0x400(%r14),%rdi
movsd  0xd04(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    -0x800(%r14),%rdi
movsd  0xcee(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    0x400(%r14),%rsi
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xcca(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    0x800(%r14),%rsi
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xca4(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    -0x1(%r14),%r12
fldt   0xc91(%rip)
fstpt  (%rsp)
mov    %r12,%rdi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    -0x2(%r14),%rdi
fldt   0xc82(%rip)
fstpt  (%rsp)
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
mov    $0xffffffffffffffff,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <make_ti@plt>
flds   0xcc9(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    0x1(%r14),%r15
mov    $0xffffffffffffffff,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <make_ti@plt>
fldt   0xc3a(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
lea    0x2(%r14),%rsi
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
call   1040 <make_ti@plt>
fldt   0xc1e(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
mov    %r12,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <make_ti@plt>
fldt   0xc07(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
fldt   0xbf1(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
flds   0xc03(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
mov    %r14,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <make_ti@plt>
fldt   0xbbc(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
test   %eax,%eax
jne    1589 <main+0x469>
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
fldt   0xbaa(%rip)
fstpt  (%rsp)
mov    %eax,%edi
xor    %eax,%eax
call   1030 <test__fixxfti@plt>
xor    %ebx,%ebx
test   %eax,%eax
setne  %bl
mov    %ebx,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0.000000e+00, i32 0)
%3 = icmp ne i32 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, i32* %1
br label %146
5: ; preds = %0
%6 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 5.000000e-01, i32 0)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, i32* %1
br label %146
9: ; preds = %5
%10 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0x3FEFAE147AE147AE, i32 0)
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, i32* %1
br label %146
13: ; preds = %9
%14 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 1.000000e+00, i32 1)
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, i32* %1
br label %146
17: ; preds = %13
%18 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 1.500000e+00, i32 1)
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, i32* %1
br label %146
21: ; preds = %17
%22 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 1.990000e+00, i32 1)
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, i32* %1
br label %146
25: ; preds = %21
%26 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 2.000000e+00, i32 2)
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, i32* %1
br label %146
29: ; preds = %25
%30 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 2.010000e+00, i32 2)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 1, i32* %1
br label %146
33: ; preds = %29
%34 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -5.000000e-01, i32 0)
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 1, i32* %1
br label %146
37: ; preds = %33
%38 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xBFEFAE147AE147AE, i32 0)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %37
store i32 1, i32* %1
br label %146
41: ; preds = %37
%42 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -1.000000e+00, i32 -1)
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 1, i32* %1
br label %146
45: ; preds = %41
%46 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -1.500000e+00, i32 -1)
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %45
store i32 1, i32* %1
br label %146
49: ; preds = %45
%50 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -1.990000e+00, i32 -1)
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, i32* %1
br label %146
53: ; preds = %49
%54 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -2.000000e+00, i32 -2)
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 1, i32* %1
br label %146
57: ; preds = %53
%58 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -2.010000e+00, i32 -2)
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 1, i32* %1
br label %146
61: ; preds = %57
%62 = call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFE0000000, i64 9223371487098961920)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 1, i32* %1
br label %146
65: ; preds = %61
%66 = call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFC0000000, i64 9223370937343148032)
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %65
store i32 1, i32* %1
br label %146
69: ; preds = %65
%70 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223371487098961920)
%71 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFE0000000, i32 %70)
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %69
store i32 1, i32* %1
br label %146
74: ; preds = %69
%75 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223370937343148032)
%76 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFC0000000, i32 %75)
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %79
78: ; preds = %74
store i32 1, i32* %1
br label %146
79: ; preds = %74
%80 = call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFFFFFFFFF, i64 9223372036854774784)
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %79
store i32 1, i32* %1
br label %146
83: ; preds = %79
%84 = call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFFFFFFFFE, i64 9223372036854773760)
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %83
store i32 1, i32* %1
br label %146
87: ; preds = %83
%88 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854774784)
%89 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFFFFFFFFF, i32 %88)
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
store i32 1, i32* %1
br label %146
92: ; preds = %87
%93 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854773760)
%94 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFFFFFFFFE, i32 %93)
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %92
store i32 1, i32* %1
br label %146
97: ; preds = %92
%98 = call i32 (x86_fp80, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i64, ...)*)(x86_fp80 0xK403DFFFFFFFFFFFFFFFE, i64 9223372036854775807)
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %97
store i32 1, i32* %1
br label %146
101: ; preds = %97
%102 = call i32 (x86_fp80, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i64, ...)*)(x86_fp80 0xK403DFFFFFFFFFFFFFFFC, i64 9223372036854775806)
%103 = icmp ne i32 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %101
store i32 1, i32* %1
br label %146
105: ; preds = %101
%106 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854775808)
%107 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC03E8000000000000000, i32 %106)
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %110
109: ; preds = %105
store i32 1, i32* %1
br label %146
110: ; preds = %105
%111 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854775807)
%112 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC03DFFFFFFFFFFFFFFFE, i32 %111)
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %115
114: ; preds = %110
store i32 1, i32* %1
br label %146
115: ; preds = %110
%116 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854775806)
%117 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC03DFFFFFFFFFFFFFFFC, i32 %116)
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %115
store i32 1, i32* %1
br label %146
120: ; preds = %115
%121 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 9223372036854775807, i64 -9223372036854775808)
%122 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xK407DFFFFFFFFFFFFFFFF, i32 %121)
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %120
store i32 1, i32* %1
br label %146
125: ; preds = %120
%126 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 9223372036854775807, i64 0)
%127 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xK407DFFFFFFFFFFFFFFFE, i32 %126)
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %130
129: ; preds = %125
store i32 1, i32* %1
br label %146
130: ; preds = %125
%131 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -9223372036854775808, i64 0)
%132 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC07E8000000000000000, i32 %131)
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %135
134: ; preds = %130
store i32 1, i32* %1
br label %146
135: ; preds = %130
%136 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -9223372036854775808, i64 -9223372036854775808)
%137 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC07DFFFFFFFFFFFFFFFF, i32 %136)
%138 = icmp ne i32 %137, 0
br i1 %138, label %139, label %140
139: ; preds = %135
store i32 1, i32* %1
br label %146
140: ; preds = %135
%141 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -9223372036854775807, i64 0)
%142 = call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC07DFFFFFFFFFFFFFFFE, i32 %141)
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %145
144: ; preds = %140
store i32 1, i32* %1
br label %146
145: ; preds = %140
store i32 0, i32* %1
br label %146
146: ; preds = %145, %144, %139, %134, %129, %124, %119, %114, %109, %104, %100, %96, %91, %86, %82, %78, %73, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8, %4
%147 = load i32, i32* %1
ret i32 %147
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0.000000e+00, i32 0)
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %112
3: ; preds = %0
%4 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 5.000000e-01, i32 0)
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %112
6: ; preds = %3
%7 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0x3FEFAE147AE147AE, i32 0)
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %112
9: ; preds = %6
%10 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 1.000000e+00, i32 1)
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %112
12: ; preds = %9
%13 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 1.500000e+00, i32 1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %112
15: ; preds = %12
%16 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 1.990000e+00, i32 1)
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %112
18: ; preds = %15
%19 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 2.000000e+00, i32 2)
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %112
21: ; preds = %18
%22 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 2.010000e+00, i32 2)
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %112
24: ; preds = %21
%25 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -5.000000e-01, i32 0)
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %112
27: ; preds = %24
%28 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xBFEFAE147AE147AE, i32 0)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %112
30: ; preds = %27
%31 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -1.000000e+00, i32 -1)
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %112
33: ; preds = %30
%34 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -1.500000e+00, i32 -1)
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %112
36: ; preds = %33
%37 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -1.990000e+00, i32 -1)
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %112
39: ; preds = %36
%40 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -2.000000e+00, i32 -2)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %112
42: ; preds = %39
%43 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double -2.010000e+00, i32 -2)
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %112
45: ; preds = %42
%46 = tail call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFE0000000, i64 9223371487098961920)
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %112
48: ; preds = %45
%49 = tail call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFC0000000, i64 9223370937343148032)
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %112
51: ; preds = %48
%52 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223371487098961920)
%53 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFE0000000, i32 %52)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %112
55: ; preds = %51
%56 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223370937343148032)
%57 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFC0000000, i32 %56)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %112
59: ; preds = %55
%60 = tail call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFFFFFFFFF, i64 9223372036854774784)
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %112
62: ; preds = %59
%63 = tail call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i64, ...)*)(double 0x43DFFFFFFFFFFFFE, i64 9223372036854773760)
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %112
65: ; preds = %62
%66 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854774784)
%67 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFFFFFFFFF, i32 %66)
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %112
69: ; preds = %65
%70 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854773760)
%71 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFFFFFFFFE, i32 %70)
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %112
73: ; preds = %69
%74 = tail call i32 (x86_fp80, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i64, ...)*)(x86_fp80 0xK403DFFFFFFFFFFFFFFFE, i64 9223372036854775807)
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %112
76: ; preds = %73
%77 = tail call i32 (x86_fp80, i64, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i64, ...)*)(x86_fp80 0xK403DFFFFFFFFFFFFFFFC, i64 9223372036854775806)
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %112
79: ; preds = %76
%80 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854775808)
%81 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC03E8000000000000000, i32 %80)
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %112
83: ; preds = %79
%84 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854775807)
%85 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC03DFFFFFFFFFFFFFFFE, i32 %84)
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %112
87: ; preds = %83
%88 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223372036854775806)
%89 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC03DFFFFFFFFFFFFFFFC, i32 %88)
%90 = icmp eq i32 %89, 0
br i1 %90, label %91, label %112
91: ; preds = %87
%92 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 9223372036854775807, i64 -9223372036854775808)
%93 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xK407DFFFFFFFFFFFFFFFF, i32 %92)
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %112
95: ; preds = %91
%96 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 9223372036854775807, i64 0)
%97 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xK407DFFFFFFFFFFFFFFFE, i32 %96)
%98 = icmp eq i32 %97, 0
br i1 %98, label %99, label %112
99: ; preds = %95
%100 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -9223372036854775808, i64 0)
%101 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC07E8000000000000000, i32 %100)
%102 = icmp eq i32 %101, 0
br i1 %102, label %103, label %112
103: ; preds = %99
%104 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -9223372036854775808, i64 -9223372036854775808)
%105 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC07DFFFFFFFFFFFFFFFF, i32 %104)
%106 = icmp eq i32 %105, 0
br i1 %106, label %107, label %112
107: ; preds = %103
%108 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -9223372036854775807, i64 0)
%109 = tail call i32 (x86_fp80, i32, ...) bitcast (i32 (...)* @test__fixxfti to i32 (x86_fp80, i32, ...)*)(x86_fp80 0xKC07DFFFFFFFFFFFFFFFE, i32 %108)
%110 = icmp ne i32 %109, 0
%111 = zext i1 %110 to i32
br label %112
112: ; preds = %107, %103, %99, %95, %91, %87, %83, %79, %76, %73, %69, %65, %62, %59, %55, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %3, %0
%113 = phi i32 [ 1, %0 ], [ 1, %3 ], [ 1, %6 ], [ 1, %9 ], [ 1, %12 ], [ 1, %15 ], [ 1, %18 ], [ 1, %21 ], [ 1, %24 ], [ 1, %27 ], [ 1, %30 ], [ 1, %33 ], [ 1, %36 ], [ 1, %39 ], [ 1, %42 ], [ 1, %45 ], [ 1, %48 ], [ 1, %51 ], [ 1, %55 ], [ 1, %59 ], [ 1, %62 ], [ 1, %65 ], [ 1, %69 ], [ 1, %73 ], [ 1, %76 ], [ 1, %79 ], [ 1, %83 ], [ 1, %87 ], [ 1, %91 ], [ 1, %95 ], [ 1, %99 ], [ 1, %103 ], [ %111, %107 ]
ret i32 %113
}