#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 check_int(char *);
int /*<<< orphan*/ ewe(char *, char *);
int /*<<< orphan*/ sscanf(char *, char *, int *);
scalar_t__ strcmp(char *, char *);
int english_to_bin(char *in) {
  int ret = 0;
  if (check_int(in) == 1) {
    sscanf(in, "%d", &ret);
    return ret;
  }
  if (strcmp(in, "true") == 0) {
    return 1;
  } else if (strcmp(in, "false") == 0) {
    return 0;
  } else if (strcmp(in, "1") == 0) {
    return 1;
  } else if (strcmp(in, "0") == 0) {
    return 0;
  } else if (strcmp(in, "yes") == 0) {
    return 1;
  } else if (strcmp(in, "no") == 0) {
    return 0;
  } else if (strcmp(in, "left") == 0) {
    return 0;
  } else if (strcmp(in, "links") == 0) {
    return 0;
  } else if (strcmp(in, "ja") == 0) {
    return 1;
  } else if (strcmp(in, "nein") == 0) {
    return 0;
  } else if (strcmp(in, "right") == 0) {
    return 1;
  } else if (strcmp(in, "rechts") == 0) {
    return 1;
  } else if (strcmp(in, "gaus") == 0) {
    return 0;
  } else if (strcmp(in, "exp") == 0) {
    return 1;
  } else if (strcmp(in, "exponential") == 0) {
    return 0;
  } else if (strcmp(in, "complex") == 0) {
    return 1;
  } else if (strcmp(in, "open_circuit") == 0) {
    return 0;
  } else if (strcmp(in, "load") == 0) {
    return 1;
  } else if (strcmp(in, "none") == 0) {
    return 0;
  } else if (strcmp(in, "screen") == 0) {
    return 1;
  } else if (strcmp(in, "disk") == 0) {
    return 2;
  } else if (strcmp(in, "screen_and_disk") == 0) {
    return 3;
  }
  ewe("I don't understand the command %s\n", in);
  return 0;
}


