#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*/ hexstr;
typedef int /*<<< orphan*/ charstr;
typedef int /*<<< orphan*/ bytestr;
typedef int /*<<< orphan*/ addrstr;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *, char *,
                           char *);
scalar_t__ isprint(unsigned char);
int /*<<< orphan*/ snprintf(char *, int, char *, unsigned char const);
int strlen(char *);
int /*<<< orphan*/ strncat(char *, char *, int);
void hex_dump(FILE *fp, const void *data, int size) {
  if (size > 128)
    size = 128;
  const unsigned char *p = data;
  unsigned char c;
  int n;
  char bytestr[4] = {0};
  char addrstr[10] = {0};
  char hexstr[16 * 3 + 5] = {0};
  char charstr[16 * 1 + 5] = {0};
  for (n = 1; n <= size; n++) {
    if (n % 16 == 1) {
      snprintf(addrstr, sizeof(addrstr), "%.4x",
               ((unsigned int)p - (unsigned int)data));
    }
    c = *p;
    if (isprint(c) == 0) {
      c = '.';
    }
    snprintf(bytestr, sizeof(bytestr), "%02X ", *p);
    strncat(hexstr, bytestr, sizeof(hexstr) - strlen(hexstr) - 1);
    snprintf(bytestr, sizeof(bytestr), "%c", c);
    strncat(charstr, bytestr, sizeof(charstr) - strlen(charstr) - 1);
    if (n % 16 == 0) {
      fprintf(fp, "[%4.4s]   %-50.50s  %s\n", addrstr, hexstr, charstr);
      hexstr[0] = 0;
      charstr[0] = 0;
    } else if (n % 8 == 0) {
      strncat(hexstr, "  ", sizeof(hexstr) - strlen(hexstr) - 1);
      strncat(charstr, " ", sizeof(charstr) - strlen(charstr) - 1);
    }
    p++;
  }
  if (strlen(hexstr) > 0) {
    fprintf(fp, "[%4.4s]   %-50.50s  %s\n", addrstr, hexstr, charstr);
  }
}


