; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_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: 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

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

; 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 i32 @i32_load8_u(ptr noundef, i64 noundef) #2

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

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

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

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

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

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

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

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

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

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef, double noundef) #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) #4 {
  %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 i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = 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) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store double 0.000000e+00, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store double 0.000000e+00, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  %32 = load i32, ptr %31, align 8, !tbaa !15
  store i32 %32, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %33 = load i32, ptr %18, align 4, !tbaa !9
  %34 = load i32, ptr %17, align 4, !tbaa !9
  %35 = sub i32 %34, %33
  store i32 %35, ptr %17, align 4, !tbaa !9
  %36 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %36, ptr %11, align 4, !tbaa !9
  %37 = load i32, ptr %17, align 4, !tbaa !9
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 3
  store i32 %37, ptr %39, align 8, !tbaa !15
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %17, align 4, !tbaa !9
  store i32 18, ptr %18, align 4, !tbaa !9
  %41 = load i32, ptr %17, align 4, !tbaa !9
  %42 = load i32, ptr %18, align 4, !tbaa !9
  %43 = icmp ult i32 %41, %42
  %44 = zext i1 %43 to i32
  store i32 %44, ptr %17, align 4, !tbaa !9
  %45 = load i32, ptr %17, align 4, !tbaa !9
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %362

47:                                               ; preds = %5
  %48 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %48, ptr %17, align 4, !tbaa !9
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = call i32 @i32_load(ptr noundef %50, i64 noundef %52)
  store i32 %53, ptr %17, align 4, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = call i64 @i64_load(ptr noundef %55, i64 noundef %57)
  store i64 %58, ptr %22, align 8, !tbaa !11
  %59 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %59, ptr %13, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %60 = load i64, ptr %22, align 8, !tbaa !11
  %61 = load i64, ptr %23, align 8, !tbaa !11
  %62 = icmp uge i64 %60, %61
  %63 = zext i1 %62 to i32
  store i32 %63, ptr %17, align 4, !tbaa !9
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %98

66:                                               ; preds = %47
  %67 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %67, ptr %22, align 8, !tbaa !11
  %68 = load i64, ptr %22, align 8, !tbaa !11
  %69 = trunc i64 %68 to i32
  store i32 %69, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %70, ptr %10, align 4, !tbaa !9
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  %73 = xor i1 %72, true
  %74 = zext i1 %73 to i32
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %17, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %66
  br label %380

78:                                               ; preds = %66
  %79 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %79, ptr %17, align 4, !tbaa !9
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 3
  %85 = call i32 @i32_load8_u(ptr noundef %81, i64 noundef %84)
  store i32 %85, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = and i32 %86, 31
  %88 = load i32, ptr %17, align 4, !tbaa !9
  %89 = shl i32 %88, %87
  store i32 %89, ptr %17, align 4, !tbaa !9
  store i32 1023410176, ptr %18, align 4, !tbaa !9
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = icmp eq i32 %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %17, align 4, !tbaa !9
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %97

96:                                               ; preds = %78
  br label %169

97:                                               ; preds = %78
  br label %98

98:                                               ; preds = %97, %47
  %99 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %99, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 40
  %105 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %101, i64 noundef %104, i32 noundef %105)
  %106 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %106, ptr %17, align 4, !tbaa !9
  store i64 219043332097, ptr %23, align 8, !tbaa !11
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %17, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = add i64 %110, 32
  %112 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %108, i64 noundef %111, i64 noundef %112)
  %113 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %113, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %17, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = add i64 %117, 16
  %119 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %115, i64 noundef %118, i32 noundef %119)
  %120 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %120, ptr %17, align 4, !tbaa !9
  store i32 38291, ptr %18, align 4, !tbaa !9
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 8
  %126 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %122, i64 noundef %125, i32 noundef %126)
  %127 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %127, ptr %17, align 4, !tbaa !9
  %128 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %128, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %129, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %130 = load i32, ptr %20, align 4, !tbaa !9
  %131 = load i32, ptr %19, align 4, !tbaa !9
  %132 = add i32 %131, %130
  store i32 %132, ptr %19, align 4, !tbaa !9
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %133, i32 noundef %134, i32 noundef %135)
  store i32 %136, ptr %18, align 4, !tbaa !9
  %137 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %137, ptr %8, align 4, !tbaa !9
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.w2c_hermes, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %139, i64 noundef %141, i32 noundef %142)
  %143 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %143, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %18, align 4, !tbaa !9
  %146 = icmp ne i32 %144, %145
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %17, align 4, !tbaa !9
  %148 = load i32, ptr %17, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %98
  br label %354

151:                                              ; preds = %98
  store i32 0, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %152, ptr %11, align 4, !tbaa !9
  store i32 109717, ptr %18, align 4, !tbaa !9
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = add i32 %154, %153
  store i32 %155, ptr %17, align 4, !tbaa !9
  %156 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %156, ptr %18, align 4, !tbaa !9
  store i32 77564, ptr %19, align 4, !tbaa !9
  %157 = load i32, ptr %19, align 4, !tbaa !9
  %158 = load i32, ptr %18, align 4, !tbaa !9
  %159 = add i32 %158, %157
  store i32 %159, ptr %18, align 4, !tbaa !9
  store i32 168, ptr %19, align 4, !tbaa !9
  %160 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %160, ptr %20, align 4, !tbaa !9
  store i32 28083, ptr %21, align 4, !tbaa !9
  %161 = load i32, ptr %21, align 4, !tbaa !9
  %162 = load i32, ptr %20, align 4, !tbaa !9
  %163 = add i32 %162, %161
  store i32 %163, ptr %20, align 4, !tbaa !9
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = load i32, ptr %19, align 4, !tbaa !9
  %168 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

169:                                              ; preds = %96
  %170 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %170, ptr %17, align 4, !tbaa !9
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %17, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 32
  %176 = call double @f64_load(ptr noundef %172, i64 noundef %175)
  store double %176, ptr %25, align 8, !tbaa !13
  %177 = load double, ptr %25, align 8, !tbaa !13
  store double %177, ptr %16, align 8, !tbaa !13
  %178 = load double, ptr %16, align 8, !tbaa !13
  store double %178, ptr %26, align 8, !tbaa !13
  %179 = load double, ptr %25, align 8, !tbaa !13
  %180 = load double, ptr %26, align 8, !tbaa !13
  %181 = fcmp une double %179, %180
  %182 = zext i1 %181 to i32
  store i32 %182, ptr %17, align 4, !tbaa !9
  %183 = load i32, ptr %17, align 4, !tbaa !9
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %199

185:                                              ; preds = %169
  %186 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %186, ptr %17, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %23, align 8, !tbaa !11
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.w2c_hermes, ptr %187, i32 0, i32 6
  %189 = load i32, ptr %17, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = add i64 %190, 8
  %192 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %188, i64 noundef %191, i64 noundef %192)
  %193 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %193, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %195, i64 noundef %197, i32 noundef %198)
  br label %354

199:                                              ; preds = %169
  %200 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %200, ptr %17, align 4, !tbaa !9
  store i32 235808, ptr %18, align 4, !tbaa !9
  %201 = load i32, ptr %18, align 4, !tbaa !9
  %202 = load i32, ptr %17, align 4, !tbaa !9
  %203 = add i32 %202, %201
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %204, ptr %18, align 4, !tbaa !9
  store i32 3, ptr %19, align 4, !tbaa !9
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = and i32 %205, 31
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = shl i32 %207, %206
  store i32 %208, ptr %18, align 4, !tbaa !9
  %209 = load i32, ptr %18, align 4, !tbaa !9
  %210 = load i32, ptr %17, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %212, ptr %10, align 4, !tbaa !9
  %213 = load double, ptr %16, align 8, !tbaa !13
  store double %213, ptr %25, align 8, !tbaa !13
  %214 = load double, ptr %25, align 8, !tbaa !13
  store double %214, ptr %15, align 8, !tbaa !13
  %215 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %215, ptr %17, align 4, !tbaa !9
  store i32 17, ptr %18, align 4, !tbaa !9
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = sub i32 %217, %216
  store i32 %218, ptr %17, align 4, !tbaa !9
  store i32 -9, ptr %18, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = icmp ule i32 %219, %220
  %222 = zext i1 %221 to i32
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %231

225:                                              ; preds = %199
  %226 = load double, ptr %16, align 8, !tbaa !13
  store double %226, ptr %25, align 8, !tbaa !13
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load double, ptr %25, align 8, !tbaa !13
  %229 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef %227, double noundef %228)
  store double %229, ptr %25, align 8, !tbaa !13
  %230 = load double, ptr %25, align 8, !tbaa !13
  store double %230, ptr %15, align 8, !tbaa !13
  br label %231

