#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*/ _make_log(char *, char *, int, char *, char const *, ...);
char *gmk_alloc(size_t);
int /*<<< orphan*/ gmk_eval(char *, int /*<<< orphan*/ *);
char *gmk_expand(char *);
int /*<<< orphan*/ gmk_free(char *);
scalar_t__ isspace(int);
int /*<<< orphan*/ memcpy(char *, char const *, size_t);
int /*<<< orphan*/ strcpy(char *, char *);
size_t strlen(char const *);
char *strstr(char *, char *);
void ad_update_variable(char const *name, char *value) {
  size_t name_len, value_len;
  char *old, *p, *expand;
  _make_log("info",
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/alandekok/freeradius-server/refs/heads/"
            "master/scripts/build/dlopen.c",
            624,
            "Update %s with %s"
            "\n",
            name, value);
  if (!value || !*value || (*value == ' '))
    return;
  name_len = strlen(name);
  expand = gmk_alloc(name_len + 4);
  if (!expand)
    return;
  expand[0] = '$';
  expand[1] = '(';
  memcpy(expand + 2, name, name_len);
  expand[2 + name_len] = ')';
  expand[2 + name_len + 1] = '\0';
  old = gmk_expand(expand);
  gmk_free(expand);
  if (!old)
    return;
  value_len = strlen(value);
  p = strstr(old, value);
  if (p) {
    if (!p[value_len] || isspace((int)p[value_len])) {
      gmk_free(old);
      return;
    }
    gmk_free(old);
  }
  expand = gmk_alloc(name_len + 4 + name_len + 2 + value_len + 1);
  if (!expand)
    return;
  p = expand;
  memcpy(p, name, name_len);
  p += name_len;
  *p++ = ':';
  *p++ = '=';
  *p++ = '$';
  *p++ = '(';
  memcpy(p, name, name_len);
  p += name_len;
  *p++ = ')';
  *p++ = ' ';
  strcpy(p, value);
  _make_log("info",
            "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
            "2022-01-22/02-19-57/repos/alandekok/freeradius-server/refs/heads/"
            "master/scripts/build/dlopen.c",
            684,
            "RESULT ASKED TO EVAL - %s"
            "\n",
            expand);
  gmk_eval(expand, NULL);
  gmk_free(expand);
}


