#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 */
int /*<<< orphan*/ add_makefile_entry_to_file(char *, char *, char *);
scalar_t__ contains_char(char *, char);
char *get_subdirectory_string(char *);
scalar_t__ is_library(char *);
int /*<<< orphan*/ sprintf(char *, char *, char *);
scalar_t__ strlen(char *);
void save_makefile_uninstall(char *filename, char *project_name,
                             char *commandline, int no_of_binaries,
                             char **binaries) {
  int i;
  char str[512];
  for (i = 0; i < no_of_binaries; i++) {
    if (get_subdirectory_string(binaries[i]) != 0) {
      if (contains_char(binaries[i], ' ') == 0) {
        sprintf(str, "rm -f /%s", get_subdirectory_string(binaries[i]));
      } else {
        sprintf(str, "rm -f \"/%s\"", get_subdirectory_string(binaries[i]));
      }
      add_makefile_entry_to_file(filename, "uninstall", str);
    }
  }
  add_makefile_entry_to_file(filename, "uninstall",
                             "rm -f ${PREFIX}/share/man/man1/${APP}.1.gz");
  if (is_library(project_name) == 0) {
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -rf ${PREFIX}/share/${APP}");
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -f ${PREFIX}/bin/${APP}");
  } else {
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -f ${PREFIX}/${LIBDIR}/${LIBNAME}");
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -f ${PREFIX}/${LIBDIR}/${APP}.so");
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -f ${PREFIX}/${LIBDIR}/${SONAME}");
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -rf ${PREFIX}/include/${APP}");
    add_makefile_entry_to_file(filename, "uninstall", "ldconfig");
  }
  if (strlen(commandline) == 0) {
    add_makefile_entry_to_file(
        filename, "uninstall",
        "rm -f ${PREFIX}/share/applications/${APP}.desktop");
    add_makefile_entry_to_file(
        filename, "uninstall",
        "rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg");
    add_makefile_entry_to_file(filename, "uninstall",
                               "rm -f ${PREFIX}/share/pixmaps/${APP}.svg");
  }
}


