#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 */
scalar_t__ test__ashrdi3(int, int, int);
int main() {
  if (test__ashrdi3(0x0123456789ABCDEFLL, 0, 0x123456789ABCDEFLL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 1, 0x91A2B3C4D5E6F7LL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 2, 0x48D159E26AF37BLL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 3, 0x2468ACF13579BDLL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 4, 0x123456789ABCDELL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 28, 0x12345678LL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 29, 0x91A2B3CLL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 30, 0x48D159ELL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 31, 0x2468ACFLL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 32, 0x1234567LL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 33, 0x91A2B3LL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 34, 0x48D159LL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 35, 0x2468ACLL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 36, 0x123456LL))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 60, 0))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 61, 0))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 62, 0))
    return 1;
  if (test__ashrdi3(0x0123456789ABCDEFLL, 63, 0))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 0, 0xFEDCBA9876543210LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 1, 0xFF6E5D4C3B2A1908LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 2, 0xFFB72EA61D950C84LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 3, 0xFFDB97530ECA8642LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 4, 0xFFEDCBA987654321LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 28, 0xFFFFFFFFEDCBA987LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 29, 0xFFFFFFFFF6E5D4C3LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 30, 0xFFFFFFFFFB72EA61LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 31, 0xFFFFFFFFFDB97530LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 32, 0xFFFFFFFFFEDCBA98LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 33, 0xFFFFFFFFFF6E5D4CLL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 34, 0xFFFFFFFFFFB72EA6LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 35, 0xFFFFFFFFFFDB9753LL))
    return 1;
  if (test__ashrdi3(0xFEDCBA9876543210LL, 36, 0xFFFFFFFFFFEDCBA9LL))
    return 1;
  if (test__ashrdi3(0xAEDCBA9876543210LL, 60, 0xFFFFFFFFFFFFFFFALL))
    return 1;
  if (test__ashrdi3(0xAEDCBA9876543210LL, 61, 0xFFFFFFFFFFFFFFFDLL))
    return 1;
  if (test__ashrdi3(0xAEDCBA9876543210LL, 62, 0xFFFFFFFFFFFFFFFELL))
    return 1;
  if (test__ashrdi3(0xAEDCBA9876543210LL, 63, 0xFFFFFFFFFFFFFFFFLL))
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x89abcdef,%edx
xor    %esi,%esi
mov    %edx,%edi
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1143 <main+0x33>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x1,%esi
mov    $0xc4d5e6f7,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     116d <main+0x5d>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x2,%esi
mov    $0xe26af37b,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1197 <main+0x87>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x3,%esi
mov    $0xf13579bd,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     11c1 <main+0xb1>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x4,%esi
mov    $0x789abcde,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     11eb <main+0xdb>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x1c,%esi
mov    $0x12345678,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1215 <main+0x105>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x1d,%esi
mov    $0x91a2b3c,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     123f <main+0x12f>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x1e,%esi
mov    $0x48d159e,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1269 <main+0x159>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x1f,%esi
mov    $0x2468acf,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1293 <main+0x183>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x20,%esi
mov    $0x1234567,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     12bd <main+0x1ad>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x21,%esi
mov    $0x91a2b3,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     12e7 <main+0x1d7>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x22,%esi
mov    $0x48d159,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1311 <main+0x201>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x23,%esi
mov    $0x2468ac,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     133b <main+0x22b>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x24,%esi
mov    $0x123456,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1365 <main+0x255>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x3c,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     138c <main+0x27c>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x3d,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     13b3 <main+0x2a3>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x3e,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     13da <main+0x2ca>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x89abcdef,%edi
mov    $0x3f,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1401 <main+0x2f1>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edx
xor    %esi,%esi
mov    %edx,%edi
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1425 <main+0x315>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x1,%esi
mov    $0x3b2a1908,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     144f <main+0x33f>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x2,%esi
mov    $0x1d950c84,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1479 <main+0x369>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x3,%esi
mov    $0xeca8642,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     14a3 <main+0x393>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x4,%esi
mov    $0x87654321,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     14cd <main+0x3bd>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x1c,%esi
mov    $0xedcba987,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     14f7 <main+0x3e7>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x1d,%esi
mov    $0xf6e5d4c3,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1521 <main+0x411>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x1e,%esi
mov    $0xfb72ea61,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     154b <main+0x43b>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x1f,%esi
mov    $0xfdb97530,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1575 <main+0x465>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x20,%esi
mov    $0xfedcba98,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     159f <main+0x48f>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x21,%esi
mov    $0xff6e5d4c,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     15c9 <main+0x4b9>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x22,%esi
mov    $0xffb72ea6,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     15f3 <main+0x4e3>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x23,%esi
mov    $0xffdb9753,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     161d <main+0x50d>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x24,%esi
mov    $0xffedcba9,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1647 <main+0x537>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x3c,%esi
mov    $0xfffffffa,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     1671 <main+0x561>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x3d,%esi
mov    $0xfffffffd,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     169b <main+0x58b>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x3e,%esi
mov    $0xfffffffe,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     16c5 <main+0x5b5>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
mov    $0x76543210,%edi
mov    $0x3f,%esi
mov    $0xffffffff,%edx
call   1030 <test__ashrdi3@plt>
cmp    $0x0,%rax
je     16ef <main+0x5df>
movl   $0x1,-0x4(%rbp)
jmp    16f6 <main+0x5e6>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
mov    $0x89abcdef,%edi
xor    %esi,%esi
mov    $0x89abcdef,%edx
call   1030 <test__ashrdi3@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x1,%ebx
mov    $0x89abcdef,%edi
mov    $0x1,%esi
mov    $0xc4d5e6f7,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x2,%esi
mov    $0xe26af37b,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x3,%esi
mov    $0xf13579bd,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x4,%esi
mov    $0x789abcde,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x1c,%esi
mov    $0x12345678,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x1d,%esi
mov    $0x91a2b3c,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x1e,%esi
mov    $0x48d159e,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x1f,%esi
mov    $0x2468acf,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x20,%esi
mov    $0x1234567,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x21,%esi
mov    $0x91a2b3,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x22,%esi
mov    $0x48d159,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x23,%esi
mov    $0x2468ac,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x24,%esi
mov    $0x123456,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x3c,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x3d,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x3e,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x89abcdef,%edi
mov    $0x3f,%esi
xor    %edx,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
xor    %esi,%esi
mov    $0x76543210,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x1,%ebx
mov    $0x76543210,%edi
mov    $0x1,%esi
mov    $0x3b2a1908,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x2,%esi
mov    $0x1d950c84,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x3,%esi
mov    $0xeca8642,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x4,%esi
mov    $0x87654321,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x1c,%esi
mov    $0xedcba987,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x1d,%esi
mov    $0xf6e5d4c3,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x1e,%esi
mov    $0xfb72ea61,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x1f,%esi
mov    $0xfdb97530,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x20,%esi
mov    $0xfedcba98,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x21,%esi
mov    $0xff6e5d4c,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x22,%esi
mov    $0xffb72ea6,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x23,%esi
mov    $0xffdb9753,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x24,%esi
mov    $0xffedcba9,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x3c,%esi
mov    $0xfffffffa,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x3d,%esi
mov    $0xfffffffd,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x3e,%esi
mov    $0xfffffffe,%edx
call   1030 <test__ashrdi3@plt>
test   %rax,%rax
jne    1511 <main+0x401>
mov    $0x76543210,%edi
mov    $0x3f,%esi
mov    $0xffffffff,%edx
call   1030 <test__ashrdi3@plt>
xor    %ebx,%ebx
test   %rax,%rax
setne  %bl
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i64 @test__ashrdi3(i32 -1985229329, i32 0, i32 -1985229329)
%3 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 1, i32 -992614665)
%7 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 2, i32 -496307333)
%11 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 3, i32 -248153667)
%15 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 4, i32 2023406814)
%19 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 28, i32 305419896)
%23 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 29, i32 152709948)
%27 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 30, i32 76354974)
%31 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 31, i32 38177487)
%35 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 32, i32 19088743)
%39 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 33, i32 9544371)
%43 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 34, i32 4772185)
%47 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 35, i32 2386092)
%51 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 36, i32 1193046)
%55 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 60, i32 0)
%59 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 61, i32 0)
%63 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 62, i32 0)
%67 = icmp ne i64 %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 i64 @test__ashrdi3(i32 -1985229329, i32 63, i32 0)
%71 = icmp ne i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %69
store i32 1, i32* %1
br label %146
73: ; preds = %69
%74 = call i64 @test__ashrdi3(i32 1985229328, i32 0, i32 1985229328)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %73
store i32 1, i32* %1
br label %146
77: ; preds = %73
%78 = call i64 @test__ashrdi3(i32 1985229328, i32 1, i32 992614664)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %77
store i32 1, i32* %1
br label %146
81: ; preds = %77
%82 = call i64 @test__ashrdi3(i32 1985229328, i32 2, i32 496307332)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %81
store i32 1, i32* %1
br label %146
85: ; preds = %81
%86 = call i64 @test__ashrdi3(i32 1985229328, i32 3, i32 248153666)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %85
store i32 1, i32* %1
br label %146
89: ; preds = %85
%90 = call i64 @test__ashrdi3(i32 1985229328, i32 4, i32 -2023406815)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %89
store i32 1, i32* %1
br label %146
93: ; preds = %89
%94 = call i64 @test__ashrdi3(i32 1985229328, i32 28, i32 -305419897)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 1, i32* %1
br label %146
97: ; preds = %93
%98 = call i64 @test__ashrdi3(i32 1985229328, i32 29, i32 -152709949)
%99 = icmp ne i64 %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 i64 @test__ashrdi3(i32 1985229328, i32 30, i32 -76354975)
%103 = icmp ne i64 %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 i64 @test__ashrdi3(i32 1985229328, i32 31, i32 -38177488)
%107 = icmp ne i64 %106, 0
br i1 %107, label %108, label %109
108: ; preds = %105
store i32 1, i32* %1
br label %146
109: ; preds = %105
%110 = call i64 @test__ashrdi3(i32 1985229328, i32 32, i32 -19088744)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %109
store i32 1, i32* %1
br label %146
113: ; preds = %109
%114 = call i64 @test__ashrdi3(i32 1985229328, i32 33, i32 -9544372)
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %113
store i32 1, i32* %1
br label %146
117: ; preds = %113
%118 = call i64 @test__ashrdi3(i32 1985229328, i32 34, i32 -4772186)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %121
120: ; preds = %117
store i32 1, i32* %1
br label %146
121: ; preds = %117
%122 = call i64 @test__ashrdi3(i32 1985229328, i32 35, i32 -2386093)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %121
store i32 1, i32* %1
br label %146
125: ; preds = %121
%126 = call i64 @test__ashrdi3(i32 1985229328, i32 36, i32 -1193047)
%127 = icmp ne i64 %126, 0
br i1 %127, label %128, label %129
128: ; preds = %125
store i32 1, i32* %1
br label %146
129: ; preds = %125
%130 = call i64 @test__ashrdi3(i32 1985229328, i32 60, i32 -6)
%131 = icmp ne i64 %130, 0
br i1 %131, label %132, label %133
132: ; preds = %129
store i32 1, i32* %1
br label %146
133: ; preds = %129
%134 = call i64 @test__ashrdi3(i32 1985229328, i32 61, i32 -3)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %133
store i32 1, i32* %1
br label %146
137: ; preds = %133
%138 = call i64 @test__ashrdi3(i32 1985229328, i32 62, i32 -2)
%139 = icmp ne i64 %138, 0
br i1 %139, label %140, label %141
140: ; preds = %137
store i32 1, i32* %1
br label %146
141: ; preds = %137
%142 = call i64 @test__ashrdi3(i32 1985229328, i32 63, i32 -1)
%143 = icmp ne i64 %142, 0
br i1 %143, label %144, label %145
144: ; preds = %141
store i32 1, i32* %1
br label %146
145: ; preds = %141
store i32 0, i32* %1
br label %146
146: ; preds = %145, %144, %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
%147 = load i32, i32* %1
ret i32 %147
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 0, i32 -1985229329)
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %109
3: ; preds = %0
%4 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 1, i32 -992614665)
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %109
6: ; preds = %3
%7 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 2, i32 -496307333)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %109
9: ; preds = %6
%10 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 3, i32 -248153667)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %109
12: ; preds = %9
%13 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 4, i32 2023406814)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %109
15: ; preds = %12
%16 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 28, i32 305419896)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %109
18: ; preds = %15
%19 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 29, i32 152709948)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %109
21: ; preds = %18
%22 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 30, i32 76354974)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %109
24: ; preds = %21
%25 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 31, i32 38177487)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %109
27: ; preds = %24
%28 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 32, i32 19088743)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %109
30: ; preds = %27
%31 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 33, i32 9544371)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %109
33: ; preds = %30
%34 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 34, i32 4772185)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %109
36: ; preds = %33
%37 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 35, i32 2386092)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %109
39: ; preds = %36
%40 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 36, i32 1193046)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %109
42: ; preds = %39
%43 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 60, i32 0)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %109
45: ; preds = %42
%46 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 61, i32 0)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %109
48: ; preds = %45
%49 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 62, i32 0)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %109
51: ; preds = %48
%52 = tail call i64 @test__ashrdi3(i32 -1985229329, i32 63, i32 0)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %109
54: ; preds = %51
%55 = tail call i64 @test__ashrdi3(i32 1985229328, i32 0, i32 1985229328)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %109
57: ; preds = %54
%58 = tail call i64 @test__ashrdi3(i32 1985229328, i32 1, i32 992614664)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %109
60: ; preds = %57
%61 = tail call i64 @test__ashrdi3(i32 1985229328, i32 2, i32 496307332)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %109
63: ; preds = %60
%64 = tail call i64 @test__ashrdi3(i32 1985229328, i32 3, i32 248153666)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %109
66: ; preds = %63
%67 = tail call i64 @test__ashrdi3(i32 1985229328, i32 4, i32 -2023406815)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %109
69: ; preds = %66
%70 = tail call i64 @test__ashrdi3(i32 1985229328, i32 28, i32 -305419897)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %109
72: ; preds = %69
%73 = tail call i64 @test__ashrdi3(i32 1985229328, i32 29, i32 -152709949)
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %109
75: ; preds = %72
%76 = tail call i64 @test__ashrdi3(i32 1985229328, i32 30, i32 -76354975)
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %109
78: ; preds = %75
%79 = tail call i64 @test__ashrdi3(i32 1985229328, i32 31, i32 -38177488)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %109
81: ; preds = %78
%82 = tail call i64 @test__ashrdi3(i32 1985229328, i32 32, i32 -19088744)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %109
84: ; preds = %81
%85 = tail call i64 @test__ashrdi3(i32 1985229328, i32 33, i32 -9544372)
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %109
87: ; preds = %84
%88 = tail call i64 @test__ashrdi3(i32 1985229328, i32 34, i32 -4772186)
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %109
90: ; preds = %87
%91 = tail call i64 @test__ashrdi3(i32 1985229328, i32 35, i32 -2386093)
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %109
93: ; preds = %90
%94 = tail call i64 @test__ashrdi3(i32 1985229328, i32 36, i32 -1193047)
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %109
96: ; preds = %93
%97 = tail call i64 @test__ashrdi3(i32 1985229328, i32 60, i32 -6)
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %109
99: ; preds = %96
%100 = tail call i64 @test__ashrdi3(i32 1985229328, i32 61, i32 -3)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %109
102: ; preds = %99
%103 = tail call i64 @test__ashrdi3(i32 1985229328, i32 62, i32 -2)
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %102
%106 = tail call i64 @test__ashrdi3(i32 1985229328, i32 63, i32 -1)
%107 = icmp ne i64 %106, 0
%108 = zext i1 %107 to i32
br label %109
109: ; 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
%110 = 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 ], [ %108, %105 ]
ret i32 %110
}