x86 assembly (clang, -O0):
<english_to_bin>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <check_int@plt>
cmp    $0x1,%eax
jne    1184 <english_to_bin+0x44>
mov    -0x10(%rbp),%rdi
lea    0xe90(%rip),%rsi
lea    -0x14(%rbp),%rdx
call   1060 <sscanf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xe74(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11aa <english_to_bin+0x6a>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xe53(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11d0 <english_to_bin+0x90>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xe33(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11f6 <english_to_bin+0xb6>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xe0f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    121c <english_to_bin+0xdc>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xdeb(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1242 <english_to_bin+0x102>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xdc9(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1268 <english_to_bin+0x128>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xda6(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    128e <english_to_bin+0x14e>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xd85(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12b4 <english_to_bin+0x174>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xd65(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12da <english_to_bin+0x19a>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xd42(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1300 <english_to_bin+0x1c0>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xd21(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1326 <english_to_bin+0x1e6>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xd01(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    134c <english_to_bin+0x20c>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xce2(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1372 <english_to_bin+0x232>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xcc1(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1398 <english_to_bin+0x258>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xc9f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13be <english_to_bin+0x27e>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xc85(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13e4 <english_to_bin+0x2a4>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xc67(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    140a <english_to_bin+0x2ca>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xc4e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1430 <english_to_bin+0x2f0>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xc2d(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1456 <english_to_bin+0x316>
movl   $0x0,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xc0c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    147c <english_to_bin+0x33c>
movl   $0x1,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xbf8(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    14a2 <english_to_bin+0x362>
movl   $0x2,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
mov    -0x10(%rbp),%rdi
lea    0xbc7(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    14c8 <english_to_bin+0x388>
movl   $0x3,-0x4(%rbp)
jmp    1548 <english_to_bin+0x408>
jmp    14cd <english_to_bin+0x38d>
jmp    14d2 <english_to_bin+0x392>
jmp    14d7 <english_to_bin+0x397>
jmp    14dc <english_to_bin+0x39c>
jmp    14e1 <english_to_bin+0x3a1>
jmp    14e6 <english_to_bin+0x3a6>
jmp    14eb <english_to_bin+0x3ab>
jmp    14f0 <english_to_bin+0x3b0>
jmp    14f5 <english_to_bin+0x3b5>
jmp    14fa <english_to_bin+0x3ba>
jmp    14ff <english_to_bin+0x3bf>
jmp    1504 <english_to_bin+0x3c4>
jmp    1509 <english_to_bin+0x3c9>
jmp    150e <english_to_bin+0x3ce>
jmp    1513 <english_to_bin+0x3d3>
jmp    1518 <english_to_bin+0x3d8>
jmp    151d <english_to_bin+0x3dd>
jmp    1522 <english_to_bin+0x3e2>
jmp    1527 <english_to_bin+0x3e7>
jmp    152c <english_to_bin+0x3ec>
jmp    1531 <english_to_bin+0x3f1>
mov    -0x10(%rbp),%rsi
lea    0xb48(%rip),%rdi
call   1040 <ewe@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<english_to_bin>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
movl   $0x0,0x4(%rsp)
call   1030 <check_int@plt>
cmp    $0x1,%eax
jne    1175 <english_to_bin+0x35>
lea    0xea1(%rip),%rsi
lea    0x4(%rsp),%rdx
mov    %rbx,%rdi
call   1060 <sscanf@plt>
mov    0x4(%rsp),%ebp
jmp    1383 <english_to_bin+0x243>
lea    0xe87(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
mov    $0x1,%ebp
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xe6f(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xe5d(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xe47(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xe31(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xe1d(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xe08(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xdf5(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xde3(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xdce(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xdbb(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xda9(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xd98(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xd85(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xd71(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xd65(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xd55(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xd4e(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xd3f(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1381 <english_to_bin+0x241>
lea    0xd30(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1383 <english_to_bin+0x243>
lea    0xd2e(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     138c <english_to_bin+0x24c>
lea    0xd0f(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1393 <english_to_bin+0x253>
lea    0xd0b(%rip),%rdi
mov    %rbx,%rsi
call   1040 <ewe@plt>
xor    %ebp,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
mov    $0x2,%ebp
jmp    1383 <english_to_bin+0x243>
mov    $0x3,%ebp
jmp    1383 <english_to_bin+0x243>

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"true\00"
@.str.2 = [6 x i8] c"false\00"
@.str.3 = [2 x i8] c"1\00"
@.str.4 = [2 x i8] c"0\00"
@.str.5 = [4 x i8] c"yes\00"
@.str.6 = [3 x i8] c"no\00"
@.str.7 = [5 x i8] c"left\00"
@.str.8 = [6 x i8] c"links\00"
@.str.9 = [3 x i8] c"ja\00"
@.str.10 = [5 x i8] c"nein\00"
@.str.11 = [6 x i8] c"right\00"
@.str.12 = [7 x i8] c"rechts\00"
@.str.13 = [5 x i8] c"gaus\00"
@.str.14 = [4 x i8] c"exp\00"
@.str.15 = [12 x i8] c"exponential\00"
@.str.16 = [8 x i8] c"complex\00"
@.str.17 = [13 x i8] c"open_circuit\00"
@.str.18 = [5 x i8] c"load\00"
@.str.19 = [5 x i8] c"none\00"
@.str.20 = [7 x i8] c"screen\00"
@.str.21 = [5 x i8] c"disk\00"
@.str.22 = [16 x i8] c"screen_and_disk\00"
@.str.23 = [35 x i8] c"I don't understand the command %s\0A\00"
define i32 @english_to_bin(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i32
store i8* %0, i8** %3
store i32 0, i32* %4
%5 = load i8*, i8** %3
%6 = call i32 @check_int(i8* %5)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i32 @sscanf(i8* %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%11 = load i32, i32* %4
store i32 %11, i32* %2
br label %146
12: ; preds = %1
%13 = load i8*, i8** %3
%14 = call i64 @strcmp(i8* %13, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 1, i32* %2
br label %146
17: ; preds = %12
%18 = load i8*, i8** %3
%19 = call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store i32 0, i32* %2
br label %146
22: ; preds = %17
%23 = load i8*, i8** %3
%24 = call i64 @strcmp(i8* %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 1, i32* %2
br label %146
27: ; preds = %22
%28 = load i8*, i8** %3
%29 = call i64 @strcmp(i8* %28, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 0, i32* %2
br label %146
32: ; preds = %27
%33 = load i8*, i8** %3
%34 = call i64 @strcmp(i8* %33, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32
store i32 1, i32* %2
br label %146
37: ; preds = %32
%38 = load i8*, i8** %3
%39 = call i64 @strcmp(i8* %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 0, i32* %2
br label %146
42: ; preds = %37
%43 = load i8*, i8** %3
%44 = call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %42
store i32 0, i32* %2
br label %146
47: ; preds = %42
%48 = load i8*, i8** %3
%49 = call i64 @strcmp(i8* %48, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %47
store i32 0, i32* %2
br label %146
52: ; preds = %47
%53 = load i8*, i8** %3
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %52
store i32 1, i32* %2
br label %146
57: ; preds = %52
%58 = load i8*, i8** %3
%59 = call i64 @strcmp(i8* %58, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %57
store i32 0, i32* %2
br label %146
62: ; preds = %57
%63 = load i8*, i8** %3
%64 = call i64 @strcmp(i8* %63, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %67
66: ; preds = %62
store i32 1, i32* %2
br label %146
67: ; preds = %62
%68 = load i8*, i8** %3
%69 = call i64 @strcmp(i8* %68, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0))
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %67
store i32 1, i32* %2
br label %146
72: ; preds = %67
%73 = load i8*, i8** %3
%74 = call i64 @strcmp(i8* %73, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %72
store i32 0, i32* %2
br label %146
77: ; preds = %72
%78 = load i8*, i8** %3
%79 = call i64 @strcmp(i8* %78, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 1, i32* %2
br label %146
82: ; preds = %77
%83 = load i8*, i8** %3
%84 = call i64 @strcmp(i8* %83, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%85 = icmp eq i64 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %82
store i32 0, i32* %2
br label %146
87: ; preds = %82
%88 = load i8*, i8** %3
%89 = call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %87
store i32 1, i32* %2
br label %146
92: ; preds = %87
%93 = load i8*, i8** %3
%94 = call i64 @strcmp(i8* %93, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0))
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %92
store i32 0, i32* %2
br label %146
97: ; preds = %92
%98 = load i8*, i8** %3
%99 = call i64 @strcmp(i8* %98, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%100 = icmp eq i64 %99, 0
br i1 %100, label %101, label %102
101: ; preds = %97
store i32 1, i32* %2
br label %146
102: ; preds = %97
%103 = load i8*, i8** %3
%104 = call i64 @strcmp(i8* %103, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%105 = icmp eq i64 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %102
store i32 0, i32* %2
br label %146
107: ; preds = %102
%108 = load i8*, i8** %3
%109 = call i64 @strcmp(i8* %108, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0))
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %107
store i32 1, i32* %2
br label %146
112: ; preds = %107
%113 = load i8*, i8** %3
%114 = call i64 @strcmp(i8* %113, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %112
store i32 2, i32* %2
br label %146
117: ; preds = %112
%118 = load i8*, i8** %3
%119 = call i64 @strcmp(i8* %118, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0))
%120 = icmp eq i64 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %117
store i32 3, i32* %2
br label %146
122: ; preds = %117
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
br label %125
125: ; preds = %124
br label %126
126: ; preds = %125
br label %127
127: ; preds = %126
br label %128
128: ; preds = %127
br label %129
129: ; preds = %128
br label %130
130: ; preds = %129
br label %131
131: ; preds = %130
br label %132
132: ; preds = %131
br label %133
133: ; preds = %132
br label %134
134: ; preds = %133
br label %135
135: ; preds = %134
br label %136
136: ; preds = %135
br label %137
137: ; preds = %136
br label %138
138: ; preds = %137
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
br label %141
141: ; preds = %140
br label %142
142: ; preds = %141
br label %143
143: ; preds = %142
%144 = load i8*, i8** %3
%145 = call i32 @ewe(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.23, i64 0, i64 0), i8* %144)
store i32 0, i32* %2
br label %146
146: ; preds = %143, %121, %116, %111, %106, %101, %96, %91, %86, %81, %76, %71, %66, %61, %56, %51, %46, %41, %36, %31, %26, %21, %16, %8
%147 = load i32, i32* %2
ret i32 %147
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [5 x i8] c"true\00"
@.str.2 = [6 x i8] c"false\00"
@.str.3 = [2 x i8] c"1\00"
@.str.4 = [2 x i8] c"0\00"
@.str.5 = [4 x i8] c"yes\00"
@.str.6 = [3 x i8] c"no\00"
@.str.7 = [5 x i8] c"left\00"
@.str.8 = [6 x i8] c"links\00"
@.str.9 = [3 x i8] c"ja\00"
@.str.10 = [5 x i8] c"nein\00"
@.str.11 = [6 x i8] c"right\00"
@.str.12 = [7 x i8] c"rechts\00"
@.str.13 = [5 x i8] c"gaus\00"
@.str.14 = [4 x i8] c"exp\00"
@.str.15 = [12 x i8] c"exponential\00"
@.str.16 = [8 x i8] c"complex\00"
@.str.17 = [13 x i8] c"open_circuit\00"
@.str.18 = [5 x i8] c"load\00"
@.str.19 = [5 x i8] c"none\00"
@.str.20 = [7 x i8] c"screen\00"
@.str.21 = [5 x i8] c"disk\00"
@.str.22 = [16 x i8] c"screen_and_disk\00"
@.str.23 = [35 x i8] c"I don't understand the command %s\0A\00"
define i32 @english_to_bin(i8* %0) {
%2 = alloca i32
%3 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%4 = tail call i32 @check_int(i8* %0)
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @sscanf(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
%8 = load i32, i32* %2
br label %77
9: ; preds = %1
%10 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %77, label %12
12: ; preds = %9
%13 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %77, label %15
15: ; preds = %12
%16 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %77, label %18
18: ; preds = %15
%19 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %77, label %21
21: ; preds = %18
%22 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %77, label %24
24: ; preds = %21
%25 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %77, label %27
27: ; preds = %24
%28 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %77, label %30
30: ; preds = %27
%31 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %77, label %33
33: ; preds = %30
%34 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %77, label %36
36: ; preds = %33
%37 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %77, label %39
39: ; preds = %36
%40 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %77, label %42
42: ; preds = %39
%43 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %77, label %45
45: ; preds = %42
%46 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %77, label %48
48: ; preds = %45
%49 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %77, label %51
51: ; preds = %48
%52 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %77, label %54
54: ; preds = %51
%55 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %77, label %57
57: ; preds = %54
%58 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0))
%59 = icmp eq i64 %58, 0
br i1 %59, label %77, label %60
60: ; preds = %57
%61 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %77, label %63
63: ; preds = %60
%64 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %77, label %66
66: ; preds = %63
%67 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %77, label %69
69: ; preds = %66
%70 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %69
%73 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %77, label %75
75: ; preds = %72
%76 = tail call i32 @ewe(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.23, i64 0, i64 0), i8* %0)
br label %77
77: ; preds = %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %75, %6
%78 = phi i32 [ %8, %6 ], [ 0, %75 ], [ 1, %9 ], [ 0, %12 ], [ 1, %15 ], [ 0, %18 ], [ 1, %21 ], [ 0, %24 ], [ 0, %27 ], [ 0, %30 ], [ 1, %33 ], [ 0, %36 ], [ 1, %39 ], [ 1, %42 ], [ 0, %45 ], [ 1, %48 ], [ 0, %51 ], [ 1, %54 ], [ 0, %57 ], [ 1, %60 ], [ 0, %63 ], [ 1, %66 ], [ 2, %69 ], [ 3, %72 ]
ret i32 %78
}