#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 *, ...);
scalar_t__ isprint(unsigned char const);
int /*<<< orphan*/ isxdigit(unsigned char const);
int /*<<< orphan*/ sprintf(char *, char *, unsigned char const);
void dump_string(FILE *pigsty, const char *field, const unsigned char *buffer,
                 const size_t buffer_size) {
  const unsigned char *bp = NULL;
  const unsigned char *bp_end = NULL;
  char temp[20] = "";
  int lxc = 0;
  if (pigsty == NULL || field == NULL || buffer == NULL || buffer_size == 0) {
    return;
  }
  bp = buffer;
  bp_end = bp + buffer_size;
  fprintf(pigsty,
          "\n "
          "%s = \"",
          field);
  while (bp != bp_end) {
    if (*bp != '\"' && *bp != '\\' && isprint(*bp)) {
      if (!isxdigit(*bp)) {
        fprintf(pigsty, "%c", *bp);
        lxc = 0;
      } else {
        if (lxc) {
          sprintf(temp, "\\x%.2x", *bp);
          fprintf(pigsty, "%s", temp);
          lxc = 1;
        } else {
          fprintf(pigsty, "%c", *bp);
          lxc = 0;
        }
      }
    } else if (*bp == '\t') {
      fprintf(pigsty, "\\t");
      lxc = 0;
    } else if (*bp == '\n') {
      fprintf(pigsty, "\\n");
      lxc = 0;
    } else if (*bp == '\r') {
      fprintf(pigsty, "\\r");
      lxc = 0;
    } else if (*bp == '\\') {
      fprintf(pigsty, "\\\\");
      lxc = 0;
    } else if (*bp == '"') {
      fprintf(pigsty, "\\\"");
      lxc = 0;
    } else {
      sprintf(temp, "\\x%.2x", *bp);
      fprintf(pigsty, "%s", temp);
      lxc = 1;
    }
    bp++;
  }
  fprintf(pigsty, "\"");
}


