#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ SEEK_END;
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int fread(unsigned char *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ free(unsigned char *);
scalar_t__ fseek(int /*<<< orphan*/ *, int, int /*<<< orphan*/);
int ftell(int /*<<< orphan*/ *);
int fwrite(unsigned char *, int, int, int /*<<< orphan*/ *);
unsigned char *malloc(int);
int /*<<< orphan*/ printf(char *, char *, ...);
int /*<<< orphan*/ rewind(int /*<<< orphan*/ *);
void merge_flash(char *binfile, char *flashfile, int flash_pos,
                 int patch_hash) {
  FILE *fbin;
  FILE *fflash;
  unsigned char *tmp_data;
  int j = 0;
  int file_size = 0;
  int flash_size = 0;
  fbin = fopen(binfile, "rb");
  if (fbin == NULL) {
    printf("   Can't open '%s' for reading.\n", binfile);
    return;
  }
  if (fseek(fbin, 0, SEEK_END) != 0) {
    printf("   Can't seek end of '%s'.\n", binfile);
  }
  file_size = ftell(fbin);
  if (fseek(fbin, 0, SEEK_SET) != 0) {
  }
  fflash = fopen(flashfile, "rb+");
  if (fflash == NULL) {
    printf("   Can't open '%s' for writing.\n", flashfile);
    return;
  }
  if (fseek(fflash, 0, SEEK_END) != 0) {
    printf("   Can't seek end of '%s'.\n", flashfile);
  }
  flash_size = ftell(fflash);
  rewind(fflash);
  fseek(fflash, flash_pos, SEEK_SET);
  tmp_data = malloc((1 + file_size) * sizeof(char));
  if (file_size <= 0) {
    printf("Not able to get file size %s", binfile);
  }
  int len_read = fread(tmp_data, sizeof(char), file_size, fbin);
  if (patch_hash == 1) {
    for (j = 0; j < 33; j++) {
      tmp_data[file_size - j] = 0;
    }
  }
  int len_write = fwrite(tmp_data, sizeof(char), file_size, fflash);
  if (len_read != len_write) {
    printf("Not able to merge %s, %d bytes read,%d to write,%d file_size\n",
           binfile, len_read, len_write, file_size);
  }
  fclose(fbin);
  if (fseek(fflash, 0x3E8000 * 4, SEEK_SET) != 0) {
  }
  fclose(fflash);
  free(tmp_data);
}


x86 assembly (clang, -O0):
<merge_flash>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe2a(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    1201 <merge_flash+0x61>
mov    -0x8(%rbp),%rsi
lea    0xe0e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13fb <merge_flash+0x25b>
mov    -0x20(%rbp),%rdi
mov    0x2ddc(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10a0 <fseek@plt>
cmp    $0x0,%rax
je     1231 <merge_flash+0x91>
mov    -0x8(%rbp),%rsi
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x20(%rbp),%rdi
call   1080 <ftell@plt>
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
mov    0x2d90(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10a0 <fseek@plt>
cmp    $0x0,%rax
je     1260 <merge_flash+0xc0>
jmp    1260 <merge_flash+0xc0>
mov    -0x10(%rbp),%rdi
lea    0xdd5(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    1296 <merge_flash+0xf6>
mov    -0x10(%rbp),%rsi
lea    0xdba(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13fb <merge_flash+0x25b>
mov    -0x28(%rbp),%rdi
mov    0x2d47(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10a0 <fseek@plt>
cmp    $0x0,%rax
je     12c6 <merge_flash+0x126>
mov    -0x10(%rbp),%rsi
lea    0xd65(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x28(%rbp),%rdi
call   1080 <ftell@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x28(%rbp),%rdi
call   1070 <rewind@plt>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    0x2cef(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
cltq
shl    $0x0,%rax
mov    %eax,%edi
call   1090 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmpl   $0x0,-0x38(%rbp)
jg     1323 <merge_flash+0x183>
mov    -0x8(%rbp),%rsi
lea    0xd49(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    $0x1,%esi
call   1040 <fread@plt>
mov    %eax,-0x40(%rbp)
cmpl   $0x1,-0x18(%rbp)
jne    137a <merge_flash+0x1da>
movl   $0x0,-0x34(%rbp)
cmpl   $0x21,-0x34(%rbp)
jge    1375 <merge_flash+0x1d5>
mov    -0x30(%rbp),%rax
mov    -0x38(%rbp),%ecx
sub    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    134c <merge_flash+0x1ac>
jmp    137a <merge_flash+0x1da>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%edx
mov    -0x28(%rbp),%rcx
mov    $0x1,%esi
call   10c0 <fwrite@plt>
mov    %eax,-0x44(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x44(%rbp),%eax
je     13ba <merge_flash+0x21a>
mov    -0x8(%rbp),%rsi
mov    -0x40(%rbp),%edx
mov    -0x44(%rbp),%ecx
mov    -0x38(%rbp),%r8d
lea    0xccf(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x20(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x28(%rbp),%rdi
mov    0x2c0a(%rip),%rax
mov    (%rax),%edx
mov    $0xfa0000,%esi
call   10a0 <fseek@plt>
cmp    $0x0,%rax
je     13e9 <merge_flash+0x249>
jmp    13e9 <merge_flash+0x249>
mov    -0x28(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<merge_flash>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %ecx,%ebp
mov    %edx,%r13d
mov    %rsi,%r15
mov    %rdi,%r14
lea    0xe43(%rip),%rsi
call   10b0 <fopen@plt>
test   %rax,%rax
je     1345 <merge_flash+0x1a5>
mov    %rax,%rbx
mov    %ebp,0x4(%rsp)
mov    0x2e0f(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   10a0 <fseek@plt>
test   %rax,%rax
je     11fb <merge_flash+0x5b>
lea    0xe33(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
call   1080 <ftell@plt>
mov    %eax,%r12d
mov    0x2dcb(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   10a0 <fseek@plt>
lea    0xe20(%rip),%rsi
mov    %r15,%rdi
call   10b0 <fopen@plt>
test   %rax,%rax
je     1351 <merge_flash+0x1b1>
mov    %rax,%rbp
mov    0x2dad(%rip),%rax
mov    (%rax),%edx
mov    %rbp,%rdi
xor    %esi,%esi
call   10a0 <fseek@plt>
test   %rax,%rax
je     125d <merge_flash+0xbd>
lea    0xdd1(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbp,%rdi
call   1080 <ftell@plt>
mov    %rbp,%rdi
call   1070 <rewind@plt>
mov    0x2d64(%rip),%rax
mov    (%rax),%edx
mov    %rbp,%rdi
mov    %r13d,%esi
call   10a0 <fseek@plt>
lea    0x1(%r12),%edi
call   1090 <malloc@plt>
mov    %rax,%r15
test   %r12d,%r12d
jg     12a4 <merge_flash+0x104>
lea    0xdcb(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    %r12d,%edx
mov    %rbx,%rcx
call   1040 <fread@plt>
mov    %eax,%r13d
cmpl   $0x1,0x4(%rsp)
jne    12d8 <merge_flash+0x138>
movslq %r12d,%rax
xorps  %xmm0,%xmm0
movups %xmm0,-0x10(%rax,%r15,1)
movups %xmm0,-0x20(%rax,%r15,1)
movb   $0x0,(%rax,%r15,1)
mov    %r15,%rdi
mov    $0x1,%esi
mov    %r12d,%edx
mov    %rbp,%rcx
call   10c0 <fwrite@plt>
cmp    %eax,%r13d
je     1309 <merge_flash+0x169>
lea    0xd8b(%rip),%rdi
mov    %r14,%rsi
mov    %r13d,%edx
mov    %eax,%ecx
mov    %r12d,%r8d
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
call   1050 <fclose@plt>
mov    0x2cc0(%rip),%rax
mov    (%rax),%edx
mov    %rbp,%rdi
mov    $0xfa0000,%esi
call   10a0 <fseek@plt>
mov    %rbp,%rdi
call   1050 <fclose@plt>
mov    %r15,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>
lea    0xcb7(%rip),%rdi
mov    %r14,%rsi
jmp    135b <merge_flash+0x1bb>
lea    0xcec(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <printf@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"rb\00"
@.str.1 = [33 x i8] c" Can't open '%s' for reading.\0A\00"
@SEEK_END = global i32 0
@.str.2 = [28 x i8] c" Can't seek end of '%s'.\0A\00"
@SEEK_SET = global i32 0
@.str.3 = [4 x i8] c"rb+\00"
@.str.4 = [33 x i8] c" Can't open '%s' for writing.\0A\00"
@.str.5 = [29 x i8] c"Not able to get file size %s\00"
@.str.6 = [62 x i8] c"Not able to merge %s, %d bytes read,%d to write,%d file_size\0A\00"
define void @merge_flash(i8* %0, i8* %1, i32 %2, i32 %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i8*
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i8* %0, i8** %5
store i8* %1, i8** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
%17 = load i8*, i8** %5
%18 = call i32* @fopen(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
store i32* %18, i32** %9
%19 = load i32*, i32** %9
%20 = icmp eq i32* %19, null
br i1 %20, label %21, label %24
21: ; preds = %4
%22 = load i8*, i8** %5
%23 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0), i8* %22)
br label %125
24: ; preds = %4
%25 = load i32*, i32** %9
%26 = load i32, i32* @SEEK_END
%27 = call i64 @fseek(i32* %25, i32 0, i32 %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i8*, i8** %5
%31 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %30)
br label %32
32: ; preds = %29, %24
%33 = load i32*, i32** %9
%34 = call i32 @ftell(i32* %33)
store i32 %34, i32* %13
%35 = load i32*, i32** %9
%36 = load i32, i32* @SEEK_SET
%37 = call i64 @fseek(i32* %35, i32 0, i32 %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %32
br label %40
40: ; preds = %39, %32
%41 = load i8*, i8** %6
%42 = call i32* @fopen(i8* %41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
store i32* %42, i32** %10
%43 = load i32*, i32** %10
%44 = icmp eq i32* %43, null
br i1 %44, label %45, label %48
45: ; preds = %40
%46 = load i8*, i8** %6
%47 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8* %46)
br label %125
48: ; preds = %40
%49 = load i32*, i32** %10
%50 = load i32, i32* @SEEK_END
%51 = call i64 @fseek(i32* %49, i32 0, i32 %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load i8*, i8** %6
%55 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %54)
br label %56
56: ; preds = %53, %48
%57 = load i32*, i32** %10
%58 = call i32 @ftell(i32* %57)
store i32 %58, i32* %14
%59 = load i32*, i32** %10
%60 = call i32 @rewind(i32* %59)
%61 = load i32*, i32** %10
%62 = load i32, i32* %7
%63 = load i32, i32* @SEEK_SET
%64 = call i64 @fseek(i32* %61, i32 %62, i32 %63)
%65 = load i32, i32* %13
%66 = add nsw i32 1, %65
%67 = sext i32 %66 to i64
%68 = mul i64 %67, 1
%69 = trunc i64 %68 to i32
%70 = call i8* @malloc(i32 %69)
store i8* %70, i8** %11
%71 = load i32, i32* %13
%72 = icmp sle i32 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %56
%74 = load i8*, i8** %5
%75 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i8* %74)
br label %76
76: ; preds = %73, %56
%77 = load i8*, i8** %11
%78 = load i32, i32* %13
%79 = load i32*, i32** %9
%80 = call i32 @fread(i8* %77, i32 1, i32 %78, i32* %79)
store i32 %80, i32* %15
%81 = load i32, i32* %8
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %98
83: ; preds = %76
store i32 0, i32* %12
br label %84
84: ; preds = %94, %83
%85 = load i32, i32* %12
%86 = icmp slt i32 %85, 33
br i1 %86, label %87, label %97
87: ; preds = %84
%88 = load i8*, i8** %11
%89 = load i32, i32* %13
%90 = load i32, i32* %12
%91 = sub nsw i32 %89, %90
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, i8* %88, i64 %92
store i8 0, i8* %93
br label %94
94: ; preds = %87
%95 = load i32, i32* %12
%96 = add nsw i32 %95, 1
store i32 %96, i32* %12
br label %84
97: ; preds = %84
br label %98
98: ; preds = %97, %76
%99 = load i8*, i8** %11
%100 = load i32, i32* %13
%101 = load i32*, i32** %10
%102 = call i32 @fwrite(i8* %99, i32 1, i32 %100, i32* %101)
store i32 %102, i32* %16
%103 = load i32, i32* %15
%104 = load i32, i32* %16
%105 = icmp ne i32 %103, %104
br i1 %105, label %106, label %112
106: ; preds = %98
%107 = load i8*, i8** %5
%108 = load i32, i32* %15
%109 = load i32, i32* %16
%110 = load i32, i32* %13
%111 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0), i8* %107, i32 %108, i32 %109, i32 %110)
br label %112
112: ; preds = %106, %98
%113 = load i32*, i32** %9
%114 = call i32 @fclose(i32* %113)
%115 = load i32*, i32** %10
%116 = load i32, i32* @SEEK_SET
%117 = call i64 @fseek(i32* %115, i32 16384000, i32 %116)
%118 = icmp ne i64 %117, 0
br i1 %118, label %119, label %120
119: ; preds = %112
br label %120
120: ; preds = %119, %112
%121 = load i32*, i32** %10
%122 = call i32 @fclose(i32* %121)
%123 = load i8*, i8** %11
%124 = call i32 @free(i8* %123)
br label %125
125: ; preds = %120, %45, %21
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"rb\00"
@.str.1 = [33 x i8] c" Can't open '%s' for reading.\0A\00"
@SEEK_END = global i32 0
@.str.2 = [28 x i8] c" Can't seek end of '%s'.\0A\00"
@SEEK_SET = global i32 0
@.str.3 = [4 x i8] c"rb+\00"
@.str.4 = [33 x i8] c" Can't open '%s' for writing.\0A\00"
@.str.5 = [29 x i8] c"Not able to get file size %s\00"
@.str.6 = [62 x i8] c"Not able to merge %s, %d bytes read,%d to write,%d file_size\0A\00"
define void @merge_flash(i8* %0, i8* %1, i32 %2, i32 %3) {
%5 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%6 = icmp eq i32* %5, null
br i1 %6, label %7, label %9
7: ; preds = %4
%8 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0), i8* %0)
br label %57
9: ; preds = %4
%10 = load i32, i32* @SEEK_END
%11 = tail call i64 @fseek(i32* %5, i32 0, i32 %10)
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %0)
br label %15
15: ; preds = %13, %9
%16 = tail call i32 @ftell(i32* %5)
%17 = load i32, i32* @SEEK_SET
%18 = tail call i64 @fseek(i32* %5, i32 0, i32 %17)
%19 = tail call i32* @fopen(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%20 = icmp eq i32* %19, null
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8* %1)
br label %57
23: ; preds = %15
%24 = load i32, i32* @SEEK_END
%25 = tail call i64 @fseek(i32* %19, i32 0, i32 %24)
%26 = icmp eq i64 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %1)
br label %29
29: ; preds = %27, %23
%30 = tail call i32 @ftell(i32* %19)
%31 = tail call i32 @rewind(i32* %19)
%32 = load i32, i32* @SEEK_SET
%33 = tail call i64 @fseek(i32* %19, i32 %2, i32 %32)
%34 = add nsw i32 %16, 1
%35 = tail call i8* @malloc(i32 %34)
%36 = icmp slt i32 %16, 1
br i1 %36, label %37, label %39
37: ; preds = %29
%38 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i8* %0)
br label %39
39: ; preds = %37, %29
%40 = tail call i32 @fread(i8* %35, i32 1, i32 %16, i32* %5)
%41 = icmp eq i32 %3, 1
br i1 %41, label %42, label %46
42: ; preds = %39
%43 = sext i32 %16 to i64
%44 = add nsw i64 %43, -32
%45 = getelementptr i8, i8* %35, i64 %44
br label %46
46: ; preds = %42, %39
%47 = tail call i32 @fwrite(i8* %35, i32 1, i32 %16, i32* %19)
%48 = icmp eq i32 %40, %47
br i1 %48, label %51, label %49
49: ; preds = %46
%50 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0), i8* %0, i32 %40, i32 %47, i32 %16)
br label %51
51: ; preds = %49, %46
%52 = tail call i32 @fclose(i32* %5)
%53 = load i32, i32* @SEEK_SET
%54 = tail call i64 @fseek(i32* %19, i32 16384000, i32 %53)
%55 = tail call i32 @fclose(i32* %19)
%56 = tail call i32 @free(i8* %35)
br label %57
57: ; preds = %51, %21, %7
ret void
}