; 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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateUTC_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 i64, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = 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 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  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 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, 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
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !15
  store i32 %29, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %30 = load i32, ptr %15, align 4, !tbaa !9
  %31 = load i32, ptr %14, align 4, !tbaa !9
  %32 = sub i32 %31, %30
  store i32 %32, ptr %14, align 4, !tbaa !9
  %33 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %33, ptr %11, align 4, !tbaa !9
  %34 = load i32, ptr %14, align 4, !tbaa !9
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 3
  store i32 %34, ptr %36, align 8, !tbaa !15
  %37 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %37, ptr %14, align 4, !tbaa !9
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %14, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = add i64 %41, 4
  %43 = call i32 @i32_load(ptr noundef %39, i64 noundef %42)
  store i32 %43, ptr %14, align 4, !tbaa !9
  %44 = load i32, ptr %14, align 4, !tbaa !9
  switch i32 %44, label %47 [
    i32 0, label %45
    i32 1, label %46
  ]

45:                                               ; preds = %5
  br label %48

46:                                               ; preds = %5
  br label %62

47:                                               ; preds = %5
  br label %233

48:                                               ; preds = %45
  %49 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %49, ptr %14, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %20, align 8, !tbaa !11
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.w2c_hermes, ptr %50, i32 0, i32 6
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = add i64 %53, 8
  %55 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %51, i64 noundef %54, i64 noundef %55)
  %56 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %56, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %14, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %58, i64 noundef %60, i32 noundef %61)
  br label %352

62:                                               ; preds = %46
  %63 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %63, ptr %14, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = call i32 @i32_load(ptr noundef %65, i64 noundef %67)
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %69, ptr %10, align 4, !tbaa !9
  %70 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 24
  %76 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %72, i64 noundef %75, i32 noundef %76)
  %77 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %77, ptr %14, align 4, !tbaa !9
  %78 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %78, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = sub i32 %80, %79
  store i32 %81, ptr %15, align 4, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = add i64 %85, 28
  %87 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %83, i64 noundef %86, i32 noundef %87)
  %88 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %88, ptr %14, align 4, !tbaa !9
  store i32 32, ptr %15, align 4, !tbaa !9
  %89 = load i32, ptr %15, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = add i32 %90, %89
  store i32 %91, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %92, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %93, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %94 = load i32, ptr %17, align 4, !tbaa !9
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = add i32 %95, %94
  store i32 %96, ptr %16, align 4, !tbaa !9
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %97, i32 noundef %98, i32 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %101, ptr %14, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %14, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 24
  %107 = call i32 @i32_load(ptr noundef %103, i64 noundef %106)
  store i32 %107, ptr %14, align 4, !tbaa !9
  %108 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %108, ptr %10, align 4, !tbaa !9
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %127

111:                                              ; preds = %62
  %112 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %112, ptr %14, align 4, !tbaa !9
  %113 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %113, ptr %15, 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 %15, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = call i32 @i32_load(ptr noundef %115, i64 noundef %117)
  store i32 %118, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %15, align 4, !tbaa !9
  %121 = sub i32 %120, %119
  store i32 %121, ptr %15, 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 %14, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %123, i64 noundef %125, i32 noundef %126)
  br label %127

127:                                              ; preds = %111, %62
  %128 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %128, ptr %14, align 4, !tbaa !9
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = add i64 %132, 32
  %134 = call i32 @i32_load(ptr noundef %130, i64 noundef %133)
  store i32 %134, ptr %14, align 4, !tbaa !9
  %135 = load i32, ptr %14, align 4, !tbaa !9
  switch i32 %135, label %138 [
    i32 0, label %136
    i32 1, label %137
  ]

136:                                              ; preds = %127
  br label %139

137:                                              ; preds = %127
  br label %164

138:                                              ; preds = %127
  br label %146

139:                                              ; preds = %136
  %140 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %140, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %142, i64 noundef %144, i32 noundef %145)
  br label %352

