#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*/ fatal_error_i(char *, long);
long lamccfor(double, double, double *, double *);
long lamccforint(double, double, double, double, double, double, double,
                 double);
long lamccinv(double, double, double *, double *);
long lamccinvint(double, double, double, double, double, double, double,
                 double);
int new_grid_lambertc(int nx, int ny, double center_lon, double center_lat,
                      double true_lat1, double true_lat2, double stand_lon,
                      double stand_lat, double r_maj, double r_min, double dx,
                      double dy, double *lon_0, double *lat_0) {
  double x_0, y_0, rlon, rlat;
  double false_east, false_north;
  long long_i;
  true_lat1 *= (3.14159265358979323846 / 180.0);
  true_lat2 *= (3.14159265358979323846 / 180.0);
  stand_lon *= (3.14159265358979323846 / 180.0);
  stand_lat *= (3.14159265358979323846 / 180.0);
  center_lon *= (3.14159265358979323846 / 180.0);
  center_lat *= (3.14159265358979323846 / 180.0);
  false_east = false_north = 0.0;
  long_i = lamccforint(r_maj, r_min, true_lat1, true_lat2, stand_lon, stand_lat,
                       false_east, false_north);
  if (long_i)
    fatal_error_i("new_grid_lambertc lamccforint: returns %ld", long_i);
  long_i = lamccfor(center_lon, center_lat, &x_0, &y_0);
  if (long_i)
    fatal_error_i("new_grid_lambertc lamccfor: returns %ld", long_i);
  x_0 = x_0 - dx * ((nx - 1) * 0.5);
  y_0 = y_0 - dy * ((ny - 1) * 0.5);
  long_i = lamccinvint(r_maj, r_min, true_lat1, true_lat2, stand_lon, stand_lat,
                       false_east, false_north);
  if (long_i)
    fatal_error_i("new_grid_lambertc lamccinvint: returns %ld", long_i);
  long_i = lamccinv(x_0, y_0, &rlon, &rlat);
  if (long_i)
    fatal_error_i("new_grid_lambertc lamccinv: returns %ld", long_i);
  rlon *= (180.0 / 3.14159265358979323846);
  rlat *= (180.0 / 3.14159265358979323846);
  if (rlon < 0.0)
    rlon += 360.0;
  if (rlon >= 360.0)
    rlon -= 360.0;
  *lon_0 = rlon;
  *lat_0 = rlat;
  return 0;
}


