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

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

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_reinterpret_f64(double noundef) #2

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

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

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef, double noundef) #5

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef, double noundef) #5

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef, double noundef) #5

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef, double noundef) #5

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef, double noundef) #5

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef, double noundef) #5

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef, double noundef) #5

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeGetterHelper0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store double 0.000000e+00, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store double 0.000000e+00, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  %30 = load i32, ptr %29, align 8, !tbaa !15
  store i32 %30, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %31 = load i32, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %16, align 4, !tbaa !9
  %33 = sub i32 %32, %31
  store i32 %33, ptr %16, align 4, !tbaa !9
  %34 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %34, ptr %11, align 4, !tbaa !9
  %35 = load i32, ptr %16, align 4, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 3
  store i32 %35, ptr %37, align 8, !tbaa !15
  %38 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %38, ptr %16, align 4, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %16, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = call i32 @i32_load(ptr noundef %40, i64 noundef %42)
  store i32 %43, ptr %16, align 4, !tbaa !9
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %16, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = call i64 @i64_load(ptr noundef %45, i64 noundef %47)
  store i64 %48, ptr %20, align 8, !tbaa !11
  %49 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %49, ptr %12, align 8, !tbaa !11
  store i64 -844424930131968, ptr %21, align 8, !tbaa !11
  %50 = load i64, ptr %20, align 8, !tbaa !11
  %51 = load i64, ptr %21, align 8, !tbaa !11
  %52 = icmp uge i64 %50, %51
  %53 = zext i1 %52 to i32
  store i32 %53, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %16, align 4, !tbaa !9
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %79

56:                                               ; preds = %5
  %57 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %57, ptr %20, align 8, !tbaa !11
  %58 = load i64, ptr %20, align 8, !tbaa !11
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %16, align 4, !tbaa !9
  %60 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %60, ptr %10, align 4, !tbaa !9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %16, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = add i64 %64, 3
  %66 = call i32 @i32_load8_u(ptr noundef %62, i64 noundef %65)
  store i32 %66, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = and i32 %67, 31
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = shl i32 %69, %68
  store i32 %70, ptr %16, align 4, !tbaa !9
  store i32 1023410176, ptr %17, align 4, !tbaa !9
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = icmp eq i32 %71, %72
  %74 = zext i1 %73 to i32
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %56
  br label %123

78:                                               ; preds = %56
  br label %79

79:                                               ; preds = %78, %5
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 40
  %86 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %82, i64 noundef %85, i32 noundef %86)
  %87 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %87, ptr %16, align 4, !tbaa !9
  store i64 219043332097, ptr %21, align 8, !tbaa !11
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 32
  %93 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %89, i64 noundef %92, i64 noundef %93)
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 16
  %100 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %101, ptr %16, align 4, !tbaa !9
  store i32 32161, ptr %17, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 8
  %107 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %103, i64 noundef %106, i32 noundef %107)
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %16, align 4, !tbaa !9
  %109 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %109, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %110, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %111 = load i32, ptr %19, align 4, !tbaa !9
  %112 = load i32, ptr %18, align 4, !tbaa !9
  %113 = add i32 %112, %111
  store i32 %113, ptr %18, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %114, i32 noundef %115, i32 noundef %116)
  store i32 %117, ptr %17, align 4, !tbaa !9
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %16, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %119, i64 noundef %121, i32 noundef %122)
  br label %376

123:                                              ; preds = %77
  %124 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %124, ptr %16, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %16, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 24
  %130 = call double @f64_load(ptr noundef %126, i64 noundef %129)
  store double %130, ptr %23, align 8, !tbaa !13
  %131 = load double, ptr %23, align 8, !tbaa !13
  store double %131, ptr %15, align 8, !tbaa !13
  %132 = load double, ptr %15, align 8, !tbaa !13
  store double %132, ptr %24, align 8, !tbaa !13
  %133 = load double, ptr %23, align 8, !tbaa !13
  %134 = load double, ptr %24, align 8, !tbaa !13
  %135 = fcmp une double %133, %134
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %16, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %153

139:                                              ; preds = %123
  %140 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %140, ptr %16, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %21, align 8, !tbaa !11
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = add i64 %144, 8
  %146 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %142, i64 noundef %145, i64 noundef %146)
  %147 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %147, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %149, i64 noundef %151, i32 noundef %152)
  br label %376

