; 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetMilliseconds_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 i64, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %32, align 8, !tbaa !15
  store i32 %33, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %34 = load i32, ptr %18, align 4, !tbaa !9
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = sub i32 %35, %34
  store i32 %36, ptr %17, align 4, !tbaa !9
  %37 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %37, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %17, align 4, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 3
  store i32 %38, ptr %40, align 8, !tbaa !15
  %41 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %41, ptr %17, align 4, !tbaa !9
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %17, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = call i32 @i32_load(ptr noundef %43, i64 noundef %45)
  store i32 %46, ptr %17, align 4, !tbaa !9
  %47 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %47, ptr %14, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %17, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call i64 @i64_load(ptr noundef %49, i64 noundef %51)
  store i64 %52, ptr %22, align 8, !tbaa !11
  %53 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %53, ptr %15, align 8, !tbaa !11
  store i64 -844424930131968, ptr %23, align 8, !tbaa !11
  %54 = load i64, ptr %22, align 8, !tbaa !11
  %55 = load i64, ptr %23, align 8, !tbaa !11
  %56 = icmp uge i64 %54, %55
  %57 = zext i1 %56 to i32
  store i32 %57, ptr %17, align 4, !tbaa !9
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %94

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

71:                                               ; preds = %60
  br label %531

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

92:                                               ; preds = %72
  br label %142

93:                                               ; preds = %72
  br label %94

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

107:                                              ; preds = %94
  br label %549

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

120:                                              ; preds = %108
  br label %142

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

140:                                              ; preds = %121
  br label %567

141:                                              ; preds = %121
  br label %142

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

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

205:                                              ; preds = %153
  br label %523

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

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

238:                                              ; preds = %224
  br label %585

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

247:                                              ; preds = %239
  br label %603

248:                                              ; preds = %239
  %249 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %249, ptr %17, 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 %17, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = add i64 %253, 32
  %255 = call double @f64_load(ptr noundef %251, i64 noundef %254)
  store double %255, ptr %26, align 8, !tbaa !13
  %256 = load double, ptr %26, align 8, !tbaa !13
  store double %256, ptr %16, align 8, !tbaa !13
  %257 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %257, ptr %17, align 4, !tbaa !9
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  %260 = xor i1 %259, true
  %261 = zext i1 %260 to i32
  store i32 %261, ptr %17, align 4, !tbaa !9
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %270

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

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

293:                                              ; preds = %270
  %294 = load i32, ptr %18, align 4, !tbaa !9
  br label %297

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

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

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

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

349:                                              ; preds = %340
  br label %352

350:                                              ; preds = %340
  br label %377

351:                                              ; preds = %340
  br label %359

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

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

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

392:                                              ; preds = %377
  br label %621

393:                                              ; preds = %377
  %394 = load double, ptr %16, align 8, !tbaa !13
  store double %394, ptr %26, align 8, !tbaa !13
  %395 = load ptr, ptr %6, align 8, !tbaa !5
  %396 = load double, ptr %26, align 8, !tbaa !13
  %397 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3Aday0x28double0x29(ptr noundef %395, double noundef %396)
  store double %397, ptr %26, align 8, !tbaa !13
  %398 = load double, ptr %16, align 8, !tbaa !13
  store double %398, ptr %27, align 8, !tbaa !13
  %399 = load ptr, ptr %6, align 8, !tbaa !5
  %400 = load double, ptr %27, align 8, !tbaa !13
  %401 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef %399, double noundef %400)
  store double %401, ptr %27, align 8, !tbaa !13
  %402 = load double, ptr %16, align 8, !tbaa !13
  store double %402, ptr %28, align 8, !tbaa !13
  %403 = load ptr, ptr %6, align 8, !tbaa !5
  %404 = load double, ptr %28, align 8, !tbaa !13
  %405 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef %403, double noundef %404)
  store double %405, ptr %28, align 8, !tbaa !13
  %406 = load double, ptr %16, align 8, !tbaa !13
  store double %406, ptr %29, align 8, !tbaa !13
  %407 = load ptr, ptr %6, align 8, !tbaa !5
  %408 = load double, ptr %29, align 8, !tbaa !13
  %409 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef %407, double noundef %408)
  store double %409, ptr %29, align 8, !tbaa !13
  %410 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %410, ptr %25, align 8, !tbaa !11
  %411 = load i64, ptr %25, align 8, !tbaa !11
  %412 = call double @f64_reinterpret_i64(i64 noundef %411)
  store double %412, ptr %30, align 8, !tbaa !13
  %413 = load ptr, ptr %6, align 8, !tbaa !5
  %414 = load double, ptr %27, align 8, !tbaa !13
  %415 = load double, ptr %28, align 8, !tbaa !13
  %416 = load double, ptr %29, align 8, !tbaa !13
  %417 = load double, ptr %30, align 8, !tbaa !13
  %418 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %413, double noundef %414, double noundef %415, double noundef %416, double noundef %417)
  store double %418, ptr %27, align 8, !tbaa !13
  %419 = load ptr, ptr %6, align 8, !tbaa !5
  %420 = load double, ptr %26, align 8, !tbaa !13
  %421 = load double, ptr %27, align 8, !tbaa !13
  %422 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef %419, double noundef %420, double noundef %421)
  store double %422, ptr %26, align 8, !tbaa !13
  %423 = load double, ptr %26, align 8, !tbaa !13
  store double %423, ptr %16, align 8, !tbaa !13
  %424 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %424, ptr %17, align 4, !tbaa !9
  %425 = load i32, ptr %17, align 4, !tbaa !9
  %426 = icmp ne i32 %425, 0
  %427 = xor i1 %426, true
  %428 = zext i1 %427 to i32
  store i32 %428, ptr %17, align 4, !tbaa !9
  %429 = load i32, ptr %17, align 4, !tbaa !9
  %430 = icmp ne i32 %429, 0
  br i1 %430, label %431, label %437

