#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 *, ...);
void outS(unsigned char *data, int inOffset, int size, FILE *fout,
          int intSize) {
  char *const formatAsm[] = {"b", "b", "w", "w", "d"};
  int ii, jj;
  int offset = inOffset;
  int remain = ((size + 1) / 2) * 2;
  int adjIntSize = (intSize < 2) ? 2 : intSize;
  while (remain > 0) {
    fprintf(fout, "    dc.%s    ", formatAsm[adjIntSize]);
    for (ii = 0; ii < (((16) < (remain)) ? (16) : (remain)) / adjIntSize;
         ii++) {
      if (ii)
        fprintf(fout, ", ");
      fprintf(fout, "0x");
      if (intSize == 1) {
        fprintf(fout, "%02X", data[offset + 0]);
        if ((offset - inOffset) > (size + 1))
          fprintf(fout, "00");
        else
          fprintf(fout, "%02X", data[offset + 1]);
        offset += adjIntSize;
      } else {
        offset += adjIntSize;
        for (jj = 0; jj < adjIntSize; jj++)
          fprintf(fout, "%02X", data[offset - (jj + 1)]);
      }
    }
    fprintf(fout, "\n");
    remain -= 16;
  }
}


x86 assembly (clang, -O0):
<outS>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
lea    0xeaf(%rip),%rax
mov    %rax,-0x50(%rbp)
lea    0xea4(%rip),%rax
mov    %rax,-0x48(%rbp)
lea    0xe9b(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xe90(%rip),%rax
mov    %rax,-0x38(%rbp)
lea    0xe87(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
shl    $0x1,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x2,-0x1c(%rbp)
jge    11b2 <outS+0x92>
mov    $0x2,%eax
mov    %eax,-0x68(%rbp)
jmp    11b8 <outS+0x98>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x68(%rbp),%eax
mov    %eax,-0x64(%rbp)
cmpl   $0x0,-0x60(%rbp)
jle    1366 <outS+0x246>
mov    -0x18(%rbp),%rdi
movslq -0x64(%rbp),%rax
mov    -0x50(%rbp,%rax,8),%rdx
lea    0xe2a(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    $0x10,%eax
cmp    -0x60(%rbp),%eax
jge    120b <outS+0xeb>
mov    $0x10,%eax
mov    %eax,-0x70(%rbp)
jmp    1211 <outS+0xf1>
mov    -0x60(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cltd
idivl  -0x64(%rbp)
mov    %eax,%ecx
mov    -0x6c(%rbp),%eax
cmp    %ecx,%eax
jge    1346 <outS+0x226>
cmpl   $0x0,-0x54(%rbp)
je     1241 <outS+0x121>
mov    -0x18(%rbp),%rdi
lea    0xdda(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x18(%rbp),%rdi
lea    0xdcb(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
cmpl   $0x1,-0x1c(%rbp)
jne    12dc <outS+0x1bc>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rax
mov    -0x5c(%rbp),%ecx
add    $0x0,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%edx
lea    0xda1(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x5c(%rbp),%eax
sub    -0xc(%rbp),%eax
mov    -0x10(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jle    12ab <outS+0x18b>
mov    -0x18(%rbp),%rdi
lea    0xd80(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
jmp    12ce <outS+0x1ae>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rax
mov    -0x5c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%edx
lea    0xd53(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x64(%rbp),%eax
add    -0x5c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
jmp    1333 <outS+0x213>
mov    -0x64(%rbp),%eax
add    -0x5c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0x64(%rbp),%eax
jge    132e <outS+0x20e>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rax
mov    -0x5c(%rbp),%ecx
mov    -0x58(%rbp),%edx
add    $0x1,%edx
sub    %edx,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%edx
lea    0xd01(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    12ec <outS+0x1cc>
jmp    1333 <outS+0x213>
jmp    1338 <outS+0x218>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    11ea <outS+0xca>
mov    -0x18(%rbp),%rdi
lea    0xcd1(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x60(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x60(%rbp)
jmp    11be <outS+0x9e>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<outS>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %esi,0x18(%rsp)
lea    0xeb7(%rip),%rax
mov    %rax,0x40(%rsp)
mov    %rax,0x48(%rsp)
lea    0xea8(%rip),%rax
mov    %rax,0x50(%rsp)
mov    %rax,0x58(%rsp)
lea    0xe99(%rip),%rax
mov    %rax,0x60(%rsp)
cmp    $0x3,%r8d
mov    $0x2,%eax
cmovge %r8d,%eax
mov    %eax,0x8(%rsp)
test   %edx,%edx
jle    1359 <outS+0x229>
mov    %r8d,%r14d
mov    %rcx,%rbx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,0x24(%rsp)
mov    %eax,%r13d
and    $0xfffffffe,%r13d
mov    0x8(%rsp),%r12d
mov    0x40(%rsp,%r12,8),%rax
mov    %rax,0x30(%rsp)
neg    %r12
lea    -0x1(%rdi),%rax
mov    %rax,0x38(%rsp)
lea    0xe59(%rip),%r15
mov    0x18(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    %r13d,%ebp
mov    %rdi,0x28(%rsp)
mov    %r8d,0x10(%rsp)
jmp    1207 <outS+0xd7>
nopl   0x0(%rax,%rax,1)
mov    0xc(%rsp),%ebp
mov    %ebp,0xc(%rsp)
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
cmpl   $0x10,0x20(%rsp)
mov    0x1c(%rsp),%ebp
mov    %ebp,%r13d
jle    1359 <outS+0x229>
mov    %rbx,%rdi
lea    0xdf5(%rip),%rsi
mov    0x30(%rsp),%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
sub    $0x10,%ebp
mov    $0x10,%ecx
cmovb  %r13d,%ecx
mov    %ecx,%eax
xor    %edx,%edx
mov    0x8(%rsp),%esi
div    %esi
cmp    %ecx,%esi
mov    %r13d,0x20(%rsp)
mov    %ebp,0x1c(%rsp)
ja     11e0 <outS+0xb0>
xor    %r13d,%r13d
mov    0xc(%rsp),%ebp
mov    %eax,0x14(%rsp)
jmp    1283 <outS+0x153>
nopl   (%rax)
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xdbe(%rip),%rdi
mov    %rbx,%rcx
call   1050 <fwrite@plt>
add    0x8(%rsp),%ebp
mov    0x10(%rsp),%r14d
mov    0x14(%rsp),%eax
add    $0x1,%r13d
cmp    %eax,%r13d
je     11e4 <outS+0xb4>
test   %r13d,%r13d
je     12a1 <outS+0x171>
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xd7b(%rip),%rdi
mov    %rbx,%rcx
call   1050 <fwrite@plt>
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xd65(%rip),%rdi
mov    %rbx,%rcx
call   1050 <fwrite@plt>
cmp    $0x1,%r14d
jne    1310 <outS+0x1e0>
movslq %ebp,%r14
mov    0x28(%rsp),%rax
movzbl (%rax,%r14,1),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %r14d,%eax
sub    0x18(%rsp),%eax
cmp    0x24(%rsp),%eax
jg     1250 <outS+0x120>
mov    0x28(%rsp),%rax
movzbl 0x1(%r14,%rax,1),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    1269 <outS+0x139>
nopl   0x0(%rax,%rax,1)
add    0x8(%rsp),%ebp
mov    %ebp,0xc(%rsp)
movslq %ebp,%r14
add    0x38(%rsp),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movzbl (%r14,%rbp,1),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0xffffffffffffffff,%rbp
cmp    %rbp,%r12
jne    1330 <outS+0x200>
mov    0x10(%rsp),%r14d
mov    0xc(%rsp),%ebp
jmp    1272 <outS+0x142>
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [2 x i8] c"b\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [2 x i8] c"d\00"
@.str.3 = [14 x i8] c" dc.%s \00"
@.str.4 = [3 x i8] c", \00"
@.str.5 = [3 x i8] c"0x\00"
@.str.6 = [5 x i8] c"%02X\00"
@.str.7 = [3 x i8] c"00\00"
define void @outS(i8* nocapture %0, i32 %1, i32 %2, i32* nocapture %3, i32 %4) {
%6 = alloca [5 x i8*]
%7 = bitcast [5 x i8*]* %6 to i8*
%8 = getelementptr inbounds [5 x i8*], [5 x i8*]* %6, i64 0, i64 0
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %8
%9 = getelementptr inbounds [5 x i8*], [5 x i8*]* %6, i64 0, i64 1
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %9
%10 = getelementptr inbounds [5 x i8*], [5 x i8*]* %6, i64 0, i64 2
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds [5 x i8*], [5 x i8*]* %6, i64 0, i64 3
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8** %11
%12 = getelementptr inbounds [5 x i8*], [5 x i8*]* %6, i64 0, i64 4
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8** %12
%13 = add nsw i32 %2, 1
%14 = icmp sgt i32 %4, 2
%15 = select i1 %14, i32 %4, i32 2
%16 = icmp sgt i32 %2, 0
br i1 %16, label %17, label %79
17: ; preds = %5
%18 = and i32 %13, -2
%19 = zext i32 %15 to i64
%20 = getelementptr inbounds [5 x i8*], [5 x i8*]* %6, i64 0, i64 %19
%21 = load i8*, i8** %20
%22 = icmp eq i32 %4, 1
br label %23
23: ; preds = %17, %74
%24 = phi i32 [ %18, %17 ], [ %77, %74 ]
%25 = phi i32 [ %1, %17 ], [ %75, %74 ]
%26 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), i8* %21)
%27 = icmp ult i32 %24, 16
%28 = select i1 %27, i32 %24, i32 16
%29 = udiv i32 %28, %15
%30 = icmp ugt i32 %15, %28
br i1 %30, label %74, label %31
31: ; preds = %23, %70
%32 = phi i32 [ %72, %70 ], [ 0, %23 ]
%33 = phi i32 [ %71, %70 ], [ %25, %23 ]
%34 = icmp eq i32 %32, 0
br i1 %34, label %37, label %35
35: ; preds = %31
%36 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i64 2, i64 1, i32* %3)
br label %37
37: ; preds = %35, %31
%38 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i64 2, i64 1, i32* %3)
br i1 %22, label %39, label %58
39: ; preds = %37
%40 = sext i32 %33 to i64
%41 = getelementptr inbounds i8, i8* %0, i64 %40
%42 = load i8, i8* %41
%43 = zext i8 %42 to i32
%44 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %43)
%45 = sub nsw i32 %33, %1
%46 = icmp sgt i32 %45, %13
br i1 %46, label %47, label %49
47: ; preds = %39
%48 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i64 2, i64 1, i32* %3)
br label %56
49: ; preds = %39
%50 = add nsw i32 %33, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, i8* %0, i64 %51
%53 = load i8, i8* %52
%54 = zext i8 %53 to i32
%55 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %54)
br label %56
56: ; preds = %49, %47
%57 = add nsw i32 %33, %15
br label %70
58: ; preds = %37
%59 = add nsw i32 %33, %15
%60 = sext i32 %59 to i64
br label %61
61: ; preds = %58, %61
%62 = phi i64 [ 0, %58 ], [ %63, %61 ]
%63 = add nuw nsw i64 %62, 1
%64 = sub nsw i64 %60, %63
%65 = getelementptr inbounds i8, i8* %0, i64 %64
%66 = load i8, i8* %65
%67 = zext i8 %66 to i32
%68 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %67)
%69 = icmp eq i64 %63, %19
br i1 %69, label %70, label %61
70: ; preds = %61, %56
%71 = phi i32 [ %57, %56 ], [ %59, %61 ]
%72 = add nuw nsw i32 %32, 1
%73 = icmp eq i32 %72, %29
br i1 %73, label %74, label %31
74: ; preds = %70, %23
%75 = phi i32 [ %25, %23 ], [ %71, %70 ]
%76 = tail call i32 @fputc(i32 10, i32* %3)
%77 = add nsw i32 %24, -16
%78 = icmp sgt i32 %24, 16
br i1 %78, label %23, label %79
79: ; preds = %74, %5
ret void
}