153:                                              ; preds = %123
  %154 = load double, ptr %15, align 8, !tbaa !13
  store double %154, ptr %23, align 8, !tbaa !13
  %155 = load double, ptr %23, align 8, !tbaa !13
  store double %155, ptr %13, align 8, !tbaa !13
  %156 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %156, ptr %16, align 4, !tbaa !9
  store i32 17, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = load i32, ptr %16, align 4, !tbaa !9
  %159 = sub i32 %158, %157
  store i32 %159, ptr %16, align 4, !tbaa !9
  store i32 -9, ptr %17, align 4, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = icmp ule i32 %160, %161
  %163 = zext i1 %162 to i32
  store i32 %163, ptr %16, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %172

166:                                              ; preds = %153
  %167 = load double, ptr %15, align 8, !tbaa !13
  store double %167, ptr %23, align 8, !tbaa !13
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = load double, ptr %23, align 8, !tbaa !13
  %170 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef %168, double noundef %169)
  store double %170, ptr %23, align 8, !tbaa !13
  %171 = load double, ptr %23, align 8, !tbaa !13
  store double %171, ptr %13, align 8, !tbaa !13
  br label %172

172:                                              ; preds = %166, %153
  %173 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %173, ptr %23, align 8, !tbaa !13
  %174 = load double, ptr %23, align 8, !tbaa !13
  store double %174, ptr %14, align 8, !tbaa !13
  %175 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %175, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = and i32 %176, 31
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = shl i32 %178, %177
  store i32 %179, ptr %16, align 4, !tbaa !9
  store i32 79328, ptr %17, align 4, !tbaa !9
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = add i32 %181, %180
  store i32 %182, ptr %16, align 4, !tbaa !9
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = call i32 @i32_load(ptr noundef %184, i64 noundef %186)
  store i32 %187, ptr %16, align 4, !tbaa !9
  %188 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %188, label %199 [
    i32 0, label %189
    i32 1, label %190
    i32 2, label %191
    i32 3, label %192
    i32 4, label %193
    i32 5, label %194
    i32 6, label %195
    i32 7, label %196
    i32 8, label %197
    i32 9, label %198
  ]

189:                                              ; preds = %172
  br label %200

190:                                              ; preds = %172
  br label %206

191:                                              ; preds = %172
  br label %215

192:                                              ; preds = %172
  br label %223

193:                                              ; preds = %172
  br label %229

194:                                              ; preds = %172
  br label %311

195:                                              ; preds = %172
  br label %317

196:                                              ; preds = %172
  br label %323

197:                                              ; preds = %172
  br label %329

198:                                              ; preds = %172
  br label %335

199:                                              ; preds = %172
  br label %345

200:                                              ; preds = %189
  %201 = load double, ptr %13, align 8, !tbaa !13
  store double %201, ptr %23, align 8, !tbaa !13
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = load double, ptr %23, align 8, !tbaa !13
  %204 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %202, double noundef %203)
  store double %204, ptr %23, align 8, !tbaa !13
  %205 = load double, ptr %23, align 8, !tbaa !13
  store double %205, ptr %14, align 8, !tbaa !13
  br label %345

206:                                              ; preds = %190
  %207 = load double, ptr %13, align 8, !tbaa !13
  store double %207, ptr %23, align 8, !tbaa !13
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = load double, ptr %23, align 8, !tbaa !13
  %210 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %208, double noundef %209)
  store double %210, ptr %23, align 8, !tbaa !13
  store double -1.900000e+03, ptr %24, align 8, !tbaa !13
  %211 = load double, ptr %24, align 8, !tbaa !13
  %212 = load double, ptr %23, align 8, !tbaa !13
  %213 = fadd double %212, %211
  store double %213, ptr %23, align 8, !tbaa !13
  %214 = load double, ptr %23, align 8, !tbaa !13
  store double %214, ptr %14, align 8, !tbaa !13
  br label %345

215:                                              ; preds = %191
  %216 = load double, ptr %13, align 8, !tbaa !13
  store double %216, ptr %23, align 8, !tbaa !13
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = load double, ptr %23, align 8, !tbaa !13
  %219 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %217, double noundef %218)
  store i32 %219, ptr %16, align 4, !tbaa !9
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = uitofp i32 %220 to double
  store double %221, ptr %23, align 8, !tbaa !13
  %222 = load double, ptr %23, align 8, !tbaa !13
  store double %222, ptr %14, align 8, !tbaa !13
  br label %345

