; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_5)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #1

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) #3

declare double @w2c_hermes_fmod(ptr noundef, double noundef, double noundef) #2

; Function Attrs: nounwind uwtable
declare hidden double @wasm_floor(double noundef) #3

; Function Attrs: nounwind uwtable
define dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %0, double noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store double 0.000000e+00, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store double 0.000000e+00, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %18 = load double, ptr %4, align 8, !tbaa !9
  store double %18, ptr %13, align 8, !tbaa !9
  %19 = load double, ptr %13, align 8, !tbaa !9
  %20 = call double @wasm_fabs(double noundef %19)
  store double %20, ptr %13, align 8, !tbaa !9
  %21 = load double, ptr %13, align 8, !tbaa !9
  store double %21, ptr %6, align 8, !tbaa !9
  store double 0x7FF0000000000000, ptr %14, align 8, !tbaa !9
  %22 = load double, ptr %13, align 8, !tbaa !9
  %23 = load double, ptr %14, align 8, !tbaa !9
  %24 = fcmp ogt double %22, %23
  %25 = zext i1 %24 to i32
  store i32 %25, ptr %8, align 4, !tbaa !11
  %26 = load double, ptr %6, align 8, !tbaa !9
  store double %26, ptr %14, align 8, !tbaa !9
  store double 0x7FF0000000000000, ptr %15, align 8, !tbaa !9
  %27 = load double, ptr %14, align 8, !tbaa !9
  %28 = load double, ptr %15, align 8, !tbaa !9
  %29 = fcmp olt double %27, %28
  %30 = zext i1 %29 to i32
  store i32 %30, ptr %9, align 4, !tbaa !11
  %31 = load i32, ptr %9, align 4, !tbaa !11
  %32 = load i32, ptr %8, align 4, !tbaa !11
  %33 = or i32 %32, %31
  store i32 %33, ptr %8, align 4, !tbaa !11
  %34 = load i32, ptr %8, align 4, !tbaa !11
  %35 = icmp ne i32 %34, 0
  %36 = xor i1 %35, true
  %37 = zext i1 %36 to i32
  store i32 %37, ptr %8, align 4, !tbaa !11
  %38 = load i32, ptr %8, align 4, !tbaa !11
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %2
  %41 = load double, ptr %4, align 8, !tbaa !9
  store double %41, ptr %13, align 8, !tbaa !9
  %42 = load double, ptr %13, align 8, !tbaa !9
  store double %42, ptr %6, align 8, !tbaa !9
  br label %421

43:                                               ; preds = %2
  %44 = load double, ptr %4, align 8, !tbaa !9
  store double %44, ptr %13, align 8, !tbaa !9
  %45 = load double, ptr %4, align 8, !tbaa !9
  store double %45, ptr %14, align 8, !tbaa !9
  store double 0x421D63C37F000000, ptr %15, align 8, !tbaa !9
  %46 = load double, ptr %15, align 8, !tbaa !9
  %47 = load double, ptr %14, align 8, !tbaa !9
  %48 = fdiv double %47, %46
  store double %48, ptr %14, align 8, !tbaa !9
  %49 = load double, ptr %14, align 8, !tbaa !9
  %50 = call double @wasm_floor(double noundef %49)
  store double %50, ptr %14, align 8, !tbaa !9
  store double 1.970000e+03, ptr %15, align 8, !tbaa !9
  %51 = load double, ptr %15, align 8, !tbaa !9
  %52 = load double, ptr %14, align 8, !tbaa !9
  %53 = fadd double %52, %51
  store double %53, ptr %14, align 8, !tbaa !9
  %54 = load double, ptr %14, align 8, !tbaa !9
  store double %54, ptr %6, align 8, !tbaa !9
  store double -1.601000e+03, ptr %15, align 8, !tbaa !9
  %55 = load double, ptr %15, align 8, !tbaa !9
  %56 = load double, ptr %14, align 8, !tbaa !9
  %57 = fadd double %56, %55
  store double %57, ptr %14, align 8, !tbaa !9
  store double 4.000000e+02, ptr %15, align 8, !tbaa !9
  %58 = load double, ptr %15, align 8, !tbaa !9
  %59 = load double, ptr %14, align 8, !tbaa !9
  %60 = fdiv double %59, %58
  store double %60, ptr %14, align 8, !tbaa !9
  %61 = load double, ptr %14, align 8, !tbaa !9
  %62 = call double @wasm_floor(double noundef %61)
  store double %62, ptr %14, align 8, !tbaa !9
  %63 = load double, ptr %6, align 8, !tbaa !9
  store double %63, ptr %15, align 8, !tbaa !9
  store double -1.970000e+03, ptr %16, align 8, !tbaa !9
  %64 = load double, ptr %16, align 8, !tbaa !9
  %65 = load double, ptr %15, align 8, !tbaa !9
  %66 = fadd double %65, %64
  store double %66, ptr %15, align 8, !tbaa !9
  store double 3.650000e+02, ptr %16, align 8, !tbaa !9
  %67 = load double, ptr %16, align 8, !tbaa !9
  %68 = load double, ptr %15, align 8, !tbaa !9
  %69 = fmul double %68, %67
  store double %69, ptr %15, align 8, !tbaa !9
  %70 = load double, ptr %6, align 8, !tbaa !9
  store double %70, ptr %16, align 8, !tbaa !9
  store double -1.969000e+03, ptr %17, align 8, !tbaa !9
  %71 = load double, ptr %17, align 8, !tbaa !9
  %72 = load double, ptr %16, align 8, !tbaa !9
  %73 = fadd double %72, %71
  store double %73, ptr %16, align 8, !tbaa !9
  store double 2.500000e-01, ptr %17, align 8, !tbaa !9
  %74 = load double, ptr %17, align 8, !tbaa !9
  %75 = load double, ptr %16, align 8, !tbaa !9
  %76 = fmul double %75, %74
  store double %76, ptr %16, align 8, !tbaa !9
  %77 = load double, ptr %16, align 8, !tbaa !9
  %78 = call double @wasm_floor(double noundef %77)
  store double %78, ptr %16, align 8, !tbaa !9
  %79 = load double, ptr %16, align 8, !tbaa !9
  %80 = load double, ptr %15, align 8, !tbaa !9
  %81 = fadd double %80, %79
  store double %81, ptr %15, align 8, !tbaa !9
  %82 = load double, ptr %6, align 8, !tbaa !9
  store double %82, ptr %16, align 8, !tbaa !9
  store double -1.901000e+03, ptr %17, align 8, !tbaa !9
  %83 = load double, ptr %17, align 8, !tbaa !9
  %84 = load double, ptr %16, align 8, !tbaa !9
  %85 = fadd double %84, %83
  store double %85, ptr %16, align 8, !tbaa !9
  store double 1.000000e+02, ptr %17, align 8, !tbaa !9
  %86 = load double, ptr %17, align 8, !tbaa !9
  %87 = load double, ptr %16, align 8, !tbaa !9
  %88 = fdiv double %87, %86
  store double %88, ptr %16, align 8, !tbaa !9
  %89 = load double, ptr %16, align 8, !tbaa !9
  %90 = call double @wasm_floor(double noundef %89)
  store double %90, ptr %16, align 8, !tbaa !9
  %91 = load double, ptr %16, align 8, !tbaa !9
  %92 = load double, ptr %15, align 8, !tbaa !9
  %93 = fsub double %92, %91
  store double %93, ptr %15, align 8, !tbaa !9
  %94 = load double, ptr %15, align 8, !tbaa !9
  %95 = load double, ptr %14, align 8, !tbaa !9
  %96 = fadd double %95, %94
  store double %96, ptr %14, align 8, !tbaa !9
  store double 8.640000e+07, ptr %15, align 8, !tbaa !9
  %97 = load double, ptr %15, align 8, !tbaa !9
  %98 = load double, ptr %14, align 8, !tbaa !9
  %99 = fmul double %98, %97
  store double %99, ptr %14, align 8, !tbaa !9
  %100 = load double, ptr %14, align 8, !tbaa !9
  store double %100, ptr %7, align 8, !tbaa !9
  %101 = load double, ptr %13, align 8, !tbaa !9
  %102 = load double, ptr %14, align 8, !tbaa !9
  %103 = fcmp olt double %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %8, align 4, !tbaa !11
  %105 = load i32, ptr %8, align 4, !tbaa !11
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %169

