; 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 void @f64_store(ptr noundef, i64 noundef, 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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetDate_RJS0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, 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 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  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 %10, align 4, !tbaa !9
  store i32 %40, ptr %17, align 4, !tbaa !9
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %17, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = call i32 @i32_load(ptr noundef %42, i64 noundef %44)
  store i32 %45, ptr %17, align 4, !tbaa !9
  %46 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %46, ptr %14, align 4, !tbaa !9
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.w2c_hermes, ptr %47, i32 0, i32 6
  %49 = load i32, ptr %17, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = call i64 @i64_load(ptr noundef %48, i64 noundef %50)
  store i64 %51, ptr %22, align 8, !tbaa !11
  %52 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %52, ptr %15, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %53 = load i64, ptr %22, align 8, !tbaa !11
  %54 = load i64, ptr %23, align 8, !tbaa !11
  %55 = icmp uge i64 %53, %54
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %93

59:                                               ; preds = %5
  %60 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %60, ptr %22, align 8, !tbaa !11
  %61 = load i64, ptr %22, align 8, !tbaa !11
  %62 = trunc i64 %61 to i32
  store i32 %62, ptr %17, align 4, !tbaa !9
  %63 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  %66 = xor i1 %65, true
  %67 = zext i1 %66 to i32
  store i32 %67, ptr %17, align 4, !tbaa !9
  %68 = load i32, ptr %17, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %59
  br label %527

71:                                               ; preds = %59
  %72 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %72, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %73, ptr %13, align 4, !tbaa !9
  %74 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 3
  %80 = call i32 @i32_load8_u(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = and i32 %81, 31
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = shl i32 %83, %82
  store i32 %84, ptr %17, align 4, !tbaa !9
  store i32 1023410176, ptr %18, align 4, !tbaa !9
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = icmp eq i32 %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %71
  br label %141

92:                                               ; preds = %71
  br label %93

93:                                               ; preds = %92, %5
  store i32 217520, ptr %17, align 4, !tbaa !9
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = call i64 @i64_load(ptr noundef %95, i64 noundef %97)
  store i64 %98, ptr %22, align 8, !tbaa !11
  %99 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %99, ptr %15, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %100 = load i64, ptr %22, align 8, !tbaa !11
  %101 = load i64, ptr %23, align 8, !tbaa !11
  %102 = icmp ule i64 %100, %101
  %103 = zext i1 %102 to i32
  store i32 %103, ptr %17, align 4, !tbaa !9
  %104 = load i32, ptr %17, align 4, !tbaa !9
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %93
  br label %545

107:                                              ; preds = %93
  store i32 217520, ptr %17, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %108, ptr %13, align 4, !tbaa !9
  %109 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %109, ptr %22, align 8, !tbaa !11
  %110 = load i64, ptr %22, align 8, !tbaa !11
  %111 = trunc i64 %110 to i32
  store i32 %111, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %112, ptr %12, align 4, !tbaa !9
  %113 = load i32, ptr %17, align 4, !tbaa !9
  %114 = icmp ne i32 %113, 0
  %115 = xor i1 %114, true
  %116 = zext i1 %115 to i32
  store i32 %116, ptr %17, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %107
  br label %141

120:                                              ; preds = %107
  %121 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %121, ptr %17, align 4, !tbaa !9
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %17, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = add i64 %125, 3
  %127 = call i32 @i32_load8_u(ptr noundef %123, i64 noundef %126)
  store i32 %127, ptr %17, align 4, !tbaa !9
  %128 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %128, ptr %12, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = and i32 %129, 31
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = shl i32 %131, %130
  store i32 %132, ptr %17, align 4, !tbaa !9
  store i32 1023410176, ptr %18, align 4, !tbaa !9
  %133 = load i32, ptr %17, align 4, !tbaa !9
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = icmp ne i32 %133, %134
  %136 = zext i1 %135 to i32
  store i32 %136, ptr %17, align 4, !tbaa !9
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %120
  br label %563

140:                                              ; preds = %120
  br label %141

141:                                              ; preds = %140, %119, %91
  %142 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %142, ptr %22, align 8, !tbaa !11
  %143 = load i64, ptr %22, align 8, !tbaa !11
  %144 = trunc i64 %143 to i32
  store i32 %144, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %145, ptr %12, align 4, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  %148 = xor i1 %147, true
  %149 = zext i1 %148 to i32
  store i32 %149, ptr %17, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %223

152:                                              ; preds = %141
  %153 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %153, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = add i64 %157, 40
  %159 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %155, i64 noundef %158, i32 noundef %159)
  %160 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %160, ptr %17, align 4, !tbaa !9
  store i64 214748364801, ptr %23, align 8, !tbaa !11
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %17, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 32
  %166 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %162, i64 noundef %165, i64 noundef %166)
  %167 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %167, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 16
  %173 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %174, ptr %17, align 4, !tbaa !9
  store i32 38343, ptr %18, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 8
  %180 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %176, i64 noundef %179, i32 noundef %180)
  %181 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %181, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %182, ptr %18, align 4, !tbaa !9
  %183 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %183, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %184 = load i32, ptr %20, align 4, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = add i32 %185, %184
  store i32 %186, ptr %19, align 4, !tbaa !9
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = load i32, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %19, align 4, !tbaa !9
  %190 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %187, i32 noundef %188, i32 noundef %189)
  store i32 %190, ptr %18, align 4, !tbaa !9
  %191 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %191, ptr %10, align 4, !tbaa !9
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %193, i64 noundef %195, i32 noundef %196)
  %197 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %197, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = icmp ne i32 %198, %199
  %201 = zext i1 %200 to i32
  store i32 %201, ptr %17, align 4, !tbaa !9
  %202 = load i32, ptr %17, align 4, !tbaa !9
  %203 = icmp ne i32 %202, 0
  br i1 %203, label %204, label %205

