#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 */

/* Variables and functions */
int /*<<< orphan*/ errx(int, char *);
scalar_t__ isspace(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
char *strchr(char *, char);
char *strdup(char *);
int /*<<< orphan*/ *strpbrk(char *, char *);
char *strsep(char **, char *);
void wrtermcap(char *bp) {
  register int ch;
  register char *p;
  char *t, *sep;
  if ((t = strchr(bp, ':')) == NULL)
    errx(1, "termcap names not colon terminated");
  *t++ = '\0';
  sep = strdup("");
  while ((p = strsep(&bp, "|")) != NULL)
    if (*p != '\0' && strpbrk(p, " \t") == NULL) {
      (void)printf("%s%s", sep, p);
      sep = strdup("|");
    }
  (void)putchar(':');
  while ((p = strsep(&t, ":")) != NULL) {
    while ((ch = *p) != '\0' && isspace(ch))
      ++p;
    if (ch == '\0')
      continue;
    while ((ch = *p++) != '\0')
      switch (ch) {
      case '\033':
        (void)printf("\\E");
      case ' ':
        (void)printf("\\040");
        break;
      case '!':
        (void)printf("\\041");
        break;
      case ',':
        (void)printf("\\054");
        break;
      case '"':
        (void)printf("\\042");
        break;
      case '\'':
        (void)printf("\\047");
        break;
      case '`':
        (void)printf("\\140");
        break;
      case '\\':
      case '^':
        (void)putchar(ch);
        if ((ch = *p++) == '\0')
          break;
      default:
        (void)putchar(ch);
      }
    (void)putchar(':');
  }
}


x86 assembly (clang, -O0):
<wrtermcap>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x3a,%esi
call   1050 <strchr@plt>
mov    %rax,-0x20(%rbp)
cmp    $0x0,%rax
jne    11b9 <wrtermcap+0x39>
mov    $0x1,%edi
lea    0xf64(%rip),%rsi
call   1040 <errx@plt>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
movb   $0x0,(%rax)
lea    0xf6d(%rip),%rdi
call   10a0 <strdup@plt>
mov    %rax,-0x28(%rbp)
lea    -0x8(%rbp),%rdi
lea    0xf55(%rip),%rsi
call   1080 <strsep@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
je     124e <wrtermcap+0xce>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1249 <wrtermcap+0xc9>
mov    -0x18(%rbp),%rdi
lea    0xf29(%rip),%rsi
call   1090 <strpbrk@plt>
cmp    $0x0,%rax
jne    1249 <wrtermcap+0xc9>
mov    -0x28(%rbp),%rsi
mov    -0x18(%rbp),%rdx
lea    0xf0e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xefb(%rip),%rdi
call   10a0 <strdup@plt>
mov    %rax,-0x28(%rbp)
jmp    11db <wrtermcap+0x5b>
mov    $0x3a,%edi
call   1030 <putchar@plt>
lea    -0x20(%rbp),%rdi
lea    0xee2(%rip),%rsi
call   1080 <strsep@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
je     13f3 <wrtermcap+0x273>
jmp    127b <wrtermcap+0xfb>
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
mov    %ecx,-0xc(%rbp)
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x29(%rbp)
je     12a5 <wrtermcap+0x125>
mov    -0xc(%rbp),%edi
call   1070 <isspace@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x29(%rbp)
mov    -0x29(%rbp),%al
test   $0x1,%al
jne    12b5 <wrtermcap+0x135>
jmp    12c6 <wrtermcap+0x146>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    127b <wrtermcap+0xfb>
cmpl   $0x0,-0xc(%rbp)
jne    12d5 <wrtermcap+0x155>
jmp    1258 <wrtermcap+0xd8>
jmp    12da <wrtermcap+0x15a>
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x18(%rbp)
movsbl (%rax),%eax
mov    %eax,-0xc(%rbp)
cmp    $0x0,%eax
je     13e4 <wrtermcap+0x264>
mov    -0xc(%rbp),%eax
add    $0xffffffe5,%eax
mov    %eax,%ecx
mov    %rcx,-0x38(%rbp)
sub    $0x45,%eax
ja     13d4 <wrtermcap+0x254>
mov    -0x38(%rbp),%rax
lea    0xce8(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe1f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe14(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13df <wrtermcap+0x25f>
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13df <wrtermcap+0x25f>
lea    0xdf8(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13df <wrtermcap+0x25f>
lea    0xdea(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13df <wrtermcap+0x25f>
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13df <wrtermcap+0x25f>
lea    0xdce(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13df <wrtermcap+0x25f>
mov    -0xc(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x18(%rbp)
movsbl (%rax),%eax
mov    %eax,-0xc(%rbp)
cmp    $0x0,%eax
jne    13cf <wrtermcap+0x24f>
jmp    13df <wrtermcap+0x25f>
jmp    13d4 <wrtermcap+0x254>
mov    -0xc(%rbp),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
jmp    12da <wrtermcap+0x15a>
mov    $0x3a,%edi
call   1030 <putchar@plt>
jmp    1258 <wrtermcap+0xd8>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<wrtermcap>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdi,0x10(%rsp)
mov    $0x3a,%esi
call   1050 <strchr@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    11b6 <wrtermcap+0x36>
lea    0xf6c(%rip),%rsi
mov    $0x1,%edi
call   1040 <errx@plt>
mov    %rbx,%rax
add    $0x1,%rax
mov    %rax,0x8(%rsp)
movb   $0x0,(%rbx)
lea    0xf73(%rip),%rdi
call   10a0 <strdup@plt>
mov    %rax,%r14
lea    0xf60(%rip),%rsi
lea    0x10(%rsp),%rdi
call   1080 <strsep@plt>
test   %rax,%rax
je     1255 <wrtermcap+0xd5>
mov    %rax,%rbx
lea    0xf47(%rip),%rbp
lea    0x10(%rsp),%r13
lea    0xf3d(%rip),%r15
lea    0xf39(%rip),%r12
jmp    1223 <wrtermcap+0xa3>
nopl   0x0(%rax)
mov    %r13,%rdi
mov    %rbp,%rsi
call   1080 <strsep@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1255 <wrtermcap+0xd5>
cmpb   $0x0,(%rbx)
je     1210 <wrtermcap+0x90>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1090 <strpbrk@plt>
test   %rax,%rax
jne    1210 <wrtermcap+0x90>
mov    %r12,%rdi
mov    %r14,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbp,%rdi
call   10a0 <strdup@plt>
mov    %rax,%r14
jmp    1210 <wrtermcap+0x90>
mov    $0x3a,%edi
call   1030 <putchar@plt>
lea    0xedf(%rip),%rsi
lea    0x8(%rsp),%rdi
call   1080 <strsep@plt>
test   %rax,%rax
je     137d <wrtermcap+0x1fd>
mov    %rax,%r15
lea    0xec2(%rip),%r14
lea    0x8(%rsp),%r12
lea    0xd71(%rip),%r13
lea    0xeb4(%rip),%rbx
jmp    12c1 <wrtermcap+0x141>
nopl   0x0(%rax,%rax,1)
mov    $0x3a,%edi
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r14,%rsi
call   1080 <strsep@plt>
mov    %rax,%r15
test   %rax,%rax
je     137d <wrtermcap+0x1fd>
mov    (%r15),%al
test   %al,%al
je     12aa <wrtermcap+0x12a>
nopl   0x0(%rax,%rax,1)
movsbl %al,%edi
call   1070 <isspace@plt>
test   %rax,%rax
je     12f0 <wrtermcap+0x170>
movzbl 0x1(%r15),%eax
add    $0x1,%r15
test   %al,%al
jne    12d0 <wrtermcap+0x150>
jmp    12aa <wrtermcap+0x12a>
nopl   0x0(%rax)
mov    (%r15),%al
jmp    1314 <wrtermcap+0x194>
lea    0xe4b(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x0(%rbp),%eax
mov    %rbp,%r15
test   %al,%al
je     12a0 <wrtermcap+0x120>
lea    0x1(%r15),%rbp
movsbl %al,%edi
lea    -0x1b(%rdi),%ecx
cmp    $0x45,%ecx
ja     1346 <wrtermcap+0x1c6>
movslq 0x0(%r13,%rcx,4),%rcx
add    %r13,%rcx
jmp    *%rcx
call   1030 <putchar@plt>
movzbl 0x1(%r15),%eax
add    $0x2,%r15
mov    %r15,%rbp
test   %al,%al
je     130d <wrtermcap+0x18d>
movsbl %al,%edi
call   1030 <putchar@plt>
jmp    130d <wrtermcap+0x18d>
lea    0xdf8(%rip),%rdi
jmp    1306 <wrtermcap+0x186>
lea    0xdf9(%rip),%rdi
jmp    1306 <wrtermcap+0x186>
lea    0xdf5(%rip),%rdi
jmp    1306 <wrtermcap+0x186>
lea    0xde2(%rip),%rdi
jmp    1306 <wrtermcap+0x186>
lea    0xde8(%rip),%rdi
jmp    1306 <wrtermcap+0x186>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [35 x i8] c"termcap names not colon terminated\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [2 x i8] c"|\00"
@.str.3 = [3 x i8] c" \09\00"
@.str.4 = [5 x i8] c"%s%s\00"
@.str.5 = [2 x i8] c":\00"
@.str.6 = [3 x i8] c"\\E\00"
@.str.7 = [5 x i8] c"\\040\00"
@.str.8 = [5 x i8] c"\\041\00"
@.str.9 = [5 x i8] c"\\054\00"
@.str.10 = [5 x i8] c"\\042\00"
@.str.11 = [5 x i8] c"\\047\00"
@.str.12 = [5 x i8] c"\\140\00"
define void @wrtermcap(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
store i8* %0, i8** %2
%7 = load i8*, i8** %2
%8 = call i8* @strchr(i8* %7, i8 signext 58)
store i8* %8, i8** %5
%9 = icmp eq i8* %8, null
br i1 %9, label %10, label %12
10: ; preds = %1
%11 = call i32 @errx(i32 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
br label %12
12: ; preds = %10, %1
%13 = load i8*, i8** %5
%14 = getelementptr inbounds i8, i8* %13, i32 1
store i8* %14, i8** %5
store i8 0, i8* %13
%15 = call i8* @strdup(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
store i8* %15, i8** %6
br label %16
16: ; preds = %33, %12
%17 = call i8* @strsep(i8** %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i8* %17, i8** %4
%18 = icmp ne i8* %17, null
br i1 %18, label %19, label %34
19: ; preds = %16
%20 = load i8*, i8** %4
%21 = load i8, i8* %20
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = load i8*, i8** %4
%26 = call i32* @strpbrk(i8* %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%27 = icmp eq i32* %26, null
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load i8*, i8** %6
%30 = load i8*, i8** %4
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* %29, i8* %30)
%32 = call i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i8* %32, i8** %6
br label %33
33: ; preds = %28, %24, %19
br label %16
34: ; preds = %16
%35 = call i32 @putchar(i8 signext 58)
br label %36
36: ; preds = %97, %57, %34
%37 = call i8* @strsep(i8** %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i8* %37, i8** %4
%38 = icmp ne i8* %37, null
br i1 %38, label %39, label %99
39: ; preds = %36
br label %40
40: ; preds = %51, %39
%41 = load i8*, i8** %4
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
store i32 %43, i32* %3
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %40
%46 = load i32, i32* %3
%47 = call i64 @isspace(i32 %46)
%48 = icmp ne i64 %47, 0
br label %49
49: ; preds = %45, %40
%50 = phi i1 [ false, %40 ], [ %48, %45 ]
br i1 %50, label %51, label %54
51: ; preds = %49
%52 = load i8*, i8** %4
%53 = getelementptr inbounds i8, i8* %52, i32 1
store i8* %53, i8** %4
br label %40
54: ; preds = %49
%55 = load i32, i32* %3
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %54
br label %36
58: ; preds = %54
br label %59
59: ; preds = %96, %58
%60 = load i8*, i8** %4
%61 = getelementptr inbounds i8, i8* %60, i32 1
store i8* %61, i8** %4
%62 = load i8, i8* %60
%63 = sext i8 %62 to i32
store i32 %63, i32* %3
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %97
65: ; preds = %59
%66 = load i32, i32* %3
switch i32 %66, label %92 [
i32 27, label %67
i32 32, label %69
i32 33, label %71
i32 44, label %73
i32 34, label %75
i32 39, label %77
i32 96, label %79
i32 92, label %81
i32 94, label %81
]
67: ; preds = %65
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %69
69: ; preds = %65, %67
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %96
71: ; preds = %65
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
br label %96
73: ; preds = %65
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %96
75: ; preds = %65
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %96
77: ; preds = %65
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
br label %96
79: ; preds = %65
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
br label %96
81: ; preds = %65, %65
%82 = load i32, i32* %3
%83 = trunc i32 %82 to i8
%84 = call i32 @putchar(i8 signext %83)
%85 = load i8*, i8** %4
%86 = getelementptr inbounds i8, i8* %85, i32 1
store i8* %86, i8** %4
%87 = load i8, i8* %85
%88 = sext i8 %87 to i32
store i32 %88, i32* %3
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %81
br label %96
91: ; preds = %81
br label %92
92: ; preds = %65, %91
%93 = load i32, i32* %3
%94 = trunc i32 %93 to i8
%95 = call i32 @putchar(i8 signext %94)
br label %96
96: ; preds = %92, %90, %79, %77, %75, %73, %71, %69
br label %59
97: ; preds = %59
%98 = call i32 @putchar(i8 signext 58)
br label %36
99: ; preds = %36
ret void
}

LLVM IR (-O2):
@.str = [35 x i8] c"termcap names not colon terminated\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [2 x i8] c"|\00"
@.str.3 = [3 x i8] c" \09\00"
@.str.4 = [5 x i8] c"%s%s\00"
@.str.5 = [2 x i8] c":\00"
@.str.6 = [3 x i8] c"\\E\00"
@.str.7 = [5 x i8] c"\\040\00"
@.str.8 = [5 x i8] c"\\041\00"
@.str.9 = [5 x i8] c"\\054\00"
@.str.10 = [5 x i8] c"\\042\00"
@.str.11 = [5 x i8] c"\\047\00"
@.str.12 = [5 x i8] c"\\140\00"
define void @wrtermcap(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
store i8* %0, i8** %2
%4 = bitcast i8** %3 to i8*
%5 = tail call i8* @strchr(i8* dereferenceable(1) %0, i8 signext 58)
%6 = icmp eq i8* %5, null
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @errx(i32 1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
br label %9
9: ; preds = %7, %1
%10 = getelementptr inbounds i8, i8* %5, i64 1
store i8* %10, i8** %3
store i8 0, i8* %5
%11 = tail call dereferenceable_or_null(1) i8* @strdup(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%12 = call i8* @strsep(i8** %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%13 = icmp eq i8* %12, null
br i1 %13, label %29, label %14
14: ; preds = %9, %25
%15 = phi i8* [ %27, %25 ], [ %12, %9 ]
%16 = phi i8* [ %26, %25 ], [ %11, %9 ]
%17 = load i8, i8* %15
%18 = icmp eq i8 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %14
%20 = call i32* @strpbrk(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp eq i32* %20, null
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* %16, i8* %15)
%24 = call dereferenceable_or_null(2) i8* @strdup(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %25
25: ; preds = %22, %19, %14
%26 = phi i8* [ %24, %22 ], [ %16, %19 ], [ %16, %14 ]
%27 = call i8* @strsep(i8** %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%28 = icmp eq i8* %27, null
br i1 %28, label %29, label %14
29: ; preds = %25, %9
%30 = call i32 @putchar(i8 signext 58)
%31 = call i8* @strsep(i8** %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%32 = icmp eq i8* %31, null
br i1 %32, label %87, label %33
33: ; preds = %29, %84
%34 = phi i8* [ %85, %84 ], [ %31, %29 ]
%35 = load i8, i8* %34
%36 = icmp eq i8 %35, 0
br i1 %36, label %84, label %37
37: ; preds = %33, %46
%38 = phi i8 [ %48, %46 ], [ %35, %33 ]
%39 = phi i8* [ %47, %46 ], [ %34, %33 ]
%40 = sext i8 %38 to i32
%41 = call i64 @isspace(i32 %40)
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %37
%44 = load i8, i8* %39
%45 = icmp eq i8 %44, 0
br i1 %45, label %82, label %50
46: ; preds = %37
%47 = getelementptr inbounds i8, i8* %39, i64 1
%48 = load i8, i8* %47
%49 = icmp eq i8 %48, 0
br i1 %49, label %84, label %37
50: ; preds = %43, %78
%51 = phi i8 [ %80, %78 ], [ %44, %43 ]
%52 = phi i8* [ %79, %78 ], [ %39, %43 ]
%53 = getelementptr inbounds i8, i8* %52, i64 1
%54 = sext i8 %51 to i32
switch i32 %54, label %74 [
i32 27, label %55
i32 32, label %57
i32 33, label %59
i32 44, label %61
i32 34, label %63
i32 39, label %65
i32 96, label %67
i32 92, label %69
i32 94, label %69
]
55: ; preds = %50
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %57
57: ; preds = %50, %55
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %78
59: ; preds = %50
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
br label %78
61: ; preds = %50
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %78
63: ; preds = %50
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %78
65: ; preds = %50
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
br label %78
67: ; preds = %50
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
br label %78
69: ; preds = %50, %50
%70 = call i32 @putchar(i8 signext %51)
%71 = getelementptr inbounds i8, i8* %52, i64 2
%72 = load i8, i8* %53
%73 = icmp eq i8 %72, 0
br i1 %73, label %78, label %74
74: ; preds = %69, %50
%75 = phi i8 [ %51, %50 ], [ %72, %69 ]
%76 = phi i8* [ %53, %50 ], [ %71, %69 ]
%77 = call i32 @putchar(i8 signext %75)
br label %78
78: ; preds = %69, %74, %67, %65, %63, %61, %59, %57
%79 = phi i8* [ %76, %74 ], [ %71, %69 ], [ %53, %67 ], [ %53, %65 ], [ %53, %63 ], [ %53, %61 ], [ %53, %59 ], [ %53, %57 ]
%80 = load i8, i8* %79
%81 = icmp eq i8 %80, 0
br i1 %81, label %82, label %50
82: ; preds = %78, %43
%83 = call i32 @putchar(i8 signext 58)
br label %84
84: ; preds = %46, %33, %82
%85 = call i8* @strsep(i8** %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%86 = icmp eq i8* %85, null
br i1 %86, label %87, label %33
87: ; preds = %84, %29
ret void
}