#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*/ free(char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int);
void clustalw_print_cons(char *cons, char *aln_ref, char *ref_id) {
  int len, ln, i, ln_len, ref_id_len;
  char ref_start[18];
  char *curr_ref_line;
  char *curr_cons_line;
  curr_ref_line = (char *)malloc(((60) + 1) * sizeof(char));
  curr_cons_line = (char *)malloc(((60) + 1) * sizeof(char));
  len = strlen(cons);
  ref_id_len = strlen(ref_id);
  ln = 0;
  strncpy(ref_start, ref_id, 15);
  for (i = ref_id_len; i < 15; i++) {
    ref_start[i] = ' ';
  }
  ref_start[15] = ' ';
  ref_start[16] = ' ';
  ref_start[17] = '\0';
  printf("CLUSTAL W (1.8) multiple sequence alignment\n");
  while ((ln * (60)) < len) {
    strncpy(curr_ref_line, &aln_ref[(60) * ln], 60);
    curr_ref_line[(60)] = '\0';
    printf("%s%s\n", ref_start, curr_ref_line);
    strncpy(curr_cons_line, &cons[(60) * ln], 60);
    curr_cons_line[(60)] = '\0';
    for (i = 0; i < (60); i++) {
      if (curr_cons_line[i] == ' ') {
        curr_cons_line[i] = 'X';
      }
    }
    printf("Consensus        %s\n", curr_cons_line);
    ln_len = strlen(curr_cons_line);
    printf("                 ");
    for (i = 0; i < ln_len; i++) {
      if (curr_ref_line[i] == curr_cons_line[i]) {
        printf("*");
      } else {
        printf(" ");
      }
    }
    printf("\n\n\n");
    ln++;
  }
  free(curr_ref_line);
  free(curr_cons_line);
}


