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

; 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: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_trunc(double noundef) #2

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 {
  %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 i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = 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) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  store double 0.000000e+00, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store double 0.000000e+00, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 8, !tbaa !13
  store i32 %35, ptr %20, align 4, !tbaa !9
  store i32 80, ptr %21, align 4, !tbaa !9
  %36 = load i32, ptr %21, align 4, !tbaa !9
  %37 = load i32, ptr %20, align 4, !tbaa !9
  %38 = sub i32 %37, %36
  store i32 %38, ptr %20, align 4, !tbaa !9
  %39 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %39, ptr %11, align 4, !tbaa !9
  %40 = load i32, ptr %20, align 4, !tbaa !9
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 3
  store i32 %40, ptr %42, align 8, !tbaa !13
  %43 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %43, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !19
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %20, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = add i64 %47, 72
  %49 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %45, i64 noundef %48, i64 noundef %49)
  %50 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %50, ptr %20, align 4, !tbaa !9
  store i32 -64, ptr %21, align 4, !tbaa !9
  %51 = load i32, ptr %21, align 4, !tbaa !9
  %52 = load i32, ptr %20, align 4, !tbaa !9
  %53 = sub i32 %52, %51
  store i32 %53, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !19
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %20, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %55, i64 noundef %57, i64 noundef %58)
  %59 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %59, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !19
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %20, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 56
  %65 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %61, i64 noundef %64, i64 noundef %65)
  %66 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %66, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !19
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %20, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 48
  %72 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %68, i64 noundef %71, i64 noundef %72)
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !19
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %20, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 40
  %79 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %75, i64 noundef %78, i64 noundef %79)
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %20, align 4, !tbaa !9
  store i64 4607182418800017408, ptr %27, align 8, !tbaa !19
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %20, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 32
  %86 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %82, i64 noundef %85, i64 noundef %86)
  %87 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %87, ptr %20, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %27, align 8, !tbaa !19
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %20, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 24
  %93 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %89, i64 noundef %92, i64 noundef %93)
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %20, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %27, align 8, !tbaa !19
  %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 %20, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 16
  %100 = load i64, ptr %27, align 8, !tbaa !19
  call void @i64_store(ptr noundef %96, i64 noundef %99, i64 noundef %100)
  %101 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %101, ptr %20, align 4, !tbaa !9
  store i32 7, ptr %21, align 4, !tbaa !9
  %102 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %102, ptr %22, align 4, !tbaa !9
  %103 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %103, ptr %23, align 4, !tbaa !9
  store i32 7, ptr %24, align 4, !tbaa !9
  %104 = load i32, ptr %23, align 4, !tbaa !9
  %105 = load i32, ptr %24, align 4, !tbaa !9
  %106 = icmp uge i32 %104, %105
  %107 = zext i1 %106 to i32
  store i32 %107, ptr %23, align 4, !tbaa !9
  %108 = load i32, ptr %23, align 4, !tbaa !9
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %112

110:                                              ; preds = %5
  %111 = load i32, ptr %21, align 4, !tbaa !9
  br label %114

112:                                              ; preds = %5
  %113 = load i32, ptr %22, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %112, %110
  %115 = phi i32 [ %111, %110 ], [ %113, %112 ]
  store i32 %115, ptr %21, align 4, !tbaa !9
  %116 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %116, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %21, align 4, !tbaa !9
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %338

