; 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

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

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

; Function Attrs: nounwind uwtable
declare dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef, double noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %0, double noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = 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 8, ptr %5) #3
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store double 0.000000e+00, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store double 0.000000e+00, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store i32 0, ptr %8, align 4, !tbaa !11
  %16 = load double, ptr %4, align 8, !tbaa !9
  store double %16, ptr %11, align 8, !tbaa !9
  store double 8.640000e+07, ptr %12, align 8, !tbaa !9
  %17 = load double, ptr %12, align 8, !tbaa !9
  %18 = load double, ptr %11, align 8, !tbaa !9
  %19 = fdiv double %18, %17
  store double %19, ptr %11, align 8, !tbaa !9
  %20 = load double, ptr %11, align 8, !tbaa !9
  %21 = call double @wasm_floor(double noundef %20)
  store double %21, ptr %11, align 8, !tbaa !9
  %22 = load double, ptr %4, align 8, !tbaa !9
  store double %22, ptr %12, align 8, !tbaa !9
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = load double, ptr %12, align 8, !tbaa !9
  %25 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %23, double noundef %24)
  store double %25, ptr %12, align 8, !tbaa !9
  %26 = load double, ptr %12, align 8, !tbaa !9
  store double %26, ptr %5, align 8, !tbaa !9
  store double -1.601000e+03, ptr %13, align 8, !tbaa !9
  %27 = load double, ptr %13, align 8, !tbaa !9
  %28 = load double, ptr %12, align 8, !tbaa !9
  %29 = fadd double %28, %27
  store double %29, ptr %12, align 8, !tbaa !9
  store double 4.000000e+02, ptr %13, align 8, !tbaa !9
  %30 = load double, ptr %13, align 8, !tbaa !9
  %31 = load double, ptr %12, align 8, !tbaa !9
  %32 = fdiv double %31, %30
  store double %32, ptr %12, align 8, !tbaa !9
  %33 = load double, ptr %12, align 8, !tbaa !9
  %34 = call double @wasm_floor(double noundef %33)
  store double %34, ptr %12, align 8, !tbaa !9
  %35 = load double, ptr %5, align 8, !tbaa !9
  store double %35, ptr %13, align 8, !tbaa !9
  store double -1.970000e+03, ptr %14, align 8, !tbaa !9
  %36 = load double, ptr %14, align 8, !tbaa !9
  %37 = load double, ptr %13, align 8, !tbaa !9
  %38 = fadd double %37, %36
  store double %38, ptr %13, align 8, !tbaa !9
  store double 3.650000e+02, ptr %14, align 8, !tbaa !9
  %39 = load double, ptr %14, align 8, !tbaa !9
  %40 = load double, ptr %13, align 8, !tbaa !9
  %41 = fmul double %40, %39
  store double %41, ptr %13, align 8, !tbaa !9
  %42 = load double, ptr %5, align 8, !tbaa !9
  store double %42, ptr %14, align 8, !tbaa !9
  store double -1.969000e+03, ptr %15, align 8, !tbaa !9
  %43 = load double, ptr %15, align 8, !tbaa !9
  %44 = load double, ptr %14, align 8, !tbaa !9
  %45 = fadd double %44, %43
  store double %45, ptr %14, align 8, !tbaa !9
  store double 2.500000e-01, 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 = fmul 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
  %51 = load double, ptr %14, align 8, !tbaa !9
  %52 = load double, ptr %13, align 8, !tbaa !9
  %53 = fadd double %52, %51
  store double %53, ptr %13, align 8, !tbaa !9
  %54 = load double, ptr %5, align 8, !tbaa !9
  store double %54, ptr %14, align 8, !tbaa !9
  store double -1.901000e+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 1.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 %14, align 8, !tbaa !9
  %64 = load double, ptr %13, align 8, !tbaa !9
  %65 = fsub double %64, %63
  store double %65, ptr %13, align 8, !tbaa !9
  %66 = load double, ptr %13, align 8, !tbaa !9
  %67 = load double, ptr %12, align 8, !tbaa !9
  %68 = fadd double %67, %66
  store double %68, ptr %12, align 8, !tbaa !9
  %69 = load double, ptr %12, align 8, !tbaa !9
  %70 = load double, ptr %11, align 8, !tbaa !9
  %71 = fsub double %70, %69
  store double %71, ptr %11, align 8, !tbaa !9
  %72 = load double, ptr %11, align 8, !tbaa !9
  store double %72, ptr %5, align 8, !tbaa !9
  store double 3.100000e+01, ptr %12, align 8, !tbaa !9
  %73 = load double, ptr %11, align 8, !tbaa !9
  %74 = load double, ptr %12, align 8, !tbaa !9
  %75 = fcmp olt double %73, %74
  %76 = zext i1 %75 to i32
  store i32 %76, ptr %9, align 4, !tbaa !11
  %77 = load i32, ptr %9, align 4, !tbaa !11
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %2
  br label %266