107:                                              ; preds = %43
  br label %108

108:                                              ; preds = %167, %107
  %109 = load double, ptr %6, align 8, !tbaa !9
  store double %109, ptr %13, align 8, !tbaa !9
  store double -1.000000e+00, ptr %14, align 8, !tbaa !9
  %110 = load double, ptr %14, align 8, !tbaa !9
  %111 = load double, ptr %13, align 8, !tbaa !9
  %112 = fadd double %111, %110
  store double %112, ptr %13, align 8, !tbaa !9
  %113 = load double, ptr %13, align 8, !tbaa !9
  store double %113, ptr %6, align 8, !tbaa !9
  store double -1.601000e+03, ptr %14, align 8, !tbaa !9
  %114 = load double, ptr %14, align 8, !tbaa !9
  %115 = load double, ptr %13, align 8, !tbaa !9
  %116 = fadd double %115, %114
  store double %116, ptr %13, align 8, !tbaa !9
  store double 4.000000e+02, ptr %14, align 8, !tbaa !9
  %117 = load double, ptr %14, align 8, !tbaa !9
  %118 = load double, ptr %13, align 8, !tbaa !9
  %119 = fdiv double %118, %117
  store double %119, ptr %13, align 8, !tbaa !9
  %120 = load double, ptr %13, align 8, !tbaa !9
  %121 = call double @wasm_floor(double noundef %120)
  store double %121, ptr %13, align 8, !tbaa !9
  %122 = load double, ptr %6, align 8, !tbaa !9
  store double %122, ptr %14, align 8, !tbaa !9
  store double -1.970000e+03, ptr %15, align 8, !tbaa !9
  %123 = load double, ptr %15, align 8, !tbaa !9
  %124 = load double, ptr %14, align 8, !tbaa !9
  %125 = fadd double %124, %123
  store double %125, ptr %14, align 8, !tbaa !9
  store double 3.650000e+02, ptr %15, align 8, !tbaa !9
  %126 = load double, ptr %15, align 8, !tbaa !9
  %127 = load double, ptr %14, align 8, !tbaa !9
  %128 = fmul double %127, %126
  store double %128, ptr %14, align 8, !tbaa !9
  %129 = load double, ptr %6, align 8, !tbaa !9
  store double %129, ptr %15, align 8, !tbaa !9
  store double -1.969000e+03, ptr %16, align 8, !tbaa !9
  %130 = load double, ptr %16, align 8, !tbaa !9
  %131 = load double, ptr %15, align 8, !tbaa !9
  %132 = fadd double %131, %130
  store double %132, ptr %15, align 8, !tbaa !9
  store double 2.500000e-01, ptr %16, align 8, !tbaa !9
  %133 = load double, ptr %16, align 8, !tbaa !9
  %134 = load double, ptr %15, align 8, !tbaa !9
  %135 = fmul double %134, %133
  store double %135, ptr %15, align 8, !tbaa !9
  %136 = load double, ptr %15, align 8, !tbaa !9
  %137 = call double @wasm_floor(double noundef %136)
  store double %137, ptr %15, align 8, !tbaa !9
  %138 = load double, ptr %15, align 8, !tbaa !9
  %139 = load double, ptr %14, align 8, !tbaa !9
  %140 = fadd double %139, %138
  store double %140, ptr %14, align 8, !tbaa !9
  %141 = load double, ptr %6, align 8, !tbaa !9
  store double %141, ptr %15, align 8, !tbaa !9
  store double -1.901000e+03, ptr %16, align 8, !tbaa !9
  %142 = load double, ptr %16, align 8, !tbaa !9
  %143 = load double, ptr %15, align 8, !tbaa !9
  %144 = fadd double %143, %142
  store double %144, ptr %15, align 8, !tbaa !9
  store double 1.000000e+02, ptr %16, align 8, !tbaa !9
  %145 = load double, ptr %16, align 8, !tbaa !9
  %146 = load double, ptr %15, align 8, !tbaa !9
  %147 = fdiv double %146, %145
  store double %147, ptr %15, align 8, !tbaa !9
  %148 = load double, ptr %15, align 8, !tbaa !9
  %149 = call double @wasm_floor(double noundef %148)
  store double %149, ptr %15, align 8, !tbaa !9
  %150 = load double, ptr %15, align 8, !tbaa !9
  %151 = load double, ptr %14, align 8, !tbaa !9
  %152 = fsub double %151, %150
  store double %152, ptr %14, align 8, !tbaa !9
  %153 = load double, ptr %14, align 8, !tbaa !9
  %154 = load double, ptr %13, align 8, !tbaa !9
  %155 = fadd double %154, %153
  store double %155, ptr %13, align 8, !tbaa !9
  store double 8.640000e+07, ptr %14, align 8, !tbaa !9
  %156 = load double, ptr %14, align 8, !tbaa !9
  %157 = load double, ptr %13, align 8, !tbaa !9
  %158 = fmul double %157, %156
  store double %158, ptr %13, align 8, !tbaa !9
  %159 = load double, ptr %13, align 8, !tbaa !9
  store double %159, ptr %7, align 8, !tbaa !9
  %160 = load double, ptr %4, align 8, !tbaa !9
  store double %160, ptr %14, align 8, !tbaa !9
  %161 = load double, ptr %13, align 8, !tbaa !9
  %162 = load double, ptr %14, align 8, !tbaa !9
  %163 = fcmp ogt double %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %8, align 4, !tbaa !11
  %165 = load i32, ptr %8, align 4, !tbaa !11
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %168

