intr_prf(rep, pp, ex, cc, nn) int *rep, *pp, ex, cc, nn;
{
  int rr, st, mm, cc1, Str[250];
  switch (ex) {
  case 1: {
    make_Construct(&rr, &cc1, 9, 6);
    break;
  }
  case 2: {
    make_Construct(&rr, &cc1, 10, 6);
    break;
  }
  case 3: {
    make_Construct(&rr, &cc1, 11, 6);
    break;
  }
  }
  if (rr == 1) {
    xtr_name(Str, cc);
    mod_name(&rr, cc1, Str);
    if (rr == 1) {
      cre_prf_level(cc1, nn);
      cre_gen_by(cc1, cc);
      val_curMRIState(&st, cc);
      add_ppf(&rr, st, nn);
      if (rr == 1) {
        val_cptMRIState(&st, cc);
        add_ppf(&rr, st, nn);
      }
    }
    if (rr == 0) {
      kill_Construct(cc1);
    }
  }
  *pp = cc1;
  *rep = rr;
}


x86 assembly (clang, -O0):
<intr_prf>:
push   %rbp
mov    %rsp,%rbp
sub    $0x430,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
mov    %ecx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x424(%rbp)
sub    $0x1,%eax
je     11ec <intr_prf+0x5c>
jmp    11c4 <intr_prf+0x34>
mov    -0x424(%rbp),%eax
sub    $0x2,%eax
je     120a <intr_prf+0x7a>
jmp    11d8 <intr_prf+0x48>
mov    -0x424(%rbp),%eax
sub    $0x3,%eax
je     1228 <intr_prf+0x98>
jmp    1241 <intr_prf+0xb1>
lea    -0x28(%rbp),%rdi
lea    -0x34(%rbp),%rsi
mov    $0x9,%edx
mov    $0x6,%ecx
mov    $0x0,%al
call   1080 <make_Construct@plt>
jmp    1241 <intr_prf+0xb1>
lea    -0x28(%rbp),%rdi
lea    -0x34(%rbp),%rsi
mov    $0xa,%edx
mov    $0x6,%ecx
mov    $0x0,%al
call   1080 <make_Construct@plt>
jmp    1241 <intr_prf+0xb1>
lea    -0x28(%rbp),%rdi
lea    -0x34(%rbp),%rsi
mov    $0xb,%edx
mov    $0x6,%ecx
mov    $0x0,%al
call   1080 <make_Construct@plt>
cmpl   $0x1,-0x28(%rbp)
jne    12fb <intr_prf+0x16b>
lea    -0x420(%rbp),%rdi
mov    -0x20(%rbp),%esi
mov    $0x0,%al
call   10a0 <xtr_name@plt>
mov    -0x34(%rbp),%esi
lea    -0x420(%rbp),%rdx
lea    -0x28(%rbp),%rdi
mov    $0x0,%al
call   1060 <mod_name@plt>
cmpl   $0x1,-0x28(%rbp)
jne    12e2 <intr_prf+0x152>
mov    -0x34(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    $0x0,%al
call   1090 <cre_prf_level@plt>
mov    -0x34(%rbp),%edi
mov    -0x20(%rbp),%esi
mov    $0x0,%al
call   1030 <cre_gen_by@plt>
mov    -0x20(%rbp),%esi
lea    -0x2c(%rbp),%rdi
mov    $0x0,%al
call   1050 <val_curMRIState@plt>
mov    -0x2c(%rbp),%esi
mov    -0x24(%rbp),%edx
lea    -0x28(%rbp),%rdi
mov    $0x0,%al
call   1070 <add_ppf@plt>
cmpl   $0x1,-0x28(%rbp)
jne    12dd <intr_prf+0x14d>
mov    -0x20(%rbp),%esi
lea    -0x2c(%rbp),%rdi
mov    $0x0,%al
call   10b0 <val_cptMRIState@plt>
mov    -0x2c(%rbp),%esi
mov    -0x24(%rbp),%edx
lea    -0x28(%rbp),%rdi
mov    $0x0,%al
call   1070 <add_ppf@plt>
jmp    12e2 <intr_prf+0x152>
cmpl   $0x0,-0x28(%rbp)
jne    12f6 <intr_prf+0x166>
mov    -0x34(%rbp),%edi
mov    $0x0,%al
call   1040 <kill_Construct@plt>
jmp    12fb <intr_prf+0x16b>
mov    -0x34(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x28(%rbp),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%eax
add    $0x430,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<intr_prf>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x400,%rsp
mov    %r8d,%r15d
mov    %ecx,%ebp
mov    %rsi,%r14
mov    %rdi,%r12
lea    -0x1(%rdx),%eax
cmp    $0x2,%eax
ja     11cb <intr_prf+0x3b>
add    $0x8,%edx
lea    0x4(%rsp),%rdi
lea    0x8(%rsp),%rsi
mov    $0x6,%ecx
xor    %eax,%eax
call   1080 <make_Construct@plt>
mov    0x4(%rsp),%eax
cmp    $0x1,%eax
jne    1282 <intr_prf+0xf2>
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   10a0 <xtr_name@plt>
mov    0x8(%rsp),%esi
lea    0x4(%rsp),%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1060 <mod_name@plt>
mov    0x4(%rsp),%eax
cmp    $0x1,%eax
jne    126f <intr_prf+0xdf>
mov    0x8(%rsp),%edi
mov    %r15d,%esi
xor    %eax,%eax
call   1090 <cre_prf_level@plt>
mov    0x8(%rsp),%edi
mov    %ebp,%esi
xor    %eax,%eax
call   1030 <cre_gen_by@plt>
lea    0xc(%rsp),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <val_curMRIState@plt>
mov    0xc(%rsp),%esi
lea    0x4(%rsp),%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   1070 <add_ppf@plt>
mov    0x4(%rsp),%eax
cmp    $0x1,%eax
jne    126f <intr_prf+0xdf>
lea    0xc(%rsp),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   10b0 <val_cptMRIState@plt>
mov    0xc(%rsp),%esi
lea    0x4(%rsp),%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   1070 <add_ppf@plt>
mov    0x4(%rsp),%eax
test   %eax,%eax
jne    1282 <intr_prf+0xf2>
mov    0x8(%rsp),%edi
xor    %eax,%eax
call   1040 <kill_Construct@plt>
mov    0x4(%rsp),%eax
mov    0x8(%rsp),%ecx
mov    %ecx,(%r14)
mov    %eax,(%r12)
add    $0x400,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @intr_prf(i32* %0, i32* %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca [250 x i32]
store i32* %0, i32** %7
store i32* %1, i32** %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store i32 %4, i32* %11
%17 = load i32, i32* %9
switch i32 %17, label %24 [
i32 1, label %18
i32 2, label %20
i32 3, label %22
]
18: ; preds = %5
%19 = call i32 (i32*, i32*, i32, i32, ...) bitcast (i32 (...)* @make_Construct to i32 (i32*, i32*, i32, i32, ...)*)(i32* %12, i32* %15, i32 9, i32 6)
br label %24
20: ; preds = %5
%21 = call i32 (i32*, i32*, i32, i32, ...) bitcast (i32 (...)* @make_Construct to i32 (i32*, i32*, i32, i32, ...)*)(i32* %12, i32* %15, i32 10, i32 6)
br label %24
22: ; preds = %5
%23 = call i32 (i32*, i32*, i32, i32, ...) bitcast (i32 (...)* @make_Construct to i32 (i32*, i32*, i32, i32, ...)*)(i32* %12, i32* %15, i32 11, i32 6)
br label %24
24: ; preds = %5, %22, %20, %18
%25 = load i32, i32* %12
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %64
27: ; preds = %24
%28 = getelementptr inbounds [250 x i32], [250 x i32]* %16, i64 0, i64 0
%29 = load i32, i32* %10
%30 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @xtr_name to i32 (i32*, i32, ...)*)(i32* %28, i32 %29)
%31 = load i32, i32* %15
%32 = getelementptr inbounds [250 x i32], [250 x i32]* %16, i64 0, i64 0
%33 = call i32 (i32*, i32, i32*, ...) bitcast (i32 (...)* @mod_name to i32 (i32*, i32, i32*, ...)*)(i32* %12, i32 %31, i32* %32)
%34 = load i32, i32* %12
%35 = icmp eq i32 %34, 1
br i1 %35, label %36, label %57
36: ; preds = %27
%37 = load i32, i32* %15
%38 = load i32, i32* %11
%39 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_prf_level to i32 (i32, i32, ...)*)(i32 %37, i32 %38)
%40 = load i32, i32* %15
%41 = load i32, i32* %10
%42 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_gen_by to i32 (i32, i32, ...)*)(i32 %40, i32 %41)
%43 = load i32, i32* %10
%44 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_curMRIState to i32 (i32*, i32, ...)*)(i32* %13, i32 %43)
%45 = load i32, i32* %13
%46 = load i32, i32* %11
%47 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @add_ppf to i32 (i32*, i32, i32, ...)*)(i32* %12, i32 %45, i32 %46)
%48 = load i32, i32* %12
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %56
50: ; preds = %36
%51 = load i32, i32* %10
%52 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_cptMRIState to i32 (i32*, i32, ...)*)(i32* %13, i32 %51)
%53 = load i32, i32* %13
%54 = load i32, i32* %11
%55 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @add_ppf to i32 (i32*, i32, i32, ...)*)(i32* %12, i32 %53, i32 %54)
br label %56
56: ; preds = %50, %36
br label %57
57: ; preds = %56, %27
%58 = load i32, i32* %12
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = load i32, i32* %15
%62 = call i32 (i32, ...) bitcast (i32 (...)* @kill_Construct to i32 (i32, ...)*)(i32 %61)
br label %63
63: ; preds = %60, %57
br label %64
64: ; preds = %63, %24
%65 = load i32, i32* %15
%66 = load i32*, i32** %8
store i32 %65, i32* %66
%67 = load i32, i32* %12
%68 = load i32*, i32** %7
store i32 %67, i32* %68
%69 = load i32, i32* %6
ret i32 %69
}