146:                                              ; preds = %138
  store i32 0, ptr %14, align 4, !tbaa !9
  %147 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %147, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = add i32 %149, %148
  store i32 %150, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %151, ptr %15, align 4, !tbaa !9
  store i32 77564, ptr %16, align 4, !tbaa !9
  %152 = load i32, ptr %16, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %15, align 4, !tbaa !9
  store i32 179, ptr %16, align 4, !tbaa !9
  %155 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %155, ptr %17, align 4, !tbaa !9
  store i32 90402, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = add i32 %157, %156
  store i32 %158, ptr %17, align 4, !tbaa !9
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

164:                                              ; preds = %137
  %165 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %165, ptr %14, align 4, !tbaa !9
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = add i64 %169, 40
  %171 = call i64 @i64_load(ptr noundef %167, i64 noundef %170)
  store i64 %171, ptr %19, align 8, !tbaa !11
  %172 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %172, ptr %12, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %20, align 8, !tbaa !11
  %173 = load i64, ptr %19, align 8, !tbaa !11
  %174 = load i64, ptr %20, align 8, !tbaa !11
  %175 = icmp uge i64 %173, %174
  %176 = zext i1 %175 to i32
  store i32 %176, ptr %14, align 4, !tbaa !9
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %180

179:                                              ; preds = %164
  br label %360

180:                                              ; preds = %164
  %181 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %181, ptr %19, align 8, !tbaa !11
  %182 = load i64, ptr %19, align 8, !tbaa !11
  %183 = call double @f64_reinterpret_i64(i64 noundef %182)
  store double %183, ptr %22, align 8, !tbaa !13
  store double 0.000000e+00, ptr %23, align 8, !tbaa !13
  store double 1.000000e+00, ptr %24, align 8, !tbaa !13
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = load double, ptr %22, align 8, !tbaa !13
  %186 = load double, ptr %23, align 8, !tbaa !13
  %187 = load double, ptr %24, align 8, !tbaa !13
  %188 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %184, double noundef %185, double noundef %186, double noundef %187)
  store double %188, ptr %22, align 8, !tbaa !13
  store double 0.000000e+00, ptr %23, align 8, !tbaa !13
  store double 0.000000e+00, ptr %24, align 8, !tbaa !13
  store double 0.000000e+00, ptr %25, align 8, !tbaa !13
  store double 0.000000e+00, ptr %26, align 8, !tbaa !13
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = load double, ptr %23, align 8, !tbaa !13
  %191 = load double, ptr %24, align 8, !tbaa !13
  %192 = load double, ptr %25, align 8, !tbaa !13
  %193 = load double, ptr %26, align 8, !tbaa !13
  %194 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %189, double noundef %190, double noundef %191, double noundef %192, double noundef %193)
  store double %194, ptr %23, align 8, !tbaa !13
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = load double, ptr %22, align 8, !tbaa !13
  %197 = load double, ptr %23, align 8, !tbaa !13
  %198 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef %195, double noundef %196, double noundef %197)
  store double %198, ptr %22, align 8, !tbaa !13
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = load double, ptr %22, align 8, !tbaa !13
  %201 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef %199, double noundef %200)
  store double %201, ptr %22, align 8, !tbaa !13
  %202 = load double, ptr %22, align 8, !tbaa !13
  store double %202, ptr %13, align 8, !tbaa !13
  %203 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %203, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.w2c_hermes, ptr %204, i32 0, i32 6
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = zext i32 %206 to i64
  %208 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %205, i64 noundef %207, i32 noundef %208)
  %209 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %209, ptr %14, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %20, align 8, !tbaa !11
  %210 = load double, ptr %13, align 8, !tbaa !13
  store double %210, ptr %24, align 8, !tbaa !13
  %211 = load double, ptr %24, align 8, !tbaa !13
  %212 = call i64 @i64_reinterpret_f64(double noundef %211)
  store i64 %212, ptr %21, align 8, !tbaa !11
  %213 = load double, ptr %13, align 8, !tbaa !13
  store double %213, ptr %25, align 8, !tbaa !13
  %214 = load double, ptr %13, align 8, !tbaa !13
  store double %214, ptr %26, align 8, !tbaa !13
  %215 = load double, ptr %25, align 8, !tbaa !13
  %216 = load double, ptr %26, align 8, !tbaa !13
  %217 = fcmp une double %215, %216
  %218 = zext i1 %217 to i32
  store i32 %218, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %223

