#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 EXIT_SUCCESS;
int /*<<< orphan*/ print_foot();
int /*<<< orphan*/ print_head(char *, double);
int /*<<< orphan*/ print_label(int, double, int);
int /*<<< orphan*/ print_start(double);
int /*<<< orphan*/ print_stop(double);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int main(int argc, char **argv) {
  int in_length;
  char car_number[12];
  int i;
  int checksum = 0;
  int checkdigit;
  double bordersize = 3.0;
  if (argc != 2) {
    printf("Usage: kartrak {number}\n");
    printf("Where {number} is the number to be encoded, up to 10 digits\n");
    return 0;
  } else {
    in_length = strlen(argv[1]);
    if (in_length > 10) {
      printf("Input data too long\n");
      return 0;
    } else {
      strcpy(car_number, "");
      for (i = in_length; i < 10; i++) {
        strcat(car_number, "0");
      }
      strcat(car_number, argv[1]);
    }
  }
  for (i = 0; i < 10; i++) {
    if ((car_number[i] < '0') || (car_number[i] > '9')) {
      printf("Invalid character(s) in input data\n");
      return 0;
    }
    checksum += (car_number[i] - '0') * (1 << i);
  }
  checkdigit = checksum % 11;
  print_head(car_number, bordersize);
  print_start(bordersize);
  for (i = 0; i < 10; i++) {
    print_label((i + 1), bordersize, car_number[i] - '0');
  }
  print_stop(bordersize);
  print_label(12, bordersize, checkdigit);
  print_foot();
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x28(%rbp)
movsd  0xe4b(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     11e8 <main+0x58>
lea    0xe3d(%rip),%rdi
call   1070 <printf@plt>
lea    0xe4a(%rip),%rdi
call   1070 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    137a <main+0x1ea>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jle    121a <main+0x8a>
lea    0xe55(%rip),%rdi
call   1070 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    137a <main+0x1ea>
lea    -0x20(%rbp),%rdi
lea    0xe73(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x24(%rbp)
cmpl   $0xa,-0x24(%rbp)
jge    1258 <main+0xc8>
lea    -0x20(%rbp),%rdi
lea    0xe2e(%rip),%rsi
call   10a0 <strcat@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1230 <main+0xa0>
lea    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   10a0 <strcat@plt>
jmp    126e <main+0xde>
movl   $0x0,-0x24(%rbp)
cmpl   $0xa,-0x24(%rbp)
jge    12ea <main+0x15a>
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
cmp    $0x30,%eax
jl     12a3 <main+0x113>
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
cmp    $0x39,%eax
jle    12bb <main+0x12b>
lea    0xdcb(%rip),%rdi
call   1070 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    137a <main+0x1ea>
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
sub    $0x30,%eax
mov    -0x24(%rbp),%ecx
mov    $0x1,%edx
shl    %cl,%edx
mov    %edx,%ecx
imul   %ecx,%eax
add    -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1275 <main+0xe5>
mov    -0x28(%rbp),%eax
mov    $0xb,%ecx
cltd
idiv   %ecx
mov    %edx,-0x2c(%rbp)
lea    -0x20(%rbp),%rdi
movsd  -0x38(%rbp),%xmm0
call   1080 <print_head@plt>
movsd  -0x38(%rbp),%xmm0
call   10b0 <print_start@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0xa,-0x24(%rbp)
jge    134b <main+0x1bb>
mov    -0x24(%rbp),%edi
add    $0x1,%edi
movsd  -0x38(%rbp),%xmm0
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%esi
sub    $0x30,%esi
call   1040 <print_label@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1317 <main+0x187>
movsd  -0x38(%rbp),%xmm0
call   1090 <print_stop@plt>
movsd  -0x38(%rbp),%xmm0
mov    -0x2c(%rbp),%esi
mov    $0xc,%edi
call   1040 <print_label@plt>
mov    $0x0,%al
call   1060 <print_foot@plt>
mov    0x2c6b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x18,%rsp
cmp    $0x2,%edi
jne    11bc <main+0x2c>
mov    %rsi,%r14
mov    0x8(%rsi),%rdi
call   1060 <strlen@plt>
cmp    $0xb,%eax
jl     11d4 <main+0x44>
lea    0xe76(%rip),%rdi
jmp    12c6 <main+0x136>
lea    0xe7e(%rip),%rdi
call   1040 <puts@plt>
lea    0xe8a(%rip),%rdi
jmp    12c6 <main+0x136>
mov    %eax,%ebx
lea    0xe2c(%rip),%rsi
lea    0xc(%rsp),%rdi
call   1030 <strcpy@plt>
cmp    $0xa,%ebx
je     1220 <main+0x90>
mov    $0x9,%ebp
cmovge %ebx,%ebp
sub    %ebx,%ebp
add    $0x1,%ebp
lea    0xe08(%rip),%r15
lea    0xc(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rdi
mov    %r15,%rsi
call   10a0 <strcat@plt>
add    $0xffffffff,%ebp
jne    1210 <main+0x80>
mov    0x8(%r14),%rsi
lea    0xc(%rsp),%rdi
call   10a0 <strcat@plt>
movzbl 0xc(%rsp),%eax
lea    -0x3a(%rax),%ecx
cmp    $0xf5,%cl
jbe    12bf <main+0x12f>
movzbl 0xd(%rsp),%ecx
lea    -0x3a(%rcx),%edx
cmp    $0xf6,%dl
jb     12bf <main+0x12f>
movzbl 0xe(%rsp),%edx
lea    -0x3a(%rdx),%esi
cmp    $0xf6,%sil
jb     12bf <main+0x12f>
movzbl 0xf(%rsp),%esi
lea    -0x3a(%rsi),%edi
cmp    $0xf6,%dil
jb     12bf <main+0x12f>
movzbl 0x10(%rsp),%edi
lea    -0x3a(%rdi),%ebp
cmp    $0xf6,%bpl
jb     12bf <main+0x12f>
movzbl 0x11(%rsp),%ebp
lea    -0x3a(%rbp),%ebx
cmp    $0xf6,%bl
jb     12bf <main+0x12f>
movzbl 0x12(%rsp),%r11d
lea    -0x3a(%r11),%ebx
cmp    $0xf6,%bl
jb     12bf <main+0x12f>
movzbl 0x13(%rsp),%r10d
lea    -0x3a(%r10),%ebx
cmp    $0xf6,%bl
jb     12bf <main+0x12f>
movzbl 0x14(%rsp),%r9d
lea    -0x3a(%r9),%ebx
cmp    $0xf6,%bl
jb     12bf <main+0x12f>
movzbl 0x15(%rsp),%r8d
lea    -0x3a(%r8),%ebx
cmp    $0xf6,%bl
jae    12d8 <main+0x148>
lea    0xd44(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
movzwl %r10w,%r10d
shl    $0x7,%r10d
movzwl %r11w,%ebx
shl    $0x6,%ebx
movzwl %bp,%ebp
shl    $0x5,%ebp
movzwl %di,%edi
shl    $0x4,%edi
movzwl %si,%esi
movzwl %dx,%edx
movzwl %cx,%ecx
movzwl %ax,%eax
lea    (%rax,%rcx,2),%eax
lea    (%rax,%rdx,4),%eax
lea    (%rax,%rsi,8),%eax
add    %edi,%eax
add    %ebp,%eax
add    %ebx,%eax
add    %r10d,%eax
movzwl %r9w,%ecx
shl    $0x8,%ecx
add    %eax,%ecx
movzwl %r8w,%eax
shl    $0x9,%eax
lea    (%rax,%rcx,1),%ebx
add    $0x4030,%ebx
lea    0xc(%rsp),%rdi
movsd  0xcc9(%rip),%xmm0
call   1080 <print_head@plt>
movsd  0xcbc(%rip),%xmm0
call   10b0 <print_start@plt>
movsbl 0xc(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x1,%edi
movsd  0xca2(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0xd(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x2,%edi
movsd  0xc88(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0xe(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x3,%edi
movsd  0xc6e(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0xf(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x4,%edi
movsd  0xc54(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0x10(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x5,%edi
movsd  0xc3a(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0x11(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x6,%edi
movsd  0xc20(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0x12(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x7,%edi
movsd  0xc06(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0x13(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x8,%edi
movsd  0xbec(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0x14(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0x9,%edi
movsd  0xbd2(%rip),%xmm0
call   1050 <print_label@plt>
movsbl 0x15(%rsp),%esi
add    $0xffffffd0,%esi
mov    $0xa,%edi
movsd  0xbb8(%rip),%xmm0
call   1050 <print_label@plt>
movzwl %bx,%eax
imul   $0xba2f,%eax,%eax
shr    $0x13,%eax
lea    (%rax,%rax,4),%ecx
lea    (%rax,%rcx,2),%eax
sub    %eax,%ebx
movzwl %bx,%ebx
movsd  0xb94(%rip),%xmm0
call   1090 <print_stop@plt>
mov    $0xc,%edi
movsd  0xb82(%rip),%xmm0
mov    %ebx,%esi
call   1050 <print_label@plt>
xor    %eax,%eax
call   1070 <print_foot@plt>
mov    0x2b4d(%rip),%rax
mov    (%rax),%eax
jmp    12cd <main+0x13d>

LLVM IR (-O0):
@.str = [25 x i8] c"Usage: kartrak {number}\0A\00"
@.str.1 = [61 x i8] c"Where {number} is the number to be encoded, up to 10 digits\0A\00"
@.str.2 = [21 x i8] c"Input data too long\0A\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [2 x i8] c"0\00"
@.str.5 = [36 x i8] c"Invalid character(s) in input data\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca [12 x i8]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %9
store double 3.000000e+00, double* %11
%12 = load i32, i32* %4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %114
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i32 @strlen(i8* %20)
store i32 %21, i32* %6
%22 = load i32, i32* %6
%23 = icmp sgt i32 %22, 10
br i1 %23, label %24, label %26
24: ; preds = %17
%25 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %3
br label %114
26: ; preds = %17
%27 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 0
%28 = call i32 @strcpy(i8* %27, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%29 = load i32, i32* %6
store i32 %29, i32* %8
br label %30
30: ; preds = %36, %26
%31 = load i32, i32* %8
%32 = icmp slt i32 %31, 10
br i1 %32, label %33, label %39
33: ; preds = %30
%34 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 0
%35 = call i32 @strcat(i8* %34, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %36
36: ; preds = %33
%37 = load i32, i32* %8
%38 = add nsw i32 %37, 1
store i32 %38, i32* %8
br label %30
39: ; preds = %30
%40 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 0
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 1
%43 = load i8*, i8** %42
%44 = call i32 @strcat(i8* %40, i8* %43)
br label %45
45: ; preds = %39
br label %46
46: ; preds = %45
store i32 0, i32* %8
br label %47
47: ; preds = %78, %46
%48 = load i32, i32* %8
%49 = icmp slt i32 %48, 10
br i1 %49, label %50, label %81
50: ; preds = %47
%51 = load i32, i32* %8
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 %52
%54 = load i8, i8* %53
%55 = sext i8 %54 to i32
%56 = icmp slt i32 %55, 48
br i1 %56, label %64, label %57
57: ; preds = %50
%58 = load i32, i32* %8
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 %59
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp sgt i32 %62, 57
br i1 %63, label %64, label %66
64: ; preds = %57, %50
%65 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %3
br label %114
66: ; preds = %57
%67 = load i32, i32* %8
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 %68
%70 = load i8, i8* %69
%71 = sext i8 %70 to i32
%72 = sub nsw i32 %71, 48
%73 = load i32, i32* %8
%74 = shl i32 1, %73
%75 = mul nsw i32 %72, %74
%76 = load i32, i32* %9
%77 = add nsw i32 %76, %75
store i32 %77, i32* %9
br label %78
78: ; preds = %66
%79 = load i32, i32* %8
%80 = add nsw i32 %79, 1
store i32 %80, i32* %8
br label %47
81: ; preds = %47
%82 = load i32, i32* %9
%83 = srem i32 %82, 11
store i32 %83, i32* %10
%84 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 0
%85 = load double, double* %11
%86 = call i32 @print_head(i8* %84, double %85)
%87 = load double, double* %11
%88 = call i32 @print_start(double %87)
store i32 0, i32* %8
br label %89
89: ; preds = %103, %81
%90 = load i32, i32* %8
%91 = icmp slt i32 %90, 10
br i1 %91, label %92, label %106
92: ; preds = %89
%93 = load i32, i32* %8
%94 = add nsw i32 %93, 1
%95 = load double, double* %11
%96 = load i32, i32* %8
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 %97
%99 = load i8, i8* %98
%100 = sext i8 %99 to i32
%101 = sub nsw i32 %100, 48
%102 = call i32 @print_label(i32 %94, double %95, i32 %101)
br label %103
103: ; preds = %92
%104 = load i32, i32* %8
%105 = add nsw i32 %104, 1
store i32 %105, i32* %8
br label %89
106: ; preds = %89
%107 = load double, double* %11
%108 = call i32 @print_stop(double %107)
%109 = load double, double* %11
%110 = load i32, i32* %10
%111 = call i32 @print_label(i32 12, double %109, i32 %110)
%112 = call i32 (...) @print_foot()
%113 = load i32, i32* @EXIT_SUCCESS
store i32 %113, i32* %3
br label %114
114: ; preds = %106, %64, %24, %14
%115 = load i32, i32* %3
ret i32 %115
}

LLVM IR (-O2):
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [2 x i8] c"0\00"
@EXIT_SUCCESS = global i32 0
@str = [35 x i8] c"Invalid character(s) in input data\00"
@str.6 = [20 x i8] c"Input data too long\00"
@str.7 = [24 x i8] c"Usage: kartrak {number}\00"
@str.8 = [60 x i8] c"Where {number} is the number to be encoded, up to 10 digits\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [12 x i8]
%4 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 0
%5 = icmp eq i32 %0, 2
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.7, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.8, i64 0, i64 0))
br label %157
9: ; preds = %2
%10 = getelementptr inbounds i8*, i8** %1, i64 1
%11 = load i8*, i8** %10
%12 = tail call i32 @strlen(i8* %11)
%13 = icmp sgt i32 %12, 10
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.6, i64 0, i64 0))
br label %157
16: ; preds = %9
%17 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%18 = icmp eq i32 %12, 10
br i1 %18, label %26, label %19
19: ; preds = %16
%20 = call i32 @llvm.smax.i32(i32 %12, i32 9)
br label %21
21: ; preds = %19, %21
%22 = phi i32 [ %24, %21 ], [ %12, %19 ]
%23 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%24 = add i32 %22, 1
%25 = icmp eq i32 %22, %20
br i1 %25, label %26, label %21
26: ; preds = %21, %16
%27 = load i8*, i8** %10
%28 = call i32 @strcat(i8* %4, i8* %27)
%29 = load i8, i8* %4
%30 = add i8 %29, -58
%31 = icmp ult i8 %30, -10
br i1 %31, label %32, label %34
32: ; preds = %74, %69, %64, %59, %54, %49, %44, %39, %34, %26
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
br label %157
34: ; preds = %26
%35 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 1
%36 = load i8, i8* %35
%37 = add i8 %36, -58
%38 = icmp ult i8 %37, -10
br i1 %38, label %32, label %39
39: ; preds = %34
%40 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 2
%41 = load i8, i8* %40
%42 = add i8 %41, -58
%43 = icmp ult i8 %42, -10
br i1 %43, label %32, label %44
44: ; preds = %39
%45 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 3
%46 = load i8, i8* %45
%47 = add i8 %46, -58
%48 = icmp ult i8 %47, -10
br i1 %48, label %32, label %49
49: ; preds = %44
%50 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 4
%51 = load i8, i8* %50
%52 = add i8 %51, -58
%53 = icmp ult i8 %52, -10
br i1 %53, label %32, label %54
54: ; preds = %49
%55 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 5
%56 = load i8, i8* %55
%57 = add i8 %56, -58
%58 = icmp ult i8 %57, -10
br i1 %58, label %32, label %59
59: ; preds = %54
%60 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 6
%61 = load i8, i8* %60
%62 = add i8 %61, -58
%63 = icmp ult i8 %62, -10
br i1 %63, label %32, label %64
64: ; preds = %59
%65 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 7
%66 = load i8, i8* %65
%67 = add i8 %66, -58
%68 = icmp ult i8 %67, -10
br i1 %68, label %32, label %69
69: ; preds = %64
%70 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 8
%71 = load i8, i8* %70
%72 = add i8 %71, -58
%73 = icmp ult i8 %72, -10
br i1 %73, label %32, label %74
74: ; preds = %69
%75 = getelementptr inbounds [12 x i8], [12 x i8]* %3, i64 0, i64 9
%76 = load i8, i8* %75
%77 = add i8 %76, -58
%78 = icmp ult i8 %77, -10
br i1 %78, label %32, label %79
79: ; preds = %74
%80 = zext i8 %66 to i16
%81 = shl nuw nsw i16 %80, 7
%82 = zext i8 %61 to i16
%83 = shl nuw nsw i16 %82, 6
%84 = zext i8 %56 to i16
%85 = shl nuw nsw i16 %84, 5
%86 = zext i8 %51 to i16
%87 = shl nuw nsw i16 %86, 4
%88 = zext i8 %46 to i16
%89 = shl nuw nsw i16 %88, 3
%90 = zext i8 %41 to i16
%91 = shl nuw nsw i16 %90, 2
%92 = zext i8 %36 to i16
%93 = shl nuw nsw i16 %92, 1
%94 = zext i8 %29 to i16
%95 = add nuw nsw i16 %93, %94
%96 = add nuw nsw i16 %91, %95
%97 = add nuw nsw i16 %89, %96
%98 = add nuw nsw i16 %87, %97
%99 = add nuw nsw i16 %85, %98
%100 = add i16 %83, %99
%101 = add i16 %81, %100
%102 = zext i8 %71 to i16
%103 = shl nuw i16 %102, 8
%104 = add i16 %103, %101
%105 = zext i8 %76 to i16
%106 = shl i16 %105, 9
%107 = add i16 %106, %104
%108 = add i16 %107, 16432
%109 = call i32 @print_head(i8* %4, double 3.000000e+00)
%110 = call i32 @print_start(double 3.000000e+00)
%111 = load i8, i8* %4
%112 = sext i8 %111 to i32
%113 = add nsw i32 %112, -48
%114 = call i32 @print_label(i32 1, double 3.000000e+00, i32 %113)
%115 = load i8, i8* %35
%116 = sext i8 %115 to i32
%117 = add nsw i32 %116, -48
%118 = call i32 @print_label(i32 2, double 3.000000e+00, i32 %117)
%119 = load i8, i8* %40
%120 = sext i8 %119 to i32
%121 = add nsw i32 %120, -48
%122 = call i32 @print_label(i32 3, double 3.000000e+00, i32 %121)
%123 = load i8, i8* %45
%124 = sext i8 %123 to i32
%125 = add nsw i32 %124, -48
%126 = call i32 @print_label(i32 4, double 3.000000e+00, i32 %125)
%127 = load i8, i8* %50
%128 = sext i8 %127 to i32
%129 = add nsw i32 %128, -48
%130 = call i32 @print_label(i32 5, double 3.000000e+00, i32 %129)
%131 = load i8, i8* %55
%132 = sext i8 %131 to i32
%133 = add nsw i32 %132, -48
%134 = call i32 @print_label(i32 6, double 3.000000e+00, i32 %133)
%135 = load i8, i8* %60
%136 = sext i8 %135 to i32
%137 = add nsw i32 %136, -48
%138 = call i32 @print_label(i32 7, double 3.000000e+00, i32 %137)
%139 = load i8, i8* %65
%140 = sext i8 %139 to i32
%141 = add nsw i32 %140, -48
%142 = call i32 @print_label(i32 8, double 3.000000e+00, i32 %141)
%143 = load i8, i8* %70
%144 = sext i8 %143 to i32
%145 = add nsw i32 %144, -48
%146 = call i32 @print_label(i32 9, double 3.000000e+00, i32 %145)
%147 = load i8, i8* %75
%148 = sext i8 %147 to i32
%149 = add nsw i32 %148, -48
%150 = call i32 @print_label(i32 10, double 3.000000e+00, i32 %149)
%151 = urem i16 %108, 11
%152 = zext i16 %151 to i32
%153 = call i32 @print_stop(double 3.000000e+00)
%154 = call i32 @print_label(i32 12, double 3.000000e+00, i32 %152)
%155 = call i32 (...) @print_foot()
%156 = load i32, i32* @EXIT_SUCCESS
br label %157
157: ; preds = %79, %32, %14, %6
%158 = phi i32 [ 0, %6 ], [ 0, %14 ], [ 0, %32 ], [ %156, %79 ]
ret i32 %158
}