431:                                              ; preds = %393
  %432 = load double, ptr %16, align 8, !tbaa !13
  store double %432, ptr %26, align 8, !tbaa !13
  %433 = load ptr, ptr %6, align 8, !tbaa !5
  %434 = load double, ptr %26, align 8, !tbaa !13
  %435 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef %433, double noundef %434)
  store double %435, ptr %26, align 8, !tbaa !13
  %436 = load double, ptr %26, align 8, !tbaa !13
  store double %436, ptr %16, align 8, !tbaa !13
  br label %437

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

462:                                              ; preds = %437
  br label %639

463:                                              ; preds = %437
  %464 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %464, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %465 = load i64, ptr %22, align 8, !tbaa !11
  %466 = load i64, ptr %23, align 8, !tbaa !11
  %467 = icmp ule i64 %465, %466
  %468 = zext i1 %467 to i32
  store i32 %468, ptr %17, align 4, !tbaa !9
  %469 = load i32, ptr %17, align 4, !tbaa !9
  %470 = icmp ne i32 %469, 0
  br i1 %470, label %471, label %472

471:                                              ; preds = %463
  br label %657

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

483:                                              ; preds = %472
  br label %675

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

511:                                              ; preds = %484
  %512 = load i64, ptr %23, align 8, !tbaa !11
  br label %515

513:                                              ; preds = %484
  %514 = load i64, ptr %24, align 8, !tbaa !11
  br label %515

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

523:                                              ; preds = %515, %352, %205
  %524 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %524, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %525 = load i32, ptr %18, align 4, !tbaa !9
  %526 = load i32, ptr %17, align 4, !tbaa !9
  %527 = add i32 %526, %525
  store i32 %527, ptr %17, align 4, !tbaa !9
  %528 = load i32, ptr %17, align 4, !tbaa !9
  %529 = load ptr, ptr %6, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.w2c_hermes, ptr %529, i32 0, i32 3
  store i32 %528, ptr %530, align 8, !tbaa !15
  br label %693

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

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

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

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

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

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

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

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

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

693:                                              ; preds = %523
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  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_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef, double noundef, double noundef, double noundef, double noundef) #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef, double 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetMilliseconds_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
  %.not407 = icmp eq i64 %25, 0
  br i1 %.not407, 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)
  %.mask409 = and i32 %28, 255
  %.not408 = icmp eq i32 %.mask409, 61
  br i1 %.not408, label %29, label %96

29:                                               ; preds = %26, %24, %17
  %.0401 = phi i32 [ %11, %17 ], [ 217520, %24 ], [ 217520, %26 ]
  %.0400 = phi i64 [ %13, %17 ], [ %22, %24 ], [ %22, %26 ]
  %30 = and i64 %.0400, 4294967295
  %.not410 = icmp eq i64 %30, 0
  br i1 %.not410, 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 249108103169)
  %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 38020)
  %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)
  %.not419 = icmp eq i32 %38, 1
  br i1 %.not419, 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
  %.not411 = icmp ugt i64 %.0400, -281474976710657
  br i1 %.not411, 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)
  %.not413 = icmp eq i32 %2, 0
  br i1 %.not413, 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
  %.not414 = icmp eq i32 %49, 0
  %52 = select i1 %.not414, 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)
  %.not415 = icmp eq i32 %55, 0
  br i1 %.not415, 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_hermes0x3A0x3Avm0x3A0x3Aday0x28double0x29(ptr noundef nonnull %0, double noundef %.0)
  %72 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %73 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %74 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0) #4
  %75 = tail call double @f64_reinterpret_i64(i64 noundef %68)
  %76 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %72, double noundef %73, double noundef %74, double noundef %75) #4
  %77 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %71, double noundef %76) #4
  br i1 %.not413, 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 %.0401 to i64
  %83 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %82)
  %.not416 = icmp ugt i64 %83, -281474976710657
  br i1 %.not416, label %84, label %99

84:                                               ; preds = %80
  %85 = and i64 %83, 4294967295
  %.not418 = icmp eq i64 %85, 0
  br i1 %.not418, 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_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

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