x86 assembly (clang, -O0):
<hex_dump>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
cmpl   $0x80,-0x14(%rbp)
jle    118a <hex_dump+0x2a>
movl   $0x80,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
lea    -0x2c(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1050 <memset@plt>
lea    -0x36(%rbp),%rdi
xor    %esi,%esi
mov    $0xa,%edx
call   1050 <memset@plt>
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x35,%edx
call   1050 <memset@plt>
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x15,%edx
call   1050 <memset@plt>
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     13eb <hex_dump+0x28b>
mov    -0x28(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jne    121e <hex_dump+0xbe>
lea    -0x36(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    %ecx,%eax
mov    $0xa,%esi
lea    0xdea(%rip),%rdx
movzbl %al,%ecx
call   1040 <snprintf@plt>
mov    -0x20(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%edi
call   1080 <isprint@plt>
cmp    $0x0,%rax
jne    123e <hex_dump+0xde>
movb   $0x2e,-0x21(%rbp)
lea    -0x2c(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    $0x4,%esi
lea    0xdb3(%rip),%rdx
movzbl (%rax),%ecx
call   1040 <snprintf@plt>
lea    -0x70(%rbp),%rax
mov    %rax,-0xb0(%rbp)
lea    -0x2c(%rbp),%rax
mov    %rax,-0xa8(%rbp)
lea    -0x70(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0xb0(%rbp),%rdi
mov    -0xa8(%rbp),%rsi
movslq %eax,%rcx
mov    $0x35,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
call   1060 <strncat@plt>
lea    -0x2c(%rbp),%rdi
mov    $0x4,%esi
lea    0xd5e(%rip),%rdx
movzbl -0x21(%rbp),%ecx
call   1040 <snprintf@plt>
lea    -0x90(%rbp),%rax
mov    %rax,-0xa0(%rbp)
lea    -0x2c(%rbp),%rax
mov    %rax,-0x98(%rbp)
lea    -0x90(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0xa0(%rbp),%rdi
mov    -0x98(%rbp),%rsi
movslq %eax,%rcx
mov    $0x15,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
call   1060 <strncat@plt>
mov    -0x28(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1342 <hex_dump+0x1e2>
mov    -0x8(%rbp),%rdi
lea    -0x36(%rbp),%rdx
lea    -0x70(%rbp),%rcx
lea    -0x90(%rbp),%r8
lea    0xce1(%rip),%rsi
call   1070 <fprintf@plt>
movb   $0x0,-0x70(%rbp)
movb   $0x0,-0x90(%rbp)
jmp    13d1 <hex_dump+0x271>
mov    -0x28(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    13cc <hex_dump+0x26c>
lea    -0x70(%rbp),%rax
mov    %rax,-0xc0(%rbp)
lea    -0x70(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0xc0(%rbp),%rdi
movslq %eax,%rcx
mov    $0x35,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0xc9d(%rip),%rsi
call   1060 <strncat@plt>
lea    -0x90(%rbp),%rax
mov    %rax,-0xb8(%rbp)
lea    -0x90(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0xb8(%rbp),%rdi
movslq %eax,%rcx
mov    $0x15,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0xc60(%rip),%rsi
call   1060 <strncat@plt>
jmp    13d1 <hex_dump+0x271>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11dc <hex_dump+0x7c>
lea    -0x70(%rbp),%rdi
call   1030 <strlen@plt>
cmp    $0x0,%eax
jle    141c <hex_dump+0x2bc>
mov    -0x8(%rbp),%rdi
lea    -0x36(%rbp),%rdx
lea    -0x70(%rbp),%rcx
lea    -0x90(%rbp),%r8
lea    0xbf7(%rip),%rsi
call   1070 <fprintf@plt>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hex_dump>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
cmp    $0x80,%edx
mov    $0x80,%eax
cmovl  %edx,%eax
mov    %rsi,0x28(%rsp)
mov    %rdi,0x18(%rsp)
movl   $0x0,0x14(%rsp)
movw   $0x0,0x10(%rsp)
movq   $0x0,0x8(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movq   $0x0,0x7d(%rsp)
movaps %xmm0,0x30(%rsp)
movq   $0x0,0x3d(%rsp)
test   %eax,%eax
jle    1327 <hex_dump+0x1d7>
mov    %eax,%eax
mov    %rax,0x20(%rsp)
xor    %r12d,%r12d
lea    0x50(%rsp),%r14
jmp    1211 <hex_dump+0xc1>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x18(%rsp),%rdi
lea    0xe22(%rip),%rsi
lea    0x8(%rsp),%rdx
mov    %r14,%rcx
mov    %rbx,%r8
call   1060 <fprintf@plt>
movb   $0x0,0x50(%rsp)
movb   $0x0,0x30(%rsp)
cmp    %r12d,0x20(%rsp)
je     1327 <hex_dump+0x1d7>
mov    %r14,%rbx
mov    %r12,%r14
add    $0x1,%r12
mov    %r12d,%r15d
and    $0xf,%r15d
cmp    $0x1,%r15d
jne    1242 <hex_dump+0xf2>
movzbl %r14b,%ecx
lea    0x8(%rsp),%rdi
mov    $0xa,%esi
lea    0xdc3(%rip),%rdx
call   1040 <snprintf@plt>
mov    0x28(%rsp),%rbp
movzbl 0x0(%rbp,%r14,1),%r13d
mov    %r13d,%edi
call   1070 <isprint@plt>
test   %rax,%rax
mov    $0x2e,%eax
cmove  %eax,%r13d
movzbl 0x0(%rbp,%r14,1),%ecx
lea    0x14(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x4,%esi
lea    0xd8a(%rip),%rdx
call   1040 <snprintf@plt>
mov    %rbx,%r14
mov    %rbx,%rdi
call   1030 <strlen@plt>
mov    $0x34,%edx
sub    %eax,%edx
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1050 <strncat@plt>
mov    %rbp,%rdi
mov    $0x4,%esi
lea    0xd5f(%rip),%rdx
mov    %r13d,%ecx
call   1040 <snprintf@plt>
lea    0x30(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strlen@plt>
mov    $0x14,%edx
sub    %eax,%edx
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1050 <strncat@plt>
test   %r15d,%r15d
je     11e0 <hex_dump+0x90>
test   $0x7,%r12b
jne    1206 <hex_dump+0xb6>
mov    %r14,%rdi
call   1030 <strlen@plt>
mov    $0x34,%edx
sub    %eax,%edx
mov    %r14,%rdi
lea    0xd27(%rip),%rsi
call   1050 <strncat@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
mov    $0x14,%edx
sub    %eax,%edx
mov    %rbx,%rdi
lea    0xd0a(%rip),%rsi
call   1050 <strncat@plt>
jmp    1206 <hex_dump+0xb6>
lea    0x50(%rsp),%rdi
call   1030 <strlen@plt>
test   %eax,%eax
jle    1355 <hex_dump+0x205>
lea    0xcd2(%rip),%rsi
lea    0x8(%rsp),%rdx
lea    0x50(%rsp),%rcx
lea    0x30(%rsp),%r8
mov    0x18(%rsp),%rdi
call   1060 <fprintf@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [5 x i8] c"%.4x\00"
@.str.1 = [6 x i8] c"%02X \00"
@.str.2 = [3 x i8] c"%c\00"
@.str.3 = [24 x i8] c"[%4.4s] %-50.50s %s\0A\00"
@.str.4 = [3 x i8] c" \00"
@.str.5 = [2 x i8] c" \00"
define void @hex_dump(i32* nocapture %0, i8* %1, i32 %2) {
%4 = alloca i32
%5 = alloca [10 x i8]
%6 = alloca [53 x i8]
%7 = alloca [21 x i8]
%8 = icmp slt i32 %2, 128
%9 = select i1 %8, i32 %2, i32 128
%10 = bitcast i32* %4 to i8*
store i32 0, i32* %4
%11 = getelementptr inbounds [10 x i8], [10 x i8]* %5, i64 0, i64 0
%12 = getelementptr inbounds [53 x i8], [53 x i8]* %6, i64 0, i64 0
%13 = getelementptr inbounds [21 x i8], [21 x i8]* %7, i64 0, i64 0
%14 = icmp slt i32 %9, 1
br i1 %14, label %59, label %15
15: ; preds = %3
%16 = ptrtoint i8* %1 to i64
%17 = trunc i64 %16 to i8
br label %18
18: ; preds = %15, %55
%19 = phi i32 [ 1, %15 ], [ %57, %55 ]
%20 = phi i8* [ %1, %15 ], [ %56, %55 ]
%21 = and i32 %19, 15
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = ptrtoint i8* %20 to i64
%25 = trunc i64 %24 to i8
%26 = sub i8 %25, %17
%27 = call i32 @snprintf(i8* %11, i32 10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 zeroext %26)
br label %28
28: ; preds = %23, %18
%29 = load i8, i8* %20
%30 = call i64 @isprint(i8 zeroext %29)
%31 = icmp eq i64 %30, 0
%32 = select i1 %31, i8 46, i8 %29
%33 = load i8, i8* %20
%34 = call i32 @snprintf(i8* %10, i32 4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8 zeroext %33)
%35 = call i32 @strlen(i8* %12)
%36 = sub i32 52, %35
%37 = call i32 @strncat(i8* %12, i8* %10, i32 %36)
%38 = call i32 @snprintf(i8* %10, i32 4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8 zeroext %32)
%39 = call i32 @strlen(i8* %13)
%40 = sub i32 20, %39
%41 = call i32 @strncat(i8* %13, i8* %10, i32 %40)
%42 = icmp eq i32 %21, 0
br i1 %42, label %43, label %45
43: ; preds = %28
%44 = call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i8* %11, i8* %12, i8* %13)
store i8 0, i8* %12
store i8 0, i8* %13
br label %55
45: ; preds = %28
%46 = and i32 %19, 7
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %55
48: ; preds = %45
%49 = call i32 @strlen(i8* %12)
%50 = sub i32 52, %49
%51 = call i32 @strncat(i8* %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %50)
%52 = call i32 @strlen(i8* %13)
%53 = sub i32 20, %52
%54 = call i32 @strncat(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 %53)
br label %55
55: ; preds = %45, %48, %43
%56 = getelementptr inbounds i8, i8* %20, i64 1
%57 = add nuw nsw i32 %19, 1
%58 = icmp eq i32 %19, %9
br i1 %58, label %59, label %18
59: ; preds = %55, %3
%60 = call i32 @strlen(i8* %12)
%61 = icmp sgt i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i8* %11, i8* %12, i8* %13)
br label %64
64: ; preds = %62, %59
ret void
}