80:                                               ; preds = %2
  %81 = load double, ptr %4, align 8, !tbaa !9
  store double %81, ptr %10, align 8, !tbaa !9
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = load double, ptr %10, align 8, !tbaa !9
  %84 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %82, double noundef %83)
  store double %84, ptr %10, align 8, !tbaa !9
  %85 = load double, ptr %10, align 8, !tbaa !9
  store double %85, ptr %6, align 8, !tbaa !9
  store double 4.000000e+00, ptr %11, align 8, !tbaa !9
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = load double, ptr %10, align 8, !tbaa !9
  %88 = load double, ptr %11, align 8, !tbaa !9
  %89 = call double @w2c_hermes_fmod(ptr noundef %86, double noundef %87, double noundef %88)
  store double %89, ptr %10, align 8, !tbaa !9
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  %90 = load double, ptr %10, align 8, !tbaa !9
  %91 = load double, ptr %11, align 8, !tbaa !9
  %92 = fcmp oeq double %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %8, align 4, !tbaa !11
  %94 = load i32, ptr %8, align 4, !tbaa !11
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %128

96:                                               ; preds = %80
  %97 = load double, ptr %6, align 8, !tbaa !9
  store double %97, ptr %10, align 8, !tbaa !9
  store double 1.000000e+02, ptr %11, align 8, !tbaa !9
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = load double, ptr %10, align 8, !tbaa !9
  %100 = load double, ptr %11, align 8, !tbaa !9
  %101 = call double @w2c_hermes_fmod(ptr noundef %98, double noundef %99, double noundef %100)
  store double %101, ptr %10, align 8, !tbaa !9
  %102 = load double, ptr %10, align 8, !tbaa !9
  store double %102, ptr %7, align 8, !tbaa !9
  store double 6.000000e+01, ptr %10, align 8, !tbaa !9
  %103 = load double, ptr %10, align 8, !tbaa !9
  store double %103, ptr %4, align 8, !tbaa !9
  %104 = load double, ptr %6, align 8, !tbaa !9
  store double %104, ptr %10, align 8, !tbaa !9
  store double 4.000000e+02, ptr %11, align 8, !tbaa !9
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = load double, ptr %10, align 8, !tbaa !9
  %107 = load double, ptr %11, align 8, !tbaa !9
  %108 = call double @w2c_hermes_fmod(ptr noundef %105, double noundef %106, double noundef %107)
  store double %108, ptr %10, align 8, !tbaa !9
  %109 = load double, ptr %10, align 8, !tbaa !9
  store double %109, ptr %6, align 8, !tbaa !9
  %110 = load double, ptr %7, align 8, !tbaa !9
  store double %110, ptr %10, align 8, !tbaa !9
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  %111 = load double, ptr %10, align 8, !tbaa !9
  %112 = load double, ptr %11, align 8, !tbaa !9
  %113 = fcmp une double %111, %112
  %114 = zext i1 %113 to i32
  store i32 %114, ptr %8, align 4, !tbaa !11
  %115 = load i32, ptr %8, align 4, !tbaa !11
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %96
  br label %130