167:                                              ; preds = %108
  br label %108

168:                                              ; preds = %108
  br label %169

169:                                              ; preds = %168, %43
  br label %170

170:                                              ; preds = %237, %169
  store i32 365, ptr %8, align 4, !tbaa !11
  %171 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %171, ptr %5, align 4, !tbaa !11
  %172 = load double, ptr %6, align 8, !tbaa !9
  store double %172, ptr %13, align 8, !tbaa !9
  store double 4.000000e+00, ptr %14, align 8, !tbaa !9
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  %174 = load double, ptr %13, align 8, !tbaa !9
  %175 = load double, ptr %14, align 8, !tbaa !9
  %176 = call double @w2c_hermes_fmod(ptr noundef %173, double noundef %174, double noundef %175)
  store double %176, ptr %13, align 8, !tbaa !9
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  %177 = load double, ptr %13, align 8, !tbaa !9
  %178 = load double, ptr %14, align 8, !tbaa !9
  %179 = fcmp oeq double %177, %178
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %8, align 4, !tbaa !11
  %181 = load i32, ptr %8, align 4, !tbaa !11
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %219

183:                                              ; preds = %170
  store i32 366, ptr %8, align 4, !tbaa !11
  store i32 366, ptr %9, align 4, !tbaa !11
  store i32 365, ptr %10, align 4, !tbaa !11
  %184 = load double, ptr %6, align 8, !tbaa !9
  store double %184, ptr %16, align 8, !tbaa !9
  store double 4.000000e+02, ptr %17, align 8, !tbaa !9
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = load double, ptr %16, align 8, !tbaa !9
  %187 = load double, ptr %17, align 8, !tbaa !9
  %188 = call double @w2c_hermes_fmod(ptr noundef %185, double noundef %186, double noundef %187)
  store double %188, ptr %16, align 8, !tbaa !9
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  %189 = load double, ptr %16, align 8, !tbaa !9
  %190 = load double, ptr %17, align 8, !tbaa !9
  %191 = fcmp oeq double %189, %190
  %192 = zext i1 %191 to i32
  store i32 %192, ptr %11, align 4, !tbaa !11
  %193 = load i32, ptr %11, align 4, !tbaa !11
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %197

195:                                              ; preds = %183
  %196 = load i32, ptr %9, align 4, !tbaa !11
  br label %199

197:                                              ; preds = %183
  %198 = load i32, ptr %10, align 4, !tbaa !11
  br label %199