x86 assembly (clang, -O0):
<save_makefile_uninstall>:
push   %rbp
mov    %rsp,%rbp
sub    $0x240,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1265 <save_makefile_uninstall+0x105>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1070 <get_subdirectory_string@plt>
cmp    $0x0,%rax
je     1252 <save_makefile_uninstall+0xf2>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    $0x20,%esi
call   1030 <contains_char@plt>
cmp    $0x0,%rax
jne    1206 <save_makefile_uninstall+0xa6>
lea    -0x230(%rbp),%rax
mov    %rax,-0x238(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1070 <get_subdirectory_string@plt>
mov    -0x238(%rbp),%rdi
mov    %rax,%rdx
lea    0xe04(%rip),%rsi
call   1060 <sprintf@plt>
jmp    123b <save_makefile_uninstall+0xdb>
lea    -0x230(%rbp),%rax
mov    %rax,-0x240(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1070 <get_subdirectory_string@plt>
mov    -0x240(%rbp),%rdi
mov    %rax,%rdx
lea    0xdd4(%rip),%rsi
call   1060 <sprintf@plt>
mov    -0x8(%rbp),%rdi
lea    -0x230(%rbp),%rdx
lea    0xdc9(%rip),%rsi
call   1080 <add_makefile_entry_to_file@plt>
jmp    1257 <save_makefile_uninstall+0xf7>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1185 <save_makefile_uninstall+0x25>
mov    -0x8(%rbp),%rdi
lea    0xda6(%rip),%rsi
lea    0xda9(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x10(%rbp),%rdi
call   1050 <is_library@plt>
cmp    $0x0,%rax
jne    12c2 <save_makefile_uninstall+0x162>
mov    -0x8(%rbp),%rdi
lea    0xd7c(%rip),%rsi
lea    0xdaa(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xd65(%rip),%rsi
lea    0xdb1(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
jmp    1335 <save_makefile_uninstall+0x1d5>
mov    -0x8(%rbp),%rdi
lea    0xd49(%rip),%rsi
lea    0xdb0(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xd32(%rip),%rsi
lea    0xdbe(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xd1b(%rip),%rsi
lea    0xdcb(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xd04(%rip),%rsi
lea    0xdd8(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xced(%rip),%rsi
lea    0xde1(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x18(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    138d <save_makefile_uninstall+0x22d>
mov    -0x8(%rbp),%rdi
lea    0xcc3(%rip),%rsi
lea    0xdc0(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xcac(%rip),%rsi
lea    0xddb(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
mov    -0x8(%rbp),%rdi
lea    0xc95(%rip),%rsi
lea    0xe01(%rip),%rdx
call   1080 <add_makefile_entry_to_file@plt>
add    $0x240,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<save_makefile_uninstall>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x218,%rsp
mov    %rdx,0x8(%rsp)
mov    %rsi,(%rsp)
mov    %rdi,%r12
test   %ecx,%ecx
jle    11e5 <save_makefile_uninstall+0x95>
mov    %r8,%rbx
mov    %ecx,%r15d
xor    %ebp,%ebp
lea    0x10(%rsp),%r13
jmp    1189 <save_makefile_uninstall+0x39>
add    $0x1,%rbp
cmp    %rbp,%r15
je     11e5 <save_makefile_uninstall+0x95>
mov    (%rbx,%rbp,8),%rdi
call   1060 <get_subdirectory_string@plt>
test   %rax,%rax
je     1180 <save_makefile_uninstall+0x30>
mov    (%rbx,%rbp,8),%rdi
mov    $0x20,%esi
call   1030 <contains_char@plt>
mov    %rax,%r14
mov    (%rbx,%rbp,8),%rdi
call   1060 <get_subdirectory_string@plt>
test   %r14,%r14
lea    0xe4f(%rip),%rsi
lea    0xe3e(%rip),%rcx
cmove  %rcx,%rsi
mov    %r13,%rdi
mov    %rax,%rdx
call   1050 <sprintf@plt>
mov    %r12,%rdi
lea    0xe3b(%rip),%rsi
mov    %r13,%rdx
call   1070 <add_makefile_entry_to_file@plt>
jmp    1180 <save_makefile_uninstall+0x30>
lea    0xe2a(%rip),%rsi
lea    0xe2d(%rip),%rdx
mov    %r12,%rdi
call   1070 <add_makefile_entry_to_file@plt>
mov    (%rsp),%rdi
call   1040 <is_library@plt>
test   %rax,%rax
je     1256 <save_makefile_uninstall+0x106>
lea    0xe06(%rip),%rbx
lea    0xe6d(%rip),%rdx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <add_makefile_entry_to_file@plt>
lea    0xe80(%rip),%rdx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <add_makefile_entry_to_file@plt>
lea    0xe92(%rip),%rdx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <add_makefile_entry_to_file@plt>
lea    0xec4(%rip),%rbx
lea    0xe9d(%rip),%rdx
jmp    1264 <save_makefile_uninstall+0x114>
lea    0xe0c(%rip),%rbx
lea    0xde7(%rip),%rdx
lea    0xdab(%rip),%rbp
mov    %r12,%rdi
mov    %rbp,%rsi
call   1070 <add_makefile_entry_to_file@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %rbx,%rdx
call   1070 <add_makefile_entry_to_file@plt>
mov    0x8(%rsp),%rax
cmpb   $0x0,(%rax)
jne    12cb <save_makefile_uninstall+0x17b>
lea    0xd81(%rip),%rbx
lea    0xe7e(%rip),%rdx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <add_makefile_entry_to_file@plt>
lea    0xe9e(%rip),%rdx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <add_makefile_entry_to_file@plt>
lea    0xec9(%rip),%rdx
mov    %r12,%rdi
mov    %rbx,%rsi
call   1070 <add_makefile_entry_to_file@plt>
add    $0x218,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [10 x i8] c"rm -f /%s\00"
@.str.1 = [12 x i8] c"rm -f \22/%s\22\00"
@.str.2 = [10 x i8] c"uninstall\00"
@.str.3 = [43 x i8] c"rm -f ${PREFIX}/share/man/man1/${APP}.1.gz\00"
@.str.4 = [30 x i8] c"rm -rf ${PREFIX}/share/${APP}\00"
@.str.5 = [27 x i8] c"rm -f ${PREFIX}/bin/${APP}\00"
@.str.6 = [37 x i8] c"rm -f ${PREFIX}/${LIBDIR}/${LIBNAME}\00"
@.str.7 = [36 x i8] c"rm -f ${PREFIX}/${LIBDIR}/${APP}.so\00"
@.str.8 = [36 x i8] c"rm -f ${PREFIX}/${LIBDIR}/${SONAME}\00"
@.str.9 = [32 x i8] c"rm -rf ${PREFIX}/include/${APP}\00"
@.str.10 = [9 x i8] c"ldconfig\00"
@.str.11 = [50 x i8] c"rm -f ${PREFIX}/share/applications/${APP}.desktop\00"
@.str.12 = [61 x i8] c"rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg\00"
@.str.13 = [41 x i8] c"rm -f ${PREFIX}/share/pixmaps/${APP}.svg\00"
define void @save_makefile_uninstall(i8* %0, i8* %1, i8* %2, i32 %3, i8** %4) {
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i8**
%11 = alloca i32
%12 = alloca [512 x i8]
store i8* %0, i8** %6
store i8* %1, i8** %7
store i8* %2, i8** %8
store i32 %3, i32* %9
store i8** %4, i8*** %10
store i32 0, i32* %11
br label %13
13: ; preds = %56, %5
%14 = load i32, i32* %11
%15 = load i32, i32* %9
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %59
17: ; preds = %13
%18 = load i8**, i8*** %10
%19 = load i32, i32* %11
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8*, i8** %18, i64 %20
%22 = load i8*, i8** %21
%23 = call i8* @get_subdirectory_string(i8* %22)
%24 = icmp ne i8* %23, null
br i1 %24, label %25, label %55
25: ; preds = %17
%26 = load i8**, i8*** %10
%27 = load i32, i32* %11
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8*, i8** %26, i64 %28
%30 = load i8*, i8** %29
%31 = call i64 @contains_char(i8* %30, i8 signext 32)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %42
33: ; preds = %25
%34 = getelementptr inbounds [512 x i8], [512 x i8]* %12, i64 0, i64 0
%35 = load i8**, i8*** %10
%36 = load i32, i32* %11
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8*, i8** %35, i64 %37
%39 = load i8*, i8** %38
%40 = call i8* @get_subdirectory_string(i8* %39)
%41 = call i32 @sprintf(i8* %34, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %40)
br label %51
42: ; preds = %25
%43 = getelementptr inbounds [512 x i8], [512 x i8]* %12, i64 0, i64 0
%44 = load i8**, i8*** %10
%45 = load i32, i32* %11
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8*, i8** %44, i64 %46
%48 = load i8*, i8** %47
%49 = call i8* @get_subdirectory_string(i8* %48)
%50 = call i32 @sprintf(i8* %43, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* %49)
br label %51
51: ; preds = %42, %33
%52 = load i8*, i8** %6
%53 = getelementptr inbounds [512 x i8], [512 x i8]* %12, i64 0, i64 0
%54 = call i32 @add_makefile_entry_to_file(i8* %52, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %53)
br label %55
55: ; preds = %51, %17
br label %56
56: ; preds = %55
%57 = load i32, i32* %11
%58 = add nsw i32 %57, 1
store i32 %58, i32* %11
br label %13
59: ; preds = %13
%60 = load i8*, i8** %6
%61 = call i32 @add_makefile_entry_to_file(i8* %60, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%62 = load i8*, i8** %7
%63 = call i64 @is_library(i8* %62)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %70
65: ; preds = %59
%66 = load i8*, i8** %6
%67 = call i32 @add_makefile_entry_to_file(i8* %66, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%68 = load i8*, i8** %6
%69 = call i32 @add_makefile_entry_to_file(i8* %68, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
br label %81
70: ; preds = %59
%71 = load i8*, i8** %6
%72 = call i32 @add_makefile_entry_to_file(i8* %71, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%73 = load i8*, i8** %6
%74 = call i32 @add_makefile_entry_to_file(i8* %73, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%75 = load i8*, i8** %6
%76 = call i32 @add_makefile_entry_to_file(i8* %75, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0))
%77 = load i8*, i8** %6
%78 = call i32 @add_makefile_entry_to_file(i8* %77, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0))
%79 = load i8*, i8** %6
%80 = call i32 @add_makefile_entry_to_file(i8* %79, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
br label %81
81: ; preds = %70, %65
%82 = load i8*, i8** %8
%83 = call i64 @strlen(i8* %82)
%84 = icmp eq i64 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %81
%86 = load i8*, i8** %6
%87 = call i32 @add_makefile_entry_to_file(i8* %86, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.11, i64 0, i64 0))
%88 = load i8*, i8** %6
%89 = call i32 @add_makefile_entry_to_file(i8* %88, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.12, i64 0, i64 0))
%90 = load i8*, i8** %6
%91 = call i32 @add_makefile_entry_to_file(i8* %90, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
br label %92
92: ; preds = %85, %81
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"rm -f /%s\00"
@.str.1 = [12 x i8] c"rm -f \22/%s\22\00"
@.str.2 = [10 x i8] c"uninstall\00"
@.str.3 = [43 x i8] c"rm -f ${PREFIX}/share/man/man1/${APP}.1.gz\00"
@.str.4 = [30 x i8] c"rm -rf ${PREFIX}/share/${APP}\00"
@.str.5 = [27 x i8] c"rm -f ${PREFIX}/bin/${APP}\00"
@.str.6 = [37 x i8] c"rm -f ${PREFIX}/${LIBDIR}/${LIBNAME}\00"
@.str.7 = [36 x i8] c"rm -f ${PREFIX}/${LIBDIR}/${APP}.so\00"
@.str.8 = [36 x i8] c"rm -f ${PREFIX}/${LIBDIR}/${SONAME}\00"
@.str.9 = [32 x i8] c"rm -rf ${PREFIX}/include/${APP}\00"
@.str.10 = [9 x i8] c"ldconfig\00"
@.str.11 = [50 x i8] c"rm -f ${PREFIX}/share/applications/${APP}.desktop\00"
@.str.12 = [61 x i8] c"rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg\00"
@.str.13 = [41 x i8] c"rm -f ${PREFIX}/share/pixmaps/${APP}.svg\00"
define void @save_makefile_uninstall(i8* %0, i8* %1, i8* nocapture %2, i32 %3, i8** nocapture %4) {
%6 = alloca [512 x i8]
%7 = getelementptr inbounds [512 x i8], [512 x i8]* %6, i64 0, i64 0
%8 = icmp sgt i32 %3, 0
br i1 %8, label %9, label %29
9: ; preds = %5
%10 = zext i32 %3 to i64
br label %11
11: ; preds = %9, %26
%12 = phi i64 [ 0, %9 ], [ %27, %26 ]
%13 = getelementptr inbounds i8*, i8** %4, i64 %12
%14 = load i8*, i8** %13
%15 = call i8* @get_subdirectory_string(i8* %14)
%16 = icmp eq i8* %15, null
br i1 %16, label %26, label %17
17: ; preds = %11
%18 = load i8*, i8** %13
%19 = call i64 @contains_char(i8* %18, i8 signext 32)
%20 = icmp eq i64 %19, 0
%21 = load i8*, i8** %13
%22 = call i8* @get_subdirectory_string(i8* %21)
%23 = select i1 %20, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0)
%24 = call i32 @sprintf(i8* %7, i8* dereferenceable(1) %23, i8* %22)
%25 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %7)
br label %26
26: ; preds = %11, %17
%27 = add nuw nsw i64 %12, 1
%28 = icmp eq i64 %27, %10
br i1 %28, label %29, label %11
29: ; preds = %26, %5
%30 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%31 = call i64 @is_library(i8* %1)
%32 = icmp eq i64 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%35 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%36 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0))
br label %37
37: ; preds = %29, %33
%38 = phi i8* [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), %33 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), %29 ]
%39 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), %33 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0), %29 ]
%40 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %38)
%41 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %39)
%42 = load i8, i8* %2
%43 = icmp eq i8 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %37
%45 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.11, i64 0, i64 0))
%46 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.12, i64 0, i64 0))
%47 = call i32 @add_makefile_entry_to_file(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
br label %48
48: ; preds = %44, %37
ret void
}