#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 */
typedef int /*<<< orphan*/ c;
typedef int /*<<< orphan*/ b;
typedef int /*<<< orphan*/ a;

/* Variables and functions */
int __builtin_ffs(int);
int __builtin_ffsl(long);
int __builtin_ffsll(long long);
int /*<<< orphan*/ link_error();
void foo(int a, long b, long long c) {
  if (__builtin_ffs(a) < 0 || __builtin_ffs(a) > ((int)sizeof(a) * 8 - 0))
    link_error();
  if (__builtin_ffsl(b) < 0 || __builtin_ffsl(b) > ((int)sizeof(b) * 8 - 0))
    link_error();
  if (__builtin_ffsll(c) < 0 || __builtin_ffsll(c) > ((int)sizeof(c) * 8 - 0))
    link_error();
  a &= 63;
  b &= 63;
  c &= 63;
  if (__builtin_ffs(a) < 0 || __builtin_ffs(a) > 6)
    link_error();
  if (__builtin_ffsl(b) < 0 || __builtin_ffsl(b) > 6)
    link_error();
  if (__builtin_ffsll(c) < 0 || __builtin_ffsll(c) > 6)
    link_error();
  a++;
  b++;
  c++;
  if (__builtin_ffs(a) < 1 || __builtin_ffs(a) > 7)
    link_error();
  if (__builtin_ffsl(b) < 1 || __builtin_ffsl(b) > 7)
    link_error();
  if (__builtin_ffsll(c) < 1 || __builtin_ffsll(c) > 7)
    link_error();
  a -= 2;
  b -= 2;
  c -= 2;
  if (__builtin_ffs(a) < 0 || __builtin_ffs(a) > ((int)sizeof(a) * 8 - 0))
    link_error();
  if (__builtin_ffsl(b) < 0 || __builtin_ffsl(b) > ((int)sizeof(b) * 8 - 0))
    link_error();
  if (__builtin_ffsll(c) < 0 || __builtin_ffsll(c) > ((int)sizeof(c) * 8 - 0))
    link_error();
  a -= 63;
  b -= 63;
  c -= 63;
  if (__builtin_ffs(a) < 1 || __builtin_ffs(a) > ((int)sizeof(a) * 8 - 0))
    link_error();
  if (__builtin_ffsl(b) < 1 || __builtin_ffsl(b) > ((int)sizeof(b) * 8 - 0))
    link_error();
  if (__builtin_ffsll(c) < 1 || __builtin_ffsll(c) > ((int)sizeof(c) * 8 - 0))
    link_error();
}