199:                                              ; preds = %197, %195
  %200 = phi i32 [ %196, %195 ], [ %198, %197 ]
  store i32 %200, ptr %9, align 4, !tbaa !11
  %201 = load double, ptr %6, align 8, !tbaa !9
  store double %201, ptr %15, align 8, !tbaa !9
  store double 1.000000e+02, ptr %16, align 8, !tbaa !9
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = load double, ptr %15, align 8, !tbaa !9
  %204 = load double, ptr %16, align 8, !tbaa !9
  %205 = call double @w2c_hermes_fmod(ptr noundef %202, double noundef %203, double noundef %204)
  store double %205, ptr %15, align 8, !tbaa !9
  store double 0.000000e+00, ptr %16, align 8, !tbaa !9
  %206 = load double, ptr %15, align 8, !tbaa !9
  %207 = load double, ptr %16, align 8, !tbaa !9
  %208 = fcmp une double %206, %207
  %209 = zext i1 %208 to i32
  store i32 %209, ptr %10, align 4, !tbaa !11
  %210 = load i32, ptr %10, align 4, !tbaa !11
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %214

212:                                              ; preds = %199
  %213 = load i32, ptr %8, align 4, !tbaa !11
  br label %216

214:                                              ; preds = %199
  %215 = load i32, ptr %9, align 4, !tbaa !11
  br label %216

216:                                              ; preds = %214, %212
  %217 = phi i32 [ %213, %212 ], [ %215, %214 ]
  store i32 %217, ptr %8, align 4, !tbaa !11
  %218 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %218, ptr %5, align 4, !tbaa !11
  br label %219

219:                                              ; preds = %216, %170
  %220 = load double, ptr %4, align 8, !tbaa !9
  store double %220, ptr %13, align 8, !tbaa !9
  %221 = load i32, ptr %5, align 4, !tbaa !11
  store i32 %221, ptr %9, align 4, !tbaa !11
  %222 = load i32, ptr %9, align 4, !tbaa !11
  %223 = uitofp i32 %222 to double
  store double %223, ptr %14, align 8, !tbaa !9
  store double 8.640000e+07, ptr %15, align 8, !tbaa !9
  %224 = load double, ptr %15, align 8, !tbaa !9
  %225 = load double, ptr %14, align 8, !tbaa !9
  %226 = fmul double %225, %224
  store double %226, ptr %14, align 8, !tbaa !9
  %227 = load double, ptr %7, align 8, !tbaa !9
  store double %227, ptr %15, align 8, !tbaa !9
  %228 = load double, ptr %15, align 8, !tbaa !9
  %229 = load double, ptr %14, align 8, !tbaa !9
  %230 = fadd double %229, %228
  store double %230, ptr %14, align 8, !tbaa !9
  %231 = load double, ptr %13, align 8, !tbaa !9
  %232 = load double, ptr %14, align 8, !tbaa !9
  %233 = fcmp oge double %231, %232
  %234 = zext i1 %233 to i32
  store i32 %234, ptr %8, align 4, !tbaa !11
  %235 = load i32, ptr %8, align 4, !tbaa !11
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %289

237:                                              ; preds = %219
  %238 = load double, ptr %6, align 8, !tbaa !9
  store double %238, ptr %13, align 8, !tbaa !9
  store double 1.000000e+00, ptr %14, align 8, !tbaa !9
  %239 = load double, ptr %14, align 8, !tbaa !9
  %240 = load double, ptr %13, align 8, !tbaa !9
  %241 = fadd double %240, %239
  store double %241, ptr %13, align 8, !tbaa !9
  %242 = load double, ptr %13, align 8, !tbaa !9
  store double %242, ptr %6, align 8, !tbaa !9
  store double -1.601000e+03, ptr %14, align 8, !tbaa !9
  %243 = load double, ptr %14, align 8, !tbaa !9
  %244 = load double, ptr %13, align 8, !tbaa !9
  %245 = fadd double %244, %243
  store double %245, ptr %13, align 8, !tbaa !9
  store double 4.000000e+02, ptr %14, align 8, !tbaa !9
  %246 = load double, ptr %14, align 8, !tbaa !9
  %247 = load double, ptr %13, align 8, !tbaa !9
  %248 = fdiv double %247, %246
  store double %248, ptr %13, align 8, !tbaa !9
  %249 = load double, ptr %13, align 8, !tbaa !9
  %250 = call double @wasm_floor(double noundef %249)
  store double %250, ptr %13, align 8, !tbaa !9
  %251 = load double, ptr %6, align 8, !tbaa !9
  store double %251, ptr %14, align 8, !tbaa !9
  store double -1.970000e+03, ptr %15, align 8, !tbaa !9
  %252 = load double, ptr %15, align 8, !tbaa !9
  %253 = load double, ptr %14, align 8, !tbaa !9
  %254 = fadd double %253, %252
  store double %254, ptr %14, align 8, !tbaa !9
  store double 3.650000e+02, ptr %15, align 8, !tbaa !9
  %255 = load double, ptr %15, align 8, !tbaa !9
  %256 = load double, ptr %14, align 8, !tbaa !9
  %257 = fmul double %256, %255
  store double %257, ptr %14, align 8, !tbaa !9
  %258 = load double, ptr %6, align 8, !tbaa !9
  store double %258, ptr %15, align 8, !tbaa !9
  store double -1.969000e+03, ptr %16, align 8, !tbaa !9
  %259 = load double, ptr %16, align 8, !tbaa !9
  %260 = load double, ptr %15, align 8, !tbaa !9
  %261 = fadd double %260, %259
  store double %261, ptr %15, align 8, !tbaa !9
  store double 2.500000e-01, ptr %16, align 8, !tbaa !9
  %262 = load double, ptr %16, align 8, !tbaa !9
  %263 = load double, ptr %15, align 8, !tbaa !9
  %264 = fmul double %263, %262
  store double %264, ptr %15, align 8, !tbaa !9
  %265 = load double, ptr %15, align 8, !tbaa !9
  %266 = call double @wasm_floor(double noundef %265)
  store double %266, ptr %15, align 8, !tbaa !9
  %267 = load double, ptr %15, align 8, !tbaa !9
  %268 = load double, ptr %14, align 8, !tbaa !9
  %269 = fadd double %268, %267
  store double %269, ptr %14, align 8, !tbaa !9
  %270 = load double, ptr %6, align 8, !tbaa !9
  store double %270, ptr %15, align 8, !tbaa !9
  store double -1.901000e+03, ptr %16, align 8, !tbaa !9
  %271 = load double, ptr %16, align 8, !tbaa !9
  %272 = load double, ptr %15, align 8, !tbaa !9
  %273 = fadd double %272, %271
  store double %273, ptr %15, align 8, !tbaa !9
  store double 1.000000e+02, ptr %16, align 8, !tbaa !9
  %274 = load double, ptr %16, align 8, !tbaa !9
  %275 = load double, ptr %15, align 8, !tbaa !9
  %276 = fdiv double %275, %274
  store double %276, ptr %15, align 8, !tbaa !9
  %277 = load double, ptr %15, align 8, !tbaa !9
  %278 = call double @wasm_floor(double noundef %277)
  store double %278, ptr %15, align 8, !tbaa !9
  %279 = load double, ptr %15, align 8, !tbaa !9
  %280 = load double, ptr %14, align 8, !tbaa !9
  %281 = fsub double %280, %279
  store double %281, ptr %14, align 8, !tbaa !9
  %282 = load double, ptr %14, align 8, !tbaa !9
  %283 = load double, ptr %13, align 8, !tbaa !9
  %284 = fadd double %283, %282
  store double %284, ptr %13, align 8, !tbaa !9
  store double 8.640000e+07, ptr %14, align 8, !tbaa !9
  %285 = load double, ptr %14, align 8, !tbaa !9
  %286 = load double, ptr %13, align 8, !tbaa !9
  %287 = fmul double %286, %285
  store double %287, ptr %13, align 8, !tbaa !9
  %288 = load double, ptr %13, align 8, !tbaa !9
  store double %288, ptr %7, align 8, !tbaa !9
  br label %170

