#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 */
typedef int /*<<< orphan*/ service_name;

/* Variables and functions */
int EOF;
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int getchar();
int getopt(int, char **, char *);
int /*<<< orphan*/ kiel_uzi(int);
char *malloc(unsigned int);
int /*<<< orphan*/ memset(char *, char, int);
char *optarg;
char *realloc(char *, unsigned int);
int /*<<< orphan*/ shorturl(char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int main(int argc, char *argv[]) {
  char service_name[41] = "https://clck.ru/--?url=%s";
  int opt;
  bool long_url_provided = false;
  if (argc == 1)
    kiel_uzi(1);
  while ((opt = getopt(argc, argv, "hs:u:")) != -1) {
    switch (opt) {
    case 'h':
      kiel_uzi(1);
      return 0;
    case 's':
      memset(service_name, '\0', sizeof(service_name));
      if (strcmp(optarg, "clck") == 0)
        strcpy(service_name, "https://clck.ru/--?url=%s");
      else if (strcmp(optarg, "tinyurl") == 0)
        strcpy(service_name, "https://tinyurl.com/api-create.php?url=%s");
      else {
        fprintf(stderr, "shorturl: incorrect service\n");
        exit(EXIT_FAILURE);
      }
      break;
    case 'u':
      long_url_provided = true;
      shorturl(optarg, service_name);
      break;
    default:
      kiel_uzi(1);
      return 0;
    }
  }
  if (long_url_provided == false) {
    unsigned bufsize = 3;
    char *long_url = malloc(bufsize * sizeof(char));
    int c;
    unsigned poz = 0;
    while (1) {
      c = getchar();
      if (c == EOF || c == '\n') {
        long_url[poz] = '\0';
        shorturl(long_url, service_name);
        exit(EXIT_SUCCESS);
      } else
        long_url[poz] = c;
      poz++;
      if (poz > (bufsize - 2)) {
        bufsize += 32;
        long_url = realloc(long_url, bufsize);
        if (!long_url)
          exit(EXIT_FAILURE);
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x40(%rbp),%rdi
lea    0xe1f(%rip),%rsi
mov    $0x29,%edx
call   1090 <memcpy@plt>
movl   $0x0,-0x48(%rbp)
cmpl   $0x1,-0x8(%rbp)
jne    1206 <main+0x46>
mov    $0x1,%edi
call   10b0 <kiel_uzi@plt>
jmp    120b <main+0x4b>
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe10(%rip),%rdx
call   10d0 <getopt@plt>
mov    %eax,-0x44(%rbp)
cmp    $0xffffffff,%eax
je     1355 <main+0x195>
mov    -0x44(%rbp),%eax
mov    %eax,-0x64(%rbp)
sub    $0x68,%eax
je     1260 <main+0xa0>
jmp    123e <main+0x7e>
mov    -0x64(%rbp),%eax
sub    $0x73,%eax
je     1276 <main+0xb6>
jmp    124f <main+0x8f>
mov    -0x64(%rbp),%eax
sub    $0x75,%eax
je     131b <main+0x15b>
jmp    133a <main+0x17a>
mov    $0x1,%edi
call   10b0 <kiel_uzi@plt>
movl   $0x0,-0x4(%rbp)
jmp    1437 <main+0x277>
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x29,%edx
call   1050 <memset@plt>
mov    0x2d6b(%rip),%rax
mov    (%rax),%rdi
lea    0xd98(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    12ba <main+0xfa>
lea    -0x40(%rbp),%rdi
lea    0xd84(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1316 <main+0x156>
mov    0x2d37(%rip),%rax
mov    (%rax),%rdi
lea    0xd83(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    12ee <main+0x12e>
lea    -0x40(%rbp),%rdi
lea    0xd72(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1311 <main+0x151>
mov    0x2cdb(%rip),%rax
mov    (%rax),%edi
lea    0xd82(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2cbe(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>
jmp    1316 <main+0x156>
jmp    1350 <main+0x190>
movl   $0x1,-0x48(%rbp)
mov    0x2ccf(%rip),%rax
mov    (%rax),%rdi
lea    -0x40(%rbp),%rsi
call   1030 <shorturl@plt>
jmp    1350 <main+0x190>
mov    $0x1,%edi
call   10b0 <kiel_uzi@plt>
movl   $0x0,-0x4(%rbp)
jmp    1437 <main+0x277>
jmp    120b <main+0x4b>
cmpl   $0x0,-0x48(%rbp)
jne    1430 <main+0x270>
movl   $0x3,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
shl    $0x0,%rax
mov    %eax,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x58(%rbp)
movl   $0x0,-0x60(%rbp)
mov    $0x0,%al
call   1070 <getchar@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
mov    0x2c4d(%rip),%rcx
cmp    (%rcx),%eax
je     13a5 <main+0x1e5>
cmpl   $0xa,-0x5c(%rbp)
jne    13cb <main+0x20b>
mov    -0x58(%rbp),%rax
mov    -0x60(%rbp),%ecx
movb   $0x0,(%rax,%rcx,1)
mov    -0x58(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1030 <shorturl@plt>
mov    0x2bfc(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>
mov    -0x5c(%rbp),%eax
mov    %al,%dl
mov    -0x58(%rbp),%rax
mov    -0x60(%rbp),%ecx
mov    %dl,(%rax,%rcx,1)
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
mov    -0x60(%rbp),%eax
mov    -0x4c(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jbe    142b <main+0x26b>
mov    -0x4c(%rbp),%eax
add    $0x20,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x58(%rbp),%rdi
mov    -0x4c(%rbp),%esi
call   10c0 <realloc@plt>
mov    %rax,-0x58(%rbp)
cmpq   $0x0,-0x58(%rbp)
jne    1426 <main+0x266>
mov    0x2ba9(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>
jmp    142b <main+0x26b>
jmp    137f <main+0x1bf>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rsi,%r15
mov    %edi,%ebp
movups 0xe4f(%rip),%xmm0
movups %xmm0,0x29(%rsp)
movaps 0xe3a(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe1e(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
cmp    $0x1,%edi
jne    11f6 <main+0x46>
mov    $0x1,%edi
call   10a0 <kiel_uzi@plt>
mov    $0x1,%al
mov    %eax,0xc(%rsp)
lea    0xe26(%rip),%r14
lea    0x10(%rsp),%rbx
mov    0x2de9(%rip),%r12
jmp    122f <main+0x7f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
lea    0xe0a(%rip),%rsi
call   1040 <strcpy@plt>
mov    %ebp,%edi
mov    %r15,%rsi
mov    %r14,%rdx
call   10c0 <getopt@plt>
cmp    $0x73,%eax
jne    128f <main+0xdf>
mov    %rbx,%rdi
xor    %esi,%esi
mov    $0x29,%edx
call   1050 <memset@plt>
mov    (%r12),%r13
mov    %r13,%rdi
lea    0xdd1(%rip),%rsi
call   1060 <strcmp@plt>
test   %eax,%eax
je     1220 <main+0x70>
mov    %r13,%rdi
lea    0xddd(%rip),%rsi
call   1060 <strcmp@plt>
test   %eax,%eax
jne    1362 <main+0x1b2>
mov    %rbx,%rdi
lea    0xdce(%rip),%rsi
call   1040 <strcpy@plt>
jmp    122f <main+0x7f>
cmp    $0xffffffff,%eax
je     12b6 <main+0x106>
cmp    $0x75,%eax
jne    1347 <main+0x197>
mov    (%r12),%rdi
mov    %rbx,%rsi
call   1030 <shorturl@plt>
movl   $0x0,0xc(%rsp)
jmp    122f <main+0x7f>
testb  $0x1,0xc(%rsp)
je     1351 <main+0x1a1>
mov    $0x3,%edi
call   1090 <malloc@plt>
mov    %rax,%r15
xor    %ebx,%ebx
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0xa,%eax
je     1327 <main+0x177>
mov    0x2cfd(%rip),%r14
cmp    (%r14),%eax
je     1327 <main+0x177>
mov    $0x3,%ebp
xor    %ebx,%ebx
mov    %ebx,%ecx
mov    %al,(%r15,%rcx,1)
add    $0x1,%ebx
lea    -0x2(%rbp),%eax
cmp    %eax,%ebx
jbe    1314 <main+0x164>
add    $0x20,%ebp
mov    %r15,%rdi
mov    %ebp,%esi
call   10b0 <realloc@plt>
mov    %rax,%r15
test   %rax,%rax
je     1377 <main+0x1c7>
xor    %eax,%eax
call   1070 <getchar@plt>
cmp    $0xa,%eax
je     1325 <main+0x175>
cmp    (%r14),%eax
jne    12ef <main+0x13f>
mov    %ebx,%ebx
movb   $0x0,(%r15,%rbx,1)
lea    0x10(%rsp),%rsi
mov    %r15,%rdi
call   1030 <shorturl@plt>
mov    0x2c80(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
mov    $0x1,%edi
call   10a0 <kiel_uzi@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c67(%rip),%rax
mov    (%rax),%edi
lea    0xd0e(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2c4a(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>

LLVM IR (-O0):
@__const.main.service_name = [41 x i8] c"https://clck.ru/--?url=%s\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@.str = [6 x i8] c"hs:u:\00"
@optarg = global i8* null
@.str.1 = [5 x i8] c"clck\00"
@.str.2 = [26 x i8] c"https://clck.ru/--?url=%s\00"
@.str.3 = [8 x i8] c"tinyurl\00"
@.str.4 = [42 x i8] c"https://tinyurl.com/api-create.php?url=%s\00"
@stderr = global i32 0
@.str.5 = [29 x i8] c"shorturl: incorrect service\0A\00"
@EXIT_FAILURE = global i32 0
@EOF = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [41 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = bitcast [41 x i8]* %6 to i8*
store i32 0, i32* %8
%14 = load i32, i32* %4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @kiel_uzi(i32 1)
br label %18
18: ; preds = %16, %2
br label %19
19: ; preds = %57, %18
%20 = load i32, i32* %4
%21 = load i8**, i8*** %5
%22 = call i32 @getopt(i32 %20, i8** %21, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
store i32 %22, i32* %7
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %58
24: ; preds = %19
%25 = load i32, i32* %7
switch i32 %25, label %55 [
i32 104, label %26
i32 115, label %28
i32 117, label %51
]
26: ; preds = %24
%27 = call i32 @kiel_uzi(i32 1)
store i32 0, i32* %3
br label %113
28: ; preds = %24
%29 = getelementptr inbounds [41 x i8], [41 x i8]* %6, i64 0, i64 0
%30 = call i32 @memset(i8* %29, i8 signext 0, i32 41)
%31 = load i8*, i8** @optarg
%32 = call i32 @strcmp(i8* %31, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = getelementptr inbounds [41 x i8], [41 x i8]* %6, i64 0, i64 0
%36 = call i32 @strcpy(i8* %35, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
br label %50
37: ; preds = %28
%38 = load i8*, i8** @optarg
%39 = call i32 @strcmp(i8* %38, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = getelementptr inbounds [41 x i8], [41 x i8]* %6, i64 0, i64 0
%43 = call i32 @strcpy(i8* %42, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
br label %49
44: ; preds = %37
%45 = load i32, i32* @stderr
%46 = call i32 @fprintf(i32 %45, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%47 = load i32, i32* @EXIT_FAILURE
%48 = call i32 @exit(i32 %47)
unreachable
49: ; preds = %41
br label %50
50: ; preds = %49, %34
br label %57
51: ; preds = %24
store i32 1, i32* %8
%52 = load i8*, i8** @optarg
%53 = getelementptr inbounds [41 x i8], [41 x i8]* %6, i64 0, i64 0
%54 = call i32 @shorturl(i8* %52, i8* %53)
br label %57
55: ; preds = %24
%56 = call i32 @kiel_uzi(i32 1)
store i32 0, i32* %3
br label %113
57: ; preds = %51, %50
br label %19
58: ; preds = %19
%59 = load i32, i32* %8
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %112
61: ; preds = %58
store i32 3, i32* %9
%62 = load i32, i32* %9
%63 = zext i32 %62 to i64
%64 = mul i64 %63, 1
%65 = trunc i64 %64 to i32
%66 = call i8* @malloc(i32 %65)
store i8* %66, i8** %10
store i32 0, i32* %12
br label %67
67: ; preds = %61, %111
%68 = call i32 (...) @getchar()
store i32 %68, i32* %11
%69 = load i32, i32* %11
%70 = load i32, i32* @EOF
%71 = icmp eq i32 %69, %70
br i1 %71, label %75, label %72
72: ; preds = %67
%73 = load i32, i32* %11
%74 = icmp eq i32 %73, 10
br i1 %74, label %75, label %85
75: ; preds = %72, %67
%76 = load i8*, i8** %10
%77 = load i32, i32* %12
%78 = zext i32 %77 to i64
%79 = getelementptr inbounds i8, i8* %76, i64 %78
store i8 0, i8* %79
%80 = load i8*, i8** %10
%81 = getelementptr inbounds [41 x i8], [41 x i8]* %6, i64 0, i64 0
%82 = call i32 @shorturl(i8* %80, i8* %81)
%83 = load i32, i32* @EXIT_SUCCESS
%84 = call i32 @exit(i32 %83)
unreachable
85: ; preds = %72
%86 = load i32, i32* %11
%87 = trunc i32 %86 to i8
%88 = load i8*, i8** %10
%89 = load i32, i32* %12
%90 = zext i32 %89 to i64
%91 = getelementptr inbounds i8, i8* %88, i64 %90
store i8 %87, i8* %91
br label %92
92: ; preds = %85
%93 = load i32, i32* %12
%94 = add i32 %93, 1
store i32 %94, i32* %12
%95 = load i32, i32* %12
%96 = load i32, i32* %9
%97 = sub i32 %96, 2
%98 = icmp ugt i32 %95, %97
br i1 %98, label %99, label %111
99: ; preds = %92
%100 = load i32, i32* %9
%101 = add i32 %100, 32
store i32 %101, i32* %9
%102 = load i8*, i8** %10
%103 = load i32, i32* %9
%104 = call i8* @realloc(i8* %102, i32 %103)
store i8* %104, i8** %10
%105 = load i8*, i8** %10
%106 = icmp ne i8* %105, null
br i1 %106, label %110, label %107
107: ; preds = %99
%108 = load i32, i32* @EXIT_FAILURE
%109 = call i32 @exit(i32 %108)
unreachable
110: ; preds = %99
br label %111
111: ; preds = %110, %92
br label %67
112: ; preds = %58
store i32 0, i32* %3
br label %113
113: ; preds = %112, %55, %26
%114 = load i32, i32* %3
ret i32 %114
}

LLVM IR (-O2):
@__const.main.service_name = [41 x i8] c"https://clck.ru/--?url=%s\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"
@.str = [6 x i8] c"hs:u:\00"
@optarg = global i8* null
@.str.1 = [5 x i8] c"clck\00"
@.str.2 = [26 x i8] c"https://clck.ru/--?url=%s\00"
@.str.3 = [8 x i8] c"tinyurl\00"
@.str.4 = [42 x i8] c"https://tinyurl.com/api-create.php?url=%s\00"
@stderr = global i32 0
@.str.5 = [29 x i8] c"shorturl: incorrect service\0A\00"
@EXIT_FAILURE = global i32 0
@EOF = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [41 x i8]
%4 = getelementptr inbounds [41 x i8], [41 x i8]* %3, i64 0, i64 0
%5 = icmp eq i32 %0, 1
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @kiel_uzi(i32 1)
br label %8
8: ; preds = %6, %2
br label %9
9: ; preds = %8, %31
%10 = phi i1 [ true, %8 ], [ false, %31 ]
br label %11
11: ; preds = %20, %9
%12 = call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
switch i32 %12, label %77 [
i32 -1, label %34
i32 117, label %31
i32 115, label %13
]
13: ; preds = %11
%14 = call i32 @memset(i8* %4, i8 signext 0, i32 41)
%15 = load i8*, i8** @optarg
%16 = call i32 @strcmp(i8* dereferenceable(1) %15, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %18, %24
br label %11
21: ; preds = %13
%22 = call i32 @strcmp(i8* dereferenceable(1) %15, i8* dereferenceable(8) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
br label %20
26: ; preds = %21
%27 = load i32, i32* @stderr
%28 = call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%29 = load i32, i32* @EXIT_FAILURE
%30 = call i32 @exit(i32 %29)
unreachable
31: ; preds = %11
%32 = load i8*, i8** @optarg
%33 = call i32 @shorturl(i8* %32, i8* %4)
br label %9
34: ; preds = %11
br i1 %10, label %35, label %79
35: ; preds = %34
%36 = call dereferenceable_or_null(3) i8* @malloc(i32 3)
%37 = call i32 (...) @getchar()
%38 = load i32, i32* @EOF
%39 = icmp eq i32 %37, %38
%40 = icmp eq i32 %37, 10
%41 = or i1 %40, %39
br i1 %41, label %44, label %51
42: ; preds = %69
%43 = zext i32 %59 to i64
br label %44
44: ; preds = %42, %35
%45 = phi i8* [ %36, %35 ], [ %71, %42 ]
%46 = phi i64 [ 0, %35 ], [ %43, %42 ]
%47 = getelementptr inbounds i8, i8* %45, i64 %46
store i8 0, i8* %47
%48 = call i32 @shorturl(i8* %45, i8* %4)
%49 = load i32, i32* @EXIT_SUCCESS
%50 = call i32 @exit(i32 %49)
unreachable
51: ; preds = %35, %69
%52 = phi i32 [ %72, %69 ], [ %37, %35 ]
%53 = phi i32 [ %59, %69 ], [ 0, %35 ]
%54 = phi i8* [ %71, %69 ], [ %36, %35 ]
%55 = phi i32 [ %70, %69 ], [ 3, %35 ]
%56 = trunc i32 %52 to i8
%57 = zext i32 %53 to i64
%58 = getelementptr inbounds i8, i8* %54, i64 %57
store i8 %56, i8* %58
%59 = add i32 %53, 1
%60 = add i32 %55, -2
%61 = icmp ugt i32 %59, %60
br i1 %61, label %62, label %69
62: ; preds = %51
%63 = add i32 %55, 32
%64 = call i8* @realloc(i8* %54, i32 %63)
%65 = icmp eq i8* %64, null
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i32, i32* @EXIT_FAILURE
%68 = call i32 @exit(i32 %67)
unreachable
69: ; preds = %62, %51
%70 = phi i32 [ %63, %62 ], [ %55, %51 ]
%71 = phi i8* [ %64, %62 ], [ %54, %51 ]
%72 = call i32 (...) @getchar()
%73 = load i32, i32* @EOF
%74 = icmp eq i32 %72, %73
%75 = icmp eq i32 %72, 10
%76 = or i1 %75, %74
br i1 %76, label %42, label %51
77: ; preds = %11
%78 = call i32 @kiel_uzi(i32 1)
br label %79
79: ; preds = %77, %34
ret i32 0
}