231:                                              ; preds = %225, %199
  %232 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %232, ptr %25, align 8, !tbaa !13
  %233 = load double, ptr %25, align 8, !tbaa !13
  store double %233, ptr %14, align 8, !tbaa !13
  %234 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %234, ptr %17, align 4, !tbaa !9
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = call i32 @i32_load(ptr noundef %236, i64 noundef %238)
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load i32, ptr %17, align 4, !tbaa !9
  switch i32 %240, label %251 [
    i32 0, label %241
    i32 1, label %242
    i32 2, label %243
    i32 3, label %244
    i32 4, label %245
    i32 5, label %246
    i32 6, label %247
    i32 7, label %248
    i32 8, label %249
    i32 9, label %250
  ]

241:                                              ; preds = %231
  br label %252

242:                                              ; preds = %231
  br label %258

243:                                              ; preds = %231
  br label %267

244:                                              ; preds = %231
  br label %275

245:                                              ; preds = %231
  br label %281

246:                                              ; preds = %231
  br label %289

247:                                              ; preds = %231
  br label %295

248:                                              ; preds = %231
  br label %301

249:                                              ; preds = %231
  br label %307

250:                                              ; preds = %231
  br label %313

251:                                              ; preds = %231
  br label %323

252:                                              ; preds = %241
  %253 = load double, ptr %15, align 8, !tbaa !13
  store double %253, ptr %25, align 8, !tbaa !13
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = load double, ptr %25, align 8, !tbaa !13
  %256 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %254, double noundef %255)
  store double %256, ptr %25, align 8, !tbaa !13
  %257 = load double, ptr %25, align 8, !tbaa !13
  store double %257, ptr %14, align 8, !tbaa !13
  br label %323

258:                                              ; preds = %242
  %259 = load double, ptr %15, align 8, !tbaa !13
  store double %259, ptr %25, align 8, !tbaa !13
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = load double, ptr %25, align 8, !tbaa !13
  %262 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %260, double noundef %261)
  store double %262, ptr %25, align 8, !tbaa !13
  store double -1.900000e+03, ptr %26, align 8, !tbaa !13
  %263 = load double, ptr %26, align 8, !tbaa !13
  %264 = load double, ptr %25, align 8, !tbaa !13
  %265 = fadd double %264, %263
  store double %265, ptr %25, align 8, !tbaa !13
  %266 = load double, ptr %25, align 8, !tbaa !13
  store double %266, ptr %14, align 8, !tbaa !13
  br label %323

267:                                              ; preds = %243
  %268 = load double, ptr %15, align 8, !tbaa !13
  store double %268, ptr %25, align 8, !tbaa !13
  %269 = load ptr, ptr %6, align 8, !tbaa !5
  %270 = load double, ptr %25, align 8, !tbaa !13
  %271 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %269, double noundef %270)
  store i32 %271, ptr %17, align 4, !tbaa !9
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = uitofp i32 %272 to double
  store double %273, ptr %25, align 8, !tbaa !13
  %274 = load double, ptr %25, align 8, !tbaa !13
  store double %274, ptr %14, align 8, !tbaa !13
  br label %323

275:                                              ; preds = %244
  %276 = load double, ptr %15, align 8, !tbaa !13
  store double %276, ptr %25, align 8, !tbaa !13
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = load double, ptr %25, align 8, !tbaa !13
  %279 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef %277, double noundef %278)
  store double %279, ptr %25, align 8, !tbaa !13
  %280 = load double, ptr %25, align 8, !tbaa !13
  store double %280, ptr %14, align 8, !tbaa !13
  br label %323

281:                                              ; preds = %245
  %282 = load double, ptr %15, align 8, !tbaa !13
  store double %282, ptr %25, align 8, !tbaa !13
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = load double, ptr %25, align 8, !tbaa !13
  %285 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AweekDay0x28double0x29(ptr noundef %283, double noundef %284)
  store i32 %285, ptr %17, align 4, !tbaa !9
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = sitofp i32 %286 to double
  store double %287, ptr %25, align 8, !tbaa !13
  %288 = load double, ptr %25, align 8, !tbaa !13
  store double %288, ptr %14, align 8, !tbaa !13
  br label %323

289:                                              ; preds = %246
  %290 = load double, ptr %15, align 8, !tbaa !13
  store double %290, ptr %25, align 8, !tbaa !13
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = load double, ptr %25, align 8, !tbaa !13
  %293 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef %291, double noundef %292)
  store double %293, ptr %25, align 8, !tbaa !13
  %294 = load double, ptr %25, align 8, !tbaa !13
  store double %294, ptr %14, align 8, !tbaa !13
  br label %323

295:                                              ; preds = %247
  %296 = load double, ptr %15, align 8, !tbaa !13
  store double %296, ptr %25, align 8, !tbaa !13
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = load double, ptr %25, align 8, !tbaa !13
  %299 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef %297, double noundef %298)
  store double %299, ptr %25, align 8, !tbaa !13
  %300 = load double, ptr %25, align 8, !tbaa !13
  store double %300, ptr %14, align 8, !tbaa !13
  br label %323

301:                                              ; preds = %248
  %302 = load double, ptr %15, align 8, !tbaa !13
  store double %302, ptr %25, align 8, !tbaa !13
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = load double, ptr %25, align 8, !tbaa !13
  %305 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef %303, double noundef %304)
  store double %305, ptr %25, align 8, !tbaa !13
  %306 = load double, ptr %25, align 8, !tbaa !13
  store double %306, ptr %14, align 8, !tbaa !13
  br label %323

307:                                              ; preds = %249
  %308 = load double, ptr %15, align 8, !tbaa !13
  store double %308, ptr %25, align 8, !tbaa !13
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = load double, ptr %25, align 8, !tbaa !13
  %311 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef %309, double noundef %310)
  store double %311, ptr %25, align 8, !tbaa !13
  %312 = load double, ptr %25, align 8, !tbaa !13
  store double %312, ptr %14, align 8, !tbaa !13
  br label %323

313:                                              ; preds = %250
  %314 = load double, ptr %16, align 8, !tbaa !13
  store double %314, ptr %25, align 8, !tbaa !13
  %315 = load double, ptr %15, align 8, !tbaa !13
  store double %315, ptr %26, align 8, !tbaa !13
  %316 = load double, ptr %26, align 8, !tbaa !13
  %317 = load double, ptr %25, align 8, !tbaa !13
  %318 = fsub double %317, %316
  store double %318, ptr %25, align 8, !tbaa !13
  store double 6.000000e+04, ptr %26, align 8, !tbaa !13
  %319 = load double, ptr %26, align 8, !tbaa !13
  %320 = load double, ptr %25, align 8, !tbaa !13
  %321 = fdiv double %320, %319
  store double %321, ptr %25, align 8, !tbaa !13
  %322 = load double, ptr %25, align 8, !tbaa !13
  store double %322, ptr %14, align 8, !tbaa !13
  br label %323

323:                                              ; preds = %313, %307, %301, %295, %289, %281, %275, %267, %258, %252, %251
  %324 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %324, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.w2c_hermes, ptr %325, i32 0, i32 6
  %327 = load i32, ptr %17, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %326, i64 noundef %328, i32 noundef %329)
  %330 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %330, ptr %17, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %23, align 8, !tbaa !11
  %331 = load double, ptr %14, align 8, !tbaa !13
  store double %331, ptr %27, align 8, !tbaa !13
  %332 = load double, ptr %27, align 8, !tbaa !13
  %333 = call i64 @i64_reinterpret_f64(double noundef %332)
  store i64 %333, ptr %24, align 8, !tbaa !11
  %334 = load double, ptr %14, align 8, !tbaa !13
  store double %334, ptr %28, align 8, !tbaa !13
  %335 = load double, ptr %14, align 8, !tbaa !13
  store double %335, ptr %29, align 8, !tbaa !13
  %336 = load double, ptr %28, align 8, !tbaa !13
  %337 = load double, ptr %29, align 8, !tbaa !13
  %338 = fcmp une double %336, %337
  %339 = zext i1 %338 to i32
  store i32 %339, ptr %20, align 4, !tbaa !9
  %340 = load i32, ptr %20, align 4, !tbaa !9
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %344

342:                                              ; preds = %323
  %343 = load i64, ptr %23, align 8, !tbaa !11
  br label %346

