#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 */
struct mg_request_info {
  int dummy;
};
struct mg_connection {
  int dummy;
};
struct Squirrel {
  int dummy;
};

/* Variables and functions */
unsigned int atoi(char *);
int /*<<< orphan*/ free(char *);
scalar_t__ isdigit(char);
int /*<<< orphan*/ launch_thread(struct Squirrel *, char *);
char *mg_get_var(struct mg_connection *, char *);
int /*<<< orphan*/ mg_printf(struct mg_connection *, char *, ...);
unsigned int squirrel_get_interface_status(struct Squirrel *, char *,
                                           unsigned int *);
int /*<<< orphan*/ squirrel_set_interface_status(struct Squirrel *, char *, int,
                                                 unsigned int);
scalar_t__ strcmp(char *, char *);
void change_adapter_status(struct mg_connection *c,
                           const struct mg_request_info *ri, void *user_data) {
  struct Squirrel *squirrel = (struct Squirrel *)user_data;
  char *status = mg_get_var(c, "status");
  char *channel = mg_get_var(c, "channel");
  char *adapter_name = mg_get_var(c, "if");
  unsigned interface_channel = 0;
  if (status && channel && adapter_name) {
    unsigned is_running = squirrel_get_interface_status(squirrel, adapter_name,
                                                        &interface_channel);
    unsigned new_channel;
    if (strcmp(channel, "scan") == 0)
      new_channel = (unsigned)-1;
    else if (isdigit(channel[0]))
      new_channel = atoi(channel);
    else
      new_channel = 0;
    if (is_running && strcmp(status, "monitor") != 0) {
      squirrel_set_interface_status(squirrel, adapter_name, 0, 0);
      mg_printf(c, "<b>Turned off adapter</b>\n");
    } else if (!is_running && strcmp(status, "monitor") == 0) {
      launch_thread(squirrel, adapter_name);
      squirrel_set_interface_status(squirrel, adapter_name, 1, new_channel);
      mg_printf(c, "<b>Turned on adapter, channel %u</b>\n", new_channel);
    } else if (is_running && interface_channel != new_channel) {
      squirrel_set_interface_status(squirrel, adapter_name, 1, new_channel);
      mg_printf(c, "<b>Changed channel to %u</b>\n", new_channel);
    } else
      mg_printf(c, "<b>Nothing changed</b>\n");
  }
  if (status)
    free(status);
  if (channel)
    free(channel);
}