289:                                              ; preds = %219
  %290 = load double, ptr %4, align 8, !tbaa !9
  store double %290, ptr %13, align 8, !tbaa !9
  %291 = load double, ptr %6, align 8, !tbaa !9
  store double %291, ptr %14, align 8, !tbaa !9
  store double -1.601000e+03, ptr %15, align 8, !tbaa !9
  %292 = load double, ptr %15, align 8, !tbaa !9
  %293 = load double, ptr %14, align 8, !tbaa !9
  %294 = fadd double %293, %292
  store double %294, ptr %14, align 8, !tbaa !9
  store double 4.000000e+02, ptr %15, align 8, !tbaa !9
  %295 = load double, ptr %15, align 8, !tbaa !9
  %296 = load double, ptr %14, align 8, !tbaa !9
  %297 = fdiv double %296, %295
  store double %297, ptr %14, align 8, !tbaa !9
  %298 = load double, ptr %14, align 8, !tbaa !9
  %299 = call double @wasm_floor(double noundef %298)
  store double %299, ptr %14, align 8, !tbaa !9
  %300 = load double, ptr %6, align 8, !tbaa !9
  store double %300, ptr %15, align 8, !tbaa !9
  store double -1.970000e+03, ptr %16, align 8, !tbaa !9
  %301 = load double, ptr %16, align 8, !tbaa !9
  %302 = load double, ptr %15, align 8, !tbaa !9
  %303 = fadd double %302, %301
  store double %303, ptr %15, align 8, !tbaa !9
  store double 3.650000e+02, ptr %16, align 8, !tbaa !9
  %304 = load double, ptr %16, align 8, !tbaa !9
  %305 = load double, ptr %15, align 8, !tbaa !9
  %306 = fmul double %305, %304
  store double %306, ptr %15, align 8, !tbaa !9
  %307 = load double, ptr %6, align 8, !tbaa !9
  store double %307, ptr %16, align 8, !tbaa !9
  store double -1.969000e+03, ptr %17, align 8, !tbaa !9
  %308 = load double, ptr %17, align 8, !tbaa !9
  %309 = load double, ptr %16, align 8, !tbaa !9
  %310 = fadd double %309, %308
  store double %310, ptr %16, align 8, !tbaa !9
  store double 2.500000e-01, ptr %17, align 8, !tbaa !9
  %311 = load double, ptr %17, align 8, !tbaa !9
  %312 = load double, ptr %16, align 8, !tbaa !9
  %313 = fmul double %312, %311
  store double %313, ptr %16, align 8, !tbaa !9
  %314 = load double, ptr %16, align 8, !tbaa !9
  %315 = call double @wasm_floor(double noundef %314)
  store double %315, ptr %16, align 8, !tbaa !9
  %316 = load double, ptr %16, align 8, !tbaa !9
  %317 = load double, ptr %15, align 8, !tbaa !9
  %318 = fadd double %317, %316
  store double %318, ptr %15, align 8, !tbaa !9
  %319 = load double, ptr %6, align 8, !tbaa !9
  store double %319, ptr %16, align 8, !tbaa !9
  store double -1.901000e+03, ptr %17, align 8, !tbaa !9
  %320 = load double, ptr %17, align 8, !tbaa !9
  %321 = load double, ptr %16, align 8, !tbaa !9
  %322 = fadd double %321, %320
  store double %322, ptr %16, align 8, !tbaa !9
  store double 1.000000e+02, ptr %17, align 8, !tbaa !9
  %323 = load double, ptr %17, align 8, !tbaa !9
  %324 = load double, ptr %16, align 8, !tbaa !9
  %325 = fdiv double %324, %323
  store double %325, ptr %16, align 8, !tbaa !9
  %326 = load double, ptr %16, align 8, !tbaa !9
  %327 = call double @wasm_floor(double noundef %326)
  store double %327, ptr %16, align 8, !tbaa !9
  %328 = load double, ptr %16, align 8, !tbaa !9
  %329 = load double, ptr %15, align 8, !tbaa !9
  %330 = fsub double %329, %328
  store double %330, ptr %15, align 8, !tbaa !9
  %331 = load double, ptr %15, align 8, !tbaa !9
  %332 = load double, ptr %14, align 8, !tbaa !9
  %333 = fadd double %332, %331
  store double %333, ptr %14, align 8, !tbaa !9
  store double 8.640000e+07, ptr %15, align 8, !tbaa !9
  %334 = load double, ptr %15, align 8, !tbaa !9
  %335 = load double, ptr %14, align 8, !tbaa !9
  %336 = fmul double %335, %334
  store double %336, ptr %14, align 8, !tbaa !9
  %337 = load double, ptr %13, align 8, !tbaa !9
  %338 = load double, ptr %14, align 8, !tbaa !9
  %339 = fcmp oge double %337, %338
  %340 = zext i1 %339 to i32
  store i32 %340, ptr %8, align 4, !tbaa !11
  %341 = load i32, ptr %8, align 4, !tbaa !11
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %343, label %403