221:                                              ; preds = %180
  %222 = load i64, ptr %20, align 8, !tbaa !11
  br label %225

223:                                              ; preds = %180
  %224 = load i64, ptr %21, align 8, !tbaa !11
  br label %225

225:                                              ; preds = %223, %221
  %226 = phi i64 [ %222, %221 ], [ %224, %223 ]
  store i64 %226, ptr %20, align 8, !tbaa !11
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = add i64 %230, 8
  %232 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %228, i64 noundef %231, i64 noundef %232)
  br label %352

233:                                              ; preds = %47
  %234 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %234, ptr %14, align 4, !tbaa !9
  %235 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %235, ptr %15, align 4, !tbaa !9
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.w2c_hermes, ptr %236, i32 0, i32 6
  %238 = load i32, ptr %15, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = add i64 %239, 8
  %241 = call i32 @i32_load(ptr noundef %237, i64 noundef %240)
  store i32 %241, ptr %15, align 4, !tbaa !9
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 16
  %247 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %243, i64 noundef %246, i32 noundef %247)
  %248 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %248, ptr %14, align 4, !tbaa !9
  %249 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %249, ptr %15, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = call i64 @i64_load(ptr noundef %251, i64 noundef %253)
  store i64 %254, ptr %20, align 8, !tbaa !11
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 6
  %257 = load i32, ptr %14, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 8
  %260 = load i64, ptr %20, align 8, !tbaa !11
  call void @i64_store(ptr noundef %256, i64 noundef %259, i64 noundef %260)
  %261 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %261, ptr %14, align 4, !tbaa !9
  store i32 32, ptr %15, align 4, !tbaa !9
  %262 = load i32, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = add i32 %263, %262
  store i32 %264, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %265, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %266, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %267 = load i32, ptr %17, align 4, !tbaa !9
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = add i32 %268, %267
  store i32 %269, ptr %16, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = load i32, ptr %14, align 4, !tbaa !9
  %272 = load i32, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273)
  %274 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %274, ptr %14, align 4, !tbaa !9
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 6
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = add i64 %278, 32
  %280 = call i32 @i32_load(ptr noundef %276, i64 noundef %279)
  store i32 %280, ptr %14, align 4, !tbaa !9
  %281 = load i32, ptr %14, align 4, !tbaa !9
  switch i32 %281, label %284 [
    i32 0, label %282
    i32 1, label %283
  ]

282:                                              ; preds = %233
  br label %285

283:                                              ; preds = %233
  br label %310

284:                                              ; preds = %233
  br label %292

285:                                              ; preds = %282
  %286 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %286, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.w2c_hermes, ptr %287, i32 0, i32 6
  %289 = load i32, ptr %14, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %288, i64 noundef %290, i32 noundef %291)
  br label %352

292:                                              ; preds = %284
  store i32 0, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %293, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %15, align 4, !tbaa !9
  %294 = load i32, ptr %15, align 4, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %14, align 4, !tbaa !9
  %297 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %297, ptr %15, align 4, !tbaa !9
  store i32 77564, ptr %16, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  %299 = load i32, ptr %15, align 4, !tbaa !9
  %300 = add i32 %299, %298
  store i32 %300, ptr %15, align 4, !tbaa !9
  store i32 179, ptr %16, align 4, !tbaa !9
  %301 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %301, ptr %17, align 4, !tbaa !9
  store i32 90402, ptr %18, align 4, !tbaa !9
  %302 = load i32, ptr %18, align 4, !tbaa !9
  %303 = load i32, ptr %17, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %17, align 4, !tbaa !9
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = load i32, ptr %14, align 4, !tbaa !9
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef %309)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

