void analyse(rep, cc) int *rep, cc;
{
  int st, rr, ss, bb, cc1, ac;
  val_curMRIState(&st, cc);
  mod_anl(st, 1);
  val_cptMRIState(&st, cc);
  mod_anl(st, 1);
  cre_sees_uses(&rr, cc);
  if (rr == 1) {
    cre_inc_ipt(&rr, cc);
    if (rr == 1) {
      val_gset1(&ss);
      mod_sees_uses(&rr, cc, ss);
      if (rr == 1) {
        val_gset2(&ss);
        mod_inc_ipt(&rr, cc, ss);
        if (rr == 1) {
          valIth_gseq(&cc1, 1);
          if (cc1 != cc) {
            val_abs2conc(&ac, cc1);
            cre_abs2conc(cc, ac);
            push_a2c(&rr, ac, cc);
          } else {
            make_Abs2Conc(&rr, &ac);
            cre_abs2conc(cc, ac);
            if (rr == 1) {
              push_a2c(&rr, ac, cc);
            }
          }
        }
      }
    }
  }
  *rep = rr;
}


x86 assembly (clang, -O0):
<analyse>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0xc(%rbp),%esi
lea    -0x10(%rbp),%rdi
mov    $0x0,%al
call   1050 <val_curMRIState@plt>
mov    -0x10(%rbp),%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <mod_anl@plt>
mov    -0xc(%rbp),%esi
lea    -0x10(%rbp),%rdi
mov    $0x0,%al
call   10f0 <val_cptMRIState@plt>
mov    -0x10(%rbp),%edi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <mod_anl@plt>
mov    -0xc(%rbp),%esi
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   10e0 <cre_sees_uses@plt>
cmpl   $0x1,-0x14(%rbp)
jne    1342 <analyse+0x162>
mov    -0xc(%rbp),%esi
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   1100 <cre_inc_ipt@plt>
cmpl   $0x1,-0x14(%rbp)
jne    133d <analyse+0x15d>
lea    -0x18(%rbp),%rdi
mov    $0x0,%al
call   1060 <val_gset1@plt>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   1070 <mod_sees_uses@plt>
cmpl   $0x1,-0x14(%rbp)
jne    1338 <analyse+0x158>
lea    -0x18(%rbp),%rdi
mov    $0x0,%al
call   10c0 <val_gset2@plt>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   10b0 <mod_inc_ipt@plt>
cmpl   $0x1,-0x14(%rbp)
jne    1333 <analyse+0x153>
lea    -0x20(%rbp),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1040 <valIth_gseq@plt>
mov    -0x20(%rbp),%eax
cmp    -0xc(%rbp),%eax
je     12f2 <analyse+0x112>
mov    -0x20(%rbp),%esi
lea    -0x24(%rbp),%rdi
mov    $0x0,%al
call   10d0 <val_abs2conc@plt>
mov    -0xc(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    $0x0,%al
call   1080 <cre_abs2conc@plt>
mov    -0x24(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   1090 <push_a2c@plt>
jmp    132e <analyse+0x14e>
lea    -0x14(%rbp),%rdi
lea    -0x24(%rbp),%rsi
mov    $0x0,%al
call   10a0 <make_Abs2Conc@plt>
mov    -0xc(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    $0x0,%al
call   1080 <cre_abs2conc@plt>
cmpl   $0x1,-0x14(%rbp)
jne    1329 <analyse+0x149>
mov    -0x24(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    -0x14(%rbp),%rdi
mov    $0x0,%al
call   1090 <push_a2c@plt>
jmp    132e <analyse+0x14e>
jmp    1333 <analyse+0x153>
jmp    1338 <analyse+0x158>
jmp    133d <analyse+0x15d>
jmp    1342 <analyse+0x162>
mov    -0x14(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<analyse>:
push   %rbp
push   %r14
push   %rbx
sub    $0x20,%rsp
mov    %esi,%ebp
mov    %rdi,%r14
lea    0x18(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <val_curMRIState@plt>
mov    0x18(%rsp),%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <mod_anl@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   10f0 <val_cptMRIState@plt>
mov    0x18(%rsp),%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <mod_anl@plt>
lea    0xc(%rsp),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   10e0 <cre_sees_uses@plt>
cmpl   $0x1,0xc(%rsp)
jne    1313 <analyse+0x133>
lea    0xc(%rsp),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1100 <cre_inc_ipt@plt>
cmpl   $0x1,0xc(%rsp)
jne    1313 <analyse+0x133>
lea    0x14(%rsp),%rdi
xor    %eax,%eax
call   1060 <val_gset1@plt>
mov    0x14(%rsp),%edx
lea    0xc(%rsp),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1070 <mod_sees_uses@plt>
cmpl   $0x1,0xc(%rsp)
jne    1313 <analyse+0x133>
lea    0x14(%rsp),%rdi
xor    %eax,%eax
call   10c0 <val_gset2@plt>
mov    0x14(%rsp),%edx
lea    0xc(%rsp),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   10b0 <mod_inc_ipt@plt>
cmpl   $0x1,0xc(%rsp)
jne    1313 <analyse+0x133>
lea    0x1c(%rsp),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <valIth_gseq@plt>
mov    0x1c(%rsp),%esi
cmp    %ebp,%esi
jne    12e8 <analyse+0x108>
lea    0xc(%rsp),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   10a0 <make_Abs2Conc@plt>
mov    0x10(%rsp),%esi
mov    %ebp,%edi
xor    %eax,%eax
call   1080 <cre_abs2conc@plt>
cmpl   $0x1,0xc(%rsp)
je     1301 <analyse+0x121>
jmp    1313 <analyse+0x133>
lea    0x10(%rsp),%rdi
xor    %eax,%eax
call   10d0 <val_abs2conc@plt>
mov    0x10(%rsp),%esi
mov    %ebp,%edi
xor    %eax,%eax
call   1080 <cre_abs2conc@plt>
mov    0x10(%rsp),%esi
lea    0xc(%rsp),%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1090 <push_a2c@plt>
mov    0xc(%rsp),%eax
mov    %eax,(%r14)
add    $0x20,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
define void @analyse(i32* %0, i32 %1) {
%3 = alloca i32*
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32* %0, i32** %3
store i32 %1, i32* %4
%11 = load i32, i32* %4
%12 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_curMRIState to i32 (i32*, i32, ...)*)(i32* %5, i32 %11)
%13 = load i32, i32* %5
%14 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mod_anl to i32 (i32, i32, ...)*)(i32 %13, i32 1)
%15 = load i32, i32* %4
%16 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_cptMRIState to i32 (i32*, i32, ...)*)(i32* %5, i32 %15)
%17 = load i32, i32* %5
%18 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mod_anl to i32 (i32, i32, ...)*)(i32 %17, i32 1)
%19 = load i32, i32* %4
%20 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @cre_sees_uses to i32 (i32*, i32, ...)*)(i32* %6, i32 %19)
%21 = load i32, i32* %6
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %72
23: ; preds = %2
%24 = load i32, i32* %4
%25 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @cre_inc_ipt to i32 (i32*, i32, ...)*)(i32* %6, i32 %24)
%26 = load i32, i32* %6
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %71
28: ; preds = %23
%29 = call i32 (i32*, ...) bitcast (i32 (...)* @val_gset1 to i32 (i32*, ...)*)(i32* %7)
%30 = load i32, i32* %4
%31 = load i32, i32* %7
%32 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @mod_sees_uses to i32 (i32*, i32, i32, ...)*)(i32* %6, i32 %30, i32 %31)
%33 = load i32, i32* %6
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %70
35: ; preds = %28
%36 = call i32 (i32*, ...) bitcast (i32 (...)* @val_gset2 to i32 (i32*, ...)*)(i32* %7)
%37 = load i32, i32* %4
%38 = load i32, i32* %7
%39 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @mod_inc_ipt to i32 (i32*, i32, i32, ...)*)(i32* %6, i32 %37, i32 %38)
%40 = load i32, i32* %6
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %69
42: ; preds = %35
%43 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @valIth_gseq to i32 (i32*, i32, ...)*)(i32* %9, i32 1)
%44 = load i32, i32* %9
%45 = load i32, i32* %4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %56
47: ; preds = %42
%48 = load i32, i32* %9
%49 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_abs2conc to i32 (i32*, i32, ...)*)(i32* %10, i32 %48)
%50 = load i32, i32* %4
%51 = load i32, i32* %10
%52 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_abs2conc to i32 (i32, i32, ...)*)(i32 %50, i32 %51)
%53 = load i32, i32* %10
%54 = load i32, i32* %4
%55 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @push_a2c to i32 (i32*, i32, i32, ...)*)(i32* %6, i32 %53, i32 %54)
br label %68
56: ; preds = %42
%57 = call i32 (i32*, i32*, ...) bitcast (i32 (...)* @make_Abs2Conc to i32 (i32*, i32*, ...)*)(i32* %6, i32* %10)
%58 = load i32, i32* %4
%59 = load i32, i32* %10
%60 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_abs2conc to i32 (i32, i32, ...)*)(i32 %58, i32 %59)
%61 = load i32, i32* %6
%62 = icmp eq i32 %61, 1
br i1 %62, label %63, label %67
63: ; preds = %56
%64 = load i32, i32* %10
%65 = load i32, i32* %4
%66 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @push_a2c to i32 (i32*, i32, i32, ...)*)(i32* %6, i32 %64, i32 %65)
br label %67
67: ; preds = %63, %56
br label %68
68: ; preds = %67, %47
br label %69
69: ; preds = %68, %35
br label %70
70: ; preds = %69, %28
br label %71
71: ; preds = %70, %23
br label %72
72: ; preds = %71, %2
%73 = load i32, i32* %6
%74 = load i32*, i32** %3
store i32 %73, i32* %74
ret void
}

