#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
long long make_ti(int, int);
scalar_t__ test__multi3(long long, long long, long long);
int main() {
  if (test__multi3(0, 0, 0))
    return 1;
  if (test__multi3(0, 1, 0))
    return 1;
  if (test__multi3(1, 0, 0))
    return 1;
  if (test__multi3(0, 10, 0))
    return 1;
  if (test__multi3(10, 0, 0))
    return 1;
  if (test__multi3(0, 81985529216486895LL, 0))
    return 1;
  if (test__multi3(81985529216486895LL, 0, 0))
    return 1;
  if (test__multi3(0, -1, 0))
    return 1;
  if (test__multi3(-1, 0, 0))
    return 1;
  if (test__multi3(0, -10, 0))
    return 1;
  if (test__multi3(-10, 0, 0))
    return 1;
  if (test__multi3(0, -81985529216486895LL, 0))
    return 1;
  if (test__multi3(-81985529216486895LL, 0, 0))
    return 1;
  if (test__multi3(1, 1, 1))
    return 1;
  if (test__multi3(1, 10, 10))
    return 1;
  if (test__multi3(10, 1, 10))
    return 1;
  if (test__multi3(1, 81985529216486895LL, 81985529216486895LL))
    return 1;
  if (test__multi3(81985529216486895LL, 1, 81985529216486895LL))
    return 1;
  if (test__multi3(1, -1, -1))
    return 1;
  if (test__multi3(1, -10, -10))
    return 1;
  if (test__multi3(-10, 1, -10))
    return 1;
  if (test__multi3(1, -81985529216486895LL, -81985529216486895LL))
    return 1;
  if (test__multi3(-81985529216486895LL, 1, -81985529216486895LL))
    return 1;
  if (test__multi3(3037000499LL, 3037000499LL, 9223372030926249001LL))
    return 1;
  if (test__multi3(-3037000499LL, 3037000499LL, -9223372030926249001LL))
    return 1;
  if (test__multi3(3037000499LL, -3037000499LL, -9223372030926249001LL))
    return 1;
  if (test__multi3(-3037000499LL, -3037000499LL, 9223372030926249001LL))
    return 1;
  if (test__multi3(4398046511103LL, 2097152LL, 9223372036852678656LL))
    return 1;
  if (test__multi3(-4398046511103LL, 2097152LL, -9223372036852678656LL))
    return 1;
  if (test__multi3(4398046511103LL, -2097152LL, -9223372036852678656LL))
    return 1;
  if (test__multi3(-4398046511103LL, -2097152LL, 9223372036852678656LL))
    return 1;
  if (test__multi3(2097152LL, 4398046511103LL, 9223372036852678656LL))
    return 1;
  if (test__multi3(-2097152LL, 4398046511103LL, -9223372036852678656LL))
    return 1;
  if (test__multi3(2097152LL, -4398046511103LL, -9223372036852678656LL))
    return 1;
  if (test__multi3(-2097152LL, -4398046511103LL, 9223372036852678656LL))
    return 1;
  if (test__multi3(make_ti(0x00000000000000B5LL, 0x04F333F9DE5BE000LL),
                   make_ti(0x0000000000000000LL, 0x00B504F333F9DE5BLL),
                   make_ti(0x7FFFFFFFFFFFF328LL, 0xDF915DA296E8A000LL)))
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rdi
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1154 <main+0x34>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
xor    %eax,%eax
mov    %eax,%edx
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     117b <main+0x5b>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     11a2 <main+0x82>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
xor    %eax,%eax
mov    %eax,%edx
mov    $0xa,%esi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     11c9 <main+0xa9>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xa,%edi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     11f0 <main+0xd0>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
xor    %eax,%eax
mov    %eax,%edx
movabs $0x123456789abcdef,%rsi
45 23 01
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     121c <main+0xfc>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0x123456789abcdef,%rdi
45 23 01
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1248 <main+0x128>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
xor    %eax,%eax
mov    %eax,%edx
mov    $0xffffffffffffffff,%rsi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1271 <main+0x151>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     129a <main+0x17a>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
xor    %eax,%eax
mov    %eax,%edx
mov    $0xfffffffffffffff6,%rsi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     12c3 <main+0x1a3>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xfffffffffffffff6,%rdi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     12ec <main+0x1cc>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
xor    %eax,%eax
mov    %eax,%edx
movabs $0xfedcba9876543211,%rsi
ba dc fe
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1318 <main+0x1f8>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0xfedcba9876543211,%rdi
ba dc fe
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1344 <main+0x224>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edx
mov    %rdx,%rdi
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     136a <main+0x24a>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edi
mov    $0xa,%edx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1392 <main+0x272>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xa,%edx
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     13ba <main+0x29a>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edi
movabs $0x123456789abcdef,%rdx
45 23 01
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     13e7 <main+0x2c7>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0x123456789abcdef,%rdx
45 23 01
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1414 <main+0x2f4>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edi
mov    $0xffffffffffffffff,%rdx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     143e <main+0x31e>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edi
mov    $0xfffffffffffffff6,%rdx
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1468 <main+0x348>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xfffffffffffffff6,%rdx
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1492 <main+0x372>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x1,%edi
movabs $0xfedcba9876543211,%rdx
ba dc fe
mov    %rdx,%rsi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     14bf <main+0x39f>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0xfedcba9876543211,%rdx
ba dc fe
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     14ec <main+0x3cc>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xb504f333,%esi
movabs $0x7ffffffe9ea1dc29,%rdx
ff ff 7f
mov    %rsi,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1519 <main+0x3f9>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0xffffffff4afb0ccd,%rdi
ff ff ff
mov    $0xb504f333,%esi
movabs $0x80000001615e23d7,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     154d <main+0x42d>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xb504f333,%edi
movabs $0xffffffff4afb0ccd,%rsi
ff ff ff
movabs $0x80000001615e23d7,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1581 <main+0x461>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0xffffffff4afb0ccd,%rsi
ff ff ff
movabs $0x7ffffffe9ea1dc29,%rdx
ff ff 7f
mov    %rsi,%rdi
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     15b3 <main+0x493>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0x3ffffffffff,%rdi
mov    $0x200000,%esi
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     15e7 <main+0x4c7>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0xfffffc0000000001,%rdi
fc ff ff
mov    $0x200000,%esi
movabs $0x8000000000200000,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     161b <main+0x4fb>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0x3ffffffffff,%rdi
mov    $0xffffffffffe00000,%rsi
movabs $0x8000000000200000,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1651 <main+0x531>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movabs $0xfffffc0000000001,%rdi
fc ff ff
mov    $0xffffffffffe00000,%rsi
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1687 <main+0x567>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x200000,%edi
movabs $0x3ffffffffff,%rsi
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     16bb <main+0x59b>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xffffffffffe00000,%rdi
movabs $0x3ffffffffff,%rsi
movabs $0x8000000000200000,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     16f1 <main+0x5d1>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0x200000,%edi
movabs $0xfffffc0000000001,%rsi
fc ff ff
movabs $0x8000000000200000,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     1725 <main+0x605>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xffffffffffe00000,%rdi
movabs $0xfffffc0000000001,%rsi
fc ff ff
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     175b <main+0x63b>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
mov    $0xb5,%edi
mov    $0xde5be000,%esi
call   1040 <make_ti@plt>
mov    %rax,-0x18(%rbp)
xor    %edi,%edi
mov    $0x33f9de5b,%esi
call   1040 <make_ti@plt>
mov    %rax,-0x10(%rbp)
mov    $0xfffff328,%edi
mov    $0x96e8a000,%esi
call   1040 <make_ti@plt>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    %rax,%rdx
call   1030 <test__multi3@plt>
cmp    $0x0,%rax
je     17b3 <main+0x693>
movl   $0x1,-0x4(%rbp)
jmp    17ba <main+0x69a>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%esi
xor    %edi,%edi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xa,%esi
xor    %edi,%edi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xa,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
movabs $0x123456789abcdef,%r14
45 23 01
xor    %edi,%edi
mov    %r14,%rsi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
xor    %edi,%edi
mov    $0xffffffffffffffff,%rsi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xffffffffffffffff,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
xor    %edi,%edi
mov    $0xfffffffffffffff6,%rsi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xfffffffffffffff6,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
movabs $0xfedcba9876543211,%r15
ba dc fe
xor    %edi,%edi
mov    %r15,%rsi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
mov    $0xa,%esi
mov    $0xa,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xa,%edi
mov    $0x1,%esi
mov    $0xa,%edx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%esi
mov    %r14,%rdi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
mov    $0xffffffffffffffff,%rsi
mov    $0xffffffffffffffff,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
mov    $0xfffffffffffffff6,%rsi
mov    $0xfffffffffffffff6,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%esi
mov    $0xfffffffffffffff6,%rdi
mov    $0xfffffffffffffff6,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%edi
mov    %r15,%rsi
mov    %r15,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x1,%esi
mov    %r15,%rdi
mov    %r15,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
movabs $0x7ffffffe9ea1dc29,%r14
ff ff 7f
mov    $0xb504f333,%edi
mov    $0xb504f333,%esi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
movabs $0xffffffff4afb0ccd,%r15
ff ff ff
movabs $0x80000001615e23d7,%r12
mov    $0xb504f333,%esi
mov    %r15,%rdi
mov    %r12,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xb504f333,%edi
mov    %r15,%rsi
mov    %r12,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    %r15,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
movabs $0x7fffffffffe00000,%r14
ff ff 7f
movabs $0x3ffffffffff,%r12
mov    $0x200000,%esi
mov    %r12,%rdi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
movabs $0xfffffc0000000001,%r15
fc ff ff
lea    0x400000(%r14),%r13
mov    $0x200000,%esi
mov    %r15,%rdi
mov    %r13,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    %r12,%rdi
mov    $0xffffffffffe00000,%rsi
mov    %r13,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    %r15,%rdi
mov    $0xffffffffffe00000,%rsi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x200000,%edi
mov    %r12,%rsi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xffffffffffe00000,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0x200000,%edi
mov    %r15,%rsi
mov    %r13,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xffffffffffe00000,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1030 <test__multi3@plt>
test   %rax,%rax
jne    1539 <main+0x419>
mov    $0xb5,%edi
mov    $0xde5be000,%esi
call   1040 <make_ti@plt>
mov    %rax,%r14
xor    %edi,%edi
mov    $0x33f9de5b,%esi
call   1040 <make_ti@plt>
mov    %rax,%rbx
mov    $0xfffff328,%edi
mov    $0x96e8a000,%esi
call   1040 <make_ti@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
call   1030 <test__multi3@plt>
xor    %ebx,%ebx
test   %rax,%rax
setne  %bl
mov    %ebx,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i64 @test__multi3(i64 0, i64 0, i64 0)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, i32* %1
br label %149
5: ; preds = %0
%6 = call i64 @test__multi3(i64 0, i64 1, i64 0)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, i32* %1
br label %149
9: ; preds = %5
%10 = call i64 @test__multi3(i64 1, i64 0, i64 0)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, i32* %1
br label %149
13: ; preds = %9
%14 = call i64 @test__multi3(i64 0, i64 10, i64 0)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, i32* %1
br label %149
17: ; preds = %13
%18 = call i64 @test__multi3(i64 10, i64 0, i64 0)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, i32* %1
br label %149
21: ; preds = %17
%22 = call i64 @test__multi3(i64 0, i64 81985529216486895, i64 0)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, i32* %1
br label %149
25: ; preds = %21
%26 = call i64 @test__multi3(i64 81985529216486895, i64 0, i64 0)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, i32* %1
br label %149
29: ; preds = %25
%30 = call i64 @test__multi3(i64 0, i64 -1, i64 0)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 1, i32* %1
br label %149
33: ; preds = %29
%34 = call i64 @test__multi3(i64 -1, i64 0, i64 0)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 1, i32* %1
br label %149
37: ; preds = %33
%38 = call i64 @test__multi3(i64 0, i64 -10, i64 0)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %37
store i32 1, i32* %1
br label %149
41: ; preds = %37
%42 = call i64 @test__multi3(i64 -10, i64 0, i64 0)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 1, i32* %1
br label %149
45: ; preds = %41
%46 = call i64 @test__multi3(i64 0, i64 -81985529216486895, i64 0)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %45
store i32 1, i32* %1
br label %149
49: ; preds = %45
%50 = call i64 @test__multi3(i64 -81985529216486895, i64 0, i64 0)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, i32* %1
br label %149
53: ; preds = %49
%54 = call i64 @test__multi3(i64 1, i64 1, i64 1)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 1, i32* %1
br label %149
57: ; preds = %53
%58 = call i64 @test__multi3(i64 1, i64 10, i64 10)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 1, i32* %1
br label %149
61: ; preds = %57
%62 = call i64 @test__multi3(i64 10, i64 1, i64 10)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 1, i32* %1
br label %149
65: ; preds = %61
%66 = call i64 @test__multi3(i64 1, i64 81985529216486895, i64 81985529216486895)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %65
store i32 1, i32* %1
br label %149
69: ; preds = %65
%70 = call i64 @test__multi3(i64 81985529216486895, i64 1, i64 81985529216486895)
%71 = icmp ne i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %69
store i32 1, i32* %1
br label %149
73: ; preds = %69
%74 = call i64 @test__multi3(i64 1, i64 -1, i64 -1)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %73
store i32 1, i32* %1
br label %149
77: ; preds = %73
%78 = call i64 @test__multi3(i64 1, i64 -10, i64 -10)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %77
store i32 1, i32* %1
br label %149
81: ; preds = %77
%82 = call i64 @test__multi3(i64 -10, i64 1, i64 -10)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %81
store i32 1, i32* %1
br label %149
85: ; preds = %81
%86 = call i64 @test__multi3(i64 1, i64 -81985529216486895, i64 -81985529216486895)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %85
store i32 1, i32* %1
br label %149
89: ; preds = %85
%90 = call i64 @test__multi3(i64 -81985529216486895, i64 1, i64 -81985529216486895)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %89
store i32 1, i32* %1
br label %149
93: ; preds = %89
%94 = call i64 @test__multi3(i64 3037000499, i64 3037000499, i64 9223372030926249001)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 1, i32* %1
br label %149
97: ; preds = %93
%98 = call i64 @test__multi3(i64 -3037000499, i64 3037000499, i64 -9223372030926249001)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %97
store i32 1, i32* %1
br label %149
101: ; preds = %97
%102 = call i64 @test__multi3(i64 3037000499, i64 -3037000499, i64 -9223372030926249001)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %101
store i32 1, i32* %1
br label %149
105: ; preds = %101
%106 = call i64 @test__multi3(i64 -3037000499, i64 -3037000499, i64 9223372030926249001)
%107 = icmp ne i64 %106, 0
br i1 %107, label %108, label %109
108: ; preds = %105
store i32 1, i32* %1
br label %149
109: ; preds = %105
%110 = call i64 @test__multi3(i64 4398046511103, i64 2097152, i64 9223372036852678656)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %109
store i32 1, i32* %1
br label %149
113: ; preds = %109
%114 = call i64 @test__multi3(i64 -4398046511103, i64 2097152, i64 -9223372036852678656)
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %113
store i32 1, i32* %1
br label %149
117: ; preds = %113
%118 = call i64 @test__multi3(i64 4398046511103, i64 -2097152, i64 -9223372036852678656)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %121
120: ; preds = %117
store i32 1, i32* %1
br label %149
121: ; preds = %117
%122 = call i64 @test__multi3(i64 -4398046511103, i64 -2097152, i64 9223372036852678656)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %121
store i32 1, i32* %1
br label %149
125: ; preds = %121
%126 = call i64 @test__multi3(i64 2097152, i64 4398046511103, i64 9223372036852678656)
%127 = icmp ne i64 %126, 0
br i1 %127, label %128, label %129
128: ; preds = %125
store i32 1, i32* %1
br label %149
129: ; preds = %125
%130 = call i64 @test__multi3(i64 -2097152, i64 4398046511103, i64 -9223372036852678656)
%131 = icmp ne i64 %130, 0
br i1 %131, label %132, label %133
132: ; preds = %129
store i32 1, i32* %1
br label %149
133: ; preds = %129
%134 = call i64 @test__multi3(i64 2097152, i64 -4398046511103, i64 -9223372036852678656)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %133
store i32 1, i32* %1
br label %149
137: ; preds = %133
%138 = call i64 @test__multi3(i64 -2097152, i64 -4398046511103, i64 9223372036852678656)
%139 = icmp ne i64 %138, 0
br i1 %139, label %140, label %141
140: ; preds = %137
store i32 1, i32* %1
br label %149
141: ; preds = %137
%142 = call i64 @make_ti(i32 181, i32 -564404224)
%143 = call i64 @make_ti(i32 0, i32 872013403)
%144 = call i64 @make_ti(i32 -3288, i32 -1763139584)
%145 = call i64 @test__multi3(i64 %142, i64 %143, i64 %144)
%146 = icmp ne i64 %145, 0
br i1 %146, label %147, label %148
147: ; preds = %141
store i32 1, i32* %1
br label %149
148: ; preds = %141
store i32 0, i32* %1
br label %149
149: ; preds = %148, %147, %140, %136, %132, %128, %124, %120, %116, %112, %108, %104, %100, %96, %92, %88, %84, %80, %76, %72, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8, %4
%150 = load i32, i32* %1
ret i32 %150
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 @test__multi3(i64 0, i64 0, i64 0)
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %112
3: ; preds = %0
%4 = tail call i64 @test__multi3(i64 0, i64 1, i64 0)
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %112
6: ; preds = %3
%7 = tail call i64 @test__multi3(i64 1, i64 0, i64 0)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %112
9: ; preds = %6
%10 = tail call i64 @test__multi3(i64 0, i64 10, i64 0)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %112
12: ; preds = %9
%13 = tail call i64 @test__multi3(i64 10, i64 0, i64 0)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %112
15: ; preds = %12
%16 = tail call i64 @test__multi3(i64 0, i64 81985529216486895, i64 0)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %112
18: ; preds = %15
%19 = tail call i64 @test__multi3(i64 81985529216486895, i64 0, i64 0)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %112
21: ; preds = %18
%22 = tail call i64 @test__multi3(i64 0, i64 -1, i64 0)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %112
24: ; preds = %21
%25 = tail call i64 @test__multi3(i64 -1, i64 0, i64 0)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %112
27: ; preds = %24
%28 = tail call i64 @test__multi3(i64 0, i64 -10, i64 0)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %112
30: ; preds = %27
%31 = tail call i64 @test__multi3(i64 -10, i64 0, i64 0)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %112
33: ; preds = %30
%34 = tail call i64 @test__multi3(i64 0, i64 -81985529216486895, i64 0)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %112
36: ; preds = %33
%37 = tail call i64 @test__multi3(i64 -81985529216486895, i64 0, i64 0)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %112
39: ; preds = %36
%40 = tail call i64 @test__multi3(i64 1, i64 1, i64 1)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %112
42: ; preds = %39
%43 = tail call i64 @test__multi3(i64 1, i64 10, i64 10)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %112
45: ; preds = %42
%46 = tail call i64 @test__multi3(i64 10, i64 1, i64 10)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %112
48: ; preds = %45
%49 = tail call i64 @test__multi3(i64 1, i64 81985529216486895, i64 81985529216486895)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %112
51: ; preds = %48
%52 = tail call i64 @test__multi3(i64 81985529216486895, i64 1, i64 81985529216486895)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %112
54: ; preds = %51
%55 = tail call i64 @test__multi3(i64 1, i64 -1, i64 -1)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %112
57: ; preds = %54
%58 = tail call i64 @test__multi3(i64 1, i64 -10, i64 -10)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %112
60: ; preds = %57
%61 = tail call i64 @test__multi3(i64 -10, i64 1, i64 -10)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %112
63: ; preds = %60
%64 = tail call i64 @test__multi3(i64 1, i64 -81985529216486895, i64 -81985529216486895)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %112
66: ; preds = %63
%67 = tail call i64 @test__multi3(i64 -81985529216486895, i64 1, i64 -81985529216486895)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %112
69: ; preds = %66
%70 = tail call i64 @test__multi3(i64 3037000499, i64 3037000499, i64 9223372030926249001)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %112
72: ; preds = %69
%73 = tail call i64 @test__multi3(i64 -3037000499, i64 3037000499, i64 -9223372030926249001)
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %112
75: ; preds = %72
%76 = tail call i64 @test__multi3(i64 3037000499, i64 -3037000499, i64 -9223372030926249001)
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %112
78: ; preds = %75
%79 = tail call i64 @test__multi3(i64 -3037000499, i64 -3037000499, i64 9223372030926249001)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %112
81: ; preds = %78
%82 = tail call i64 @test__multi3(i64 4398046511103, i64 2097152, i64 9223372036852678656)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %112
84: ; preds = %81
%85 = tail call i64 @test__multi3(i64 -4398046511103, i64 2097152, i64 -9223372036852678656)
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %112
87: ; preds = %84
%88 = tail call i64 @test__multi3(i64 4398046511103, i64 -2097152, i64 -9223372036852678656)
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %112
90: ; preds = %87
%91 = tail call i64 @test__multi3(i64 -4398046511103, i64 -2097152, i64 9223372036852678656)
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %112
93: ; preds = %90
%94 = tail call i64 @test__multi3(i64 2097152, i64 4398046511103, i64 9223372036852678656)
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %112
96: ; preds = %93
%97 = tail call i64 @test__multi3(i64 -2097152, i64 4398046511103, i64 -9223372036852678656)
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %112
99: ; preds = %96
%100 = tail call i64 @test__multi3(i64 2097152, i64 -4398046511103, i64 -9223372036852678656)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %112
102: ; preds = %99
%103 = tail call i64 @test__multi3(i64 -2097152, i64 -4398046511103, i64 9223372036852678656)
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %112
105: ; preds = %102
%106 = tail call i64 @make_ti(i32 181, i32 -564404224)
%107 = tail call i64 @make_ti(i32 0, i32 872013403)
%108 = tail call i64 @make_ti(i32 -3288, i32 -1763139584)
%109 = tail call i64 @test__multi3(i64 %106, i64 %107, i64 %108)
%110 = icmp ne i64 %109, 0
%111 = zext i1 %110 to i32
br label %112
112: ; preds = %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %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, %54 ], [ 1, %57 ], [ 1, %60 ], [ 1, %63 ], [ 1, %66 ], [ 1, %69 ], [ 1, %72 ], [ 1, %75 ], [ 1, %78 ], [ 1, %81 ], [ 1, %84 ], [ 1, %87 ], [ 1, %90 ], [ 1, %93 ], [ 1, %96 ], [ 1, %99 ], [ 1, %102 ], [ %111, %105 ]
ret i32 %113
}