#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 timespec {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ CLOCK_REALTIME;
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ clock_gettime(int /*<<< orphan*/, struct timespec *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ free(unsigned char *);
unsigned int gol(unsigned char *, unsigned int, unsigned int, unsigned int,
                 unsigned int);
unsigned char *malloc(size_t);
int /*<<< orphan*/ memset(unsigned char *, int /*<<< orphan*/, size_t);
int /*<<< orphan*/ print_gol(unsigned char *, unsigned int, unsigned int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ r_pentomino(unsigned char *, unsigned int, unsigned int,
                               unsigned int, unsigned int);
unsigned int strtoul(char *, int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ ts_diff(struct timespec, struct timespec);
int /*<<< orphan*/ ts_to_double(int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  unsigned int dim_x = 80, dim_y = 40, time_steps = 80, num_threads = 3;
  if (argc > 1)
    time_steps = strtoul(argv[1], NULL, 0);
  if (argc > 2)
    dim_x = strtoul(argv[2], NULL, 0);
  if (argc > 3)
    dim_y = strtoul(argv[3], NULL, 0);
  if (argc > 4)
    num_threads = strtoul(argv[4], NULL, 0);
  if (dim_x < 9 || dim_y < 9) {
    printf("Invalid dim_x / dim_y!\n");
    exit(EXIT_FAILURE);
  }
  size_t size = sizeof(unsigned char) * dim_x * dim_y;
  unsigned char *grid = malloc(size);
  if (grid == NULL)
    exit(EXIT_FAILURE);
  memset(grid, 0, size);
  r_pentomino(grid, dim_x, dim_y, dim_x / 2, dim_y / 2);
  printf("\nGame of Life: time_steps = %u; dim_x = %u; dim_y = %u; threads = "
         "%u \n\n",
         time_steps, dim_x, dim_y, num_threads);
  print_gol(grid, dim_x, dim_y);
  printf("\n\n");
  struct timespec begin, end;
  clock_gettime(CLOCK_REALTIME, &begin);
  unsigned int living_cells = gol(grid, dim_x, dim_y, time_steps, num_threads);
  clock_gettime(CLOCK_REALTIME, &end);
  print_gol(grid, dim_x, dim_y);
  printf("Living Cells after %u time steps: %u\n", time_steps, living_cells);
  printf("\nProcessing Time: %.3lf seconds\n",
         ts_to_double(ts_diff(begin, end)));
  free(grid);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x50,-0x14(%rbp)
movl   $0x28,-0x18(%rbp)
movl   $0x50,-0x1c(%rbp)
movl   $0x3,-0x20(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    1212 <main+0x52>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   10d0 <strtoul@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x2,-0x8(%rbp)
jle    1232 <main+0x72>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   10d0 <strtoul@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x3,-0x8(%rbp)
jle    1252 <main+0x92>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   10d0 <strtoul@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x4,-0x8(%rbp)
jle    1272 <main+0xb2>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   10d0 <strtoul@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x9,-0x14(%rbp)
jb     1286 <main+0xc6>
cmpl   $0x9,-0x18(%rbp)
jae    12a2 <main+0xe2>
lea    0xd73(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    0x2d45(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>
mov    -0x14(%rbp),%eax
shl    $0x0,%rax
mov    -0x18(%rbp),%ecx
imul   %rcx,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
call   10b0 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    12da <main+0x11a>
mov    0x2d0d(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>
mov    -0x30(%rbp),%rdi
mov    -0x28(%rbp),%rdx
xor    %esi,%esi
call   1080 <memset@plt>
mov    -0x30(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x14(%rbp),%ecx
shr    $0x1,%ecx
mov    -0x18(%rbp),%r8d
shr    $0x1,%r8d
call   10c0 <r_pentomino@plt>
mov    -0x1c(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
mov    -0x20(%rbp),%r8d
lea    0xcfe(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x30(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
call   1040 <print_gol@plt>
lea    0xd26(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    0x2c93(%rip),%rax
mov    (%rax),%edi
lea    -0x38(%rbp),%rsi
call   1050 <clock_gettime@plt>
mov    -0x30(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
mov    -0x20(%rbp),%r8d
call   1090 <gol@plt>
mov    %eax,-0x44(%rbp)
mov    0x2c68(%rip),%rax
mov    (%rax),%edi
lea    -0x40(%rbp),%rsi
call   1050 <clock_gettime@plt>
mov    -0x30(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
call   1040 <print_gol@plt>
mov    -0x1c(%rbp),%esi
mov    -0x44(%rbp),%edx
lea    0xcc9(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x38(%rbp),%edi
mov    -0x40(%rbp),%esi
call   1070 <ts_diff@plt>
mov    %eax,%edi
call   10a0 <ts_to_double@plt>
mov    %eax,%esi
lea    0xccd(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    $0x3,%ebx
mov    $0x50,%r15d
mov    $0x28,%r12d
cmp    $0x2,%edi
jl     1249 <main+0x79>
mov    %rsi,%r13
mov    %edi,%ebp
mov    0x8(%rsi),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   10e0 <strtoul@plt>
mov    %eax,%r14d
cmp    $0x2,%ebp
je     124f <main+0x7f>
mov    0x10(%r13),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   10e0 <strtoul@plt>
mov    %eax,%r15d
cmp    $0x4,%ebp
jb     124f <main+0x7f>
mov    0x18(%r13),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   10e0 <strtoul@plt>
mov    %eax,%r12d
cmp    $0x4,%ebp
je     124f <main+0x7f>
mov    0x20(%r13),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   10e0 <strtoul@plt>
mov    %eax,%ebx
jmp    124f <main+0x7f>
mov    $0x50,%r14d
cmp    $0x9,%r15d
jb     1378 <main+0x1a8>
cmp    $0x8,%r12d
jbe    1378 <main+0x1a8>
mov    %ebx,%r13d
mov    %r15d,%eax
mov    %r12d,%ebx
imul   %rax,%rbx
mov    %rbx,%rdi
call   10c0 <malloc@plt>
test   %rax,%rax
je     1384 <main+0x1b4>
mov    %rax,%rbp
mov    %rax,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
call   1090 <memset@plt>
mov    %r15d,%ecx
shr    %ecx
mov    %r12d,%r8d
shr    %r8d
mov    %rbp,%rdi
mov    %r15d,%esi
mov    %r12d,%edx
call   10d0 <r_pentomino@plt>
lea    0xd4f(%rip),%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %r12d,%ecx
mov    %r13d,%ebx
mov    %r13d,%r8d
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbp,%rdi
mov    %r15d,%esi
mov    %r12d,%edx
call   1040 <print_gol@plt>
lea    0xd6a(%rip),%rdi
call   1050 <puts@plt>
mov    0x2cf0(%rip),%r13
mov    0x0(%r13),%edi
lea    0x10(%rsp),%rsi
call   1060 <clock_gettime@plt>
mov    %rbp,%rdi
mov    %r15d,%esi
mov    %r12d,%edx
mov    %r14d,%ecx
mov    %ebx,%r8d
call   10a0 <gol@plt>
mov    %eax,%ebx
mov    0x0(%r13),%edi
lea    0x8(%rsp),%rsi
call   1060 <clock_gettime@plt>
mov    %rbp,%rdi
mov    %r15d,%esi
mov    %r12d,%edx
call   1040 <print_gol@plt>
lea    0xd19(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x10(%rsp),%edi
mov    0x8(%rsp),%esi
call   1080 <ts_diff@plt>
mov    %eax,%edi
call   10b0 <ts_to_double@plt>
lea    0xd18(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd10(%rip),%rdi
call   1050 <puts@plt>
mov    0x2c55(%rip),%rax
mov    (%rax),%edi
call   10f0 <exit@plt>

LLVM IR (-O0):
%struct.timespec = type { i32 }
@.str = [24 x i8] c"Invalid dim_x / dim_y!\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [72 x i8] c"\0AGame of Life: time_steps = %u; dim_x = %u; dim_y = %u; threads = %u \0A\0A\00"
@.str.2 = [3 x i8] c"\0A\0A\00"
@CLOCK_REALTIME = global i32 0
@.str.3 = [38 x i8] c"Living Cells after %u time steps: %u\0A\00"
@.str.4 = [33 x i8] c"\0AProcessing Time: %.3lf seconds\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i64
%11 = alloca i8*
%12 = alloca %struct.timespec
%13 = alloca %struct.timespec
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 80, i32* %6
store i32 40, i32* %7
store i32 80, i32* %8
store i32 3, i32* %9
%15 = load i32, i32* %4
%16 = icmp sgt i32 %15, 1
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i32 @strtoul(i8* %20, i32* null, i32 0)
store i32 %21, i32* %8
br label %22
22: ; preds = %17, %2
%23 = load i32, i32* %4
%24 = icmp sgt i32 %23, 2
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 2
%28 = load i8*, i8** %27
%29 = call i32 @strtoul(i8* %28, i32* null, i32 0)
store i32 %29, i32* %6
br label %30
30: ; preds = %25, %22
%31 = load i32, i32* %4
%32 = icmp sgt i32 %31, 3
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load i8**, i8*** %5
%35 = getelementptr inbounds i8*, i8** %34, i64 3
%36 = load i8*, i8** %35
%37 = call i32 @strtoul(i8* %36, i32* null, i32 0)
store i32 %37, i32* %7
br label %38
38: ; preds = %33, %30
%39 = load i32, i32* %4
%40 = icmp sgt i32 %39, 4
br i1 %40, label %41, label %46
41: ; preds = %38
%42 = load i8**, i8*** %5
%43 = getelementptr inbounds i8*, i8** %42, i64 4
%44 = load i8*, i8** %43
%45 = call i32 @strtoul(i8* %44, i32* null, i32 0)
store i32 %45, i32* %9
br label %46
46: ; preds = %41, %38
%47 = load i32, i32* %6
%48 = icmp ult i32 %47, 9
br i1 %48, label %52, label %49
49: ; preds = %46
%50 = load i32, i32* %7
%51 = icmp ult i32 %50, 9
br i1 %51, label %52, label %56
52: ; preds = %49, %46
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%54 = load i32, i32* @EXIT_FAILURE
%55 = call i32 @exit(i32 %54)
unreachable
56: ; preds = %49
%57 = load i32, i32* %6
%58 = zext i32 %57 to i64
%59 = mul i64 1, %58
%60 = load i32, i32* %7
%61 = zext i32 %60 to i64
%62 = mul i64 %59, %61
store i64 %62, i64* %10
%63 = load i64, i64* %10
%64 = call i8* @malloc(i64 %63)
store i8* %64, i8** %11
%65 = load i8*, i8** %11
%66 = icmp eq i8* %65, null
br i1 %66, label %67, label %70
67: ; preds = %56
%68 = load i32, i32* @EXIT_FAILURE
%69 = call i32 @exit(i32 %68)
unreachable
70: ; preds = %56
%71 = load i8*, i8** %11
%72 = load i64, i64* %10
%73 = call i32 @memset(i8* %71, i32 0, i64 %72)
%74 = load i8*, i8** %11
%75 = load i32, i32* %6
%76 = load i32, i32* %7
%77 = load i32, i32* %6
%78 = udiv i32 %77, 2
%79 = load i32, i32* %7
%80 = udiv i32 %79, 2
%81 = call i32 @r_pentomino(i8* %74, i32 %75, i32 %76, i32 %78, i32 %80)
%82 = load i32, i32* %8
%83 = load i32, i32* %6
%84 = load i32, i32* %7
%85 = load i32, i32* %9
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.1, i64 0, i64 0), i32 %82, i32 %83, i32 %84, i32 %85)
%87 = load i8*, i8** %11
%88 = load i32, i32* %6
%89 = load i32, i32* %7
%90 = call i32 @print_gol(i8* %87, i32 %88, i32 %89)
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%92 = load i32, i32* @CLOCK_REALTIME
%93 = call i32 @clock_gettime(i32 %92, %struct.timespec* %12)
%94 = load i8*, i8** %11
%95 = load i32, i32* %6
%96 = load i32, i32* %7
%97 = load i32, i32* %8
%98 = load i32, i32* %9
%99 = call i32 @gol(i8* %94, i32 %95, i32 %96, i32 %97, i32 %98)
store i32 %99, i32* %14
%100 = load i32, i32* @CLOCK_REALTIME
%101 = call i32 @clock_gettime(i32 %100, %struct.timespec* %13)
%102 = load i8*, i8** %11
%103 = load i32, i32* %6
%104 = load i32, i32* %7
%105 = call i32 @print_gol(i8* %102, i32 %103, i32 %104)
%106 = load i32, i32* %8
%107 = load i32, i32* %14
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i32 %106, i32 %107)
%109 = getelementptr inbounds %struct.timespec, %struct.timespec* %12, i32 0, i32 0
%110 = load i32, i32* %109
%111 = getelementptr inbounds %struct.timespec, %struct.timespec* %13, i32 0, i32 0
%112 = load i32, i32* %111
%113 = call i32 @ts_diff(i32 %110, i32 %112)
%114 = call i32 @ts_to_double(i32 %113)
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %114)
%116 = load i8*, i8** %11
%117 = call i32 @free(i8* %116)
ret i32 0
}

LLVM IR (-O2):
%struct.timespec = type { i32 }
@EXIT_FAILURE = global i32 0
@.str.1 = [72 x i8] c"\0AGame of Life: time_steps = %u; dim_x = %u; dim_y = %u; threads = %u \0A\0A\00"
@CLOCK_REALTIME = global i32 0
@.str.3 = [38 x i8] c"Living Cells after %u time steps: %u\0A\00"
@.str.4 = [33 x i8] c"\0AProcessing Time: %.3lf seconds\0A\00"
@str = [2 x i8] c"\0A\00"
@str.5 = [23 x i8] c"Invalid dim_x / dim_y!\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.timespec
%4 = alloca %struct.timespec
%5 = icmp sgt i32 %0, 1
br i1 %5, label %6, label %25
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32 @strtoul(i8* nocapture %8, i32* null, i32 0)
%10 = icmp eq i32 %0, 2
br i1 %10, label %25, label %11
11: ; preds = %6
%12 = getelementptr inbounds i8*, i8** %1, i64 2
%13 = load i8*, i8** %12
%14 = tail call i32 @strtoul(i8* nocapture %13, i32* null, i32 0)
%15 = icmp ugt i32 %0, 3
br i1 %15, label %16, label %25
16: ; preds = %11
%17 = getelementptr inbounds i8*, i8** %1, i64 3
%18 = load i8*, i8** %17
%19 = tail call i32 @strtoul(i8* nocapture %18, i32* null, i32 0)
%20 = icmp eq i32 %0, 4
br i1 %20, label %25, label %21
21: ; preds = %16
%22 = getelementptr inbounds i8*, i8** %1, i64 4
%23 = load i8*, i8** %22
%24 = tail call i32 @strtoul(i8* nocapture %23, i32* null, i32 0)
br label %25
25: ; preds = %2, %6, %11, %21, %16
%26 = phi i32 [ %19, %21 ], [ %19, %16 ], [ 40, %11 ], [ 40, %6 ], [ 40, %2 ]
%27 = phi i32 [ %9, %21 ], [ %9, %16 ], [ %9, %11 ], [ %9, %6 ], [ 80, %2 ]
%28 = phi i32 [ %14, %21 ], [ %14, %16 ], [ %14, %11 ], [ 80, %6 ], [ 80, %2 ]
%29 = phi i32 [ %24, %21 ], [ 3, %16 ], [ 3, %11 ], [ 3, %6 ], [ 3, %2 ]
%30 = icmp ult i32 %28, 9
%31 = icmp ult i32 %26, 9
%32 = select i1 %30, i1 true, i1 %31
br i1 %32, label %33, label %37
33: ; preds = %25
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.5, i64 0, i64 0))
%35 = load i32, i32* @EXIT_FAILURE
%36 = tail call i32 @exit(i32 %35)
unreachable
37: ; preds = %25
%38 = zext i32 %28 to i64
%39 = zext i32 %26 to i64
%40 = mul nuw i64 %38, %39
%41 = tail call i8* @malloc(i64 %40)
%42 = icmp eq i8* %41, null
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = load i32, i32* @EXIT_FAILURE
%45 = tail call i32 @exit(i32 %44)
unreachable
46: ; preds = %37
%47 = tail call i32 @memset(i8* %41, i32 0, i64 %40)
%48 = lshr i32 %28, 1
%49 = lshr i32 %26, 1
%50 = tail call i32 @r_pentomino(i8* %41, i32 %28, i32 %26, i32 %48, i32 %49)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.1, i64 0, i64 0), i32 %27, i32 %28, i32 %26, i32 %29)
%52 = tail call i32 @print_gol(i8* %41, i32 %28, i32 %26)
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
%54 = bitcast %struct.timespec* %3 to i8*
%55 = bitcast %struct.timespec* %4 to i8*
%56 = load i32, i32* @CLOCK_REALTIME
%57 = call i32 @clock_gettime(i32 %56, %struct.timespec* %3)
%58 = call i32 @gol(i8* %41, i32 %28, i32 %26, i32 %27, i32 %29)
%59 = load i32, i32* @CLOCK_REALTIME
%60 = call i32 @clock_gettime(i32 %59, %struct.timespec* %4)
%61 = call i32 @print_gol(i8* %41, i32 %28, i32 %26)
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i32 %27, i32 %58)
%63 = getelementptr inbounds %struct.timespec, %struct.timespec* %3, i64 0, i32 0
%64 = load i32, i32* %63
%65 = getelementptr inbounds %struct.timespec, %struct.timespec* %4, i64 0, i32 0
%66 = load i32, i32* %65
%67 = call i32 @ts_diff(i32 %64, i32 %66)
%68 = call i32 @ts_to_double(i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %68)
%70 = call i32 @free(i8* %41)
ret i32 0
}