223:                                              ; preds = %192
  %224 = load double, ptr %13, align 8, !tbaa !13
  store double %224, ptr %23, align 8, !tbaa !13
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = load double, ptr %23, align 8, !tbaa !13
  %227 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef %225, double noundef %226)
  store double %227, ptr %23, align 8, !tbaa !13
  %228 = load double, ptr %23, align 8, !tbaa !13
  store double %228, ptr %14, align 8, !tbaa !13
  br label %345

229:                                              ; preds = %193
  %230 = load double, ptr %13, align 8, !tbaa !13
  store double %230, ptr %23, align 8, !tbaa !13
  store double 8.640000e+07, ptr %24, align 8, !tbaa !13
  %231 = load double, ptr %24, align 8, !tbaa !13
  %232 = load double, ptr %23, align 8, !tbaa !13
  %233 = fdiv double %232, %231
  store double %233, ptr %23, align 8, !tbaa !13
  %234 = load double, ptr %23, align 8, !tbaa !13
  %235 = call double @wasm_floor(double noundef %234)
  store double %235, ptr %23, align 8, !tbaa !13
  store double 4.000000e+00, ptr %24, align 8, !tbaa !13
  %236 = load double, ptr %24, align 8, !tbaa !13
  %237 = load double, ptr %23, align 8, !tbaa !13
  %238 = fadd double %237, %236
  store double %238, ptr %23, align 8, !tbaa !13
  store double 7.000000e+00, ptr %24, align 8, !tbaa !13
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = load double, ptr %23, align 8, !tbaa !13
  %241 = load double, ptr %24, align 8, !tbaa !13
  %242 = call double @w2c_hermes_fmod(ptr noundef %239, double noundef %240, double noundef %241)
  store double %242, ptr %23, align 8, !tbaa !13
  %243 = load double, ptr %23, align 8, !tbaa !13
  store double %243, ptr %13, align 8, !tbaa !13
  store double 7.000000e+00, ptr %24, align 8, !tbaa !13
  store double -0.000000e+00, ptr %25, align 8, !tbaa !13
  %244 = load double, ptr %13, align 8, !tbaa !13
  store double %244, ptr %26, align 8, !tbaa !13
  store double 0.000000e+00, ptr %27, align 8, !tbaa !13
  %245 = load double, ptr %26, align 8, !tbaa !13
  %246 = load double, ptr %27, align 8, !tbaa !13
  %247 = fcmp olt double %245, %246
  %248 = zext i1 %247 to i32
  store i32 %248, ptr %19, align 4, !tbaa !9
  %249 = load i32, ptr %19, align 4, !tbaa !9
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %251, label %253

251:                                              ; preds = %229
  %252 = load double, ptr %24, align 8, !tbaa !13
  br label %255

253:                                              ; preds = %229
  %254 = load double, ptr %25, align 8, !tbaa !13
  br label %255

255:                                              ; preds = %253, %251
  %256 = phi double [ %252, %251 ], [ %254, %253 ]
  store double %256, ptr %24, align 8, !tbaa !13
  %257 = load double, ptr %24, align 8, !tbaa !13
  %258 = load double, ptr %23, align 8, !tbaa !13
  %259 = fadd double %258, %257
  store double %259, ptr %23, align 8, !tbaa !13
  %260 = load double, ptr %23, align 8, !tbaa !13
  store double %260, ptr %13, align 8, !tbaa !13
  %261 = load double, ptr %23, align 8, !tbaa !13
  %262 = call double @wasm_fabs(double noundef %261)
  store double %262, ptr %23, align 8, !tbaa !13
  store double 0x41E0000000000000, ptr %24, align 8, !tbaa !13
  %263 = load double, ptr %23, align 8, !tbaa !13
  %264 = load double, ptr %24, align 8, !tbaa !13
  %265 = fcmp olt double %263, %264
  %266 = zext i1 %265 to i32
  store i32 %266, ptr %16, align 4, !tbaa !9
  %267 = load i32, ptr %16, align 4, !tbaa !9
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %306

