#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 uint64_t;
typedef int uint32_t;

/* Variables and functions */
int /*<<< orphan*/ O_RDWR;
int /*<<< orphan*/ SEEK_SET;
int atoi_any(char *);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int lseek(int, int, int /*<<< orphan*/);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, int, int, int, int);
int read(int, int *, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int main(int argc, char *argv[]) {
  if (argc < 3) {
    fprintf(stderr, "%s <offset> <nbytes> (update-value)\n", argv[0]);
    return 1;
  }
  {
    char *offset_arg = argv[1], *nbytes_arg = argv[2],
         *update_value_arg = argv[3];
    int rc, fd;
    uint64_t offset = atoi_any(offset_arg);
    int nbytes = atoi_any(nbytes_arg);
    int mmoffset = offset & (0x10000 - 1);
    int mmbase = offset & (~(0x10000 - 1));
    int update_value = (argc > 3) ? atoi_any(update_value_arg) : 0;
    int update = (argc > 3);
    void *ptr;
    printf("offset=%08x nbytes=%d mmoffset=%08x mmbase=%08x\n", offset, nbytes,
           mmoffset, mmbase);
    if ((fd = open("/dev/mem", O_RDWR)) == -1) {
      perror("/dev/mem");
      return 1;
    }
    if (update) {
      *(int *)ptr = update_value;
      nbytes = 4;
    }
    {
      int addr = offset;
      int i, j;
      for (i = 0; i < nbytes; i += 16) {
        fprintf(stdout, "%8x(%d): ", offset + i, (int)sizeof(uint32_t));
        fflush(stdout);
        for (j = 0; j < 16; j += 4) {
          uint32_t v;
          int x = lseek(fd, offset + i + j, SEEK_SET);
          int y = read(fd, &v, 4);
          fprintf(stdout, "%8x ", v);
        }
        fprintf(stdout, "\n");
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    11ca <main+0x4a>
mov    0x2e31(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe49(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13a1 <main+0x221>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rax
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%rdi
call   1070 <atoi_any@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
call   1070 <atoi_any@plt>
mov    %eax,-0x38(%rbp)
mov    -0x34(%rbp),%eax
and    $0xffff,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x34(%rbp),%eax
and    $0xffff0000,%eax
mov    %eax,-0x40(%rbp)
cmpl   $0x3,-0x8(%rbp)
jle    1237 <main+0xb7>
mov    -0x28(%rbp),%rdi
call   1070 <atoi_any@plt>
mov    %eax,-0x6c(%rbp)
jmp    1241 <main+0xc1>
xor    %eax,%eax
mov    %eax,-0x6c(%rbp)
jmp    1241 <main+0xc1>
mov    -0x6c(%rbp),%eax
mov    %eax,-0x44(%rbp)
cmpl   $0x3,-0x8(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%esi
mov    -0x38(%rbp),%edx
mov    -0x3c(%rbp),%ecx
mov    -0x40(%rbp),%r8d
lea    0xdbb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d72(%rip),%rax
mov    (%rax),%esi
lea    0xdd7(%rip),%rdi
call   1090 <open@plt>
mov    %eax,-0x30(%rbp)
cmp    $0xffffffff,%eax
jne    12a8 <main+0x128>
lea    0xdbf(%rip),%rdi
call   10a0 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    13a1 <main+0x221>
cmpl   $0x0,-0x48(%rbp)
je     12c2 <main+0x142>
mov    -0x44(%rbp),%ecx
mov    -0x50(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x4,-0x38(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x54(%rbp)
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    139a <main+0x21a>
mov    0x2ce6(%rip),%rax
mov    (%rax),%edi
mov    -0x34(%rbp),%edx
add    -0x58(%rbp),%edx
lea    0xd6e(%rip),%rsi
mov    $0x4,%ecx
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    0x2cc4(%rip),%rax
mov    (%rax),%edi
call   1080 <fflush@plt>
movl   $0x0,-0x5c(%rbp)
cmpl   $0x10,-0x5c(%rbp)
jge    1375 <main+0x1f5>
mov    -0x30(%rbp),%edi
mov    -0x34(%rbp),%esi
add    -0x58(%rbp),%esi
add    -0x5c(%rbp),%esi
mov    0x2ca1(%rip),%rax
mov    (%rax),%edx
call   1040 <lseek@plt>
mov    %eax,-0x64(%rbp)
mov    -0x30(%rbp),%edi
lea    -0x60(%rbp),%rsi
mov    $0x4,%edx
call   1050 <read@plt>
mov    %eax,-0x68(%rbp)
mov    0x2c74(%rip),%rax
mov    (%rax),%edi
mov    -0x60(%rbp),%edx
lea    0xd09(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x5c(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x5c(%rbp)
jmp    1312 <main+0x192>
mov    0x2c4c(%rip),%rax
mov    (%rax),%edi
lea    0xc9e(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x58(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0x58(%rbp)
jmp    12cf <main+0x14f>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
cmp    $0x2,%edi
jg     11b7 <main+0x37>
mov    0x2e3e(%rip),%rax
mov    (%rax),%edi
mov    (%rsi),%rdx
lea    0xe5a(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x1,%eax
jmp    1391 <main+0x211>
mov    %edi,%ebp
mov    0x8(%rsi),%rdi
mov    0x10(%rsi),%r15
mov    0x18(%rsi),%r14
call   1070 <atoi_any@plt>
mov    %eax,%ebx
mov    %r15,%rdi
call   1070 <atoi_any@plt>
mov    %eax,%r15d
movzwl %bx,%r12d
mov    %rbx,0x8(%rsp)
mov    %ebx,%r13d
and    $0xffff0000,%r13d
cmp    $0x3,%ebp
je     11f7 <main+0x77>
mov    %r14,%rdi
call   1070 <atoi_any@plt>
lea    0xe27(%rip),%rdi
mov    0x8(%rsp),%rsi
mov    %r15d,%edx
mov    %r12d,%ecx
mov    %r13d,%r8d
call   1030 <printf@plt>
mov    0x2dd0(%rip),%rax
mov    (%rax),%esi
lea    0xe35(%rip),%rdi
call   1090 <open@plt>
cmp    $0xffffffff,%eax
je     13a0 <main+0x220>
test   %r15d,%r15d
jle    138f <main+0x20f>
mov    %eax,%ebp
mov    %r15d,0x14(%rsp)
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x2d71(%rip),%rax
mov    (%rax),%edi
mov    %rax,%rbx
mov    0x8(%rsp),%rax
lea    (%rax,%r13,1),%r12d
lea    0xdf3(%rip),%rsi
mov    %r12d,%edx
mov    $0x4,%ecx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    (%rbx),%edi
mov    %rbx,%r15
call   1080 <fflush@plt>
mov    0x2d44(%rip),%r14
mov    (%r14),%edx
mov    %ebp,%edi
mov    %r12d,%esi
mov    0x8(%rsp),%r12
call   1040 <lseek@plt>
mov    %ebp,%edi
lea    0x4(%rsp),%rbx
mov    %rbx,%rsi
mov    $0x4,%edx
call   1050 <read@plt>
mov    (%r15),%edi
mov    0x4(%rsp),%edx
lea    0xda9(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    (%r12,%r13,1),%esi
add    $0x4,%esi
mov    (%r14),%edx
mov    %r14,%r15
mov    %ebp,%edi
call   1040 <lseek@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %rbx,%r14
mov    $0x4,%edx
call   1050 <read@plt>
mov    0x2cd4(%rip),%rbx
mov    (%rbx),%edi
mov    0x4(%rsp),%edx
lea    0xd68(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    (%r12,%r13,1),%esi
add    $0x8,%esi
mov    (%r15),%edx
mov    %ebp,%edi
call   1040 <lseek@plt>
mov    %ebp,%edi
mov    %r14,%rsi
mov    $0x4,%edx
call   1050 <read@plt>
mov    (%rbx),%edi
mov    0x4(%rsp),%edx
lea    0xd34(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    (%r12,%r13,1),%esi
add    $0xc,%esi
mov    (%r15),%edx
mov    %ebp,%edi
call   1040 <lseek@plt>
mov    %ebp,%edi
mov    %r14,%rsi
mov    $0x4,%edx
call   1050 <read@plt>
mov    (%rbx),%edi
mov    0x4(%rsp),%edx
lea    0xd00(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    (%rbx),%edi
lea    0xcaa(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
add    $0x10,%r13d
cmp    0x14(%rsp),%r13d
jl     1250 <main+0xd0>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcaf(%rip),%rdi
call   10a0 <perror@plt>
mov    $0x1,%eax
jmp    1391 <main+0x211>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [37 x i8] c"%s <offset> <nbytes> (update-value)\0A\00"
@.str.1 = [49 x i8] c"offset=%08x nbytes=%d mmoffset=%08x mmbase=%08x\0A\00"
@.str.2 = [9 x i8] c"/dev/mem\00"
@O_RDWR = global i32 0
@stdout = global i32 0
@.str.3 = [10 x i8] c"%8x(%d): \00"
@SEEK_SET = global i32 0
@.str.4 = [5 x i8] c"%8x \00"
@.str.5 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i8*
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%24 = load i32, i32* %4
%25 = icmp slt i32 %24, 3
br i1 %25, label %26, label %32
26: ; preds = %2
%27 = load i32, i32* @stderr
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 0
%30 = load i8*, i8** %29
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i8* %30)
store i32 1, i32* %3
br label %119
32: ; preds = %2
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 1
%35 = load i8*, i8** %34
store i8* %35, i8** %6
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 2
%38 = load i8*, i8** %37
store i8* %38, i8** %7
%39 = load i8**, i8*** %5
%40 = getelementptr inbounds i8*, i8** %39, i64 3
%41 = load i8*, i8** %40
store i8* %41, i8** %8
%42 = load i8*, i8** %6
%43 = call i32 @atoi_any(i8* %42)
store i32 %43, i32* %11
%44 = load i8*, i8** %7
%45 = call i32 @atoi_any(i8* %44)
store i32 %45, i32* %12
%46 = load i32, i32* %11
%47 = and i32 %46, 65535
store i32 %47, i32* %13
%48 = load i32, i32* %11
%49 = and i32 %48, -65536
store i32 %49, i32* %14
%50 = load i32, i32* %4
%51 = icmp sgt i32 %50, 3
br i1 %51, label %52, label %55
52: ; preds = %32
%53 = load i8*, i8** %8
%54 = call i32 @atoi_any(i8* %53)
br label %56
55: ; preds = %32
br label %56
56: ; preds = %55, %52
%57 = phi i32 [ %54, %52 ], [ 0, %55 ]
store i32 %57, i32* %15
%58 = load i32, i32* %4
%59 = icmp sgt i32 %58, 3
%60 = zext i1 %59 to i32
store i32 %60, i32* %16
%61 = load i32, i32* %11
%62 = load i32, i32* %12
%63 = load i32, i32* %13
%64 = load i32, i32* %14
%65 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), i32 %61, i32 %62, i32 %63, i32 %64)
%66 = load i32, i32* @O_RDWR
%67 = call i32 @open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %66)
store i32 %67, i32* %10
%68 = icmp eq i32 %67, -1
br i1 %68, label %69, label %71
69: ; preds = %56
%70 = call i32 @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %119
71: ; preds = %56
%72 = load i32, i32* %16
%73 = icmp ne i32 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %71
%75 = load i32, i32* %15
%76 = load i8*, i8** %17
%77 = bitcast i8* %76 to i32*
store i32 %75, i32* %77
store i32 4, i32* %12
br label %78
78: ; preds = %74, %71
%79 = load i32, i32* %11
store i32 %79, i32* %18
store i32 0, i32* %19
br label %80
80: ; preds = %115, %78
%81 = load i32, i32* %19
%82 = load i32, i32* %12
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %118
84: ; preds = %80
%85 = load i32, i32* @stdout
%86 = load i32, i32* %11
%87 = load i32, i32* %19
%88 = add nsw i32 %86, %87
%89 = call i32 (i32, i8*, ...) @fprintf(i32 %85, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 %88, i32 4)
%90 = load i32, i32* @stdout
%91 = call i32 @fflush(i32 %90)
store i32 0, i32* %20
br label %92
92: ; preds = %109, %84
%93 = load i32, i32* %20
%94 = icmp slt i32 %93, 16
br i1 %94, label %95, label %112
95: ; preds = %92
%96 = load i32, i32* %10
%97 = load i32, i32* %11
%98 = load i32, i32* %19
%99 = add nsw i32 %97, %98
%100 = load i32, i32* %20
%101 = add nsw i32 %99, %100
%102 = load i32, i32* @SEEK_SET
%103 = call i32 @lseek(i32 %96, i32 %101, i32 %102)
store i32 %103, i32* %22
%104 = load i32, i32* %10
%105 = call i32 @read(i32 %104, i32* %21, i32 4)
store i32 %105, i32* %23
%106 = load i32, i32* @stdout
%107 = load i32, i32* %21
%108 = call i32 (i32, i8*, ...) @fprintf(i32 %106, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %107)
br label %109
109: ; preds = %95
%110 = load i32, i32* %20
%111 = add nsw i32 %110, 4
store i32 %111, i32* %20
br label %92
112: ; preds = %92
%113 = load i32, i32* @stdout
%114 = call i32 (i32, i8*, ...) @fprintf(i32 %113, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %115
115: ; preds = %112
%116 = load i32, i32* %19
%117 = add nsw i32 %116, 16
store i32 %117, i32* %19
br label %80
118: ; preds = %80
store i32 0, i32* %3
br label %119
119: ; preds = %118, %69, %26
%120 = load i32, i32* %3
ret i32 %120
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [37 x i8] c"%s <offset> <nbytes> (update-value)\0A\00"
@.str.1 = [49 x i8] c"offset=%08x nbytes=%d mmoffset=%08x mmbase=%08x\0A\00"
@.str.2 = [9 x i8] c"/dev/mem\00"
@O_RDWR = global i32 0
@stdout = global i32 0
@.str.3 = [10 x i8] c"%8x(%d): \00"
@SEEK_SET = global i32 0
@.str.4 = [5 x i8] c"%8x \00"
@.str.5 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = icmp slt i32 %0, 3
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = load i32, i32* @stderr
%7 = load i8*, i8** %1
%8 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i8* %7)
br label %72
9: ; preds = %2
%10 = getelementptr inbounds i8*, i8** %1, i64 1
%11 = load i8*, i8** %10
%12 = getelementptr inbounds i8*, i8** %1, i64 2
%13 = load i8*, i8** %12
%14 = getelementptr inbounds i8*, i8** %1, i64 3
%15 = load i8*, i8** %14
%16 = tail call i32 @atoi_any(i8* %11)
%17 = tail call i32 @atoi_any(i8* %13)
%18 = and i32 %16, 65535
%19 = and i32 %16, -65536
%20 = icmp eq i32 %0, 3
br i1 %20, label %23, label %21
21: ; preds = %9
%22 = tail call i32 @atoi_any(i8* %15)
br label %23
23: ; preds = %9, %21
%24 = tail call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), i32 %16, i32 %17, i32 %18, i32 %19)
%25 = load i32, i32* @O_RDWR
%26 = tail call i32 @open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %25)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = tail call i32 @perror(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %72
30: ; preds = %23
tail call void @llvm.assume(i1 %20)
%31 = icmp sgt i32 %17, 0
br i1 %31, label %32, label %72
32: ; preds = %30
%33 = bitcast i32* %3 to i8*
br label %34
34: ; preds = %32, %34
%35 = phi i32 [ 0, %32 ], [ %70, %34 ]
%36 = load i32, i32* @stdout
%37 = add nsw i32 %35, %16
%38 = tail call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 %37, i32 4)
%39 = load i32, i32* @stdout
%40 = tail call i32 @fflush(i32 %39)
%41 = load i32, i32* @SEEK_SET
%42 = tail call i32 @lseek(i32 %26, i32 %37, i32 %41)
%43 = call i32 @read(i32 %26, i32* %3, i32 4)
%44 = load i32, i32* @stdout
%45 = load i32, i32* %3
%46 = tail call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %45)
%47 = add nsw i32 %37, 4
%48 = load i32, i32* @SEEK_SET
%49 = tail call i32 @lseek(i32 %26, i32 %47, i32 %48)
%50 = call i32 @read(i32 %26, i32* %3, i32 4)
%51 = load i32, i32* @stdout
%52 = load i32, i32* %3
%53 = tail call i32 (i32, i8*, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %52)
%54 = add nsw i32 %37, 8
%55 = load i32, i32* @SEEK_SET
%56 = tail call i32 @lseek(i32 %26, i32 %54, i32 %55)
%57 = call i32 @read(i32 %26, i32* %3, i32 4)
%58 = load i32, i32* @stdout
%59 = load i32, i32* %3
%60 = tail call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %59)
%61 = add nsw i32 %37, 12
%62 = load i32, i32* @SEEK_SET
%63 = tail call i32 @lseek(i32 %26, i32 %61, i32 %62)
%64 = call i32 @read(i32 %26, i32* %3, i32 4)
%65 = load i32, i32* @stdout
%66 = load i32, i32* %3
%67 = tail call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %66)
%68 = load i32, i32* @stdout
%69 = tail call i32 (i32, i8*, ...) @fprintf(i32 %68, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%70 = add nuw nsw i32 %35, 16
%71 = icmp slt i32 %70, %17
br i1 %71, label %34, label %72
72: ; preds = %34, %30, %28, %5
%73 = phi i32 [ 1, %5 ], [ 1, %28 ], [ 0, %30 ], [ 0, %34 ]
ret i32 %73
}