; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 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 @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

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

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

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

49:                                               ; preds = %5
  br label %52

50:                                               ; preds = %5
  br label %66

51:                                               ; preds = %5
  br label %235

52:                                               ; preds = %49
  %53 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %53, ptr %14, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %20, 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 %14, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 8
  %59 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %55, i64 noundef %58, i64 noundef %59)
  %60 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %60, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %14, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %62, i64 noundef %64, i32 noundef %65)
  br label %353

66:                                               ; preds = %50
  %67 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %67, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %15, align 4, !tbaa !9
  %69 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %69, ptr %16, align 4, !tbaa !9
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = call i32 @i32_load(ptr noundef %71, i64 noundef %73)
  store i32 %74, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %17, align 4, !tbaa !9
  %76 = load i32, ptr %16, align 4, !tbaa !9
  %77 = sub i32 %76, %75
  store i32 %77, ptr %16, align 4, !tbaa !9
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef %81)
  %82 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %82, ptr %14, align 4, !tbaa !9
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %14, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = call i32 @i32_load(ptr noundef %84, i64 noundef %86)
  store i32 %87, ptr %14, align 4, !tbaa !9
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  %90 = xor i1 %89, true
  %91 = zext i1 %90 to i32
  store i32 %91, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %101

94:                                               ; preds = %66
  %95 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %95, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %97, i64 noundef %99, i32 noundef %100)
  br label %353

101:                                              ; preds = %66
  %102 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %102, ptr %14, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %20, align 8, !tbaa !19
  %103 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %103, ptr %24, align 8, !tbaa !11
  %104 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %104, ptr %17, align 4, !tbaa !9
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 8
  %110 = call double @f64_load(ptr noundef %106, i64 noundef %109)
  store double %110, ptr %25, align 8, !tbaa !11
  store double 0.000000e+00, ptr %26, align 8, !tbaa !11
  store double 1.000000e+00, ptr %27, align 8, !tbaa !11
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = load double, ptr %25, align 8, !tbaa !11
  %113 = load double, ptr %26, align 8, !tbaa !11
  %114 = load double, ptr %27, align 8, !tbaa !11
  %115 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %111, double noundef %112, double noundef %113, double noundef %114)
  store double %115, ptr %25, align 8, !tbaa !11
  %116 = load double, ptr %25, align 8, !tbaa !11
  store double %116, ptr %12, align 8, !tbaa !11
  store double 8.640000e+07, ptr %26, align 8, !tbaa !11
  %117 = load double, ptr %26, align 8, !tbaa !11
  %118 = load double, ptr %25, align 8, !tbaa !11
  %119 = fmul double %118, %117
  store double %119, ptr %25, align 8, !tbaa !11
  store double 0.000000e+00, ptr %26, align 8, !tbaa !11
  store double 0.000000e+00, ptr %27, align 8, !tbaa !11
  store double 0.000000e+00, ptr %28, align 8, !tbaa !11
  store double 0.000000e+00, ptr %29, align 8, !tbaa !11
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = load double, ptr %26, align 8, !tbaa !11
  %122 = load double, ptr %27, align 8, !tbaa !11
  %123 = load double, ptr %28, align 8, !tbaa !11
  %124 = load double, ptr %29, align 8, !tbaa !11
  %125 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %120, double noundef %121, double noundef %122, double noundef %123, double noundef %124)
  store double %125, ptr %26, align 8, !tbaa !11
  %126 = load double, ptr %26, align 8, !tbaa !11
  store double %126, ptr %13, align 8, !tbaa !11
  %127 = load double, ptr %26, align 8, !tbaa !11
  %128 = load double, ptr %25, align 8, !tbaa !11
  %129 = fadd double %128, %127
  store double %129, ptr %25, align 8, !tbaa !11
  %130 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %130, ptr %26, align 8, !tbaa !11
  %131 = load double, ptr %13, align 8, !tbaa !11
  store double %131, ptr %27, align 8, !tbaa !11
  %132 = load double, ptr %27, align 8, !tbaa !11
  %133 = call double @wasm_fabs(double noundef %132)
  store double %133, ptr %27, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %28, align 8, !tbaa !11
  %134 = load double, ptr %27, align 8, !tbaa !11
  %135 = load double, ptr %28, align 8, !tbaa !11
  %136 = fcmp olt double %134, %135
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %19, align 4, !tbaa !9
  %138 = load i32, ptr %19, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %142

