#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 EOF;
int /*<<< orphan*/ SEEK_END;
int atol(char *);
scalar_t__ ceil(double);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fputc(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, int /*<<< orphan*/,
                         int /*<<< orphan*/);
scalar_t__ ftell(int /*<<< orphan*/ *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ rewind(int /*<<< orphan*/ *);
int /*<<< orphan*/ sprintf(char *, char *, char *, size_t);
int main(int argc, char *argv[]) {
  char part_filename[200];
  FILE *ptr_source, *ptr_part;
  size_t parts, i;
  unsigned long int part_size, written_bytes;
  int byte;
  if (argc != 3) {
    printf("Usage: %s <maximum part size in MiB> <file to split>\n", argv[0]);
    exit(1);
  }
  if ((ptr_source = fopen(argv[2], "rb")) == NULL) {
    perror("Could not open file to split");
    exit(1);
  }
  fseek(ptr_source, 0, SEEK_END);
  part_size = atol(argv[1]) * 1024 * 1024;
  if (part_size == 0) {
    printf("Invalid part size: %s\n", argv[1]);
    exit(1);
  }
  parts = (size_t)ceil((double)ftell(ptr_source) / part_size);
  rewind(ptr_source);
  printf("File will be split into %u parts.\n", parts);
  for (i = 0; i < parts; i++) {
    printf("\nWriting part%02d... ", i);
    sprintf(part_filename, "%s.part%02d", argv[2], i);
    if ((ptr_part = fopen(part_filename, "wb")) == NULL) {
      perror("Could not open part for writing");
      exit(1);
    }
    for (written_bytes = 0;
         written_bytes < part_size && (byte = fgetc(ptr_source)) != EOF;
         written_bytes++) {
      fputc(byte, ptr_part);
    }
    printf("(%lu bytes)", written_bytes);
    fclose(ptr_part);
  }
  printf("\n\nDone!\n");
  fclose(ptr_source);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
je     1212 <main+0x42>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe1f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe35(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0xe8(%rbp)
cmp    $0x0,%rax
jne    124d <main+0x7d>
lea    0xe1b(%rip),%rdi
call   10d0 <perror@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
mov    -0xe8(%rbp),%rdi
mov    0x2d8d(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10a0 <fseek@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   10b0 <atol@plt>
shl    $0xa,%eax
shl    $0xa,%eax
cltq
mov    %rax,-0x108(%rbp)
cmpq   $0x0,-0x108(%rbp)
jne    12ae <main+0xde>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
mov    -0xe8(%rbp),%rdi
call   1090 <ftell@plt>
cvtsi2sd %rax,%xmm0
movaps 0xd3a(%rip),%xmm2
movq   -0x108(%rbp),%xmm1
ff
punpckldq %xmm2,%xmm1
movapd 0xd36(%rip),%xmm2
subpd  %xmm2,%xmm1
movaps %xmm1,%xmm2
unpckhpd %xmm1,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
call   1030 <ceil@plt>
mov    %rax,-0xf8(%rbp)
mov    -0xe8(%rbp),%rdi
call   1060 <rewind@plt>
mov    -0xf8(%rbp),%rsi
lea    0xd7a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movq   $0x0,-0x100(%rbp)
mov    -0x100(%rbp),%rax
cmp    -0xf8(%rbp),%rax
jae    1469 <main+0x299>
mov    -0x100(%rbp),%rsi
lea    0xd69(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0xe0(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdx
mov    -0x100(%rbp),%rcx
lea    0xd5b(%rip),%rsi
call   10e0 <sprintf@plt>
lea    -0xe0(%rbp),%rdi
lea    0xd54(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0xf0(%rbp)
cmp    $0x0,%rax
jne    13aa <main+0x1da>
lea    0xd3a(%rip),%rdi
call   10d0 <perror@plt>
mov    $0x1,%edi
call   10f0 <exit@plt>
movq   $0x0,-0x110(%rbp)
mov    -0x110(%rbp),%rcx
xor    %eax,%eax
cmp    -0x108(%rbp),%rcx
mov    %al,-0x115(%rbp)
jae    13f5 <main+0x225>
mov    -0xe8(%rbp),%rdi
call   1070 <fgetc@plt>
mov    %eax,-0x114(%rbp)
mov    0x2bf6(%rip),%rcx
cmp    (%rcx),%eax
setne  %al
mov    %al,-0x115(%rbp)
mov    -0x115(%rbp),%al
test   $0x1,%al
jne    1408 <main+0x238>
jmp    1431 <main+0x261>
mov    -0x114(%rbp),%edi
mov    -0xf0(%rbp),%rsi
call   1080 <fputc@plt>
mov    -0x110(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x110(%rbp)
jmp    13b5 <main+0x1e5>
mov    -0x110(%rbp),%rsi
lea    0xcb6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xf0(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x100(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x100(%rbp)
jmp    1325 <main+0x155>
lea    0xc91(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0xe8(%rbp),%rdi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
mov    %rsi,%r14
cmp    $0x3,%edi
jne    13a6 <main+0x1c6>
mov    0x10(%r14),%rdi
lea    0xe4e(%rip),%rsi
call   10d0 <fopen@plt>
test   %rax,%rax
je     13b2 <main+0x1d2>
mov    %rax,%rbx
mov    0x2dc8(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   10b0 <fseek@plt>
mov    0x8(%r14),%rbp
mov    %rbp,%rdi
call   10c0 <atol@plt>
test   %eax,%eax
je     13bb <main+0x1db>
shl    $0x14,%eax
movslq %eax,%r12
mov    %rbx,%rdi
call   10a0 <ftell@plt>
cvtsi2sd %rax,%xmm0
movq   %r12,%xmm1
punpckldq 0xda0(%rip),%xmm1
subpd  0xda8(%rip),%xmm1
movapd %xmm1,%xmm2
unpckhpd %xmm1,%xmm2
addsd  %xmm1,%xmm2
divsd  %xmm2,%xmm0
call   1040 <ceil@plt>
mov    %rax,%rbp
mov    %rbx,%rdi
call   1070 <rewind@plt>
lea    0xdfe(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbp,0x8(%rsp)
test   %rbp,%rbp
je     1368 <main+0x188>
cmp    $0x2,%r12
mov    $0x1,%r15d
cmovae %r12,%r15
mov    0x2d24(%rip),%rbp
xor    %r12d,%r12d
mov    %r14,(%rsp)
jmp    12f8 <main+0x118>
cs nopw 0x0(%rax,%rax,1)
nop
lea    0xe1e(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r13,%rdi
call   1050 <fclose@plt>
add    $0x1,%r12
cmp    0x8(%rsp),%r12
mov    (%rsp),%r14
je     1368 <main+0x188>
lea    0xdb1(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%r14),%rdx
lea    0x10(%rsp),%r14
mov    %r14,%rdi
lea    0xdaa(%rip),%rsi
mov    %r12,%rcx
call   10f0 <sprintf@plt>
mov    %r14,%rdi
lea    0xda4(%rip),%rsi
call   10d0 <fopen@plt>
test   %rax,%rax
je     1390 <main+0x1b0>
mov    %rax,%r13
xor    %r14d,%r14d
xchg   %ax,%ax
mov    %rbx,%rdi
call   1080 <fgetc@plt>
cmp    0x0(%rbp),%eax
je     12d0 <main+0xf0>
mov    %eax,%edi
mov    %r13,%rsi
call   1090 <fputc@plt>
add    $0x1,%r14
cmp    %r14,%r15
jne    1340 <main+0x160>
mov    %r15,%r14
jmp    12d0 <main+0xf0>
lea    0xd92(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd3e(%rip),%rdi
call   10e0 <perror@plt>
mov    $0x1,%edi
call   1100 <exit@plt>
mov    (%r14),%rsi
lea    0xc70(%rip),%rdi
jmp    13c5 <main+0x1e5>
lea    0xca0(%rip),%rdi
jmp    1397 <main+0x1b7>
lea    0xcb4(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x1,%edi
call   1100 <exit@plt>

LLVM IR (-O0):
@.str = [54 x i8] c"Usage: %s <maximum part size in MiB> <file to split>\0A\00"
@.str.1 = [3 x i8] c"rb\00"
@.str.2 = [29 x i8] c"Could not open file to split\00"
@SEEK_END = global i32 0
@.str.3 = [23 x i8] c"Invalid part size: %s\0A\00"
@.str.4 = [35 x i8] c"File will be split into %u parts.\0A\00"
@.str.5 = [22 x i8] c"\0AWriting part%02d... \00"
@.str.6 = [12 x i8] c"%s.part%02d\00"
@.str.7 = [3 x i8] c"wb\00"
@.str.8 = [32 x i8] c"Could not open part for writing\00"
@EOF = global i32 0
@.str.9 = [12 x i8] c"(%lu bytes)\00"
@.str.10 = [9 x i8] c"\0A\0ADone!\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [200 x i8]
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = load i32, i32* %4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %22
16: ; preds = %2
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 0
%19 = load i8*, i8** %18
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0), i8* %19)
%21 = call i32 @exit(i32 1)
unreachable
22: ; preds = %2
%23 = load i8**, i8*** %5
%24 = getelementptr inbounds i8*, i8** %23, i64 2
%25 = load i8*, i8** %24
%26 = call i32* @fopen(i8* %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %26, i32** %7
%27 = icmp eq i32* %26, null
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = call i32 @perror(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0))
%30 = call i32 @exit(i32 1)
unreachable
31: ; preds = %22
%32 = load i32*, i32** %7
%33 = load i32, i32* @SEEK_END
%34 = call i32 @fseek(i32* %32, i32 0, i32 %33)
%35 = load i8**, i8*** %5
%36 = getelementptr inbounds i8*, i8** %35, i64 1
%37 = load i8*, i8** %36
%38 = call i32 @atol(i8* %37)
%39 = mul nsw i32 %38, 1024
%40 = mul nsw i32 %39, 1024
%41 = sext i32 %40 to i64
store i64 %41, i64* %11
%42 = load i64, i64* %11
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %31
%45 = load i8**, i8*** %5
%46 = getelementptr inbounds i8*, i8** %45, i64 1
%47 = load i8*, i8** %46
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i8* %47)
%49 = call i32 @exit(i32 1)
unreachable
50: ; preds = %31
%51 = load i32*, i32** %7
%52 = call i64 @ftell(i32* %51)
%53 = sitofp i64 %52 to double
%54 = load i64, i64* %11
%55 = uitofp i64 %54 to double
%56 = fdiv double %53, %55
%57 = call i64 @ceil(double %56)
store i64 %57, i64* %9
%58 = load i32*, i32** %7
%59 = call i32 @rewind(i32* %58)
%60 = load i64, i64* %9
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i64 %60)
store i64 0, i64* %10
br label %62
62: ; preds = %105, %50
%63 = load i64, i64* %10
%64 = load i64, i64* %9
%65 = icmp ult i64 %63, %64
br i1 %65, label %66, label %108
66: ; preds = %62
%67 = load i64, i64* %10
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i64 %67)
%69 = getelementptr inbounds [200 x i8], [200 x i8]* %6, i64 0, i64 0
%70 = load i8**, i8*** %5
%71 = getelementptr inbounds i8*, i8** %70, i64 2
%72 = load i8*, i8** %71
%73 = load i64, i64* %10
%74 = call i32 @sprintf(i8* %69, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i8* %72, i64 %73)
%75 = getelementptr inbounds [200 x i8], [200 x i8]* %6, i64 0, i64 0
%76 = call i32* @fopen(i8* %75, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
store i32* %76, i32** %8
%77 = icmp eq i32* %76, null
br i1 %77, label %78, label %81
78: ; preds = %66
%79 = call i32 @perror(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%80 = call i32 @exit(i32 1)
unreachable
81: ; preds = %66
store i64 0, i64* %12
br label %82
82: ; preds = %97, %81
%83 = load i64, i64* %12
%84 = load i64, i64* %11
%85 = icmp ult i64 %83, %84
br i1 %85, label %86, label %91
86: ; preds = %82
%87 = load i32*, i32** %7
%88 = call i32 @fgetc(i32* %87)
store i32 %88, i32* %13
%89 = load i32, i32* @EOF
%90 = icmp ne i32 %88, %89
br label %91
91: ; preds = %86, %82
%92 = phi i1 [ false, %82 ], [ %90, %86 ]
br i1 %92, label %93, label %100
93: ; preds = %91
%94 = load i32, i32* %13
%95 = load i32*, i32** %8
%96 = call i32 @fputc(i32 %94, i32* %95)
br label %97
97: ; preds = %93
%98 = load i64, i64* %12
%99 = add i64 %98, 1
store i64 %99, i64* %12
br label %82
100: ; preds = %91
%101 = load i64, i64* %12
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i64 %101)
%103 = load i32*, i32** %8
%104 = call i32 @fclose(i32* %103)
br label %105
105: ; preds = %100
%106 = load i64, i64* %10
%107 = add i64 %106, 1
store i64 %107, i64* %10
br label %62
108: ; preds = %62
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
%110 = load i32*, i32** %7
%111 = call i32 @fclose(i32* %110)
ret i32 0
}

LLVM IR (-O2):
@.str = [54 x i8] c"Usage: %s <maximum part size in MiB> <file to split>\0A\00"
@.str.1 = [3 x i8] c"rb\00"
@.str.2 = [29 x i8] c"Could not open file to split\00"
@SEEK_END = global i32 0
@.str.3 = [23 x i8] c"Invalid part size: %s\0A\00"
@.str.4 = [35 x i8] c"File will be split into %u parts.\0A\00"
@.str.5 = [22 x i8] c"\0AWriting part%02d... \00"
@.str.6 = [12 x i8] c"%s.part%02d\00"
@.str.7 = [3 x i8] c"wb\00"
@.str.8 = [32 x i8] c"Could not open part for writing\00"
@EOF = global i32 0
@.str.9 = [12 x i8] c"(%lu bytes)\00"
@str = [8 x i8] c"\0A\0ADone!\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [200 x i8]
%4 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 0
%5 = icmp eq i32 %0, 3
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load i8*, i8** %1
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0), i8* %7)
%9 = tail call i32 @exit(i32 1)
unreachable
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 2
%12 = load i8*, i8** %11
%13 = tail call i32* @fopen(i8* %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%14 = icmp eq i32* %13, null
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = tail call i32 @perror(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0))
%17 = tail call i32 @exit(i32 1)
unreachable
18: ; preds = %10
%19 = load i32, i32* @SEEK_END
%20 = tail call i32 @fseek(i32* %13, i32 0, i32 %19)
%21 = getelementptr inbounds i8*, i8** %1, i64 1
%22 = load i8*, i8** %21
%23 = tail call i32 @atol(i8* %22)
%24 = shl nsw i32 %23, 20
%25 = sext i32 %24 to i64
%26 = icmp eq i32 %23, 0
br i1 %26, label %27, label %30
27: ; preds = %18
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i8* %22)
%29 = tail call i32 @exit(i32 1)
unreachable
30: ; preds = %18
%31 = tail call i64 @ftell(i32* %13)
%32 = sitofp i64 %31 to double
%33 = uitofp i64 %25 to double
%34 = fdiv double %32, %33
%35 = tail call i64 @ceil(double %34)
%36 = tail call i32 @rewind(i32* %13)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i64 %35)
%38 = icmp eq i64 %35, 0
br i1 %38, label %66, label %39
39: ; preds = %30
%40 = call i64 @llvm.umax.i64(i64 %25, i64 1)
br label %41
41: ; preds = %39, %60
%42 = phi i64 [ 0, %39 ], [ %64, %60 ]
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i64 %42)
%44 = load i8*, i8** %11
%45 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i8* %44, i64 %42)
%46 = call i32* @fopen(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%47 = icmp eq i32* %46, null
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = tail call i32 @perror(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%50 = tail call i32 @exit(i32 1)
unreachable
51: ; preds = %41, %56
%52 = phi i64 [ %58, %56 ], [ 0, %41 ]
%53 = tail call i32 @fgetc(i32* %13)
%54 = load i32, i32* @EOF
%55 = icmp eq i32 %53, %54
br i1 %55, label %60, label %56
56: ; preds = %51
%57 = tail call i32 @fputc(i32 %53, i32* %46)
%58 = add nuw i64 %52, 1
%59 = icmp eq i64 %58, %40
br i1 %59, label %60, label %51
60: ; preds = %51, %56
%61 = phi i64 [ %52, %51 ], [ %40, %56 ]
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0), i64 %61)
%63 = tail call i32 @fclose(i32* %46)
%64 = add nuw i64 %42, 1
%65 = icmp eq i64 %64, %35
br i1 %65, label %66, label %41
66: ; preds = %60, %30
%67 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%68 = tail call i32 @fclose(i32* %13)
ret i32 0
}