204:                                              ; preds = %152
  br label %519

205:                                              ; preds = %152
  store i32 0, ptr %17, align 4, !tbaa !9
  %206 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %206, ptr %11, align 4, !tbaa !9
  store i32 109717, ptr %18, align 4, !tbaa !9
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %210, ptr %18, align 4, !tbaa !9
  store i32 77564, ptr %19, align 4, !tbaa !9
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %18, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %18, align 4, !tbaa !9
  store i32 168, ptr %19, align 4, !tbaa !9
  %214 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %214, ptr %20, align 4, !tbaa !9
  store i32 28083, ptr %21, align 4, !tbaa !9
  %215 = load i32, ptr %21, align 4, !tbaa !9
  %216 = load i32, ptr %20, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %20, align 4, !tbaa !9
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %19, align 4, !tbaa !9
  %222 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221, i32 noundef %222)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

223:                                              ; preds = %141
  %224 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %224, ptr %22, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %225 = load i64, ptr %22, align 8, !tbaa !11
  %226 = load i64, ptr %23, align 8, !tbaa !11
  %227 = and i64 %226, 63
  %228 = ashr i64 %225, %227
  store i64 %228, ptr %22, align 8, !tbaa !11
  %229 = load i64, ptr %22, align 8, !tbaa !11
  %230 = trunc i64 %229 to i32
  store i32 %230, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = load i32, ptr %18, align 4, !tbaa !9
  %233 = icmp ne i32 %231, %232
  %234 = zext i1 %233 to i32
  store i32 %234, ptr %17, align 4, !tbaa !9
  %235 = load i32, ptr %17, align 4, !tbaa !9
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %238

237:                                              ; preds = %223
  br label %581

238:                                              ; preds = %223
  %239 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load i32, ptr %17, align 4, !tbaa !9
  %241 = icmp ne i32 %240, 0
  %242 = xor i1 %241, true
  %243 = zext i1 %242 to i32
  store i32 %243, ptr %17, align 4, !tbaa !9
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %247

246:                                              ; preds = %238
  br label %599

247:                                              ; preds = %238
  %248 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %248, ptr %17, align 4, !tbaa !9
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %17, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 32
  %254 = call double @f64_load(ptr noundef %250, i64 noundef %253)
  store double %254, ptr %25, align 8, !tbaa !13
  %255 = load double, ptr %25, align 8, !tbaa !13
  store double %255, ptr %16, align 8, !tbaa !13
  %256 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %256, ptr %17, align 4, !tbaa !9
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = icmp ne i32 %257, 0
  %259 = xor i1 %258, true
  %260 = zext i1 %259 to i32
  store i32 %260, ptr %17, align 4, !tbaa !9
  %261 = load i32, ptr %17, align 4, !tbaa !9
  %262 = icmp ne i32 %261, 0
  br i1 %262, label %263, label %269

263:                                              ; preds = %247
  %264 = load double, ptr %16, align 8, !tbaa !13
  store double %264, ptr %25, align 8, !tbaa !13
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = load double, ptr %25, align 8, !tbaa !13
  %267 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef %265, double noundef %266)
  store double %267, ptr %25, align 8, !tbaa !13
  %268 = load double, ptr %25, align 8, !tbaa !13
  store double %268, ptr %16, align 8, !tbaa !13
  br label %269

269:                                              ; preds = %263, %247
  %270 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %270, ptr %17, align 4, !tbaa !9
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 4
  %276 = call i32 @i32_load(ptr noundef %272, i64 noundef %275)
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %277, ptr %10, align 4, !tbaa !9
  %278 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %278, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %17, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %280, i64 noundef %282, i32 noundef %283)
  %284 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %284, ptr %17, align 4, !tbaa !9
  %285 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %285, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %286 = load i32, ptr %19, align 4, !tbaa !9
  %287 = load i32, ptr %18, align 4, !tbaa !9
  %288 = sub i32 %287, %286
  store i32 %288, ptr %18, align 4, !tbaa !9
  store i32 217528, ptr %19, align 4, !tbaa !9
  %289 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %289, ptr %20, align 4, !tbaa !9
  %290 = load i32, ptr %20, align 4, !tbaa !9
  %291 = icmp ne i32 %290, 0
  br i1 %291, label %292, label %294

292:                                              ; preds = %269
  %293 = load i32, ptr %18, align 4, !tbaa !9
  br label %296

294:                                              ; preds = %269
  %295 = load i32, ptr %19, align 4, !tbaa !9
  br label %296

296:                                              ; preds = %294, %292
  %297 = phi i32 [ %293, %292 ], [ %295, %294 ]
  store i32 %297, ptr %18, align 4, !tbaa !9
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 6
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = add i64 %301, 4
  %303 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %299, i64 noundef %302, i32 noundef %303)
  %304 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %304, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %305 = load i32, ptr %18, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  %307 = add i32 %306, %305
  store i32 %307, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %308, ptr %18, align 4, !tbaa !9
  %309 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %309, ptr %19, align 4, !tbaa !9
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %18, align 4, !tbaa !9
  %313 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %310, i32 noundef %311, i32 noundef %312, i32 noundef %313)
  %314 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %314, ptr %17, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 6
  %317 = load i32, ptr %17, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = call i32 @i32_load(ptr noundef %316, i64 noundef %318)
  store i32 %319, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %320, ptr %10, align 4, !tbaa !9
  %321 = load i32, ptr %17, align 4, !tbaa !9
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %323, label %339