LLVM IR (-O2):
define void @analyse(i32* nocapture writeonly %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = bitcast i32* %3 to i8*
%9 = bitcast i32* %4 to i8*
%10 = bitcast i32* %5 to i8*
%11 = bitcast i32* %6 to i8*
%12 = bitcast i32* %7 to i8*
%13 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_curMRIState to i32 (i32*, i32, ...)*)(i32* %3, i32 %1)
%14 = load i32, i32* %3
%15 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mod_anl to i32 (i32, i32, ...)*)(i32 %14, i32 1)
%16 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_cptMRIState to i32 (i32*, i32, ...)*)(i32* %3, i32 %1)
%17 = load i32, i32* %3
%18 = call i32 (i32, i32, ...) bitcast (i32 (...)* @mod_anl to i32 (i32, i32, ...)*)(i32 %17, i32 1)
%19 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @cre_sees_uses to i32 (i32*, i32, ...)*)(i32* %4, i32 %1)
%20 = load i32, i32* %4
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %55
22: ; preds = %2
%23 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @cre_inc_ipt to i32 (i32*, i32, ...)*)(i32* %4, i32 %1)
%24 = load i32, i32* %4
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %55
26: ; preds = %22
%27 = call i32 (i32*, ...) bitcast (i32 (...)* @val_gset1 to i32 (i32*, ...)*)(i32* %5)
%28 = load i32, i32* %5
%29 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @mod_sees_uses to i32 (i32*, i32, i32, ...)*)(i32* %4, i32 %1, i32 %28)
%30 = load i32, i32* %4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %55
32: ; preds = %26
%33 = call i32 (i32*, ...) bitcast (i32 (...)* @val_gset2 to i32 (i32*, ...)*)(i32* %5)
%34 = load i32, i32* %5
%35 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @mod_inc_ipt to i32 (i32*, i32, i32, ...)*)(i32* %4, i32 %1, i32 %34)
%36 = load i32, i32* %4
%37 = icmp eq i32 %36, 1
br i1 %37, label %38, label %55
38: ; preds = %32
%39 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @valIth_gseq to i32 (i32*, i32, ...)*)(i32* %6, i32 1)
%40 = load i32, i32* %6
%41 = icmp eq i32 %40, %1
br i1 %41, label %46, label %42
42: ; preds = %38
%43 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_abs2conc to i32 (i32*, i32, ...)*)(i32* %7, i32 %40)
%44 = load i32, i32* %7
%45 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_abs2conc to i32 (i32, i32, ...)*)(i32 %1, i32 %44)
br label %52
46: ; preds = %38
%47 = call i32 (i32*, i32*, ...) bitcast (i32 (...)* @make_Abs2Conc to i32 (i32*, i32*, ...)*)(i32* %4, i32* %7)
%48 = load i32, i32* %7
%49 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_abs2conc to i32 (i32, i32, ...)*)(i32 %1, i32 %48)
%50 = load i32, i32* %4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %55
52: ; preds = %46, %42
%53 = load i32, i32* %7
%54 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @push_a2c to i32 (i32*, i32, i32, ...)*)(i32* %4, i32 %53, i32 %1)
br label %55
55: ; preds = %52, %22, %32, %46, %26, %2
%56 = load i32, i32* %4
store i32 %56, i32* %0
ret void
}