#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 main();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int problemA(void) {
  int number1_int = 0, number2_int = 0;
  double number1_float = 0.0, number2_float = 0.0;
  int int_result = 0, int_result2 = 0;
  double float_result = 0;
  printf("Input Integer #1: ");
  scanf("%d", &number1_int);
  printf("Input Integer #2: ");
  scanf("%d", &number2_int);
  printf("Input Floating-point #1: ");
  scanf("%lf", &number1_float);
  printf("Input Floating-point #2: ");
  scanf("%lf", &number2_float);
  int_result = number1_int + number2_int;
  printf("A.1: Result = Integer #1 + Integer #2 = %d + %d = %d \n", number1_int,
         number2_int, int_result);
  float_result = number1_float - number2_float;
  printf("A.2: Result = Floating-point #1 - Floating-point #2 = %lf - %lf = "
         "%lf \n",
         number1_float, number2_float, float_result);
  int_result = number1_int * number1_float;
  printf("A.3: Result = Integer #1 * Floating-point #1 = %d * %lf = %d \n",
         number1_int, number1_float, int_result);
  int_result = number1_int / number2_int;
  float_result = number1_int / number2_int;
  printf("A.4: Result = Integer #1 / Integer #2 = %d / %d = %d (Integer "
         "version), %lf (Floating-point version)\n",
         number1_int, number2_int, int_result, float_result);
  int_result = number1_int / number2_float;
  float_result = number1_int / number2_float;
  printf("A.5: Result = Integer #1 / Floating-point #2 = %d / %lf = %d "
         "(Integer version), %lf (Floating-point version)\n",
         number1_int, number2_float, int_result, float_result);
  float_result = (double)number1_int / number2_int;
  printf("A.6: Result = Integer #1 / Integer #2 = %d / %d = %lf \n",
         number1_int, number2_int, float_result);
  int_result = (int)number1_float % (int)number2_float;
  printf("A.7: Result = Floating-point #1 mod Floating-point #2 = %lf mod %lf "
         "= %d \n",
         number1_float, number2_float, int_result);
  int_result = number1_int % 2;
  int_result2 = number2_int % 2;
  printf("A.8: Result = 0 if integer is even, 1 if integer is odd.\n    "
         "Integer #1: %d \n    Integer #2: %d \n",
         int_result, int_result2);
  return main();
}


x86 assembly (clang, -O0):
<problemA>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x10(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x28(%rbp)
lea    0xe8d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe92(%rip),%rdi
lea    -0x4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe72(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe82(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xe74(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe62(%rip),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x4(%rbp),%eax
add    -0x8(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x4(%rbp),%esi
mov    -0x8(%rbp),%edx
mov    -0x1c(%rbp),%ecx
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x10(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
lea    0xe67(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
cvtsi2sdl -0x4(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x4(%rbp),%esi
movsd  -0x10(%rbp),%xmm0
mov    -0x1c(%rbp),%edx
lea    0xe85(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
cltd
idivl  -0x8(%rbp)
mov    %eax,-0x1c(%rbp)
mov    -0x4(%rbp),%eax
cltd
idivl  -0x8(%rbp)
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x4(%rbp),%esi
mov    -0x8(%rbp),%edx
mov    -0x1c(%rbp),%ecx
movsd  -0x28(%rbp),%xmm0
lea    0xe8e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdl -0x4(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x1c(%rbp)
cvtsi2sdl -0x4(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x4(%rbp),%esi
movsd  -0x18(%rbp),%xmm0
mov    -0x1c(%rbp),%edx
movsd  -0x28(%rbp),%xmm1
lea    0xeb6(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
cvtsi2sdl -0x4(%rbp),%xmm0
cvtsi2sdl -0x8(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x4(%rbp),%esi
mov    -0x8(%rbp),%edx
movsd  -0x28(%rbp),%xmm0
lea    0xef8(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvttsd2si -0x10(%rbp),%eax
cvttsd2si -0x18(%rbp),%ecx
cltd
idiv   %ecx
mov    %edx,-0x1c(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
mov    -0x1c(%rbp),%esi
lea    0xf05(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %edx,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %edx,-0x20(%rbp)
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xf20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <main@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<problemA>:
push   %rbx
sub    $0x20,%rsp
movl   $0x0,0x8(%rsp)
movl   $0x0,0xc(%rsp)
movq   $0x0,0x18(%rsp)
movq   $0x0,0x10(%rsp)
lea    0xea2(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xea7(%rip),%rbx
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe94(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe8a(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe96(%rip),%rbx
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe84(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%edx
lea    (%rdx,%rsi,1),%ecx
lea    0xe76(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
movapd %xmm0,%xmm2
subsd  %xmm1,%xmm2
lea    0xe8b(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
mov    0x8(%rsp),%esi
xorps  %xmm1,%xmm1
cvtsi2sd %esi,%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
cvttsd2si %xmm1,%edx
lea    0xeac(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x8(%rsp),%esi
mov    0xc(%rsp),%ecx
mov    %esi,%eax
cltd
idiv   %ecx
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xec9(%rip),%rdi
mov    %ecx,%edx
mov    %eax,%ecx
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x8(%rsp),%esi
xorps  %xmm1,%xmm1
cvtsi2sd %esi,%xmm1
movsd  0x10(%rsp),%xmm0
divsd  %xmm0,%xmm1
cvttsd2si %xmm1,%edx
lea    0xf04(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    0x8(%rsp),%esi
xorps  %xmm0,%xmm0
cvtsi2sd %esi,%xmm0
mov    0xc(%rsp),%edx
xorps  %xmm1,%xmm1
cvtsi2sd %edx,%xmm1
divsd  %xmm1,%xmm0
lea    0xf4a(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0x18(%rsp),%xmm0
cvttsd2si %xmm0,%eax
movsd  0x10(%rsp),%xmm1
cvttsd2si %xmm1,%ecx
cltd
idiv   %ecx
lea    0xf5d(%rip),%rdi
mov    %edx,%esi
mov    $0x2,%al
call   1030 <printf@plt>
mov    0x8(%rsp),%esi
mov    %esi,%eax
shr    $0x1f,%eax
add    %esi,%eax
and    $0xfffffffe,%eax
sub    %eax,%esi
mov    0xc(%rsp),%edx
mov    %edx,%eax
shr    $0x1f,%eax
add    %edx,%eax
and    $0xfffffffe,%eax
sub    %eax,%edx
lea    0xf78(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
call   1040 <main@plt>
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [19 x i8] c"Input Integer: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [19 x i8] c"Input Integer: \00"
@.str.3 = [26 x i8] c"Input Floating-point: \00"
@.str.4 = [4 x i8] c"%lf\00"
@.str.5 = [26 x i8] c"Input Floating-point: \00"
@.str.6 = [55 x i8] c"A.1: Result = Integer + Integer = %d + %d = %d \0A\00"
@.str.7 = [72 x i8] c"A.2: Result = Floating-point - Floating-point = %lf - %lf = %lf \0A\00"
@.str.8 = [63 x i8] c"A.3: Result = Integer * Floating-point = %d * %lf = %d \0A\00"
@.str.9 = [102 x i8] c"A.4: Result = Integer / Integer = %d / %d = %d (Integer version), %lf (Floating-point version)\0A\00"
@.str.10 = [110 x i8] c"A.5: Result = Integer / Floating-point = %d / %lf = %d (Integer version), %lf (Floating-point version)\0A\00"
@.str.11 = [56 x i8] c"A.6: Result = Integer / Integer = %d / %d = %lf \0A\00"
@.str.12 = [75 x i8] c"A.7: Result = Floating-point mod Floating-point = %lf mod %lf = %d \0A\00"
@.str.13 = [98 x i8] c"A.8: Result = 0 if integer is even, 1 if integer is odd.\0A Integer: %d \0A Integer: %d \0A\00"
define i32 @problemA() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca double
%4 = alloca double
%5 = alloca i32
%6 = alloca i32
%7 = alloca double
store i32 0, i32* %1
store i32 0, i32* %2
store double 0.000000e+00, double* %3
store double 0.000000e+00, double* %4
store i32 0, i32* %5
store i32 0, i32* %6
store double 0.000000e+00, double* %7
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%13 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), double* %3)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), double* %4)
%16 = load i32, i32* %1
%17 = load i32, i32* %2
%18 = add nsw i32 %16, %17
store i32 %18, i32* %5
%19 = load i32, i32* %1
%20 = load i32, i32* %2
%21 = load i32, i32* %5
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0), i32 %19, i32 %20, i32 %21)
%23 = load double, double* %3
%24 = load double, double* %4
%25 = fsub double %23, %24
store double %25, double* %7
%26 = load double, double* %3
%27 = load double, double* %4
%28 = load double, double* %7
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0), double %26, double %27, double %28)
%30 = load i32, i32* %1
%31 = sitofp i32 %30 to double
%32 = load double, double* %3
%33 = fmul double %31, %32
%34 = fptosi double %33 to i32
store i32 %34, i32* %5
%35 = load i32, i32* %1
%36 = load double, double* %3
%37 = load i32, i32* %5
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.8, i64 0, i64 0), i32 %35, double %36, i32 %37)
%39 = load i32, i32* %1
%40 = load i32, i32* %2
%41 = sdiv i32 %39, %40
store i32 %41, i32* %5
%42 = load i32, i32* %1
%43 = load i32, i32* %2
%44 = sdiv i32 %42, %43
%45 = sitofp i32 %44 to double
store double %45, double* %7
%46 = load i32, i32* %1
%47 = load i32, i32* %2
%48 = load i32, i32* %5
%49 = load double, double* %7
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.9, i64 0, i64 0), i32 %46, i32 %47, i32 %48, double %49)
%51 = load i32, i32* %1
%52 = sitofp i32 %51 to double
%53 = load double, double* %4
%54 = fdiv double %52, %53
%55 = fptosi double %54 to i32
store i32 %55, i32* %5
%56 = load i32, i32* %1
%57 = sitofp i32 %56 to double
%58 = load double, double* %4
%59 = fdiv double %57, %58
store double %59, double* %7
%60 = load i32, i32* %1
%61 = load double, double* %4
%62 = load i32, i32* %5
%63 = load double, double* %7
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([110 x i8], [110 x i8]* @.str.10, i64 0, i64 0), i32 %60, double %61, i32 %62, double %63)
%65 = load i32, i32* %1
%66 = sitofp i32 %65 to double
%67 = load i32, i32* %2
%68 = sitofp i32 %67 to double
%69 = fdiv double %66, %68
store double %69, double* %7
%70 = load i32, i32* %1
%71 = load i32, i32* %2
%72 = load double, double* %7
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.11, i64 0, i64 0), i32 %70, i32 %71, double %72)
%74 = load double, double* %3
%75 = fptosi double %74 to i32
%76 = load double, double* %4
%77 = fptosi double %76 to i32
%78 = srem i32 %75, %77
store i32 %78, i32* %5
%79 = load double, double* %3
%80 = load double, double* %4
%81 = load i32, i32* %5
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.12, i64 0, i64 0), double %79, double %80, i32 %81)
%83 = load i32, i32* %1
%84 = srem i32 %83, 2
store i32 %84, i32* %5
%85 = load i32, i32* %2
%86 = srem i32 %85, 2
store i32 %86, i32* %6
%87 = load i32, i32* %5
%88 = load i32, i32* %6
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str.13, i64 0, i64 0), i32 %87, i32 %88)
%90 = call i32 (...) @main()
ret i32 %90
}

LLVM IR (-O2):
@.str = [19 x i8] c"Input Integer: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [19 x i8] c"Input Integer: \00"
@.str.3 = [26 x i8] c"Input Floating-point: \00"
@.str.4 = [4 x i8] c"%lf\00"
@.str.5 = [26 x i8] c"Input Floating-point: \00"
@.str.6 = [55 x i8] c"A.1: Result = Integer + Integer = %d + %d = %d \0A\00"
@.str.7 = [72 x i8] c"A.2: Result = Floating-point - Floating-point = %lf - %lf = %lf \0A\00"
@.str.8 = [63 x i8] c"A.3: Result = Integer * Floating-point = %d * %lf = %d \0A\00"
@.str.9 = [102 x i8] c"A.4: Result = Integer / Integer = %d / %d = %d (Integer version), %lf (Floating-point version)\0A\00"
@.str.10 = [110 x i8] c"A.5: Result = Integer / Floating-point = %d / %lf = %d (Integer version), %lf (Floating-point version)\0A\00"
@.str.11 = [56 x i8] c"A.6: Result = Integer / Integer = %d / %d = %lf \0A\00"
@.str.12 = [75 x i8] c"A.7: Result = Floating-point mod Floating-point = %lf mod %lf = %d \0A\00"
@.str.13 = [98 x i8] c"A.8: Result = 0 if integer is even, 1 if integer is odd.\0A Integer: %d \0A Integer: %d \0A\00"
define i32 @problemA() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca double
%4 = alloca double
%5 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%6 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%7 = bitcast double* %3 to i8*
store double 0.000000e+00, double* %3
%8 = bitcast double* %4 to i8*
store double 0.000000e+00, double* %4
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), double* %3)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), double* %4)
%17 = load i32, i32* %1
%18 = load i32, i32* %2
%19 = add nsw i32 %18, %17
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0), i32 %17, i32 %18, i32 %19)
%21 = load double, double* %3
%22 = load double, double* %4
%23 = fsub double %21, %22
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0), double %21, double %22, double %23)
%25 = load i32, i32* %1
%26 = sitofp i32 %25 to double
%27 = load double, double* %3
%28 = fmul double %27, %26
%29 = fptosi double %28 to i32
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.8, i64 0, i64 0), i32 %25, double %27, i32 %29)
%31 = load i32, i32* %1
%32 = load i32, i32* %2
%33 = sdiv i32 %31, %32
%34 = sitofp i32 %33 to double
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([102 x i8], [102 x i8]* @.str.9, i64 0, i64 0), i32 %31, i32 %32, i32 %33, double %34)
%36 = load i32, i32* %1
%37 = sitofp i32 %36 to double
%38 = load double, double* %4
%39 = fdiv double %37, %38
%40 = fptosi double %39 to i32
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([110 x i8], [110 x i8]* @.str.10, i64 0, i64 0), i32 %36, double %38, i32 %40, double %39)
%42 = load i32, i32* %1
%43 = sitofp i32 %42 to double
%44 = load i32, i32* %2
%45 = sitofp i32 %44 to double
%46 = fdiv double %43, %45
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.11, i64 0, i64 0), i32 %42, i32 %44, double %46)
%48 = load double, double* %3
%49 = fptosi double %48 to i32
%50 = load double, double* %4
%51 = fptosi double %50 to i32
%52 = srem i32 %49, %51
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @.str.12, i64 0, i64 0), double %48, double %50, i32 %52)
%54 = load i32, i32* %1
%55 = srem i32 %54, 2
%56 = load i32, i32* %2
%57 = srem i32 %56, 2
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([98 x i8], [98 x i8]* @.str.13, i64 0, i64 0), i32 %55, i32 %57)
%59 = call i32 (...) @main()
ret i32 %59
}