119:                                              ; preds = %114
  %120 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %120, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %121 = load i32, ptr %22, align 4, !tbaa !9
  %122 = load i32, ptr %21, align 4, !tbaa !9
  %123 = sub i32 %122, %121
  store i32 %123, ptr %21, align 4, !tbaa !9
  %124 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %124, ptr %17, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %273, %119
  %126 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %126, ptr %21, align 4, !tbaa !9
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %21, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 4
  %132 = call i32 @i32_load(ptr noundef %128, i64 noundef %131)
  store i32 %132, ptr %21, align 4, !tbaa !9
  %133 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %133, ptr %9, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %21, align 4, !tbaa !9
  %137 = zext i32 %136 to i64
  %138 = add i64 %137, 172
  %139 = call i32 @i32_load(ptr noundef %135, i64 noundef %138)
  store i32 %139, ptr %21, align 4, !tbaa !9
  %140 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %140, ptr %12, align 4, !tbaa !9
  %141 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %141, ptr %21, align 4, !tbaa !9
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %21, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = add i64 %145, 164
  %147 = call i32 @i32_load(ptr noundef %143, i64 noundef %146)
  store i32 %147, ptr %21, align 4, !tbaa !9
  %148 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %148, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %149, ptr %21, align 4, !tbaa !9
  %150 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %150, ptr %22, align 4, !tbaa !9
  store i32 67208, ptr %23, align 4, !tbaa !9
  %151 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %151, ptr %24, align 4, !tbaa !9
  %152 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %152, ptr %25, align 4, !tbaa !9
  store i32 3, ptr %26, align 4, !tbaa !9
  %153 = load i32, ptr %26, align 4, !tbaa !9
  %154 = and i32 %153, 31
  %155 = load i32, ptr %25, align 4, !tbaa !9
  %156 = shl i32 %155, %154
  store i32 %156, ptr %25, align 4, !tbaa !9
  %157 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %157, ptr %14, align 4, !tbaa !9
  %158 = load i32, ptr %25, align 4, !tbaa !9
  %159 = load i32, ptr %24, align 4, !tbaa !9
  %160 = sub i32 %159, %158
  store i32 %160, ptr %24, align 4, !tbaa !9
  %161 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %161, ptr %25, align 4, !tbaa !9
  %162 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %162, ptr %26, align 4, !tbaa !9
  %163 = load i32, ptr %25, align 4, !tbaa !9
  %164 = load i32, ptr %26, align 4, !tbaa !9
  %165 = icmp ule i32 %163, %164
  %166 = zext i1 %165 to i32
  store i32 %166, ptr %25, align 4, !tbaa !9
  %167 = load i32, ptr %25, align 4, !tbaa !9
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %171

169:                                              ; preds = %125
  %170 = load i32, ptr %23, align 4, !tbaa !9
  br label %173

171:                                              ; preds = %125
  %172 = load i32, ptr %24, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %171, %169
  %174 = phi i32 [ %170, %169 ], [ %172, %171 ]
  store i32 %174, ptr %23, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = load i32, ptr %22, align 4, !tbaa !9
  %178 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %175, i32 noundef %176, i32 noundef %177, i32 noundef %178)
  %179 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %179, ptr %21, align 4, !tbaa !9
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %21, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = call i32 @i32_load(ptr noundef %181, i64 noundef %183)
  store i32 %184, ptr %21, align 4, !tbaa !9
  %185 = load i32, ptr %21, align 4, !tbaa !9
  %186 = icmp ne i32 %185, 0
  %187 = xor i1 %186, true
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %21, align 4, !tbaa !9
  %189 = load i32, ptr %21, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %173
  br label %275