323:                                              ; preds = %296
  %324 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %324, ptr %17, align 4, !tbaa !9
  %325 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %325, ptr %18, align 4, !tbaa !9
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.w2c_hermes, ptr %326, i32 0, i32 6
  %328 = load i32, ptr %18, align 4, !tbaa !9
  %329 = zext i32 %328 to i64
  %330 = call i32 @i32_load(ptr noundef %327, i64 noundef %329)
  store i32 %330, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %331 = load i32, ptr %19, align 4, !tbaa !9
  %332 = load i32, ptr %18, align 4, !tbaa !9
  %333 = sub i32 %332, %331
  store i32 %333, ptr %18, align 4, !tbaa !9
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.w2c_hermes, ptr %334, i32 0, i32 6
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %335, i64 noundef %337, i32 noundef %338)
  br label %339

339:                                              ; preds = %323, %296
  %340 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %340, ptr %17, align 4, !tbaa !9
  %341 = load ptr, ptr %6, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.w2c_hermes, ptr %341, i32 0, i32 6
  %343 = load i32, ptr %17, align 4, !tbaa !9
  %344 = zext i32 %343 to i64
  %345 = add i64 %344, 8
  %346 = call i32 @i32_load(ptr noundef %342, i64 noundef %345)
  store i32 %346, ptr %17, align 4, !tbaa !9
  %347 = load i32, ptr %17, align 4, !tbaa !9
  switch i32 %347, label %350 [
    i32 0, label %348
    i32 1, label %349
  ]

348:                                              ; preds = %339
  br label %351

349:                                              ; preds = %339
  br label %376

350:                                              ; preds = %339
  br label %358

351:                                              ; preds = %348
  %352 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %352, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.w2c_hermes, ptr %353, i32 0, i32 6
  %355 = load i32, ptr %17, align 4, !tbaa !9
  %356 = zext i32 %355 to i64
  %357 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %354, i64 noundef %356, i32 noundef %357)
  br label %519

358:                                              ; preds = %350
  store i32 0, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %359, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %18, align 4, !tbaa !9
  %361 = load i32, ptr %17, align 4, !tbaa !9
  %362 = add i32 %361, %360
  store i32 %362, ptr %17, align 4, !tbaa !9
  %363 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %363, ptr %18, align 4, !tbaa !9
  store i32 77564, ptr %19, align 4, !tbaa !9
  %364 = load i32, ptr %19, align 4, !tbaa !9
  %365 = load i32, ptr %18, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %18, align 4, !tbaa !9
  store i32 179, ptr %19, align 4, !tbaa !9
  %367 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %367, ptr %20, align 4, !tbaa !9
  store i32 90402, ptr %21, align 4, !tbaa !9
  %368 = load i32, ptr %21, align 4, !tbaa !9
  %369 = load i32, ptr %20, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %20, align 4, !tbaa !9
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = load i32, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %18, align 4, !tbaa !9
  %374 = load i32, ptr %19, align 4, !tbaa !9
  %375 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374, i32 noundef %375)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

376:                                              ; preds = %349
  %377 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %377, ptr %17, align 4, !tbaa !9
  %378 = load ptr, ptr %6, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.w2c_hermes, ptr %378, i32 0, i32 6
  %380 = load i32, ptr %17, align 4, !tbaa !9
  %381 = zext i32 %380 to i64
  %382 = add i64 %381, 16
  %383 = call i64 @i64_load(ptr noundef %379, i64 noundef %382)
  store i64 %383, ptr %22, align 8, !tbaa !11
  %384 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %384, ptr %15, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %23, align 8, !tbaa !11
  %385 = load i64, ptr %22, align 8, !tbaa !11
  %386 = load i64, ptr %23, align 8, !tbaa !11
  %387 = icmp uge i64 %385, %386
  %388 = zext i1 %387 to i32
  store i32 %388, ptr %17, align 4, !tbaa !9
  %389 = load i32, ptr %17, align 4, !tbaa !9
  %390 = icmp ne i32 %389, 0
  br i1 %390, label %391, label %392

391:                                              ; preds = %376
  br label %617