x86 assembly (clang, -O0):
<foo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x0,%eax
jl     1157 <foo+0x47>
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x20,%eax
jle    115e <foo+0x4e>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x0,%eax
jl     119c <foo+0x8c>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x40,%eax
jle    11a3 <foo+0x93>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x0,%eax
jl     11e1 <foo+0xd1>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x40,%eax
jle    11e8 <foo+0xd8>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x4(%rbp),%eax
and    $0x3f,%eax
mov    %eax,-0x4(%rbp)
mov    -0x10(%rbp),%rax
and    $0x3f,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
and    $0x3f,%rax
mov    %rax,-0x18(%rbp)
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x0,%eax
jl     123d <foo+0x12d>
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x6,%eax
jle    1244 <foo+0x134>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x0,%eax
jl     1282 <foo+0x172>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x6,%eax
jle    1289 <foo+0x179>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x0,%eax
jl     12c7 <foo+0x1b7>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x6,%eax
jle    12ce <foo+0x1be>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
mov    -0x10(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x1,%eax
jl     1323 <foo+0x213>
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x7,%eax
jle    132a <foo+0x21a>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x1,%eax
jl     1368 <foo+0x258>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x7,%eax
jle    136f <foo+0x25f>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x1,%eax
jl     13ad <foo+0x29d>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x7,%eax
jle    13b4 <foo+0x2a4>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x4(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x4(%rbp)
mov    -0x10(%rbp),%rax
sub    $0x2,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
sub    $0x2,%rax
mov    %rax,-0x18(%rbp)
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x0,%eax
jl     1409 <foo+0x2f9>
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x20,%eax
jle    1410 <foo+0x300>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x0,%eax
jl     144e <foo+0x33e>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x40,%eax
jle    1455 <foo+0x345>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x0,%eax
jl     1493 <foo+0x383>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x40,%eax
jle    149a <foo+0x38a>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x4(%rbp),%eax
sub    $0x3f,%eax
mov    %eax,-0x4(%rbp)
mov    -0x10(%rbp),%rax
sub    $0x3f,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
sub    $0x3f,%rax
mov    %rax,-0x18(%rbp)
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x1,%eax
jl     14ef <foo+0x3df>
mov    -0x4(%rbp),%edx
bsf    %edx,%eax
add    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
cmp    $0x20,%eax
jle    14f6 <foo+0x3e6>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x1,%eax
jl     1534 <foo+0x424>
mov    -0x10(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x40,%eax
jle    153b <foo+0x42b>
mov    $0x0,%al
call   1030 <link_error@plt>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x1,%eax
jl     1579 <foo+0x469>
mov    -0x18(%rbp),%rdx
bsf    %rdx,%rax
add    $0x1,%rax
xor    %ecx,%ecx
cmp    $0x0,%rdx
cmove  %rcx,%rax
cmp    $0x40,%eax
jle    1580 <foo+0x470>
mov    $0x0,%al
call   1030 <link_error@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<foo>:
push   %r14
push   %rbx
push   %rax
mov    %rdx,%r14
mov    %rsi,%rbx
and    $0x3f,%ebx
and    $0x3f,%r14d
test   %rbx,%rbx
je     1136 <foo+0x26>
bsf    %rbx,%rax
cmp    $0x6,%eax
jb     1136 <foo+0x26>
xor    %eax,%eax
call   1030 <link_error@plt>
test   %r14,%r14
je     114b <foo+0x3b>
bsf    %r14,%rax
cmp    $0x6,%eax
jb     114b <foo+0x3b>
xor    %eax,%eax
call   1030 <link_error@plt>
add    $0x1,%rbx
add    $0x1,%r14
bsf    %rbx,%rax
cmp    $0x7,%eax
jb     1163 <foo+0x53>
xor    %eax,%eax
call   1030 <link_error@plt>
bsf    %r14,%rax
cmp    $0x7,%eax
jb     117a <foo+0x6a>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <link_error@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @foo(i32 %0, i64 %1, i64 %2) {
%4 = alloca i32
%5 = alloca i64
%6 = alloca i64
store i32 %0, i32* %4
store i64 %1, i64* %5
store i64 %2, i64* %6
%7 = load i32, i32* %4
%8 = call i32 @llvm.cttz.i32(i32 %7, i1 true)
%9 = add i32 %8, 1
%10 = icmp eq i32 %7, 0
%11 = select i1 %10, i32 0, i32 %9
%12 = icmp slt i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %3
%14 = load i32, i32* %4
%15 = call i32 @llvm.cttz.i32(i32 %14, i1 true)
%16 = add i32 %15, 1
%17 = icmp eq i32 %14, 0
%18 = select i1 %17, i32 0, i32 %16
%19 = icmp sgt i32 %18, 32
br i1 %19, label %20, label %22
20: ; preds = %13, %3
%21 = call i32 (...) @link_error()
br label %22
22: ; preds = %20, %13
%23 = load i64, i64* %5
%24 = call i64 @llvm.cttz.i64(i64 %23, i1 true)
%25 = add i64 %24, 1
%26 = icmp eq i64 %23, 0
%27 = select i1 %26, i64 0, i64 %25
%28 = trunc i64 %27 to i32
%29 = icmp slt i32 %28, 0
br i1 %29, label %38, label %30
30: ; preds = %22
%31 = load i64, i64* %5
%32 = call i64 @llvm.cttz.i64(i64 %31, i1 true)
%33 = add i64 %32, 1
%34 = icmp eq i64 %31, 0
%35 = select i1 %34, i64 0, i64 %33
%36 = trunc i64 %35 to i32
%37 = icmp sgt i32 %36, 64
br i1 %37, label %38, label %40
38: ; preds = %30, %22
%39 = call i32 (...) @link_error()
br label %40
40: ; preds = %38, %30
%41 = load i64, i64* %6
%42 = call i64 @llvm.cttz.i64(i64 %41, i1 true)
%43 = add i64 %42, 1
%44 = icmp eq i64 %41, 0
%45 = select i1 %44, i64 0, i64 %43
%46 = trunc i64 %45 to i32
%47 = icmp slt i32 %46, 0
br i1 %47, label %56, label %48
48: ; preds = %40
%49 = load i64, i64* %6
%50 = call i64 @llvm.cttz.i64(i64 %49, i1 true)
%51 = add i64 %50, 1
%52 = icmp eq i64 %49, 0
%53 = select i1 %52, i64 0, i64 %51
%54 = trunc i64 %53 to i32
%55 = icmp sgt i32 %54, 64
br i1 %55, label %56, label %58
56: ; preds = %48, %40
%57 = call i32 (...) @link_error()
br label %58
58: ; preds = %56, %48
%59 = load i32, i32* %4
%60 = and i32 %59, 63
store i32 %60, i32* %4
%61 = load i64, i64* %5
%62 = and i64 %61, 63
store i64 %62, i64* %5
%63 = load i64, i64* %6
%64 = and i64 %63, 63
store i64 %64, i64* %6
%65 = load i32, i32* %4
%66 = call i32 @llvm.cttz.i32(i32 %65, i1 true)
%67 = add i32 %66, 1
%68 = icmp eq i32 %65, 0
%69 = select i1 %68, i32 0, i32 %67
%70 = icmp slt i32 %69, 0
br i1 %70, label %78, label %71
71: ; preds = %58
%72 = load i32, i32* %4
%73 = call i32 @llvm.cttz.i32(i32 %72, i1 true)
%74 = add i32 %73, 1
%75 = icmp eq i32 %72, 0
%76 = select i1 %75, i32 0, i32 %74
%77 = icmp sgt i32 %76, 6
br i1 %77, label %78, label %80
78: ; preds = %71, %58
%79 = call i32 (...) @link_error()
br label %80
80: ; preds = %78, %71
%81 = load i64, i64* %5
%82 = call i64 @llvm.cttz.i64(i64 %81, i1 true)
%83 = add i64 %82, 1
%84 = icmp eq i64 %81, 0
%85 = select i1 %84, i64 0, i64 %83
%86 = trunc i64 %85 to i32
%87 = icmp slt i32 %86, 0
br i1 %87, label %96, label %88
88: ; preds = %80
%89 = load i64, i64* %5
%90 = call i64 @llvm.cttz.i64(i64 %89, i1 true)
%91 = add i64 %90, 1
%92 = icmp eq i64 %89, 0
%93 = select i1 %92, i64 0, i64 %91
%94 = trunc i64 %93 to i32
%95 = icmp sgt i32 %94, 6
br i1 %95, label %96, label %98
96: ; preds = %88, %80
%97 = call i32 (...) @link_error()
br label %98
98: ; preds = %96, %88
%99 = load i64, i64* %6
%100 = call i64 @llvm.cttz.i64(i64 %99, i1 true)
%101 = add i64 %100, 1
%102 = icmp eq i64 %99, 0
%103 = select i1 %102, i64 0, i64 %101
%104 = trunc i64 %103 to i32
%105 = icmp slt i32 %104, 0
br i1 %105, label %114, label %106
106: ; preds = %98
%107 = load i64, i64* %6
%108 = call i64 @llvm.cttz.i64(i64 %107, i1 true)
%109 = add i64 %108, 1
%110 = icmp eq i64 %107, 0
%111 = select i1 %110, i64 0, i64 %109
%112 = trunc i64 %111 to i32
%113 = icmp sgt i32 %112, 6
br i1 %113, label %114, label %116
114: ; preds = %106, %98
%115 = call i32 (...) @link_error()
br label %116
116: ; preds = %114, %106
%117 = load i32, i32* %4
%118 = add nsw i32 %117, 1
store i32 %118, i32* %4
%119 = load i64, i64* %5
%120 = add nsw i64 %119, 1
store i64 %120, i64* %5
%121 = load i64, i64* %6
%122 = add nsw i64 %121, 1
store i64 %122, i64* %6
%123 = load i32, i32* %4
%124 = call i32 @llvm.cttz.i32(i32 %123, i1 true)
%125 = add i32 %124, 1
%126 = icmp eq i32 %123, 0
%127 = select i1 %126, i32 0, i32 %125
%128 = icmp slt i32 %127, 1
br i1 %128, label %136, label %129
129: ; preds = %116
%130 = load i32, i32* %4
%131 = call i32 @llvm.cttz.i32(i32 %130, i1 true)
%132 = add i32 %131, 1
%133 = icmp eq i32 %130, 0
%134 = select i1 %133, i32 0, i32 %132
%135 = icmp sgt i32 %134, 7
br i1 %135, label %136, label %138
136: ; preds = %129, %116
%137 = call i32 (...) @link_error()
br label %138
138: ; preds = %136, %129
%139 = load i64, i64* %5
%140 = call i64 @llvm.cttz.i64(i64 %139, i1 true)
%141 = add i64 %140, 1
%142 = icmp eq i64 %139, 0
%143 = select i1 %142, i64 0, i64 %141
%144 = trunc i64 %143 to i32
%145 = icmp slt i32 %144, 1
br i1 %145, label %154, label %146
146: ; preds = %138
%147 = load i64, i64* %5
%148 = call i64 @llvm.cttz.i64(i64 %147, i1 true)
%149 = add i64 %148, 1
%150 = icmp eq i64 %147, 0
%151 = select i1 %150, i64 0, i64 %149
%152 = trunc i64 %151 to i32
%153 = icmp sgt i32 %152, 7
br i1 %153, label %154, label %156
154: ; preds = %146, %138
%155 = call i32 (...) @link_error()
br label %156
156: ; preds = %154, %146
%157 = load i64, i64* %6
%158 = call i64 @llvm.cttz.i64(i64 %157, i1 true)
%159 = add i64 %158, 1
%160 = icmp eq i64 %157, 0
%161 = select i1 %160, i64 0, i64 %159
%162 = trunc i64 %161 to i32
%163 = icmp slt i32 %162, 1
br i1 %163, label %172, label %164
164: ; preds = %156
%165 = load i64, i64* %6
%166 = call i64 @llvm.cttz.i64(i64 %165, i1 true)
%167 = add i64 %166, 1
%168 = icmp eq i64 %165, 0
%169 = select i1 %168, i64 0, i64 %167
%170 = trunc i64 %169 to i32
%171 = icmp sgt i32 %170, 7
br i1 %171, label %172, label %174
172: ; preds = %164, %156
%173 = call i32 (...) @link_error()
br label %174
174: ; preds = %172, %164
%175 = load i32, i32* %4
%176 = sub nsw i32 %175, 2
store i32 %176, i32* %4
%177 = load i64, i64* %5
%178 = sub nsw i64 %177, 2
store i64 %178, i64* %5
%179 = load i64, i64* %6
%180 = sub nsw i64 %179, 2
store i64 %180, i64* %6
%181 = load i32, i32* %4
%182 = call i32 @llvm.cttz.i32(i32 %181, i1 true)
%183 = add i32 %182, 1
%184 = icmp eq i32 %181, 0
%185 = select i1 %184, i32 0, i32 %183
%186 = icmp slt i32 %185, 0
br i1 %186, label %194, label %187
187: ; preds = %174
%188 = load i32, i32* %4
%189 = call i32 @llvm.cttz.i32(i32 %188, i1 true)
%190 = add i32 %189, 1
%191 = icmp eq i32 %188, 0
%192 = select i1 %191, i32 0, i32 %190
%193 = icmp sgt i32 %192, 32
br i1 %193, label %194, label %196
194: ; preds = %187, %174
%195 = call i32 (...) @link_error()
br label %196
196: ; preds = %194, %187
%197 = load i64, i64* %5
%198 = call i64 @llvm.cttz.i64(i64 %197, i1 true)
%199 = add i64 %198, 1
%200 = icmp eq i64 %197, 0
%201 = select i1 %200, i64 0, i64 %199
%202 = trunc i64 %201 to i32
%203 = icmp slt i32 %202, 0
br i1 %203, label %212, label %204
204: ; preds = %196
%205 = load i64, i64* %5
%206 = call i64 @llvm.cttz.i64(i64 %205, i1 true)
%207 = add i64 %206, 1
%208 = icmp eq i64 %205, 0
%209 = select i1 %208, i64 0, i64 %207
%210 = trunc i64 %209 to i32
%211 = icmp sgt i32 %210, 64
br i1 %211, label %212, label %214
212: ; preds = %204, %196
%213 = call i32 (...) @link_error()
br label %214
214: ; preds = %212, %204
%215 = load i64, i64* %6
%216 = call i64 @llvm.cttz.i64(i64 %215, i1 true)
%217 = add i64 %216, 1
%218 = icmp eq i64 %215, 0
%219 = select i1 %218, i64 0, i64 %217
%220 = trunc i64 %219 to i32
%221 = icmp slt i32 %220, 0
br i1 %221, label %230, label %222
222: ; preds = %214
%223 = load i64, i64* %6
%224 = call i64 @llvm.cttz.i64(i64 %223, i1 true)
%225 = add i64 %224, 1
%226 = icmp eq i64 %223, 0
%227 = select i1 %226, i64 0, i64 %225
%228 = trunc i64 %227 to i32
%229 = icmp sgt i32 %228, 64
br i1 %229, label %230, label %232
230: ; preds = %222, %214
%231 = call i32 (...) @link_error()
br label %232
232: ; preds = %230, %222
%233 = load i32, i32* %4
%234 = sub nsw i32 %233, 63
store i32 %234, i32* %4
%235 = load i64, i64* %5
%236 = sub nsw i64 %235, 63
store i64 %236, i64* %5
%237 = load i64, i64* %6
%238 = sub nsw i64 %237, 63
store i64 %238, i64* %6
%239 = load i32, i32* %4
%240 = call i32 @llvm.cttz.i32(i32 %239, i1 true)
%241 = add i32 %240, 1
%242 = icmp eq i32 %239, 0
%243 = select i1 %242, i32 0, i32 %241
%244 = icmp slt i32 %243, 1
br i1 %244, label %252, label %245
245: ; preds = %232
%246 = load i32, i32* %4
%247 = call i32 @llvm.cttz.i32(i32 %246, i1 true)
%248 = add i32 %247, 1
%249 = icmp eq i32 %246, 0
%250 = select i1 %249, i32 0, i32 %248
%251 = icmp sgt i32 %250, 32
br i1 %251, label %252, label %254
252: ; preds = %245, %232
%253 = call i32 (...) @link_error()
br label %254
254: ; preds = %252, %245
%255 = load i64, i64* %5
%256 = call i64 @llvm.cttz.i64(i64 %255, i1 true)
%257 = add i64 %256, 1
%258 = icmp eq i64 %255, 0
%259 = select i1 %258, i64 0, i64 %257
%260 = trunc i64 %259 to i32
%261 = icmp slt i32 %260, 1
br i1 %261, label %270, label %262
262: ; preds = %254
%263 = load i64, i64* %5
%264 = call i64 @llvm.cttz.i64(i64 %263, i1 true)
%265 = add i64 %264, 1
%266 = icmp eq i64 %263, 0
%267 = select i1 %266, i64 0, i64 %265
%268 = trunc i64 %267 to i32
%269 = icmp sgt i32 %268, 64
br i1 %269, label %270, label %272
270: ; preds = %262, %254
%271 = call i32 (...) @link_error()
br label %272
272: ; preds = %270, %262
%273 = load i64, i64* %6
%274 = call i64 @llvm.cttz.i64(i64 %273, i1 true)
%275 = add i64 %274, 1
%276 = icmp eq i64 %273, 0
%277 = select i1 %276, i64 0, i64 %275
%278 = trunc i64 %277 to i32
%279 = icmp slt i32 %278, 1
br i1 %279, label %288, label %280
280: ; preds = %272
%281 = load i64, i64* %6
%282 = call i64 @llvm.cttz.i64(i64 %281, i1 true)
%283 = add i64 %282, 1
%284 = icmp eq i64 %281, 0
%285 = select i1 %284, i64 0, i64 %283
%286 = trunc i64 %285 to i32
%287 = icmp sgt i32 %286, 64
br i1 %287, label %288, label %290
288: ; preds = %280, %272
%289 = call i32 (...) @link_error()
br label %290
290: ; preds = %288, %280
ret void
}

LLVM IR (-O2):
define void @foo(i32 %0, i64 %1, i64 %2) {
%4 = and i64 %1, 63
%5 = and i64 %2, 63
%6 = icmp ne i64 %4, 0
%7 = tail call i64 @llvm.cttz.i64(i64 %4, i1 true)
%8 = trunc i64 %7 to i32
%9 = icmp ugt i32 %8, 5
%10 = select i1 %6, i1 %9, i1 false
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = tail call i32 (...) @link_error()
br label %13
13: ; preds = %3, %11
%14 = icmp ne i64 %5, 0
%15 = tail call i64 @llvm.cttz.i64(i64 %5, i1 true)
%16 = trunc i64 %15 to i32
%17 = icmp ugt i32 %16, 5
%18 = select i1 %14, i1 %17, i1 false
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = tail call i32 (...) @link_error()
br label %21
21: ; preds = %19, %13
%22 = add nuw nsw i64 %4, 1
%23 = add nuw nsw i64 %5, 1
%24 = tail call i64 @llvm.cttz.i64(i64 %22, i1 true)
%25 = trunc i64 %24 to i32
%26 = icmp ugt i32 %25, 6
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = tail call i32 (...) @link_error()
br label %29
29: ; preds = %21, %27
%30 = tail call i64 @llvm.cttz.i64(i64 %23, i1 true)
%31 = trunc i64 %30 to i32
%32 = icmp ugt i32 %31, 6
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = tail call i32 (...) @link_error()
br label %35
35: ; preds = %33, %29
ret void
}