#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 *, long long *, char *, long long *);
int main() {
  long long hasil, bil1, bil2;
  char oper;
  hasil = 0;
  scanf("%lld %c %lld", &bil1, &oper, &bil2);
  if (bil1 >= 0 && bil2 <= 50000) {
    if (bil1 == bil2) {
      printf("Bilangan pertama sama dengan bilangan kedua.\n");
    }
    switch (oper) {
    case '+':
      hasil = bil1 + bil2;
      printf("Ini adalah operasi penjumlahan.\n");
      printf("Hasilnya adalah %lld\n", hasil);
      break;
    case '-':
      hasil = bil1 - bil2;
      printf("Ini adalah operasi pengurangan.\n");
      printf("Hasilnya adalah %lld\n", hasil);
      break;
    case '*':
      hasil = bil1 * bil2;
      printf("Ini adalah operasi pengalian.\n");
      printf("Hasilnya adalah %lld\n", hasil);
      break;
    default:
      printf("Ini adalah operasi pembagian.\n");
      if (bil2 == 0) {
        printf("Error!!! Divide By Zero!!!\n");
      } else {
        if (bil1 % bil2 == 0) {
          hasil = bil1 / bil2;
          printf("Hasilnya adalah %lld\n", bil1 / bil2);
        } else {
          printf("Hasilnya adalah %.2f\n", (float)bil1 / bil2);
        }
      }
      break;
    }
    if (hasil != 0) {
      if (hasil % 2 == 0) {
        printf("%lld adalah bilangan genap.\n", hasil);
      } else {
        printf("%lld adalah bilangan ganjil.\n", hasil);
      }
      if (hasil % bil1 == 0 && hasil % bil2 == 0) {
        printf(
            "%lld adalah kelipatan dari bilangan pertama dan bilangan kedua.\n",
            hasil);
      } else if (hasil % bil1 == 0) {
        printf("%lld adalah kelipatan dari bilangan pertama.\n", hasil);
      } else if (hasil % bil2 == 0) {
        printf("%lld adalah kelipatan dari bilangan kedua.\n", hasil);
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
lea    0xec2(%rip),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x21(%rbp),%rdx
lea    -0x20(%rbp),%rcx
call   1040 <scanf@plt>
cmpq   $0x0,-0x18(%rbp)
jl     13d9 <main+0x2b9>
cmpq   $0xc350,-0x20(%rbp)
jg     13d9 <main+0x2b9>
mov    -0x18(%rbp),%rax
cmp    -0x20(%rbp),%rax
jne    1184 <main+0x64>
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x21(%rbp),%eax
mov    %eax,-0x28(%rbp)
sub    $0x2a,%eax
je     121d <main+0xfd>
jmp    1199 <main+0x79>
mov    -0x28(%rbp),%eax
sub    $0x2b,%eax
je     11bb <main+0x9b>
jmp    11aa <main+0x8a>
mov    -0x28(%rbp),%eax
sub    $0x2d,%eax
je     11ec <main+0xcc>
jmp    124f <main+0x12f>
mov    -0x18(%rbp),%rax
add    -0x20(%rbp),%rax
mov    %rax,-0x10(%rbp)
lea    0xe6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12e9 <main+0x1c9>
mov    -0x18(%rbp),%rax
sub    -0x20(%rbp),%rax
mov    %rax,-0x10(%rbp)
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xe4b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12e9 <main+0x1c9>
mov    -0x18(%rbp),%rax
imul   -0x20(%rbp),%rax
mov    %rax,-0x10(%rbp)
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xe19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12e9 <main+0x1c9>
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpq   $0x0,-0x20(%rbp)
jne    127b <main+0x15b>
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12e4 <main+0x1c4>
mov    -0x18(%rbp),%rax
cqto
idivq  -0x20(%rbp)
cmp    $0x0,%rdx
jne    12bd <main+0x19d>
mov    -0x18(%rbp),%rax
cqto
idivq  -0x20(%rbp)
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
cqto
idivq  -0x20(%rbp)
mov    %rax,%rsi
lea    0xdab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12df <main+0x1bf>
cvtsi2ssq -0x18(%rbp),%xmm0
cvtsi2ssq -0x20(%rbp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe15(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    12e4 <main+0x1c4>
jmp    12e9 <main+0x1c9>
cmpq   $0x0,-0x10(%rbp)
je     13d4 <main+0x2b4>
mov    -0x10(%rbp),%rax
mov    $0x2,%ecx
cqto
idiv   %rcx
cmp    $0x0,%rdx
jne    1323 <main+0x203>
mov    -0x10(%rbp),%rsi
lea    0xdec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1335 <main+0x215>
mov    -0x10(%rbp),%rsi
lea    0xdf2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
cqto
idivq  -0x18(%rbp)
cmp    $0x0,%rdx
jne    1374 <main+0x254>
mov    -0x10(%rbp),%rax
cqto
idivq  -0x20(%rbp)
cmp    $0x0,%rdx
jne    1374 <main+0x254>
mov    -0x10(%rbp),%rsi
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13cf <main+0x2af>
mov    -0x10(%rbp),%rax
cqto
idivq  -0x18(%rbp)
cmp    $0x0,%rdx
jne    139f <main+0x27f>
mov    -0x10(%rbp),%rsi
lea    0xdec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13ca <main+0x2aa>
mov    -0x10(%rbp),%rax
cqto
idivq  -0x20(%rbp)
cmp    $0x0,%rdx
jne    13c5 <main+0x2a5>
mov    -0x10(%rbp),%rsi
lea    0xdef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13ca <main+0x2aa>
jmp    13cf <main+0x2af>
jmp    13d4 <main+0x2b4>
jmp    13d9 <main+0x2b9>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x20,%rsp
lea    0xec4(%rip),%rdi
lea    0x18(%rsp),%rsi
lea    0xf(%rsp),%rdx
lea    0x10(%rsp),%rcx
call   1050 <scanf@plt>
mov    0x18(%rsp),%rax
test   %rax,%rax
js     1310 <main+0x1e0>
mov    0x10(%rsp),%rcx
cmp    $0xc350,%rcx
jg     1310 <main+0x1e0>
cmp    %rcx,%rax
jne    1181 <main+0x51>
lea    0x102a(%rip),%rdi
call   1030 <puts@plt>
movsbl 0xf(%rsp),%eax
cmp    $0x2a,%eax
je     11ac <main+0x7c>
cmp    $0x2d,%eax
je     11c0 <main+0x90>
cmp    $0x2b,%eax
jne    122d <main+0xfd>
mov    0x10(%rsp),%rbx
add    0x18(%rsp),%rbx
lea    0xfa3(%rip),%rdi
jmp    11d1 <main+0xa1>
mov    0x10(%rsp),%rbx
imul   0x18(%rsp),%rbx
lea    0xf51(%rip),%rdi
jmp    11d1 <main+0xa1>
mov    0x18(%rsp),%rbx
sub    0x10(%rsp),%rbx
lea    0xf5c(%rip),%rdi
call   1030 <puts@plt>
lea    0xe30(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
test   %rbx,%rbx
je     1310 <main+0x1e0>
test   $0x1,%bl
lea    0xe3f(%rip),%rax
lea    0xe55(%rip),%rdi
cmove  %rax,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%rcx
mov    %rbx,%rax
or     %rcx,%rax
shr    $0x20,%rax
je     1271 <main+0x141>
mov    %rbx,%rax
cqto
idiv   %rcx
mov    %rdx,%rcx
jmp    1279 <main+0x149>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
mov    0x10(%rsp),%rsi
test   %rsi,%rsi
je     12be <main+0x18e>
mov    0x18(%rsp),%rcx
mov    %rcx,%rax
or     %rsi,%rax
shr    $0x20,%rax
je     12df <main+0x1af>
mov    %rcx,%rax
cqto
idiv   %rsi
mov    %rax,%rbx
test   %rdx,%rdx
jne    12f0 <main+0x1c0>
jmp    11d6 <main+0xa6>
mov    %ebx,%eax
xor    %edx,%edx
div    %ecx
mov    %edx,%ecx
mov    0x10(%rsp),%rsi
mov    %rbx,%rax
or     %rsi,%rax
shr    $0x20,%rax
je     12a5 <main+0x175>
mov    %rbx,%rax
cqto
idiv   %rsi
test   %rcx,%rcx
je     12b0 <main+0x180>
test   %rdx,%rdx
jne    1310 <main+0x1e0>
lea    0xe40(%rip),%rdi
jmp    12d3 <main+0x1a3>
mov    %ebx,%eax
xor    %edx,%edx
div    %esi
test   %rcx,%rcx
jne    1297 <main+0x167>
test   %rdx,%rdx
je     12cc <main+0x19c>
lea    0xdf9(%rip),%rdi
jmp    12d3 <main+0x1a3>
lea    0xec6(%rip),%rdi
call   1030 <puts@plt>
jmp    1310 <main+0x1e0>
lea    0xda1(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1310 <main+0x1e0>
mov    %ecx,%eax
xor    %edx,%edx
div    %esi
mov    %eax,%ebx
test   %rdx,%rdx
je     11d6 <main+0xa6>
cvtsi2ss %rcx,%xmm0
cvtsi2ss %rsi,%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd1a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [13 x i8] c"%lld %c %lld\00"
@.str.1 = [46 x i8] c"Bilangan pertama sama dengan bilangan kedua.\0A\00"
@.str.2 = [33 x i8] c"Ini adalah operasi penjumlahan.\0A\00"
@.str.3 = [22 x i8] c"Hasilnya adalah %lld\0A\00"
@.str.4 = [33 x i8] c"Ini adalah operasi pengurangan.\0A\00"
@.str.5 = [31 x i8] c"Ini adalah operasi pengalian.\0A\00"
@.str.6 = [31 x i8] c"Ini adalah operasi pembagian.\0A\00"
@.str.7 = [28 x i8] c"Error!!! Divide By Zero!!!\0A\00"
@.str.8 = [22 x i8] c"Hasilnya adalah %.2f\0A\00"
@.str.9 = [29 x i8] c"%lld adalah bilangan genap.\0A\00"
@.str.10 = [30 x i8] c"%lld adalah bilangan ganjil.\0A\00"
@.str.11 = [65 x i8] c"%lld adalah kelipatan dari bilangan pertama dan bilangan kedua.\0A\00"
@.str.12 = [46 x i8] c"%lld adalah kelipatan dari bilangan pertama.\0A\00"
@.str.13 = [44 x i8] c"%lld adalah kelipatan dari bilangan kedua.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i8
store i32 0, i32* %1
store i64 0, i64* %2
%6 = call i32 @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i64* %3, i8* %5, i64* %4)
%7 = load i64, i64* %3
%8 = icmp sge i64 %7, 0
br i1 %8, label %9, label %117
9: ; preds = %0
%10 = load i64, i64* %4
%11 = icmp sle i64 %10, 50000
br i1 %11, label %12, label %117
12: ; preds = %9
%13 = load i64, i64* %3
%14 = load i64, i64* %4
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0))
br label %18
18: ; preds = %16, %12
%19 = load i8, i8* %5
%20 = sext i8 %19 to i32
switch i32 %20, label %42 [
i32 43, label %21
i32 45, label %28
i32 42, label %35
]
21: ; preds = %18
%22 = load i64, i64* %3
%23 = load i64, i64* %4
%24 = add nsw i64 %22, %23
store i64 %24, i64* %2
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%26 = load i64, i64* %2
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %26)
br label %71
28: ; preds = %18
%29 = load i64, i64* %3
%30 = load i64, i64* %4
%31 = sub nsw i64 %29, %30
store i64 %31, i64* %2
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%33 = load i64, i64* %2
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %33)
br label %71
35: ; preds = %18
%36 = load i64, i64* %3
%37 = load i64, i64* %4
%38 = mul nsw i64 %36, %37
store i64 %38, i64* %2
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
%40 = load i64, i64* %2
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %40)
br label %71
42: ; preds = %18
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%44 = load i64, i64* %4
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
br label %70
48: ; preds = %42
%49 = load i64, i64* %3
%50 = load i64, i64* %4
%51 = srem i64 %49, %50
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %61
53: ; preds = %48
%54 = load i64, i64* %3
%55 = load i64, i64* %4
%56 = sdiv i64 %54, %55
store i64 %56, i64* %2
%57 = load i64, i64* %3
%58 = load i64, i64* %4
%59 = sdiv i64 %57, %58
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %59)
br label %69
61: ; preds = %48
%62 = load i64, i64* %3
%63 = sitofp i64 %62 to float
%64 = load i64, i64* %4
%65 = sitofp i64 %64 to float
%66 = fdiv float %63, %65
%67 = fpext float %66 to double
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double %67)
br label %69
69: ; preds = %61, %53
br label %70
70: ; preds = %69, %46
br label %71
71: ; preds = %70, %35, %28, %21
%72 = load i64, i64* %2
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %116
74: ; preds = %71
%75 = load i64, i64* %2
%76 = srem i64 %75, 2
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %74
%79 = load i64, i64* %2
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.9, i64 0, i64 0), i64 %79)
br label %84
81: ; preds = %74
%82 = load i64, i64* %2
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0), i64 %82)
br label %84
84: ; preds = %81, %78
%85 = load i64, i64* %2
%86 = load i64, i64* %3
%87 = srem i64 %85, %86
%88 = icmp eq i64 %87, 0
br i1 %88, label %89, label %97
89: ; preds = %84
%90 = load i64, i64* %2
%91 = load i64, i64* %4
%92 = srem i64 %90, %91
%93 = icmp eq i64 %92, 0
br i1 %93, label %94, label %97
94: ; preds = %89
%95 = load i64, i64* %2
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i64 0, i64 0), i64 %95)
br label %115
97: ; preds = %89, %84
%98 = load i64, i64* %2
%99 = load i64, i64* %3
%100 = srem i64 %98, %99
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %105
102: ; preds = %97
%103 = load i64, i64* %2
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.12, i64 0, i64 0), i64 %103)
br label %114
105: ; preds = %97
%106 = load i64, i64* %2
%107 = load i64, i64* %4
%108 = srem i64 %106, %107
%109 = icmp eq i64 %108, 0
br i1 %109, label %110, label %113
110: ; preds = %105
%111 = load i64, i64* %2
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i64 %111)
br label %113
113: ; preds = %110, %105
br label %114
114: ; preds = %113, %102
br label %115
115: ; preds = %114, %94
br label %116
116: ; preds = %115, %71
br label %117
117: ; preds = %116, %9, %0
ret i32 0
}