392:                                              ; preds = %376
  %393 = load double, ptr %16, align 8, !tbaa !13
  store double %393, ptr %25, align 8, !tbaa !13
  %394 = load ptr, ptr %6, align 8, !tbaa !5
  %395 = load double, ptr %25, align 8, !tbaa !13
  %396 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %394, double noundef %395)
  store double %396, ptr %25, align 8, !tbaa !13
  %397 = load double, ptr %16, align 8, !tbaa !13
  store double %397, ptr %26, align 8, !tbaa !13
  %398 = load ptr, ptr %6, align 8, !tbaa !5
  %399 = load double, ptr %26, align 8, !tbaa !13
  %400 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %398, double noundef %399)
  store i32 %400, ptr %18, align 4, !tbaa !9
  %401 = load i32, ptr %18, align 4, !tbaa !9
  %402 = uitofp i32 %401 to double
  store double %402, ptr %26, align 8, !tbaa !13
  %403 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %403, ptr %24, align 8, !tbaa !11
  %404 = load i64, ptr %24, align 8, !tbaa !11
  %405 = call double @f64_reinterpret_i64(i64 noundef %404)
  store double %405, ptr %27, align 8, !tbaa !13
  %406 = load ptr, ptr %6, align 8, !tbaa !5
  %407 = load double, ptr %25, align 8, !tbaa !13
  %408 = load double, ptr %26, align 8, !tbaa !13
  %409 = load double, ptr %27, align 8, !tbaa !13
  %410 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %406, double noundef %407, double noundef %408, double noundef %409)
  store double %410, ptr %25, align 8, !tbaa !13
  %411 = load double, ptr %16, align 8, !tbaa !13
  store double %411, ptr %26, align 8, !tbaa !13
  %412 = load ptr, ptr %6, align 8, !tbaa !5
  %413 = load double, ptr %26, align 8, !tbaa !13
  %414 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(ptr noundef %412, double noundef %413)
  store double %414, ptr %26, align 8, !tbaa !13
  %415 = load ptr, ptr %6, align 8, !tbaa !5
  %416 = load double, ptr %25, align 8, !tbaa !13
  %417 = load double, ptr %26, align 8, !tbaa !13
  %418 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef %415, double noundef %416, double noundef %417)
  store double %418, ptr %25, align 8, !tbaa !13
  %419 = load double, ptr %25, align 8, !tbaa !13
  store double %419, ptr %16, align 8, !tbaa !13
  %420 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %420, ptr %17, align 4, !tbaa !9
  %421 = load i32, ptr %17, align 4, !tbaa !9
  %422 = icmp ne i32 %421, 0
  %423 = xor i1 %422, true
  %424 = zext i1 %423 to i32
  store i32 %424, ptr %17, align 4, !tbaa !9
  %425 = load i32, ptr %17, align 4, !tbaa !9
  %426 = icmp ne i32 %425, 0
  br i1 %426, label %427, label %433

427:                                              ; preds = %392
  %428 = load double, ptr %16, align 8, !tbaa !13
  store double %428, ptr %25, align 8, !tbaa !13
  %429 = load ptr, ptr %6, align 8, !tbaa !5
  %430 = load double, ptr %25, align 8, !tbaa !13
  %431 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef %429, double noundef %430)
  store double %431, ptr %25, align 8, !tbaa !13
  %432 = load double, ptr %25, align 8, !tbaa !13
  store double %432, ptr %16, align 8, !tbaa !13
  br label %433

433:                                              ; preds = %427, %392
  %434 = load double, ptr %16, align 8, !tbaa !13
  store double %434, ptr %25, align 8, !tbaa !13
  %435 = load ptr, ptr %6, align 8, !tbaa !5
  %436 = load double, ptr %25, align 8, !tbaa !13
  %437 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef %435, double noundef %436)
  store double %437, ptr %25, align 8, !tbaa !13
  %438 = load double, ptr %25, align 8, !tbaa !13
  store double %438, ptr %16, align 8, !tbaa !13
  %439 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %439, ptr %17, align 4, !tbaa !9
  %440 = load ptr, ptr %6, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.w2c_hermes, ptr %440, i32 0, i32 6
  %442 = load i32, ptr %17, align 4, !tbaa !9
  %443 = zext i32 %442 to i64
  %444 = call i64 @i64_load(ptr noundef %441, i64 noundef %443)
  store i64 %444, ptr %22, align 8, !tbaa !11
  %445 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %445, ptr %15, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %446 = load i64, ptr %22, align 8, !tbaa !11
  %447 = load i64, ptr %23, align 8, !tbaa !11
  %448 = and i64 %447, 63
  %449 = ashr i64 %446, %448
  store i64 %449, ptr %22, align 8, !tbaa !11
  %450 = load i64, ptr %22, align 8, !tbaa !11
  %451 = trunc i64 %450 to i32
  store i32 %451, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %452 = load i32, ptr %17, align 4, !tbaa !9
  %453 = load i32, ptr %18, align 4, !tbaa !9
  %454 = icmp ne i32 %452, %453
  %455 = zext i1 %454 to i32
  store i32 %455, ptr %17, align 4, !tbaa !9
  %456 = load i32, ptr %17, align 4, !tbaa !9
  %457 = icmp ne i32 %456, 0
  br i1 %457, label %458, label %459

458:                                              ; preds = %433
  br label %635

459:                                              ; preds = %433
  %460 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %460, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %461 = load i64, ptr %22, align 8, !tbaa !11
  %462 = load i64, ptr %23, align 8, !tbaa !11
  %463 = icmp ule i64 %461, %462
  %464 = zext i1 %463 to i32
  store i32 %464, ptr %17, align 4, !tbaa !9
  %465 = load i32, ptr %17, align 4, !tbaa !9
  %466 = icmp ne i32 %465, 0
  br i1 %466, label %467, label %468

467:                                              ; preds = %459
  br label %653

468:                                              ; preds = %459
  %469 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %469, ptr %22, align 8, !tbaa !11
  %470 = load i64, ptr %22, align 8, !tbaa !11
  %471 = trunc i64 %470 to i32
  store i32 %471, ptr %17, align 4, !tbaa !9
  %472 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %472, ptr %10, align 4, !tbaa !9
  %473 = load i32, ptr %17, align 4, !tbaa !9
  %474 = icmp ne i32 %473, 0
  %475 = xor i1 %474, true
  %476 = zext i1 %475 to i32
  store i32 %476, ptr %17, align 4, !tbaa !9
  %477 = load i32, ptr %17, align 4, !tbaa !9
  %478 = icmp ne i32 %477, 0
  br i1 %478, label %479, label %480

479:                                              ; preds = %468
  br label %671