x86 assembly (clang, -O0):
<change_adapter_status>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe49(%rip),%rsi
call   1090 <mg_get_var@plt>
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe3c(%rip),%rsi
call   1090 <mg_get_var@plt>
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe30(%rip),%rsi
call   1090 <mg_get_var@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
cmpq   $0x0,-0x28(%rbp)
je     138f <change_adapter_status+0x1ff>
cmpq   $0x0,-0x30(%rbp)
je     138f <change_adapter_status+0x1ff>
cmpq   $0x0,-0x38(%rbp)
je     138f <change_adapter_status+0x1ff>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rsi
lea    -0x3c(%rbp),%rdx
call   10a0 <squirrel_get_interface_status@plt>
mov    %eax,-0x40(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xde3(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    124a <change_adapter_status+0xba>
movl   $0xffffffff,-0x44(%rbp)
jmp    127d <change_adapter_status+0xed>
mov    -0x30(%rbp),%rax
movsbl (%rax),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
je     1271 <change_adapter_status+0xe1>
mov    -0x30(%rbp),%rdi
call   10b0 <atoi@plt>
mov    %eax,-0x44(%rbp)
jmp    1278 <change_adapter_status+0xe8>
movl   $0x0,-0x44(%rbp)
jmp    127d <change_adapter_status+0xed>
cmpl   $0x0,-0x40(%rbp)
je     12c9 <change_adapter_status+0x139>
mov    -0x28(%rbp),%rdi
lea    0xd85(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
je     12c9 <change_adapter_status+0x139>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rsi
xor    %ecx,%ecx
mov    %ecx,%edx
call   1070 <squirrel_set_interface_status@plt>
mov    -0x8(%rbp),%rdi
lea    0xd62(%rip),%rsi
mov    $0x0,%al
call   1050 <mg_printf@plt>
jmp    138a <change_adapter_status+0x1fa>
cmpl   $0x0,-0x40(%rbp)
jne    1329 <change_adapter_status+0x199>
mov    -0x28(%rbp),%rdi
lea    0xd39(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%rax
jne    1329 <change_adapter_status+0x199>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rsi
call   1060 <launch_thread@plt>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x44(%rbp),%ecx
mov    $0x1,%edx
call   1070 <squirrel_set_interface_status@plt>
mov    -0x8(%rbp),%rdi
mov    -0x44(%rbp),%edx
lea    0xd1d(%rip),%rsi
mov    $0x0,%al
call   1050 <mg_printf@plt>
jmp    1385 <change_adapter_status+0x1f5>
cmpl   $0x0,-0x40(%rbp)
je     136e <change_adapter_status+0x1de>
mov    -0x3c(%rbp),%eax
cmp    -0x44(%rbp),%eax
je     136e <change_adapter_status+0x1de>
mov    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x44(%rbp),%ecx
mov    $0x1,%edx
call   1070 <squirrel_set_interface_status@plt>
mov    -0x8(%rbp),%rdi
mov    -0x44(%rbp),%edx
lea    0xcfe(%rip),%rsi
mov    $0x0,%al
call   1050 <mg_printf@plt>
jmp    1380 <change_adapter_status+0x1f0>
mov    -0x8(%rbp),%rdi
lea    0xd05(%rip),%rsi
mov    $0x0,%al
call   1050 <mg_printf@plt>
jmp    1385 <change_adapter_status+0x1f5>
jmp    138a <change_adapter_status+0x1fa>
jmp    138f <change_adapter_status+0x1ff>
cmpq   $0x0,-0x28(%rbp)
je     13a3 <change_adapter_status+0x213>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
cmpq   $0x0,-0x30(%rbp)
je     13b7 <change_adapter_status+0x227>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<change_adapter_status>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdx,%r12
mov    %rdi,%rbx
lea    0xe58(%rip),%rsi
call   1090 <mg_get_var@plt>
mov    %rax,%r14
lea    0xe50(%rip),%rsi
mov    %rbx,%rdi
call   1090 <mg_get_var@plt>
mov    %rax,%r15
lea    0xe46(%rip),%rsi
mov    %rbx,%rdi
call   1090 <mg_get_var@plt>
movl   $0x0,0x4(%rsp)
test   %r14,%r14
je     12c0 <change_adapter_status+0x130>
test   %r15,%r15
je     12c0 <change_adapter_status+0x130>
mov    %rax,%r13
test   %rax,%rax
je     12c0 <change_adapter_status+0x130>
lea    0x4(%rsp),%rdx
mov    %r12,%rdi
mov    %r13,%rsi
call   10a0 <squirrel_get_interface_status@plt>
mov    %eax,%ebp
lea    0xe02(%rip),%rsi
mov    %r15,%rdi
call   1080 <strcmp@plt>
test   %rax,%rax
je     1238 <change_adapter_status+0xa8>
movsbl (%r15),%edi
call   1040 <isdigit@plt>
test   %rax,%rax
je     1241 <change_adapter_status+0xb1>
mov    %r15,%rdi
call   10b0 <atoi@plt>
mov    %eax,(%rsp)
jmp    1248 <change_adapter_status+0xb8>
movl   $0xffffffff,(%rsp)
jmp    1248 <change_adapter_status+0xb8>
movl   $0x0,(%rsp)
lea    0xdc8(%rip),%rsi
mov    %r14,%rdi
call   1080 <strcmp@plt>
test   %ebp,%ebp
je     1278 <change_adapter_status+0xe8>
test   %rax,%rax
je     12a6 <change_adapter_status+0x116>
mov    %r12,%rdi
mov    %r13,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
call   1070 <squirrel_set_interface_status@plt>
lea    0xda9(%rip),%rsi
jmp    12b6 <change_adapter_status+0x126>
test   %rax,%rax
jne    12af <change_adapter_status+0x11f>
mov    %r12,%rdi
mov    %r13,%rsi
call   1060 <launch_thread@plt>
mov    %r12,%rdi
mov    %r13,%rsi
mov    $0x1,%edx
mov    (%rsp),%ebp
mov    %ebp,%ecx
call   1070 <squirrel_set_interface_status@plt>
lea    0xd96(%rip),%rsi
jmp    1305 <change_adapter_status+0x175>
mov    (%rsp),%eax
cmp    %eax,0x4(%rsp)
jne    12e9 <change_adapter_status+0x159>
lea    0xdc8(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <mg_printf@plt>
test   %r14,%r14
je     12cd <change_adapter_status+0x13d>
mov    %r14,%rdi
call   1030 <free@plt>
test   %r15,%r15
je     12da <change_adapter_status+0x14a>
mov    %r15,%rdi
call   1030 <free@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r12,%rdi
mov    %r13,%rsi
mov    $0x1,%edx
mov    (%rsp),%ebp
mov    %ebp,%ecx
call   1070 <squirrel_set_interface_status@plt>
lea    0xd5b(%rip),%rsi
mov    %rbx,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <mg_printf@plt>
test   %r14,%r14
jne    12c5 <change_adapter_status+0x135>
jmp    12cd <change_adapter_status+0x13d>

LLVM IR (-O0):
%struct.mg_connection = type { i32 }
%struct.mg_request_info = type { i32 }
%struct.Squirrel = type { i32 }
@.str = [7 x i8] c"status\00"
@.str.1 = [8 x i8] c"channel\00"
@.str.2 = [3 x i8] c"if\00"
@.str.3 = [5 x i8] c"scan\00"
@.str.4 = [8 x i8] c"monitor\00"
@.str.5 = [27 x i8] c"<b>Turned off adapter</b>\0A\00"
@.str.6 = [38 x i8] c"<b>Turned on adapter, channel %u</b>\0A\00"
@.str.7 = [30 x i8] c"<b>Changed channel to %u</b>\0A\00"
@.str.8 = [24 x i8] c"<b>Nothing changed</b>\0A\00"
define void @change_adapter_status(%struct.mg_connection* %0, %struct.mg_request_info* %1, i8* %2) {
%4 = alloca %struct.mg_connection*
%5 = alloca %struct.mg_request_info*
%6 = alloca i8*
%7 = alloca %struct.Squirrel*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store %struct.mg_connection* %0, %struct.mg_connection** %4
store %struct.mg_request_info* %1, %struct.mg_request_info** %5
store i8* %2, i8** %6
%14 = load i8*, i8** %6
%15 = bitcast i8* %14 to %struct.Squirrel*
store %struct.Squirrel* %15, %struct.Squirrel** %7
%16 = load %struct.mg_connection*, %struct.mg_connection** %4
%17 = call i8* @mg_get_var(%struct.mg_connection* %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
store i8* %17, i8** %8
%18 = load %struct.mg_connection*, %struct.mg_connection** %4
%19 = call i8* @mg_get_var(%struct.mg_connection* %18, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
store i8* %19, i8** %9
%20 = load %struct.mg_connection*, %struct.mg_connection** %4
%21 = call i8* @mg_get_var(%struct.mg_connection* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
store i8* %21, i8** %10
store i32 0, i32* %11
%22 = load i8*, i8** %8
%23 = icmp ne i8* %22, null
br i1 %23, label %24, label %101
24: ; preds = %3
%25 = load i8*, i8** %9
%26 = icmp ne i8* %25, null
br i1 %26, label %27, label %101
27: ; preds = %24
%28 = load i8*, i8** %10
%29 = icmp ne i8* %28, null
br i1 %29, label %30, label %101
30: ; preds = %27
%31 = load %struct.Squirrel*, %struct.Squirrel** %7
%32 = load i8*, i8** %10
%33 = call i32 @squirrel_get_interface_status(%struct.Squirrel* %31, i8* %32, i32* %11)
store i32 %33, i32* %12
%34 = load i8*, i8** %9
%35 = call i64 @strcmp(i8* %34, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %30
store i32 -1, i32* %13
br label %49
38: ; preds = %30
%39 = load i8*, i8** %9
%40 = getelementptr inbounds i8, i8* %39, i64 0
%41 = load i8, i8* %40
%42 = call i64 @isdigit(i8 signext %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %38
%45 = load i8*, i8** %9
%46 = call i32 @atoi(i8* %45)
store i32 %46, i32* %13
br label %48
47: ; preds = %38
store i32 0, i32* %13
br label %48
48: ; preds = %47, %44
br label %49
49: ; preds = %48, %37
%50 = load i32, i32* %12
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %62
52: ; preds = %49
%53 = load i8*, i8** %8
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %52
%57 = load %struct.Squirrel*, %struct.Squirrel** %7
%58 = load i8*, i8** %10
%59 = call i32 @squirrel_set_interface_status(%struct.Squirrel* %57, i8* %58, i32 0, i32 0)
%60 = load %struct.mg_connection*, %struct.mg_connection** %4
%61 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %60, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
br label %100
62: ; preds = %52, %49
%63 = load i32, i32* %12
%64 = icmp ne i32 %63, 0
br i1 %64, label %80, label %65
65: ; preds = %62
%66 = load i8*, i8** %8
%67 = call i64 @strcmp(i8* %66, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %80
69: ; preds = %65
%70 = load %struct.Squirrel*, %struct.Squirrel** %7
%71 = load i8*, i8** %10
%72 = call i32 @launch_thread(%struct.Squirrel* %70, i8* %71)
%73 = load %struct.Squirrel*, %struct.Squirrel** %7
%74 = load i8*, i8** %10
%75 = load i32, i32* %13
%76 = call i32 @squirrel_set_interface_status(%struct.Squirrel* %73, i8* %74, i32 1, i32 %75)
%77 = load %struct.mg_connection*, %struct.mg_connection** %4
%78 = load i32, i32* %13
%79 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %77, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0), i32 %78)
br label %99
80: ; preds = %65, %62
%81 = load i32, i32* %12
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %95
83: ; preds = %80
%84 = load i32, i32* %11
%85 = load i32, i32* %13
%86 = icmp ne i32 %84, %85
br i1 %86, label %87, label %95
87: ; preds = %83
%88 = load %struct.Squirrel*, %struct.Squirrel** %7
%89 = load i8*, i8** %10
%90 = load i32, i32* %13
%91 = call i32 @squirrel_set_interface_status(%struct.Squirrel* %88, i8* %89, i32 1, i32 %90)
%92 = load %struct.mg_connection*, %struct.mg_connection** %4
%93 = load i32, i32* %13
%94 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %92, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %93)
br label %98
95: ; preds = %83, %80
%96 = load %struct.mg_connection*, %struct.mg_connection** %4
%97 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %96, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
br label %98
98: ; preds = %95, %87
br label %99
99: ; preds = %98, %69
br label %100
100: ; preds = %99, %56
br label %101
101: ; preds = %100, %27, %24, %3
%102 = load i8*, i8** %8
%103 = icmp ne i8* %102, null
br i1 %103, label %104, label %107
104: ; preds = %101
%105 = load i8*, i8** %8
%106 = call i32 @free(i8* %105)
br label %107
107: ; preds = %104, %101
%108 = load i8*, i8** %9
%109 = icmp ne i8* %108, null
br i1 %109, label %110, label %113
110: ; preds = %107
%111 = load i8*, i8** %9
%112 = call i32 @free(i8* %111)
br label %113
113: ; preds = %110, %107
ret void
}

LLVM IR (-O2):
%struct.mg_connection = type { i32 }
%struct.mg_request_info = type { i32 }
%struct.Squirrel = type { i32 }
@.str = [7 x i8] c"status\00"
@.str.1 = [8 x i8] c"channel\00"
@.str.2 = [3 x i8] c"if\00"
@.str.3 = [5 x i8] c"scan\00"
@.str.4 = [8 x i8] c"monitor\00"
@.str.5 = [27 x i8] c"<b>Turned off adapter</b>\0A\00"
@.str.6 = [38 x i8] c"<b>Turned on adapter, channel %u</b>\0A\00"
@.str.7 = [30 x i8] c"<b>Changed channel to %u</b>\0A\00"
@.str.8 = [24 x i8] c"<b>Nothing changed</b>\0A\00"
define void @change_adapter_status(%struct.mg_connection* %0, %struct.mg_request_info* nocapture readnone %1, i8* %2) {
%4 = alloca i32
%5 = bitcast i8* %2 to %struct.Squirrel*
%6 = tail call i8* @mg_get_var(%struct.mg_connection* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%7 = tail call i8* @mg_get_var(%struct.mg_connection* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%8 = tail call i8* @mg_get_var(%struct.mg_connection* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%9 = bitcast i32* %4 to i8*
store i32 0, i32* %4
%10 = icmp ne i8* %6, null
%11 = icmp ne i8* %7, null
%12 = select i1 %10, i1 %11, i1 false
%13 = icmp ne i8* %8, null
%14 = select i1 %12, i1 %13, i1 false
br i1 %14, label %15, label %47
15: ; preds = %3
%16 = call i32 @squirrel_get_interface_status(%struct.Squirrel* %5, i8* %8, i32* %4)
%17 = call i64 @strcmp(i8* %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %15
%20 = load i8, i8* %7
%21 = call i64 @isdigit(i8 signext %20)
%22 = icmp eq i64 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = call i32 @atoi(i8* %7)
br label %25
25: ; preds = %19, %15, %23
%26 = phi i32 [ %24, %23 ], [ -1, %15 ], [ 0, %19 ]
%27 = icmp eq i32 %16, 0
%28 = call i64 @strcmp(i8* %6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %27, label %34, label %30
30: ; preds = %25
br i1 %29, label %39, label %31
31: ; preds = %30
%32 = call i32 @squirrel_set_interface_status(%struct.Squirrel* %5, i8* %8, i32 0, i32 0)
%33 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0))
br label %47
34: ; preds = %25
br i1 %29, label %35, label %45
35: ; preds = %34
%36 = call i32 @launch_thread(%struct.Squirrel* %5, i8* %8)
%37 = call i32 @squirrel_set_interface_status(%struct.Squirrel* %5, i8* %8, i32 1, i32 %26)
%38 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %0, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0), i32 %26)
br label %47
39: ; preds = %30
%40 = load i32, i32* %4
%41 = icmp eq i32 %40, %26
br i1 %41, label %45, label %42
42: ; preds = %39
%43 = call i32 @squirrel_set_interface_status(%struct.Squirrel* %5, i8* %8, i32 1, i32 %26)
%44 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i32 %26)
br label %47
45: ; preds = %34, %39
%46 = call i32 (%struct.mg_connection*, i8*, ...) @mg_printf(%struct.mg_connection* %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
br label %47
47: ; preds = %31, %42, %45, %35, %3
br i1 %10, label %48, label %50
48: ; preds = %47
%49 = call i32 @free(i8* %6)
br label %50
50: ; preds = %48, %47
br i1 %11, label %51, label %53
51: ; preds = %50
%52 = call i32 @free(i8* %7)
br label %53
53: ; preds = %51, %50
ret void
}