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

/* Variables and functions */
int O_CREAT;
int O_RDWR;
int /*<<< orphan*/ assert(int);
long atol(char *);
int chunkOffset(long, long, long);
long chunkSize(long, long, long);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ ftruncate(int, long);
int open(char *, int, int);
int /*<<< orphan*/ printf(char *, char *, ...);
int pwrite(int, double *, int, int);
int main(int argc, char **arg) {
  int fd;
  off_t size, offset;
  long iC, cN, cC, count, i;
  char *nodeid;
  double d = 1.0;
  if (argc != 5 && argc != 6) {
    printf("usage: %s path itemcount processcount chunkno [nodeid] -- write "
           "floats to file \"path\" \n",
           arg[0]);
    exit(1);
  }
  iC = atol(arg[2]);
  cC = atol(arg[3]);
  cN = atol(arg[4]);
  if (arg[5])
    nodeid = arg[5];
  else
    nodeid = "<no nodeid>";
  if (cN == 0) {
    fd = open(arg[1], O_CREAT | O_RDWR, 0664);
    assert(fd > 0);
    ftruncate(fd, iC * sizeof(d));
    return 0;
  }
  count = chunkSize(cC, iC, cN);
  size = sizeof(d) * count;
  offset = sizeof(d) * chunkOffset(cC, iC, cN);
  assert(offset >= 0 && count <= iC);
  assert(size >= 0);
  printf("[%s] Chunk %ld/%ld: %ld/%ld floats at %ld floats.  bytes: %lld at "
         "%lld. file: \"%s\".\n",
         nodeid, cN, cC, count, iC, chunkOffset(cC, iC, cN), size, offset,
         arg[1]);
  fd = open(arg[1], O_CREAT | O_RDWR, 0660);
  assert(fd > 0);
  for (i = 0; i < count; i++) {
    assert(sizeof(d) == pwrite(fd, &d, sizeof(d), offset));
    offset += sizeof(d);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0xa8,%rsp
movl   $0x0,-0xc(%rbp)
mov    %edi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movsd  0xe4e(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
cmpl   $0x5,-0x10(%rbp)
je     11ea <main+0x5a>
cmpl   $0x6,-0x10(%rbp)
je     11ea <main+0x5a>
mov    -0x18(%rbp),%rax
mov    (%rax),%rsi
lea    0xe2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>
mov    -0x18(%rbp),%rax
mov    0x10(%rax),%rdi
call   1080 <atol@plt>
mov    %rax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
mov    0x18(%rax),%rdi
call   1080 <atol@plt>
mov    %rax,-0x40(%rbp)
mov    -0x18(%rbp),%rax
mov    0x20(%rax),%rdi
call   1080 <atol@plt>
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
cmpq   $0x0,0x28(%rax)
je     123d <main+0xad>
mov    -0x18(%rbp),%rax
mov    0x28(%rax),%rax
mov    %rax,-0x58(%rbp)
jmp    1248 <main+0xb8>
lea    0xe1c(%rip),%rax
mov    %rax,-0x58(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    12a7 <main+0x117>
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rdi
mov    0x2d96(%rip),%rax
mov    (%rax),%esi
mov    0x2d75(%rip),%rax
or     (%rax),%esi
mov    $0x1b4,%edx
call   1090 <open@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
mov    -0x1c(%rbp),%edi
mov    -0x30(%rbp),%rsi
shl    $0x3,%rsi
call   1040 <ftruncate@plt>
movl   $0x0,-0xc(%rbp)
jmp    1444 <main+0x2b4>
mov    -0x40(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   1050 <chunkSize@plt>
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
shl    $0x3,%rax
mov    %eax,-0x20(%rbp)
mov    -0x40(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   10b0 <chunkOffset@plt>
cltq
shl    $0x3,%rax
mov    %eax,-0x24(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x24(%rbp)
mov    %al,-0x61(%rbp)
jl     12fe <main+0x16e>
mov    -0x48(%rbp),%rax
cmp    -0x30(%rbp),%rax
setle  %al
mov    %al,-0x61(%rbp)
mov    -0x61(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
cmpl   $0x0,-0x20(%rbp)
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
mov    -0x58(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    -0x40(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x40(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x38(%rbp),%rdx
call   10b0 <chunkOffset@plt>
mov    -0x90(%rbp),%rsi
mov    -0x88(%rbp),%rdx
mov    -0x80(%rbp),%rcx
mov    -0x78(%rbp),%r8
mov    -0x70(%rbp),%r9
mov    %eax,%ebx
mov    -0x20(%rbp),%r11d
mov    -0x24(%rbp),%r10d
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rax
lea    0xcde(%rip),%rdi
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %rax,0x18(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rdi
mov    0x2c42(%rip),%rax
mov    (%rax),%esi
mov    0x2c21(%rip),%rax
or     (%rax),%esi
mov    $0x1b0,%edx
call   1090 <open@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0x48(%rbp),%rax
jge    143d <main+0x2ad>
mov    -0x1c(%rbp),%edi
mov    -0x24(%rbp),%ecx
lea    -0x60(%rbp),%rsi
mov    $0x8,%edx
call   1070 <pwrite@plt>
movslq %eax,%rcx
mov    $0x8,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
movslq -0x24(%rbp),%rax
add    $0x8,%rax
mov    %eax,-0x24(%rbp)
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    13e7 <main+0x257>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0xa8,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r15
movabs $0x3ff0000000000000,%rax
mov    %rax,0x20(%rsp)
add    $0xfffffff9,%edi
cmp    $0xfffffffd,%edi
jbe    1358 <main+0x1c8>
mov    0x10(%r15),%rdi
call   1080 <atol@plt>
mov    %rax,%r12
mov    0x18(%r15),%rdi
call   1080 <atol@plt>
mov    %rax,%rbx
mov    0x20(%r15),%rdi
call   1080 <atol@plt>
test   %rax,%rax
je     130a <main+0x17a>
mov    %rax,%rbp
mov    0x28(%r15),%rax
test   %rax,%rax
lea    0xe61(%rip),%rcx
cmovne %rax,%rcx
mov    %rcx,0x18(%rsp)
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %rbp,%rdx
call   1050 <chunkSize@plt>
mov    %rax,%r14
lea    0x0(,%rax,8),%r13d
mov    %r13,0x10(%rsp)
mov    %rbx,%rdi
mov    %r12,%rsi
mov    %rbp,%rdx
call   10b0 <chunkOffset@plt>
mov    %rbx,0x8(%rsp)
mov    %eax,%ebx
shl    $0x3,%ebx
test   %ebx,%ebx
setns  %al
cmp    %r12,%r14
setle  %cl
and    %al,%cl
movzbl %cl,%edi
call   1060 <assert@plt>
mov    %r13d,%edi
not    %edi
shr    $0x1f,%edi
call   1060 <assert@plt>
mov    0x8(%rsp),%r13
mov    %r13,%rdi
mov    %r12,%rsi
mov    %rbp,%rdx
call   10b0 <chunkOffset@plt>
mov    %eax,%r10d
lea    0xdef(%rip),%rdi
mov    0x18(%rsp),%rsi
mov    %rbp,%rdx
mov    %r13,%rcx
mov    %r14,%r8
mov    %r12,%r9
xor    %eax,%eax
push   0x8(%r15)
push   %rbx
push   0x20(%rsp)
push   %r10
call   1030 <printf@plt>
add    $0x20,%rsp
mov    0x8(%r15),%rdi
mov    0x2d51(%rip),%rax
mov    0x2d32(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    $0x1b0,%edx
call   1090 <open@plt>
mov    %eax,%ebp
xor    %edi,%edi
test   %eax,%eax
setg   %dil
call   1060 <assert@plt>
test   %r14,%r14
jle    1347 <main+0x1b7>
lea    0x20(%rsp),%r15
cs nopw 0x0(%rax,%rax,1)
nop
mov    %ebp,%edi
mov    %r15,%rsi
mov    $0x8,%edx
mov    %ebx,%ecx
call   1070 <pwrite@plt>
xor    %edi,%edi
cmp    $0x8,%eax
sete   %dil
call   1060 <assert@plt>
add    $0x8,%ebx
add    $0xffffffffffffffff,%r14
jne    12e0 <main+0x150>
jmp    1347 <main+0x1b7>
mov    0x8(%r15),%rdi
mov    0x2ce3(%rip),%rax
mov    0x2cc4(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    $0x1b4,%edx
call   1090 <open@plt>
mov    %eax,%ebx
xor    %edi,%edi
test   %eax,%eax
setg   %dil
call   1060 <assert@plt>
shl    $0x3,%r12
mov    %ebx,%edi
mov    %r12,%rsi
call   1040 <ftruncate@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    (%r15),%rsi
lea    0xc9e(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
@.str = [88 x i8] c"usage: %s path itemcount processcount chunkno [nodeid] -- write floats to file \22path\22 \0A\00"
@.str.1 = [12 x i8] c"<no nodeid>\00"
@O_CREAT = global i32 0
@O_RDWR = global i32 0
@.str.2 = [85 x i8] c"[%s] Chunk %ld/%ld: %ld/%ld floats at %ld floats. bytes: %lld at %lld. file: \22%s\22.\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 i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca i64
%14 = alloca i8*
%15 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store double 1.000000e+00, double* %15
%16 = load i32, i32* %4
%17 = icmp ne i32 %16, 5
br i1 %17, label %18, label %27
18: ; preds = %2
%19 = load i32, i32* %4
%20 = icmp ne i32 %19, 6
br i1 %20, label %21, label %27
21: ; preds = %18
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 0
%24 = load i8*, i8** %23
%25 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str, i64 0, i64 0), i8* %24)
%26 = call i32 @exit(i32 1)
unreachable
27: ; preds = %18, %2
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 2
%30 = load i8*, i8** %29
%31 = call i64 @atol(i8* %30)
store i64 %31, i64* %9
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 3
%34 = load i8*, i8** %33
%35 = call i64 @atol(i8* %34)
store i64 %35, i64* %11
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 4
%38 = load i8*, i8** %37
%39 = call i64 @atol(i8* %38)
store i64 %39, i64* %10
%40 = load i8**, i8*** %5
%41 = getelementptr inbounds i8*, i8** %40, i64 5
%42 = load i8*, i8** %41
%43 = icmp ne i8* %42, null
br i1 %43, label %44, label %48
44: ; preds = %27
%45 = load i8**, i8*** %5
%46 = getelementptr inbounds i8*, i8** %45, i64 5
%47 = load i8*, i8** %46
store i8* %47, i8** %14
br label %49
48: ; preds = %27
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8** %14
br label %49
49: ; preds = %48, %44
%50 = load i64, i64* %10
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %68
52: ; preds = %49
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 1
%55 = load i8*, i8** %54
%56 = load i32, i32* @O_CREAT
%57 = load i32, i32* @O_RDWR
%58 = or i32 %56, %57
%59 = call i32 @open(i8* %55, i32 %58, i32 436)
store i32 %59, i32* %6
%60 = load i32, i32* %6
%61 = icmp sgt i32 %60, 0
%62 = zext i1 %61 to i32
%63 = call i32 @assert(i32 %62)
%64 = load i32, i32* %6
%65 = load i64, i64* %9
%66 = mul i64 %65, 8
%67 = call i32 @ftruncate(i32 %64, i64 %66)
store i32 0, i32* %3
br label %143
68: ; preds = %49
%69 = load i64, i64* %11
%70 = load i64, i64* %9
%71 = load i64, i64* %10
%72 = call i64 @chunkSize(i64 %69, i64 %70, i64 %71)
store i64 %72, i64* %12
%73 = load i64, i64* %12
%74 = mul i64 8, %73
%75 = trunc i64 %74 to i32
store i32 %75, i32* %7
%76 = load i64, i64* %11
%77 = load i64, i64* %9
%78 = load i64, i64* %10
%79 = call i32 @chunkOffset(i64 %76, i64 %77, i64 %78)
%80 = sext i32 %79 to i64
%81 = mul i64 8, %80
%82 = trunc i64 %81 to i32
store i32 %82, i32* %8
%83 = load i32, i32* %8
%84 = icmp sge i32 %83, 0
br i1 %84, label %85, label %89
85: ; preds = %68
%86 = load i64, i64* %12
%87 = load i64, i64* %9
%88 = icmp sle i64 %86, %87
br label %89
89: ; preds = %85, %68
%90 = phi i1 [ false, %68 ], [ %88, %85 ]
%91 = zext i1 %90 to i32
%92 = call i32 @assert(i32 %91)
%93 = load i32, i32* %7
%94 = icmp sge i32 %93, 0
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 %95)
%97 = load i8*, i8** %14
%98 = load i64, i64* %10
%99 = load i64, i64* %11
%100 = load i64, i64* %12
%101 = load i64, i64* %9
%102 = load i64, i64* %11
%103 = load i64, i64* %9
%104 = load i64, i64* %10
%105 = call i32 @chunkOffset(i64 %102, i64 %103, i64 %104)
%106 = load i32, i32* %7
%107 = load i32, i32* %8
%108 = load i8**, i8*** %5
%109 = getelementptr inbounds i8*, i8** %108, i64 1
%110 = load i8*, i8** %109
%111 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.2, i64 0, i64 0), i8* %97, i64 %98, i64 %99, i64 %100, i64 %101, i32 %105, i32 %106, i32 %107, i8* %110)
%112 = load i8**, i8*** %5
%113 = getelementptr inbounds i8*, i8** %112, i64 1
%114 = load i8*, i8** %113
%115 = load i32, i32* @O_CREAT
%116 = load i32, i32* @O_RDWR
%117 = or i32 %115, %116
%118 = call i32 @open(i8* %114, i32 %117, i32 432)
store i32 %118, i32* %6
%119 = load i32, i32* %6
%120 = icmp sgt i32 %119, 0
%121 = zext i1 %120 to i32
%122 = call i32 @assert(i32 %121)
store i64 0, i64* %13
br label %123
123: ; preds = %139, %89
%124 = load i64, i64* %13
%125 = load i64, i64* %12
%126 = icmp slt i64 %124, %125
br i1 %126, label %127, label %142
127: ; preds = %123
%128 = load i32, i32* %6
%129 = load i32, i32* %8
%130 = call i32 @pwrite(i32 %128, double* %15, i32 8, i32 %129)
%131 = sext i32 %130 to i64
%132 = icmp eq i64 8, %131
%133 = zext i1 %132 to i32
%134 = call i32 @assert(i32 %133)
%135 = load i32, i32* %8
%136 = sext i32 %135 to i64
%137 = add i64 %136, 8
%138 = trunc i64 %137 to i32
store i32 %138, i32* %8
br label %139
139: ; preds = %127
%140 = load i64, i64* %13
%141 = add nsw i64 %140, 1
store i64 %141, i64* %13
br label %123
142: ; preds = %123
store i32 0, i32* %3
br label %143
143: ; preds = %142, %52
%144 = load i32, i32* %3
ret i32 %144
}

LLVM IR (-O2):
@.str = [88 x i8] c"usage: %s path itemcount processcount chunkno [nodeid] -- write floats to file \22path\22 \0A\00"
@.str.1 = [12 x i8] c"<no nodeid>\00"
@O_CREAT = global i32 0
@O_RDWR = global i32 0
@.str.2 = [85 x i8] c"[%s] Chunk %ld/%ld: %ld/%ld floats at %ld floats. bytes: %lld at %lld. file: \22%s\22.\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca double
%4 = bitcast double* %3 to i8*
store double 1.000000e+00, double* %3
%5 = add i32 %0, -7
%6 = icmp ult i32 %5, -2
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load i8*, i8** %1
%9 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = tail call i32 @exit(i32 1)
unreachable
11: ; preds = %2
%12 = getelementptr inbounds i8*, i8** %1, i64 2
%13 = load i8*, i8** %12
%14 = tail call i64 @atol(i8* %13)
%15 = getelementptr inbounds i8*, i8** %1, i64 3
%16 = load i8*, i8** %15
%17 = tail call i64 @atol(i8* %16)
%18 = getelementptr inbounds i8*, i8** %1, i64 4
%19 = load i8*, i8** %18
%20 = tail call i64 @atol(i8* %19)
%21 = getelementptr inbounds i8*, i8** %1, i64 5
%22 = load i8*, i8** %21
%23 = icmp eq i64 %20, 0
br i1 %23, label %24, label %36
24: ; preds = %11
%25 = getelementptr inbounds i8*, i8** %1, i64 1
%26 = load i8*, i8** %25
%27 = load i32, i32* @O_CREAT
%28 = load i32, i32* @O_RDWR
%29 = or i32 %28, %27
%30 = tail call i32 @open(i8* %26, i32 %29, i32 436)
%31 = icmp sgt i32 %30, 0
%32 = zext i1 %31 to i32
%33 = tail call i32 @assert(i32 %32)
%34 = shl i64 %14, 3
%35 = tail call i32 @ftruncate(i32 %30, i64 %34)
br label %75
36: ; preds = %11
%37 = icmp eq i8* %22, null
%38 = select i1 %37, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* %22
%39 = tail call i64 @chunkSize(i64 %17, i64 %14, i64 %20)
%40 = trunc i64 %39 to i32
%41 = shl i32 %40, 3
%42 = tail call i32 @chunkOffset(i64 %17, i64 %14, i64 %20)
%43 = shl i32 %42, 3
%44 = icmp sgt i32 %43, -1
%45 = icmp sle i64 %39, %14
%46 = select i1 %44, i1 %45, i1 false
%47 = zext i1 %46 to i32
%48 = tail call i32 @assert(i32 %47)
%49 = xor i32 %41, -1
%50 = lshr i32 %49, 31
%51 = tail call i32 @assert(i32 %50)
%52 = tail call i32 @chunkOffset(i64 %17, i64 %14, i64 %20)
%53 = getelementptr inbounds i8*, i8** %1, i64 1
%54 = load i8*, i8** %53
%55 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.2, i64 0, i64 0), i8* %38, i64 %20, i64 %17, i64 %39, i64 %14, i32 %52, i32 %41, i32 %43, i8* %54)
%56 = load i8*, i8** %53
%57 = load i32, i32* @O_CREAT
%58 = load i32, i32* @O_RDWR
%59 = or i32 %58, %57
%60 = tail call i32 @open(i8* %56, i32 %59, i32 432)
%61 = icmp sgt i32 %60, 0
%62 = zext i1 %61 to i32
%63 = tail call i32 @assert(i32 %62)
%64 = icmp sgt i64 %39, 0
br i1 %64, label %65, label %75
65: ; preds = %36, %65
%66 = phi i64 [ %73, %65 ], [ 0, %36 ]
%67 = phi i32 [ %72, %65 ], [ %43, %36 ]
%68 = call i32 @pwrite(i32 %60, double* %3, i32 8, i32 %67)
%69 = icmp eq i32 %68, 8
%70 = zext i1 %69 to i32
%71 = tail call i32 @assert(i32 %70)
%72 = add i32 %67, 8
%73 = add nuw nsw i64 %66, 1
%74 = icmp eq i64 %73, %39
br i1 %74, label %75, label %65
75: ; preds = %65, %36, %24
ret i32 0
}