#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 /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ fputc(char, int /*<<< orphan*/ *);
int /*<<< orphan*/ stderr;
int writeFastq(FILE *fil, int *conv, char *seq, unsigned char *qual, char *id,
               char *desc, int len) {
  int i;
  if (!fil) {
    fprintf(stderr, "ERROR: writeFastq requires a file\n");
    return 0;
  }
  if (!id || !*id) {
    fprintf(stderr, "ERROR: writeFastq requires an id\n");
    return 0;
  }
  if (desc && *desc)
    fprintf(fil, "@%s %s\n", id, desc);
  else
    fprintf(fil, "@%s\n", id);
  for (i = 0; i < len; ++i) {
    if (i && !(i % 60))
      fputc('\n', fil);
    if (conv[seq[i]] > 0)
      fputc(conv[seq[i]], fil);
    else {
      fprintf(stderr, "ERROR in writeSequence: %s[%d] = %d does not convert\n",
              id, i, seq[i]);
      return 0;
    }
  }
  fputc('\n', fil);
  fprintf(fil, "+%s\n", id);
  for (i = 0; i < len; ++i) {
    if (i && !(i % 60))
      fputc('\n', fil);
    fputc(qual[i] + 33, fil);
  }
  fputc('\n', fil);
  return len;
}


x86 assembly (clang, -O0):
<writeFastq>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1172 <writeFastq+0x52>
mov    0x2e8b(%rip),%rax
movslq (%rax),%rdi
lea    0xea1(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1368 <writeFastq+0x248>
cmpq   $0x0,-0x30(%rbp)
je     118a <writeFastq+0x6a>
mov    -0x30(%rbp),%rax
cmpb   $0x0,(%rax)
jne    11ae <writeFastq+0x8e>
mov    0x2e4f(%rip),%rax
movslq (%rax),%rdi
lea    0xe88(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1368 <writeFastq+0x248>
cmpq   $0x0,-0x38(%rbp)
je     11e8 <writeFastq+0xc8>
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     11e8 <writeFastq+0xc8>
mov    -0x10(%rbp),%rdi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
lea    0xe69(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    11fe <writeFastq+0xde>
mov    -0x10(%rbp),%rdi
mov    -0x30(%rbp),%rdx
lea    0xe56(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    0x10(%rbp),%eax
jge    12c8 <writeFastq+0x1a8>
cmpl   $0x0,-0x3c(%rbp)
je     123d <writeFastq+0x11d>
mov    -0x3c(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    123d <writeFastq+0x11d>
mov    -0x10(%rbp),%rsi
mov    $0xa,%edi
call   1030 <fputc@plt>
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq -0x3c(%rbp),%rdx
movsbq (%rcx,%rdx,1),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jle    127d <writeFastq+0x15d>
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq -0x3c(%rbp),%rdx
movsbq (%rcx,%rdx,1),%rcx
mov    (%rax,%rcx,4),%eax
mov    -0x10(%rbp),%rsi
movsbl %al,%edi
call   1030 <fputc@plt>
jmp    12b5 <writeFastq+0x195>
mov    0x2d5c(%rip),%rax
movslq (%rax),%rdi
mov    -0x30(%rbp),%rdx
mov    -0x3c(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rsi
movsbl (%rax,%rsi,1),%r8d
lea    0xdb0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1368 <writeFastq+0x248>
jmp    12ba <writeFastq+0x19a>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1205 <writeFastq+0xe5>
mov    -0x10(%rbp),%rsi
mov    $0xa,%edi
call   1030 <fputc@plt>
mov    -0x10(%rbp),%rdi
mov    -0x30(%rbp),%rdx
lea    0xda3(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    0x10(%rbp),%eax
jge    1354 <writeFastq+0x234>
cmpl   $0x0,-0x3c(%rbp)
je     132b <writeFastq+0x20b>
mov    -0x3c(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    132b <writeFastq+0x20b>
mov    -0x10(%rbp),%rsi
mov    $0xa,%edi
call   1030 <fputc@plt>
mov    -0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
add    $0x21,%eax
mov    -0x10(%rbp),%rsi
movsbl %al,%edi
call   1030 <fputc@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    12f3 <writeFastq+0x1d3>
mov    -0x10(%rbp),%rsi
mov    $0xa,%edi
call   1030 <fputc@plt>
mov    0x10(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<writeFastq>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rcx,(%rsp)
test   %rdi,%rdi
je     11d6 <writeFastq+0xa6>
mov    %r8,%r12
test   %r8,%r8
je     11be <writeFastq+0x8e>
cmpb   $0x0,(%r12)
je     11be <writeFastq+0x8e>
mov    %rdx,%r13
mov    %rsi,%rbp
mov    %rdi,%rbx
mov    0x40(%rsp),%r14d
test   %r9,%r9
je     1209 <writeFastq+0xd9>
cmpb   $0x0,(%r9)
je     1209 <writeFastq+0xd9>
lea    0xec6(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
mov    %r9,%rcx
xor    %eax,%eax
call   1040 <fprintf@plt>
test   %r14d,%r14d
jg     1226 <writeFastq+0xf6>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
lea    0xedc(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    1300 <writeFastq+0x1d0>
mov    0x2e1b(%rip),%rax
movslq (%rax),%rcx
lea    0xe54(%rip),%rdi
mov    $0x21,%esi
jmp    11ec <writeFastq+0xbc>
mov    0x2e03(%rip),%rax
movslq (%rax),%rcx
lea    0xe19(%rip),%rdi
mov    $0x22,%esi
mov    $0x1,%edx
call   1050 <fwrite@plt>
xor    %ebx,%ebx
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xe3d(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
test   %r14d,%r14d
jle    1198 <writeFastq+0x68>
mov    %r14d,%r15d
xor    %r14d,%r14d
nopl   0x0(%rax)
test   %r14,%r14
je     125a <writeFastq+0x12a>
mov    %r14d,%eax
mov    $0x88888889,%ecx
imul   %rcx,%rax
shr    $0x25,%rax
imul   $0xffffffc4,%eax,%eax
add    %r14d,%eax
jne    125a <writeFastq+0x12a>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
movsbq 0x0(%r13,%r14,1),%r8
mov    0x0(%rbp,%r8,4),%eax
test   %eax,%eax
jle    1316 <writeFastq+0x1e6>
movsbl %al,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
add    $0x1,%r14
cmp    %r14,%r15
jne    1230 <writeFastq+0x100>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
lea    0xdf3(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
cmpl   $0x0,0x40(%rsp)
mov    (%rsp),%r12
jle    1300 <writeFastq+0x1d0>
xor    %ebp,%ebp
mov    $0x88888889,%r14d
jmp    12db <writeFastq+0x1ab>
nopw   0x0(%rax,%rax,1)
movzbl (%r12,%rbp,1),%eax
add    $0x21,%al
movsbl %al,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
je     1300 <writeFastq+0x1d0>
test   %rbp,%rbp
je     12c0 <writeFastq+0x190>
mov    %ebp,%eax
imul   %r14,%rax
shr    $0x25,%rax
imul   $0xffffffc4,%eax,%eax
add    %ebp,%eax
jne    12c0 <writeFastq+0x190>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
jmp    12c0 <writeFastq+0x190>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
mov    0x40(%rsp),%ebx
jmp    11f8 <writeFastq+0xc8>
mov    0x2cc3(%rip),%rax
movslq (%rax),%rdi
lea    0xd2b(%rip),%rsi
xor    %ebx,%ebx
mov    %r12,%rdx
mov    %r14d,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    11f8 <writeFastq+0xc8>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [35 x i8] c"ERROR: writeFastq requires a file\0A\00"
@.str.1 = [34 x i8] c"ERROR: writeFastq requires an id\0A\00"
@.str.2 = [8 x i8] c"@%s %s\0A\00"
@.str.3 = [5 x i8] c"@%s\0A\00"
@.str.4 = [54 x i8] c"ERROR in writeSequence: %s[%d] = %d does not convert\0A\00"
@.str.5 = [5 x i8] c"+%s\0A\00"
define i32 @writeFastq(i32* %0, i32* %1, i8* %2, i8* %3, i8* %4, i8* %5, i32 %6) {
%8 = alloca i32
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i32
%16 = alloca i32
store i32* %0, i32** %9
store i32* %1, i32** %10
store i8* %2, i8** %11
store i8* %3, i8** %12
store i8* %4, i8** %13
store i8* %5, i8** %14
store i32 %6, i32* %15
%17 = load i32*, i32** %9
%18 = icmp ne i32* %17, null
br i1 %18, label %24, label %19
19: ; preds = %7
%20 = load i32, i32* @stderr
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to i32*
%23 = call i32 (i32*, i8*, ...) @fprintf(i32* %22, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %8
br label %147
24: ; preds = %7
%25 = load i8*, i8** %13
%26 = icmp ne i8* %25, null
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i8*, i8** %13
%29 = load i8, i8* %28
%30 = icmp ne i8 %29, 0
br i1 %30, label %36, label %31
31: ; preds = %27, %24
%32 = load i32, i32* @stderr
%33 = sext i32 %32 to i64
%34 = inttoptr i64 %33 to i32*
%35 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %8
br label %147
36: ; preds = %27
%37 = load i8*, i8** %14
%38 = icmp ne i8* %37, null
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load i8*, i8** %14
%41 = load i8, i8* %40
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %39
%45 = load i32*, i32** %9
%46 = load i8*, i8** %13
%47 = load i8*, i8** %14
%48 = call i32 (i32*, i8*, ...) @fprintf(i32* %45, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %46, i8* %47)
br label %53
49: ; preds = %39, %36
%50 = load i32*, i32** %9
%51 = load i8*, i8** %13
%52 = call i32 (i32*, i8*, ...) @fprintf(i32* %50, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %51)
br label %53
53: ; preds = %49, %44
store i32 0, i32* %16
br label %54
54: ; preds = %106, %53
%55 = load i32, i32* %16
%56 = load i32, i32* %15
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %109
58: ; preds = %54
%59 = load i32, i32* %16
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %68
61: ; preds = %58
%62 = load i32, i32* %16
%63 = srem i32 %62, 60
%64 = icmp ne i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %61
%66 = load i32*, i32** %9
%67 = call i32 @fputc(i8 signext 10, i32* %66)
br label %68
68: ; preds = %65, %61, %58
%69 = load i32*, i32** %10
%70 = load i8*, i8** %11
%71 = load i32, i32* %16
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, i8* %70, i64 %72
%74 = load i8, i8* %73
%75 = sext i8 %74 to i64
%76 = getelementptr inbounds i32, i32* %69, i64 %75
%77 = load i32, i32* %76
%78 = icmp sgt i32 %77, 0
br i1 %78, label %79, label %92
79: ; preds = %68
%80 = load i32*, i32** %10
%81 = load i8*, i8** %11
%82 = load i32, i32* %16
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, i8* %81, i64 %83
%85 = load i8, i8* %84
%86 = sext i8 %85 to i64
%87 = getelementptr inbounds i32, i32* %80, i64 %86
%88 = load i32, i32* %87
%89 = trunc i32 %88 to i8
%90 = load i32*, i32** %9
%91 = call i32 @fputc(i8 signext %89, i32* %90)
br label %105
92: ; preds = %68
%93 = load i32, i32* @stderr
%94 = sext i32 %93 to i64
%95 = inttoptr i64 %94 to i32*
%96 = load i8*, i8** %13
%97 = load i32, i32* %16
%98 = load i8*, i8** %11
%99 = load i32, i32* %16
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, i8* %98, i64 %100
%102 = load i8, i8* %101
%103 = sext i8 %102 to i32
%104 = call i32 (i32*, i8*, ...) @fprintf(i32* %95, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0), i8* %96, i32 %97, i32 %103)
store i32 0, i32* %8
br label %147
105: ; preds = %79
br label %106
106: ; preds = %105
%107 = load i32, i32* %16
%108 = add nsw i32 %107, 1
store i32 %108, i32* %16
br label %54
109: ; preds = %54
%110 = load i32*, i32** %9
%111 = call i32 @fputc(i8 signext 10, i32* %110)
%112 = load i32*, i32** %9
%113 = load i8*, i8** %13
%114 = call i32 (i32*, i8*, ...) @fprintf(i32* %112, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %113)
store i32 0, i32* %16
br label %115
115: ; preds = %140, %109
%116 = load i32, i32* %16
%117 = load i32, i32* %15
%118 = icmp slt i32 %116, %117
br i1 %118, label %119, label %143
119: ; preds = %115
%120 = load i32, i32* %16
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %129
122: ; preds = %119
%123 = load i32, i32* %16
%124 = srem i32 %123, 60
%125 = icmp ne i32 %124, 0
br i1 %125, label %129, label %126
126: ; preds = %122
%127 = load i32*, i32** %9
%128 = call i32 @fputc(i8 signext 10, i32* %127)
br label %129
129: ; preds = %126, %122, %119
%130 = load i8*, i8** %12
%131 = load i32, i32* %16
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, i8* %130, i64 %132
%134 = load i8, i8* %133
%135 = zext i8 %134 to i32
%136 = add nsw i32 %135, 33
%137 = trunc i32 %136 to i8
%138 = load i32*, i32** %9
%139 = call i32 @fputc(i8 signext %137, i32* %138)
br label %140
140: ; preds = %129
%141 = load i32, i32* %16
%142 = add nsw i32 %141, 1
store i32 %142, i32* %16
br label %115
143: ; preds = %115
%144 = load i32*, i32** %9
%145 = call i32 @fputc(i8 signext 10, i32* %144)
%146 = load i32, i32* %15
store i32 %146, i32* %8
br label %147
147: ; preds = %143, %92, %31, %19
%148 = load i32, i32* %8
ret i32 %148
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [35 x i8] c"ERROR: writeFastq requires a file\0A\00"
@.str.1 = [34 x i8] c"ERROR: writeFastq requires an id\0A\00"
@.str.2 = [8 x i8] c"@%s %s\0A\00"
@.str.3 = [5 x i8] c"@%s\0A\00"
@.str.4 = [54 x i8] c"ERROR in writeSequence: %s[%d] = %d does not convert\0A\00"
@.str.5 = [5 x i8] c"+%s\0A\00"
define i32 @writeFastq(i32* %0, i32* nocapture %1, i8* nocapture %2, i8* nocapture %3, i8* %4, i8* %5, i32 %6) {
%8 = icmp eq i32* %0, null
br i1 %8, label %9, label %14
9: ; preds = %7
%10 = load i32, i32* @stderr
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to i32*
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i64 34, i64 1, i32* %12)
br label %91
14: ; preds = %7
%15 = icmp eq i8* %4, null
br i1 %15, label %19, label %16
16: ; preds = %14
%17 = load i8, i8* %4
%18 = icmp eq i8 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %16, %14
%20 = load i32, i32* @stderr
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to i32*
%23 = tail call i64 @fwrite(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i64 33, i64 1, i32* %22)
br label %91
24: ; preds = %16
%25 = icmp eq i8* %5, null
br i1 %25, label %31, label %26
26: ; preds = %24
%27 = load i8, i8* %5
%28 = icmp eq i8 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* %4, i8* %5)
br label %33
31: ; preds = %26, %24
%32 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %4)
br label %33
33: ; preds = %31, %29
%34 = icmp sgt i32 %6, 0
br i1 %34, label %35, label %86
35: ; preds = %33
%36 = zext i32 %6 to i64
br label %37
37: ; preds = %35, %53
%38 = phi i64 [ 0, %35 ], [ %56, %53 ]
%39 = icmp ne i64 %38, 0
%40 = trunc i64 %38 to i32
%41 = urem i32 %40, 60
%42 = icmp eq i32 %41, 0
%43 = and i1 %39, %42
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = tail call i32 @fputc(i8 signext 10, i32* %0)
br label %46
46: ; preds = %44, %37
%47 = getelementptr inbounds i8, i8* %2, i64 %38
%48 = load i8, i8* %47
%49 = sext i8 %48 to i64
%50 = getelementptr inbounds i32, i32* %1, i64 %49
%51 = load i32, i32* %50
%52 = icmp sgt i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %46
%54 = trunc i32 %51 to i8
%55 = tail call i32 @fputc(i8 signext %54, i32* %0)
%56 = add nuw nsw i64 %38, 1
%57 = icmp eq i64 %56, %36
br i1 %57, label %65, label %37
58: ; preds = %46
%59 = trunc i64 %38 to i32
%60 = load i32, i32* @stderr
%61 = sext i32 %60 to i64
%62 = inttoptr i64 %61 to i32*
%63 = sext i8 %48 to i32
%64 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %62, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0), i8* %4, i32 %59, i32 %63)
br label %91
65: ; preds = %53
%66 = tail call i32 @fputc(i8 signext 10, i32* %0)
%67 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %4)
br i1 %34, label %68, label %89
68: ; preds = %65
%69 = zext i32 %6 to i64
br label %70
70: ; preds = %68, %79
%71 = phi i64 [ 0, %68 ], [ %84, %79 ]
%72 = icmp ne i64 %71, 0
%73 = trunc i64 %71 to i32
%74 = urem i32 %73, 60
%75 = icmp eq i32 %74, 0
%76 = and i1 %72, %75
br i1 %76, label %77, label %79
77: ; preds = %70
%78 = tail call i32 @fputc(i8 signext 10, i32* %0)
br label %79
79: ; preds = %77, %70
%80 = getelementptr inbounds i8, i8* %3, i64 %71
%81 = load i8, i8* %80
%82 = add i8 %81, 33
%83 = tail call i32 @fputc(i8 signext %82, i32* %0)
%84 = add nuw nsw i64 %71, 1
%85 = icmp eq i64 %84, %69
br i1 %85, label %89, label %70
86: ; preds = %33
%87 = tail call i32 @fputc(i8 signext 10, i32* %0)
%88 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %4)
br label %89
89: ; preds = %79, %86, %65
%90 = tail call i32 @fputc(i8 signext 10, i32* %0)
br label %91
91: ; preds = %89, %58, %19, %9
%92 = phi i32 [ 0, %58 ], [ %6, %89 ], [ 0, %19 ], [ 0, %9 ]
ret i32 %92
}