269:                                              ; preds = %255
  %270 = load double, ptr %13, align 8, !tbaa !13
  store double %270, ptr %23, align 8, !tbaa !13
  %271 = load double, ptr %23, align 8, !tbaa !13
  %272 = load double, ptr %23, align 8, !tbaa !13
  %273 = fcmp une double %271, %272
  %274 = xor i1 %273, true
  %275 = xor i1 %274, true
  %276 = zext i1 %275 to i32
  %277 = sext i32 %276 to i64
  %278 = call i64 @llvm.expect.i64(i64 %277, i64 0)
  %279 = icmp ne i64 %278, 0
  br i1 %279, label %280, label %282

280:                                              ; preds = %269
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

281:                                              ; No predecessors!
  br label %304

282:                                              ; preds = %269
  %283 = load double, ptr %23, align 8, !tbaa !13
  %284 = fcmp ogt double %283, 0xC1E0000000200000
  br i1 %284, label %285, label %288

285:                                              ; preds = %282
  %286 = load double, ptr %23, align 8, !tbaa !13
  %287 = fcmp olt double %286, 0x41E0000000000000
  br label %288

288:                                              ; preds = %285, %282
  %289 = phi i1 [ false, %282 ], [ %287, %285 ]
  %290 = xor i1 %289, true
  %291 = xor i1 %290, true
  %292 = xor i1 %291, true
  %293 = zext i1 %292 to i32
  %294 = sext i32 %293 to i64
  %295 = call i64 @llvm.expect.i64(i64 %294, i64 0)
  %296 = icmp ne i64 %295, 0
  br i1 %296, label %297, label %299

297:                                              ; preds = %288
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

298:                                              ; No predecessors!
  br label %302

299:                                              ; preds = %288
  %300 = load double, ptr %23, align 8, !tbaa !13
  %301 = fptosi double %300 to i32
  br label %302

302:                                              ; preds = %299, %298
  %303 = phi i32 [ 0, %298 ], [ %301, %299 ]
  br label %304

304:                                              ; preds = %302, %281
  %305 = phi i32 [ 0, %281 ], [ %303, %302 ]
  store i32 %305, ptr %16, align 4, !tbaa !9
  br label %307

306:                                              ; preds = %255
  store i32 -2147483648, ptr %16, align 4, !tbaa !9
  br label %307

307:                                              ; preds = %306, %304
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = sitofp i32 %308 to double
  store double %309, ptr %23, align 8, !tbaa !13
  %310 = load double, ptr %23, align 8, !tbaa !13
  store double %310, ptr %14, align 8, !tbaa !13
  br label %345

311:                                              ; preds = %194
  %312 = load double, ptr %13, align 8, !tbaa !13
  store double %312, ptr %23, align 8, !tbaa !13
  %313 = load ptr, ptr %6, align 8, !tbaa !5
  %314 = load double, ptr %23, align 8, !tbaa !13
  %315 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef %313, double noundef %314)
  store double %315, ptr %23, align 8, !tbaa !13
  %316 = load double, ptr %23, align 8, !tbaa !13
  store double %316, ptr %14, align 8, !tbaa !13
  br label %345

317:                                              ; preds = %195
  %318 = load double, ptr %13, align 8, !tbaa !13
  store double %318, ptr %23, align 8, !tbaa !13
  %319 = load ptr, ptr %6, align 8, !tbaa !5
  %320 = load double, ptr %23, align 8, !tbaa !13
  %321 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef %319, double noundef %320)
  store double %321, ptr %23, align 8, !tbaa !13
  %322 = load double, ptr %23, align 8, !tbaa !13
  store double %322, ptr %14, align 8, !tbaa !13
  br label %345

323:                                              ; preds = %196
  %324 = load double, ptr %13, align 8, !tbaa !13
  store double %324, ptr %23, align 8, !tbaa !13
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = load double, ptr %23, align 8, !tbaa !13
  %327 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef %325, double noundef %326)
  store double %327, ptr %23, align 8, !tbaa !13
  %328 = load double, ptr %23, align 8, !tbaa !13
  store double %328, ptr %14, align 8, !tbaa !13
  br label %345

329:                                              ; preds = %197
  %330 = load double, ptr %13, align 8, !tbaa !13
  store double %330, ptr %23, align 8, !tbaa !13
  %331 = load ptr, ptr %6, align 8, !tbaa !5
  %332 = load double, ptr %23, align 8, !tbaa !13
  %333 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef %331, double noundef %332)
  store double %333, ptr %23, align 8, !tbaa !13
  %334 = load double, ptr %23, align 8, !tbaa !13
  store double %334, ptr %14, align 8, !tbaa !13
  br label %345