310:                                              ; preds = %283
  %311 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %311, ptr %14, align 4, !tbaa !9
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.w2c_hermes, ptr %312, i32 0, i32 6
  %314 = load i32, ptr %14, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = add i64 %315, 40
  %317 = call double @f64_load(ptr noundef %313, i64 noundef %316)
  store double %317, ptr %22, align 8, !tbaa !13
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  %319 = load double, ptr %22, align 8, !tbaa !13
  %320 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef %318, double noundef %319)
  store double %320, ptr %22, align 8, !tbaa !13
  %321 = load double, ptr %22, align 8, !tbaa !13
  store double %321, ptr %13, align 8, !tbaa !13
  %322 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %322, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %323 = load ptr, ptr %6, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.w2c_hermes, ptr %323, i32 0, i32 6
  %325 = load i32, ptr %14, align 4, !tbaa !9
  %326 = zext i32 %325 to i64
  %327 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %324, i64 noundef %326, i32 noundef %327)
  %328 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %328, ptr %14, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %20, align 8, !tbaa !11
  %329 = load double, ptr %13, align 8, !tbaa !13
  store double %329, ptr %24, align 8, !tbaa !13
  %330 = load double, ptr %24, align 8, !tbaa !13
  %331 = call i64 @i64_reinterpret_f64(double noundef %330)
  store i64 %331, ptr %21, align 8, !tbaa !11
  %332 = load double, ptr %13, align 8, !tbaa !13
  store double %332, ptr %25, align 8, !tbaa !13
  %333 = load double, ptr %13, align 8, !tbaa !13
  store double %333, ptr %26, align 8, !tbaa !13
  %334 = load double, ptr %25, align 8, !tbaa !13
  %335 = load double, ptr %26, align 8, !tbaa !13
  %336 = fcmp une double %334, %335
  %337 = zext i1 %336 to i32
  store i32 %337, ptr %17, align 4, !tbaa !9
  %338 = load i32, ptr %17, align 4, !tbaa !9
  %339 = icmp ne i32 %338, 0
  br i1 %339, label %340, label %342

340:                                              ; preds = %310
  %341 = load i64, ptr %20, align 8, !tbaa !11
  br label %344

342:                                              ; preds = %310
  %343 = load i64, ptr %21, align 8, !tbaa !11
  br label %344

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

352:                                              ; preds = %344, %285, %225, %139, %48
  %353 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %353, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  %355 = load i32, ptr %14, align 4, !tbaa !9
  %356 = add i32 %355, %354
  store i32 %356, ptr %14, align 4, !tbaa !9
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = load ptr, ptr %6, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.w2c_hermes, ptr %358, i32 0, i32 3
  store i32 %357, ptr %359, align 8, !tbaa !15
  br label %378

360:                                              ; preds = %179
  store i32 0, ptr %14, align 4, !tbaa !9
  %361 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %361, ptr %11, align 4, !tbaa !9
  store i32 118741, ptr %15, align 4, !tbaa !9
  %362 = load i32, ptr %15, align 4, !tbaa !9
  %363 = load i32, ptr %14, align 4, !tbaa !9
  %364 = add i32 %363, %362
  store i32 %364, ptr %14, align 4, !tbaa !9
  %365 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %365, ptr %15, align 4, !tbaa !9
  store i32 83341, ptr %16, align 4, !tbaa !9
  %366 = load i32, ptr %16, align 4, !tbaa !9
  %367 = load i32, ptr %15, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %15, align 4, !tbaa !9
  store i32 444, ptr %16, align 4, !tbaa !9
  %369 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %369, ptr %17, align 4, !tbaa !9
  store i32 97283, ptr %18, align 4, !tbaa !9
  %370 = load i32, ptr %18, align 4, !tbaa !9
  %371 = load i32, ptr %17, align 4, !tbaa !9
  %372 = add i32 %371, %370
  store i32 %372, ptr %17, align 4, !tbaa !9
  %373 = load ptr, ptr %6, align 8, !tbaa !5
  %374 = load i32, ptr %14, align 4, !tbaa !9
  %375 = load i32, ptr %15, align 4, !tbaa !9
  %376 = load i32, ptr %16, align 4, !tbaa !9
  %377 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %373, i32 noundef %374, i32 noundef %375, i32 noundef %376, i32 noundef %377)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

378:                                              ; preds = %352
  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 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateUTC_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 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  switch i32 %12, label %50 [
    i32 0, label %13
    i32 1, label %16
  ]

13:                                               ; preds = %5
  %14 = zext i32 %1 to i64
  %15 = add nuw nsw i64 %14, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %15, i64 noundef 9221120237041090560)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef 1)
  br label %73

16:                                               ; preds = %5
  %17 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %18 = zext i32 %8 to i64
  %19 = add nuw nsw i64 %18, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %19, i32 noundef 0)
  %20 = add i32 %17, -8
  %21 = add nuw nsw i64 %18, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %21, i32 noundef %20)
  %22 = add i32 %7, -16
  %23 = add i32 %7, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %3, i32 noundef %23) #4
  %24 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %19)
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %29, label %25

25:                                               ; preds = %16
  %26 = zext i32 %24 to i64
  %27 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %26)
  %28 = add i32 %27, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %26, i32 noundef %28)
  br label %29

29:                                               ; preds = %25, %16
  %30 = add nuw nsw i64 %18, 32
  %31 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %30)
  switch i32 %31, label %34 [
    i32 0, label %32
    i32 1, label %35
  ]

32:                                               ; preds = %29
  %33 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef 0)
  br label %73

34:                                               ; preds = %29
  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

35:                                               ; preds = %29
  %36 = add nuw nsw i64 %18, 40
  %37 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %36)
  %38 = icmp ugt i64 %37, -1970324836974593
  br i1 %38, label %74, label %39

39:                                               ; preds = %35
  %40 = tail call double @f64_reinterpret_i64(i64 noundef %37)
  %41 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %40, double noundef 0.000000e+00, double noundef 1.000000e+00) #4
  %42 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) #4
  %43 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %41, double noundef %42) #4
  %44 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef nonnull %0, double noundef %43) #4
  %45 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %45, i32 noundef 1)
  %46 = tail call i64 @i64_reinterpret_f64(double noundef %44)
  %47 = fcmp uno double %44, 0.000000e+00
  %48 = select i1 %47, i64 9221120237041090560, i64 %46
  %49 = add nuw nsw i64 %45, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %49, i64 noundef %48)
  br label %73

50:                                               ; preds = %5
  %51 = add nuw nsw i64 %10, 8
  %52 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %51)
  %53 = zext i32 %8 to i64
  %54 = add nuw nsw i64 %53, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %54, i32 noundef %52)
  %55 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %10)
  %56 = add nuw nsw i64 %53, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %56, i64 noundef %55)
  %57 = add i32 %7, -16
  %58 = add i32 %7, -40
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %3, i32 noundef %58) #4
  %59 = add nuw nsw i64 %53, 32
  %60 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %59)
  switch i32 %60, label %63 [
    i32 0, label %61
    i32 1, label %64
  ]

61:                                               ; preds = %50
  %62 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %62, i32 noundef 0)
  br label %73

63:                                               ; preds = %50
  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

64:                                               ; preds = %50
  %65 = add nuw nsw i64 %53, 40
  %66 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %65)
  %67 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeClip0x28double0x29(ptr noundef nonnull %0, double noundef %66) #4
  %68 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %68, i32 noundef 1)
  %69 = tail call i64 @i64_reinterpret_f64(double noundef %67)
  %70 = fcmp uno double %67, 0.000000e+00
  %71 = select i1 %70, i64 9221120237041090560, i64 %69
  %72 = add nuw nsw i64 %68, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %72, i64 noundef %71)
  br label %73

73:                                               ; preds = %64, %61, %39, %32, %13
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

74:                                               ; preds = %35
  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
}

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