192:                                              ; preds = %173
  %193 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %193, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %194 = load i32, ptr %22, align 4, !tbaa !9
  %195 = load i32, ptr %21, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %21, align 4, !tbaa !9
  %197 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %197, ptr %22, align 4, !tbaa !9
  %198 = load i32, ptr %22, align 4, !tbaa !9
  %199 = load i32, ptr %21, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %21, align 4, !tbaa !9
  %201 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %201, ptr %22, align 4, !tbaa !9
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.w2c_hermes, ptr %202, i32 0, i32 6
  %204 = load i32, ptr %22, align 4, !tbaa !9
  %205 = zext i32 %204 to i64
  %206 = add i64 %205, 8
  %207 = call double @f64_load(ptr noundef %203, i64 noundef %206)
  store double %207, ptr %29, align 8, !tbaa !11
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %21, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = load double, ptr %29, align 8, !tbaa !11
  call void @f64_store(ptr noundef %209, i64 noundef %211, double noundef %212)
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %21, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %21, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = add i64 %217, 136
  %219 = call i32 @i32_load(ptr noundef %215, i64 noundef %218)
  store i32 %219, ptr %21, align 4, !tbaa !9
  %220 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %220, ptr %22, align 4, !tbaa !9
  store i32 2, ptr %23, align 4, !tbaa !9
  %221 = load i32, ptr %23, align 4, !tbaa !9
  %222 = and i32 %221, 31
  %223 = load i32, ptr %22, align 4, !tbaa !9
  %224 = shl i32 %223, %222
  store i32 %224, ptr %22, align 4, !tbaa !9
  %225 = load i32, ptr %22, align 4, !tbaa !9
  %226 = load i32, ptr %21, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %21, align 4, !tbaa !9
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %21, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = call i32 @i32_load(ptr noundef %229, i64 noundef %231)
  store i32 %232, ptr %21, align 4, !tbaa !9
  %233 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %233, ptr %14, align 4, !tbaa !9
  %234 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %234, ptr %21, align 4, !tbaa !9
  %235 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %235, ptr %22, 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 %21, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = add i64 %239, 172
  %241 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %237, i64 noundef %240, i32 noundef %241)
  %242 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %242, ptr %21, align 4, !tbaa !9
  %243 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %243, ptr %22, align 4, !tbaa !9
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %21, align 4, !tbaa !9
  %247 = zext i32 %246 to i64
  %248 = add i64 %247, 164
  %249 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %245, i64 noundef %248, i32 noundef %249)
  %250 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %250, ptr %21, align 4, !tbaa !9
  %251 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %251, ptr %22, align 4, !tbaa !9
  store i32 128, ptr %23, align 4, !tbaa !9
  %252 = load i32, ptr %23, align 4, !tbaa !9
  %253 = load i32, ptr %22, align 4, !tbaa !9
  %254 = add i32 %253, %252
  store i32 %254, ptr %22, align 4, !tbaa !9
  %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 %21, align 4, !tbaa !9
  %258 = zext i32 %257 to i64
  %259 = add i64 %258, 168
  %260 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %256, i64 noundef %259, i32 noundef %260)
  %261 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %261, ptr %21, align 4, !tbaa !9
  %262 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %262, ptr %22, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  %263 = load i32, ptr %23, align 4, !tbaa !9
  %264 = load i32, ptr %22, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %22, align 4, !tbaa !9
  %266 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %266, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %21, align 4, !tbaa !9
  %268 = load i32, ptr %22, align 4, !tbaa !9
  %269 = icmp ne i32 %267, %268
  %270 = zext i1 %269 to i32
  store i32 %270, ptr %21, align 4, !tbaa !9
  %271 = load i32, ptr %21, align 4, !tbaa !9
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %274

273:                                              ; preds = %192
  br label %125

274:                                              ; preds = %192
  br label %330