335:                                              ; preds = %198
  %336 = load double, ptr %15, align 8, !tbaa !13
  store double %336, ptr %23, align 8, !tbaa !13
  %337 = load double, ptr %13, align 8, !tbaa !13
  store double %337, ptr %24, align 8, !tbaa !13
  %338 = load double, ptr %24, align 8, !tbaa !13
  %339 = load double, ptr %23, align 8, !tbaa !13
  %340 = fsub double %339, %338
  store double %340, ptr %23, align 8, !tbaa !13
  store double 6.000000e+04, ptr %24, align 8, !tbaa !13
  %341 = load double, ptr %24, align 8, !tbaa !13
  %342 = load double, ptr %23, align 8, !tbaa !13
  %343 = fdiv double %342, %341
  store double %343, ptr %23, align 8, !tbaa !13
  %344 = load double, ptr %23, align 8, !tbaa !13
  store double %344, ptr %14, align 8, !tbaa !13
  br label %345

345:                                              ; preds = %335, %329, %323, %317, %311, %307, %223, %215, %206, %200, %199
  %346 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %346, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %347 = load ptr, ptr %6, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 6
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %348, i64 noundef %350, i32 noundef %351)
  %352 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %352, ptr %16, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %21, align 8, !tbaa !11
  %353 = load double, ptr %14, align 8, !tbaa !13
  store double %353, ptr %25, align 8, !tbaa !13
  %354 = load double, ptr %25, align 8, !tbaa !13
  %355 = call i64 @i64_reinterpret_f64(double noundef %354)
  store i64 %355, ptr %22, align 8, !tbaa !11
  %356 = load double, ptr %14, align 8, !tbaa !13
  store double %356, ptr %26, align 8, !tbaa !13
  %357 = load double, ptr %14, align 8, !tbaa !13
  store double %357, ptr %27, align 8, !tbaa !13
  %358 = load double, ptr %26, align 8, !tbaa !13
  %359 = load double, ptr %27, align 8, !tbaa !13
  %360 = fcmp une double %358, %359
  %361 = zext i1 %360 to i32
  store i32 %361, ptr %19, align 4, !tbaa !9
  %362 = load i32, ptr %19, align 4, !tbaa !9
  %363 = icmp ne i32 %362, 0
  br i1 %363, label %364, label %366

364:                                              ; preds = %345
  %365 = load i64, ptr %21, align 8, !tbaa !11
  br label %368

366:                                              ; preds = %345
  %367 = load i64, ptr %22, align 8, !tbaa !11
  br label %368

368:                                              ; preds = %366, %364
  %369 = phi i64 [ %365, %364 ], [ %367, %366 ]
  store i64 %369, ptr %21, align 8, !tbaa !11
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.w2c_hermes, ptr %370, i32 0, i32 6
  %372 = load i32, ptr %16, align 4, !tbaa !9
  %373 = zext i32 %372 to i64
  %374 = add i64 %373, 8
  %375 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %371, i64 noundef %374, i64 noundef %375)
  br label %376

376:                                              ; preds = %368, %139, %79
  %377 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %377, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  %380 = add i32 %379, %378
  store i32 %380, ptr %16, align 4, !tbaa !9
  %381 = load i32, ptr %16, align 4, !tbaa !9
  %382 = load ptr, ptr %6, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.w2c_hermes, ptr %382, i32 0, i32 3
  store i32 %381, ptr %383, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret void
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = { 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 #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #5 = { "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 #6 = { nounwind }
attributes #7 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeGetterHelper0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -48
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %12)
  %14 = icmp ugt i64 %13, -844424930131969
  br i1 %14, label %15, label %20

15:                                               ; preds = %5
  %16 = and i64 %13, 4294967295
  %17 = add nuw nsw i64 %16, 3
  %18 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %17)
  %.mask = and i32 %18, 255
  %19 = icmp eq i32 %.mask, 61
  br i1 %19, label %29, label %20

20:                                               ; preds = %15, %5
  %21 = zext i32 %8 to i64
  %22 = add nuw nsw i64 %21, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef 0)
  %23 = add nuw nsw i64 %21, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %23, i64 noundef 219043332097)
  %24 = add nuw nsw i64 %21, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %24, i32 noundef 3)
  %25 = add nuw nsw i64 %21, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %25, i32 noundef 32161)
  %26 = add i32 %7, -40
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %26)
  %28 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %28, i32 noundef %27)
  br label %94