344:                                              ; preds = %323
  %345 = load i64, ptr %24, align 8, !tbaa !11
  br label %346

346:                                              ; preds = %344, %342
  %347 = phi i64 [ %343, %342 ], [ %345, %344 ]
  store i64 %347, ptr %23, align 8, !tbaa !11
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.w2c_hermes, ptr %348, i32 0, i32 6
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = zext i32 %350 to i64
  %352 = add i64 %351, 8
  %353 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %349, i64 noundef %352, i64 noundef %353)
  br label %354

354:                                              ; preds = %346, %185, %150
  %355 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %355, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %356 = load i32, ptr %18, align 4, !tbaa !9
  %357 = load i32, ptr %17, align 4, !tbaa !9
  %358 = add i32 %357, %356
  store i32 %358, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %17, align 4, !tbaa !9
  %360 = load ptr, ptr %6, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.w2c_hermes, ptr %360, i32 0, i32 3
  store i32 %359, ptr %361, align 8, !tbaa !15
  br label %398

362:                                              ; preds = %5
  store i32 0, ptr %17, align 4, !tbaa !9
  %363 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %363, ptr %11, align 4, !tbaa !9
  store i32 128037, ptr %18, align 4, !tbaa !9
  %364 = load i32, ptr %18, align 4, !tbaa !9
  %365 = load i32, ptr %17, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %17, align 4, !tbaa !9
  %367 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %367, ptr %18, align 4, !tbaa !9
  store i32 60501, ptr %19, align 4, !tbaa !9
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %18, align 4, !tbaa !9
  store i32 635, ptr %19, align 4, !tbaa !9
  %371 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %371, ptr %20, align 4, !tbaa !9
  store i32 50139, ptr %21, align 4, !tbaa !9
  %372 = load i32, ptr %21, align 4, !tbaa !9
  %373 = load i32, ptr %20, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %20, align 4, !tbaa !9
  %375 = load ptr, ptr %6, align 8, !tbaa !5
  %376 = load i32, ptr %17, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = load i32, ptr %19, align 4, !tbaa !9
  %379 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %375, i32 noundef %376, i32 noundef %377, i32 noundef %378, i32 noundef %379)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

380:                                              ; preds = %77
  store i32 0, ptr %17, align 4, !tbaa !9
  %381 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %381, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %18, align 4, !tbaa !9
  %382 = load i32, ptr %18, align 4, !tbaa !9
  %383 = load i32, ptr %17, align 4, !tbaa !9
  %384 = add i32 %383, %382
  store i32 %384, ptr %17, align 4, !tbaa !9
  %385 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %385, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %386 = load i32, ptr %19, align 4, !tbaa !9
  %387 = load i32, ptr %18, align 4, !tbaa !9
  %388 = add i32 %387, %386
  store i32 %388, ptr %18, align 4, !tbaa !9
  store i32 106, ptr %19, align 4, !tbaa !9
  %389 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %389, ptr %20, align 4, !tbaa !9
  store i32 28119, ptr %21, align 4, !tbaa !9
  %390 = load i32, ptr %21, align 4, !tbaa !9
  %391 = load i32, ptr %20, align 4, !tbaa !9
  %392 = add i32 %391, %390
  store i32 %392, ptr %20, align 4, !tbaa !9
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = load i32, ptr %17, align 4, !tbaa !9
  %395 = load i32, ptr %18, align 4, !tbaa !9
  %396 = load i32, ptr %19, align 4, !tbaa !9
  %397 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %393, i32 noundef %394, i32 noundef %395, i32 noundef %396, i32 noundef %397)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

398:                                              ; preds = %354
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AweekDay0x28double0x29(ptr noundef, double noundef) #3

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

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

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

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

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 = { 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 = { "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 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 #5 = { nounwind }
attributes #6 = { 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #0

; 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 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 i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_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: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

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

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

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

; 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 #3 {
  %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 = icmp ult i32 %2, 18
  br i1 %9, label %10, label %82

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = zext i32 %4 to i64
  %13 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %12)
  %14 = zext i32 %13 to i64
  %15 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %14)
  %16 = icmp ugt i64 %15, -844424930131969
  br i1 %16, label %17, label %23

17:                                               ; preds = %10
  %18 = and i64 %15, 4294967295
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %83, label %19