275:                                              ; preds = %191
  %276 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %276, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %21, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %278, i64 noundef %280, i32 noundef %281)
  %282 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %282, ptr %21, align 4, !tbaa !9
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %21, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = add i64 %286, 136
  %288 = call i32 @i32_load(ptr noundef %284, i64 noundef %287)
  store i32 %288, ptr %21, align 4, !tbaa !9
  %289 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %289, ptr %22, align 4, !tbaa !9
  store i32 2, ptr %23, align 4, !tbaa !9
  %290 = load i32, ptr %23, align 4, !tbaa !9
  %291 = and i32 %290, 31
  %292 = load i32, ptr %22, align 4, !tbaa !9
  %293 = shl i32 %292, %291
  store i32 %293, ptr %22, align 4, !tbaa !9
  %294 = load i32, ptr %22, align 4, !tbaa !9
  %295 = load i32, ptr %21, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %21, align 4, !tbaa !9
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.w2c_hermes, ptr %297, i32 0, i32 6
  %299 = load i32, ptr %21, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = call i32 @i32_load(ptr noundef %298, i64 noundef %300)
  store i32 %301, ptr %21, align 4, !tbaa !9
  %302 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %302, ptr %7, align 4, !tbaa !9
  %303 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %303, ptr %21, align 4, !tbaa !9
  %304 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %304, ptr %22, align 4, !tbaa !9
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %21, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = add i64 %308, 172
  %310 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %306, i64 noundef %309, i32 noundef %310)
  %311 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %311, ptr %21, align 4, !tbaa !9
  %312 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %312, ptr %22, align 4, !tbaa !9
  %313 = load ptr, ptr %6, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 6
  %315 = load i32, ptr %21, align 4, !tbaa !9
  %316 = zext i32 %315 to i64
  %317 = add i64 %316, 164
  %318 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %314, i64 noundef %317, i32 noundef %318)
  %319 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %319, ptr %21, align 4, !tbaa !9
  %320 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %320, ptr %22, align 4, !tbaa !9
  store i32 128, ptr %23, align 4, !tbaa !9
  %321 = load i32, ptr %23, align 4, !tbaa !9
  %322 = load i32, ptr %22, align 4, !tbaa !9
  %323 = add i32 %322, %321
  store i32 %323, ptr %22, align 4, !tbaa !9
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.w2c_hermes, ptr %324, i32 0, i32 6
  %326 = load i32, ptr %21, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = add i64 %327, 168
  %329 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %325, i64 noundef %328, i32 noundef %329)
  br label %496

330:                                              ; preds = %274
  %331 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %331, ptr %21, align 4, !tbaa !9
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.w2c_hermes, ptr %332, i32 0, i32 6
  %334 = load i32, ptr %21, align 4, !tbaa !9
  %335 = zext i32 %334 to i64
  %336 = add i64 %335, 16
  %337 = call double @f64_load(ptr noundef %333, i64 noundef %336)
  store double %337, ptr %28, align 8, !tbaa !11
  br label %340

338:                                              ; preds = %114
  %339 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %339, ptr %28, align 8, !tbaa !11
  br label %340

340:                                              ; preds = %338, %330
  %341 = load double, ptr %28, align 8, !tbaa !11
  store double %341, ptr %18, align 8, !tbaa !11
  %342 = load double, ptr %28, align 8, !tbaa !11
  %343 = call double @wasm_trunc(double noundef %342)
  store double %343, ptr %28, align 8, !tbaa !11
  %344 = load double, ptr %28, align 8, !tbaa !11
  store double %344, ptr %19, align 8, !tbaa !11
  store double 1.900000e+03, ptr %29, align 8, !tbaa !11
  %345 = load double, ptr %29, align 8, !tbaa !11
  %346 = load double, ptr %28, align 8, !tbaa !11
  %347 = fadd double %346, %345
  store double %347, ptr %28, align 8, !tbaa !11
  %348 = load double, ptr %18, align 8, !tbaa !11
  store double %348, ptr %29, align 8, !tbaa !11
  %349 = load double, ptr %19, align 8, !tbaa !11
  store double %349, ptr %30, align 8, !tbaa !11
  store double 0.000000e+00, ptr %31, align 8, !tbaa !11
  %350 = load double, ptr %30, align 8, !tbaa !11
  %351 = load double, ptr %31, align 8, !tbaa !11
  %352 = fcmp oge double %350, %351
  %353 = zext i1 %352 to i32
  store i32 %353, ptr %23, align 4, !tbaa !9
  %354 = load i32, ptr %23, align 4, !tbaa !9
  %355 = icmp ne i32 %354, 0
  br i1 %355, label %356, label %358

356:                                              ; preds = %340
  %357 = load double, ptr %28, align 8, !tbaa !11
  br label %360

358:                                              ; preds = %340
  %359 = load double, ptr %29, align 8, !tbaa !11
  br label %360

