#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 year;
typedef int month;
typedef double day;

/* Variables and functions */
double JDNow();
double __daylen__(double, double, double, double, int);
int __sunriset__(double, double, double, double, int /*<<< orphan*/, double *,
                 double *);
double floor(int);
int fmod(double, double);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ time(int /*<<< orphan*/);
void main(void) {
  int year, month, day;
  double d;
  double majd;
  double lon, lat;
  double daylen, civlen, nautlen, astrlen;
  double rise, set, civ_start, civ_end, naut_start, naut_end, astr_start,
      astr_end;
  int rs, civ, naut, astr;
  lat = 41.9475360;
  lon = -88.7430640;
  int epoc_days = (int)time(0) / 86400.0;
  double jd_today = epoc_days + (double)2440587.0;
  double jd_days = epoc_days + (double)2440587.0 - (double)2451545.0;
  double jd = epoc_days + (double)2440587.0 - (double)2451545.0 - lon / 360.0;
  int iy, im, id;
  double fd;
  printf("\n");
  printf("\tjd now \t\t\t : %7.9f\n", JDNow());
  majd = (367L * (year) - ((7 * ((year) + (((month) + 9) / 12))) / 4) +
          ((275 * (month)) / 9) + (day)-730531.5L);
  printf("\tEpoch \t\t\t : %llu seconds past midnight 1.1.1970\n", time(0));
  printf("\tDays \t\t\t : %d days past midnight 1.1.1970\n", epoc_days);
  printf("\tJD \t\t\t : %f \n", jd_today);
  printf("\tDays \t\t\t : %f Number of days since 12:00 UTC Jan 1st 2000\n",
         jd_days);
  printf("\tDays \t\t\t : %f My Number of days since 12:00 UTC Jan 1st 2000\n",
         jd);
  daylen = __daylen__(jd, lon, lat, -35.0 / 60.0, 1);
  ;
  civlen = __daylen__(jd, lon, lat, -6.0, 0);
  ;
  nautlen = __daylen__(jd, lon, lat, -12.0, 0);
  ;
  astrlen = __daylen__(jd, lon, lat, -18.0, 0);
  ;
  printf("\tDay length \t\t : %5.2f hours\n", daylen);
  rs = __sunriset__(jd, lon, lat, -35.0 / 60.0, 0, &rise, &set);
  ;
  civ = __sunriset__(jd, lon, lat, -6.0, 0, &civ_start, &civ_end);
  ;
  naut = __sunriset__(jd, lon, lat, -12.0, 0, &naut_start, &naut_end);
  ;
  astr = __sunriset__(jd, lon, lat, -18.0, 0, &astr_start, &astr_end);
  ;
  printf("\tSun at south \t\t : %2.0f:%02.0f UTC\n", floor((rise + set) / 2.0),
         floor(fmod((rise + set) / 2.0, 1.0) * 60));
  switch (rs) {
  case 0:
    printf("\tSun rises \t\t : %2.0f:%02.0f UTC\n", floor(rise),
           floor(fmod(rise, 1.0) * 60));
    printf("\tSun sets \t\t : %2.0f:%02.0f UTC\n", floor(set),
           floor(fmod(set, 1.0) * 60));
    break;
  case +1:
    printf("Sun above horizon\n");
    break;
  case -1:
    printf("Sun below horizon\n");
    break;
  }
  switch (civ) {
  case 0:
    printf("\tCivil twilight \t\t : starts %2.0f:%02.0f UTC\n"
           "\t\t\t\t : ends   %2.0f:%02.0f UTC\n",
           civ_start, civ_end);
    break;
  case +1:
    printf("Never darker than civil twilight\n");
    break;
  case -1:
    printf("Never as bright as civil twilight\n");
    break;
  }
  switch (naut) {
  case 0:
    printf("\tNautical twilight \t : starts %2.0f:%02.0f UTC\n"
           "\t\t\t\t : ends   %2.0f:%02.0f UTC\n",
           naut_start, naut_end);
    break;
  case +1:
    printf("Never darker than nautical twilight\n");
    break;
  case -1:
    printf("Never as bright as nautical twilight\n");
    break;
  }
  switch (astr) {
  case 0:
    printf("\tAstronomical twilight \t : starts %2.0f:%02.0f UTC\n"
           "\t\t\t\t : ends   %2.0f:%02.0f UTC\n",
           astr_start, astr_end);
    break;
  case +1:
    printf("Never darker than astronomical twilight\n");
    break;
  case -1:
    printf("Never as bright as astronomical twilight\n");
    break;
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
movabs $0x4044f948dc11e42e,%rax
f9 44 40
mov    %rax,-0x30(%rbp)
movabs $0xc0562f8e5c4eb570,%rax
2f 56 c0
mov    %rax,-0x28(%rbp)
xor    %edi,%edi
mov    %edi,-0xfc(%rbp)
call   1070 <time@plt>
mov    %rax,%rcx
mov    -0xfc(%rbp),%eax
cvtsi2sd %ecx,%xmm0
movsd  0xe47(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%ecx
mov    %ecx,-0xa4(%rbp)
cvtsi2sdl -0xa4(%rbp),%xmm0
ff
movsd  0xe31(%rip),%xmm2
addsd  %xmm2,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
cvtsi2sdl -0xa4(%rbp),%xmm0
ff
addsd  %xmm2,%xmm0
movsd  0xe19(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
cvtsi2sdl -0xa4(%rbp),%xmm0
ff
addsd  %xmm2,%xmm0
subsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  0xdf8(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
lea    0xe9d(%rip),%rdi
mov    %al,-0x122(%rbp)
call   1040 <printf@plt>
mov    -0x122(%rbp),%al
call   1060 <JDNow@plt>
lea    0xe00(%rip),%rdi
mov    $0x1,%al
mov    %al,-0x121(%rbp)
call   1040 <printf@plt>
mov    -0xfc(%rbp),%edi
movslq -0x4(%rbp),%rax
mov    %eax,%esi
imul   $0x16f,%rax,%rax
mov    -0x8(%rbp),%ecx
mov    %ecx,%edx
add    $0x9,%edx
movslq %edx,%rdx
imul   $0x2aaaaaab,%rdx,%rdx
mov    %rdx,%r8
shr    $0x3f,%r8
sar    $0x21,%rdx
add    %r8d,%edx
add    %edx,%esi
mov    %esi,%edx
shl    $0x3,%edx
sub    %esi,%edx
mov    %edx,%esi
add    $0x3,%esi
test   %edx,%edx
cmovs  %esi,%edx
sar    $0x2,%edx
movslq %edx,%rdx
sub    %rdx,%rax
imul   $0x113,%ecx,%ecx
movslq %ecx,%rcx
imul   $0x38e38e39,%rcx,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x21,%rcx
add    %edx,%ecx
movslq %ecx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
add    %rcx,%rax
mov    %rax,-0xe0(%rbp)
fildll -0xe0(%rbp)
flds   0xd63(%rip)
faddp  %st,%st(1)
fstpl  -0x20(%rbp)
call   1070 <time@plt>
mov    %rax,%rsi
mov    -0x122(%rbp),%al
lea    0xd62(%rip),%rdi
call   1040 <printf@plt>
mov    -0x122(%rbp),%al
mov    -0xa4(%rbp),%esi
lea    0xd7c(%rip),%rdi
call   1040 <printf@plt>
mov    -0x121(%rbp),%al
movsd  -0xb0(%rbp),%xmm0
ff
lea    0xd8e(%rip),%rdi
call   1040 <printf@plt>
mov    -0x121(%rbp),%al
movsd  -0xb8(%rbp),%xmm0
ff
lea    0xd83(%rip),%rdi
call   1040 <printf@plt>
mov    -0x121(%rbp),%al
movsd  -0xc0(%rbp),%xmm0
ff
lea    0xda5(%rip),%rdi
call   1040 <printf@plt>
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0xc94(%rip),%xmm3
movsd  %xmm3,-0x120(%rbp)
ff
mov    $0x1,%edi
call   1030 <__daylen__@plt>
mov    -0xfc(%rbp),%edi
movsd  %xmm0,-0x38(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0xc65(%rip),%xmm3
movsd  %xmm3,-0x118(%rbp)
ff
call   1030 <__daylen__@plt>
mov    -0xfc(%rbp),%edi
movsd  %xmm0,-0x40(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0xc3b(%rip),%xmm3
movsd  %xmm3,-0x110(%rbp)
ff
call   1030 <__daylen__@plt>
mov    -0xfc(%rbp),%edi
movsd  %xmm0,-0x48(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  0xc11(%rip),%xmm3
movsd  %xmm3,-0x108(%rbp)
ff
call   1030 <__daylen__@plt>
mov    -0x121(%rbp),%al
movsd  %xmm0,-0x50(%rbp)
movsd  -0x38(%rbp),%xmm0
lea    0xd06(%rip),%rdi
call   1040 <printf@plt>
movsd  -0x120(%rbp),%xmm3
ff
mov    -0xfc(%rbp),%edi
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
lea    -0x58(%rbp),%rsi
lea    -0x60(%rbp),%rdx
call   1080 <__sunriset__@plt>
movsd  -0x118(%rbp),%xmm3
ff
mov    -0xfc(%rbp),%edi
mov    %eax,-0x94(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
lea    -0x68(%rbp),%rsi
lea    -0x70(%rbp),%rdx
call   1080 <__sunriset__@plt>
movsd  -0x110(%rbp),%xmm3
ff
mov    -0xfc(%rbp),%edi
mov    %eax,-0x98(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
lea    -0x78(%rbp),%rsi
lea    -0x80(%rbp),%rdx
call   1080 <__sunriset__@plt>
movsd  -0x108(%rbp),%xmm3
ff
mov    -0xfc(%rbp),%edi
mov    %eax,-0x9c(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
lea    -0x88(%rbp),%rsi
lea    -0x90(%rbp),%rdx
call   1080 <__sunriset__@plt>
mov    %eax,-0xa0(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
addsd  %xmm1,%xmm0
movsd  0xb08(%rip),%xmm1
movsd  %xmm1,-0xf8(%rbp)
ff
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1090 <floor@plt>
movsd  -0xf8(%rbp),%xmm1
ff
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
addsd  %xmm2,%xmm0
divsd  %xmm1,%xmm0
movsd  0xad1(%rip),%xmm1
call   1050 <fmod@plt>
imul   $0x3c,%eax,%edi
call   1090 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
lea    0xbd9(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    -0x94(%rbp),%eax
mov    %eax,-0xe4(%rbp)
sub    $0xffffffff,%eax
je     1680 <main+0x510>
jmp    15b7 <main+0x447>
mov    -0xe4(%rbp),%eax
test   %eax,%eax
je     15de <main+0x46e>
jmp    15ca <main+0x45a>
mov    -0xe4(%rbp),%eax
sub    $0x1,%eax
je     166d <main+0x4fd>
jmp    168e <main+0x51e>
cvttsd2si -0x58(%rbp),%edi
call   1090 <floor@plt>
movsd  %xmm0,-0x138(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  0xa4b(%rip),%xmm1
call   1050 <fmod@plt>
imul   $0x3c,%eax,%edi
call   1090 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0x138(%rbp),%xmm0
ff
lea    0xb78(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
cvttsd2si -0x60(%rbp),%edi
call   1090 <floor@plt>
movsd  %xmm0,-0x130(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movsd  0xa06(%rip),%xmm1
call   1050 <fmod@plt>
imul   $0x3c,%eax,%edi
call   1090 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0x130(%rbp),%xmm0
ff
lea    0xb55(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
jmp    168e <main+0x51e>
lea    0xb63(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    168e <main+0x51e>
lea    0xb63(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x98(%rbp),%eax
mov    %eax,-0x13c(%rbp)
sub    $0xffffffff,%eax
je     16ff <main+0x58f>
jmp    16a8 <main+0x538>
mov    -0x13c(%rbp),%eax
test   %eax,%eax
je     16cf <main+0x55f>
jmp    16bb <main+0x54b>
mov    -0x13c(%rbp),%eax
sub    $0x1,%eax
je     16ec <main+0x57c>
jmp    170d <main+0x59d>
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
lea    0xb1d(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
jmp    170d <main+0x59d>
lea    0xb57(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    170d <main+0x59d>
lea    0xb66(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x9c(%rbp),%eax
mov    %eax,-0x140(%rbp)
sub    $0xffffffff,%eax
je     177e <main+0x60e>
jmp    1727 <main+0x5b7>
mov    -0x140(%rbp),%eax
test   %eax,%eax
je     174e <main+0x5de>
jmp    173a <main+0x5ca>
mov    -0x140(%rbp),%eax
sub    $0x1,%eax
je     176b <main+0x5fb>
jmp    178c <main+0x61c>
movsd  -0x78(%rbp),%xmm0
movsd  -0x80(%rbp),%xmm1
lea    0xb30(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
jmp    178c <main+0x61c>
lea    0xb6c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    178c <main+0x61c>
lea    0xb7e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xa0(%rbp),%eax
mov    %eax,-0x144(%rbp)
sub    $0xffffffff,%eax
je     1803 <main+0x693>
jmp    17a6 <main+0x636>
mov    -0x144(%rbp),%eax
test   %eax,%eax
je     17cd <main+0x65d>
jmp    17b9 <main+0x649>
mov    -0x144(%rbp),%eax
sub    $0x1,%eax
je     17f0 <main+0x680>
jmp    1811 <main+0x6a1>
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm1
ff
lea    0xb45(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
jmp    1811 <main+0x6a1>
lea    0xb85(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1811 <main+0x6a1>
lea    0xb9b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x8bc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x68,%rsp
xor    %edi,%edi
call   1090 <time@plt>
cvtsi2sd %eax,%xmm0
divsd  0xe53(%rip),%xmm0
cvttsd2si %xmm0,%ebx
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
addsd  0xe47(%rip),%xmm0
movapd %xmm0,0x50(%rsp)
movsd  0xe41(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0xe37(%rip),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    $0xa,%edi
call   1040 <putchar@plt>
xor    %eax,%eax
call   1080 <JDNow@plt>
lea    0xe5e(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
xor    %edi,%edi
call   1090 <time@plt>
lea    0xe5e(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe7f(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe9b(%rip),%rdi
movaps 0x50(%rsp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xe97(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xebf(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0xdad(%rip),%xmm1
movsd  0xdad(%rip),%xmm2
movsd  0xdad(%rip),%xmm3
movsd  (%rsp),%xmm0
mov    $0x1,%edi
call   1030 <__daylen__@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xd98(%rip),%xmm3
movsd  (%rsp),%xmm0
movsd  0xd73(%rip),%xmm1
movsd  0xd73(%rip),%xmm2
xor    %edi,%edi
call   1030 <__daylen__@plt>
movsd  0xd7c(%rip),%xmm3
movsd  (%rsp),%xmm0
movsd  0xd4f(%rip),%xmm1
movsd  0xd4f(%rip),%xmm2
xor    %edi,%edi
call   1030 <__daylen__@plt>
movsd  0xd60(%rip),%xmm3
movsd  (%rsp),%xmm0
movsd  0xd2b(%rip),%xmm1
movsd  0xd2b(%rip),%xmm2
xor    %edi,%edi
call   1030 <__daylen__@plt>
lea    0xe52(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0x10(%rsp),%rsi
lea    0x8(%rsp),%rdx
movsd  (%rsp),%xmm0
movsd  0xcf1(%rip),%xmm1
movsd  0xcf1(%rip),%xmm2
movsd  0xcf1(%rip),%xmm3
xor    %edi,%edi
call   10a0 <__sunriset__@plt>
mov    %eax,%ebp
lea    0x48(%rsp),%rsi
lea    0x40(%rsp),%rdx
movsd  (%rsp),%xmm0
movsd  0xcc1(%rip),%xmm1
movsd  0xcc1(%rip),%xmm2
movsd  0xcc9(%rip),%xmm3
xor    %edi,%edi
call   10a0 <__sunriset__@plt>
mov    %eax,%ebx
lea    0x38(%rsp),%rsi
lea    0x30(%rsp),%rdx
movsd  (%rsp),%xmm0
movsd  0xc91(%rip),%xmm1
movsd  0xc91(%rip),%xmm2
movsd  0xca1(%rip),%xmm3
xor    %edi,%edi
call   10a0 <__sunriset__@plt>
mov    %eax,%r15d
lea    0x28(%rsp),%rsi
lea    0x20(%rsp),%rdx
movsd  (%rsp),%xmm0
movsd  0xc60(%rip),%xmm1
movsd  0xc60(%rip),%xmm2
movsd  0xc78(%rip),%xmm3
xor    %edi,%edi
call   10a0 <__sunriset__@plt>
mov    %eax,%r14d
movsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
mulsd  0xc62(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   10b0 <floor@plt>
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
mulsd  0xc40(%rip),%xmm0
movsd  0xc40(%rip),%xmm1
call   1070 <fmod@plt>
imul   $0x3c,%eax,%edi
call   10b0 <floor@plt>
movapd %xmm0,%xmm1
lea    0xd4b(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1060 <printf@plt>
cmp    $0xffffffff,%ebp
je     14db <main+0x34b>
cmp    $0x1,%ebp
je     14e4 <main+0x354>
test   %ebp,%ebp
jne    14f0 <main+0x360>
cvttsd2si 0x10(%rsp),%edi
call   10b0 <floor@plt>
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xbe4(%rip),%xmm1
call   1070 <fmod@plt>
imul   $0x3c,%eax,%edi
call   10b0 <floor@plt>
movaps %xmm0,%xmm1
lea    0xd15(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1060 <printf@plt>
cvttsd2si 0x8(%rsp),%edi
call   10b0 <floor@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xba3(%rip),%xmm1
call   1070 <fmod@plt>
imul   $0x3c,%eax,%edi
call   10b0 <floor@plt>
movapd %xmm0,%xmm1
lea    0xcf5(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1060 <printf@plt>
jmp    14f0 <main+0x360>
lea    0xdf0(%rip),%rdi
jmp    14eb <main+0x35b>
lea    0xed6(%rip),%rdi
call   1050 <puts@plt>
cmp    $0xffffffff,%ebx
je     151a <main+0x38a>
cmp    $0x1,%ebx
je     1523 <main+0x393>
test   %ebx,%ebx
jne    152f <main+0x39f>
movsd  0x48(%rsp),%xmm0
movsd  0x40(%rsp),%xmm1
lea    0xcd2(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
jmp    152f <main+0x39f>
lea    0xdc3(%rip),%rdi
jmp    152a <main+0x39a>
lea    0xe76(%rip),%rdi
call   1050 <puts@plt>
cmp    $0xffffffff,%r15d
je     155c <main+0x3cc>
cmp    $0x1,%r15d
je     1565 <main+0x3d5>
test   %r15d,%r15d
jne    1571 <main+0x3e1>
movsd  0x38(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
lea    0xcdd(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
jmp    1571 <main+0x3e1>
lea    0xda3(%rip),%rdi
jmp    156c <main+0x3dc>
lea    0xe10(%rip),%rdi
call   1050 <puts@plt>
cmp    $0xffffffff,%r14d
je     159e <main+0x40e>
cmp    $0x1,%r14d
je     15a7 <main+0x417>
test   %r14d,%r14d
jne    15b3 <main+0x423>
movsd  0x28(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
lea    0xcea(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
jmp    15b3 <main+0x423>
lea    0xd86(%rip),%rdi
jmp    15ae <main+0x41e>
lea    0xda6(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
add    $0x68,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [21 x i8] c"\09jd now \09\09\09 : %7.9f\0A\00"
@.str.2 = [50 x i8] c"\09Epoch \09\09\09 : %llu seconds past midnight 1.1.1970\0A\00"
@.str.3 = [44 x i8] c"\09Days \09\09\09 : %d days past midnight 1.1.1970\0A\00"
@.str.4 = [15 x i8] c"\09JD \09\09\09 : %f \0A\00"
@.str.5 = [60 x i8] c"\09Days \09\09\09 : %f Number of days since 12:00 UTC Jan 1st 2000\0A\00"
@.str.6 = [63 x i8] c"\09Days \09\09\09 : %f My Number of days since 12:00 UTC Jan 1st 2000\0A\00"
@.str.7 = [30 x i8] c"\09Day length \09\09 : %5.2f hours\0A\00"
@.str.8 = [37 x i8] c"\09Sun at south \09\09 : %2.0f:%02.0f UTC\0A\00"
@.str.9 = [34 x i8] c"\09Sun rises \09\09 : %2.0f:%02.0f UTC\0A\00"
@.str.10 = [33 x i8] c"\09Sun sets \09\09 : %2.0f:%02.0f UTC\0A\00"
@.str.11 = [19 x i8] c"Sun above horizon\0A\00"
@.str.12 = [19 x i8] c"Sun below horizon\0A\00"
@.str.13 = [77 x i8] c"\09Civil twilight \09\09 : starts %2.0f:%02.0f UTC\0A\09\09\09\09 : ends %2.0f:%02.0f UTC\0A\00"
@.str.14 = [34 x i8] c"Never darker than civil twilight\0A\00"
@.str.15 = [35 x i8] c"Never as bright as civil twilight\0A\00"
@.str.16 = [79 x i8] c"\09Nautical twilight \09 : starts %2.0f:%02.0f UTC\0A\09\09\09\09 : ends %2.0f:%02.0f UTC\0A\00"
@.str.17 = [37 x i8] c"Never darker than nautical twilight\0A\00"
@.str.18 = [38 x i8] c"Never as bright as nautical twilight\0A\00"
@.str.19 = [83 x i8] c"\09Astronomical twilight \09 : starts %2.0f:%02.0f UTC\0A\09\09\09\09 : ends %2.0f:%02.0f UTC\0A\00"
@.str.20 = [41 x i8] c"Never darker than astronomical twilight\0A\00"
@.str.21 = [42 x i8] c"Never as bright as astronomical twilight\0A\00"
define void @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca double
store double 0x4044F948DC11E42E, double* %7
store double 0xC0562F8E5C4EB570, double* %6
%32 = call i64 @time(i32 0)
%33 = trunc i64 %32 to i32
%34 = sitofp i32 %33 to double
%35 = fdiv double %34, 8.640000e+04
%36 = fptosi double %35 to i32
store i32 %36, i32* %24
%37 = load i32, i32* %24
%38 = sitofp i32 %37 to double
%39 = fadd double %38, 0x41429EC580000000
store double %39, double* %25
%40 = load i32, i32* %24
%41 = sitofp i32 %40 to double
%42 = fadd double %41, 0x41429EC580000000
%43 = fsub double %42, 0x4142B42C80000000
store double %43, double* %26
%44 = load i32, i32* %24
%45 = sitofp i32 %44 to double
%46 = fadd double %45, 0x41429EC580000000
%47 = fsub double %46, 0x4142B42C80000000
%48 = load double, double* %6
%49 = fdiv double %48, 3.600000e+02
%50 = fsub double %47, %49
store double %50, double* %27
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%52 = call double (...) @JDNow()
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), double %52)
%54 = load i32, i32* %1
%55 = sext i32 %54 to i64
%56 = mul nsw i64 367, %55
%57 = load i32, i32* %1
%58 = load i32, i32* %2
%59 = add nsw i32 %58, 9
%60 = sdiv i32 %59, 12
%61 = add nsw i32 %57, %60
%62 = mul nsw i32 7, %61
%63 = sdiv i32 %62, 4
%64 = sext i32 %63 to i64
%65 = sub nsw i64 %56, %64
%66 = load i32, i32* %2
%67 = mul nsw i32 275, %66
%68 = sdiv i32 %67, 9
%69 = sext i32 %68 to i64
%70 = add nsw i64 %65, %69
%71 = load i32, i32* %3
%72 = sext i32 %71 to i64
%73 = add nsw i64 %70, %72
%74 = sitofp i64 %73 to x86_fp80
%75 = fsub x86_fp80 %74, 0xK4012B25A380000000000
%76 = fptrunc x86_fp80 %75 to double
store double %76, double* %5
%77 = call i64 @time(i32 0)
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0), i64 %77)
%79 = load i32, i32* %24
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0), i32 %79)
%81 = load double, double* %25
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), double %81)
%83 = load double, double* %26
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0), double %83)
%85 = load double, double* %27
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.6, i64 0, i64 0), double %85)
%87 = load double, double* %27
%88 = load double, double* %6
%89 = load double, double* %7
%90 = call double @__daylen__(double %87, double %88, double %89, double 0xBFE2AAAAAAAAAAAB, i32 1)
store double %90, double* %8
%91 = load double, double* %27
%92 = load double, double* %6
%93 = load double, double* %7
%94 = call double @__daylen__(double %91, double %92, double %93, double -6.000000e+00, i32 0)
store double %94, double* %9
%95 = load double, double* %27
%96 = load double, double* %6
%97 = load double, double* %7
%98 = call double @__daylen__(double %95, double %96, double %97, double -1.200000e+01, i32 0)
store double %98, double* %10
%99 = load double, double* %27
%100 = load double, double* %6
%101 = load double, double* %7
%102 = call double @__daylen__(double %99, double %100, double %101, double -1.800000e+01, i32 0)
store double %102, double* %11
%103 = load double, double* %8
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), double %103)
%105 = load double, double* %27
%106 = load double, double* %6
%107 = load double, double* %7
%108 = call i32 @__sunriset__(double %105, double %106, double %107, double 0xBFE2AAAAAAAAAAAB, i32 0, double* %12, double* %13)
store i32 %108, i32* %20
%109 = load double, double* %27
%110 = load double, double* %6
%111 = load double, double* %7
%112 = call i32 @__sunriset__(double %109, double %110, double %111, double -6.000000e+00, i32 0, double* %14, double* %15)
store i32 %112, i32* %21
%113 = load double, double* %27
%114 = load double, double* %6
%115 = load double, double* %7
%116 = call i32 @__sunriset__(double %113, double %114, double %115, double -1.200000e+01, i32 0, double* %16, double* %17)
store i32 %116, i32* %22
%117 = load double, double* %27
%118 = load double, double* %6
%119 = load double, double* %7
%120 = call i32 @__sunriset__(double %117, double %118, double %119, double -1.800000e+01, i32 0, double* %18, double* %19)
store i32 %120, i32* %23
%121 = load double, double* %12
%122 = load double, double* %13
%123 = fadd double %121, %122
%124 = fdiv double %123, 2.000000e+00
%125 = fptosi double %124 to i32
%126 = call double @floor(i32 %125)
%127 = load double, double* %12
%128 = load double, double* %13
%129 = fadd double %127, %128
%130 = fdiv double %129, 2.000000e+00
%131 = call i32 @fmod(double %130, double 1.000000e+00)
%132 = mul nsw i32 %131, 60
%133 = call double @floor(i32 %132)
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), double %126, double %133)
%135 = load i32, i32* %20
switch i32 %135, label %157 [
i32 0, label %136
i32 1, label %153
i32 -1, label %155
]
136: ; preds = %0
%137 = load double, double* %12
%138 = fptosi double %137 to i32
%139 = call double @floor(i32 %138)
%140 = load double, double* %12
%141 = call i32 @fmod(double %140, double 1.000000e+00)
%142 = mul nsw i32 %141, 60
%143 = call double @floor(i32 %142)
%144 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0), double %139, double %143)
%145 = load double, double* %13
%146 = fptosi double %145 to i32
%147 = call double @floor(i32 %146)
%148 = load double, double* %13
%149 = call i32 @fmod(double %148, double 1.000000e+00)
%150 = mul nsw i32 %149, 60
%151 = call double @floor(i32 %150)
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), double %147, double %151)
br label %157
153: ; preds = %0
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0))
br label %157
155: ; preds = %0
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
br label %157
157: ; preds = %0, %155, %153, %136
%158 = load i32, i32* %21
switch i32 %158, label %167 [
i32 0, label %159
i32 1, label %163
i32 -1, label %165
]
159: ; preds = %157
%160 = load double, double* %14
%161 = load double, double* %15
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.13, i64 0, i64 0), double %160, double %161)
br label %167
163: ; preds = %157
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
br label %167
165: ; preds = %157
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.15, i64 0, i64 0))
br label %167
167: ; preds = %157, %165, %163, %159
%168 = load i32, i32* %22
switch i32 %168, label %177 [
i32 0, label %169
i32 1, label %173
i32 -1, label %175
]
169: ; preds = %167
%170 = load double, double* %16
%171 = load double, double* %17
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.16, i64 0, i64 0), double %170, double %171)
br label %177
173: ; preds = %167
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.17, i64 0, i64 0))
br label %177
175: ; preds = %167
%176 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.18, i64 0, i64 0))
br label %177
177: ; preds = %167, %175, %173, %169
%178 = load i32, i32* %23
switch i32 %178, label %187 [
i32 0, label %179
i32 1, label %183
i32 -1, label %185
]
179: ; preds = %177
%180 = load double, double* %18
%181 = load double, double* %19
%182 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.19, i64 0, i64 0), double %180, double %181)
br label %187
183: ; preds = %177
%184 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.20, i64 0, i64 0))
br label %187
185: ; preds = %177
%186 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.21, i64 0, i64 0))
br label %187
187: ; preds = %177, %185, %183, %179
%188 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [21 x i8] c"\09jd now \09\09\09 : %7.9f\0A\00"
@.str.2 = [50 x i8] c"\09Epoch \09\09\09 : %llu seconds past midnight 1.1.1970\0A\00"
@.str.3 = [44 x i8] c"\09Days \09\09\09 : %d days past midnight 1.1.1970\0A\00"
@.str.4 = [15 x i8] c"\09JD \09\09\09 : %f \0A\00"
@.str.5 = [60 x i8] c"\09Days \09\09\09 : %f Number of days since 12:00 UTC Jan 1st 2000\0A\00"
@.str.6 = [63 x i8] c"\09Days \09\09\09 : %f My Number of days since 12:00 UTC Jan 1st 2000\0A\00"
@.str.7 = [30 x i8] c"\09Day length \09\09 : %5.2f hours\0A\00"
@.str.8 = [37 x i8] c"\09Sun at south \09\09 : %2.0f:%02.0f UTC\0A\00"
@.str.9 = [34 x i8] c"\09Sun rises \09\09 : %2.0f:%02.0f UTC\0A\00"
@.str.10 = [33 x i8] c"\09Sun sets \09\09 : %2.0f:%02.0f UTC\0A\00"
@.str.13 = [77 x i8] c"\09Civil twilight \09\09 : starts %2.0f:%02.0f UTC\0A\09\09\09\09 : ends %2.0f:%02.0f UTC\0A\00"
@.str.16 = [79 x i8] c"\09Nautical twilight \09 : starts %2.0f:%02.0f UTC\0A\09\09\09\09 : ends %2.0f:%02.0f UTC\0A\00"
@.str.19 = [83 x i8] c"\09Astronomical twilight \09 : starts %2.0f:%02.0f UTC\0A\09\09\09\09 : ends %2.0f:%02.0f UTC\0A\00"
@str = [18 x i8] c"Sun below horizon\00"
@str.22 = [34 x i8] c"Never as bright as civil twilight\00"
@str.23 = [37 x i8] c"Never as bright as nautical twilight\00"
@str.24 = [41 x i8] c"Never as bright as astronomical twilight\00"
@str.25 = [40 x i8] c"Never darker than astronomical twilight\00"
@str.26 = [36 x i8] c"Never darker than nautical twilight\00"
@str.27 = [33 x i8] c"Never darker than civil twilight\00"
@str.28 = [18 x i8] c"Sun above horizon\00"
define void @main() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = bitcast double* %1 to i8*
%10 = bitcast double* %2 to i8*
%11 = bitcast double* %3 to i8*
%12 = bitcast double* %4 to i8*
%13 = bitcast double* %5 to i8*
%14 = bitcast double* %6 to i8*
%15 = bitcast double* %7 to i8*
%16 = bitcast double* %8 to i8*
%17 = tail call i64 @time(i32 0)
%18 = trunc i64 %17 to i32
%19 = sitofp i32 %18 to double
%20 = fdiv double %19, 8.640000e+04
%21 = fptosi double %20 to i32
%22 = sitofp i32 %21 to double
%23 = fadd double %22, 0x41429EC580000000
%24 = fadd double %23, 0xC142B42C80000000
%25 = fadd double %24, 0x3FCF8D9744B4353F
%26 = tail call i32 @putchar(i32 10)
%27 = tail call double (...) @JDNow()
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), double %27)
%29 = tail call i64 @time(i32 0)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0), i64 %29)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0), i32 %21)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), double %23)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0), double %24)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.6, i64 0, i64 0), double %25)
%35 = tail call double @__daylen__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double 0xBFE2AAAAAAAAAAAB, i32 1)
%36 = tail call double @__daylen__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double -6.000000e+00, i32 0)
%37 = tail call double @__daylen__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double -1.200000e+01, i32 0)
%38 = tail call double @__daylen__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double -1.800000e+01, i32 0)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), double %35)
%40 = call i32 @__sunriset__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double 0xBFE2AAAAAAAAAAAB, i32 0, double* %1, double* %2)
%41 = call i32 @__sunriset__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double -6.000000e+00, i32 0, double* %3, double* %4)
%42 = call i32 @__sunriset__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double -1.200000e+01, i32 0, double* %5, double* %6)
%43 = call i32 @__sunriset__(double %25, double 0xC0562F8E5C4EB570, double 0x4044F948DC11E42E, double -1.800000e+01, i32 0, double* %7, double* %8)
%44 = load double, double* %1
%45 = load double, double* %2
%46 = fadd double %44, %45
%47 = fmul double %46, 5.000000e-01
%48 = fptosi double %47 to i32
%49 = call double @floor(i32 %48)
%50 = load double, double* %1
%51 = load double, double* %2
%52 = fadd double %50, %51
%53 = fmul double %52, 5.000000e-01
%54 = call i32 @fmod(double %53, double 1.000000e+00)
%55 = mul nsw i32 %54, 60
%56 = call double @floor(i32 %55)
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), double %49, double %56)
switch i32 %40, label %79 [
i32 0, label %58
i32 1, label %75
i32 -1, label %77
]
58: ; preds = %0
%59 = load double, double* %1
%60 = fptosi double %59 to i32
%61 = call double @floor(i32 %60)
%62 = load double, double* %1
%63 = call i32 @fmod(double %62, double 1.000000e+00)
%64 = mul nsw i32 %63, 60
%65 = call double @floor(i32 %64)
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0), double %61, double %65)
%67 = load double, double* %2
%68 = fptosi double %67 to i32
%69 = call double @floor(i32 %68)
%70 = load double, double* %2
%71 = call i32 @fmod(double %70, double 1.000000e+00)
%72 = mul nsw i32 %71, 60
%73 = call double @floor(i32 %72)
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.10, i64 0, i64 0), double %69, double %73)
br label %79
75: ; preds = %0
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.28, i64 0, i64 0))
br label %79
77: ; preds = %0
%78 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
br label %79
79: ; preds = %0, %77, %75, %58
switch i32 %41, label %88 [
i32 0, label %80
i32 1, label %84
i32 -1, label %86
]
80: ; preds = %79
%81 = load double, double* %3
%82 = load double, double* %4
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.13, i64 0, i64 0), double %81, double %82)
br label %88
84: ; preds = %79
%85 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.27, i64 0, i64 0))
br label %88
86: ; preds = %79
%87 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.22, i64 0, i64 0))
br label %88
88: ; preds = %79, %86, %84, %80
switch i32 %42, label %97 [
i32 0, label %89
i32 1, label %93
i32 -1, label %95
]
89: ; preds = %88
%90 = load double, double* %5
%91 = load double, double* %6
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @.str.16, i64 0, i64 0), double %90, double %91)
br label %97
93: ; preds = %88
%94 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.26, i64 0, i64 0))
br label %97
95: ; preds = %88
%96 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.23, i64 0, i64 0))
br label %97
97: ; preds = %88, %95, %93, %89
switch i32 %43, label %106 [
i32 0, label %98
i32 1, label %102
i32 -1, label %104
]
98: ; preds = %97
%99 = load double, double* %7
%100 = load double, double* %8
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @.str.19, i64 0, i64 0), double %99, double %100)
br label %106
102: ; preds = %97
%103 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.25, i64 0, i64 0))
br label %106
104: ; preds = %97
%105 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.24, i64 0, i64 0))
br label %106
106: ; preds = %97, %104, %102, %98
%107 = call i32 @putchar(i32 10)
ret void
}