19:                                               ; preds = %17
  %20 = add nuw nsw i64 %18, 3
  %21 = tail call i32 @i32_load8_u(ptr noundef nonnull %11, i64 noundef %20)
  %.mask = and i32 %21, 255
  %22 = icmp eq i32 %.mask, 61
  br i1 %22, label %33, label %23

23:                                               ; preds = %19, %10
  %24 = zext i32 %8 to i64
  %25 = add nuw nsw i64 %24, 40
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %25, i32 noundef 0)
  %26 = add nuw nsw i64 %24, 32
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %26, i64 noundef 219043332097)
  %27 = add nuw nsw i64 %24, 16
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %27, i32 noundef 3)
  %28 = add nuw nsw i64 %24, 8
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %28, i32 noundef 38291)
  %29 = add i32 %7, -40
  %30 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %29)
  %31 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %31, i32 noundef %30)
  %.not219 = icmp eq i32 %30, 1
  br i1 %.not219, label %32, label %81

32:                                               ; preds = %23
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109717, i32 noundef 77564, i32 noundef 168, i32 noundef 28083) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

33:                                               ; preds = %19
  %34 = add nuw nsw i64 %18, 32
  %35 = tail call double @f64_load(ptr noundef nonnull %11, i64 noundef %34)
  %36 = fcmp uno double %35, 0.000000e+00
  br i1 %36, label %37, label %40

37:                                               ; preds = %33
  %38 = zext i32 %1 to i64
  %39 = add nuw nsw i64 %38, 8
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %39, i64 noundef 9221120237041090560)
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %38, i32 noundef 1)
  br label %81

40:                                               ; preds = %33
  %41 = shl nuw nsw i32 %2, 3
  %42 = add nuw nsw i32 %41, 235808
  %43 = add nsw i32 %2, -17
  %44 = icmp ult i32 %43, -8
  br i1 %44, label %45, label %47

45:                                               ; preds = %40
  %46 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef nonnull %0, double noundef %35) #4
  br label %47

47:                                               ; preds = %45, %40
  %.0 = phi double [ %46, %45 ], [ %35, %40 ]
  %48 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %49 = zext nneg i32 %42 to i64
  %50 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %49)
  switch i32 %50, label %75 [
    i32 0, label %51
    i32 1, label %53
    i32 2, label %56
    i32 3, label %59
    i32 4, label %61
    i32 5, label %64
    i32 6, label %66
    i32 7, label %68
    i32 8, label %70
    i32 9, label %72
  ]

51:                                               ; preds = %47
  %52 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  br label %75

53:                                               ; preds = %47
  %54 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %55 = fadd double %54, -1.900000e+03
  br label %75

56:                                               ; preds = %47
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %58 = uitofp i32 %57 to double
  br label %75

59:                                               ; preds = %47
  %60 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0)
  br label %75

61:                                               ; preds = %47
  %62 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AweekDay0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %63 = sitofp i32 %62 to double
  br label %75

64:                                               ; preds = %47
  %65 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  br label %75

66:                                               ; preds = %47
  %67 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  br label %75

68:                                               ; preds = %47
  %69 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  br label %75

70:                                               ; preds = %47
  %71 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  br label %75

72:                                               ; preds = %47
  %73 = fsub double %35, %.0
  %74 = fdiv double %73, 6.000000e+04
  br label %75

75:                                               ; preds = %47, %72, %70, %68, %66, %64, %61, %59, %56, %53, %51
  %.0216 = phi double [ %48, %47 ], [ %74, %72 ], [ %71, %70 ], [ %69, %68 ], [ %67, %66 ], [ %65, %64 ], [ %63, %61 ], [ %60, %59 ], [ %58, %56 ], [ %55, %53 ], [ %52, %51 ]
  %76 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %76, i32 noundef 1)
  %77 = tail call i64 @i64_reinterpret_f64(double noundef %.0216)
  %78 = fcmp uno double %.0216, 0.000000e+00
  %79 = select i1 %78, i64 9221120237041090560, i64 %77
  %80 = add nuw nsw i64 %76, 8
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %80, i64 noundef %79)
  br label %81

81:                                               ; preds = %23, %75, %37
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

82:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 128037, i32 noundef 60501, i32 noundef 635, i32 noundef 50139) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

83:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AweekDay0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #2

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

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

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

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

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 = { 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 = { "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 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}


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