x86 assembly (clang, -O0):
<new_grid_lambertc>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movsd  0x18(%rbp),%xmm8
movsd  0x10(%rbp),%xmm8
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
movsd  %xmm3,-0x28(%rbp)
movsd  %xmm4,-0x30(%rbp)
movsd  %xmm5,-0x38(%rbp)
movsd  %xmm6,-0x40(%rbp)
movsd  %xmm7,-0x48(%rbp)
mov    %rdx,-0x50(%rbp)
mov    %rcx,-0x58(%rbp)
movsd  0xe5b(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe49(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe37(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe25(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe13(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xe01(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm3
movsd  -0x30(%rbp),%xmm4
movsd  -0x38(%rbp),%xmm5
movsd  -0x80(%rbp),%xmm6
movsd  -0x88(%rbp),%xmm7
ff
call   1070 <lamccforint@plt>
mov    %rax,-0x90(%rbp)
cmpq   $0x0,-0x90(%rbp)
je     1274 <new_grid_lambertc+0x124>
mov    -0x90(%rbp),%rsi
lea    0xdb1(%rip),%rdi
call   1030 <fatal_error_i@plt>
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
lea    -0x60(%rbp),%rdi
lea    -0x68(%rbp),%rsi
call   1060 <lamccfor@plt>
mov    %rax,-0x90(%rbp)
cmpq   $0x0,-0x90(%rbp)
je     12b3 <new_grid_lambertc+0x163>
mov    -0x90(%rbp),%rsi
lea    0xd9d(%rip),%rdi
call   1030 <fatal_error_i@plt>
movsd  -0x60(%rbp),%xmm1
movsd  0x10(%rbp),%xmm0
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
cvtsi2sd %eax,%xmm2
movsd  0xd39(%rip),%xmm3
mulsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  0x18(%rbp),%xmm0
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
cvtsi2sd %eax,%xmm2
movsd  0xcf5(%rip),%xmm3
mulsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm3
movsd  -0x30(%rbp),%xmm4
movsd  -0x38(%rbp),%xmm5
movsd  -0x80(%rbp),%xmm6
movsd  -0x88(%rbp),%xmm7
ff
call   1040 <lamccinvint@plt>
mov    %rax,-0x90(%rbp)
cmpq   $0x0,-0x90(%rbp)
je     1393 <new_grid_lambertc+0x243>
mov    -0x90(%rbp),%rsi
lea    0xce5(%rip),%rdi
call   1030 <fatal_error_i@plt>
movsd  -0x60(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
lea    -0x70(%rbp),%rdi
lea    -0x78(%rbp),%rsi
call   1050 <lamccinv@plt>
mov    %rax,-0x90(%rbp)
cmpq   $0x0,-0x90(%rbp)
je     13d2 <new_grid_lambertc+0x282>
mov    -0x90(%rbp),%rsi
lea    0xcd1(%rip),%rdi
call   1030 <fatal_error_i@plt>
movsd  0xc36(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xc24(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x70(%rbp),%xmm0
jbe    1416 <new_grid_lambertc+0x2c6>
movsd  0xc0c(%rip),%xmm0
addsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  0xbf5(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     1443 <new_grid_lambertc+0x2f3>
movsd  -0x70(%rbp),%xmm0
movsd  0xbde(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x50(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm0
mov    -0x58(%rbp),%rax
movsd  %xmm0,(%rax)
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<new_grid_lambertc>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x68,%rsp
mov    %rcx,%r14
mov    %rdx,%r15
movaps %xmm7,%xmm8
movaps %xmm6,%xmm9
mov    %esi,%ebp
mov    %edi,%ebx
movsd  0xe8c(%rip),%xmm6
mulsd  %xmm6,%xmm2
mulsd  %xmm6,%xmm3
mulsd  %xmm6,%xmm4
mulsd  %xmm6,%xmm5
mulsd  %xmm6,%xmm0
movsd  %xmm0,0x18(%rsp)
mulsd  %xmm6,%xmm1
movsd  %xmm1,0x20(%rsp)
xorpd  %xmm6,%xmm6
xorps  %xmm7,%xmm7
movsd  %xmm9,0x40(%rsp)
movaps %xmm9,%xmm0
movsd  %xmm8,0x48(%rsp)
movaps %xmm8,%xmm1
movsd  %xmm2,0x28(%rsp)
movsd  %xmm3,0x30(%rsp)
movsd  %xmm4,0x38(%rsp)
movsd  %xmm5,0x50(%rsp)
call   1070 <lamccforint@plt>
test   %rax,%rax
je     11e6 <new_grid_lambertc+0x96>
lea    0xe4a(%rip),%rdi
mov    %rax,%rsi
call   1030 <fatal_error_i@plt>
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
movsd  0x18(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
call   1060 <lamccfor@plt>
test   %rax,%rax
je     1215 <new_grid_lambertc+0xc5>
lea    0xe46(%rip),%rdi
mov    %rax,%rsi
call   1030 <fatal_error_i@plt>
movsd  0x10(%rsp),%xmm0
add    $0xffffffff,%ebx
xorps  %xmm1,%xmm1
cvtsi2sd %ebx,%xmm1
movsd  0xddb(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  0x90(%rsp),%xmm3
mulsd  %xmm1,%xmm3
subsd  %xmm3,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
add    $0xffffffff,%ebp
xorps  %xmm1,%xmm1
cvtsi2sd %ebp,%xmm1
mulsd  %xmm2,%xmm1
movsd  0x98(%rsp),%xmm2
mulsd  %xmm1,%xmm2
subsd  %xmm2,%xmm0
movsd  %xmm0,0x8(%rsp)
xorpd  %xmm6,%xmm6
xorps  %xmm7,%xmm7
movsd  0x40(%rsp),%xmm0
movsd  0x48(%rsp),%xmm1
movsd  0x28(%rsp),%xmm2
movsd  0x30(%rsp),%xmm3
movsd  0x38(%rsp),%xmm4
movsd  0x50(%rsp),%xmm5
call   1040 <lamccinvint@plt>
test   %rax,%rax
je     12b7 <new_grid_lambertc+0x167>
lea    0xdcc(%rip),%rdi
mov    %rax,%rsi
call   1030 <fatal_error_i@plt>
movsd  0x10(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
lea    0x60(%rsp),%rdi
lea    0x58(%rsp),%rsi
call   1050 <lamccinv@plt>
test   %rax,%rax
je     12e6 <new_grid_lambertc+0x196>
lea    0xdc8(%rip),%rdi
mov    %rax,%rsi
call   1030 <fatal_error_i@plt>
movsd  0xd22(%rip),%xmm0
movsd  0x60(%rsp),%xmm2
mulsd  %xmm0,%xmm2
movsd  0xd18(%rip),%xmm1
movapd %xmm2,%xmm4
addsd  %xmm1,%xmm4
xorpd  %xmm3,%xmm3
movapd %xmm2,%xmm5
cmpltsd %xmm3,%xmm5
andpd  %xmm5,%xmm4
andnpd %xmm2,%xmm5
orpd   %xmm4,%xmm5
ucomisd %xmm1,%xmm5
cmpnlesd %xmm5,%xmm1
movapd %xmm1,%xmm4
andpd  %xmm5,%xmm4
addsd  0xce6(%rip),%xmm5
andnpd %xmm5,%xmm1
orpd   %xmm4,%xmm1
movapd %xmm2,%xmm4
jb     134c <new_grid_lambertc+0x1fc>
movapd %xmm1,%xmm4
mulsd  0x58(%rsp),%xmm0
ucomisd %xmm2,%xmm3
ja     135c <new_grid_lambertc+0x20c>
movapd %xmm4,%xmm1
movsd  %xmm1,(%r15)
movsd  %xmm0,(%r14)
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [43 x i8] c"new_grid_lambertc lamccforint: returns %ld\00"
@.str.1 = [40 x i8] c"new_grid_lambertc lamccfor: returns %ld\00"
@.str.2 = [43 x i8] c"new_grid_lambertc lamccinvint: returns %ld\00"
@.str.3 = [40 x i8] c"new_grid_lambertc lamccinv: returns %ld\00"
define i32 @new_grid_lambertc(i32 %0, i32 %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double* %12, double* %13) {
%15 = alloca i32
%16 = alloca i32
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double*
%28 = alloca double*
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca i64
store i32 %0, i32* %15
store i32 %1, i32* %16
store double %2, double* %17
store double %3, double* %18
store double %4, double* %19
store double %5, double* %20
store double %6, double* %21
store double %7, double* %22
store double %8, double* %23
store double %9, double* %24
store double %10, double* %25
store double %11, double* %26
store double* %12, double** %27
store double* %13, double** %28
%36 = load double, double* %19
%37 = fmul double %36, 0x3F91DF46A2529D39
store double %37, double* %19
%38 = load double, double* %20
%39 = fmul double %38, 0x3F91DF46A2529D39
store double %39, double* %20
%40 = load double, double* %21
%41 = fmul double %40, 0x3F91DF46A2529D39
store double %41, double* %21
%42 = load double, double* %22
%43 = fmul double %42, 0x3F91DF46A2529D39
store double %43, double* %22
%44 = load double, double* %17
%45 = fmul double %44, 0x3F91DF46A2529D39
store double %45, double* %17
%46 = load double, double* %18
%47 = fmul double %46, 0x3F91DF46A2529D39
store double %47, double* %18
store double 0.000000e+00, double* %34
store double 0.000000e+00, double* %33
%48 = load double, double* %23
%49 = load double, double* %24
%50 = load double, double* %19
%51 = load double, double* %20
%52 = load double, double* %21
%53 = load double, double* %22
%54 = load double, double* %33
%55 = load double, double* %34
%56 = call i64 @lamccforint(double %48, double %49, double %50, double %51, double %52, double %53, double %54, double %55)
store i64 %56, i64* %35
%57 = load i64, i64* %35
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %14
%60 = load i64, i64* %35
%61 = call i32 @fatal_error_i(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 %60)
br label %62
62: ; preds = %59, %14
%63 = load double, double* %17
%64 = load double, double* %18
%65 = call i64 @lamccfor(double %63, double %64, double* %29, double* %30)
store i64 %65, i64* %35
%66 = load i64, i64* %35
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %62
%69 = load i64, i64* %35
%70 = call i32 @fatal_error_i(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i64 %69)
br label %71
71: ; preds = %68, %62
%72 = load double, double* %29
%73 = load double, double* %25
%74 = load i32, i32* %15
%75 = sub nsw i32 %74, 1
%76 = sitofp i32 %75 to double
%77 = fmul double %76, 5.000000e-01
%78 = fneg double %73
%79 = call double @llvm.fmuladd.f64(double %78, double %77, double %72)
store double %79, double* %29
%80 = load double, double* %30
%81 = load double, double* %26
%82 = load i32, i32* %16
%83 = sub nsw i32 %82, 1
%84 = sitofp i32 %83 to double
%85 = fmul double %84, 5.000000e-01
%86 = fneg double %81
%87 = call double @llvm.fmuladd.f64(double %86, double %85, double %80)
store double %87, double* %30
%88 = load double, double* %23
%89 = load double, double* %24
%90 = load double, double* %19
%91 = load double, double* %20
%92 = load double, double* %21
%93 = load double, double* %22
%94 = load double, double* %33
%95 = load double, double* %34
%96 = call i64 @lamccinvint(double %88, double %89, double %90, double %91, double %92, double %93, double %94, double %95)
store i64 %96, i64* %35
%97 = load i64, i64* %35
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %102
99: ; preds = %71
%100 = load i64, i64* %35
%101 = call i32 @fatal_error_i(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i64 %100)
br label %102
102: ; preds = %99, %71
%103 = load double, double* %29
%104 = load double, double* %30
%105 = call i64 @lamccinv(double %103, double %104, double* %31, double* %32)
store i64 %105, i64* %35
%106 = load i64, i64* %35
%107 = icmp ne i64 %106, 0
br i1 %107, label %108, label %111
108: ; preds = %102
%109 = load i64, i64* %35
%110 = call i32 @fatal_error_i(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i64 %109)
br label %111
111: ; preds = %108, %102
%112 = load double, double* %31
%113 = fmul double %112, 0x404CA5DC1A63C1F8
store double %113, double* %31
%114 = load double, double* %32
%115 = fmul double %114, 0x404CA5DC1A63C1F8
store double %115, double* %32
%116 = load double, double* %31
%117 = fcmp olt double %116, 0.000000e+00
br i1 %117, label %118, label %121
118: ; preds = %111
%119 = load double, double* %31
%120 = fadd double %119, 3.600000e+02
store double %120, double* %31
br label %121
121: ; preds = %118, %111
%122 = load double, double* %31
%123 = fcmp oge double %122, 3.600000e+02
br i1 %123, label %124, label %127
124: ; preds = %121
%125 = load double, double* %31
%126 = fsub double %125, 3.600000e+02
store double %126, double* %31
br label %127
127: ; preds = %124, %121
%128 = load double, double* %31
%129 = load double*, double** %27
store double %128, double* %129
%130 = load double, double* %32
%131 = load double*, double** %28
store double %130, double* %131
ret i32 0
}

LLVM IR (-O2):
@.str = [43 x i8] c"new_grid_lambertc lamccforint: returns %ld\00"
@.str.1 = [40 x i8] c"new_grid_lambertc lamccfor: returns %ld\00"
@.str.2 = [43 x i8] c"new_grid_lambertc lamccinvint: returns %ld\00"
@.str.3 = [40 x i8] c"new_grid_lambertc lamccinv: returns %ld\00"
define i32 @new_grid_lambertc(i32 %0, i32 %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double* nocapture writeonly %12, double* nocapture writeonly %13) {
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = bitcast double* %15 to i8*
%20 = bitcast double* %16 to i8*
%21 = bitcast double* %17 to i8*
%22 = bitcast double* %18 to i8*
%23 = fmul double %4, 0x3F91DF46A2529D39
%24 = fmul double %5, 0x3F91DF46A2529D39
%25 = fmul double %6, 0x3F91DF46A2529D39
%26 = fmul double %7, 0x3F91DF46A2529D39
%27 = fmul double %2, 0x3F91DF46A2529D39
%28 = fmul double %3, 0x3F91DF46A2529D39
%29 = tail call i64 @lamccforint(double %8, double %9, double %23, double %24, double %25, double %26, double 0.000000e+00, double 0.000000e+00)
%30 = icmp eq i64 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %14
%32 = tail call i32 @fatal_error_i(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 %29)
br label %33
33: ; preds = %31, %14
%34 = call i64 @lamccfor(double %27, double %28, double* %15, double* %16)
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = call i32 @fatal_error_i(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i64 %34)
br label %38
38: ; preds = %36, %33
%39 = load double, double* %15
%40 = add nsw i32 %0, -1
%41 = sitofp i32 %40 to double
%42 = fmul double %41, 5.000000e-01
%43 = fneg double %10
%44 = call double @llvm.fmuladd.f64(double %43, double %42, double %39)
store double %44, double* %15
%45 = load double, double* %16
%46 = add nsw i32 %1, -1
%47 = sitofp i32 %46 to double
%48 = fmul double %47, 5.000000e-01
%49 = fneg double %11
%50 = call double @llvm.fmuladd.f64(double %49, double %48, double %45)
store double %50, double* %16
%51 = call i64 @lamccinvint(double %8, double %9, double %23, double %24, double %25, double %26, double 0.000000e+00, double 0.000000e+00)
%52 = icmp eq i64 %51, 0
br i1 %52, label %55, label %53
53: ; preds = %38
%54 = call i32 @fatal_error_i(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i64 %51)
br label %55
55: ; preds = %53, %38
%56 = load double, double* %15
%57 = load double, double* %16
%58 = call i64 @lamccinv(double %56, double %57, double* %17, double* %18)
%59 = icmp eq i64 %58, 0
br i1 %59, label %62, label %60
60: ; preds = %55
%61 = call i32 @fatal_error_i(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i64 %58)
br label %62
62: ; preds = %60, %55
%63 = load double, double* %17
%64 = fmul double %63, 0x404CA5DC1A63C1F8
%65 = load double, double* %18
%66 = fmul double %65, 0x404CA5DC1A63C1F8
%67 = fcmp olt double %64, 0.000000e+00
%68 = fadd double %64, 3.600000e+02
%69 = select i1 %67, double %68, double %64
%70 = fcmp ult double %69, 3.600000e+02
%71 = xor i1 %70, true
%72 = or i1 %67, %71
%73 = fadd double %69, -3.600000e+02
%74 = select i1 %70, double %69, double %73
%75 = select i1 %72, double %74, double %64
store double %75, double* %12
store double %66, double* %13
ret i32 0
}