missing_section_msg(com_filename, action) char *com_filename;
int action;
{
  if ((((action) & (0x00000001)) == (0x00000001)))
    printf("Unable to locate REPACK file in file %s\n", com_filename);
  if ((((action) & (0x00000002)) == (0x00000002)))
    printf("Unable to locate SOURCE file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000008)) == (0x00000008)))
    printf("Unable to locate MAKE file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000004)) == (0x00000004)))
    printf("Unable to locate IMAKE file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000010)) == (0x00000010)))
    printf("Unable to locate BUILD file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000020)) == (0x00000020)))
    printf("Unable to locate PDF file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000040)) == (0x00000040)))
    printf("Unable to locate TEST file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000080)) == (0x00000080)))
    printf("Unable to locate DOC file(s) in file %s\n", com_filename);
  if ((((action) & (0x00000100)) == (0x00000100)))
    printf("Unable to locate OTHER file(s) in file %s\n", com_filename);
}


x86 assembly (clang, -O0):
<missing_section_msg>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    -0x14(%rbp),%eax
and    $0x1,%eax
cmp    $0x1,%eax
jne    1140 <missing_section_msg+0x30>
mov    -0x10(%rbp),%rsi
lea    0xec7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x2,%eax
cmp    $0x2,%eax
jne    1161 <missing_section_msg+0x51>
mov    -0x10(%rbp),%rsi
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x8,%eax
cmp    $0x8,%eax
jne    1182 <missing_section_msg+0x72>
mov    -0x10(%rbp),%rsi
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x4,%eax
cmp    $0x4,%eax
jne    11a3 <missing_section_msg+0x93>
mov    -0x10(%rbp),%rsi
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x10,%eax
cmp    $0x10,%eax
jne    11c4 <missing_section_msg+0xb4>
mov    -0x10(%rbp),%rsi
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x20,%eax
cmp    $0x20,%eax
jne    11e5 <missing_section_msg+0xd5>
mov    -0x10(%rbp),%rsi
lea    0xef7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x40,%eax
cmp    $0x40,%eax
jne    1206 <missing_section_msg+0xf6>
mov    -0x10(%rbp),%rsi
lea    0xeff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x80,%eax
cmp    $0x80,%eax
jne    122b <missing_section_msg+0x11b>
mov    -0x10(%rbp),%rsi
lea    0xf04(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
and    $0x100,%eax
cmp    $0x100,%eax
jne    1250 <missing_section_msg+0x140>
mov    -0x10(%rbp),%rsi
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<missing_section_msg>:
push   %rbp
push   %rbx
push   %rax
mov    %esi,%ebp
mov    %rdi,%rbx
test   $0x1,%bpl
jne    1180 <missing_section_msg+0x70>
test   $0x2,%bpl
jne    1197 <missing_section_msg+0x87>
test   $0x8,%bpl
jne    11ae <missing_section_msg+0x9e>
test   $0x4,%bpl
jne    11c9 <missing_section_msg+0xb9>
test   $0x10,%bpl
jne    11e4 <missing_section_msg+0xd4>
test   $0x20,%bpl
jne    11ff <missing_section_msg+0xef>
test   $0x40,%bpl
jne    121a <missing_section_msg+0x10a>
test   $0x80,%bpl
jne    1235 <missing_section_msg+0x125>
test   $0x100,%ebp
je     1179 <missing_section_msg+0x69>
lea    0xfe2(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
lea    0xe79(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x2,%bpl
je     1124 <missing_section_msg+0x14>
lea    0xe8b(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x8,%bpl
je     112e <missing_section_msg+0x1e>
lea    0xea0(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x4,%bpl
je     1138 <missing_section_msg+0x28>
lea    0xeaf(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x10,%bpl
je     1142 <missing_section_msg+0x32>
lea    0xebf(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x20,%bpl
je     114c <missing_section_msg+0x3c>
lea    0xecf(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x40,%bpl
je     1156 <missing_section_msg+0x46>
lea    0xedd(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x80,%bpl
je     1160 <missing_section_msg+0x50>
lea    0xeec(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
test   $0x100,%ebp
jne    1168 <missing_section_msg+0x58>
jmp    1179 <missing_section_msg+0x69>

LLVM IR (-O0):
@.str = [41 x i8] c"Unable to locate REPACK file in file %s\0A\00"
@.str.1 = [44 x i8] c"Unable to locate SOURCE file(s) in file %s\0A\00"
@.str.2 = [42 x i8] c"Unable to locate MAKE file(s) in file %s\0A\00"
@.str.3 = [43 x i8] c"Unable to locate IMAKE file(s) in file %s\0A\00"
@.str.4 = [43 x i8] c"Unable to locate BUILD file(s) in file %s\0A\00"
@.str.5 = [41 x i8] c"Unable to locate PDF file(s) in file %s\0A\00"
@.str.6 = [42 x i8] c"Unable to locate TEST file(s) in file %s\0A\00"
@.str.7 = [41 x i8] c"Unable to locate DOC file(s) in file %s\0A\00"
@.str.8 = [43 x i8] c"Unable to locate OTHER file(s) in file %s\0A\00"
define i32 @missing_section_msg(i8* %0, i32 %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i32
store i8* %0, i8** %4
store i32 %1, i32* %5
%6 = load i32, i32* %5
%7 = and i32 %6, 1
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i8*, i8** %4
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i8* %10)
br label %12
12: ; preds = %9, %2
%13 = load i32, i32* %5
%14 = and i32 %13, 2
%15 = icmp eq i32 %14, 2
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i8*, i8** %4
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0), i8* %17)
br label %19
19: ; preds = %16, %12
%20 = load i32, i32* %5
%21 = and i32 %20, 8
%22 = icmp eq i32 %21, 8
br i1 %22, label %23, label %26
23: ; preds = %19
%24 = load i8*, i8** %4
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i8* %24)
br label %26
26: ; preds = %23, %19
%27 = load i32, i32* %5
%28 = and i32 %27, 4
%29 = icmp eq i32 %28, 4
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i8*, i8** %4
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0), i8* %31)
br label %33
33: ; preds = %30, %26
%34 = load i32, i32* %5
%35 = and i32 %34, 16
%36 = icmp eq i32 %35, 16
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = load i8*, i8** %4
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* %38)
br label %40
40: ; preds = %37, %33
%41 = load i32, i32* %5
%42 = and i32 %41, 32
%43 = icmp eq i32 %42, 32
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i8*, i8** %4
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i8* %45)
br label %47
47: ; preds = %44, %40
%48 = load i32, i32* %5
%49 = and i32 %48, 64
%50 = icmp eq i32 %49, 64
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = load i8*, i8** %4
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0), i8* %52)
br label %54
54: ; preds = %51, %47
%55 = load i32, i32* %5
%56 = and i32 %55, 128
%57 = icmp eq i32 %56, 128
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = load i8*, i8** %4
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* %59)
br label %61
61: ; preds = %58, %54
%62 = load i32, i32* %5
%63 = and i32 %62, 256
%64 = icmp eq i32 %63, 256
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load i8*, i8** %4
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i8* %66)
br label %68
68: ; preds = %65, %61
%69 = load i32, i32* %3
ret i32 %69
}

LLVM IR (-O2):
@.str = [41 x i8] c"Unable to locate REPACK file in file %s\0A\00"
@.str.1 = [44 x i8] c"Unable to locate SOURCE file(s) in file %s\0A\00"
@.str.2 = [42 x i8] c"Unable to locate MAKE file(s) in file %s\0A\00"
@.str.3 = [43 x i8] c"Unable to locate IMAKE file(s) in file %s\0A\00"
@.str.4 = [43 x i8] c"Unable to locate BUILD file(s) in file %s\0A\00"
@.str.5 = [41 x i8] c"Unable to locate PDF file(s) in file %s\0A\00"
@.str.6 = [42 x i8] c"Unable to locate TEST file(s) in file %s\0A\00"
@.str.7 = [41 x i8] c"Unable to locate DOC file(s) in file %s\0A\00"
@.str.8 = [43 x i8] c"Unable to locate OTHER file(s) in file %s\0A\00"
define i32 @missing_section_msg(i8* %0, i32 %1) {
%3 = and i32 %1, 1
%4 = icmp eq i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i8* %0)
br label %7
7: ; preds = %5, %2
%8 = and i32 %1, 2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0), i8* %0)
br label %12
12: ; preds = %10, %7
%13 = and i32 %1, 8
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i8* %0)
br label %17
17: ; preds = %15, %12
%18 = and i32 %1, 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %17
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0), i8* %0)
br label %22
22: ; preds = %20, %17
%23 = and i32 %1, 16
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %22
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* %0)
br label %27
27: ; preds = %25, %22
%28 = and i32 %1, 32
%29 = icmp eq i32 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i8* %0)
br label %32
32: ; preds = %30, %27
%33 = and i32 %1, 64
%34 = icmp eq i32 %33, 0
br i1 %34, label %37, label %35
35: ; preds = %32
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.6, i64 0, i64 0), i8* %0)
br label %37
37: ; preds = %35, %32
%38 = and i32 %1, 128
%39 = icmp eq i32 %38, 0
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0), i8* %0)
br label %42
42: ; preds = %40, %37
%43 = and i32 %1, 256
%44 = icmp eq i32 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %42
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i8* %0)
br label %47
47: ; preds = %45, %42
ret i32 undef
}