360:                                              ; preds = %358, %356
  %361 = phi double [ %357, %356 ], [ %359, %358 ]
  store double %361, ptr %28, align 8, !tbaa !11
  %362 = load double, ptr %18, align 8, !tbaa !11
  store double %362, ptr %29, align 8, !tbaa !11
  %363 = load double, ptr %18, align 8, !tbaa !11
  store double %363, ptr %30, align 8, !tbaa !11
  %364 = load double, ptr %18, align 8, !tbaa !11
  store double %364, ptr %31, align 8, !tbaa !11
  %365 = load double, ptr %30, align 8, !tbaa !11
  %366 = load double, ptr %31, align 8, !tbaa !11
  %367 = fcmp oeq double %365, %366
  %368 = zext i1 %367 to i32
  store i32 %368, ptr %23, align 4, !tbaa !9
  %369 = load i32, ptr %23, align 4, !tbaa !9
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %371, label %373

371:                                              ; preds = %360
  %372 = load double, ptr %28, align 8, !tbaa !11
  br label %375

373:                                              ; preds = %360
  %374 = load double, ptr %29, align 8, !tbaa !11
  br label %375

375:                                              ; preds = %373, %371
  %376 = phi double [ %372, %371 ], [ %374, %373 ]
  store double %376, ptr %28, align 8, !tbaa !11
  %377 = load double, ptr %18, align 8, !tbaa !11
  store double %377, ptr %29, align 8, !tbaa !11
  %378 = load double, ptr %19, align 8, !tbaa !11
  store double %378, ptr %30, align 8, !tbaa !11
  store double 9.900000e+01, ptr %31, align 8, !tbaa !11
  %379 = load double, ptr %30, align 8, !tbaa !11
  %380 = load double, ptr %31, align 8, !tbaa !11
  %381 = fcmp ole double %379, %380
  %382 = zext i1 %381 to i32
  store i32 %382, ptr %23, align 4, !tbaa !9
  %383 = load i32, ptr %23, align 4, !tbaa !9
  %384 = icmp ne i32 %383, 0
  br i1 %384, label %385, label %387

385:                                              ; preds = %375
  %386 = load double, ptr %28, align 8, !tbaa !11
  br label %389

387:                                              ; preds = %375
  %388 = load double, ptr %29, align 8, !tbaa !11
  br label %389

389:                                              ; preds = %387, %385
  %390 = phi double [ %386, %385 ], [ %388, %387 ]
  store double %390, ptr %28, align 8, !tbaa !11
  %391 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %391, ptr %22, align 4, !tbaa !9
  %392 = load ptr, ptr %6, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.w2c_hermes, ptr %392, i32 0, i32 6
  %394 = load i32, ptr %22, align 4, !tbaa !9
  %395 = zext i32 %394 to i64
  %396 = add i64 %395, 24
  %397 = call double @f64_load(ptr noundef %393, i64 noundef %396)
  store double %397, ptr %29, align 8, !tbaa !11
  %398 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %398, ptr %23, align 4, !tbaa !9
  %399 = load ptr, ptr %6, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.w2c_hermes, ptr %399, i32 0, i32 6
  %401 = load i32, ptr %23, align 4, !tbaa !9
  %402 = zext i32 %401 to i64
  %403 = add i64 %402, 32
  %404 = call double @f64_load(ptr noundef %400, i64 noundef %403)
  store double %404, ptr %30, align 8, !tbaa !11
  %405 = load ptr, ptr %6, align 8, !tbaa !5
  %406 = load double, ptr %28, align 8, !tbaa !11
  %407 = load double, ptr %29, align 8, !tbaa !11
  %408 = load double, ptr %30, align 8, !tbaa !11
  %409 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %405, double noundef %406, double noundef %407, double noundef %408)
  store double %409, ptr %28, align 8, !tbaa !11
  %410 = load double, ptr %28, align 8, !tbaa !11
  store double %410, ptr %18, align 8, !tbaa !11
  store double 8.640000e+07, ptr %29, align 8, !tbaa !11
  %411 = load double, ptr %29, align 8, !tbaa !11
  %412 = load double, ptr %28, align 8, !tbaa !11
  %413 = fmul double %412, %411
  store double %413, ptr %28, align 8, !tbaa !11
  %414 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %414, ptr %22, align 4, !tbaa !9
  %415 = load ptr, ptr %6, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.w2c_hermes, ptr %415, i32 0, i32 6
  %417 = load i32, ptr %22, align 4, !tbaa !9
  %418 = zext i32 %417 to i64
  %419 = add i64 %418, 40
  %420 = call double @f64_load(ptr noundef %416, i64 noundef %419)
  store double %420, ptr %29, align 8, !tbaa !11
  %421 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %421, ptr %23, align 4, !tbaa !9
  %422 = load ptr, ptr %6, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.w2c_hermes, ptr %422, i32 0, i32 6
  %424 = load i32, ptr %23, align 4, !tbaa !9
  %425 = zext i32 %424 to i64
  %426 = add i64 %425, 48
  %427 = call double @f64_load(ptr noundef %423, i64 noundef %426)
  store double %427, ptr %30, align 8, !tbaa !11
  %428 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %428, ptr %24, align 4, !tbaa !9
  %429 = load ptr, ptr %6, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.w2c_hermes, ptr %429, i32 0, i32 6
  %431 = load i32, ptr %24, align 4, !tbaa !9
  %432 = zext i32 %431 to i64
  %433 = add i64 %432, 56
  %434 = call double @f64_load(ptr noundef %430, i64 noundef %433)
  store double %434, ptr %31, align 8, !tbaa !11
  %435 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %435, ptr %25, align 4, !tbaa !9
  %436 = load ptr, ptr %6, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.w2c_hermes, ptr %436, i32 0, i32 6
  %438 = load i32, ptr %25, align 4, !tbaa !9
  %439 = zext i32 %438 to i64
  %440 = add i64 %439, 64
  %441 = call double @f64_load(ptr noundef %437, i64 noundef %440)
  store double %441, ptr %32, align 8, !tbaa !11
  %442 = load ptr, ptr %6, align 8, !tbaa !5
  %443 = load double, ptr %29, align 8, !tbaa !11
  %444 = load double, ptr %30, align 8, !tbaa !11
  %445 = load double, ptr %31, align 8, !tbaa !11
  %446 = load double, ptr %32, align 8, !tbaa !11
  %447 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %442, double noundef %443, double noundef %444, double noundef %445, double noundef %446)
  store double %447, ptr %29, align 8, !tbaa !11
  %448 = load double, ptr %29, align 8, !tbaa !11
  store double %448, ptr %19, align 8, !tbaa !11
  %449 = load double, ptr %29, align 8, !tbaa !11
  %450 = load double, ptr %28, align 8, !tbaa !11
  %451 = fadd double %450, %449
  store double %451, ptr %28, align 8, !tbaa !11
  %452 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %452, ptr %29, align 8, !tbaa !11
  %453 = load double, ptr %19, align 8, !tbaa !11
  store double %453, ptr %30, align 8, !tbaa !11
  %454 = load double, ptr %30, align 8, !tbaa !11
  %455 = call double @wasm_fabs(double noundef %454)
  store double %455, ptr %30, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %31, align 8, !tbaa !11
  %456 = load double, ptr %30, align 8, !tbaa !11
  %457 = load double, ptr %31, align 8, !tbaa !11
  %458 = fcmp olt double %456, %457
  %459 = zext i1 %458 to i32
  store i32 %459, ptr %23, align 4, !tbaa !9
  %460 = load i32, ptr %23, align 4, !tbaa !9
  %461 = icmp ne i32 %460, 0
  br i1 %461, label %462, label %464

462:                                              ; preds = %389
  %463 = load double, ptr %28, align 8, !tbaa !11
  br label %466

464:                                              ; preds = %389
  %465 = load double, ptr %29, align 8, !tbaa !11
  br label %466

466:                                              ; preds = %464, %462
  %467 = phi double [ %463, %462 ], [ %465, %464 ]
  store double %467, ptr %28, align 8, !tbaa !11
  %468 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %468, ptr %29, align 8, !tbaa !11
  %469 = load double, ptr %18, align 8, !tbaa !11
  store double %469, ptr %30, align 8, !tbaa !11
  %470 = load double, ptr %30, align 8, !tbaa !11
  %471 = call double @wasm_fabs(double noundef %470)
  store double %471, ptr %30, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %31, align 8, !tbaa !11
  %472 = load double, ptr %30, align 8, !tbaa !11
  %473 = load double, ptr %31, align 8, !tbaa !11
  %474 = fcmp olt double %472, %473
  %475 = zext i1 %474 to i32
  store i32 %475, ptr %23, align 4, !tbaa !9
  %476 = load i32, ptr %23, align 4, !tbaa !9
  %477 = icmp ne i32 %476, 0
  br i1 %477, label %478, label %480

478:                                              ; preds = %466
  %479 = load double, ptr %28, align 8, !tbaa !11
  br label %482

480:                                              ; preds = %466
  %481 = load double, ptr %29, align 8, !tbaa !11
  br label %482

482:                                              ; preds = %480, %478
  %483 = phi double [ %479, %478 ], [ %481, %480 ]
  store double %483, ptr %28, align 8, !tbaa !11
  %484 = load ptr, ptr %6, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.w2c_hermes, ptr %484, i32 0, i32 6
  %486 = load i32, ptr %20, align 4, !tbaa !9
  %487 = zext i32 %486 to i64
  %488 = add i64 %487, 8
  %489 = load double, ptr %28, align 8, !tbaa !11
  call void @f64_store(ptr noundef %485, i64 noundef %488, double noundef %489)
  %490 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %490, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %491 = load ptr, ptr %6, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.w2c_hermes, ptr %491, i32 0, i32 6
  %493 = load i32, ptr %20, align 4, !tbaa !9
  %494 = zext i32 %493 to i64
  %495 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %492, i64 noundef %494, i32 noundef %495)
  br label %496

496:                                              ; preds = %482, %275
  %497 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %497, ptr %20, align 4, !tbaa !9
  store i32 80, ptr %21, align 4, !tbaa !9
  %498 = load i32, ptr %21, align 4, !tbaa !9
  %499 = load i32, ptr %20, align 4, !tbaa !9
  %500 = add i32 %499, %498
  store i32 %500, ptr %20, align 4, !tbaa !9
  %501 = load i32, ptr %20, align 4, !tbaa !9
  %502 = load ptr, ptr %6, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.w2c_hermes, ptr %502, i32 0, i32 3
  store i32 %501, ptr %503, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 }

!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 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !18, i64 80}
!15 = !{!"", !6, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !17, i64 32}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!19 = !{!16, !16, i64 0}


; 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: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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 void @f64_store(ptr noundef, i64 noundef, double noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -80
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = add nuw nsw i64 %10, 72
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %11, i64 noundef 0)
  %12 = add i32 %7, -16
  %13 = zext i32 %12 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %13, i64 noundef 0)
  %14 = add nuw nsw i64 %10, 56
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %14, i64 noundef 0)
  %15 = add nuw nsw i64 %10, 48
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %15, i64 noundef 0)
  %16 = add nuw nsw i64 %10, 40
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %16, i64 noundef 0)
  %17 = add nuw nsw i64 %10, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %17, i64 noundef 4607182418800017408)
  %18 = add nuw nsw i64 %10, 24
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %18, i64 noundef 9221120237041090560)
  %19 = add nuw nsw i64 %10, 16
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %19, i64 noundef 9221120237041090560)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %64, label %20

20:                                               ; preds = %5
  %21 = tail call i32 @llvm.umin.i32(i32 %4, i32 7)
  %22 = add i32 %3, -8
  %23 = zext i32 %2 to i64
  %24 = add nuw nsw i64 %23, 4
  %25 = add i32 %7, -64
  %26 = add nuw nsw i64 %10, 8
  %27 = zext i32 %4 to i64
  %28 = zext nneg i32 %21 to i64
  br label %29

29:                                               ; preds = %40, %20
  %indvars.iv = phi i64 [ %indvars.iv.next, %40 ], [ 0, %20 ]
  %30 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %24)
  %31 = zext i32 %30 to i64
  %32 = add nuw nsw i64 %31, 172
  %33 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %32)
  %34 = add nuw nsw i64 %31, 164
  %35 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %34)
  %indvars.iv.tr = trunc i64 %indvars.iv to i32
  %36 = shl i32 %indvars.iv.tr, 3
  %37 = sub i32 %22, %36
  %.not261 = icmp ult i64 %indvars.iv, %27
  %38 = select i1 %.not261, i32 %37, i32 67208
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %8, i32 noundef %2, i32 noundef %38) #4
  %39 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %.not262 = icmp eq i32 %39, 0
  br i1 %.not262, label %52, label %40

40:                                               ; preds = %29
  %41 = add i32 %25, %36
  %42 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %26)
  %43 = zext i32 %41 to i64
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %43, double noundef %42)
  %44 = add nuw nsw i64 %31, 136
  %45 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %44)
  %46 = shl i32 %33, 2
  %47 = add i32 %45, %46
  %48 = zext i32 %47 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %48)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %32, i32 noundef %33)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %34, i32 noundef %35)
  %50 = add i32 %49, 128
  %51 = add nuw nsw i64 %31, 168
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %51, i32 noundef %50)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not263 = icmp eq i64 %indvars.iv.next, %28
  br i1 %.not263, label %62, label %29

52:                                               ; preds = %29
  %53 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %53, i32 noundef 0)
  %54 = add nuw nsw i64 %31, 136
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %54)
  %56 = shl i32 %33, 2
  %57 = add i32 %55, %56
  %58 = zext i32 %57 to i64
  %59 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %58)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %32, i32 noundef %33)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %34, i32 noundef %35)
  %60 = add i32 %59, 128
  %61 = add nuw nsw i64 %31, 168
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %61, i32 noundef %60)
  br label %96

62:                                               ; preds = %40
  %63 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %19)
  br label %66

64:                                               ; preds = %5
  %65 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  br label %66

66:                                               ; preds = %64, %62
  %.0 = phi double [ %63, %62 ], [ %65, %64 ]
  %67 = tail call double @wasm_trunc(double noundef %.0)
  %68 = fadd double %67, 1.900000e+03
  %69 = fcmp oge double %67, 0.000000e+00
  %70 = fcmp ord double %.0, 0.000000e+00
  %71 = select i1 %70, i1 %69, i1 false
  %72 = fcmp ole double %67, 9.900000e+01
  %73 = and i1 %72, %71
  %74 = select i1 %73, double %68, double %.0
  %75 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %18)
  %76 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %17)
  %77 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %0, double noundef %74, double noundef %75, double noundef %76)
  %78 = fmul double %77, 8.640000e+07
  %79 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %16)
  %80 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %15)
  %81 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %14)
  %82 = add nuw nsw i64 %10, 64
  %83 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %82)
  %84 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %0, double noundef %79, double noundef %80, double noundef %81, double noundef %83)
  %85 = fadd double %78, %84
  %86 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %87 = tail call double @wasm_fabs(double noundef %84)
  %88 = fcmp one double %87, 0x7FF0000000000000
  %89 = select i1 %88, double %85, double %86
  %90 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %91 = tail call double @wasm_fabs(double noundef %77)
  %92 = fcmp one double %91, 0x7FF0000000000000
  %93 = select i1 %92, double %89, double %90
  %94 = zext i32 %1 to i64
  %95 = add nuw nsw i64 %94, 8
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %95, double noundef %93)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %94, i32 noundef 1)
  br label %96

96:                                               ; preds = %66, %52
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #3

attributes #0 = { 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 #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass