#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*/ printf(char *);
int /*<<< orphan*/ scanf(char *, ...);
scalar_t__ strncmp(char *, char *, int);
void main() {
  char exit[4];
  char course[8];
  float grade = 0;
  while (strncmp(exit, "exit", 4) != 0) {
    printf("Are you in COMP4040 or COMP6040?\n");
    scanf("%s", course);
    if (strncmp(course, "COMP4040", 8) == 0) {
      printf("What grade did you get (0 - 100)?\n");
      scanf("%f", &grade);
      if (grade <= 54) {
        printf("You got an F...\n");
      } else if (grade <= 64) {
        printf("You got an D...\n");
      } else if (grade <= 74) {
        printf("You got an C.\n");
      } else if (grade <= 84) {
        printf("You got an B.\n");
      } else if (grade <= 100) {
        printf("You got an A!\n");
      } else {
        printf("That's not a grade...\n");
      }
    } else if (strncmp(course, "COMP6040", 8) == 0) {
      printf("What grade did you get (0 - 100)?\n");
      scanf("%f", &grade);
      if (grade <= 59) {
        printf("You got an F...\n");
      } else if (grade <= 69) {
        printf("You got an D...\n");
      } else if (grade <= 79) {
        printf("You got an C.\n");
      } else if (grade <= 89) {
        printf("You got an B.\n");
      } else if (grade <= 100) {
        printf("You got an A!\n");
      } else {
        printf("That's not a grade...\n");
      }
    } else {
      printf("That's not a course...\n");
    }
    printf("Exit? (type exit)\n");
    scanf("%s", exit);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xorps  %xmm0,%xmm0
movss  %xmm0,-0x10(%rbp)
lea    -0x4(%rbp),%rdi
lea    0xed9(%rip),%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
je     13d3 <main+0x2a3>
lea    0xec3(%rip),%rdi
call   1040 <printf@plt>
lea    -0xc(%rbp),%rsi
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    -0xc(%rbp),%rdi
lea    0xec6(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    128e <main+0x15e>
lea    0xeb4(%rip),%rdi
call   1040 <printf@plt>
lea    0xecb(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  0xe52(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     11dd <main+0xad>
lea    0xeaa(%rip),%rdi
call   1040 <printf@plt>
jmp    1289 <main+0x159>
movss  0xe33(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1200 <main+0xd0>
lea    0xe98(%rip),%rdi
call   1040 <printf@plt>
jmp    1284 <main+0x154>
movss  0xe14(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1223 <main+0xf3>
lea    0xe86(%rip),%rdi
call   1040 <printf@plt>
jmp    127f <main+0x14f>
movss  0xdf5(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1246 <main+0x116>
lea    0xe72(%rip),%rdi
call   1040 <printf@plt>
jmp    127a <main+0x14a>
movss  0xdc2(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1269 <main+0x139>
lea    0xe5e(%rip),%rdi
call   1040 <printf@plt>
jmp    1275 <main+0x145>
lea    0xe5c(%rip),%rdi
call   1040 <printf@plt>
jmp    127a <main+0x14a>
jmp    127f <main+0x14f>
jmp    1284 <main+0x154>
jmp    1289 <main+0x159>
jmp    13b0 <main+0x280>
lea    -0xc(%rbp),%rdi
lea    0xe4a(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    139f <main+0x26f>
lea    0xda3(%rip),%rdi
call   1040 <printf@plt>
lea    0xdba(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movss  0xd2d(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     12ee <main+0x1be>
lea    0xd99(%rip),%rdi
call   1040 <printf@plt>
jmp    139a <main+0x26a>
movss  0xd0e(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1311 <main+0x1e1>
lea    0xd87(%rip),%rdi
call   1040 <printf@plt>
jmp    1395 <main+0x265>
movss  0xcef(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1334 <main+0x204>
lea    0xd75(%rip),%rdi
call   1040 <printf@plt>
jmp    1390 <main+0x260>
movss  0xcd0(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     1357 <main+0x227>
lea    0xd61(%rip),%rdi
call   1040 <printf@plt>
jmp    138b <main+0x25b>
movss  0xcb1(%rip),%xmm0
ucomiss -0x10(%rbp),%xmm0
jb     137a <main+0x24a>
lea    0xd4d(%rip),%rdi
call   1040 <printf@plt>
jmp    1386 <main+0x256>
lea    0xd4b(%rip),%rdi
call   1040 <printf@plt>
jmp    138b <main+0x25b>
jmp    1390 <main+0x260>
jmp    1395 <main+0x265>
jmp    139a <main+0x26a>
jmp    13ab <main+0x27b>
lea    0xd46(%rip),%rdi
call   1040 <printf@plt>
jmp    13b0 <main+0x280>
lea    0xd4d(%rip),%rdi
call   1040 <printf@plt>
lea    -0x4(%rbp),%rsi
lea    0xc84(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
jmp    1140 <main+0x10>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movl   $0x0,0x8(%rsp)
lea    0xed7(%rip),%rsi
lea    0xc(%rsp),%rdi
mov    $0x4,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1339 <main+0x209>
lea    0xebd(%rip),%r15
lea    0x10(%rsp),%rbx
lea    0xeb4(%rip),%r12
lea    0xefa(%rip),%rbp
lea    0xc(%rsp),%r13
lea    0xe99(%rip),%r14
jmp    11c3 <main+0x93>
nopl   (%rax)
call   1040 <puts@plt>
mov    %rbp,%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r13,%rdi
mov    %r14,%rsi
mov    $0x4,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1339 <main+0x209>
lea    0xe77(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1290 <main+0x160>
mov    %rbx,%rdi
lea    0xe39(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
lea    0xe52(%rip),%rdi
test   %rax,%rax
jne    1190 <main+0x60>
lea    0xe6b(%rip),%rdi
call   1040 <puts@plt>
lea    0xe09(%rip),%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x8(%rsp),%xmm0
movss  0xdba(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xead(%rip),%rdi
jae    1190 <main+0x60>
movss  0xda6(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xe85(%rip),%rdi
jae    1190 <main+0x60>
movss  0xd92(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xe5f(%rip),%rdi
jae    1190 <main+0x60>
movss  0xd7e(%rip),%xmm1
jmp    1305 <main+0x1d5>
lea    0xdf4(%rip),%rdi
call   1040 <puts@plt>
lea    0xd92(%rip),%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x8(%rsp),%xmm0
movss  0xd57(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xe36(%rip),%rdi
jae    1190 <main+0x60>
movss  0xd43(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xe0e(%rip),%rdi
jae    1190 <main+0x60>
movss  0xd2f(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xde8(%rip),%rdi
jae    1190 <main+0x60>
movss  0xd1b(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xdc2(%rip),%rdi
jae    1190 <main+0x60>
movss  0xcf3(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xd86(%rip),%rdi
jb     1190 <main+0x60>
lea    0xd8f(%rip),%rdi
jmp    1190 <main+0x60>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"exit\00"
@.str.1 = [34 x i8] c"Are you in COMP4040 or COMP6040?\0A\00"
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [9 x i8] c"COMP4040\00"
@.str.4 = [35 x i8] c"What grade did you get (0 - 100)?\0A\00"
@.str.5 = [3 x i8] c"%f\00"
@.str.6 = [17 x i8] c"You got an F...\0A\00"
@.str.7 = [17 x i8] c"You got an D...\0A\00"
@.str.8 = [15 x i8] c"You got an C.\0A\00"
@.str.9 = [15 x i8] c"You got an B.\0A\00"
@.str.10 = [15 x i8] c"You got an A!\0A\00"
@.str.11 = [23 x i8] c"That's not a grade...\0A\00"
@.str.12 = [9 x i8] c"COMP6040\00"
@.str.13 = [24 x i8] c"That's not a course...\0A\00"
@.str.14 = [19 x i8] c"Exit? (type exit)\0A\00"
define void @main() {
%1 = alloca [4 x i8]
%2 = alloca [8 x i8]
%3 = alloca float
store float 0.000000e+00, float* %3
br label %4
4: ; preds = %90, %0
%5 = getelementptr inbounds [4 x i8], [4 x i8]* %1, i64 0, i64 0
%6 = call i64 @strncmp(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %94
8: ; preds = %4
%9 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0))
%10 = getelementptr inbounds [8 x i8], [8 x i8]* %2, i64 0, i64 0
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %10)
%12 = getelementptr inbounds [8 x i8], [8 x i8]* %2, i64 0, i64 0
%13 = call i64 @strncmp(i8* %12, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 8)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %49
15: ; preds = %8
%16 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%17 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), float* %3)
%18 = load float, float* %3
%19 = fcmp ole float %18, 5.400000e+01
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
br label %48
22: ; preds = %15
%23 = load float, float* %3
%24 = fcmp ole float %23, 6.400000e+01
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
br label %47
27: ; preds = %22
%28 = load float, float* %3
%29 = fcmp ole float %28, 7.400000e+01
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0))
br label %46
32: ; preds = %27
%33 = load float, float* %3
%34 = fcmp ole float %33, 8.400000e+01
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
br label %45
37: ; preds = %32
%38 = load float, float* %3
%39 = fcmp ole float %38, 1.000000e+02
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
br label %44
42: ; preds = %37
%43 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
br label %44
44: ; preds = %42, %40
br label %45
45: ; preds = %44, %35
br label %46
46: ; preds = %45, %30
br label %47
47: ; preds = %46, %25
br label %48
48: ; preds = %47, %20
br label %90
49: ; preds = %8
%50 = getelementptr inbounds [8 x i8], [8 x i8]* %2, i64 0, i64 0
%51 = call i64 @strncmp(i8* %50, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i32 8)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %87
53: ; preds = %49
%54 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%55 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), float* %3)
%56 = load float, float* %3
%57 = fcmp ole float %56, 5.900000e+01
br i1 %57, label %58, label %60
58: ; preds = %53
%59 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
br label %86
60: ; preds = %53
%61 = load float, float* %3
%62 = fcmp ole float %61, 6.900000e+01
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
br label %85
65: ; preds = %60
%66 = load float, float* %3
%67 = fcmp ole float %66, 7.900000e+01
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0))
br label %84
70: ; preds = %65
%71 = load float, float* %3
%72 = fcmp ole float %71, 8.900000e+01
br i1 %72, label %73, label %75
73: ; preds = %70
%74 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
br label %83
75: ; preds = %70
%76 = load float, float* %3
%77 = fcmp ole float %76, 1.000000e+02
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
br label %82
80: ; preds = %75
%81 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
br label %82
82: ; preds = %80, %78
br label %83
83: ; preds = %82, %73
br label %84
84: ; preds = %83, %68
br label %85
85: ; preds = %84, %63
br label %86
86: ; preds = %85, %58
br label %89
87: ; preds = %49
%88 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.13, i64 0, i64 0))
br label %89
89: ; preds = %87, %86
br label %90
90: ; preds = %89, %48
%91 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.14, i64 0, i64 0))
%92 = getelementptr inbounds [4 x i8], [4 x i8]* %1, i64 0, i64 0
%93 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %92)
br label %4
94: ; preds = %4
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"exit\00"
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [9 x i8] c"COMP4040\00"
@.str.5 = [3 x i8] c"%f\00"
@.str.12 = [9 x i8] c"COMP6040\00"
@str = [33 x i8] c"Are you in COMP4040 or COMP6040?\00"
@str.15 = [23 x i8] c"That's not a course...\00"
@str.16 = [18 x i8] c"Exit? (type exit)\00"
@str.24 = [34 x i8] c"What grade did you get (0 - 100)?\00"
@str.25 = [22 x i8] c"That's not a grade...\00"
@str.26 = [14 x i8] c"You got an A!\00"
@str.27 = [14 x i8] c"You got an B.\00"
@str.28 = [14 x i8] c"You got an C.\00"
@str.29 = [16 x i8] c"You got an D...\00"
@str.30 = [16 x i8] c"You got an F...\00"
define void @main() {
%1 = alloca [4 x i8]
%2 = alloca [8 x i8]
%3 = alloca float
%4 = getelementptr inbounds [4 x i8], [4 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [8 x i8], [8 x i8]* %2, i64 0, i64 0
%6 = bitcast float* %3 to i8*
store float 0.000000e+00, float* %3
%7 = call i64 @strncmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 4)
%8 = icmp eq i64 %7, 0
br i1 %8, label %52, label %9
9: ; preds = %0, %45
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %5)
%12 = call i64 @strncmp(i8* %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 8)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %28
14: ; preds = %9
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.24, i64 0, i64 0))
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), float* %3)
%17 = load float, float* %3
%18 = fcmp ugt float %17, 5.400000e+01
br i1 %18, label %19, label %45
19: ; preds = %14
%20 = fcmp ugt float %17, 6.400000e+01
br i1 %20, label %21, label %45
21: ; preds = %19
%22 = fcmp ugt float %17, 7.400000e+01
br i1 %22, label %23, label %45
23: ; preds = %21
%24 = fcmp ugt float %17, 8.400000e+01
br i1 %24, label %25, label %45
25: ; preds = %23
%26 = fcmp ugt float %17, 1.000000e+02
%27 = select i1 %26, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.25, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @str.26, i64 0, i64 0)
br label %45
28: ; preds = %9
%29 = call i64 @strncmp(i8* %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i32 8)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.24, i64 0, i64 0))
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), float* %3)
%34 = load float, float* %3
%35 = fcmp ugt float %34, 5.900000e+01
br i1 %35, label %36, label %45
36: ; preds = %31
%37 = fcmp ugt float %34, 6.900000e+01
br i1 %37, label %38, label %45
38: ; preds = %36
%39 = fcmp ugt float %34, 7.900000e+01
br i1 %39, label %40, label %45
40: ; preds = %38
%41 = fcmp ugt float %34, 8.900000e+01
br i1 %41, label %42, label %45
42: ; preds = %40
%43 = fcmp ugt float %34, 1.000000e+02
%44 = select i1 %43, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @str.25, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @str.26, i64 0, i64 0)
br label %45
45: ; preds = %28, %42, %40, %38, %36, %31, %25, %23, %21, %19, %14
%46 = phi i8* [ getelementptr inbounds ([16 x i8], [16 x i8]* @str.30, i64 0, i64 0), %14 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @str.29, i64 0, i64 0), %19 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.28, i64 0, i64 0), %21 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.27, i64 0, i64 0), %23 ], [ %27, %25 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @str.30, i64 0, i64 0), %31 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @str.29, i64 0, i64 0), %36 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.28, i64 0, i64 0), %38 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @str.27, i64 0, i64 0), %40 ], [ %44, %42 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @str.15, i64 0, i64 0), %28 ]
%47 = call i32 @puts(i8* dereferenceable(1) %46)
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.16, i64 0, i64 0))
%49 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %4)
%50 = call i64 @strncmp(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 4)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %9
52: ; preds = %45, %0
ret void
}