480:                                              ; preds = %468
  %481 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %481, ptr %17, align 4, !tbaa !9
  %482 = load double, ptr %16, align 8, !tbaa !13
  store double %482, ptr %26, align 8, !tbaa !13
  %483 = load ptr, ptr %6, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.w2c_hermes, ptr %483, i32 0, i32 6
  %485 = load i32, ptr %17, align 4, !tbaa !9
  %486 = zext i32 %485 to i64
  %487 = add i64 %486, 32
  %488 = load double, ptr %26, align 8, !tbaa !13
  call void @f64_store(ptr noundef %484, i64 noundef %487, double noundef %488)
  %489 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %489, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %490 = load ptr, ptr %6, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.w2c_hermes, ptr %490, i32 0, i32 6
  %492 = load i32, ptr %17, align 4, !tbaa !9
  %493 = zext i32 %492 to i64
  %494 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %491, i64 noundef %493, i32 noundef %494)
  %495 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %495, ptr %17, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %23, align 8, !tbaa !11
  %496 = load double, ptr %16, align 8, !tbaa !13
  store double %496, ptr %27, align 8, !tbaa !13
  %497 = load double, ptr %27, align 8, !tbaa !13
  %498 = call i64 @i64_reinterpret_f64(double noundef %497)
  store i64 %498, ptr %24, align 8, !tbaa !11
  %499 = load double, ptr %16, align 8, !tbaa !13
  store double %499, ptr %28, align 8, !tbaa !13
  %500 = load double, ptr %16, align 8, !tbaa !13
  store double %500, ptr %29, align 8, !tbaa !13
  %501 = load double, ptr %28, align 8, !tbaa !13
  %502 = load double, ptr %29, align 8, !tbaa !13
  %503 = fcmp une double %501, %502
  %504 = zext i1 %503 to i32
  store i32 %504, ptr %20, align 4, !tbaa !9
  %505 = load i32, ptr %20, align 4, !tbaa !9
  %506 = icmp ne i32 %505, 0
  br i1 %506, label %507, label %509

507:                                              ; preds = %480
  %508 = load i64, ptr %23, align 8, !tbaa !11
  br label %511

509:                                              ; preds = %480
  %510 = load i64, ptr %24, align 8, !tbaa !11
  br label %511

511:                                              ; preds = %509, %507
  %512 = phi i64 [ %508, %507 ], [ %510, %509 ]
  store i64 %512, ptr %23, align 8, !tbaa !11
  %513 = load ptr, ptr %6, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.w2c_hermes, ptr %513, i32 0, i32 6
  %515 = load i32, ptr %17, align 4, !tbaa !9
  %516 = zext i32 %515 to i64
  %517 = add i64 %516, 8
  %518 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %514, i64 noundef %517, i64 noundef %518)
  br label %519

519:                                              ; preds = %511, %351, %204
  %520 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %520, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %521 = load i32, ptr %18, align 4, !tbaa !9
  %522 = load i32, ptr %17, align 4, !tbaa !9
  %523 = add i32 %522, %521
  store i32 %523, ptr %17, align 4, !tbaa !9
  %524 = load i32, ptr %17, align 4, !tbaa !9
  %525 = load ptr, ptr %6, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.w2c_hermes, ptr %525, i32 0, i32 3
  store i32 %524, ptr %526, align 8, !tbaa !15
  br label %689

527:                                              ; preds = %70
  store i32 0, ptr %17, align 4, !tbaa !9
  %528 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %528, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %18, align 4, !tbaa !9
  %529 = load i32, ptr %18, align 4, !tbaa !9
  %530 = load i32, ptr %17, align 4, !tbaa !9
  %531 = add i32 %530, %529
  store i32 %531, ptr %17, align 4, !tbaa !9
  %532 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %532, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %533 = load i32, ptr %19, align 4, !tbaa !9
  %534 = load i32, ptr %18, align 4, !tbaa !9
  %535 = add i32 %534, %533
  store i32 %535, ptr %18, align 4, !tbaa !9
  store i32 106, ptr %19, align 4, !tbaa !9
  %536 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %536, ptr %20, align 4, !tbaa !9
  store i32 28119, ptr %21, align 4, !tbaa !9
  %537 = load i32, ptr %21, align 4, !tbaa !9
  %538 = load i32, ptr %20, align 4, !tbaa !9
  %539 = add i32 %538, %537
  store i32 %539, ptr %20, align 4, !tbaa !9
  %540 = load ptr, ptr %6, align 8, !tbaa !5
  %541 = load i32, ptr %17, align 4, !tbaa !9
  %542 = load i32, ptr %18, align 4, !tbaa !9
  %543 = load i32, ptr %19, align 4, !tbaa !9
  %544 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %540, i32 noundef %541, i32 noundef %542, i32 noundef %543, i32 noundef %544)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

545:                                              ; preds = %106
  store i32 0, ptr %17, align 4, !tbaa !9
  %546 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %546, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %18, align 4, !tbaa !9
  %547 = load i32, ptr %18, align 4, !tbaa !9
  %548 = load i32, ptr %17, align 4, !tbaa !9
  %549 = add i32 %548, %547
  store i32 %549, ptr %17, align 4, !tbaa !9
  %550 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %550, ptr %18, align 4, !tbaa !9
  store i32 82692, ptr %19, align 4, !tbaa !9
  %551 = load i32, ptr %19, align 4, !tbaa !9
  %552 = load i32, ptr %18, align 4, !tbaa !9
  %553 = add i32 %552, %551
  store i32 %553, ptr %18, align 4, !tbaa !9
  store i32 61, ptr %19, align 4, !tbaa !9
  %554 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %554, ptr %20, align 4, !tbaa !9
  store i32 72547, ptr %21, align 4, !tbaa !9
  %555 = load i32, ptr %21, align 4, !tbaa !9
  %556 = load i32, ptr %20, align 4, !tbaa !9
  %557 = add i32 %556, %555
  store i32 %557, ptr %20, align 4, !tbaa !9
  %558 = load ptr, ptr %6, align 8, !tbaa !5
  %559 = load i32, ptr %17, align 4, !tbaa !9
  %560 = load i32, ptr %18, align 4, !tbaa !9
  %561 = load i32, ptr %19, align 4, !tbaa !9
  %562 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %558, i32 noundef %559, i32 noundef %560, i32 noundef %561, i32 noundef %562)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

563:                                              ; preds = %139
  store i32 0, ptr %17, align 4, !tbaa !9
  %564 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %564, ptr %11, align 4, !tbaa !9
  store i32 205071, ptr %18, align 4, !tbaa !9
  %565 = load i32, ptr %18, align 4, !tbaa !9
  %566 = load i32, ptr %17, align 4, !tbaa !9
  %567 = add i32 %566, %565
  store i32 %567, ptr %17, align 4, !tbaa !9
  %568 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %568, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %569 = load i32, ptr %19, align 4, !tbaa !9
  %570 = load i32, ptr %18, align 4, !tbaa !9
  %571 = add i32 %570, %569
  store i32 %571, ptr %18, align 4, !tbaa !9
  store i32 299, ptr %19, align 4, !tbaa !9
  %572 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %572, ptr %20, align 4, !tbaa !9
  store i32 72549, ptr %21, align 4, !tbaa !9
  %573 = load i32, ptr %21, align 4, !tbaa !9
  %574 = load i32, ptr %20, align 4, !tbaa !9
  %575 = add i32 %574, %573
  store i32 %575, ptr %20, align 4, !tbaa !9
  %576 = load ptr, ptr %6, align 8, !tbaa !5
  %577 = load i32, ptr %17, align 4, !tbaa !9
  %578 = load i32, ptr %18, align 4, !tbaa !9
  %579 = load i32, ptr %19, align 4, !tbaa !9
  %580 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %576, i32 noundef %577, i32 noundef %578, i32 noundef %579, i32 noundef %580)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

581:                                              ; preds = %237
  store i32 0, ptr %17, align 4, !tbaa !9
  %582 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %582, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %583 = load i32, ptr %18, align 4, !tbaa !9
  %584 = load i32, ptr %17, align 4, !tbaa !9
  %585 = add i32 %584, %583
  store i32 %585, ptr %17, align 4, !tbaa !9
  %586 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %586, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %587 = load i32, ptr %19, align 4, !tbaa !9
  %588 = load i32, ptr %18, align 4, !tbaa !9
  %589 = add i32 %588, %587
  store i32 %589, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %590 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %590, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %591 = load i32, ptr %21, align 4, !tbaa !9
  %592 = load i32, ptr %20, align 4, !tbaa !9
  %593 = add i32 %592, %591
  store i32 %593, ptr %20, align 4, !tbaa !9
  %594 = load ptr, ptr %6, align 8, !tbaa !5
  %595 = load i32, ptr %17, align 4, !tbaa !9
  %596 = load i32, ptr %18, align 4, !tbaa !9
  %597 = load i32, ptr %19, align 4, !tbaa !9
  %598 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %594, i32 noundef %595, i32 noundef %596, i32 noundef %597, i32 noundef %598)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

599:                                              ; preds = %246
  store i32 0, ptr %17, align 4, !tbaa !9
  %600 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %600, ptr %11, align 4, !tbaa !9
  store i32 168498, ptr %18, align 4, !tbaa !9
  %601 = load i32, ptr %18, align 4, !tbaa !9
  %602 = load i32, ptr %17, align 4, !tbaa !9
  %603 = add i32 %602, %601
  store i32 %603, ptr %17, align 4, !tbaa !9
  %604 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %604, ptr %18, align 4, !tbaa !9
  store i32 78081, ptr %19, align 4, !tbaa !9
  %605 = load i32, ptr %19, align 4, !tbaa !9
  %606 = load i32, ptr %18, align 4, !tbaa !9
  %607 = add i32 %606, %605
  store i32 %607, ptr %18, align 4, !tbaa !9
  store i32 269, ptr %19, align 4, !tbaa !9
  %608 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %608, ptr %20, align 4, !tbaa !9
  store i32 20456, ptr %21, align 4, !tbaa !9
  %609 = load i32, ptr %21, align 4, !tbaa !9
  %610 = load i32, ptr %20, align 4, !tbaa !9
  %611 = add i32 %610, %609
  store i32 %611, ptr %20, align 4, !tbaa !9
  %612 = load ptr, ptr %6, align 8, !tbaa !5
  %613 = load i32, ptr %17, align 4, !tbaa !9
  %614 = load i32, ptr %18, align 4, !tbaa !9
  %615 = load i32, ptr %19, align 4, !tbaa !9
  %616 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %612, i32 noundef %613, i32 noundef %614, i32 noundef %615, i32 noundef %616)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