LLVM IR (-O2):
@.str = [13 x i8] c"%lld %c %lld\00"
@.str.3 = [22 x i8] c"Hasilnya adalah %lld\0A\00"
@.str.8 = [22 x i8] c"Hasilnya adalah %.2f\0A\00"
@.str.9 = [29 x i8] c"%lld adalah bilangan genap.\0A\00"
@.str.10 = [30 x i8] c"%lld adalah bilangan ganjil.\0A\00"
@.str.11 = [65 x i8] c"%lld adalah kelipatan dari bilangan pertama dan bilangan kedua.\0A\00"
@.str.12 = [46 x i8] c"%lld adalah kelipatan dari bilangan pertama.\0A\00"
@.str.13 = [44 x i8] c"%lld adalah kelipatan dari bilangan kedua.\0A\00"
@str = [30 x i8] c"Ini adalah operasi pengalian.\00"
@str.14 = [32 x i8] c"Ini adalah operasi pengurangan.\00"
@str.15 = [32 x i8] c"Ini adalah operasi penjumlahan.\00"
@str.16 = [30 x i8] c"Ini adalah operasi pembagian.\00"
@str.17 = [27 x i8] c"Error!!! Divide By Zero!!!\00"
@str.18 = [45 x i8] c"Bilangan pertama sama dengan bilangan kedua.\00"
define i32 @main() {
%1 = alloca i64
%2 = alloca i64
%3 = alloca i8
%4 = bitcast i64* %1 to i8*
%5 = bitcast i64* %2 to i8*
%6 = call i32 @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i64* %1, i8* %3, i64* %2)
%7 = load i64, i64* %1
%8 = icmp sgt i64 %7, -1
%9 = load i64, i64* %2
%10 = icmp slt i64 %9, 50001
%11 = select i1 %8, i1 %10, i1 false
br i1 %11, label %12, label %74
12: ; preds = %0
%13 = icmp eq i64 %7, %9
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.18, i64 0, i64 0))
br label %16
16: ; preds = %14, %12
%17 = load i8, i8* %3
%18 = sext i8 %17 to i32
switch i32 %18, label %34 [
i32 43, label %19
i32 45, label %24
i32 42, label %29
]
19: ; preds = %16
%20 = load i64, i64* %1
%21 = load i64, i64* %2
%22 = add nsw i64 %21, %20
%23 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.15, i64 0, i64 0))
br label %51
24: ; preds = %16
%25 = load i64, i64* %1
%26 = load i64, i64* %2
%27 = sub nsw i64 %25, %26
%28 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.14, i64 0, i64 0))
br label %51
29: ; preds = %16
%30 = load i64, i64* %1
%31 = load i64, i64* %2
%32 = mul nsw i64 %31, %30
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
br label %51
34: ; preds = %16
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.16, i64 0, i64 0))
%36 = load i64, i64* %2
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %34
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.17, i64 0, i64 0))
br label %74
40: ; preds = %34
%41 = load i64, i64* %1
%42 = srem i64 %41, %36
%43 = sdiv i64 %41, %36
%44 = icmp eq i64 %42, 0
br i1 %44, label %51, label %45
45: ; preds = %40
%46 = sitofp i64 %41 to float
%47 = sitofp i64 %36 to float
%48 = fdiv float %46, %47
%49 = fpext float %48 to double
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double %49)
br label %74
51: ; preds = %40, %29, %24, %19
%52 = phi i64 [ %32, %29 ], [ %27, %24 ], [ %22, %19 ], [ %43, %40 ]
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i64 %52)
%54 = icmp eq i64 %52, 0
br i1 %54, label %74, label %55
55: ; preds = %51
%56 = and i64 %52, 1
%57 = icmp eq i64 %56, 0
%58 = select i1 %57, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0)
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %58, i64 %52)
%60 = load i64, i64* %1
%61 = srem i64 %52, %60
%62 = icmp eq i64 %61, 0
%63 = load i64, i64* %2
%64 = srem i64 %52, %63
%65 = icmp eq i64 %64, 0
br i1 %62, label %66, label %71
66: ; preds = %55
br i1 %65, label %67, label %69
67: ; preds = %66
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i64 0, i64 0), i64 %52)
br label %74
69: ; preds = %66
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.12, i64 0, i64 0), i64 %52)
br label %74
71: ; preds = %55
br i1 %65, label %72, label %74
72: ; preds = %71
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i64 %52)
br label %74
74: ; preds = %45, %38, %51, %69, %72, %71, %67, %0
ret i32 0
}