29:                                               ; preds = %15
  %30 = add nuw nsw i64 %16, 24
  %31 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %30)
  %32 = fcmp uno double %31, 0.000000e+00
  br i1 %32, label %33, label %36

33:                                               ; preds = %29
  %34 = zext i32 %1 to i64
  %35 = add nuw nsw i64 %34, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %35, i64 noundef 9221120237041090560)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %34, i32 noundef 1)
  br label %94

36:                                               ; preds = %29
  %37 = add i32 %2, -17
  %38 = icmp ult i32 %37, -8
  br i1 %38, label %39, label %41

39:                                               ; preds = %36
  %40 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef nonnull %0, double noundef %31) #4
  br label %41

41:                                               ; preds = %39, %36
  %.0184 = phi double [ %40, %39 ], [ %31, %36 ]
  %42 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %43 = shl i32 %2, 3
  %44 = add i32 %43, 79328
  %45 = zext i32 %44 to i64
  %46 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %45)
  switch i32 %46, label %88 [
    i32 0, label %47
    i32 1, label %49
    i32 2, label %52
    i32 3, label %55
    i32 4, label %57
    i32 5, label %77
    i32 6, label %79
    i32 7, label %81
    i32 8, label %83
    i32 9, label %85
  ]

47:                                               ; preds = %41
  %48 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  br label %88

49:                                               ; preds = %41
  %50 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  %51 = fadd double %50, -1.900000e+03
  br label %88

52:                                               ; preds = %41
  %53 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  %54 = uitofp i32 %53 to double
  br label %88

55:                                               ; preds = %41
  %56 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184)
  br label %88

57:                                               ; preds = %41
  %58 = fdiv double %.0184, 8.640000e+07
  %59 = tail call double @wasm_floor(double noundef %58)
  %60 = fadd double %59, 4.000000e+00
  %61 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %60, double noundef 7.000000e+00) #4
  %62 = fcmp olt double %61, 0.000000e+00
  %63 = select i1 %62, double 7.000000e+00, double -0.000000e+00
  %64 = fadd double %61, %63
  %65 = tail call double @wasm_fabs(double noundef %64)
  %66 = fcmp olt double %65, 0x41E0000000000000
  br i1 %66, label %67, label %88

67:                                               ; preds = %57
  %68 = fcmp uno double %64, 0.000000e+00
  br i1 %68, label %69, label %70, !prof !15

69:                                               ; preds = %67
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

70:                                               ; preds = %67
  %71 = fcmp ule double %64, 0xC1E0000000200000
  %72 = fcmp uge double %64, 0x41E0000000000000
  %.not187 = or i1 %71, %72
  br i1 %.not187, label %73, label %74, !prof !15

73:                                               ; preds = %70
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

74:                                               ; preds = %70
  %75 = fptosi double %64 to i32
  %76 = sitofp i32 %75 to double
  br label %88

77:                                               ; preds = %41
  %78 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  br label %88

79:                                               ; preds = %41
  %80 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  br label %88

81:                                               ; preds = %41
  %82 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  br label %88

83:                                               ; preds = %41
  %84 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0184) #4
  br label %88

85:                                               ; preds = %41
  %86 = fsub double %31, %.0184
  %87 = fdiv double %86, 6.000000e+04
  br label %88

88:                                               ; preds = %74, %57, %41, %85, %83, %81, %79, %77, %55, %52, %49, %47
  %.0183 = phi double [ %42, %41 ], [ %87, %85 ], [ %84, %83 ], [ %82, %81 ], [ %80, %79 ], [ %78, %77 ], [ %56, %55 ], [ %54, %52 ], [ %51, %49 ], [ %48, %47 ], [ %76, %74 ], [ 0xC1E0000000000000, %57 ]
  %89 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %89, i32 noundef 1)
  %90 = tail call i64 @i64_reinterpret_f64(double noundef %.0183)
  %91 = fcmp uno double %.0183, 0.000000e+00
  %92 = select i1 %91, i64 9221120237041090560, i64 %90
  %93 = add nuw nsw i64 %89, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %93, i64 noundef %92)
  br label %94

94:                                               ; preds = %88, %33, %20
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

attributes #0 = { 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 #1 = { inlinehint 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 = { 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 #3 = { "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 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, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!"branch_weights", !"expected", i32 1, i32 2000}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass