#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*/ EXIT_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ putc(char, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int strlen(char *);
scalar_t__ strncmp(char *, char *, int);
void compiler_error(const int comp_num, const char *err_msg, char *pS, char *pC,
                    char pT[]) {
  char *pTemp = pC;
  char *pCount = pC;
  int sp_count = 0;
  int line_num = 1;
  int token_len = 0;
  printf("\n");
  fflush(stdout);
  token_len = strlen(pT);
  do {
    pC--;
  } while (strncmp(pT, pC, token_len) != 0);
  pTemp = pC;
  while (pTemp > pS && *pTemp != '\n') {
    sp_count++;
    pTemp--;
  }
  while (pS <= pC) {
    if (*pC == '\n') {
      line_num++;
    }
    pC--;
  }
  pTemp++;
  pCount = pTemp;
  while ((*pTemp != '\n') && (*pTemp != '\0')) {
    putc(*pTemp, stderr);
    pTemp++;
  }
  fprintf(stderr, "\n");
  sp_count--;
  while (sp_count >= 0) {
    if (sp_count == 0) {
      fprintf(stderr, "^\n");
    } else {
      if (*pCount == '\t') {
        fprintf(stderr, "\t");
      } else {
        fprintf(stderr, " ");
      }
    }
    sp_count--;
    pCount++;
  }
  fprintf(stderr, "ERROR %d: %s On Line %d.\n\n", comp_num, err_msg, line_num);
  exit(EXIT_FAILURE);
}