140:                                              ; preds = %101
  %141 = load double, ptr %25, align 8, !tbaa !11
  br label %144

142:                                              ; preds = %101
  %143 = load double, ptr %26, align 8, !tbaa !11
  br label %144

144:                                              ; preds = %142, %140
  %145 = phi double [ %141, %140 ], [ %143, %142 ]
  store double %145, ptr %25, align 8, !tbaa !11
  %146 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %146, ptr %26, align 8, !tbaa !11
  %147 = load double, ptr %12, align 8, !tbaa !11
  store double %147, ptr %27, align 8, !tbaa !11
  %148 = load double, ptr %27, align 8, !tbaa !11
  %149 = call double @wasm_fabs(double noundef %148)
  store double %149, ptr %27, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %28, align 8, !tbaa !11
  %150 = load double, ptr %27, align 8, !tbaa !11
  %151 = load double, ptr %28, align 8, !tbaa !11
  %152 = fcmp olt double %150, %151
  %153 = zext i1 %152 to i32
  store i32 %153, ptr %19, align 4, !tbaa !9
  %154 = load i32, ptr %19, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %158

156:                                              ; preds = %144
  %157 = load double, ptr %25, align 8, !tbaa !11
  br label %160

158:                                              ; preds = %144
  %159 = load double, ptr %26, align 8, !tbaa !11
  br label %160

160:                                              ; preds = %158, %156
  %161 = phi double [ %157, %156 ], [ %159, %158 ]
  store double %161, ptr %25, align 8, !tbaa !11
  %162 = load double, ptr %25, align 8, !tbaa !11
  store double %162, ptr %12, align 8, !tbaa !11
  %163 = load double, ptr %25, align 8, !tbaa !11
  %164 = call double @wasm_trunc(double noundef %163)
  store double %164, ptr %25, align 8, !tbaa !11
  store double 0.000000e+00, ptr %26, align 8, !tbaa !11
  %165 = load double, ptr %26, align 8, !tbaa !11
  %166 = load double, ptr %25, align 8, !tbaa !11
  %167 = fadd double %166, %165
  store double %167, ptr %25, align 8, !tbaa !11
  %168 = load double, ptr %12, align 8, !tbaa !11
  store double %168, ptr %26, align 8, !tbaa !11
  %169 = load double, ptr %26, align 8, !tbaa !11
  %170 = call double @wasm_fabs(double noundef %169)
  store double %170, ptr %26, align 8, !tbaa !11
  %171 = load double, ptr %26, align 8, !tbaa !11
  store double %171, ptr %12, align 8, !tbaa !11
  store double 8.640000e+15, ptr %27, align 8, !tbaa !11
  %172 = load double, ptr %26, align 8, !tbaa !11
  %173 = load double, ptr %27, align 8, !tbaa !11
  %174 = fcmp ogt double %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %18, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %180

178:                                              ; preds = %160
  %179 = load double, ptr %24, align 8, !tbaa !11
  br label %182

180:                                              ; preds = %160
  %181 = load double, ptr %25, align 8, !tbaa !11
  br label %182

182:                                              ; preds = %180, %178
  %183 = phi double [ %179, %178 ], [ %181, %180 ]
  store double %183, ptr %24, align 8, !tbaa !11
  %184 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %184, ptr %25, align 8, !tbaa !11
  %185 = load double, ptr %12, align 8, !tbaa !11
  store double %185, ptr %26, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %27, align 8, !tbaa !11
  %186 = load double, ptr %26, align 8, !tbaa !11
  %187 = load double, ptr %27, align 8, !tbaa !11
  %188 = fcmp olt double %186, %187
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %18, align 4, !tbaa !9
  %190 = load double, ptr %12, align 8, !tbaa !11
  store double %190, ptr %27, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %28, align 8, !tbaa !11
  %191 = load double, ptr %27, align 8, !tbaa !11
  %192 = load double, ptr %28, align 8, !tbaa !11
  %193 = fcmp ogt double %191, %192
  %194 = zext i1 %193 to i32
  store i32 %194, ptr %19, align 4, !tbaa !9
  %195 = load i32, ptr %19, align 4, !tbaa !9
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = or i32 %196, %195
  store i32 %197, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %202