343:                                              ; preds = %289
  %344 = load double, ptr %6, align 8, !tbaa !9
  store double %344, ptr %13, align 8, !tbaa !9
  store double 1.000000e+00, ptr %14, align 8, !tbaa !9
  %345 = load double, ptr %14, align 8, !tbaa !9
  %346 = load double, ptr %13, align 8, !tbaa !9
  %347 = fadd double %346, %345
  store double %347, ptr %13, align 8, !tbaa !9
  %348 = load double, ptr %13, align 8, !tbaa !9
  store double %348, ptr %7, align 8, !tbaa !9
  store double -1.601000e+03, ptr %14, align 8, !tbaa !9
  %349 = load double, ptr %14, align 8, !tbaa !9
  %350 = load double, ptr %13, align 8, !tbaa !9
  %351 = fadd double %350, %349
  store double %351, ptr %13, align 8, !tbaa !9
  store double 4.000000e+02, ptr %14, align 8, !tbaa !9
  %352 = load double, ptr %14, align 8, !tbaa !9
  %353 = load double, ptr %13, align 8, !tbaa !9
  %354 = fdiv double %353, %352
  store double %354, ptr %13, align 8, !tbaa !9
  %355 = load double, ptr %13, align 8, !tbaa !9
  %356 = call double @wasm_floor(double noundef %355)
  store double %356, ptr %13, align 8, !tbaa !9
  %357 = load double, ptr %7, align 8, !tbaa !9
  store double %357, ptr %14, align 8, !tbaa !9
  store double -1.970000e+03, ptr %15, align 8, !tbaa !9
  %358 = load double, ptr %15, align 8, !tbaa !9
  %359 = load double, ptr %14, align 8, !tbaa !9
  %360 = fadd double %359, %358
  store double %360, ptr %14, align 8, !tbaa !9
  store double 3.650000e+02, ptr %15, align 8, !tbaa !9
  %361 = load double, ptr %15, align 8, !tbaa !9
  %362 = load double, ptr %14, align 8, !tbaa !9
  %363 = fmul double %362, %361
  store double %363, ptr %14, align 8, !tbaa !9
  %364 = load double, ptr %7, align 8, !tbaa !9
  store double %364, ptr %15, align 8, !tbaa !9
  store double -1.969000e+03, ptr %16, align 8, !tbaa !9
  %365 = load double, ptr %16, align 8, !tbaa !9
  %366 = load double, ptr %15, align 8, !tbaa !9
  %367 = fadd double %366, %365
  store double %367, ptr %15, align 8, !tbaa !9
  store double 2.500000e-01, ptr %16, align 8, !tbaa !9
  %368 = load double, ptr %16, align 8, !tbaa !9
  %369 = load double, ptr %15, align 8, !tbaa !9
  %370 = fmul double %369, %368
  store double %370, ptr %15, align 8, !tbaa !9
  %371 = load double, ptr %15, align 8, !tbaa !9
  %372 = call double @wasm_floor(double noundef %371)
  store double %372, ptr %15, align 8, !tbaa !9
  %373 = load double, ptr %15, align 8, !tbaa !9
  %374 = load double, ptr %14, align 8, !tbaa !9
  %375 = fadd double %374, %373
  store double %375, ptr %14, align 8, !tbaa !9
  %376 = load double, ptr %7, align 8, !tbaa !9
  store double %376, ptr %15, align 8, !tbaa !9
  store double -1.901000e+03, ptr %16, align 8, !tbaa !9
  %377 = load double, ptr %16, align 8, !tbaa !9
  %378 = load double, ptr %15, align 8, !tbaa !9
  %379 = fadd double %378, %377
  store double %379, ptr %15, align 8, !tbaa !9
  store double 1.000000e+02, ptr %16, align 8, !tbaa !9
  %380 = load double, ptr %16, align 8, !tbaa !9
  %381 = load double, ptr %15, align 8, !tbaa !9
  %382 = fdiv double %381, %380
  store double %382, ptr %15, align 8, !tbaa !9
  %383 = load double, ptr %15, align 8, !tbaa !9
  %384 = call double @wasm_floor(double noundef %383)
  store double %384, ptr %15, align 8, !tbaa !9
  %385 = load double, ptr %15, align 8, !tbaa !9
  %386 = load double, ptr %14, align 8, !tbaa !9
  %387 = fsub double %386, %385
  store double %387, ptr %14, align 8, !tbaa !9
  %388 = load double, ptr %14, align 8, !tbaa !9
  %389 = load double, ptr %13, align 8, !tbaa !9
  %390 = fadd double %389, %388
  store double %390, ptr %13, align 8, !tbaa !9
  store double 8.640000e+07, ptr %14, align 8, !tbaa !9
  %391 = load double, ptr %14, align 8, !tbaa !9
  %392 = load double, ptr %13, align 8, !tbaa !9
  %393 = fmul double %392, %391
  store double %393, ptr %13, align 8, !tbaa !9
  %394 = load double, ptr %4, align 8, !tbaa !9
  store double %394, ptr %14, align 8, !tbaa !9
  %395 = load double, ptr %13, align 8, !tbaa !9
  %396 = load double, ptr %14, align 8, !tbaa !9
  %397 = fcmp ogt double %395, %396
  %398 = zext i1 %397 to i32
  store i32 %398, ptr %8, align 4, !tbaa !11
  %399 = load i32, ptr %8, align 4, !tbaa !11
  %400 = icmp ne i32 %399, 0
  br i1 %400, label %401, label %402