x86 assembly (clang, -O0):
<compiler_error>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x1,-0x40(%rbp)
movl   $0x0,-0x44(%rbp)
lea    0xe69(%rip),%rdi
call   1050 <printf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
call   1080 <fflush@plt>
mov    -0x28(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x44(%rbp),%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    11d6 <compiler_error+0x66>
mov    -0x20(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rcx
xor    %eax,%eax
cmp    -0x18(%rbp),%rcx
mov    %al,-0x45(%rbp)
jbe    1227 <compiler_error+0xb7>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0xa,%eax
setne  %al
mov    %al,-0x45(%rbp)
mov    -0x45(%rbp),%al
test   $0x1,%al
jne    1237 <compiler_error+0xc7>
jmp    1251 <compiler_error+0xe1>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x30(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x30(%rbp)
jmp    1204 <compiler_error+0x94>
jmp    1256 <compiler_error+0xe6>
mov    -0x18(%rbp),%rax
cmp    -0x20(%rbp),%rax
ja     128e <compiler_error+0x11e>
mov    -0x20(%rbp),%rax
movsbl (%rax),%eax
cmp    $0xa,%eax
jne    127d <compiler_error+0x10d>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x20(%rbp)
jmp    1256 <compiler_error+0xe6>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x30(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0xa,%ecx
mov    %al,-0x46(%rbp)
je     12c7 <compiler_error+0x157>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x46(%rbp)
mov    -0x46(%rbp),%al
test   $0x1,%al
jne    12d7 <compiler_error+0x167>
jmp    12ff <compiler_error+0x18f>
mov    -0x30(%rbp),%rax
mov    (%rax),%al
mov    0x2cfc(%rip),%rcx
mov    (%rcx),%esi
movsbl %al,%edi
call   1060 <putc@plt>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    12a2 <compiler_error+0x132>
mov    0x2cda(%rip),%rax
mov    (%rax),%edi
lea    0xd11(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x3c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jl     13b1 <compiler_error+0x241>
cmpl   $0x0,-0x3c(%rbp)
jne    134f <compiler_error+0x1df>
mov    0x2ca6(%rip),%rax
mov    (%rax),%edi
lea    0xcbd(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    1397 <compiler_error+0x227>
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
jne    137b <compiler_error+0x20b>
mov    0x2c7a(%rip),%rax
mov    (%rax),%edi
lea    0xc94(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    1392 <compiler_error+0x222>
mov    0x2c5e(%rip),%rax
mov    (%rax),%edi
lea    0xc7a(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    1397 <compiler_error+0x227>
mov    -0x3c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    131f <compiler_error+0x1af>
mov    0x2c28(%rip),%rax
mov    (%rax),%edi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
mov    -0x40(%rbp),%r8d
lea    0xc3b(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    0x2bfe(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>

x86 assembly (clang, -O2):
<compiler_error>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r8,%rbp
mov    %rcx,%rbx
mov    %rdx,0x10(%rsp)
mov    %rsi,0x18(%rsp)
mov    %edi,0xc(%rsp)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
call   1080 <fflush@plt>
mov    %rbp,0x20(%rsp)
mov    %rbp,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rcx
mov    %eax,%ebp
lea    -0x1(%rbx),%r12
xor    %r15d,%r15d
mov    %rbx,%r13
cs nopw 0x0(%rax,%rax,1)
add    $0xffffffffffffffff,%rbx
lea    (%rcx,%r15,1),%rsi
add    $0xffffffffffffffff,%rsi
mov    0x20(%rsp),%rdi
mov    %ebp,%edx
mov    %rcx,%r14
call   1040 <strncmp@plt>
mov    %r14,%rcx
add    $0xffffffffffffffff,%r12
add    $0xffffffffffffffff,%r15
add    $0xffffffffffffffff,%r13
test   %rax,%rax
jne    11d0 <compiler_error+0x60>
lea    (%rcx,%r15,1),%rax
xor    %r14d,%r14d
mov    %rax,%rsi
mov    0x10(%rsp),%r9
cmp    %r9,%rax
jbe    124a <compiler_error+0xda>
mov    %r9,%rsi
sub    %rcx,%rsi
sub    %r15,%rsi
add    %rax,%rsi
mov    %ecx,%edi
sub    %r9d,%edi
add    %r15,%rdi
xor    %r14d,%r14d
mov    %rax,%rdx
nopl   (%rax)
cmpb   $0xa,(%rdx)
je     1247 <compiler_error+0xd7>
add    $0x1,%r14d
add    $0xffffffffffffffff,%rdx
cmp    %r9,%rdx
ja     1230 <compiler_error+0xc0>
mov    %edi,%r14d
jmp    124a <compiler_error+0xda>
mov    %rdx,%rsi
mov    $0x1,%ebx
cmp    %r9,%rax
jb     1363 <compiler_error+0x1f3>
lea    -0x1(%r9),%rdi
cmp    %rdi,%r12
mov    %rdi,%rdx
cmovb  %r12,%rdx
mov    %rcx,%r10
sub    %rdx,%r10
add    %r15,%r10
mov    $0x1,%ebx
cmp    $0x8,%r10
jb     1350 <compiler_error+0x1e0>
mov    %rsi,%r8
mov    %r10,%rdx
and    $0xfffffffffffffff8,%rdx
cmp    %rdi,%r12
cmovb  %r12,%rdi
sub    %rdi,%r13
and    $0xfffffffffffffff8,%r13
mov    %rcx,%rax
sub    %r13,%rax
add    %r15,%rax
mov    %rcx,%rsi
sub    %rdi,%rsi
add    %r15,%rsi
and    $0xfffffffffffffff8,%rsi
neg    %rsi
pxor   %xmm0,%xmm0
movdqa 0xd45(%rip),%xmm1
xor    %edi,%edi
movdqa 0xd4b(%rip),%xmm2
movdqa 0xd53(%rip),%xmm3
nopl   (%rax)
lea    (%rcx,%rdi,1),%rbp
movd   -0x3(%r15,%rbp,1),%xmm4
punpcklbw %xmm4,%xmm4
movd   -0x7(%r15,%rbp,1),%xmm5
punpcklbw %xmm5,%xmm5
pshufd $0xc4,%xmm4,%xmm4
pshuflw $0xe7,%xmm4,%xmm4
pshufhw $0xc5,%xmm4,%xmm4
pcmpeqb %xmm2,%xmm4
pand   %xmm3,%xmm4
paddd  %xmm4,%xmm1
pshufd $0xc4,%xmm5,%xmm4
pshuflw $0xe7,%xmm4,%xmm4
pshufhw $0xc5,%xmm4,%xmm4
pcmpeqb %xmm2,%xmm4
pand   %xmm3,%xmm4
paddd  %xmm4,%xmm0
add    $0xfffffffffffffff8,%rdi
cmp    %rdi,%rsi
jne    12d0 <compiler_error+0x160>
paddd  %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%ebx
cmp    %rdx,%r10
mov    %r8,%rsi
je     1363 <compiler_error+0x1f3>
nopl   0x0(%rax,%rax,1)
xor    %ecx,%ecx
cmpb   $0xa,(%rax)
sete   %cl
add    %ecx,%ebx
add    $0xffffffffffffffff,%rax
cmp    %r9,%rax
jae    1350 <compiler_error+0x1e0>
mov    %rsi,%r12
lea    0x1(%rsi),%rbp
mov    0x2c6f(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movzbl 0x0(%rbp),%eax
test   %al,%al
je     139d <compiler_error+0x22d>
cmp    $0xa,%al
je     139d <compiler_error+0x22d>
mov    (%r15),%esi
movsbl %al,%edi
call   1060 <putc@plt>
add    $0x1,%rbp
jmp    1380 <compiler_error+0x210>
mov    (%r15),%edi
lea    0xca9(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
test   %r14d,%r14d
jle    1407 <compiler_error+0x297>
cmp    $0x1,%r14d
je     13f6 <compiler_error+0x286>
mov    %r14d,%r14d
mov    $0x1,%ebp
lea    0xc6d(%rip),%r13
nopl   0x0(%rax,%rax,1)
cmpb   $0x9,(%r12,%rbp,1)
mov    (%r15),%edi
mov    %r13,%rsi
lea    0xc51(%rip),%rax
cmove  %rax,%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
add    $0x1,%rbp
cmp    %ebp,%r14d
jne    13d0 <compiler_error+0x260>
mov    (%r15),%edi
lea    0xc30(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    (%r15),%edi
lea    0xc26(%rip),%rsi
mov    0xc(%rsp),%edx
mov    0x18(%rsp),%rcx
mov    %ebx,%r8d
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    0x2bad(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>

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

LLVM IR (-O2):
@.str = [2 x i8] c"\0A\00"
@stdout = global i32 0
@stderr = global i32 0
@.str.1 = [3 x i8] c"^\0A\00"
@.str.2 = [2 x i8] c"\09\00"
@.str.3 = [2 x i8] c" \00"
@.str.4 = [27 x i8] c"ERROR %d: %s On Line %d.\0A\0A\00"
@EXIT_FAILURE = global i32 0
define void @compiler_error(i32 %0, i8* %1, i8* readnone %2, i8* %3, i8* %4) {
%6 = ptrtoint i8* %2 to i64
%7 = tail call i32 @putchar(i32 10)
%8 = load i32, i32* @stdout
%9 = tail call i32 @fflush(i32 %8)
%10 = tail call i32 @strlen(i8* %4)
br label %11
11: ; preds = %11, %5
%12 = phi i8* [ %3, %5 ], [ %13, %11 ]
%13 = getelementptr inbounds i8, i8* %12, i64 -1
%14 = tail call i64 @strncmp(i8* %4, i8* %13, i32 %10)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %11
16: ; preds = %11
%17 = ptrtoint i8* %13 to i64
%18 = icmp ugt i8* %13, %2
br i1 %18, label %19, label %34
19: ; preds = %16
%20 = sub i64 %6, %17
%21 = getelementptr i8, i8* %13, i64 %20
%22 = trunc i64 %17 to i32
%23 = trunc i64 %6 to i32
%24 = sub i32 %22, %23
br label %25
25: ; preds = %19, %30
%26 = phi i32 [ %31, %30 ], [ 0, %19 ]
%27 = phi i8* [ %32, %30 ], [ %13, %19 ]
%28 = load i8, i8* %27
%29 = icmp eq i8 %28, 10
br i1 %29, label %34, label %30
30: ; preds = %25
%31 = add nuw nsw i32 %26, 1
%32 = getelementptr inbounds i8, i8* %27, i64 -1
%33 = icmp ugt i8* %32, %2
br i1 %33, label %25, label %34
34: ; preds = %25, %30, %16
%35 = phi i8* [ %13, %16 ], [ %21, %30 ], [ %27, %25 ]
%36 = phi i32 [ 0, %16 ], [ %24, %30 ], [ %26, %25 ]
%37 = icmp ult i8* %13, %2
br i1 %37, label %87, label %38
38: ; preds = %34
%39 = add i64 %17, -1
%40 = add i64 %6, -1
%41 = call i64 @llvm.umin.i64(i64 %39, i64 %40)
%42 = sub i64 %17, %41
%43 = icmp ult i64 %42, 8
br i1 %43, label %75, label %44
44: ; preds = %38
%45 = and i64 %42, -8
%46 = sub i64 0, %45
%47 = getelementptr i8, i8* %13, i64 %46
br label %48
48: ; preds = %48, %44
%49 = phi i64 [ 0, %44 ], [ %69, %48 ]
%50 = phi <4 x i32> [ <i32 1, i32 0, i32 0, i32 0>, %44 ], [ %67, %48 ]
%51 = phi <4 x i32> [ zeroinitializer, %44 ], [ %68, %48 ]
%52 = sub i64 0, %49
%53 = getelementptr i8, i8* %13, i64 %52
%54 = getelementptr i8, i8* %53, i64 -3
%55 = bitcast i8* %54 to <4 x i8>*
%56 = load <4 x i8>, <4 x i8>* %55
%57 = shufflevector <4 x i8> %56, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%58 = getelementptr i8, i8* %53, i64 -4
%59 = getelementptr i8, i8* %58, i64 -3
%60 = bitcast i8* %59 to <4 x i8>*
%61 = load <4 x i8>, <4 x i8>* %60
%62 = shufflevector <4 x i8> %61, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%63 = icmp eq <4 x i8> %57, <i8 10, i8 10, i8 10, i8 10>
%64 = icmp eq <4 x i8> %62, <i8 10, i8 10, i8 10, i8 10>
%65 = zext <4 x i1> %63 to <4 x i32>
%66 = zext <4 x i1> %64 to <4 x i32>
%67 = add <4 x i32> %50, %65
%68 = add <4 x i32> %51, %66
%69 = add nuw i64 %49, 8
%70 = icmp eq i64 %69, %45
br i1 %70, label %71, label %48
71: ; preds = %48
%72 = add <4 x i32> %68, %67
%73 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %72)
%74 = icmp eq i64 %42, %45
br i1 %74, label %87, label %75
75: ; preds = %38, %71
%76 = phi i32 [ 1, %38 ], [ %73, %71 ]
%77 = phi i8* [ %13, %38 ], [ %47, %71 ]
br label %78
78: ; preds = %75, %78
%79 = phi i32 [ %84, %78 ], [ %76, %75 ]
%80 = phi i8* [ %85, %78 ], [ %77, %75 ]
%81 = load i8, i8* %80
%82 = icmp eq i8 %81, 10
%83 = zext i1 %82 to i32
%84 = add nuw nsw i32 %79, %83
%85 = getelementptr inbounds i8, i8* %80, i64 -1
%86 = icmp ult i8* %85, %2
br i1 %86, label %87, label %78
87: ; preds = %78, %71, %34
%88 = phi i32 [ 1, %34 ], [ %73, %71 ], [ %84, %78 ]
%89 = getelementptr inbounds i8, i8* %35, i64 1
br label %90
90: ; preds = %93, %87
%91 = phi i8* [ %89, %87 ], [ %96, %93 ]
%92 = load i8, i8* %91
switch i8 %92, label %93 [
i8 10, label %97
i8 0, label %97
]
93: ; preds = %90
%94 = load i32, i32* @stderr
%95 = tail call i32 @putc(i8 signext %92, i32 %94)
%96 = getelementptr inbounds i8, i8* %91, i64 1
br label %90
97: ; preds = %90, %90
%98 = load i32, i32* @stderr
%99 = tail call i32 (i32, i8*, ...) @fprintf(i32 %98, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%100 = icmp sgt i32 %36, 0
br i1 %100, label %101, label %118
101: ; preds = %97
%102 = add nsw i32 %36, -1
%103 = icmp eq i32 %102, 0
br i1 %103, label %115, label %104
104: ; preds = %101, %104
%105 = phi i32 [ %113, %104 ], [ %102, %101 ]
%106 = phi i8* [ %112, %104 ], [ %89, %101 ]
%107 = load i8, i8* %106
%108 = icmp eq i8 %107, 9
%109 = load i32, i32* @stderr
%110 = select i1 %108, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%111 = tail call i32 (i32, i8*, ...) @fprintf(i32 %109, i8* %110)
%112 = getelementptr inbounds i8, i8* %106, i64 1
%113 = add nsw i32 %105, -1
%114 = icmp eq i32 %113, 0
br i1 %114, label %115, label %104
115: ; preds = %104, %101
%116 = load i32, i32* @stderr
%117 = tail call i32 (i32, i8*, ...) @fprintf(i32 %116, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %118
118: ; preds = %115, %97
%119 = load i32, i32* @stderr
%120 = tail call i32 (i32, i8*, ...) @fprintf(i32 %119, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i32 %0, i8* %1, i32 %88)
%121 = load i32, i32* @EXIT_FAILURE
%122 = tail call i32 @exit(i32 %121)
unreachable
}