x86 assembly (clang, -O0):
<clustalw_print_cons>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    $0x3d,%edi
call   1070 <malloc@plt>
mov    %rax,-0x48(%rbp)
mov    $0x3d,%edi
call   1070 <malloc@plt>
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x2c(%rbp)
movl   $0x0,-0x20(%rbp)
lea    -0x40(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0xf,%edx
call   1040 <strncpy@plt>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x24(%rbp)
cmpl   $0xf,-0x24(%rbp)
jge    11d8 <clustalw_print_cons+0x88>
movslq -0x24(%rbp),%rax
movb   $0x20,-0x40(%rbp,%rax,1)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11b7 <clustalw_print_cons+0x67>
movb   $0x20,-0x31(%rbp)
movb   $0x20,-0x30(%rbp)
movb   $0x0,-0x2f(%rbp)
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
imul   $0x3c,-0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    134f <clustalw_print_cons+0x1ff>
mov    -0x48(%rbp),%rdi
mov    -0x10(%rbp),%rsi
imul   $0x3c,-0x20(%rbp),%eax
cltq
add    %rax,%rsi
mov    $0x3c,%edx
call   1040 <strncpy@plt>
mov    -0x48(%rbp),%rax
movb   $0x0,0x3c(%rax)
lea    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
lea    0xdfc(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x50(%rbp),%rdi
mov    -0x8(%rbp),%rsi
imul   $0x3c,-0x20(%rbp),%eax
cltq
add    %rax,%rsi
mov    $0x3c,%edx
call   1040 <strncpy@plt>
mov    -0x50(%rbp),%rax
movb   $0x0,0x3c(%rax)
movl   $0x0,-0x24(%rbp)
cmpl   $0x3c,-0x24(%rbp)
jge    12a0 <clustalw_print_cons+0x150>
mov    -0x50(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x20,%eax
jne    128d <clustalw_print_cons+0x13d>
mov    -0x50(%rbp),%rax
movslq -0x24(%rbp),%rcx
movb   $0x58,(%rax,%rcx,1)
jmp    1292 <clustalw_print_cons+0x142>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1262 <clustalw_print_cons+0x112>
mov    -0x50(%rbp),%rsi
lea    0xd88(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x50(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x28(%rbp)
lea    0xd83(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1333 <clustalw_print_cons+0x1e3>
mov    -0x48(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
mov    -0x50(%rbp),%rcx
movslq -0x24(%rbp),%rdx
movsbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
jne    1312 <clustalw_print_cons+0x1c2>
lea    0xd54(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1320 <clustalw_print_cons+0x1d0>
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1325 <clustalw_print_cons+0x1d5>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12d3 <clustalw_print_cons+0x183>
lea    0xd22(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11f2 <clustalw_print_cons+0xa2>
mov    -0x48(%rbp),%rdi
call   1030 <free@plt>
mov    -0x50(%rbp),%rdi
call   1030 <free@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<clustalw_print_cons>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rdx,%r15
mov    %rsi,0x20(%rsp)
mov    %rdi,%rbp
mov    $0x3d,%edi
call   10a0 <malloc@plt>
mov    %rax,%r12
mov    $0x3d,%edi
call   10a0 <malloc@plt>
mov    %rax,%rbx
mov    %rbp,0x18(%rsp)
mov    %rbp,%rdi
call   1070 <strlen@plt>
mov    %eax,%r14d
mov    %r15,%rdi
call   1070 <strlen@plt>
mov    %eax,%r13d
mov    %rsp,%rdi
mov    %r15,%rsi
mov    $0xf,%edx
call   1050 <strncpy@plt>
cmp    $0xe,%r13d
jg     1201 <clustalw_print_cons+0x81>
movslq %r13d,%rax
lea    (%rsp,%rax,1),%rdi
mov    $0xe,%edx
sub    %r13d,%edx
add    $0x1,%rdx
mov    $0x20,%esi
call   1090 <memset@plt>
movw   $0x2020,0xf(%rsp)
movb   $0x0,0x11(%rsp)
lea    0xe39(%rip),%rdi
call   1060 <puts@plt>
test   %r14d,%r14d
jle    144f <clustalw_print_cons+0x2cf>
xor    %r15d,%r15d
xor    %eax,%eax
jmp    124d <clustalw_print_cons+0xcd>
nopl   0x0(%rax)
lea    0xe42(%rip),%rdi
call   1060 <puts@plt>
add    $0x1,%r15
imul   $0x3c,%r15d,%eax
cmp    %r14d,%eax
jge    144f <clustalw_print_cons+0x2cf>
mov    %eax,%ebp
mov    0x20(%rsp),%rax
lea    (%rax,%rbp,1),%rsi
mov    %r12,%rdi
mov    $0x3c,%edx
call   1050 <strncpy@plt>
movb   $0x0,0x3c(%r12)
lea    0xdae(%rip),%rdi
mov    %rsp,%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1080 <printf@plt>
add    0x18(%rsp),%rbp
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x3c,%edx
call   1050 <strncpy@plt>
movb   $0x0,0x3c(%rbx)
xor    %eax,%eax
movdqa 0xd5e(%rip),%xmm3
movdqa 0xd66(%rip),%xmm4
jmp    12be <clustalw_print_cons+0x13e>
nopl   0x0(%rax)
add    $0x8,%rax
cmp    $0x38,%rax
je     1380 <clustalw_print_cons+0x200>
movq   (%rbx,%rax,1),%xmm1
movdqa %xmm1,%xmm0
pcmpeqb %xmm3,%xmm0
movd   %xmm0,%ecx
test   $0x1,%cl
je     12d8 <clustalw_print_cons+0x158>
movb   $0x58,(%rbx,%rax,1)
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%ecx
shr    $0x10,%ecx
test   $0x1,%cl
je     12f2 <clustalw_print_cons+0x172>
movb   $0x58,0x1(%rbx,%rax,1)
pshuflw $0x55,%xmm1,%xmm2
pcmpeqb %xmm3,%xmm2
pextrw $0x2,%xmm2,%ecx
test   $0x1,%cl
je     130a <clustalw_print_cons+0x18a>
movb   $0x58,0x2(%rbx,%rax,1)
movdqa %xmm0,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%ecx
test   $0x1,%cl
je     1322 <clustalw_print_cons+0x1a2>
movb   $0x58,0x3(%rbx,%rax,1)
pshufd $0x55,%xmm1,%xmm1
pcmpeqb %xmm4,%xmm1
pextrw $0x4,%xmm1,%ecx
test   $0x1,%cl
je     133a <clustalw_print_cons+0x1ba>
movb   $0x58,0x4(%rbx,%rax,1)
movdqa %xmm0,%xmm1
pslldq $0x5,%xmm1
pextrw $0x5,%xmm1,%ecx
test   $0x1,%cl
je     1352 <clustalw_print_cons+0x1d2>
movb   $0x58,0x5(%rbx,%rax,1)
pextrw $0x3,%xmm0,%ecx
test   $0x1,%cl
je     1361 <clustalw_print_cons+0x1e1>
movb   $0x58,0x6(%rbx,%rax,1)
pslldq $0x7,%xmm0
pextrw $0x7,%xmm0,%ecx
test   $0x1,%cl
je     12b0 <clustalw_print_cons+0x130>
movb   $0x58,0x7(%rbx,%rax,1)
jmp    12b0 <clustalw_print_cons+0x130>
xchg   %ax,%ax
cmpb   $0x20,0x38(%rbx)
je     1420 <clustalw_print_cons+0x2a0>
cmpb   $0x20,0x39(%rbx)
je     142e <clustalw_print_cons+0x2ae>
cmpb   $0x20,0x3a(%rbx)
je     143c <clustalw_print_cons+0x2bc>
cmpb   $0x20,0x3b(%rbx)
jne    13a8 <clustalw_print_cons+0x228>
movb   $0x58,0x3b(%rbx)
lea    0xc77(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %eax,%r13d
lea    0xc70(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
test   %r13d,%r13d
jle    1230 <clustalw_print_cons+0xb0>
mov    %r13d,%r13d
xor    %ebp,%ebp
jmp    1402 <clustalw_print_cons+0x282>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
call   1040 <putchar@plt>
add    $0x1,%rbp
cmp    %rbp,%r13
je     1230 <clustalw_print_cons+0xb0>
movzbl (%r12,%rbp,1),%eax
mov    $0x2a,%edi
cmp    (%rbx,%rbp,1),%al
je     13f0 <clustalw_print_cons+0x270>
mov    $0x20,%edi
jmp    13f0 <clustalw_print_cons+0x270>
nopl   0x0(%rax,%rax,1)
movb   $0x58,0x38(%rbx)
cmpb   $0x20,0x39(%rbx)
jne    1394 <clustalw_print_cons+0x214>
movb   $0x58,0x39(%rbx)
cmpb   $0x20,0x3a(%rbx)
jne    139e <clustalw_print_cons+0x21e>
movb   $0x58,0x3a(%rbx)
cmpb   $0x20,0x3b(%rbx)
je     13a4 <clustalw_print_cons+0x224>
jmp    13a8 <clustalw_print_cons+0x228>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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