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

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char const *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ memset(int *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putc(char, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int main(int argc, char *argv[]) {
  int i;
  uint8_t tbl[256];
  if (argc < 3) {
    fprintf(stderr,
            "Usage: %s <variable-name> <character-range|single-char> ...\n",
            argv[0]);
    return 1;
  }
  memset(tbl, 0, sizeof(tbl));
  for (i = 2; i < argc; i++) {
    const char *v = argv[i];
    tbl[*v] = 1;
    if (v[1] == '-') {
      int j;
      for (j = v[0] + 1; j <= v[2]; j++) {
        tbl[j] = 1;
      }
    } else if (v[1]) {
      fprintf(stderr, "Invalid char range spec:%s\n", v);
      return 2;
    }
  }
  printf("/*");
  for (i = 0; i < sizeof(tbl); i++) {
    if (tbl[i])
      putc(i, stdout);
  }
  printf("*/\n");
  printf("static const uint8_t %s[256] = {\n\t", argv[1]);
  for (i = 0; i < sizeof(tbl); i++) {
    printf("%d", tbl[i]);
    if (i != sizeof(tbl) - 1) {
      putc(',', stdout);
      if (i % 16 == 15)
        fputs("\n\t", stdout);
      else
        putc(' ', stdout);
    } else {
      putc('\n', stdout);
    }
  }
  printf("};\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x430,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    119b <main+0x4b>
mov    0x2e66(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe76(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    13fc <main+0x2ac>
lea    -0x420(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
movl   $0x2,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12a6 <main+0x156>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x428(%rbp)
mov    -0x428(%rbp),%rax
movsbq (%rax),%rax
movl   $0x1,-0x420(%rbp,%rax,4)
mov    -0x428(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x2d,%eax
jne    1255 <main+0x105>
mov    -0x428(%rbp),%rax
movsbl (%rax),%eax
add    $0x1,%eax
mov    %eax,-0x42c(%rbp)
mov    -0x42c(%rbp),%eax
mov    -0x428(%rbp),%rcx
movsbl 0x2(%rcx),%ecx
cmp    %ecx,%eax
jg     1250 <main+0x100>
movslq -0x42c(%rbp),%rax
movl   $0x1,-0x420(%rbp,%rax,4)
mov    -0x42c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x42c(%rbp)
jmp    1211 <main+0xc1>
jmp    1293 <main+0x143>
mov    -0x428(%rbp),%rax
cmpb   $0x0,0x1(%rax)
je     128e <main+0x13e>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
mov    -0x428(%rbp),%rdx
lea    0xdc0(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0x2,-0x4(%rbp)
jmp    13fc <main+0x2ac>
jmp    1293 <main+0x143>
jmp    1298 <main+0x148>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11b5 <main+0x65>
lea    0xdac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    $0x400,%rax
jae    1304 <main+0x1b4>
movslq -0x14(%rbp),%rax
cmpl   $0x0,-0x420(%rbp,%rax,4)
je     12f1 <main+0x1a1>
mov    -0x14(%rbp),%eax
mov    0x2cf1(%rip),%rcx
mov    (%rcx),%esi
movsbl %al,%edi
call   1060 <putc@plt>
jmp    12f6 <main+0x1a6>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12bb <main+0x16b>
lea    0xd51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    $0x400,%rax
jae    13e7 <main+0x297>
movslq -0x14(%rbp),%rax
mov    -0x420(%rbp,%rax,4),%esi
lea    0xd32(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x14(%rbp),%rax
cmp    $0x3ff,%rax
je     13c1 <main+0x271>
mov    0x2c69(%rip),%rax
mov    (%rax),%esi
mov    $0x2c,%edi
call   1060 <putc@plt>
mov    -0x14(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
cmp    $0xf,%edx
jne    13a9 <main+0x259>
mov    0x2c42(%rip),%rax
mov    (%rax),%esi
lea    0xce1(%rip),%rdi
call   1040 <fputs@plt>
jmp    13bc <main+0x26c>
mov    0x2c28(%rip),%rax
mov    (%rax),%esi
mov    $0x20,%edi
call   1060 <putc@plt>
jmp    13d4 <main+0x284>
mov    0x2c10(%rip),%rax
mov    (%rax),%esi
mov    $0xa,%edi
call   1060 <putc@plt>
jmp    13d9 <main+0x289>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    132f <main+0x1df>
lea    0xc98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x430,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x400,%rsp
mov    %rsi,%r14
cmp    $0x2,%edi
jg     1199 <main+0x39>
mov    0x2e62(%rip),%rax
mov    (%rax),%edi
mov    (%r14),%rdx
lea    0xe76(%rip),%rsi
call   1080 <fprintf@plt>
mov    $0x1,%eax
jmp    1325 <main+0x1c5>
mov    %edi,%ebp
mov    %rsp,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1060 <memset@plt>
mov    %ebp,%eax
mov    $0x2,%ecx
jmp    11c9 <main+0x69>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%rcx
cmp    %rax,%rcx
je     1218 <main+0xb8>
mov    (%r14,%rcx,8),%rdx
movsbq (%rdx),%rsi
movl   $0x1,(%rsp,%rsi,4)
mov    0x1(%rdx),%bl
test   %bl,%bl
je     11c0 <main+0x60>
cmp    $0x2d,%bl
jne    12f1 <main+0x191>
movsbq (%rdx),%rsi
cmp    0x2(%rdx),%sil
jge    11c0 <main+0x60>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movl   $0x1,0x4(%rsp,%rsi,4)
add    $0x1,%rsi
movsbq 0x2(%rdx),%rdi
cmp    %rdi,%rsi
jl     1200 <main+0xa0>
jmp    11c0 <main+0x60>
lea    0xe3a(%rip),%rdi
xor    %ebp,%ebp
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2da9(%rip),%r12
jmp    124d <main+0xed>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    $0x400,%rbp
je     1262 <main+0x102>
cmpl   $0x0,(%rsp,%rbp,4)
je     1240 <main+0xe0>
mov    (%r12),%esi
movsbl %bpl,%edi
call   1070 <putc@plt>
jmp    1240 <main+0xe0>
lea    0xe19(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%r14),%rsi
lea    0xde3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdf8(%rip),%r15
lea    0xdee(%rip),%r14
xor    %ebx,%ebx
jmp    12b7 <main+0x157>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0x20,%edi
call   1070 <putc@plt>
add    $0x1,%rbx
cmp    $0x400,%rbx
je     1317 <main+0x1b7>
mov    (%rsp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r12),%esi
cmp    $0x3ff,%rbx
je     130d <main+0x1ad>
mov    $0x2c,%edi
call   1070 <putc@plt>
mov    %ebx,%eax
not    %eax
mov    (%r12),%esi
test   $0xf,%al
jne    12a0 <main+0x140>
mov    %r14,%rdi
call   1050 <fputs@plt>
jmp    12aa <main+0x14a>
mov    0x2ce8(%rip),%rax
mov    (%rax),%edi
lea    0xd3c(%rip),%rsi
call   1080 <fprintf@plt>
mov    $0x2,%eax
jmp    1325 <main+0x1c5>
mov    $0xa,%edi
call   1070 <putc@plt>
lea    0xd67(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x400,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [61 x i8] c"Usage: %s <variable-name> <character-range|single-char> ...\0A\00"
@.str.1 = [28 x i8] c"Invalid char range spec:%s\0A\00"
@.str.2 = [3 x i8] c"/*\00"
@stdout = global i32 0
@.str.3 = [4 x i8] c"*/\0A\00"
@.str.4 = [35 x i8] c"static const uint8_t %s[256] = {\0A\09\00"
@.str.5 = [3 x i8] c"%d\00"
@.str.6 = [3 x i8] c"\0A\09\00"
@.str.7 = [4 x i8] c"};\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca [256 x i32]
%8 = alloca i8*
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 3
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load i32, i32* @stderr
%14 = load i8**, i8*** %5
%15 = getelementptr inbounds i8*, i8** %14, i64 0
%16 = load i8*, i8** %15
%17 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0), i8* %16)
store i32 1, i32* %3
br label %137
18: ; preds = %2
%19 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 0
%20 = call i32 @memset(i32* %19, i32 0, i32 1024)
store i32 2, i32* %6
br label %21
21: ; preds = %72, %18
%22 = load i32, i32* %6
%23 = load i32, i32* %4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %75
25: ; preds = %21
%26 = load i8**, i8*** %5
%27 = load i32, i32* %6
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8*, i8** %26, i64 %28
%30 = load i8*, i8** %29
store i8* %30, i8** %8
%31 = load i8*, i8** %8
%32 = load i8, i8* %31
%33 = sext i8 %32 to i64
%34 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %33
store i32 1, i32* %34
%35 = load i8*, i8** %8
%36 = getelementptr inbounds i8, i8* %35, i64 1
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 45
br i1 %39, label %40, label %61
40: ; preds = %25
%41 = load i8*, i8** %8
%42 = getelementptr inbounds i8, i8* %41, i64 0
%43 = load i8, i8* %42
%44 = sext i8 %43 to i32
%45 = add nsw i32 %44, 1
store i32 %45, i32* %9
br label %46
46: ; preds = %57, %40
%47 = load i32, i32* %9
%48 = load i8*, i8** %8
%49 = getelementptr inbounds i8, i8* %48, i64 2
%50 = load i8, i8* %49
%51 = sext i8 %50 to i32
%52 = icmp sle i32 %47, %51
br i1 %52, label %53, label %60
53: ; preds = %46
%54 = load i32, i32* %9
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %55
store i32 1, i32* %56
br label %57
57: ; preds = %53
%58 = load i32, i32* %9
%59 = add nsw i32 %58, 1
store i32 %59, i32* %9
br label %46
60: ; preds = %46
br label %71
61: ; preds = %25
%62 = load i8*, i8** %8
%63 = getelementptr inbounds i8, i8* %62, i64 1
%64 = load i8, i8* %63
%65 = icmp ne i8 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %61
%67 = load i32, i32* @stderr
%68 = load i8*, i8** %8
%69 = call i32 @fprintf(i32 %67, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* %68)
store i32 2, i32* %3
br label %137
70: ; preds = %61
br label %71
71: ; preds = %70, %60
br label %72
72: ; preds = %71
%73 = load i32, i32* %6
%74 = add nsw i32 %73, 1
store i32 %74, i32* %6
br label %21
75: ; preds = %21
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %6
br label %77
77: ; preds = %93, %75
%78 = load i32, i32* %6
%79 = sext i32 %78 to i64
%80 = icmp ult i64 %79, 1024
br i1 %80, label %81, label %96
81: ; preds = %77
%82 = load i32, i32* %6
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %83
%85 = load i32, i32* %84
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %92
87: ; preds = %81
%88 = load i32, i32* %6
%89 = trunc i32 %88 to i8
%90 = load i32, i32* @stdout
%91 = call i32 @putc(i8 signext %89, i32 %90)
br label %92
92: ; preds = %87, %81
br label %93
93: ; preds = %92
%94 = load i32, i32* %6
%95 = add nsw i32 %94, 1
store i32 %95, i32* %6
br label %77
96: ; preds = %77
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%98 = load i8**, i8*** %5
%99 = getelementptr inbounds i8*, i8** %98, i64 1
%100 = load i8*, i8** %99
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i8* %100)
store i32 0, i32* %6
br label %102
102: ; preds = %132, %96
%103 = load i32, i32* %6
%104 = sext i32 %103 to i64
%105 = icmp ult i64 %104, 1024
br i1 %105, label %106, label %135
106: ; preds = %102
%107 = load i32, i32* %6
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [256 x i32], [256 x i32]* %7, i64 0, i64 %108
%110 = load i32, i32* %109
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 %110)
%112 = load i32, i32* %6
%113 = sext i32 %112 to i64
%114 = icmp ne i64 %113, 1023
br i1 %114, label %115, label %128
115: ; preds = %106
%116 = load i32, i32* @stdout
%117 = call i32 @putc(i8 signext 44, i32 %116)
%118 = load i32, i32* %6
%119 = srem i32 %118, 16
%120 = icmp eq i32 %119, 15
br i1 %120, label %121, label %124
121: ; preds = %115
%122 = load i32, i32* @stdout
%123 = call i32 @fputs(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %122)
br label %127
124: ; preds = %115
%125 = load i32, i32* @stdout
%126 = call i32 @putc(i8 signext 32, i32 %125)
br label %127
127: ; preds = %124, %121
br label %131
128: ; preds = %106
%129 = load i32, i32* @stdout
%130 = call i32 @putc(i8 signext 10, i32 %129)
br label %131
131: ; preds = %128, %127
br label %132
132: ; preds = %131
%133 = load i32, i32* %6
%134 = add nsw i32 %133, 1
store i32 %134, i32* %6
br label %102
135: ; preds = %102
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %3
br label %137
137: ; preds = %135, %66, %12
%138 = load i32, i32* %3
ret i32 %138
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [61 x i8] c"Usage: %s <variable-name> <character-range|single-char> ...\0A\00"
@.str.1 = [28 x i8] c"Invalid char range spec:%s\0A\00"
@.str.2 = [3 x i8] c"/*\00"
@stdout = global i32 0
@.str.4 = [35 x i8] c"static const uint8_t %s[256] = {\0A\09\00"
@.str.5 = [3 x i8] c"%d\00"
@.str.6 = [3 x i8] c"\0A\09\00"
@str = [3 x i8] c"*/\00"
@str.8 = [3 x i8] c"};\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [256 x i32]
%4 = bitcast [256 x i32]* %3 to i8*
%5 = icmp slt i32 %0, 3
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = load i8*, i8** %1
%9 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0), i8* %8)
br label %85
10: ; preds = %2
%11 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 0
%12 = call i32 @memset(i32* %11, i32 0, i32 1024)
%13 = zext i32 %0 to i64
br label %14
14: ; preds = %10, %40
%15 = phi i64 [ 2, %10 ], [ %41, %40 ]
%16 = getelementptr inbounds i8*, i8** %1, i64 %15
%17 = load i8*, i8** %16
%18 = load i8, i8* %17
%19 = sext i8 %18 to i64
%20 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %19
store i32 1, i32* %20
%21 = getelementptr inbounds i8, i8* %17, i64 1
%22 = load i8, i8* %21
switch i8 %22, label %37 [
i8 45, label %23
i8 0, label %40
]
23: ; preds = %14
%24 = load i8, i8* %17
%25 = getelementptr inbounds i8, i8* %17, i64 2
%26 = load i8, i8* %25
%27 = icmp slt i8 %24, %26
br i1 %27, label %28, label %40
28: ; preds = %23
%29 = sext i8 %24 to i64
br label %30
30: ; preds = %28, %30
%31 = phi i64 [ %29, %28 ], [ %32, %30 ]
%32 = add nsw i64 %31, 1
%33 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %32
store i32 1, i32* %33
%34 = load i8, i8* %25
%35 = sext i8 %34 to i64
%36 = icmp slt i64 %32, %35
br i1 %36, label %30, label %40
37: ; preds = %14
%38 = load i32, i32* @stderr
%39 = call i32 @fprintf(i32 %38, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* %17)
br label %85
40: ; preds = %30, %23, %14
%41 = add nuw nsw i64 %15, 1
%42 = icmp eq i64 %41, %13
br i1 %42, label %43, label %14
43: ; preds = %40
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %45
45: ; preds = %43, %54
%46 = phi i64 [ 0, %43 ], [ %55, %54 ]
%47 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %46
%48 = load i32, i32* %47
%49 = icmp eq i32 %48, 0
br i1 %49, label %54, label %50
50: ; preds = %45
%51 = trunc i64 %46 to i8
%52 = load i32, i32* @stdout
%53 = call i32 @putc(i8 signext %51, i32 %52)
br label %54
54: ; preds = %45, %50
%55 = add nuw nsw i64 %46, 1
%56 = icmp eq i64 %55, 1024
br i1 %56, label %57, label %45
57: ; preds = %54
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
%59 = getelementptr inbounds i8*, i8** %1, i64 1
%60 = load i8*, i8** %59
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i8* %60)
br label %62
62: ; preds = %57, %80
%63 = phi i64 [ 0, %57 ], [ %81, %80 ]
%64 = getelementptr inbounds [256 x i32], [256 x i32]* %3, i64 0, i64 %63
%65 = load i32, i32* %64
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 %65)
%67 = icmp eq i64 %63, 1023
%68 = load i32, i32* @stdout
br i1 %67, label %78, label %69
69: ; preds = %62
%70 = call i32 @putc(i8 signext 44, i32 %68)
%71 = and i64 %63, 15
%72 = icmp eq i64 %71, 15
%73 = load i32, i32* @stdout
br i1 %72, label %74, label %76
74: ; preds = %69
%75 = call i32 @fputs(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %73)
br label %80
76: ; preds = %69
%77 = call i32 @putc(i8 signext 32, i32 %73)
br label %80
78: ; preds = %62
%79 = call i32 @putc(i8 signext 10, i32 %68)
br label %83
80: ; preds = %76, %74
%81 = add nuw nsw i64 %63, 1
%82 = icmp eq i64 %81, 1024
br i1 %82, label %83, label %62
83: ; preds = %80, %78
%84 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.8, i64 0, i64 0))
br label %85
85: ; preds = %37, %83, %6
%86 = phi i32 [ 1, %6 ], [ 2, %37 ], [ 0, %83 ]
ret i32 %86
}