x86 assembly (clang, -O0):
<ad_update_variable>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%r8
mov    -0x10(%rbp),%r9
lea    0xe41(%rip),%rdi
lea    0xe3f(%rip),%rsi
mov    $0x270,%edx
lea    0xed2(%rip),%rcx
mov    $0x0,%al
call   1040 <_make_log@plt>
cmpq   $0x0,-0x10(%rbp)
je     1201 <ad_update_variable+0x61>
mov    -0x10(%rbp),%rax
cmpb   $0x0,(%rax)
je     1201 <ad_update_variable+0x61>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x20,%eax
jne    1206 <ad_update_variable+0x66>
jmp    1433 <ad_update_variable+0x293>
mov    -0x8(%rbp),%rdi
call   1050 <strlen@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x4,%rdi
call   1070 <gmk_alloc@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    1234 <ad_update_variable+0x94>
jmp    1433 <ad_update_variable+0x293>
mov    -0x38(%rbp),%rax
movb   $0x24,(%rax)
mov    -0x38(%rbp),%rax
movb   $0x28,0x1(%rax)
mov    -0x38(%rbp),%rdi
add    $0x2,%rdi
mov    -0x8(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   10a0 <memcpy@plt>
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%rcx
add    $0x2,%rcx
movb   $0x29,(%rax,%rcx,1)
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%rcx
add    $0x2,%rcx
movb   $0x0,0x1(%rax,%rcx,1)
mov    -0x38(%rbp),%rdi
call   10b0 <gmk_expand@plt>
mov    %rax,-0x28(%rbp)
mov    -0x38(%rbp),%rdi
call   1060 <gmk_free@plt>
cmpq   $0x0,-0x28(%rbp)
jne    129f <ad_update_variable+0xff>
jmp    1433 <ad_update_variable+0x293>
mov    -0x10(%rbp),%rdi
call   1050 <strlen@plt>
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   10c0 <strstr@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
je     130c <ad_update_variable+0x16c>
mov    -0x30(%rbp),%rax
mov    -0x20(%rbp),%rcx
cmpb   $0x0,(%rax,%rcx,1)
je     12f5 <ad_update_variable+0x155>
mov    -0x30(%rbp),%rax
mov    -0x20(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1080 <isspace@plt>
cmp    $0x0,%rax
je     1303 <ad_update_variable+0x163>
mov    -0x28(%rbp),%rdi
call   1060 <gmk_free@plt>
jmp    1433 <ad_update_variable+0x293>
mov    -0x28(%rbp),%rdi
call   1060 <gmk_free@plt>
mov    -0x18(%rbp),%rdi
add    $0x4,%rdi
add    -0x18(%rbp),%rdi
add    $0x2,%rdi
add    -0x20(%rbp),%rdi
add    $0x1,%rdi
call   1070 <gmk_alloc@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    133d <ad_update_variable+0x19d>
jmp    1433 <ad_update_variable+0x293>
mov    -0x38(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   10a0 <memcpy@plt>
mov    -0x18(%rbp),%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x3a,(%rax)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x3d,(%rax)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x24,(%rax)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x28,(%rax)
mov    -0x30(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   10a0 <memcpy@plt>
mov    -0x18(%rbp),%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x29,(%rax)
mov    -0x30(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x30(%rbp)
movb   $0x20,(%rax)
mov    -0x30(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x38(%rbp),%r8
lea    0xbfd(%rip),%rdi
lea    0xbfb(%rip),%rsi
mov    $0x2ac,%edx
lea    0xca1(%rip),%rcx
mov    $0x0,%al
call   1040 <_make_log@plt>
mov    -0x38(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1090 <gmk_eval@plt>
mov    -0x38(%rbp),%rdi
call   1060 <gmk_free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ad_update_variable>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %rdi,%r14
lea    0xe48(%rip),%rdi
lea    0xe46(%rip),%rsi
lea    0xede(%rip),%rcx
mov    $0x270,%edx
mov    %r14,%r8
mov    %rbx,%r9
xor    %eax,%eax
call   1040 <_make_log@plt>
test   %rbx,%rbx
je     11e2 <ad_update_variable+0x42>
testb  $0xdf,(%rbx)
jne    11f1 <ad_update_variable+0x51>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r14,%rdi
call   1050 <strlen@plt>
mov    %rax,%r15
lea    0x4(%rax),%r13
mov    %r13,%rdi
call   1070 <gmk_alloc@plt>
test   %rax,%rax
je     11e2 <ad_update_variable+0x42>
mov    %rax,%rbp
movw   $0x2824,(%rax)
mov    %rax,%rdi
add    $0x2,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
call   10a0 <memcpy@plt>
movw   $0x29,0x2(%r15,%rbp,1)
mov    %rbp,%rdi
call   10b0 <gmk_expand@plt>
mov    %rax,%r12
mov    %rbp,%rdi
call   1060 <gmk_free@plt>
test   %r12,%r12
je     11e2 <ad_update_variable+0x42>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    %rax,%rbp
mov    %r12,%rdi
mov    %rbx,%rsi
call   10c0 <strstr@plt>
test   %rax,%rax
je     1284 <ad_update_variable+0xe4>
movsbl (%rax,%rbp,1),%edi
test   %edi,%edi
je     1314 <ad_update_variable+0x174>
call   1080 <isspace@plt>
test   %rax,%rax
jne    1314 <ad_update_variable+0x174>
mov    %r12,%rdi
call   1060 <gmk_free@plt>
lea    0x3(%r15),%rdi
add    %r13,%rdi
add    %rbp,%rdi
call   1070 <gmk_alloc@plt>
test   %rax,%rax
je     11e2 <ad_update_variable+0x42>
mov    %rax,%r12
mov    %rax,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
call   10a0 <memcpy@plt>
movl   $0x28243d3a,(%r12,%r15,1)
28
lea    (%r12,%r15,1),%rdi
add    $0x4,%rdi
mov    %r12,%rbp
add    %r15,%rbp
mov    %r14,%rsi
mov    %r15,%rdx
call   10a0 <memcpy@plt>
movw   $0x2029,0x4(%r15,%rbp,1)
20
lea    (%r15,%rbp,1),%rdi
add    $0x6,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
lea    0xd13(%rip),%rdi
lea    0xd11(%rip),%rsi
lea    0xdbc(%rip),%rcx
mov    $0x2ac,%edx
mov    %r12,%r8
xor    %eax,%eax
call   1040 <_make_log@plt>
mov    %r12,%rdi
xor    %esi,%esi
call   1090 <gmk_eval@plt>
mov    %r12,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <gmk_free@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"info\00"
@.str.1 = [159 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alandekok/freeradius-server/refs/heads/master/scripts/build/dlopen.c\00"
@.str.2 = [19 x i8] c"Update %s with %s\0A\00"
@.str.3 = [27 x i8] c"RESULT ASKED TO EVAL - %s\0A\00"
define void @ad_update_variable(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i64
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
store i8* %0, i8** %3
store i8* %1, i8** %4
%10 = load i8*, i8** %3
%11 = load i8*, i8** %4
%12 = call i32 (i8*, i8*, i32, i8*, i8*, ...) @_make_log(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str.1, i64 0, i64 0), i32 624, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* %10, i8* %11)
%13 = load i8*, i8** %4
%14 = icmp ne i8* %13, null
br i1 %14, label %15, label %24
15: ; preds = %2
%16 = load i8*, i8** %4
%17 = load i8, i8* %16
%18 = icmp ne i8 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = load i8*, i8** %4
%21 = load i8, i8* %20
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %24, label %25
24: ; preds = %19, %15, %2
br label %138
25: ; preds = %19
%26 = load i8*, i8** %3
%27 = call i64 @strlen(i8* %26)
store i64 %27, i64* %5
%28 = load i64, i64* %5
%29 = add i64 %28, 4
%30 = call i8* @gmk_alloc(i64 %29)
store i8* %30, i8** %9
%31 = load i8*, i8** %9
%32 = icmp ne i8* %31, null
br i1 %32, label %34, label %33
33: ; preds = %25
br label %138
34: ; preds = %25
%35 = load i8*, i8** %9
%36 = getelementptr inbounds i8, i8* %35, i64 0
store i8 36, i8* %36
%37 = load i8*, i8** %9
%38 = getelementptr inbounds i8, i8* %37, i64 1
store i8 40, i8* %38
%39 = load i8*, i8** %9
%40 = getelementptr inbounds i8, i8* %39, i64 2
%41 = load i8*, i8** %3
%42 = load i64, i64* %5
%43 = call i32 @memcpy(i8* %40, i8* %41, i64 %42)
%44 = load i8*, i8** %9
%45 = load i64, i64* %5
%46 = add i64 2, %45
%47 = getelementptr inbounds i8, i8* %44, i64 %46
store i8 41, i8* %47
%48 = load i8*, i8** %9
%49 = load i64, i64* %5
%50 = add i64 2, %49
%51 = add i64 %50, 1
%52 = getelementptr inbounds i8, i8* %48, i64 %51
store i8 0, i8* %52
%53 = load i8*, i8** %9
%54 = call i8* @gmk_expand(i8* %53)
store i8* %54, i8** %7
%55 = load i8*, i8** %9
%56 = call i32 @gmk_free(i8* %55)
%57 = load i8*, i8** %7
%58 = icmp ne i8* %57, null
br i1 %58, label %60, label %59
59: ; preds = %34
br label %138
60: ; preds = %34
%61 = load i8*, i8** %4
%62 = call i64 @strlen(i8* %61)
store i64 %62, i64* %6
%63 = load i8*, i8** %7
%64 = load i8*, i8** %4
%65 = call i8* @strstr(i8* %63, i8* %64)
store i8* %65, i8** %8
%66 = load i8*, i8** %8
%67 = icmp ne i8* %66, null
br i1 %67, label %68, label %88
68: ; preds = %60
%69 = load i8*, i8** %8
%70 = load i64, i64* %6
%71 = getelementptr inbounds i8, i8* %69, i64 %70
%72 = load i8, i8* %71
%73 = icmp ne i8 %72, 0
br i1 %73, label %74, label %82
74: ; preds = %68
%75 = load i8*, i8** %8
%76 = load i64, i64* %6
%77 = getelementptr inbounds i8, i8* %75, i64 %76
%78 = load i8, i8* %77
%79 = sext i8 %78 to i32
%80 = call i64 @isspace(i32 %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %85
82: ; preds = %74, %68
%83 = load i8*, i8** %7
%84 = call i32 @gmk_free(i8* %83)
br label %138
85: ; preds = %74
%86 = load i8*, i8** %7
%87 = call i32 @gmk_free(i8* %86)
br label %88
88: ; preds = %85, %60
%89 = load i64, i64* %5
%90 = add i64 %89, 4
%91 = load i64, i64* %5
%92 = add i64 %90, %91
%93 = add i64 %92, 2
%94 = load i64, i64* %6
%95 = add i64 %93, %94
%96 = add i64 %95, 1
%97 = call i8* @gmk_alloc(i64 %96)
store i8* %97, i8** %9
%98 = load i8*, i8** %9
%99 = icmp ne i8* %98, null
br i1 %99, label %101, label %100
100: ; preds = %88
br label %138
101: ; preds = %88
%102 = load i8*, i8** %9
store i8* %102, i8** %8
%103 = load i8*, i8** %8
%104 = load i8*, i8** %3
%105 = load i64, i64* %5
%106 = call i32 @memcpy(i8* %103, i8* %104, i64 %105)
%107 = load i64, i64* %5
%108 = load i8*, i8** %8
%109 = getelementptr inbounds i8, i8* %108, i64 %107
store i8* %109, i8** %8
%110 = load i8*, i8** %8
%111 = getelementptr inbounds i8, i8* %110, i32 1
store i8* %111, i8** %8
store i8 58, i8* %110
%112 = load i8*, i8** %8
%113 = getelementptr inbounds i8, i8* %112, i32 1
store i8* %113, i8** %8
store i8 61, i8* %112
%114 = load i8*, i8** %8
%115 = getelementptr inbounds i8, i8* %114, i32 1
store i8* %115, i8** %8
store i8 36, i8* %114
%116 = load i8*, i8** %8
%117 = getelementptr inbounds i8, i8* %116, i32 1
store i8* %117, i8** %8
store i8 40, i8* %116
%118 = load i8*, i8** %8
%119 = load i8*, i8** %3
%120 = load i64, i64* %5
%121 = call i32 @memcpy(i8* %118, i8* %119, i64 %120)
%122 = load i64, i64* %5
%123 = load i8*, i8** %8
%124 = getelementptr inbounds i8, i8* %123, i64 %122
store i8* %124, i8** %8
%125 = load i8*, i8** %8
%126 = getelementptr inbounds i8, i8* %125, i32 1
store i8* %126, i8** %8
store i8 41, i8* %125
%127 = load i8*, i8** %8
%128 = getelementptr inbounds i8, i8* %127, i32 1
store i8* %128, i8** %8
store i8 32, i8* %127
%129 = load i8*, i8** %8
%130 = load i8*, i8** %4
%131 = call i32 @strcpy(i8* %129, i8* %130)
%132 = load i8*, i8** %9
%133 = call i32 (i8*, i8*, i32, i8*, i8*, ...) @_make_log(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str.1, i64 0, i64 0), i32 684, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* %132)
%134 = load i8*, i8** %9
%135 = call i32 @gmk_eval(i8* %134, i32* null)
%136 = load i8*, i8** %9
%137 = call i32 @gmk_free(i8* %136)
br label %138
138: ; preds = %101, %100, %82, %59, %33, %24
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"info\00"
@.str.1 = [159 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alandekok/freeradius-server/refs/heads/master/scripts/build/dlopen.c\00"
@.str.2 = [19 x i8] c"Update %s with %s\0A\00"
@.str.3 = [27 x i8] c"RESULT ASKED TO EVAL - %s\0A\00"
define void @ad_update_variable(i8* %0, i8* %1) {
%3 = tail call i32 (i8*, i8*, i32, i8*, i8*, ...) @_make_log(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str.1, i64 0, i64 0), i32 624, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* %0, i8* %1)
%4 = icmp eq i8* %1, null
br i1 %4, label %59, label %5
5: ; preds = %2
%6 = load i8, i8* %1
switch i8 %6, label %7 [
i8 0, label %59
i8 32, label %59
]
7: ; preds = %5
%8 = tail call i64 @strlen(i8* dereferenceable(1) %0)
%9 = add i64 %8, 4
%10 = tail call i8* @gmk_alloc(i64 %9)
%11 = icmp eq i8* %10, null
br i1 %11, label %59, label %12
12: ; preds = %7
store i8 36, i8* %10
%13 = getelementptr inbounds i8, i8* %10, i64 1
store i8 40, i8* %13
%14 = getelementptr inbounds i8, i8* %10, i64 2
%15 = tail call i32 @memcpy(i8* %14, i8* %0, i64 %8)
%16 = add i64 %8, 2
%17 = getelementptr inbounds i8, i8* %10, i64 %16
store i8 41, i8* %17
%18 = add i64 %8, 3
%19 = getelementptr inbounds i8, i8* %10, i64 %18
store i8 0, i8* %19
%20 = tail call i8* @gmk_expand(i8* %10)
%21 = tail call i32 @gmk_free(i8* %10)
%22 = icmp eq i8* %20, null
br i1 %22, label %59, label %23
23: ; preds = %12
%24 = tail call i64 @strlen(i8* %1)
%25 = tail call i8* @strstr(i8* %20, i8* %1)
%26 = icmp eq i8* %25, null
br i1 %26, label %37, label %27
27: ; preds = %23
%28 = getelementptr inbounds i8, i8* %25, i64 %24
%29 = load i8, i8* %28
%30 = icmp eq i8 %29, 0
br i1 %30, label %56, label %31
31: ; preds = %27
%32 = sext i8 %29 to i32
%33 = tail call i64 @isspace(i32 %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %56
35: ; preds = %31
%36 = tail call i32 @gmk_free(i8* %20)
br label %37
37: ; preds = %35, %23
%38 = add i64 %18, %9
%39 = add i64 %38, %24
%40 = tail call i8* @gmk_alloc(i64 %39)
%41 = icmp eq i8* %40, null
br i1 %41, label %59, label %42
42: ; preds = %37
%43 = tail call i32 @memcpy(i8* %40, i8* %0, i64 %8)
%44 = getelementptr inbounds i8, i8* %40, i64 %8
%45 = getelementptr inbounds i8, i8* %44, i64 1
store i8 58, i8* %44
%46 = getelementptr inbounds i8, i8* %45, i64 1
store i8 61, i8* %45
%47 = getelementptr inbounds i8, i8* %46, i64 1
store i8 36, i8* %46
%48 = getelementptr inbounds i8, i8* %47, i64 1
store i8 40, i8* %47
%49 = tail call i32 @memcpy(i8* %48, i8* %0, i64 %8)
%50 = getelementptr inbounds i8, i8* %48, i64 %8
%51 = getelementptr inbounds i8, i8* %50, i64 1
store i8 41, i8* %50
%52 = getelementptr inbounds i8, i8* %51, i64 1
store i8 32, i8* %51
%53 = tail call i32 @strcpy(i8* %52, i8* %1)
%54 = tail call i32 (i8*, i8*, i32, i8*, i8*, ...) @_make_log(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str.1, i64 0, i64 0), i32 684, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* %40)
%55 = tail call i32 @gmk_eval(i8* %40, i32* null)
br label %56
56: ; preds = %27, %31, %42
%57 = phi i8* [ %40, %42 ], [ %20, %31 ], [ %20, %27 ]
%58 = tail call i32 @gmk_free(i8* %57)
br label %59
59: ; preds = %56, %37, %12, %7, %2, %5, %5
ret void
}