x86 assembly (clang, -O0):
<dump_string>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1030 <memset@plt>
movl   $0x0,-0x54(%rbp)
cmpq   $0x0,-0x8(%rbp)
je     11bb <dump_string+0x6b>
cmpq   $0x0,-0x10(%rbp)
je     11bb <dump_string+0x6b>
cmpq   $0x0,-0x18(%rbp)
je     11bb <dump_string+0x6b>
cmpq   $0x0,-0x20(%rbp)
jne    11c0 <dump_string+0x70>
jmp    142b <dump_string+0x2db>
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
add    -0x20(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xe1d(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x28(%rbp),%rax
cmp    -0x30(%rbp),%rax
je     1419 <dump_string+0x2c9>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x22,%eax
je     12d5 <dump_string+0x185>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x5c,%eax
je     12d5 <dump_string+0x185>
mov    -0x28(%rbp),%rax
movzbl (%rax),%edi
call   1050 <isprint@plt>
cmp    $0x0,%rax
je     12d5 <dump_string+0x185>
mov    -0x28(%rbp),%rax
movzbl (%rax),%edi
call   1070 <isxdigit@plt>
cmp    $0x0,%eax
jne    1268 <dump_string+0x118>
mov    -0x8(%rbp),%rdi
mov    -0x28(%rbp),%rax
movzbl (%rax),%edx
lea    0xdb4(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    12d0 <dump_string+0x180>
cmpl   $0x0,-0x54(%rbp)
je     12ab <dump_string+0x15b>
lea    -0x50(%rbp),%rdi
mov    -0x28(%rbp),%rax
lea    0xd8b(%rip),%rsi
movzbl (%rax),%edx
call   1060 <sprintf@plt>
mov    -0x8(%rbp),%rdi
lea    -0x50(%rbp),%rdx
lea    0xd7b(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x1,-0x54(%rbp)
jmp    12cb <dump_string+0x17b>
mov    -0x8(%rbp),%rdi
mov    -0x28(%rbp),%rax
movzbl (%rax),%edx
lea    0xd4c(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    12d0 <dump_string+0x180>
jmp    1408 <dump_string+0x2b8>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x9,%eax
jne    1303 <dump_string+0x1b3>
mov    -0x8(%rbp),%rdi
lea    0xd26(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    1403 <dump_string+0x2b3>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0xa,%eax
jne    1331 <dump_string+0x1e1>
mov    -0x8(%rbp),%rdi
lea    0xcfb(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    13fe <dump_string+0x2ae>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0xd,%eax
jne    135f <dump_string+0x20f>
mov    -0x8(%rbp),%rdi
lea    0xcd0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    13f9 <dump_string+0x2a9>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x5c,%eax
jne    138d <dump_string+0x23d>
mov    -0x8(%rbp),%rdi
lea    0xca5(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    13f4 <dump_string+0x2a4>
mov    -0x28(%rbp),%rax
movzbl (%rax),%eax
cmp    $0x22,%eax
jne    13bb <dump_string+0x26b>
mov    -0x8(%rbp),%rdi
lea    0xc7a(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0x54(%rbp)
jmp    13ef <dump_string+0x29f>
lea    -0x50(%rbp),%rdi
mov    -0x28(%rbp),%rax
lea    0xc42(%rip),%rsi
movzbl (%rax),%edx
call   1060 <sprintf@plt>
mov    -0x8(%rbp),%rdi
lea    -0x50(%rbp),%rdx
lea    0xc32(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x1,-0x54(%rbp)
jmp    13f4 <dump_string+0x2a4>
jmp    13f9 <dump_string+0x2a9>
jmp    13fe <dump_string+0x2ae>
jmp    1403 <dump_string+0x2b3>
jmp    1408 <dump_string+0x2b8>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    11ea <dump_string+0x9a>
mov    -0x8(%rbp),%rdi
lea    0xbe3(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_string>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,(%rsp)
movl   $0x0,0x10(%rsp)
test   %rdi,%rdi
je     12fd <dump_string+0x18d>
mov    %rdx,%rbx
mov    %rsi,%rdx
test   %rsi,%rsi
je     12fd <dump_string+0x18d>
test   %rbx,%rbx
je     12fd <dump_string+0x18d>
mov    %rcx,%r14
test   %rcx,%rcx
je     12fd <dump_string+0x18d>
mov    %rdi,%r15
lea    0xea4(%rip),%rsi
xor    %r12d,%r12d
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0xe2b(%rip),%r13
xor    %ebp,%ebp
jmp    1201 <dump_string+0x91>
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xe8e(%rip),%rdi
mov    %r15,%rcx
call   1090 <fwrite@plt>
xor    %ebp,%ebp
add    $0x1,%r12
cmp    %r12,%r14
je     130c <dump_string+0x19c>
movzbl (%rbx,%r12,1),%ecx
cmp    $0x22,%cl
je     1250 <dump_string+0xe0>
cmp    $0x5c,%cl
je     1250 <dump_string+0xe0>
movzbl %cl,%edi
call   1060 <isprint@plt>
movzbl (%rbx,%r12,1),%ecx
test   %rax,%rax
je     1250 <dump_string+0xe0>
movzbl %cl,%edi
call   1080 <isxdigit@plt>
test   %eax,%eax
je     12eb <dump_string+0x17b>
movzbl (%rbx,%r12,1),%edx
test   %ebp,%ebp
jne    1298 <dump_string+0x128>
mov    %edx,%edi
jmp    12f0 <dump_string+0x180>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    -0x9(%rcx),%eax
cmp    $0x19,%al
ja     127a <dump_string+0x10a>
movzbl %al,%eax
movslq 0x0(%r13,%rax,4),%rax
add    %r13,%rax
jmp    *%rax
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xe06(%rip),%rdi
jmp    11ea <dump_string+0x7a>
cmp    $0x5c,%cl
jne    1295 <dump_string+0x125>
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xdf1(%rip),%rdi
jmp    11ea <dump_string+0x7a>
movzbl %cl,%edx
mov    %rsp,%rbp
mov    %rbp,%rdi
lea    0xdcc(%rip),%rsi
call   1070 <sprintf@plt>
mov    %rbp,%rdi
mov    %r15,%rsi
call   1030 <fputs@plt>
mov    $0x1,%ebp
jmp    11f4 <dump_string+0x84>
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xdae(%rip),%rdi
jmp    11ea <dump_string+0x7a>
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xd9e(%rip),%rdi
jmp    11ea <dump_string+0x7a>
movzbl (%rbx,%r12,1),%edi
mov    %r15,%rsi
call   1040 <fputc@plt>
jmp    11f2 <dump_string+0x82>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0x22,%edi
mov    %r15,%rsi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <fputc@plt>

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

LLVM IR (-O2):
@.str = [9 x i8] c"\0A %s = \22\00"
@.str.2 = [7 x i8] c"\\x%.2x\00"
@.str.4 = [3 x i8] c"\\t\00"
@.str.5 = [3 x i8] c"\\n\00"
@.str.6 = [3 x i8] c"\\r\00"
@.str.7 = [3 x i8] c"\\\\\00"
@.str.8 = [3 x i8] c"\\\22\00"
define void @dump_string(i32* %0, i8* %1, i8* %2, i64 %3) {
%5 = alloca [20 x i8]
%6 = getelementptr inbounds [20 x i8], [20 x i8]* %5, i64 0, i64 0
%7 = icmp eq i32* %0, null
%8 = icmp eq i8* %1, null
%9 = or i1 %7, %8
%10 = icmp eq i8* %2, null
%11 = or i1 %9, %10
%12 = icmp eq i64 %3, 0
%13 = or i1 %11, %12
br i1 %13, label %62, label %14
14: ; preds = %4
%15 = getelementptr inbounds i8, i8* %2, i64 %3
%16 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* %1)
br label %17
17: ; preds = %14, %56
%18 = phi i32 [ %57, %56 ], [ 0, %14 ]
%19 = phi i8* [ %58, %56 ], [ %2, %14 ]
%20 = load i8, i8* %19
switch i8 %20, label %21 [
i8 34, label %41
i8 92, label %41
]
21: ; preds = %17
%22 = tail call i64 @isprint(i8 zeroext %20)
%23 = icmp eq i64 %22, 0
%24 = load i8, i8* %19
br i1 %23, label %41, label %25
25: ; preds = %21
%26 = tail call i32 @isxdigit(i8 zeroext %24)
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i8, i8* %19
%30 = zext i8 %29 to i32
%31 = tail call i32 @fputc(i32 %30, i32* %0)
br label %56
32: ; preds = %25
%33 = icmp eq i32 %18, 0
%34 = load i8, i8* %19
br i1 %33, label %38, label %35
35: ; preds = %32
%36 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8 zeroext %34)
%37 = call i32 @fputs(i8* %6, i32* %0)
br label %56
38: ; preds = %32
%39 = zext i8 %34 to i32
%40 = tail call i32 @fputc(i32 %39, i32* %0)
br label %56
41: ; preds = %21, %17, %17
%42 = phi i8 [ %20, %17 ], [ %20, %17 ], [ %24, %21 ]
switch i8 %42, label %53 [
i8 9, label %43
i8 10, label %45
i8 13, label %47
i8 92, label %49
i8 34, label %51
]
43: ; preds = %41
%44 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %56
45: ; preds = %41
%46 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %56
47: ; preds = %41
%48 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %56
49: ; preds = %41
%50 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %56
51: ; preds = %41
%52 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i64 2, i64 1, i32* %0)
br label %56
53: ; preds = %41
%54 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8 zeroext %42)
%55 = call i32 @fputs(i8* %6, i32* %0)
br label %56
56: ; preds = %43, %47, %51, %53, %49, %45, %28, %38, %35
%57 = phi i32 [ 1, %35 ], [ 0, %38 ], [ 0, %28 ], [ 0, %43 ], [ 0, %45 ], [ 0, %47 ], [ 0, %49 ], [ 0, %51 ], [ 1, %53 ]
%58 = getelementptr inbounds i8, i8* %19, i64 1
%59 = icmp eq i8* %58, %15
br i1 %59, label %60, label %17
60: ; preds = %56
%61 = tail call i32 @fputc(i32 34, i32* %0)
br label %62
62: ; preds = %4, %60
ret void
}