617:                                              ; preds = %391
  store i32 0, ptr %17, align 4, !tbaa !9
  %618 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %618, ptr %11, align 4, !tbaa !9
  store i32 118741, ptr %18, align 4, !tbaa !9
  %619 = load i32, ptr %18, align 4, !tbaa !9
  %620 = load i32, ptr %17, align 4, !tbaa !9
  %621 = add i32 %620, %619
  store i32 %621, ptr %17, align 4, !tbaa !9
  %622 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %622, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %623 = load i32, ptr %19, align 4, !tbaa !9
  %624 = load i32, ptr %18, align 4, !tbaa !9
  %625 = add i32 %624, %623
  store i32 %625, ptr %18, align 4, !tbaa !9
  store i32 444, ptr %19, align 4, !tbaa !9
  %626 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %626, ptr %20, align 4, !tbaa !9
  store i32 97283, ptr %21, align 4, !tbaa !9
  %627 = load i32, ptr %21, align 4, !tbaa !9
  %628 = load i32, ptr %20, align 4, !tbaa !9
  %629 = add i32 %628, %627
  store i32 %629, ptr %20, align 4, !tbaa !9
  %630 = load ptr, ptr %6, align 8, !tbaa !5
  %631 = load i32, ptr %17, align 4, !tbaa !9
  %632 = load i32, ptr %18, align 4, !tbaa !9
  %633 = load i32, ptr %19, align 4, !tbaa !9
  %634 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %630, i32 noundef %631, i32 noundef %632, i32 noundef %633, i32 noundef %634)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

635:                                              ; preds = %458
  store i32 0, ptr %17, align 4, !tbaa !9
  %636 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %636, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %637 = load i32, ptr %18, align 4, !tbaa !9
  %638 = load i32, ptr %17, align 4, !tbaa !9
  %639 = add i32 %638, %637
  store i32 %639, ptr %17, align 4, !tbaa !9
  %640 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %640, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %641 = load i32, ptr %19, align 4, !tbaa !9
  %642 = load i32, ptr %18, align 4, !tbaa !9
  %643 = add i32 %642, %641
  store i32 %643, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %644 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %644, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %645 = load i32, ptr %21, align 4, !tbaa !9
  %646 = load i32, ptr %20, align 4, !tbaa !9
  %647 = add i32 %646, %645
  store i32 %647, ptr %20, align 4, !tbaa !9
  %648 = load ptr, ptr %6, align 8, !tbaa !5
  %649 = load i32, ptr %17, align 4, !tbaa !9
  %650 = load i32, ptr %18, align 4, !tbaa !9
  %651 = load i32, ptr %19, align 4, !tbaa !9
  %652 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %648, i32 noundef %649, i32 noundef %650, i32 noundef %651, i32 noundef %652)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

653:                                              ; preds = %467
  store i32 0, ptr %17, align 4, !tbaa !9
  %654 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %654, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %655 = load i32, ptr %18, align 4, !tbaa !9
  %656 = load i32, ptr %17, align 4, !tbaa !9
  %657 = add i32 %656, %655
  store i32 %657, ptr %17, align 4, !tbaa !9
  %658 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %658, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %659 = load i32, ptr %19, align 4, !tbaa !9
  %660 = load i32, ptr %18, align 4, !tbaa !9
  %661 = add i32 %660, %659
  store i32 %661, ptr %18, align 4, !tbaa !9
  store i32 438, ptr %19, align 4, !tbaa !9
  %662 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %662, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %663 = load i32, ptr %21, align 4, !tbaa !9
  %664 = load i32, ptr %20, align 4, !tbaa !9
  %665 = add i32 %664, %663
  store i32 %665, ptr %20, align 4, !tbaa !9
  %666 = load ptr, ptr %6, align 8, !tbaa !5
  %667 = load i32, ptr %17, align 4, !tbaa !9
  %668 = load i32, ptr %18, align 4, !tbaa !9
  %669 = load i32, ptr %19, align 4, !tbaa !9
  %670 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %666, i32 noundef %667, i32 noundef %668, i32 noundef %669, i32 noundef %670)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

671:                                              ; preds = %479
  store i32 0, ptr %17, align 4, !tbaa !9
  %672 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %672, ptr %11, align 4, !tbaa !9
  store i32 168498, ptr %18, align 4, !tbaa !9
  %673 = load i32, ptr %18, align 4, !tbaa !9
  %674 = load i32, ptr %17, align 4, !tbaa !9
  %675 = add i32 %674, %673
  store i32 %675, ptr %17, align 4, !tbaa !9
  %676 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %676, ptr %18, align 4, !tbaa !9
  store i32 78081, ptr %19, align 4, !tbaa !9
  %677 = load i32, ptr %19, align 4, !tbaa !9
  %678 = load i32, ptr %18, align 4, !tbaa !9
  %679 = add i32 %678, %677
  store i32 %679, ptr %18, align 4, !tbaa !9
  store i32 269, ptr %19, align 4, !tbaa !9
  %680 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %680, ptr %20, align 4, !tbaa !9
  store i32 20456, ptr %21, align 4, !tbaa !9
  %681 = load i32, ptr %21, align 4, !tbaa !9
  %682 = load i32, ptr %20, align 4, !tbaa !9
  %683 = add i32 %682, %681
  store i32 %683, ptr %20, align 4, !tbaa !9
  %684 = load ptr, ptr %6, align 8, !tbaa !5
  %685 = load i32, ptr %17, align 4, !tbaa !9
  %686 = load i32, ptr %18, align 4, !tbaa !9
  %687 = load i32, ptr %19, align 4, !tbaa !9
  %688 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %684, i32 noundef %685, i32 noundef %686, i32 noundef %687, i32 noundef %688)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

689:                                              ; preds = %519
  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 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef, double noundef, double noundef, double noundef) #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(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 void @f64_store(ptr noundef, i64 noundef, 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

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

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

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_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetDate_RJS0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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 = 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 %21

15:                                               ; preds = %5
  %16 = and i64 %13, 4294967295
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %94, label %17

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

21:                                               ; preds = %17, %5
  %22 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 217520)
  %23 = icmp ult i64 %22, -844424930131968
  br i1 %23, label %95, label %24

24:                                               ; preds = %21
  %25 = and i64 %22, 4294967295
  %.not404 = icmp eq i64 %25, 0
  br i1 %.not404, label %29, label %26

26:                                               ; preds = %24
  %27 = add nuw nsw i64 %25, 3
  %28 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %27)
  %.mask406 = and i32 %28, 255
  %.not405 = icmp eq i32 %.mask406, 61
  br i1 %.not405, label %29, label %96

29:                                               ; preds = %26, %24, %17
  %.0398 = phi i32 [ %11, %17 ], [ 217520, %24 ], [ 217520, %26 ]
  %.0397 = phi i64 [ %13, %17 ], [ %22, %24 ], [ %22, %26 ]
  %30 = and i64 %.0397, 4294967295
  %.not407 = icmp eq i64 %30, 0
  br i1 %.not407, label %31, label %41

31:                                               ; preds = %29
  %32 = zext i32 %8 to i64
  %33 = add nuw nsw i64 %32, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef 0)
  %34 = add nuw nsw i64 %32, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %34, i64 noundef 214748364801)
  %35 = add nuw nsw i64 %32, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %35, i32 noundef 3)
  %36 = add nuw nsw i64 %32, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %36, i32 noundef 38343)
  %37 = add i32 %7, -40
  %38 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %37)
  %39 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %39, i32 noundef %38)
  %.not416 = icmp eq i32 %38, 1
  br i1 %.not416, label %40, label %93

40:                                               ; preds = %31
  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

41:                                               ; preds = %29
  %.not408 = icmp ugt i64 %.0397, -281474976710657
  br i1 %.not408, label %42, label %97

42:                                               ; preds = %41
  %43 = add nuw nsw i64 %30, 32
  %44 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %43)
  %.not410 = icmp eq i32 %2, 0
  br i1 %.not410, label %45, label %47

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

47:                                               ; preds = %45, %42
  %.0 = phi double [ %46, %45 ], [ %44, %42 ]
  %48 = add nuw nsw i64 %10, 4
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %48)
  %50 = zext i32 %8 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %50, i32 noundef 0)
  %51 = add i32 %11, -8
  %.not411 = icmp eq i32 %49, 0
  %52 = select i1 %.not411, i32 217528, i32 %51
  %53 = add nuw nsw i64 %50, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef %52)
  %54 = add i32 %7, -40
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %54, i32 noundef %3, i32 noundef %8) #4
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %50)
  %.not412 = icmp eq i32 %55, 0
  br i1 %.not412, label %60, label %56

56:                                               ; preds = %47
  %57 = zext i32 %55 to i64
  %58 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %57)
  %59 = add i32 %58, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %57, i32 noundef %59)
  br label %60

60:                                               ; preds = %56, %47
  %61 = add nuw nsw i64 %50, 8
  %62 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %61)
  switch i32 %62, label %65 [
    i32 0, label %63
    i32 1, label %66
  ]

63:                                               ; preds = %60
  %64 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %64, i32 noundef 0)
  br label %93

65:                                               ; preds = %60
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

66:                                               ; preds = %60
  %67 = add nuw nsw i64 %50, 16
  %68 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %67)
  %69 = icmp ugt i64 %68, -1970324836974593
  br i1 %69, label %98, label %70

70:                                               ; preds = %66
  %71 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %72 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %73 = uitofp i32 %72 to double
  %74 = tail call double @f64_reinterpret_i64(i64 noundef %68)
  %75 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %71, double noundef %73, double noundef %74) #4
  %76 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %77 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %75, double noundef %76) #4
  br i1 %.not410, label %78, label %80

78:                                               ; preds = %70
  %79 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef nonnull %0, double noundef %77) #4
  br label %80

80:                                               ; preds = %78, %70
  %.1 = phi double [ %79, %78 ], [ %77, %70 ]
  %81 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef nonnull %0, double noundef %.1) #4
  %82 = zext i32 %.0398 to i64
  %83 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %82)
  %.not413 = icmp ugt i64 %83, -281474976710657
  br i1 %.not413, label %84, label %99

84:                                               ; preds = %80
  %85 = and i64 %83, 4294967295
  %.not415 = icmp eq i64 %85, 0
  br i1 %.not415, label %100, label %86

86:                                               ; preds = %84
  %87 = add nuw nsw i64 %85, 32
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %87, double noundef %81)
  %88 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %88, i32 noundef 1)
  %89 = tail call i64 @i64_reinterpret_f64(double noundef %81)
  %90 = fcmp uno double %81, 0.000000e+00
  %91 = select i1 %90, i64 9221120237041090560, i64 %89
  %92 = add nuw nsw i64 %88, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %92, i64 noundef %91)
  br label %93

93:                                               ; preds = %31, %86, %63
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

94:                                               ; preds = %15
  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

95:                                               ; preds = %21
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 61, i32 noundef 72547) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

96:                                               ; preds = %26
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205071, i32 noundef 82611, i32 noundef 299, i32 noundef 72549) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

97:                                               ; preds = %41
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

98:                                               ; preds = %66
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118741, i32 noundef 83341, i32 noundef 444, i32 noundef 97283) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

99:                                               ; preds = %80
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

100:                                              ; preds = %84
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(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,SROAPass,SimplifyCFGPass,TailCallElimPass