200:                                              ; preds = %182
  %201 = load double, ptr %24, align 8, !tbaa !11
  br label %204

202:                                              ; preds = %182
  %203 = load double, ptr %25, align 8, !tbaa !11
  br label %204

204:                                              ; preds = %202, %200
  %205 = phi double [ %201, %200 ], [ %203, %202 ]
  store double %205, ptr %24, align 8, !tbaa !11
  %206 = load double, ptr %24, align 8, !tbaa !11
  store double %206, ptr %12, align 8, !tbaa !11
  %207 = load double, ptr %24, align 8, !tbaa !11
  %208 = call i64 @i64_reinterpret_f64(double noundef %207)
  store i64 %208, ptr %21, align 8, !tbaa !19
  %209 = load double, ptr %12, align 8, !tbaa !11
  store double %209, ptr %25, align 8, !tbaa !11
  %210 = load double, ptr %12, align 8, !tbaa !11
  store double %210, ptr %26, align 8, !tbaa !11
  %211 = load double, ptr %25, align 8, !tbaa !11
  %212 = load double, ptr %26, align 8, !tbaa !11
  %213 = fcmp une double %211, %212
  %214 = zext i1 %213 to i32
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %219

217:                                              ; preds = %204
  %218 = load i64, ptr %20, align 8, !tbaa !19
  br label %221

219:                                              ; preds = %204
  %220 = load i64, ptr %21, align 8, !tbaa !19
  br label %221

221:                                              ; preds = %219, %217
  %222 = phi i64 [ %218, %217 ], [ %220, %219 ]
  store i64 %222, ptr %20, align 8, !tbaa !19
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 8
  %228 = load i64, ptr %20, align 8, !tbaa !19
  call void @i64_store(ptr noundef %224, i64 noundef %227, i64 noundef %228)
  %229 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %229, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 6
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %231, i64 noundef %233, i32 noundef %234)
  br label %353

235:                                              ; preds = %51
  %236 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  %238 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %238, ptr %16, align 4, !tbaa !9
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %16, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = call i32 @i32_load(ptr noundef %240, i64 noundef %242)
  store i32 %243, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %244, ptr %17, align 4, !tbaa !9
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %15, align 4, !tbaa !9
  %248 = load i32, ptr %16, align 4, !tbaa !9
  %249 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef %248, i32 noundef %249)
  %250 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %250, ptr %14, align 4, !tbaa !9
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.w2c_hermes, ptr %251, i32 0, i32 6
  %253 = load i32, ptr %14, align 4, !tbaa !9
  %254 = zext i32 %253 to i64
  %255 = call i32 @i32_load(ptr noundef %252, i64 noundef %254)
  store i32 %255, ptr %14, align 4, !tbaa !9
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = icmp ne i32 %256, 0
  %258 = xor i1 %257, true
  %259 = zext i1 %258 to i32
  store i32 %259, ptr %14, align 4, !tbaa !9
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %269

262:                                              ; preds = %235
  %263 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %263, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %14, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %265, i64 noundef %267, i32 noundef %268)
  br label %353