401:                                              ; preds = %343
  br label %421

402:                                              ; preds = %343
  br label %403

403:                                              ; preds = %402, %289
  store i32 0, ptr %8, align 4, !tbaa !11
  %404 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %404, ptr %5, align 4, !tbaa !11
  store i32 133784, ptr %9, align 4, !tbaa !11
  %405 = load i32, ptr %9, align 4, !tbaa !11
  %406 = load i32, ptr %8, align 4, !tbaa !11
  %407 = add i32 %406, %405
  store i32 %407, ptr %8, align 4, !tbaa !11
  %408 = load i32, ptr %5, align 4, !tbaa !11
  store i32 %408, ptr %9, align 4, !tbaa !11
  store i32 59417, ptr %10, align 4, !tbaa !11
  %409 = load i32, ptr %10, align 4, !tbaa !11
  %410 = load i32, ptr %9, align 4, !tbaa !11
  %411 = add i32 %410, %409
  store i32 %411, ptr %9, align 4, !tbaa !11
  store i32 158, ptr %10, align 4, !tbaa !11
  %412 = load i32, ptr %5, align 4, !tbaa !11
  store i32 %412, ptr %11, align 4, !tbaa !11
  store i32 95819, ptr %12, align 4, !tbaa !11
  %413 = load i32, ptr %12, align 4, !tbaa !11
  %414 = load i32, ptr %11, align 4, !tbaa !11
  %415 = add i32 %414, %413
  store i32 %415, ptr %11, align 4, !tbaa !11
  %416 = load ptr, ptr %3, align 8, !tbaa !5
  %417 = load i32, ptr %8, align 4, !tbaa !11
  %418 = load i32, ptr %9, align 4, !tbaa !11
  %419 = load i32, ptr %10, align 4, !tbaa !11
  %420 = load i32, ptr %11, align 4, !tbaa !11
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %416, i32 noundef %417, i32 noundef %418, i32 noundef %419, i32 noundef %420)
  call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

421:                                              ; preds = %401, %40
  %422 = load double, ptr %6, align 8, !tbaa !9
  store double %422, ptr %13, align 8, !tbaa !9
  %423 = load double, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret double %423
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #0

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) local_unnamed_addr #2

