int main() {
  do {
    do {
      static const _Complex double foo =
          (_Complex double)(3. + 4.i) * (_Complex double)(2);
      if (foo != (_Complex double)(6 + 8i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex double)(3. + 4.i) * (_Complex double)(2) !=
          (_Complex double)(6 + 8i))
        link_error(64);
    } while (0);
    do {
      volatile _Complex double foo;
      foo = (_Complex double)(3. + 4.i);
      foo *= (_Complex double)(2);
      if (foo != (_Complex double)(6 + 8i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex double foo =
          (_Complex double)(3. + 4.i) / (_Complex double)(2);
      if (foo != (_Complex double)(1.5 + 2i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex double)(3. + 4.i) / (_Complex double)(2) !=
          (_Complex double)(1.5 + 2i))
        link_error(65);
    } while (0);
    do {
      volatile _Complex double foo;
      foo = (_Complex double)(3. + 4.i);
      foo /= (_Complex double)(2);
      if (foo != (_Complex double)(1.5 + 2i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex int foo =
          (_Complex int)(3 + 4i) * (_Complex int)(2);
      if (foo != (_Complex int)(6 + 8i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex int)(3 + 4i) * (_Complex int)(2) != (_Complex int)(6 + 8i))
        link_error(66);
    } while (0);
    do {
      volatile _Complex int foo;
      foo = (_Complex int)(3 + 4i);
      foo *= (_Complex int)(2);
      if (foo != (_Complex int)(6 + 8i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex int foo =
          (_Complex int)(3 + 4i) / (_Complex int)(2);
      if (foo != (_Complex int)(1 + 2i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex int)(3 + 4i) / (_Complex int)(2) != (_Complex int)(1 + 2i))
        link_error(67);
    } while (0);
    do {
      volatile _Complex int foo;
      foo = (_Complex int)(3 + 4i);
      foo /= (_Complex int)(2);
      if (foo != (_Complex int)(1 + 2i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex double foo =
          (_Complex double)(3. + 4.i) * (_Complex double)(2 + 5i);
      if (foo != (_Complex double)(-14 + 23i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex double)(3. + 4.i) * (_Complex double)(2 + 5i) !=
          (_Complex double)(-14 + 23i))
        link_error(69);
    } while (0);
    do {
      volatile _Complex double foo;
      foo = (_Complex double)(3. + 4.i);
      foo *= (_Complex double)(2 + 5i);
      if (foo != (_Complex double)(-14 + 23i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex double foo =
          (_Complex double)(3. + 4.i) / (_Complex double)(5i);
      if (foo != (_Complex double)(.8 - .6i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex double)(3. + 4.i) / (_Complex double)(5i) !=
          (_Complex double)(.8 - .6i))
        link_error(70);
    } while (0);
    do {
      volatile _Complex double foo;
      foo = (_Complex double)(3. + 4.i);
      foo /= (_Complex double)(5i);
      if (foo != (_Complex double)(.8 - .6i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex int foo =
          (_Complex int)(3 + 4i) * (_Complex int)(2 + 5i);
      if (foo != (_Complex int)(-14 + 23i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex int)(3 + 4i) * (_Complex int)(2 + 5i) !=
          (_Complex int)(-14 + 23i))
        link_error(71);
    } while (0);
    do {
      volatile _Complex int foo;
      foo = (_Complex int)(3 + 4i);
      foo *= (_Complex int)(2 + 5i);
      if (foo != (_Complex int)(-14 + 23i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex int foo =
          (_Complex int)(30 + 40i) / (_Complex int)(5i);
      if (foo != (_Complex int)(8 - 6i))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex int)(30 + 40i) / (_Complex int)(5i) !=
          (_Complex int)(8 - 6i))
        link_error(72);
    } while (0);
    do {
      volatile _Complex int foo;
      foo = (_Complex int)(30 + 40i);
      foo /= (_Complex int)(5i);
      if (foo != (_Complex int)(8 - 6i))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex int foo =
          (_Complex int)(14 + 6i) / (_Complex int)(7 + 3i);
      if (foo != (_Complex int)(2))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex int)(14 + 6i) / (_Complex int)(7 + 3i) != (_Complex int)(2))
        link_error(73);
    } while (0);
    do {
      volatile _Complex int foo;
      foo = (_Complex int)(14 + 6i);
      foo /= (_Complex int)(7 + 3i);
      if (foo != (_Complex int)(2))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex int foo =
          (_Complex int)(8 + 24i) / (_Complex int)(4 + 12i);
      if (foo != (_Complex int)(2))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex int)(8 + 24i) / (_Complex int)(4 + 12i) !=
          (_Complex int)(2))
        link_error(74);
    } while (0);
    do {
      volatile _Complex int foo;
      foo = (_Complex int)(8 + 24i);
      foo /= (_Complex int)(4 + 12i);
      if (foo != (_Complex int)(2))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    do {
      static const _Complex double foo =
          (_Complex double)((
              ((double)1.79769313486231570814527423731704357e+308L) * 0.5 +
              ((double)1.79769313486231570814527423731704357e+308L) * 0.5i)) /
          (_Complex double)((
              ((double)1.79769313486231570814527423731704357e+308L) * 0.25 +
              ((double)1.79769313486231570814527423731704357e+308L) * 0.25i));
      if (foo != (_Complex double)(2))
        __builtin_abort();
    } while (0);
    do {
      if ((_Complex double)((
              ((double)1.79769313486231570814527423731704357e+308L) * 0.5 +
              ((double)1.79769313486231570814527423731704357e+308L) * 0.5i)) /
              (_Complex double)((
                  ((double)1.79769313486231570814527423731704357e+308L) * 0.25 +
                  ((double)1.79769313486231570814527423731704357e+308L) *
                      0.25i)) !=
          (_Complex double)(2))
        link_error(77);
    } while (0);
    do {
      volatile _Complex double foo;
      foo = (_Complex double)((
          ((double)1.79769313486231570814527423731704357e+308L) * 0.5 +
          ((double)1.79769313486231570814527423731704357e+308L) * 0.5i));
      foo /= (_Complex double)((
          ((double)1.79769313486231570814527423731704357e+308L) * 0.25 +
          ((double)1.79769313486231570814527423731704357e+308L) * 0.25i));
      if (foo != (_Complex double)(2))
        __builtin_abort();
    } while (0);
  } while (0);
  do {
    if ((_Complex double)((
            1 + ((double)2.22044604925031308084726333618164062e-16L) + 1i)) *
            (_Complex double)((
                1 - ((double)2.22044604925031308084726333618164062e-16L) +
                1i)) !=
        (_Complex double)(-4.93038065763132378382330353301741393545754021943139377981e-32 +
                          2i))
      link_error(84);
  } while (0);
  do {
    static const _Complex double foo =
        ((((_Complex double)__builtin_inf() * 1i)) *
         (((_Complex double)__builtin_inf() * 1i)));
    if (!__builtin_isinf(__real foo) && !__builtin_isinf(__imag foo))
      __builtin_abort();
    if (!__builtin_isinf(__real((((_Complex double)__builtin_inf() * 1i)) *
                                (((_Complex double)__builtin_inf() * 1i)))) &&
        !__builtin_isinf(__imag((((_Complex double)__builtin_inf() * 1i)) *
                                (((_Complex double)__builtin_inf() * 1i)))))
      __builtin_abort();
  } while (0);
  do {
    static const _Complex double foo =
        ((_Complex double)1 / (_Complex double)0);
    if (!__builtin_isinf(__real foo) && !__builtin_isinf(__imag foo))
      __builtin_abort();
    if (!__builtin_isinf(__real((_Complex double)1 / (_Complex double)0)) &&
        !__builtin_isinf(__imag((_Complex double)1 / (_Complex double)0)))
      __builtin_abort();
  } while (0);
  do {
    static const _Complex double foo =
        ((((_Complex double)__builtin_inf() * 1i)) / (_Complex double)1);
    if (!__builtin_isinf(__real foo) && !__builtin_isinf(__imag foo))
      __builtin_abort();
    if (!__builtin_isinf(__real((((_Complex double)__builtin_inf() * 1i)) /
                                (_Complex double)1)) &&
        !__builtin_isinf(__imag((((_Complex double)__builtin_inf() * 1i)) /
                                (_Complex double)1)))
      __builtin_abort();
  } while (0);
  do {
    volatile _Complex double foo;
    foo = (_Complex double)(1);
    foo /= (_Complex double)(((_Complex double)__builtin_inf() * 1i));
    if (foo != (_Complex double)(0))
      __builtin_abort();
  } while (0);
  do {
    static const _Complex double foo =
        (_Complex double)(1) /
        (_Complex double)(((_Complex double)__builtin_inf() * 1i));
    if (foo != (_Complex double)(0))
      __builtin_abort();
  } while (0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
movl   $0x0,-0x4(%rbp)
jmp    1127 <main+0x17>
jmp    112c <main+0x1c>
jmp    1131 <main+0x21>
jmp    1136 <main+0x26>
jmp    113b <main+0x2b>
movsd  0x1ecd(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x1eb8(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x18(%rbp),%xmm1
movsd  %xmm1,-0xc8(%rbp)
ff
movsd  -0x10(%rbp),%xmm2
movsd  %xmm2,-0xc0(%rbp)
ff
movsd  0x1e89(%rip),%xmm3
movaps %xmm1,%xmm0
mulsd  %xmm3,%xmm0
xorps  %xmm4,%xmm4
movaps %xmm2,%xmm3
mulsd  %xmm4,%xmm3
xorps  %xmm4,%xmm4
mulsd  %xmm4,%xmm1
movsd  0x1e69(%rip),%xmm4
mulsd  %xmm4,%xmm2
subsd  %xmm3,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
addsd  %xmm2,%xmm1
movsd  %xmm1,-0xb0(%rbp)
ff
ucomisd %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  %xmm1,-0xa0(%rbp)
ff
jnp    1227 <main+0x117>
movsd  -0xb0(%rbp),%xmm1
ff
movsd  -0xb8(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm1
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  %xmm1,-0xa0(%rbp)
ff
jnp    1227 <main+0x117>
movsd  -0xc0(%rbp),%xmm1
ff
movsd  -0xc8(%rbp),%xmm0
ff
movsd  0x1df1(%rip),%xmm2
xorps  %xmm3,%xmm3
call   18d0 <__muldc3>
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  %xmm1,-0xa0(%rbp)
ff
movsd  -0xa8(%rbp),%xmm1
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  -0x18(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm0
movsd  0x1dcd(%rip),%xmm2
ucomisd %xmm2,%xmm1
setne  %al
setp   %cl
or     %cl,%al
movsd  0x1db1(%rip),%xmm1
ucomisd %xmm1,%xmm0
setne  %cl
setp   %dl
or     %dl,%cl
or     %cl,%al
test   $0x1,%al
jne    1282 <main+0x172>
jmp    1287 <main+0x177>
call   1030 <abort@plt>
jmp    128c <main+0x17c>
jmp    1291 <main+0x181>
jmp    1296 <main+0x186>
jmp    129b <main+0x18b>
jmp    12a0 <main+0x190>
jmp    12a5 <main+0x195>
jmp    12aa <main+0x19a>
jmp    12af <main+0x19f>
movsd  0x1d59(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0x1d44(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  0x1d25(%rip),%xmm2
xorps  %xmm3,%xmm3
call   1b90 <__divdc3>
movsd  %xmm0,-0x28(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm0
movsd  0x1d29(%rip),%xmm2
ucomisd %xmm2,%xmm1
setne  %al
setp   %cl
or     %cl,%al
movsd  0x1ced(%rip),%xmm1
ucomisd %xmm1,%xmm0
setne  %cl
setp   %dl
or     %dl,%cl
or     %cl,%al
test   $0x1,%al
jne    132e <main+0x21e>
jmp    1333 <main+0x223>
call   1030 <abort@plt>
jmp    1338 <main+0x228>
jmp    133d <main+0x22d>
jmp    1342 <main+0x232>
jmp    1347 <main+0x237>
jmp    134c <main+0x23c>
jmp    1351 <main+0x241>
jmp    1356 <main+0x246>
jmp    135b <main+0x24b>
movl   $0x3,-0x30(%rbp)
movl   $0x4,-0x2c(%rbp)
mov    -0x30(%rbp),%edx
mov    -0x2c(%rbp),%eax
mov    %edx,%ecx
shl    $0x1,%ecx
imul   $0x0,%eax,%esi
sub    %esi,%ecx
shl    $0x1,%eax
imul   $0x0,%edx,%edx
add    %edx,%eax
mov    %ecx,-0x30(%rbp)
mov    %eax,-0x2c(%rbp)
mov    -0x30(%rbp),%eax
mov    -0x2c(%rbp),%ecx
cmp    $0x6,%eax
setne  %al
cmp    $0x8,%ecx
setne  %cl
or     %cl,%al
test   $0x1,%al
jne    13a8 <main+0x298>
jmp    13ad <main+0x29d>
call   1030 <abort@plt>
jmp    13b2 <main+0x2a2>
jmp    13b7 <main+0x2a7>
jmp    13bc <main+0x2ac>
jmp    13c1 <main+0x2b1>
jmp    13c6 <main+0x2b6>
jmp    13cb <main+0x2bb>
jmp    13d0 <main+0x2c0>
jmp    13d5 <main+0x2c5>
movl   $0x3,-0x38(%rbp)
movl   $0x4,-0x34(%rbp)
mov    -0x38(%rbp),%edx
mov    -0x34(%rbp),%ecx
mov    %edx,%eax
shl    $0x1,%eax
imul   $0x0,%ecx,%esi
add    %esi,%eax
shl    $0x1,%ecx
imul   $0x0,%edx,%edx
sub    %edx,%ecx
mov    %ecx,-0xcc(%rbp)
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0xcc(%rbp),%eax
mov    $0x4,%esi
cltd
idiv   %esi
mov    %ecx,-0x38(%rbp)
mov    %eax,-0x34(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x34(%rbp),%ecx
cmp    $0x1,%eax
setne  %al
cmp    $0x2,%ecx
setne  %cl
or     %cl,%al
test   $0x1,%al
jne    1440 <main+0x330>
jmp    1445 <main+0x335>
call   1030 <abort@plt>
jmp    144a <main+0x33a>
jmp    144f <main+0x33f>
jmp    1454 <main+0x344>
jmp    1459 <main+0x349>
jmp    145e <main+0x34e>
jmp    1463 <main+0x353>
jmp    1468 <main+0x358>
jmp    146d <main+0x35d>
movsd  0x1b9b(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0x1b86(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  %xmm1,-0x100(%rbp)
ff
movsd  -0x40(%rbp),%xmm2
movsd  %xmm2,-0xf8(%rbp)
ff
movsd  0x1b57(%rip),%xmm3
movaps %xmm1,%xmm0
mulsd  %xmm3,%xmm0
movsd  0x1b78(%rip),%xmm4
movaps %xmm2,%xmm3
mulsd  %xmm4,%xmm3
movsd  0x1b69(%rip),%xmm4
mulsd  %xmm4,%xmm1
movsd  0x1b2d(%rip),%xmm4
mulsd  %xmm4,%xmm2
subsd  %xmm3,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
addsd  %xmm2,%xmm1
movsd  %xmm1,-0xe8(%rbp)
ff
ucomisd %xmm0,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  %xmm1,-0xd8(%rbp)
ff
jnp    1568 <main+0x458>
movsd  -0xe8(%rbp),%xmm1
ff
movsd  -0xf0(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm1
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  %xmm1,-0xd8(%rbp)
ff
jnp    1568 <main+0x458>
movsd  -0xf8(%rbp),%xmm1
ff
movsd  -0x100(%rbp),%xmm0
ff
movsd  0x1ab5(%rip),%xmm2
movsd  0x1add(%rip),%xmm3
call   18d0 <__muldc3>
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  %xmm1,-0xd8(%rbp)
ff
movsd  -0xe0(%rbp),%xmm1
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm1,-0x48(%rbp)
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
movsd  0x1aac(%rip),%xmm2
ucomisd %xmm2,%xmm1
setne  %al
setp   %cl
or     %cl,%al
movsd  0x1a90(%rip),%xmm1
ucomisd %xmm1,%xmm0
setne  %cl
setp   %dl
or     %dl,%cl
or     %cl,%al
test   $0x1,%al
jne    15c3 <main+0x4b3>
jmp    15c8 <main+0x4b8>
call   1030 <abort@plt>
jmp    15cd <main+0x4bd>
jmp    15d2 <main+0x4c2>
jmp    15d7 <main+0x4c7>
jmp    15dc <main+0x4cc>
jmp    15e1 <main+0x4d1>
jmp    15e6 <main+0x4d6>
jmp    15eb <main+0x4db>
jmp    15f0 <main+0x4e0>
movsd  0x1a18(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0x1a03(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
xorps  %xmm2,%xmm2
movsd  0x1a11(%rip),%xmm3
call   1b90 <__divdc3>
movsd  %xmm0,-0x58(%rbp)
movsd  %xmm1,-0x50(%rbp)
movsd  -0x58(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  0x1a10(%rip),%xmm2
ucomisd %xmm2,%xmm1
setne  %al
setp   %cl
or     %cl,%al
movsd  0x19f4(%rip),%xmm1
ucomisd %xmm1,%xmm0
setne  %cl
setp   %dl
or     %dl,%cl
or     %cl,%al
test   $0x1,%al
jne    166f <main+0x55f>
jmp    1674 <main+0x564>
call   1030 <abort@plt>
jmp    1679 <main+0x569>
jmp    167e <main+0x56e>
jmp    1683 <main+0x573>
jmp    1688 <main+0x578>
jmp    168d <main+0x57d>
jmp    1692 <main+0x582>
jmp    1697 <main+0x587>
jmp    169c <main+0x58c>
movl   $0x3,-0x60(%rbp)
movl   $0x4,-0x5c(%rbp)
mov    -0x60(%rbp),%edx
mov    -0x5c(%rbp),%eax
mov    %edx,%ecx
shl    $0x1,%ecx
imul   $0x5,%eax,%esi
sub    %esi,%ecx
shl    $0x1,%eax
imul   $0x5,%edx,%edx
add    %edx,%eax
mov    %ecx,-0x60(%rbp)
mov    %eax,-0x5c(%rbp)
mov    -0x60(%rbp),%eax
mov    -0x5c(%rbp),%ecx
cmp    $0xfffffff2,%eax
setne  %al
cmp    $0x17,%ecx
setne  %cl
or     %cl,%al
test   $0x1,%al
jne    16e9 <main+0x5d9>
jmp    16ee <main+0x5de>
call   1030 <abort@plt>
jmp    16f3 <main+0x5e3>
jmp    16f8 <main+0x5e8>
jmp    16fd <main+0x5ed>
jmp    1702 <main+0x5f2>
jmp    1707 <main+0x5f7>
jmp    170c <main+0x5fc>
jmp    1711 <main+0x601>
jmp    1716 <main+0x606>
movl   $0x1e,-0x68(%rbp)
movl   $0x28,-0x64(%rbp)
mov    -0x68(%rbp),%edx
mov    -0x64(%rbp),%ecx
imul   $0x0,%edx,%eax
imul   $0x5,%ecx,%esi
add    %esi,%eax
imul   $0x0,%ecx,%ecx
imul   $0x5,%edx,%edx
sub    %edx,%ecx
mov    %ecx,-0x104(%rbp)
mov    $0x19,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x104(%rbp),%eax
mov    $0x19,%esi
cltd
idiv   %esi
mov    %ecx,-0x68(%rbp)
mov    %eax,-0x64(%rbp)
mov    -0x68(%rbp),%eax
mov    -0x64(%rbp),%ecx
cmp    $0x8,%eax
setne  %al
cmp    $0xfffffffa,%ecx
setne  %cl
or     %cl,%al
test   $0x1,%al
jne    177f <main+0x66f>
jmp    1784 <main+0x674>
call   1030 <abort@plt>
jmp    1789 <main+0x679>
jmp    178e <main+0x67e>
jmp    1793 <main+0x683>
jmp    1798 <main+0x688>
jmp    179d <main+0x68d>
jmp    17a2 <main+0x692>
jmp    17a7 <main+0x697>
jmp    17ac <main+0x69c>
movl   $0xe,-0x70(%rbp)
movl   $0x6,-0x6c(%rbp)
mov    -0x70(%rbp),%edx
mov    -0x6c(%rbp),%ecx
imul   $0x7,%edx,%eax
imul   $0x3,%ecx,%esi
add    %esi,%eax
imul   $0x7,%ecx,%ecx
imul   $0x3,%edx,%edx
sub    %edx,%ecx
mov    %ecx,-0x108(%rbp)
mov    $0x3a,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x108(%rbp),%eax
mov    $0x3a,%esi
cltd
idiv   %esi
mov    %ecx,-0x70(%rbp)
mov    %eax,-0x6c(%rbp)
mov    -0x70(%rbp),%eax
mov    -0x6c(%rbp),%ecx
cmp    $0x2,%eax
setne  %al
cmp    $0x0,%ecx
setne  %cl
or     %cl,%al
test   $0x1,%al
jne    1815 <main+0x705>
jmp    181a <main+0x70a>
call   1030 <abort@plt>
jmp    181f <main+0x70f>
jmp    1824 <main+0x714>
jmp    1829 <main+0x719>
jmp    182e <main+0x71e>
jmp    1833 <main+0x723>
jmp    1838 <main+0x728>
jmp    183d <main+0x72d>
jmp    1842 <main+0x732>
movl   $0x8,-0x78(%rbp)
movl   $0x18,-0x74(%rbp)
mov    -0x78(%rbp),%edx
mov    -0x74(%rbp),%ecx
mov    %edx,%eax
shl    $0x2,%eax
imul   $0xc,%ecx,%esi
add    %esi,%eax
shl    $0x2,%ecx
imul   $0xc,%edx,%edx
sub    %edx,%ecx
mov    %ecx,-0x10c(%rbp)
mov    $0xa0,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x10c(%rbp),%eax
mov    $0xa0,%esi
cltd
idiv   %esi
mov    %ecx,-0x78(%rbp)
mov    %eax,-0x74(%rbp)
mov    -0x78(%rbp),%eax
mov    -0x74(%rbp),%ecx
cmp    $0x2,%eax
setne  %al
cmp    $0x0,%ecx
setne  %cl
or     %cl,%al
test   $0x1,%al
jne    18ad <main+0x79d>
jmp    18b2 <main+0x7a2>
call   1030 <abort@plt>
jmp    18b7 <main+0x7a7>
jmp    18bc <main+0x7ac>
jmp    18c1 <main+0x7b1>
jmp    18c6 <main+0x7b6>
call   1030 <abort@plt>
nopl   0x0(%rax,%rax,1)

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x18,%rsp
movabs $0x4008000000000000,%r14
mov    %r14,0x10(%rsp)
movabs $0x4010000000000000,%rbx
mov    %rbx,0x8(%rsp)
movsd  0x10(%rsp),%xmm4
movsd  0x8(%rsp),%xmm1
movapd %xmm4,%xmm0
addsd  %xmm4,%xmm0
xorpd  %xmm2,%xmm2
movapd %xmm1,%xmm3
mulsd  %xmm2,%xmm3
subsd  %xmm3,%xmm0
mulsd  %xmm4,%xmm2
movapd %xmm1,%xmm3
addsd  %xmm1,%xmm3
addsd  %xmm2,%xmm3
ucomisd %xmm0,%xmm0
jp     1550 <main+0x440>
movsd  %xmm0,0x10(%rsp)
movsd  %xmm3,0x8(%rsp)
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
ucomisd 0xe75(%rip),%xmm1
jne    154b <main+0x43b>
jp     154b <main+0x43b>
ucomisd 0xe69(%rip),%xmm0
jne    154b <main+0x43b>
jp     154b <main+0x43b>
mov    %r14,0x10(%rsp)
mov    %rbx,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
movsd  0xe2f(%rip),%xmm2
xorpd  %xmm3,%xmm3
call   1870 <__divdc3>
movsd  %xmm0,0x10(%rsp)
movsd  %xmm1,0x8(%rsp)
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
ucomisd 0xe1e(%rip),%xmm1
jne    154b <main+0x43b>
jp     154b <main+0x43b>
ucomisd 0xdf2(%rip),%xmm0
jne    154b <main+0x43b>
jp     154b <main+0x43b>
movl   $0x3,0x10(%rsp)
movl   $0x4,0x8(%rsp)
mov    0x10(%rsp),%eax
mov    0x8(%rsp),%ecx
add    %eax,%eax
add    %ecx,%ecx
mov    %eax,0x10(%rsp)
mov    %ecx,0x8(%rsp)
mov    0x10(%rsp),%ecx
mov    0x8(%rsp),%eax
cmp    $0x6,%ecx
jne    154b <main+0x43b>
cmp    $0x8,%eax
jne    154b <main+0x43b>
movl   $0x3,0x10(%rsp)
movl   $0x4,0x8(%rsp)
mov    0x10(%rsp),%eax
mov    0x8(%rsp),%ecx
lea    (%rax,%rax,1),%edx
add    $0x3,%edx
add    %eax,%eax
test   %eax,%eax
cmovns %eax,%edx
lea    (%rcx,%rcx,1),%eax
sar    $0x2,%edx
add    %ecx,%ecx
add    $0x3,%ecx
test   %eax,%eax
cmovns %eax,%ecx
sar    $0x2,%ecx
mov    %edx,0x10(%rsp)
mov    %ecx,0x8(%rsp)
mov    0x10(%rsp),%ecx
mov    0x8(%rsp),%eax
cmp    $0x1,%ecx
jne    154b <main+0x43b>
cmp    $0x2,%eax
jne    154b <main+0x43b>
mov    %r14,0x10(%rsp)
mov    %rbx,0x8(%rsp)
movsd  0x10(%rsp),%xmm4
movsd  0x8(%rsp),%xmm1
movapd %xmm4,%xmm0
addsd  %xmm4,%xmm0
movsd  0xd48(%rip),%xmm2
movapd %xmm1,%xmm3
mulsd  %xmm2,%xmm3
subsd  %xmm3,%xmm0
mulsd  %xmm4,%xmm2
movapd %xmm1,%xmm3
addsd  %xmm1,%xmm3
addsd  %xmm2,%xmm3
ucomisd %xmm0,%xmm0
jp     1578 <main+0x468>
movsd  %xmm0,0x10(%rsp)
movsd  %xmm3,0x8(%rsp)
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
ucomisd 0xd0a(%rip),%xmm1
jne    154b <main+0x43b>
jp     154b <main+0x43b>
ucomisd 0xcfe(%rip),%xmm0
jne    154b <main+0x43b>
jp     154b <main+0x43b>
mov    %r14,0x10(%rsp)
mov    %rbx,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
movsd  0xcc4(%rip),%xmm3
xorpd  %xmm2,%xmm2
call   1870 <__divdc3>
movsd  %xmm0,0x10(%rsp)
movsd  %xmm1,0x8(%rsp)
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
ucomisd 0xcb3(%rip),%xmm1
jne    154b <main+0x43b>
jp     154b <main+0x43b>
ucomisd 0xca7(%rip),%xmm0
jne    154b <main+0x43b>
jp     154b <main+0x43b>
movl   $0x3,0x10(%rsp)
movl   $0x4,0x8(%rsp)
mov    0x10(%rsp),%eax
mov    0x8(%rsp),%ecx
lea    (%rax,%rax,1),%edx
lea    (%rcx,%rcx,4),%esi
sub    %esi,%edx
lea    (%rax,%rax,4),%eax
lea    (%rax,%rcx,2),%eax
mov    %edx,0x10(%rsp)
mov    %eax,0x8(%rsp)
mov    0x10(%rsp),%ecx
mov    0x8(%rsp),%eax
cmp    $0xfffffff2,%ecx
jne    154b <main+0x43b>
cmp    $0x17,%eax
jne    154b <main+0x43b>
movl   $0x1e,0x10(%rsp)
movl   $0x28,0x8(%rsp)
mov    0x10(%rsp),%eax
mov    0x8(%rsp),%ecx
lea    (%rcx,%rcx,4),%ecx
lea    (%rax,%rax,4),%eax
neg    %eax
movslq %ecx,%rcx
imul   $0x51eb851f,%rcx,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rcx
add    %edx,%ecx
cltq
imul   $0x51eb851f,%rax,%rax
mov    %rax,%rdx
shr    $0x3f,%rdx
sar    $0x23,%rax
add    %edx,%eax
mov    %ecx,0x10(%rsp)
mov    %eax,0x8(%rsp)
mov    0x10(%rsp),%ecx
mov    0x8(%rsp),%eax
cmp    $0x8,%ecx
jne    154b <main+0x43b>
cmp    $0xfffffffa,%eax
jne    154b <main+0x43b>
movl   $0xe,0x10(%rsp)
movl   $0x6,0x8(%rsp)
mov    0x10(%rsp),%eax
mov    0x8(%rsp),%ecx
lea    0x0(,%rax,8),%edx
sub    %eax,%edx
lea    (%rcx,%rcx,2),%esi
add    %edx,%esi
lea    0x0(,%rcx,8),%edx
sub    %ecx,%edx
lea    (%rax,%rax,2),%eax
sub    %eax,%edx
movslq %esi,%rax
imul   $0xffffffff8d3dcb09,%rax,%rcx
shr    $0x20,%rcx
add    %ecx,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0x5,%eax
add    %ecx,%eax
movslq %edx,%rcx
imul   $0xffffffff8d3dcb09,%rcx,%rdx
shr    $0x20,%rdx
add    %edx,%ecx
mov    %ecx,%edx
shr    $0x1f,%edx
sar    $0x5,%ecx
add    %edx,%ecx
mov    %eax,0x10(%rsp)
mov    %ecx,0x8(%rsp)
mov    0x10(%rsp),%ecx
mov    0x8(%rsp),%eax
cmp    $0x2,%ecx
jne    154b <main+0x43b>
test   %eax,%eax
jne    154b <main+0x43b>
movl   $0x8,0x10(%rsp)
movl   $0x18,0x8(%rsp)
mov    0x10(%rsp),%eax
mov    0x8(%rsp),%ecx
shl    $0x2,%eax
lea    (%rcx,%rcx,2),%edx
lea    (%rax,%rdx,4),%edx
shl    $0x2,%ecx
lea    (%rax,%rax,2),%eax
sub    %eax,%ecx
movslq %edx,%rax
imul   $0x66666667,%rax,%rax
mov    %rax,%rdx
shr    $0x3f,%rdx
sar    $0x26,%rax
add    %edx,%eax
movslq %ecx,%rcx
imul   $0x66666667,%rcx,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x26,%rcx
add    %edx,%ecx
mov    %eax,0x10(%rsp)
mov    %ecx,0x8(%rsp)
mov    0x10(%rsp),%ecx
mov    0x8(%rsp),%eax
cmp    $0x2,%ecx
jne    154b <main+0x43b>
test   %eax,%eax
call   1030 <abort@plt>
ucomisd %xmm3,%xmm3
jnp    1173 <main+0x63>
movsd  0xa9e(%rip),%xmm2
xorpd  %xmm3,%xmm3
movapd %xmm4,%xmm0
call   15b0 <__muldc3>
movapd %xmm1,%xmm3
jmp    1173 <main+0x63>
ucomisd %xmm3,%xmm3
jnp    12fe <main+0x1ee>
movsd  0xa76(%rip),%xmm2
movsd  0xa8e(%rip),%xmm3
movapd %xmm4,%xmm0
call   15b0 <__muldc3>
movapd %xmm1,%xmm3
jmp    12fe <main+0x1ee>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax

LLVM IR (-O0):
@main.foo = internal constant { double, double } { double 6.000000e+00, double 8.000000e+00 }
@main.foo.1 = internal constant { double, double } { double 1.500000e+00, double 2.000000e+00 }
@main.foo.2 = internal constant { i32, i32 } { i32 6, i32 8 }
@main.foo.3 = internal constant { i32, i32 } { i32 1, i32 2 }
@main.foo.4 = internal constant { double, double } { double -1.400000e+01, double 2.300000e+01 }
@main.foo.5 = internal constant { double, double } { double 8.000000e-01, double -6.000000e-01 }
@main.foo.6 = internal constant { i32, i32 } { i32 -14, i32 23 }
@main.foo.7 = internal constant { i32, i32 } { i32 8, i32 -6 }
@main.foo.8 = internal constant { i32, i32 } { i32 2, i32 0 }
@main.foo.9 = internal constant { i32, i32 } { i32 2, i32 0 }
@main.foo.10 = internal constant { double, double } { double 0x7FF0000000000000, double 0.000000e+00 }
@main.foo.11 = internal constant { double, double } { double 0xFFF0000000000000, double 0x7FF8000000000000 }
@main.foo.12 = internal constant { double, double } { double 0x7FF0000000000000, double 0x7FF8000000000000 }
@main.foo.13 = internal constant { double, double } { double 0x7FF8000000000000, double 0x7FF0000000000000 }
@main.foo.14 = internal constant { double, double } { double 0.000000e+00, double -0.000000e+00 }
define i32 @main() {
%1 = alloca i32
%2 = alloca { double, double }
%3 = alloca { double, double }
%4 = alloca { i32, i32 }
%5 = alloca { i32, i32 }
%6 = alloca { double, double }
%7 = alloca { double, double }
%8 = alloca { i32, i32 }
%9 = alloca { i32, i32 }
%10 = alloca { i32, i32 }
%11 = alloca { i32, i32 }
%12 = alloca { double, double }
%13 = alloca { double, double }
store i32 0, i32* %1
br label %14
14: ; preds = %0
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
br label %17
17: ; preds = %16
br label %18
18: ; preds = %17
br label %19
19: ; preds = %18
%20 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 0
%21 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 1
store volatile double 3.000000e+00, double* %20
store volatile double 4.000000e+00, double* %21
%22 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 0
%23 = load volatile double, double* %22
%24 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 1
%25 = load volatile double, double* %24
%26 = fmul double %23, 2.000000e+00
%27 = fmul double %25, 0.000000e+00
%28 = fmul double %23, 0.000000e+00
%29 = fmul double %25, 2.000000e+00
%30 = fsub double %26, %27
%31 = fadd double %28, %29
%32 = fcmp uno double %30, %30
br i1 %32, label %33, label %39
33: ; preds = %19
%34 = fcmp uno double %31, %31
br i1 %34, label %35, label %39
35: ; preds = %33
%36 = call { double, double } @__muldc3(double %23, double %25, double 2.000000e+00, double 0.000000e+00)
%37 = extractvalue { double, double } %36, 0
%38 = extractvalue { double, double } %36, 1
br label %39
39: ; preds = %35, %33, %19
%40 = phi double [ %30, %19 ], [ %30, %33 ], [ %37, %35 ]
%41 = phi double [ %31, %19 ], [ %31, %33 ], [ %38, %35 ]
%42 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 0
%43 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 1
store volatile double %40, double* %42
store volatile double %41, double* %43
%44 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 0
%45 = load volatile double, double* %44
%46 = getelementptr inbounds { double, double }, { double, double }* %2, i32 0, i32 1
%47 = load volatile double, double* %46
%48 = fcmp une double %45, 6.000000e+00
%49 = fcmp une double %47, 8.000000e+00
%50 = or i1 %48, %49
br i1 %50, label %51, label %52
51: ; preds = %39
unreachable
52: ; preds = %39
br label %53
53: ; preds = %52
br label %54
54: ; preds = %53
br label %55
55: ; preds = %54
br label %56
56: ; preds = %55
br label %57
57: ; preds = %56
br label %58
58: ; preds = %57
br label %59
59: ; preds = %58
br label %60
60: ; preds = %59
%61 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 0
%62 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 1
store volatile double 3.000000e+00, double* %61
store volatile double 4.000000e+00, double* %62
%63 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 0
%64 = load volatile double, double* %63
%65 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 1
%66 = load volatile double, double* %65
%67 = call { double, double } @__divdc3(double %64, double %66, double 2.000000e+00, double 0.000000e+00)
%68 = extractvalue { double, double } %67, 0
%69 = extractvalue { double, double } %67, 1
%70 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 0
%71 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 1
store volatile double %68, double* %70
store volatile double %69, double* %71
%72 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 0
%73 = load volatile double, double* %72
%74 = getelementptr inbounds { double, double }, { double, double }* %3, i32 0, i32 1
%75 = load volatile double, double* %74
%76 = fcmp une double %73, 1.500000e+00
%77 = fcmp une double %75, 2.000000e+00
%78 = or i1 %76, %77
br i1 %78, label %79, label %80
79: ; preds = %60
unreachable
80: ; preds = %60
br label %81
81: ; preds = %80
br label %82
82: ; preds = %81
br label %83
83: ; preds = %82
br label %84
84: ; preds = %83
br label %85
85: ; preds = %84
br label %86
86: ; preds = %85
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 0
%90 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 1
store volatile i32 3, i32* %89
store volatile i32 4, i32* %90
%91 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 0
%92 = load volatile i32, i32* %91
%93 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 1
%94 = load volatile i32, i32* %93
%95 = mul i32 %92, 2
%96 = mul i32 %94, 0
%97 = sub i32 %95, %96
%98 = mul i32 %94, 2
%99 = mul i32 %92, 0
%100 = add i32 %98, %99
%101 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 0
%102 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 1
store volatile i32 %97, i32* %101
store volatile i32 %100, i32* %102
%103 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 0
%104 = load volatile i32, i32* %103
%105 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %4, i32 0, i32 1
%106 = load volatile i32, i32* %105
%107 = icmp ne i32 %104, 6
%108 = icmp ne i32 %106, 8
%109 = or i1 %107, %108
br i1 %109, label %110, label %111
110: ; preds = %88
unreachable
111: ; preds = %88
br label %112
112: ; preds = %111
br label %113
113: ; preds = %112
br label %114
114: ; preds = %113
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
br label %117
117: ; preds = %116
br label %118
118: ; preds = %117
br label %119
119: ; preds = %118
%120 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 0
%121 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 1
store volatile i32 3, i32* %120
store volatile i32 4, i32* %121
%122 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 0
%123 = load volatile i32, i32* %122
%124 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 1
%125 = load volatile i32, i32* %124
%126 = mul i32 %123, 2
%127 = mul i32 %125, 0
%128 = add i32 %126, %127
%129 = mul i32 %125, 2
%130 = mul i32 %123, 0
%131 = sub i32 %129, %130
%132 = sdiv i32 %128, 4
%133 = sdiv i32 %131, 4
%134 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 0
%135 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 1
store volatile i32 %132, i32* %134
store volatile i32 %133, i32* %135
%136 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 0
%137 = load volatile i32, i32* %136
%138 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %5, i32 0, i32 1
%139 = load volatile i32, i32* %138
%140 = icmp ne i32 %137, 1
%141 = icmp ne i32 %139, 2
%142 = or i1 %140, %141
br i1 %142, label %143, label %144
143: ; preds = %119
unreachable
144: ; preds = %119
br label %145
145: ; preds = %144
br label %146
146: ; preds = %145
br label %147
147: ; preds = %146
br label %148
148: ; preds = %147
br label %149
149: ; preds = %148
br label %150
150: ; preds = %149
br label %151
151: ; preds = %150
br label %152
152: ; preds = %151
%153 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 0
%154 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 1
store volatile double 3.000000e+00, double* %153
store volatile double 4.000000e+00, double* %154
%155 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 0
%156 = load volatile double, double* %155
%157 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 1
%158 = load volatile double, double* %157
%159 = fmul double %156, 2.000000e+00
%160 = fmul double %158, 5.000000e+00
%161 = fmul double %156, 5.000000e+00
%162 = fmul double %158, 2.000000e+00
%163 = fsub double %159, %160
%164 = fadd double %161, %162
%165 = fcmp uno double %163, %163
br i1 %165, label %166, label %172
166: ; preds = %152
%167 = fcmp uno double %164, %164
br i1 %167, label %168, label %172
168: ; preds = %166
%169 = call { double, double } @__muldc3(double %156, double %158, double 2.000000e+00, double 5.000000e+00)
%170 = extractvalue { double, double } %169, 0
%171 = extractvalue { double, double } %169, 1
br label %172
172: ; preds = %168, %166, %152
%173 = phi double [ %163, %152 ], [ %163, %166 ], [ %170, %168 ]
%174 = phi double [ %164, %152 ], [ %164, %166 ], [ %171, %168 ]
%175 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 0
%176 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 1
store volatile double %173, double* %175
store volatile double %174, double* %176
%177 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 0
%178 = load volatile double, double* %177
%179 = getelementptr inbounds { double, double }, { double, double }* %6, i32 0, i32 1
%180 = load volatile double, double* %179
%181 = fcmp une double %178, -1.400000e+01
%182 = fcmp une double %180, 2.300000e+01
%183 = or i1 %181, %182
br i1 %183, label %184, label %185
184: ; preds = %172
unreachable
185: ; preds = %172
br label %186
186: ; preds = %185
br label %187
187: ; preds = %186
br label %188
188: ; preds = %187
br label %189
189: ; preds = %188
br label %190
190: ; preds = %189
br label %191
191: ; preds = %190
br label %192
192: ; preds = %191
br label %193
193: ; preds = %192
%194 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 0
%195 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 1
store volatile double 3.000000e+00, double* %194
store volatile double 4.000000e+00, double* %195
%196 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 0
%197 = load volatile double, double* %196
%198 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 1
%199 = load volatile double, double* %198
%200 = call { double, double } @__divdc3(double %197, double %199, double 0.000000e+00, double 5.000000e+00)
%201 = extractvalue { double, double } %200, 0
%202 = extractvalue { double, double } %200, 1
%203 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 0
%204 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 1
store volatile double %201, double* %203
store volatile double %202, double* %204
%205 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 0
%206 = load volatile double, double* %205
%207 = getelementptr inbounds { double, double }, { double, double }* %7, i32 0, i32 1
%208 = load volatile double, double* %207
%209 = fcmp une double %206, 8.000000e-01
%210 = fcmp une double %208, -6.000000e-01
%211 = or i1 %209, %210
br i1 %211, label %212, label %213
212: ; preds = %193
unreachable
213: ; preds = %193
br label %214
214: ; preds = %213
br label %215
215: ; preds = %214
br label %216
216: ; preds = %215
br label %217
217: ; preds = %216
br label %218
218: ; preds = %217
br label %219
219: ; preds = %218
br label %220
220: ; preds = %219
br label %221
221: ; preds = %220
%222 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 0
%223 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 1
store volatile i32 3, i32* %222
store volatile i32 4, i32* %223
%224 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 0
%225 = load volatile i32, i32* %224
%226 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 1
%227 = load volatile i32, i32* %226
%228 = mul i32 %225, 2
%229 = mul i32 %227, 5
%230 = sub i32 %228, %229
%231 = mul i32 %227, 2
%232 = mul i32 %225, 5
%233 = add i32 %231, %232
%234 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 0
%235 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 1
store volatile i32 %230, i32* %234
store volatile i32 %233, i32* %235
%236 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 0
%237 = load volatile i32, i32* %236
%238 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %8, i32 0, i32 1
%239 = load volatile i32, i32* %238
%240 = icmp ne i32 %237, -14
%241 = icmp ne i32 %239, 23
%242 = or i1 %240, %241
br i1 %242, label %243, label %244
243: ; preds = %221
unreachable
244: ; preds = %221
br label %245
245: ; preds = %244
br label %246
246: ; preds = %245
br label %247
247: ; preds = %246
br label %248
248: ; preds = %247
br label %249
249: ; preds = %248
br label %250
250: ; preds = %249
br label %251
251: ; preds = %250
br label %252
252: ; preds = %251
%253 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 0
%254 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 1
store volatile i32 30, i32* %253
store volatile i32 40, i32* %254
%255 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 0
%256 = load volatile i32, i32* %255
%257 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 1
%258 = load volatile i32, i32* %257
%259 = mul i32 %256, 0
%260 = mul i32 %258, 5
%261 = add i32 %259, %260
%262 = mul i32 %258, 0
%263 = mul i32 %256, 5
%264 = sub i32 %262, %263
%265 = sdiv i32 %261, 25
%266 = sdiv i32 %264, 25
%267 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 0
%268 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 1
store volatile i32 %265, i32* %267
store volatile i32 %266, i32* %268
%269 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 0
%270 = load volatile i32, i32* %269
%271 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %9, i32 0, i32 1
%272 = load volatile i32, i32* %271
%273 = icmp ne i32 %270, 8
%274 = icmp ne i32 %272, -6
%275 = or i1 %273, %274
br i1 %275, label %276, label %277
276: ; preds = %252
unreachable
277: ; preds = %252
br label %278
278: ; preds = %277
br label %279
279: ; preds = %278
br label %280
280: ; preds = %279
br label %281
281: ; preds = %280
br label %282
282: ; preds = %281
br label %283
283: ; preds = %282
br label %284
284: ; preds = %283
br label %285
285: ; preds = %284
%286 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 0
%287 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 1
store volatile i32 14, i32* %286
store volatile i32 6, i32* %287
%288 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 0
%289 = load volatile i32, i32* %288
%290 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 1
%291 = load volatile i32, i32* %290
%292 = mul i32 %289, 7
%293 = mul i32 %291, 3
%294 = add i32 %292, %293
%295 = mul i32 %291, 7
%296 = mul i32 %289, 3
%297 = sub i32 %295, %296
%298 = sdiv i32 %294, 58
%299 = sdiv i32 %297, 58
%300 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 0
%301 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 1
store volatile i32 %298, i32* %300
store volatile i32 %299, i32* %301
%302 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 0
%303 = load volatile i32, i32* %302
%304 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %10, i32 0, i32 1
%305 = load volatile i32, i32* %304
%306 = icmp ne i32 %303, 2
%307 = icmp ne i32 %305, 0
%308 = or i1 %306, %307
br i1 %308, label %309, label %310
309: ; preds = %285
unreachable
310: ; preds = %285
br label %311
311: ; preds = %310
br label %312
312: ; preds = %311
br label %313
313: ; preds = %312
br label %314
314: ; preds = %313
br label %315
315: ; preds = %314
br label %316
316: ; preds = %315
br label %317
317: ; preds = %316
br label %318
318: ; preds = %317
%319 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 0
%320 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 1
store volatile i32 8, i32* %319
store volatile i32 24, i32* %320
%321 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 0
%322 = load volatile i32, i32* %321
%323 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 1
%324 = load volatile i32, i32* %323
%325 = mul i32 %322, 4
%326 = mul i32 %324, 12
%327 = add i32 %325, %326
%328 = mul i32 %324, 4
%329 = mul i32 %322, 12
%330 = sub i32 %328, %329
%331 = sdiv i32 %327, 160
%332 = sdiv i32 %330, 160
%333 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 0
%334 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 1
store volatile i32 %331, i32* %333
store volatile i32 %332, i32* %334
%335 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 0
%336 = load volatile i32, i32* %335
%337 = getelementptr inbounds { i32, i32 }, { i32, i32 }* %11, i32 0, i32 1
%338 = load volatile i32, i32* %337
%339 = icmp ne i32 %336, 2
%340 = icmp ne i32 %338, 0
%341 = or i1 %339, %340
br i1 %341, label %342, label %343
342: ; preds = %318
unreachable
343: ; preds = %318
br label %344
344: ; preds = %343
br label %345
345: ; preds = %344
br label %346
346: ; preds = %345
br label %347
347: ; preds = %346
unreachable
348: ; No predecessors!
br label %349
349: ; preds = %348
%350 = call i32 (i32, ...) bitcast (i32 (...)* @link_error to i32 (i32, ...)*)(i32 77)
br label %351
351: ; preds = %349
br label %352
352: ; preds = %351
%353 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 0
%354 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 1
store volatile double 0x7FDFFFFFFFFFFFFF, double* %353
store volatile double 0x7FDFFFFFFFFFFFFF, double* %354
%355 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 0
%356 = load volatile double, double* %355
%357 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 1
%358 = load volatile double, double* %357
%359 = call { double, double } @__divdc3(double %356, double %358, double 0x7FCFFFFFFFFFFFFF, double 0x7FCFFFFFFFFFFFFF)
%360 = extractvalue { double, double } %359, 0
%361 = extractvalue { double, double } %359, 1
%362 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 0
%363 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 1
store volatile double %360, double* %362
store volatile double %361, double* %363
%364 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 0
%365 = load volatile double, double* %364
%366 = getelementptr inbounds { double, double }, { double, double }* %12, i32 0, i32 1
%367 = load volatile double, double* %366
%368 = fcmp une double %365, 2.000000e+00
%369 = fcmp une double %367, 0.000000e+00
%370 = or i1 %368, %369
br i1 %370, label %371, label %372
371: ; preds = %352
unreachable
372: ; preds = %352
br label %373
373: ; preds = %372
br label %374
374: ; preds = %373
br label %375
375: ; preds = %374
%376 = call i32 (i32, ...) bitcast (i32 (...)* @link_error to i32 (i32, ...)*)(i32 84)
br label %377
377: ; preds = %375
br label %378
378: ; preds = %377
br label %379
379: ; preds = %378
br label %380
380: ; preds = %379
br label %381
381: ; preds = %380
br label %382
382: ; preds = %381
br label %383
383: ; preds = %382
br label %384
384: ; preds = %383
%385 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 0
%386 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 1
store volatile double 1.000000e+00, double* %385
store volatile double 0.000000e+00, double* %386
br i1 true, label %387, label %392
387: ; preds = %384
br i1 false, label %388, label %392
388: ; preds = %387
%389 = call { double, double } @__muldc3(double 0x7FF0000000000000, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%390 = extractvalue { double, double } %389, 0
%391 = extractvalue { double, double } %389, 1
br label %392
392: ; preds = %388, %387, %384
%393 = phi double [ 0x7FF8000000000000, %384 ], [ 0x7FF8000000000000, %387 ], [ %390, %388 ]
%394 = phi double [ 0x7FF0000000000000, %384 ], [ 0x7FF0000000000000, %387 ], [ %391, %388 ]
%395 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 0
%396 = load volatile double, double* %395
%397 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 1
%398 = load volatile double, double* %397
%399 = call { double, double } @__divdc3(double %396, double %398, double %393, double %394)
%400 = extractvalue { double, double } %399, 0
%401 = extractvalue { double, double } %399, 1
%402 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 0
%403 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 1
store volatile double %400, double* %402
store volatile double %401, double* %403
%404 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 0
%405 = load volatile double, double* %404
%406 = getelementptr inbounds { double, double }, { double, double }* %13, i32 0, i32 1
%407 = load volatile double, double* %406
%408 = fcmp une double %405, 0.000000e+00
%409 = fcmp une double %407, 0.000000e+00
%410 = or i1 %408, %409
br i1 %410, label %411, label %412
411: ; preds = %392
unreachable
412: ; preds = %392
br label %413
413: ; preds = %412
br label %414
414: ; preds = %413
br label %415
415: ; preds = %414
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = bitcast double* %1 to i8*
%22 = bitcast double* %2 to i8*
store volatile double 3.000000e+00, double* %1
store volatile double 4.000000e+00, double* %2
%23 = load volatile double, double* %1
%24 = load volatile double, double* %2
%25 = fmul double %23, 2.000000e+00
%26 = fmul double %24, 0.000000e+00
%27 = fmul double %23, 0.000000e+00
%28 = fmul double %24, 2.000000e+00
%29 = fsub double %25, %26
%30 = fadd double %27, %28
%31 = fcmp uno double %29, 0.000000e+00
br i1 %31, label %32, label %38
32: ; preds = %0
%33 = fcmp uno double %30, 0.000000e+00
br i1 %33, label %34, label %38
34: ; preds = %32
%35 = tail call { double, double } @__muldc3(double %23, double %24, double 2.000000e+00, double 0.000000e+00)
%36 = extractvalue { double, double } %35, 0
%37 = extractvalue { double, double } %35, 1
br label %38
38: ; preds = %34, %32, %0
%39 = phi double [ %29, %0 ], [ %29, %32 ], [ %36, %34 ]
%40 = phi double [ %30, %0 ], [ %30, %32 ], [ %37, %34 ]
store volatile double %39, double* %1
store volatile double %40, double* %2
%41 = load volatile double, double* %1
%42 = load volatile double, double* %2
%43 = fcmp une double %41, 6.000000e+00
%44 = fcmp une double %42, 8.000000e+00
%45 = or i1 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %38
tail call void @abort()
unreachable
47: ; preds = %38
%48 = bitcast double* %3 to i8*
%49 = bitcast double* %4 to i8*
store volatile double 3.000000e+00, double* %3
store volatile double 4.000000e+00, double* %4
%50 = load volatile double, double* %3
%51 = load volatile double, double* %4
%52 = tail call { double, double } @__divdc3(double %50, double %51, double 2.000000e+00, double 0.000000e+00)
%53 = extractvalue { double, double } %52, 0
%54 = extractvalue { double, double } %52, 1
store volatile double %53, double* %3
store volatile double %54, double* %4
%55 = load volatile double, double* %3
%56 = load volatile double, double* %4
%57 = fcmp une double %55, 1.500000e+00
%58 = fcmp une double %56, 2.000000e+00
%59 = or i1 %57, %58
br i1 %59, label %60, label %61
60: ; preds = %47
tail call void @abort()
unreachable
61: ; preds = %47
%62 = bitcast i32* %5 to i8*
%63 = bitcast i32* %6 to i8*
store volatile i32 3, i32* %5
store volatile i32 4, i32* %6
%64 = load volatile i32, i32* %5
%65 = load volatile i32, i32* %6
%66 = shl i32 %64, 1
%67 = shl i32 %65, 1
store volatile i32 %66, i32* %5
store volatile i32 %67, i32* %6
%68 = load volatile i32, i32* %5
%69 = load volatile i32, i32* %6
%70 = icmp ne i32 %68, 6
%71 = icmp ne i32 %69, 8
%72 = or i1 %70, %71
br i1 %72, label %73, label %74
73: ; preds = %61
tail call void @abort()
unreachable
74: ; preds = %61
%75 = bitcast i32* %7 to i8*
%76 = bitcast i32* %8 to i8*
store volatile i32 3, i32* %7
store volatile i32 4, i32* %8
%77 = load volatile i32, i32* %7
%78 = load volatile i32, i32* %8
%79 = shl i32 %77, 1
%80 = shl i32 %78, 1
%81 = sdiv i32 %79, 4
%82 = sdiv i32 %80, 4
store volatile i32 %81, i32* %7
store volatile i32 %82, i32* %8
%83 = load volatile i32, i32* %7
%84 = load volatile i32, i32* %8
%85 = icmp ne i32 %83, 1
%86 = icmp ne i32 %84, 2
%87 = or i1 %85, %86
br i1 %87, label %88, label %89
88: ; preds = %74
tail call void @abort()
unreachable
89: ; preds = %74
%90 = bitcast double* %9 to i8*
%91 = bitcast double* %10 to i8*
store volatile double 3.000000e+00, double* %9
store volatile double 4.000000e+00, double* %10
%92 = load volatile double, double* %9
%93 = load volatile double, double* %10
%94 = fmul double %92, 2.000000e+00
%95 = fmul double %93, 5.000000e+00
%96 = fmul double %92, 5.000000e+00
%97 = fmul double %93, 2.000000e+00
%98 = fsub double %94, %95
%99 = fadd double %96, %97
%100 = fcmp uno double %98, 0.000000e+00
br i1 %100, label %101, label %107
101: ; preds = %89
%102 = fcmp uno double %99, 0.000000e+00
br i1 %102, label %103, label %107
103: ; preds = %101
%104 = tail call { double, double } @__muldc3(double %92, double %93, double 2.000000e+00, double 5.000000e+00)
%105 = extractvalue { double, double } %104, 0
%106 = extractvalue { double, double } %104, 1
br label %107
107: ; preds = %103, %101, %89
%108 = phi double [ %98, %89 ], [ %98, %101 ], [ %105, %103 ]
%109 = phi double [ %99, %89 ], [ %99, %101 ], [ %106, %103 ]
store volatile double %108, double* %9
store volatile double %109, double* %10
%110 = load volatile double, double* %9
%111 = load volatile double, double* %10
%112 = fcmp une double %110, -1.400000e+01
%113 = fcmp une double %111, 2.300000e+01
%114 = or i1 %112, %113
br i1 %114, label %115, label %116
115: ; preds = %107
tail call void @abort()
unreachable
116: ; preds = %107
%117 = bitcast double* %11 to i8*
%118 = bitcast double* %12 to i8*
store volatile double 3.000000e+00, double* %11
store volatile double 4.000000e+00, double* %12
%119 = load volatile double, double* %11
%120 = load volatile double, double* %12
%121 = tail call { double, double } @__divdc3(double %119, double %120, double 0.000000e+00, double 5.000000e+00)
%122 = extractvalue { double, double } %121, 0
%123 = extractvalue { double, double } %121, 1
store volatile double %122, double* %11
store volatile double %123, double* %12
%124 = load volatile double, double* %11
%125 = load volatile double, double* %12
%126 = fcmp une double %124, 8.000000e-01
%127 = fcmp une double %125, -6.000000e-01
%128 = or i1 %126, %127
br i1 %128, label %129, label %130
129: ; preds = %116
tail call void @abort()
unreachable
130: ; preds = %116
%131 = bitcast i32* %13 to i8*
%132 = bitcast i32* %14 to i8*
store volatile i32 3, i32* %13
store volatile i32 4, i32* %14
%133 = load volatile i32, i32* %13
%134 = load volatile i32, i32* %14
%135 = shl i32 %133, 1
%136 = mul i32 %134, -5
%137 = add i32 %136, %135
%138 = shl i32 %134, 1
%139 = mul i32 %133, 5
%140 = add i32 %138, %139
store volatile i32 %137, i32* %13
store volatile i32 %140, i32* %14
%141 = load volatile i32, i32* %13
%142 = load volatile i32, i32* %14
%143 = icmp ne i32 %141, -14
%144 = icmp ne i32 %142, 23
%145 = or i1 %143, %144
br i1 %145, label %146, label %147
146: ; preds = %130
tail call void @abort()
unreachable
147: ; preds = %130
%148 = bitcast i32* %15 to i8*
%149 = bitcast i32* %16 to i8*
store volatile i32 30, i32* %15
store volatile i32 40, i32* %16
%150 = load volatile i32, i32* %15
%151 = load volatile i32, i32* %16
%152 = mul i32 %151, 5
%153 = mul i32 %150, -5
%154 = sdiv i32 %152, 25
%155 = sdiv i32 %153, 25
store volatile i32 %154, i32* %15
store volatile i32 %155, i32* %16
%156 = load volatile i32, i32* %15
%157 = load volatile i32, i32* %16
%158 = icmp ne i32 %156, 8
%159 = icmp ne i32 %157, -6
%160 = or i1 %158, %159
br i1 %160, label %161, label %162
161: ; preds = %147
tail call void @abort()
unreachable
162: ; preds = %147
%163 = bitcast i32* %17 to i8*
%164 = bitcast i32* %18 to i8*
store volatile i32 14, i32* %17
store volatile i32 6, i32* %18
%165 = load volatile i32, i32* %17
%166 = load volatile i32, i32* %18
%167 = mul i32 %165, 7
%168 = mul i32 %166, 3
%169 = add i32 %168, %167
%170 = mul i32 %166, 7
%171 = mul i32 %165, -3
%172 = add i32 %170, %171
%173 = sdiv i32 %169, 58
%174 = sdiv i32 %172, 58
store volatile i32 %173, i32* %17
store volatile i32 %174, i32* %18
%175 = load volatile i32, i32* %17
%176 = load volatile i32, i32* %18
%177 = icmp ne i32 %175, 2
%178 = icmp ne i32 %176, 0
%179 = or i1 %177, %178
br i1 %179, label %180, label %181
180: ; preds = %162
tail call void @abort()
unreachable
181: ; preds = %162
%182 = bitcast i32* %19 to i8*
%183 = bitcast i32* %20 to i8*
store volatile i32 8, i32* %19
store volatile i32 24, i32* %20
%184 = load volatile i32, i32* %19
%185 = load volatile i32, i32* %20
%186 = shl i32 %184, 2
%187 = mul i32 %185, 12
%188 = add i32 %187, %186
%189 = shl i32 %185, 2
%190 = mul i32 %184, -12
%191 = add i32 %189, %190
%192 = sdiv i32 %188, 160
%193 = sdiv i32 %191, 160
store volatile i32 %192, i32* %19
store volatile i32 %193, i32* %20
%194 = load volatile i32, i32* %19
%195 = load volatile i32, i32* %20
%196 = icmp ne i32 %194, 2
%197 = icmp ne i32 %195, 0
%198 = or i1 %196, %197
br i1 %198, label %199, label %200
199: ; preds = %181
tail call void @abort()
unreachable
200: ; preds = %181
tail call void @abort()
unreachable
}