269:                                              ; preds = %235
  %270 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %270, ptr %22, align 8, !tbaa !11
  %271 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %271, ptr %15, 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 %15, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = add i64 %275, 8
  %277 = call double @f64_load(ptr noundef %273, i64 noundef %276)
  store double %277, ptr %23, align 8, !tbaa !11
  %278 = load double, ptr %23, align 8, !tbaa !11
  store double %278, ptr %12, align 8, !tbaa !11
  %279 = load double, ptr %23, align 8, !tbaa !11
  %280 = call double @wasm_trunc(double noundef %279)
  store double %280, ptr %23, align 8, !tbaa !11
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  %281 = load double, ptr %24, align 8, !tbaa !11
  %282 = load double, ptr %23, align 8, !tbaa !11
  %283 = fadd double %282, %281
  store double %283, ptr %23, align 8, !tbaa !11
  %284 = load double, ptr %12, align 8, !tbaa !11
  store double %284, ptr %24, align 8, !tbaa !11
  %285 = load double, ptr %24, align 8, !tbaa !11
  %286 = call double @wasm_fabs(double noundef %285)
  store double %286, ptr %24, align 8, !tbaa !11
  %287 = load double, ptr %24, align 8, !tbaa !11
  store double %287, ptr %12, align 8, !tbaa !11
  store double 8.640000e+15, ptr %25, align 8, !tbaa !11
  %288 = load double, ptr %24, align 8, !tbaa !11
  %289 = load double, ptr %25, align 8, !tbaa !11
  %290 = fcmp ogt double %288, %289
  %291 = zext i1 %290 to i32
  store i32 %291, ptr %16, align 4, !tbaa !9
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = icmp ne i32 %292, 0
  br i1 %293, label %294, label %296

294:                                              ; preds = %269
  %295 = load double, ptr %22, align 8, !tbaa !11
  br label %298

296:                                              ; preds = %269
  %297 = load double, ptr %23, align 8, !tbaa !11
  br label %298

298:                                              ; preds = %296, %294
  %299 = phi double [ %295, %294 ], [ %297, %296 ]
  store double %299, ptr %22, align 8, !tbaa !11
  %300 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %300, ptr %23, align 8, !tbaa !11
  %301 = load double, ptr %12, align 8, !tbaa !11
  store double %301, ptr %24, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %25, align 8, !tbaa !11
  %302 = load double, ptr %24, align 8, !tbaa !11
  %303 = load double, ptr %25, align 8, !tbaa !11
  %304 = fcmp olt double %302, %303
  %305 = zext i1 %304 to i32
  store i32 %305, ptr %16, align 4, !tbaa !9
  %306 = load double, ptr %12, align 8, !tbaa !11
  store double %306, ptr %25, align 8, !tbaa !11
  store double 0x7FF0000000000000, ptr %26, align 8, !tbaa !11
  %307 = load double, ptr %25, align 8, !tbaa !11
  %308 = load double, ptr %26, align 8, !tbaa !11
  %309 = fcmp ogt double %307, %308
  %310 = zext i1 %309 to i32
  store i32 %310, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %17, align 4, !tbaa !9
  %312 = load i32, ptr %16, align 4, !tbaa !9
  %313 = or i32 %312, %311
  store i32 %313, ptr %16, align 4, !tbaa !9
  %314 = load i32, ptr %16, align 4, !tbaa !9
  %315 = icmp ne i32 %314, 0
  br i1 %315, label %316, label %318

316:                                              ; preds = %298
  %317 = load double, ptr %22, align 8, !tbaa !11
  br label %320

318:                                              ; preds = %298
  %319 = load double, ptr %23, align 8, !tbaa !11
  br label %320

320:                                              ; preds = %318, %316
  %321 = phi double [ %317, %316 ], [ %319, %318 ]
  store double %321, ptr %22, align 8, !tbaa !11
  %322 = load double, ptr %22, align 8, !tbaa !11
  store double %322, ptr %12, align 8, !tbaa !11
  %323 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %323, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, 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 %14, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %325, i64 noundef %327, i32 noundef %328)
  %329 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %329, ptr %14, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %20, align 8, !tbaa !19
  %330 = load double, ptr %12, align 8, !tbaa !11
  store double %330, ptr %24, align 8, !tbaa !11
  %331 = load double, ptr %24, align 8, !tbaa !11
  %332 = call i64 @i64_reinterpret_f64(double noundef %331)
  store i64 %332, ptr %21, align 8, !tbaa !19
  %333 = load double, ptr %12, align 8, !tbaa !11
  store double %333, ptr %25, align 8, !tbaa !11
  %334 = load double, ptr %12, align 8, !tbaa !11
  store double %334, ptr %26, align 8, !tbaa !11
  %335 = load double, ptr %25, align 8, !tbaa !11
  %336 = load double, ptr %26, align 8, !tbaa !11
  %337 = fcmp une double %335, %336
  %338 = zext i1 %337 to i32
  store i32 %338, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %343

341:                                              ; preds = %320
  %342 = load i64, ptr %20, align 8, !tbaa !19
  br label %345

343:                                              ; preds = %320
  %344 = load i64, ptr %21, align 8, !tbaa !19
  br label %345

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

353:                                              ; preds = %345, %262, %221, %94, %52
  %354 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %354, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  %356 = load i32, ptr %14, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %14, align 4, !tbaa !9
  %358 = load i32, ptr %14, align 4, !tbaa !9
  %359 = load ptr, ptr %6, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.w2c_hermes, ptr %359, i32 0, i32 3
  store i32 %358, ptr %360, align 8, !tbaa !13
  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 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_reinterpret_f64(double 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: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateUTC_RJS0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  switch i32 %12, label %52 [
    i32 0, label %13
    i32 1, label %16
  ]

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

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

21:                                               ; preds = %16
  %22 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef 0)
  br label %75

23:                                               ; preds = %16
  %24 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %25 = add nuw nsw i64 %19, 8
  %26 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %26, double noundef 0.000000e+00, double noundef 1.000000e+00) #3
  %28 = fmul double %27, 8.640000e+07
  %29 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) #3
  %30 = fadd double %28, %29
  %31 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %32 = tail call double @wasm_fabs(double noundef %29)
  %33 = fcmp one double %32, 0x7FF0000000000000
  %34 = select i1 %33, double %30, double %31
  %35 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %36 = tail call double @wasm_fabs(double noundef %27)
  %37 = fcmp one double %36, 0x7FF0000000000000
  %38 = select i1 %37, double %34, double %35
  %39 = tail call double @wasm_trunc(double noundef %38)
  %40 = fadd double %39, 0.000000e+00
  %41 = tail call double @wasm_fabs(double noundef %38)
  %42 = fcmp ogt double %41, 8.640000e+15
  %43 = select i1 %42, double %24, double %40
  %44 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %45 = fcmp one double %41, 0x7FF0000000000000
  %46 = select i1 %45, double %43, double %44
  %47 = tail call i64 @i64_reinterpret_f64(double noundef %46)
  %48 = fcmp uno double %46, 0.000000e+00
  %49 = select i1 %48, i64 9221120237041090560, i64 %47
  %50 = zext i32 %1 to i64
  %51 = add nuw nsw i64 %50, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %51, i64 noundef %49)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %50, i32 noundef 1)
  br label %75

52:                                               ; preds = %5
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef nonnull %0, i32 noundef %8, i32 noundef %3, i32 noundef %53, i32 noundef %12) #3
  %54 = zext i32 %8 to i64
  %55 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %54)
  %.not179 = icmp eq i32 %55, 0
  br i1 %.not179, label %56, label %58

56:                                               ; preds = %52
  %57 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %57, i32 noundef 0)
  br label %75

58:                                               ; preds = %52
  %59 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %60 = add nuw nsw i64 %54, 8
  %61 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %60)
  %62 = tail call double @wasm_trunc(double noundef %61)
  %63 = fadd double %62, 0.000000e+00
  %64 = tail call double @wasm_fabs(double noundef %61)
  %65 = fcmp ogt double %64, 8.640000e+15
  %66 = select i1 %65, double %59, double %63
  %67 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %68 = fcmp one double %64, 0x7FF0000000000000
  %69 = select i1 %68, double %66, double %67
  %70 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %70, i32 noundef 1)
  %71 = tail call i64 @i64_reinterpret_f64(double noundef %69)
  %72 = fcmp uno double %69, 0.000000e+00
  %73 = select i1 %72, i64 9221120237041090560, i64 %71
  %74 = add nuw nsw i64 %70, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %74, i64 noundef %73)
  br label %75

75:                                               ; preds = %58, %56, %23, %21, %13
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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

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

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

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

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