declare double @w2c_hermes_fmod(ptr noundef, double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden double @wasm_floor(double noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %0, double noundef %1) local_unnamed_addr #2 {
  %3 = tail call double @wasm_fabs(double noundef %1)
  %4 = fcmp ueq double %3, 0x7FF0000000000000
  br i1 %4, label %109, label %5

5:                                                ; preds = %2
  %6 = fdiv double %1, 0x421D63C37F000000
  %7 = tail call double @wasm_floor(double noundef %6)
  %8 = fadd double %7, 1.970000e+03
  %9 = fadd double %8, -1.601000e+03
  %10 = fdiv double %9, 4.000000e+02
  %11 = tail call double @wasm_floor(double noundef %10)
  %12 = fadd double %8, -1.970000e+03
  %13 = fmul double %12, 3.650000e+02
  %14 = fadd double %8, -1.969000e+03
  %15 = fmul double %14, 2.500000e-01
  %16 = tail call double @wasm_floor(double noundef %15)
  %17 = fadd double %16, %13
  %18 = fadd double %8, -1.901000e+03
  %19 = fdiv double %18, 1.000000e+02
  %20 = tail call double @wasm_floor(double noundef %19)
  %21 = fsub double %17, %20
  %22 = fadd double %11, %21
  %23 = fmul double %22, 8.640000e+07
  %24 = fcmp ogt double %23, %1
  br i1 %24, label %.preheader, label %.loopexit.preheader

.preheader:                                       ; preds = %5, %.preheader
  %.0257 = phi double [ %25, %.preheader ], [ %8, %5 ]
  %25 = fadd double %.0257, -1.000000e+00
  %26 = fadd double %25, -1.601000e+03
  %27 = fdiv double %26, 4.000000e+02
  %28 = tail call double @wasm_floor(double noundef %27)
  %29 = fadd double %25, -1.970000e+03
  %30 = fmul double %29, 3.650000e+02
  %31 = fadd double %25, -1.969000e+03
  %32 = fmul double %31, 2.500000e-01
  %33 = tail call double @wasm_floor(double noundef %32)
  %34 = fadd double %33, %30
  %35 = fadd double %25, -1.901000e+03
  %36 = fdiv double %35, 1.000000e+02
  %37 = tail call double @wasm_floor(double noundef %36)
  %38 = fsub double %34, %37
  %39 = fadd double %28, %38
  %40 = fmul double %39, 8.640000e+07
  %41 = fcmp ogt double %40, %1
  br i1 %41, label %.preheader, label %.loopexit.preheader

.loopexit.preheader:                              ; preds = %.preheader, %5
  %.2.ph = phi double [ %8, %5 ], [ %25, %.preheader ]
  %.1.ph = phi double [ %23, %5 ], [ %40, %.preheader ]
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.preheader, %56
  %.2 = phi double [ %57, %56 ], [ %.2.ph, %.loopexit.preheader ]
  %.1 = phi double [ %72, %56 ], [ %.1.ph, %.loopexit.preheader ]
  %42 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %.2, double noundef 4.000000e+00) #3
  %43 = fcmp oeq double %42, 0.000000e+00
  br i1 %43, label %44, label %51

44:                                               ; preds = %.loopexit
  %45 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %.2, double noundef 4.000000e+02) #3
  %46 = fcmp oeq double %45, 0.000000e+00
  %47 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %.2, double noundef 1.000000e+02) #3
  %48 = fcmp une double %47, 0.000000e+00
  %49 = select i1 %48, i1 true, i1 %46
  %50 = select i1 %49, i32 366, i32 365
  br label %51

51:                                               ; preds = %44, %.loopexit
  %.0 = phi i32 [ %50, %44 ], [ 365, %.loopexit ]
  %52 = uitofp nneg i32 %.0 to double
  %53 = fmul double %52, 8.640000e+07
  %54 = fadd double %.1, %53
  %55 = fcmp ugt double %54, %1
  br i1 %55, label %73, label %56

56:                                               ; preds = %51
  %57 = fadd double %.2, 1.000000e+00
  %58 = fadd double %57, -1.601000e+03
  %59 = fdiv double %58, 4.000000e+02
  %60 = tail call double @wasm_floor(double noundef %59)
  %61 = fadd double %57, -1.970000e+03
  %62 = fmul double %61, 3.650000e+02
  %63 = fadd double %57, -1.969000e+03
  %64 = fmul double %63, 2.500000e-01
  %65 = tail call double @wasm_floor(double noundef %64)
  %66 = fadd double %62, %65
  %67 = fadd double %57, -1.901000e+03
  %68 = fdiv double %67, 1.000000e+02
  %69 = tail call double @wasm_floor(double noundef %68)
  %70 = fsub double %66, %69
  %71 = fadd double %60, %70
  %72 = fmul double %71, 8.640000e+07
  br label %.loopexit

73:                                               ; preds = %51
  %74 = fadd double %.2, -1.601000e+03
  %75 = fdiv double %74, 4.000000e+02
  %76 = tail call double @wasm_floor(double noundef %75)
  %77 = fadd double %.2, -1.970000e+03
  %78 = fmul double %77, 3.650000e+02
  %79 = fadd double %.2, -1.969000e+03
  %80 = fmul double %79, 2.500000e-01
  %81 = tail call double @wasm_floor(double noundef %80)
  %82 = fadd double %78, %81
  %83 = fadd double %.2, -1.901000e+03
  %84 = fdiv double %83, 1.000000e+02
  %85 = tail call double @wasm_floor(double noundef %84)
  %86 = fsub double %82, %85
  %87 = fadd double %76, %86
  %88 = fmul double %87, 8.640000e+07
  %89 = fcmp ugt double %88, %1
  br i1 %89, label %108, label %90

90:                                               ; preds = %73
  %91 = fadd double %.2, 1.000000e+00
  %92 = fadd double %91, -1.601000e+03
  %93 = fdiv double %92, 4.000000e+02
  %94 = tail call double @wasm_floor(double noundef %93)
  %95 = fadd double %91, -1.970000e+03
  %96 = fmul double %95, 3.650000e+02
  %97 = fadd double %91, -1.969000e+03
  %98 = fmul double %97, 2.500000e-01
  %99 = tail call double @wasm_floor(double noundef %98)
  %100 = fadd double %96, %99
  %101 = fadd double %91, -1.901000e+03
  %102 = fdiv double %101, 1.000000e+02
  %103 = tail call double @wasm_floor(double noundef %102)
  %104 = fsub double %100, %103
  %105 = fadd double %94, %104
  %106 = fmul double %105, 8.640000e+07
  %107 = fcmp ogt double %106, %1
  br i1 %107, label %109, label %108

108:                                              ; preds = %90, %73
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 133784, i32 noundef 59417, i32 noundef 158, i32 noundef 95819) #3
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

109:                                              ; preds = %2, %90
  %.3 = phi double [ %.2, %90 ], [ %1, %2 ]
  ret double %.3
}

attributes #0 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass