int main(int argc, char *argv[]) {
  double latitude = 51.509865;
  double longitude = -0.118092;
  initialiseLookupTable();
  if (argc == 4) {
    double sunrise, sunset;
    int day;
    int success = sscanf(argv[1], "%d", &day) +
                  sscanf(argv[2], "%lg", &latitude) +
                  sscanf(argv[3], "%lg", &longitude);
    if (success != 3) {
      printf("Unable to parse arguments.  "
             "Expected day, latitude and longitude.\n");
      return 1;
    }
    printf("For %g,%g on day %d:\n", latitude, longitude, day);
    sunrise = sunriseTime(day, latitude, longitude);
    sunset = sunsetTime(day, latitude, longitude);
    printf("Actual: sunrise=%.2d:%.2d, sunset=%.2d:%.2d\n",
           ((int)((sunrise)*24)),
           ((int)(((sunrise)*24 - ((int)((sunrise)*24))) * 60 + 0.5)),
           ((int)((sunset)*24)),
           ((int)(((sunset)*24 - ((int)((sunset)*24))) * 60 + 0.5)));
    sunrise = lookupSunriseTime(day, latitude, longitude);
    sunset = lookupSunsetTime(day, latitude, longitude);
    printf("Lookup: sunrise=%.2d:%.2d, sunset=%.2d:%.2d\n",
           ((int)((sunrise)*24)),
           ((int)(((sunrise)*24 - ((int)((sunrise)*24))) * 60 + 0.5)),
           ((int)((sunset)*24)),
           ((int)(((sunset)*24 - ((int)((sunset)*24))) * 60 + 0.5)));
    return 0;
  }
  return writeLookupTableForOctave("lookup.txt", latitude, longitude) +
         writeLookupTableForAssembler("lookup.asm", latitude, longitude);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  0xe5a(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xe45(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    $0x0,%al
call   10b0 <initialiseLookupTable@plt>
cmpl   $0x4,-0x8(%rbp)
jne    14cb <main+0x33b>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe48(%rip),%rsi
lea    -0x34(%rbp),%rdx
mov    $0x0,%al
call   1070 <sscanf@plt>
mov    %eax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe2e(%rip),%rsi
lea    -0x18(%rbp),%rdx
mov    $0x0,%al
call   1070 <sscanf@plt>
mov    %eax,%ecx
mov    -0x40(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
lea    0xe0a(%rip),%rsi
lea    -0x20(%rbp),%rdx
mov    $0x0,%al
call   1070 <sscanf@plt>
mov    %eax,%ecx
mov    -0x3c(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0x38(%rbp)
cmpl   $0x3,-0x38(%rbp)
je     125a <main+0xca>
lea    0xde8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1508 <main+0x378>
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
mov    -0x34(%rbp),%esi
lea    0xe04(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    -0x34(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
mov    $0x2,%al
call   1030 <sunriseTime@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x34(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
mov    $0x2,%al
call   1060 <sunsetTime@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xd69(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%esi
movsd  -0x28(%rbp),%xmm0
movsd  0xd53(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
cvttsd2si %xmm1,%eax
cvtsi2sd %eax,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xd27(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xd07(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd03(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
movsd  0xcfb(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%ecx
movsd  -0x30(%rbp),%xmm0
movsd  0xce5(%rip),%xmm1
mulsd  -0x30(%rbp),%xmm1
cvttsd2si %xmm1,%eax
cvtsi2sd %eax,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rdi
xor    %rdi,%rax
movq   %rax,%xmm1
movsd  0xcb9(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xc99(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc95(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%r8d
lea    0xcf5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x34(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
mov    $0x2,%al
call   1080 <lookupSunriseTime@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x34(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
mov    $0x2,%al
call   10a0 <lookupSunsetTime@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xc44(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%esi
movsd  -0x28(%rbp),%xmm0
movsd  0xc2e(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
cvttsd2si %xmm1,%eax
cvtsi2sd %eax,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xc02(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xbe2(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbde(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edx
movsd  0xbd6(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
cvttsd2si %xmm0,%ecx
movsd  -0x30(%rbp),%xmm0
movsd  0xbc0(%rip),%xmm1
mulsd  -0x30(%rbp),%xmm1
cvttsd2si %xmm1,%eax
cvtsi2sd %eax,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rdi
xor    %rdi,%rax
movq   %rax,%xmm1
movsd  0xb94(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xb74(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb70(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%r8d
lea    0xbfd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1508 <main+0x378>
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
lea    0xc06(%rip),%rdi
mov    $0x2,%al
call   1090 <writeLookupTableForOctave@plt>
mov    %eax,-0x44(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
lea    0xbf6(%rip),%rdi
mov    $0x2,%al
call   1050 <writeLookupTableForAssembler@plt>
mov    %eax,%ecx
mov    -0x44(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
movabs $0x4049c143419e3001,%rax
c1 49 40
mov    %rax,0x18(%rsp)
movabs $0xbfbe3b46fdeb52ca,%rax
3b be bf
mov    %rax,0x10(%rsp)
xor    %eax,%eax
call   10c0 <initialiseLookupTable@plt>
cmp    $0x4,%ebp
jne    13c0 <main+0x220>
mov    0x8(%rbx),%rdi
lea    0xe40(%rip),%rsi
lea    0xc(%rsp),%rdx
xor    %eax,%eax
call   1080 <sscanf@plt>
mov    %eax,%r15d
mov    0x10(%rbx),%rdi
lea    0xe29(%rip),%r14
lea    0x18(%rsp),%rdx
mov    %r14,%rsi
xor    %eax,%eax
call   1080 <sscanf@plt>
mov    %eax,%ebp
add    %r15d,%ebp
mov    0x18(%rbx),%rdi
lea    0x10(%rsp),%rdx
mov    %r14,%rsi
xor    %eax,%eax
call   1080 <sscanf@plt>
add    %ebp,%eax
cmp    $0x3,%eax
jne    1404 <main+0x264>
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mov    0xc(%rsp),%esi
lea    0xde4(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
mov    0xc(%rsp),%edi
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mov    $0x2,%al
call   1040 <sunriseTime@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,0x20(%rsp)
mov    0xc(%rsp),%edi
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mov    $0x2,%al
call   1070 <sunsetTime@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0xd74(%rip),%xmm1
movapd 0x20(%rsp),%xmm5
mulsd  %xmm1,%xmm5
movapd %xmm1,%xmm2
cvttsd2si %xmm5,%esi
cvttpd2dq %xmm5,%xmm1
cvtdq2pd %xmm1,%xmm1
subsd  %xmm1,%xmm5
movsd  0xd56(%rip),%xmm1
mulsd  %xmm1,%xmm5
movapd %xmm1,%xmm3
movsd  0xd4e(%rip),%xmm1
addsd  %xmm1,%xmm5
movapd %xmm1,%xmm4
cvttsd2si %xmm5,%edx
mulsd  %xmm2,%xmm0
cvttsd2si %xmm0,%ecx
cvttpd2dq %xmm0,%xmm1
cvtdq2pd %xmm1,%xmm1
subsd  %xmm1,%xmm0
mulsd  %xmm3,%xmm0
addsd  %xmm4,%xmm0
cvttsd2si %xmm0,%r8d
lea    0xd3f(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp),%edi
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mov    $0x2,%al
call   1090 <lookupSunriseTime@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,0x20(%rsp)
mov    0xc(%rsp),%edi
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mov    $0x2,%al
call   10b0 <lookupSunsetTime@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0xcb7(%rip),%xmm2
movapd 0x20(%rsp),%xmm5
mulsd  %xmm2,%xmm5
cvttsd2si %xmm5,%esi
cvttpd2dq %xmm5,%xmm1
cvtdq2pd %xmm1,%xmm1
subsd  %xmm1,%xmm5
movsd  0xc9d(%rip),%xmm3
mulsd  %xmm3,%xmm5
movsd  0xc99(%rip),%xmm4
addsd  %xmm4,%xmm5
cvttsd2si %xmm5,%edx
mulsd  %xmm2,%xmm0
cvttsd2si %xmm0,%ecx
cvttpd2dq %xmm0,%xmm1
cvtdq2pd %xmm1,%xmm1
subsd  %xmm1,%xmm0
mulsd  %xmm3,%xmm0
addsd  %xmm4,%xmm0
cvttsd2si %xmm0,%r8d
lea    0xcbb(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1415 <main+0x275>
lea    0xcd8(%rip),%rdi
movsd  0xc31(%rip),%xmm0
movsd  0xc31(%rip),%xmm1
mov    $0x2,%al
call   10a0 <writeLookupTableForOctave@plt>
mov    %eax,%ebp
lea    0xcc3(%rip),%rdi
movsd  0xc11(%rip),%xmm0
movsd  0xc11(%rip),%xmm1
mov    $0x2,%al
call   1060 <writeLookupTableForAssembler@plt>
mov    %eax,%ebx
add    %ebp,%ebx
jmp    1415 <main+0x275>
lea    0xcaa(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%ebx
mov    %ebx,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [4 x i8] c"%lg\00"
@.str.2 = [67 x i8] c"Unable to parse arguments. Expected day, latitude and longitude.\0A\00"
@.str.3 = [22 x i8] c"For %g,%g on day %d:\0A\00"
@.str.4 = [45 x i8] c"Actual: sunrise=%.2d:%.2d, sunset=%.2d:%.2d\0A\00"
@.str.5 = [45 x i8] c"Lookup: sunrise=%.2d:%.2d, sunset=%.2d:%.2d\0A\00"
@.str.6 = [11 x i8] c"lookup.txt\00"
@.str.7 = [11 x i8] c"lookup.asm\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store double 0x4049C143419E3001, double* %6
store double -1.180920e-01, double* %7
%12 = call i32 (...) @initialiseLookupTable()
%13 = load i32, i32* %4
%14 = icmp eq i32 %13, 4
br i1 %14, label %15, label %109
15: ; preds = %2
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 1
%18 = load i8*, i8** %17
%19 = call i32 (i8*, i8*, ...) @sscanf(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %10)
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 2
%22 = load i8*, i8** %21
%23 = call i32 (i8*, i8*, ...) @sscanf(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %6)
%24 = add nsw i32 %19, %23
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 3
%27 = load i8*, i8** %26
%28 = call i32 (i8*, i8*, ...) @sscanf(i8* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %7)
%29 = add nsw i32 %24, %28
store i32 %29, i32* %11
%30 = load i32, i32* %11
%31 = icmp ne i32 %30, 3
br i1 %31, label %32, label %34
32: ; preds = %15
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %117
34: ; preds = %15
%35 = load double, double* %6
%36 = load double, double* %7
%37 = load i32, i32* %10
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), double %35, double %36, i32 %37)
%39 = load i32, i32* %10
%40 = load double, double* %6
%41 = load double, double* %7
%42 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @sunriseTime to i32 (i32, double, double, ...)*)(i32 %39, double %40, double %41)
%43 = sitofp i32 %42 to double
store double %43, double* %8
%44 = load i32, i32* %10
%45 = load double, double* %6
%46 = load double, double* %7
%47 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @sunsetTime to i32 (i32, double, double, ...)*)(i32 %44, double %45, double %46)
%48 = sitofp i32 %47 to double
store double %48, double* %9
%49 = load double, double* %8
%50 = fmul double %49, 2.400000e+01
%51 = fptosi double %50 to i32
%52 = load double, double* %8
%53 = load double, double* %8
%54 = fmul double %53, 2.400000e+01
%55 = fptosi double %54 to i32
%56 = sitofp i32 %55 to double
%57 = fneg double %56
%58 = call double @llvm.fmuladd.f64(double %52, double 2.400000e+01, double %57)
%59 = call double @llvm.fmuladd.f64(double %58, double 6.000000e+01, double 5.000000e-01)
%60 = fptosi double %59 to i32
%61 = load double, double* %9
%62 = fmul double %61, 2.400000e+01
%63 = fptosi double %62 to i32
%64 = load double, double* %9
%65 = load double, double* %9
%66 = fmul double %65, 2.400000e+01
%67 = fptosi double %66 to i32
%68 = sitofp i32 %67 to double
%69 = fneg double %68
%70 = call double @llvm.fmuladd.f64(double %64, double 2.400000e+01, double %69)
%71 = call double @llvm.fmuladd.f64(double %70, double 6.000000e+01, double 5.000000e-01)
%72 = fptosi double %71 to i32
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %51, i32 %60, i32 %63, i32 %72)
%74 = load i32, i32* %10
%75 = load double, double* %6
%76 = load double, double* %7
%77 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @lookupSunriseTime to i32 (i32, double, double, ...)*)(i32 %74, double %75, double %76)
%78 = sitofp i32 %77 to double
store double %78, double* %8
%79 = load i32, i32* %10
%80 = load double, double* %6
%81 = load double, double* %7
%82 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @lookupSunsetTime to i32 (i32, double, double, ...)*)(i32 %79, double %80, double %81)
%83 = sitofp i32 %82 to double
store double %83, double* %9
%84 = load double, double* %8
%85 = fmul double %84, 2.400000e+01
%86 = fptosi double %85 to i32
%87 = load double, double* %8
%88 = load double, double* %8
%89 = fmul double %88, 2.400000e+01
%90 = fptosi double %89 to i32
%91 = sitofp i32 %90 to double
%92 = fneg double %91
%93 = call double @llvm.fmuladd.f64(double %87, double 2.400000e+01, double %92)
%94 = call double @llvm.fmuladd.f64(double %93, double 6.000000e+01, double 5.000000e-01)
%95 = fptosi double %94 to i32
%96 = load double, double* %9
%97 = fmul double %96, 2.400000e+01
%98 = fptosi double %97 to i32
%99 = load double, double* %9
%100 = load double, double* %9
%101 = fmul double %100, 2.400000e+01
%102 = fptosi double %101 to i32
%103 = sitofp i32 %102 to double
%104 = fneg double %103
%105 = call double @llvm.fmuladd.f64(double %99, double 2.400000e+01, double %104)
%106 = call double @llvm.fmuladd.f64(double %105, double 6.000000e+01, double 5.000000e-01)
%107 = fptosi double %106 to i32
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 %86, i32 %95, i32 %98, i32 %107)
store i32 0, i32* %3
br label %117
109: ; preds = %2
%110 = load double, double* %6
%111 = load double, double* %7
%112 = call i32 (i8*, double, double, ...) bitcast (i32 (...)* @writeLookupTableForOctave to i32 (i8*, double, double, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), double %110, double %111)
%113 = load double, double* %6
%114 = load double, double* %7
%115 = call i32 (i8*, double, double, ...) bitcast (i32 (...)* @writeLookupTableForAssembler to i32 (i8*, double, double, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %113, double %114)
%116 = add nsw i32 %112, %115
store i32 %116, i32* %3
br label %117
117: ; preds = %109, %34, %32
%118 = load i32, i32* %3
ret i32 %118
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@.str.1 = [4 x i8] c"%lg\00"
@.str.3 = [22 x i8] c"For %g,%g on day %d:\0A\00"
@.str.4 = [45 x i8] c"Actual: sunrise=%.2d:%.2d, sunset=%.2d:%.2d\0A\00"
@.str.5 = [45 x i8] c"Lookup: sunrise=%.2d:%.2d, sunset=%.2d:%.2d\0A\00"
@.str.6 = [11 x i8] c"lookup.txt\00"
@.str.7 = [11 x i8] c"lookup.asm\00"
@str = [66 x i8] c"Unable to parse arguments. Expected day, latitude and longitude.\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca i32
%6 = bitcast double* %3 to i8*
store double 0x4049C143419E3001, double* %3
%7 = bitcast double* %4 to i8*
store double -1.180920e-01, double* %4
%8 = tail call i32 (...) @initialiseLookupTable()
%9 = icmp eq i32 %0, 4
br i1 %9, label %10, label %83
10: ; preds = %2
%11 = bitcast i32* %5 to i8*
%12 = getelementptr inbounds i8*, i8** %1, i64 1
%13 = load i8*, i8** %12
%14 = call i32 (i8*, i8*, ...) @sscanf(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %5)
%15 = getelementptr inbounds i8*, i8** %1, i64 2
%16 = load i8*, i8** %15
%17 = call i32 (i8*, i8*, ...) @sscanf(i8* %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %3)
%18 = add nsw i32 %17, %14
%19 = getelementptr inbounds i8*, i8** %1, i64 3
%20 = load i8*, i8** %19
%21 = call i32 (i8*, i8*, ...) @sscanf(i8* %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %4)
%22 = add nsw i32 %18, %21
%23 = icmp eq i32 %22, 3
br i1 %23, label %26, label %24
24: ; preds = %10
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str, i64 0, i64 0))
br label %81
26: ; preds = %10
%27 = load double, double* %3
%28 = load double, double* %4
%29 = load i32, i32* %5
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), double %27, double %28, i32 %29)
%31 = load i32, i32* %5
%32 = load double, double* %3
%33 = load double, double* %4
%34 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @sunriseTime to i32 (i32, double, double, ...)*)(i32 %31, double %32, double %33)
%35 = sitofp i32 %34 to double
%36 = load i32, i32* %5
%37 = load double, double* %3
%38 = load double, double* %4
%39 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @sunsetTime to i32 (i32, double, double, ...)*)(i32 %36, double %37, double %38)
%40 = sitofp i32 %39 to double
%41 = fmul double %35, 2.400000e+01
%42 = fptosi double %41 to i32
%43 = sitofp i32 %42 to double
%44 = fneg double %43
%45 = call double @llvm.fmuladd.f64(double %35, double 2.400000e+01, double %44)
%46 = call double @llvm.fmuladd.f64(double %45, double 6.000000e+01, double 5.000000e-01)
%47 = fptosi double %46 to i32
%48 = fmul double %40, 2.400000e+01
%49 = fptosi double %48 to i32
%50 = sitofp i32 %49 to double
%51 = fneg double %50
%52 = call double @llvm.fmuladd.f64(double %40, double 2.400000e+01, double %51)
%53 = call double @llvm.fmuladd.f64(double %52, double 6.000000e+01, double 5.000000e-01)
%54 = fptosi double %53 to i32
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %42, i32 %47, i32 %49, i32 %54)
%56 = load i32, i32* %5
%57 = load double, double* %3
%58 = load double, double* %4
%59 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @lookupSunriseTime to i32 (i32, double, double, ...)*)(i32 %56, double %57, double %58)
%60 = sitofp i32 %59 to double
%61 = load i32, i32* %5
%62 = load double, double* %3
%63 = load double, double* %4
%64 = call i32 (i32, double, double, ...) bitcast (i32 (...)* @lookupSunsetTime to i32 (i32, double, double, ...)*)(i32 %61, double %62, double %63)
%65 = sitofp i32 %64 to double
%66 = fmul double %60, 2.400000e+01
%67 = fptosi double %66 to i32
%68 = sitofp i32 %67 to double
%69 = fneg double %68
%70 = call double @llvm.fmuladd.f64(double %60, double 2.400000e+01, double %69)
%71 = call double @llvm.fmuladd.f64(double %70, double 6.000000e+01, double 5.000000e-01)
%72 = fptosi double %71 to i32
%73 = fmul double %65, 2.400000e+01
%74 = fptosi double %73 to i32
%75 = sitofp i32 %74 to double
%76 = fneg double %75
%77 = call double @llvm.fmuladd.f64(double %65, double 2.400000e+01, double %76)
%78 = call double @llvm.fmuladd.f64(double %77, double 6.000000e+01, double 5.000000e-01)
%79 = fptosi double %78 to i32
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 %67, i32 %72, i32 %74, i32 %79)
br label %81
81: ; preds = %26, %24
%82 = phi i32 [ 1, %24 ], [ 0, %26 ]
br label %87
83: ; preds = %2
%84 = tail call i32 (i8*, double, double, ...) bitcast (i32 (...)* @writeLookupTableForOctave to i32 (i8*, double, double, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), double 0x4049C143419E3001, double -1.180920e-01)
%85 = tail call i32 (i8*, double, double, ...) bitcast (i32 (...)* @writeLookupTableForAssembler to i32 (i8*, double, double, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double 0x4049C143419E3001, double -1.180920e-01)
%86 = add nsw i32 %85, %84
br label %87
87: ; preds = %83, %81
%88 = phi i32 [ %82, %81 ], [ %86, %83 ]
ret i32 %88
}