LLVM IR (-O2):
define i32 @intr_prf(i32* nocapture writeonly %0, i32* nocapture writeonly %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca [250 x i32]
%10 = bitcast i32* %6 to i8*
%11 = bitcast i32* %7 to i8*
%12 = bitcast i32* %8 to i8*
%13 = bitcast [250 x i32]* %9 to i8*
%14 = add i32 %2, -1
%15 = icmp ult i32 %14, 3
br i1 %15, label %16, label %19
16: ; preds = %5
%17 = add i32 %2, 8
%18 = call i32 (i32*, i32*, i32, i32, ...) bitcast (i32 (...)* @make_Construct to i32 (i32*, i32*, i32, i32, ...)*)(i32* %6, i32* %8, i32 %17, i32 6)
br label %19
19: ; preds = %5, %16
%20 = load i32, i32* %6
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %51
22: ; preds = %19
%23 = getelementptr inbounds [250 x i32], [250 x i32]* %9, i64 0, i64 0
%24 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @xtr_name to i32 (i32*, i32, ...)*)(i32* %23, i32 %3)
%25 = load i32, i32* %8
%26 = call i32 (i32*, i32, i32*, ...) bitcast (i32 (...)* @mod_name to i32 (i32*, i32, i32*, ...)*)(i32* %6, i32 %25, i32* %23)
%27 = load i32, i32* %6
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %44
29: ; preds = %22
%30 = load i32, i32* %8
%31 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_prf_level to i32 (i32, i32, ...)*)(i32 %30, i32 %4)
%32 = load i32, i32* %8
%33 = call i32 (i32, i32, ...) bitcast (i32 (...)* @cre_gen_by to i32 (i32, i32, ...)*)(i32 %32, i32 %3)
%34 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_curMRIState to i32 (i32*, i32, ...)*)(i32* %7, i32 %3)
%35 = load i32, i32* %7
%36 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @add_ppf to i32 (i32*, i32, i32, ...)*)(i32* %6, i32 %35, i32 %4)
%37 = load i32, i32* %6
%38 = icmp eq i32 %37, 1
br i1 %38, label %39, label %44
39: ; preds = %29
%40 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @val_cptMRIState to i32 (i32*, i32, ...)*)(i32* %7, i32 %3)
%41 = load i32, i32* %7
%42 = call i32 (i32*, i32, i32, ...) bitcast (i32 (...)* @add_ppf to i32 (i32*, i32, i32, ...)*)(i32* %6, i32 %41, i32 %4)
%43 = load i32, i32* %6
br label %44
44: ; preds = %29, %39, %22
%45 = phi i32 [ %37, %29 ], [ %43, %39 ], [ %27, %22 ]
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load i32, i32* %8
%49 = call i32 (i32, ...) bitcast (i32 (...)* @kill_Construct to i32 (i32, ...)*)(i32 %48)
%50 = load i32, i32* %6
br label %51
51: ; preds = %44, %47, %19
%52 = phi i32 [ %45, %44 ], [ %50, %47 ], [ %20, %19 ]
%53 = load i32, i32* %8
store i32 %53, i32* %1
store i32 %52, i32* %0
ret i32 undef
}