118:                                              ; preds = %96
  %119 = load double, ptr %6, align 8, !tbaa !9
  store double %119, ptr %10, align 8, !tbaa !9
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  %120 = load double, ptr %10, align 8, !tbaa !9
  %121 = load double, ptr %11, align 8, !tbaa !9
  %122 = fcmp oeq double %120, %121
  %123 = zext i1 %122 to i32
  store i32 %123, ptr %8, align 4, !tbaa !11
  %124 = load i32, ptr %8, align 4, !tbaa !11
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %118
  br label %130

127:                                              ; preds = %118
  br label %128

128:                                              ; preds = %127, %80
  store double 5.900000e+01, ptr %10, align 8, !tbaa !9
  %129 = load double, ptr %10, align 8, !tbaa !9
  store double %129, ptr %4, align 8, !tbaa !9
  br label %130

130:                                              ; preds = %128, %126, %117
  store i32 1, ptr %8, align 4, !tbaa !11
  %131 = load double, ptr %4, align 8, !tbaa !9
  store double %131, ptr %11, align 8, !tbaa !9
  %132 = load double, ptr %5, align 8, !tbaa !9
  store double %132, ptr %12, align 8, !tbaa !9
  %133 = load double, ptr %11, align 8, !tbaa !9
  %134 = load double, ptr %12, align 8, !tbaa !9
  %135 = fcmp ogt double %133, %134
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %9, align 4, !tbaa !11
  %137 = load i32, ptr %9, align 4, !tbaa !11
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %130
  br label %266

140:                                              ; preds = %130
  store i32 2, ptr %8, align 4, !tbaa !11
  %141 = load double, ptr %5, align 8, !tbaa !9
  store double %141, ptr %11, align 8, !tbaa !9
  %142 = load double, ptr %4, align 8, !tbaa !9
  store double %142, ptr %12, align 8, !tbaa !9
  store double 3.100000e+01, ptr %13, align 8, !tbaa !9
  %143 = load double, ptr %13, align 8, !tbaa !9
  %144 = load double, ptr %12, align 8, !tbaa !9
  %145 = fadd double %144, %143
  store double %145, ptr %12, align 8, !tbaa !9
  %146 = load double, ptr %12, align 8, !tbaa !9
  store double %146, ptr %4, align 8, !tbaa !9
  %147 = load double, ptr %11, align 8, !tbaa !9
  %148 = load double, ptr %12, align 8, !tbaa !9
  %149 = fcmp olt double %147, %148
  %150 = zext i1 %149 to i32
  store i32 %150, ptr %9, align 4, !tbaa !11
  %151 = load i32, ptr %9, align 4, !tbaa !11
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %140
  br label %266

154:                                              ; preds = %140
  store i32 3, ptr %8, align 4, !tbaa !11
  %155 = load double, ptr %5, align 8, !tbaa !9
  store double %155, ptr %11, align 8, !tbaa !9
  %156 = load double, ptr %4, align 8, !tbaa !9
  store double %156, ptr %12, align 8, !tbaa !9
  store double 3.000000e+01, ptr %13, align 8, !tbaa !9
  %157 = load double, ptr %13, align 8, !tbaa !9
  %158 = load double, ptr %12, align 8, !tbaa !9
  %159 = fadd double %158, %157
  store double %159, ptr %12, align 8, !tbaa !9
  %160 = load double, ptr %12, align 8, !tbaa !9
  store double %160, ptr %4, align 8, !tbaa !9
  %161 = load double, ptr %11, align 8, !tbaa !9
  %162 = load double, ptr %12, align 8, !tbaa !9
  %163 = fcmp olt double %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %9, align 4, !tbaa !11
  %165 = load i32, ptr %9, align 4, !tbaa !11
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %168

167:                                              ; preds = %154
  br label %266

168:                                              ; preds = %154
  store i32 4, ptr %8, align 4, !tbaa !11
  %169 = load double, ptr %5, align 8, !tbaa !9
  store double %169, ptr %11, align 8, !tbaa !9
  %170 = load double, ptr %4, align 8, !tbaa !9
  store double %170, ptr %12, align 8, !tbaa !9
  store double 3.100000e+01, ptr %13, align 8, !tbaa !9
  %171 = load double, ptr %13, align 8, !tbaa !9
  %172 = load double, ptr %12, align 8, !tbaa !9
  %173 = fadd double %172, %171
  store double %173, ptr %12, align 8, !tbaa !9
  %174 = load double, ptr %12, align 8, !tbaa !9
  store double %174, ptr %4, align 8, !tbaa !9
  %175 = load double, ptr %11, align 8, !tbaa !9
  %176 = load double, ptr %12, align 8, !tbaa !9
  %177 = fcmp olt double %175, %176
  %178 = zext i1 %177 to i32
  store i32 %178, ptr %9, align 4, !tbaa !11
  %179 = load i32, ptr %9, align 4, !tbaa !11
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %182

181:                                              ; preds = %168
  br label %266

182:                                              ; preds = %168
  store i32 5, ptr %8, align 4, !tbaa !11
  %183 = load double, ptr %5, align 8, !tbaa !9
  store double %183, ptr %11, align 8, !tbaa !9
  %184 = load double, ptr %4, align 8, !tbaa !9
  store double %184, ptr %12, align 8, !tbaa !9
  store double 3.000000e+01, ptr %13, align 8, !tbaa !9
  %185 = load double, ptr %13, align 8, !tbaa !9
  %186 = load double, ptr %12, align 8, !tbaa !9
  %187 = fadd double %186, %185
  store double %187, ptr %12, align 8, !tbaa !9
  %188 = load double, ptr %12, align 8, !tbaa !9
  store double %188, ptr %4, align 8, !tbaa !9
  %189 = load double, ptr %11, align 8, !tbaa !9
  %190 = load double, ptr %12, align 8, !tbaa !9
  %191 = fcmp olt double %189, %190
  %192 = zext i1 %191 to i32
  store i32 %192, ptr %9, align 4, !tbaa !11
  %193 = load i32, ptr %9, align 4, !tbaa !11
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %196

195:                                              ; preds = %182
  br label %266

196:                                              ; preds = %182
  store i32 6, ptr %8, align 4, !tbaa !11
  %197 = load double, ptr %5, align 8, !tbaa !9
  store double %197, ptr %11, align 8, !tbaa !9
  %198 = load double, ptr %4, align 8, !tbaa !9
  store double %198, ptr %12, align 8, !tbaa !9
  store double 3.100000e+01, ptr %13, align 8, !tbaa !9
  %199 = load double, ptr %13, align 8, !tbaa !9
  %200 = load double, ptr %12, align 8, !tbaa !9
  %201 = fadd double %200, %199
  store double %201, ptr %12, align 8, !tbaa !9
  %202 = load double, ptr %12, align 8, !tbaa !9
  store double %202, ptr %4, align 8, !tbaa !9
  %203 = load double, ptr %11, align 8, !tbaa !9
  %204 = load double, ptr %12, align 8, !tbaa !9
  %205 = fcmp olt double %203, %204
  %206 = zext i1 %205 to i32
  store i32 %206, ptr %9, align 4, !tbaa !11
  %207 = load i32, ptr %9, align 4, !tbaa !11
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %209, label %210

209:                                              ; preds = %196
  br label %266

210:                                              ; preds = %196
  store i32 7, ptr %8, align 4, !tbaa !11
  %211 = load double, ptr %5, align 8, !tbaa !9
  store double %211, ptr %11, align 8, !tbaa !9
  %212 = load double, ptr %4, align 8, !tbaa !9
  store double %212, ptr %12, align 8, !tbaa !9
  store double 3.100000e+01, ptr %13, align 8, !tbaa !9
  %213 = load double, ptr %13, align 8, !tbaa !9
  %214 = load double, ptr %12, align 8, !tbaa !9
  %215 = fadd double %214, %213
  store double %215, ptr %12, align 8, !tbaa !9
  %216 = load double, ptr %12, align 8, !tbaa !9
  store double %216, ptr %4, align 8, !tbaa !9
  %217 = load double, ptr %11, align 8, !tbaa !9
  %218 = load double, ptr %12, align 8, !tbaa !9
  %219 = fcmp olt double %217, %218
  %220 = zext i1 %219 to i32
  store i32 %220, ptr %9, align 4, !tbaa !11
  %221 = load i32, ptr %9, align 4, !tbaa !11
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %224

223:                                              ; preds = %210
  br label %266

224:                                              ; preds = %210
  store i32 8, ptr %8, align 4, !tbaa !11
  %225 = load double, ptr %5, align 8, !tbaa !9
  store double %225, ptr %11, align 8, !tbaa !9
  %226 = load double, ptr %4, align 8, !tbaa !9
  store double %226, ptr %12, align 8, !tbaa !9
  store double 3.000000e+01, ptr %13, align 8, !tbaa !9
  %227 = load double, ptr %13, align 8, !tbaa !9
  %228 = load double, ptr %12, align 8, !tbaa !9
  %229 = fadd double %228, %227
  store double %229, ptr %12, align 8, !tbaa !9
  %230 = load double, ptr %12, align 8, !tbaa !9
  store double %230, ptr %4, align 8, !tbaa !9
  %231 = load double, ptr %11, align 8, !tbaa !9
  %232 = load double, ptr %12, align 8, !tbaa !9
  %233 = fcmp olt double %231, %232
  %234 = zext i1 %233 to i32
  store i32 %234, ptr %9, align 4, !tbaa !11
  %235 = load i32, ptr %9, align 4, !tbaa !11
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %238

237:                                              ; preds = %224
  br label %266

238:                                              ; preds = %224
  store i32 9, ptr %8, align 4, !tbaa !11
  %239 = load double, ptr %5, align 8, !tbaa !9
  store double %239, ptr %11, align 8, !tbaa !9
  %240 = load double, ptr %4, align 8, !tbaa !9
  store double %240, ptr %12, align 8, !tbaa !9
  store double 3.100000e+01, ptr %13, align 8, !tbaa !9
  %241 = load double, ptr %13, align 8, !tbaa !9
  %242 = load double, ptr %12, align 8, !tbaa !9
  %243 = fadd double %242, %241
  store double %243, ptr %12, align 8, !tbaa !9
  %244 = load double, ptr %12, align 8, !tbaa !9
  store double %244, ptr %4, align 8, !tbaa !9
  %245 = load double, ptr %11, align 8, !tbaa !9
  %246 = load double, ptr %12, align 8, !tbaa !9
  %247 = fcmp olt double %245, %246
  %248 = zext i1 %247 to i32
  store i32 %248, ptr %9, align 4, !tbaa !11
  %249 = load i32, ptr %9, align 4, !tbaa !11
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %251, label %252

251:                                              ; preds = %238
  br label %266

252:                                              ; preds = %238
  store i32 10, ptr %8, align 4, !tbaa !11
  %253 = load double, ptr %5, align 8, !tbaa !9
  store double %253, ptr %11, align 8, !tbaa !9
  %254 = load double, ptr %4, align 8, !tbaa !9
  store double %254, ptr %12, align 8, !tbaa !9
  store double 3.000000e+01, ptr %13, align 8, !tbaa !9
  %255 = load double, ptr %13, align 8, !tbaa !9
  %256 = load double, ptr %12, align 8, !tbaa !9
  %257 = fadd double %256, %255
  store double %257, ptr %12, align 8, !tbaa !9
  %258 = load double, ptr %11, align 8, !tbaa !9
  %259 = load double, ptr %12, align 8, !tbaa !9
  %260 = fcmp olt double %258, %259
  %261 = zext i1 %260 to i32
  store i32 %261, ptr %9, align 4, !tbaa !11
  %262 = load i32, ptr %9, align 4, !tbaa !11
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %265

264:                                              ; preds = %252
  br label %266

265:                                              ; preds = %252
  store i32 11, ptr %8, align 4, !tbaa !11
  br label %266

266:                                              ; preds = %265, %264, %251, %237, %223, %209, %195, %181, %167, %153, %139, %79
  %267 = load i32, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i32 %267
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 }

!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"

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

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

; Function Attrs: nounwind uwtable
declare dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 12) i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %0, double noundef %1) local_unnamed_addr #1 {
  %3 = fdiv double %1, 8.640000e+07
  %4 = tail call double @wasm_floor(double noundef %3)
  %5 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %0, double noundef %1)
  %6 = fadd double %5, -1.601000e+03
  %7 = fdiv double %6, 4.000000e+02
  %8 = tail call double @wasm_floor(double noundef %7)
  %9 = fadd double %5, -1.970000e+03
  %10 = fmul double %9, 3.650000e+02
  %11 = fadd double %5, -1.969000e+03
  %12 = fmul double %11, 2.500000e-01
  %13 = tail call double @wasm_floor(double noundef %12)
  %14 = fadd double %10, %13
  %15 = fadd double %5, -1.901000e+03
  %16 = fdiv double %15, 1.000000e+02
  %17 = tail call double @wasm_floor(double noundef %16)
  %18 = fsub double %14, %17
  %19 = fadd double %8, %18
  %20 = fsub double %4, %19
  %21 = fcmp olt double %20, 3.100000e+01
  br i1 %21, label %62, label %22

22:                                               ; preds = %2
  %23 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %0, double noundef %1)
  %24 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %23, double noundef 4.000000e+00) #2
  %25 = fcmp oeq double %24, 0.000000e+00
  br i1 %25, label %26, label %31

26:                                               ; preds = %22
  %27 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %23, double noundef 1.000000e+02) #2
  %28 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %23, double noundef 4.000000e+02) #2
  %29 = fcmp une double %27, 0.000000e+00
  %30 = fcmp oeq double %28, 0.000000e+00
  %or.cond = select i1 %29, i1 true, i1 %30
  br i1 %or.cond, label %32, label %31

31:                                               ; preds = %26, %22
  br label %32

32:                                               ; preds = %26, %31
  %.0 = phi double [ 6.000000e+01, %26 ], [ 5.900000e+01, %31 ]
  %33 = fcmp ogt double %.0, %20
  br i1 %33, label %62, label %34

34:                                               ; preds = %32
  %35 = fadd double %.0, 3.100000e+01
  %36 = fcmp olt double %20, %35
  br i1 %36, label %62, label %37

37:                                               ; preds = %34
  %38 = fadd double %35, 3.000000e+01
  %39 = fcmp olt double %20, %38
  br i1 %39, label %62, label %40

40:                                               ; preds = %37
  %41 = fadd double %38, 3.100000e+01
  %42 = fcmp olt double %20, %41
  br i1 %42, label %62, label %43

43:                                               ; preds = %40
  %44 = fadd double %41, 3.000000e+01
  %45 = fcmp olt double %20, %44
  br i1 %45, label %62, label %46

46:                                               ; preds = %43
  %47 = fadd double %44, 3.100000e+01
  %48 = fcmp olt double %20, %47
  br i1 %48, label %62, label %49

49:                                               ; preds = %46
  %50 = fadd double %47, 3.100000e+01
  %51 = fcmp olt double %20, %50
  br i1 %51, label %62, label %52

52:                                               ; preds = %49
  %53 = fadd double %50, 3.000000e+01
  %54 = fcmp olt double %20, %53
  br i1 %54, label %62, label %55

55:                                               ; preds = %52
  %56 = fadd double %53, 3.100000e+01
  %57 = fcmp olt double %20, %56
  br i1 %57, label %62, label %58

58:                                               ; preds = %55
  %59 = fadd double %56, 3.000000e+01
  %60 = fcmp olt double %20, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %58
  br label %62

62:                                               ; preds = %58, %55, %52, %49, %46, %43, %40, %37, %34, %32, %2, %61
  %.0148 = phi i32 [ 0, %2 ], [ 1, %32 ], [ 2, %34 ], [ 3, %37 ], [ 4, %40 ], [ 5, %43 ], [ 6, %46 ], [ 7, %49 ], [ 8, %52 ], [ 9, %55 ], [ 10, %58 ], [ 11, %61 ]
  ret i32 %.0148
}

attributes #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 #1 = { 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 #2 = { 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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass