; 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

declare void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef, i32 noundef) #2

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef, i32 noundef) #2

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_floor(double noundef) #5

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

declare double @w2c_hermes_fmod(ptr noundef, double noundef, double noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateString0x28double0x2C0x20double0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #5 {
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %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 i64, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store double %2, ptr %7, align 8, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !13
  store i32 %25, ptr %11, align 4, !tbaa !11
  store i32 48, ptr %12, align 4, !tbaa !11
  %26 = load i32, ptr %12, align 4, !tbaa !11
  %27 = load i32, ptr %11, align 4, !tbaa !11
  %28 = sub i32 %27, %26
  store i32 %28, ptr %11, align 4, !tbaa !11
  %29 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %29, ptr %9, align 4, !tbaa !11
  %30 = load i32, ptr %11, align 4, !tbaa !11
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !13
  %33 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %33, ptr %11, align 4, !tbaa !11
  store i64 4294967296, ptr %16, align 8, !tbaa !19
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %11, align 4, !tbaa !11
  %37 = zext i32 %36 to i64
  %38 = add i64 %37, 36
  %39 = load i64, ptr %16, align 8, !tbaa !19
  call void @i64_store(ptr noundef %35, i64 noundef %38, i64 noundef %39)
  %40 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %40, ptr %11, align 4, !tbaa !11
  store i64 0, ptr %16, align 8, !tbaa !19
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %11, align 4, !tbaa !11
  %44 = zext i32 %43 to i64
  %45 = add i64 %44, 28
  %46 = load i64, ptr %16, align 8, !tbaa !19
  call void @i64_store(ptr noundef %42, i64 noundef %45, i64 noundef %46)
  %47 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %47, ptr %11, align 4, !tbaa !11
  %48 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %48, ptr %12, align 4, !tbaa !11
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %11, align 4, !tbaa !11
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 44
  %54 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %50, i64 noundef %53, i32 noundef %54)
  %55 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %55, ptr %11, align 4, !tbaa !11
  store i32 110132, ptr %12, align 4, !tbaa !11
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %11, align 4, !tbaa !11
  %59 = zext i32 %58 to i64
  %60 = add i64 %59, 24
  %61 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %57, i64 noundef %60, i32 noundef %61)
  %62 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %62, ptr %11, align 4, !tbaa !11
  store i32 24, ptr %12, align 4, !tbaa !11
  %63 = load i32, ptr %12, align 4, !tbaa !11
  %64 = load i32, ptr %11, align 4, !tbaa !11
  %65 = add i32 %64, %63
  store i32 %65, ptr %11, align 4, !tbaa !11
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i32, ptr %11, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef %66, i32 noundef %67)
  %68 = load double, ptr %6, align 8, !tbaa !9
  store double %68, ptr %17, align 8, !tbaa !9
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load double, ptr %17, align 8, !tbaa !9
  %71 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %69, double noundef %70)
  store double %71, ptr %17, align 8, !tbaa !9
  %72 = load double, ptr %17, align 8, !tbaa !9
  store double %72, ptr %7, align 8, !tbaa !9
  store double 4.000000e+00, ptr %18, align 8, !tbaa !9
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load double, ptr %17, align 8, !tbaa !9
  %75 = load double, ptr %18, align 8, !tbaa !9
  %76 = call double @w2c_hermes_fmod(ptr noundef %73, double noundef %74, double noundef %75)
  store double %76, ptr %17, align 8, !tbaa !9
  store double 0.000000e+00, ptr %18, align 8, !tbaa !9
  %77 = load double, ptr %17, align 8, !tbaa !9
  %78 = load double, ptr %18, align 8, !tbaa !9
  %79 = fcmp une double %77, %78
  %80 = zext i1 %79 to i32
  store i32 %80, ptr %11, align 4, !tbaa !11
  %81 = load i32, ptr %11, align 4, !tbaa !11
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %4
  store i32 79152, ptr %11, align 4, !tbaa !11
  br label %119

84:                                               ; preds = %4
  store i32 79184, ptr %11, align 4, !tbaa !11
  store i32 79184, ptr %12, align 4, !tbaa !11
  store i32 79152, ptr %13, align 4, !tbaa !11
  %85 = load double, ptr %7, align 8, !tbaa !9
  store double %85, ptr %20, align 8, !tbaa !9
  store double 4.000000e+02, ptr %21, align 8, !tbaa !9
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = load double, ptr %20, align 8, !tbaa !9
  %88 = load double, ptr %21, align 8, !tbaa !9
  %89 = call double @w2c_hermes_fmod(ptr noundef %86, double noundef %87, double noundef %88)
  store double %89, ptr %20, align 8, !tbaa !9
  store double 0.000000e+00, ptr %21, align 8, !tbaa !9
  %90 = load double, ptr %20, align 8, !tbaa !9
  %91 = load double, ptr %21, align 8, !tbaa !9
  %92 = fcmp oeq double %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %14, align 4, !tbaa !11
  %94 = load i32, ptr %14, align 4, !tbaa !11
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %98

96:                                               ; preds = %84
  %97 = load i32, ptr %12, align 4, !tbaa !11
  br label %100

98:                                               ; preds = %84
  %99 = load i32, ptr %13, align 4, !tbaa !11
  br label %100

100:                                              ; preds = %98, %96
  %101 = phi i32 [ %97, %96 ], [ %99, %98 ]
  store i32 %101, ptr %12, align 4, !tbaa !11
  %102 = load double, ptr %7, align 8, !tbaa !9
  store double %102, ptr %19, align 8, !tbaa !9
  store double 1.000000e+02, ptr %20, align 8, !tbaa !9
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = load double, ptr %19, align 8, !tbaa !9
  %105 = load double, ptr %20, align 8, !tbaa !9
  %106 = call double @w2c_hermes_fmod(ptr noundef %103, double noundef %104, double noundef %105)
  store double %106, ptr %19, align 8, !tbaa !9
  store double 0.000000e+00, ptr %20, align 8, !tbaa !9
  %107 = load double, ptr %19, align 8, !tbaa !9
  %108 = load double, ptr %20, align 8, !tbaa !9
  %109 = fcmp une double %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %13, align 4, !tbaa !11
  %111 = load i32, ptr %13, align 4, !tbaa !11
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %115

113:                                              ; preds = %100
  %114 = load i32, ptr %11, align 4, !tbaa !11
  br label %117

115:                                              ; preds = %100
  %116 = load i32, ptr %12, align 4, !tbaa !11
  br label %117

117:                                              ; preds = %115, %113
  %118 = phi i32 [ %114, %113 ], [ %116, %115 ]
  store i32 %118, ptr %11, align 4, !tbaa !11
  br label %119

119:                                              ; preds = %117, %83
  %120 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %120, ptr %10, align 4, !tbaa !11
  %121 = load double, ptr %6, align 8, !tbaa !9
  store double %121, ptr %17, align 8, !tbaa !9
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load double, ptr %17, align 8, !tbaa !9
  %124 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %122, double noundef %123)
  store i32 %124, ptr %11, align 4, !tbaa !11
  %125 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %125, ptr %8, align 4, !tbaa !11
  %126 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %126, ptr %11, align 4, !tbaa !11
  %127 = load double, ptr %7, align 8, !tbaa !9
  store double %127, ptr %18, align 8, !tbaa !9
  %128 = load double, ptr %18, align 8, !tbaa !9
  %129 = call double @wasm_fabs(double noundef %128)
  store double %129, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %130 = load double, ptr %18, align 8, !tbaa !9
  %131 = load double, ptr %19, align 8, !tbaa !9
  %132 = fcmp olt double %130, %131
  %133 = zext i1 %132 to i32
  store i32 %133, ptr %12, align 4, !tbaa !11
  %134 = load i32, ptr %12, align 4, !tbaa !11
  %135 = icmp ne i32 %134, 0
  br i1 %135, label %136, label %173

136:                                              ; preds = %119
  %137 = load double, ptr %7, align 8, !tbaa !9
  store double %137, ptr %18, align 8, !tbaa !9
  %138 = load double, ptr %18, align 8, !tbaa !9
  %139 = load double, ptr %18, align 8, !tbaa !9
  %140 = fcmp une double %138, %139
  %141 = xor i1 %140, true
  %142 = xor i1 %141, true
  %143 = zext i1 %142 to i32
  %144 = sext i32 %143 to i64
  %145 = call i64 @llvm.expect.i64(i64 %144, i64 0)
  %146 = icmp ne i64 %145, 0
  br i1 %146, label %147, label %149

147:                                              ; preds = %136
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

148:                                              ; No predecessors!
  br label %171

149:                                              ; preds = %136
  %150 = load double, ptr %18, align 8, !tbaa !9
  %151 = fcmp ogt double %150, 0xC1E0000000200000
  br i1 %151, label %152, label %155

152:                                              ; preds = %149
  %153 = load double, ptr %18, align 8, !tbaa !9
  %154 = fcmp olt double %153, 0x41E0000000000000
  br label %155

155:                                              ; preds = %152, %149
  %156 = phi i1 [ false, %149 ], [ %154, %152 ]
  %157 = xor i1 %156, true
  %158 = xor i1 %157, true
  %159 = xor i1 %158, true
  %160 = zext i1 %159 to i32
  %161 = sext i32 %160 to i64
  %162 = call i64 @llvm.expect.i64(i64 %161, i64 0)
  %163 = icmp ne i64 %162, 0
  br i1 %163, label %164, label %166

164:                                              ; preds = %155
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

165:                                              ; No predecessors!
  br label %169

166:                                              ; preds = %155
  %167 = load double, ptr %18, align 8, !tbaa !9
  %168 = fptosi double %167 to i32
  br label %169

169:                                              ; preds = %166, %165
  %170 = phi i32 [ 0, %165 ], [ %168, %166 ]
  br label %171

171:                                              ; preds = %169, %148
  %172 = phi i32 [ 0, %148 ], [ %170, %169 ]
  store i32 %172, ptr %12, align 4, !tbaa !11
  br label %174

173:                                              ; preds = %119
  store i32 -2147483648, ptr %12, align 4, !tbaa !11
  br label %174

174:                                              ; preds = %173, %171
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %11, align 4, !tbaa !11
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 20
  %180 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %176, i64 noundef %179, i32 noundef %180)
  %181 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %181, ptr %11, align 4, !tbaa !11
  %182 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %182, ptr %12, align 4, !tbaa !11
  store i32 2, ptr %13, align 4, !tbaa !11
  %183 = load i32, ptr %13, align 4, !tbaa !11
  %184 = and i32 %183, 31
  %185 = load i32, ptr %12, align 4, !tbaa !11
  %186 = shl i32 %185, %184
  store i32 %186, ptr %12, align 4, !tbaa !11
  store i32 117712, ptr %13, align 4, !tbaa !11
  %187 = load i32, ptr %13, align 4, !tbaa !11
  %188 = load i32, ptr %12, align 4, !tbaa !11
  %189 = add i32 %188, %187
  store i32 %189, ptr %12, align 4, !tbaa !11
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %12, align 4, !tbaa !11
  %193 = zext i32 %192 to i64
  %194 = call i32 @i32_load(ptr noundef %191, i64 noundef %193)
  store i32 %194, ptr %12, align 4, !tbaa !11
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %11, align 4, !tbaa !11
  %198 = zext i32 %197 to i64
  %199 = add i64 %198, 12
  %200 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %196, i64 noundef %199, i32 noundef %200)
  %201 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %201, ptr %11, align 4, !tbaa !11
  %202 = load double, ptr %6, align 8, !tbaa !9
  store double %202, ptr %18, align 8, !tbaa !9
  store double 8.640000e+07, ptr %19, align 8, !tbaa !9
  %203 = load double, ptr %19, align 8, !tbaa !9
  %204 = load double, ptr %18, align 8, !tbaa !9
  %205 = fdiv double %204, %203
  store double %205, ptr %18, align 8, !tbaa !9
  %206 = load double, ptr %18, align 8, !tbaa !9
  %207 = call double @wasm_floor(double noundef %206)
  store double %207, ptr %18, align 8, !tbaa !9
  %208 = load double, ptr %18, align 8, !tbaa !9
  store double %208, ptr %6, align 8, !tbaa !9
  %209 = load double, ptr %7, align 8, !tbaa !9
  store double %209, ptr %19, align 8, !tbaa !9
  store double -1.601000e+03, ptr %20, align 8, !tbaa !9
  %210 = load double, ptr %20, align 8, !tbaa !9
  %211 = load double, ptr %19, align 8, !tbaa !9
  %212 = fadd double %211, %210
  store double %212, ptr %19, align 8, !tbaa !9
  store double 4.000000e+02, ptr %20, align 8, !tbaa !9
  %213 = load double, ptr %20, align 8, !tbaa !9
  %214 = load double, ptr %19, align 8, !tbaa !9
  %215 = fdiv double %214, %213
  store double %215, ptr %19, align 8, !tbaa !9
  %216 = load double, ptr %19, align 8, !tbaa !9
  %217 = call double @wasm_floor(double noundef %216)
  store double %217, ptr %19, align 8, !tbaa !9
  %218 = load double, ptr %7, align 8, !tbaa !9
  store double %218, ptr %20, align 8, !tbaa !9
  store double -1.970000e+03, ptr %21, align 8, !tbaa !9
  %219 = load double, ptr %21, align 8, !tbaa !9
  %220 = load double, ptr %20, align 8, !tbaa !9
  %221 = fadd double %220, %219
  store double %221, ptr %20, align 8, !tbaa !9
  store double 3.650000e+02, ptr %21, align 8, !tbaa !9
  %222 = load double, ptr %21, align 8, !tbaa !9
  %223 = load double, ptr %20, align 8, !tbaa !9
  %224 = fmul double %223, %222
  store double %224, ptr %20, align 8, !tbaa !9
  %225 = load double, ptr %7, align 8, !tbaa !9
  store double %225, ptr %21, align 8, !tbaa !9
  store double -1.969000e+03, ptr %22, align 8, !tbaa !9
  %226 = load double, ptr %22, align 8, !tbaa !9
  %227 = load double, ptr %21, align 8, !tbaa !9
  %228 = fadd double %227, %226
  store double %228, ptr %21, align 8, !tbaa !9
  store double 2.500000e-01, ptr %22, align 8, !tbaa !9
  %229 = load double, ptr %22, align 8, !tbaa !9
  %230 = load double, ptr %21, align 8, !tbaa !9
  %231 = fmul double %230, %229
  store double %231, ptr %21, align 8, !tbaa !9
  %232 = load double, ptr %21, align 8, !tbaa !9
  %233 = call double @wasm_floor(double noundef %232)
  store double %233, ptr %21, align 8, !tbaa !9
  %234 = load double, ptr %21, align 8, !tbaa !9
  %235 = load double, ptr %20, align 8, !tbaa !9
  %236 = fadd double %235, %234
  store double %236, ptr %20, align 8, !tbaa !9
  %237 = load double, ptr %7, align 8, !tbaa !9
  store double %237, ptr %21, align 8, !tbaa !9
  store double -1.901000e+03, ptr %22, align 8, !tbaa !9
  %238 = load double, ptr %22, align 8, !tbaa !9
  %239 = load double, ptr %21, align 8, !tbaa !9
  %240 = fadd double %239, %238
  store double %240, ptr %21, align 8, !tbaa !9
  store double 1.000000e+02, ptr %22, align 8, !tbaa !9
  %241 = load double, ptr %22, align 8, !tbaa !9
  %242 = load double, ptr %21, align 8, !tbaa !9
  %243 = fdiv double %242, %241
  store double %243, ptr %21, align 8, !tbaa !9
  %244 = load double, ptr %21, align 8, !tbaa !9
  %245 = call double @wasm_floor(double noundef %244)
  store double %245, ptr %21, align 8, !tbaa !9
  %246 = load double, ptr %21, align 8, !tbaa !9
  %247 = load double, ptr %20, align 8, !tbaa !9
  %248 = fsub double %247, %246
  store double %248, ptr %20, align 8, !tbaa !9
  %249 = load double, ptr %20, align 8, !tbaa !9
  %250 = load double, ptr %19, align 8, !tbaa !9
  %251 = fadd double %250, %249
  store double %251, ptr %19, align 8, !tbaa !9
  %252 = load double, ptr %19, align 8, !tbaa !9
  %253 = load double, ptr %18, align 8, !tbaa !9
  %254 = fsub double %253, %252
  store double %254, ptr %18, align 8, !tbaa !9
  %255 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %255, ptr %13, align 4, !tbaa !11
  %256 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %256, ptr %14, align 4, !tbaa !11
  store i32 1, ptr %15, align 4, !tbaa !11
  %257 = load i32, ptr %15, align 4, !tbaa !11
  %258 = and i32 %257, 31
  %259 = load i32, ptr %14, align 4, !tbaa !11
  %260 = shl i32 %259, %258
  store i32 %260, ptr %14, align 4, !tbaa !11
  %261 = load i32, ptr %14, align 4, !tbaa !11
  %262 = load i32, ptr %13, align 4, !tbaa !11
  %263 = add i32 %262, %261
  store i32 %263, ptr %13, align 4, !tbaa !11
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %13, align 4, !tbaa !11
  %267 = zext i32 %266 to i64
  %268 = call i32 @i32_load16_u(ptr noundef %265, i64 noundef %267)
  store i32 %268, ptr %13, align 4, !tbaa !11
  %269 = load i32, ptr %13, align 4, !tbaa !11
  %270 = uitofp i32 %269 to double
  store double %270, ptr %19, align 8, !tbaa !9
  %271 = load double, ptr %19, align 8, !tbaa !9
  %272 = load double, ptr %18, align 8, !tbaa !9
  %273 = fsub double %272, %271
  store double %273, ptr %18, align 8, !tbaa !9
  store double 1.000000e+00, ptr %19, align 8, !tbaa !9
  %274 = load double, ptr %19, align 8, !tbaa !9
  %275 = load double, ptr %18, align 8, !tbaa !9
  %276 = fadd double %275, %274
  store double %276, ptr %18, align 8, !tbaa !9
  %277 = load double, ptr %18, align 8, !tbaa !9
  store double %277, ptr %7, align 8, !tbaa !9
  %278 = load double, ptr %18, align 8, !tbaa !9
  %279 = call double @wasm_fabs(double noundef %278)
  store double %279, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %280 = load double, ptr %18, align 8, !tbaa !9
  %281 = load double, ptr %19, align 8, !tbaa !9
  %282 = fcmp olt double %280, %281
  %283 = zext i1 %282 to i32
  store i32 %283, ptr %12, align 4, !tbaa !11
  %284 = load i32, ptr %12, align 4, !tbaa !11
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %323

286:                                              ; preds = %174
  %287 = load double, ptr %7, align 8, !tbaa !9
  store double %287, ptr %18, align 8, !tbaa !9
  %288 = load double, ptr %18, align 8, !tbaa !9
  %289 = load double, ptr %18, align 8, !tbaa !9
  %290 = fcmp une double %288, %289
  %291 = xor i1 %290, true
  %292 = xor i1 %291, true
  %293 = zext i1 %292 to i32
  %294 = sext i32 %293 to i64
  %295 = call i64 @llvm.expect.i64(i64 %294, i64 0)
  %296 = icmp ne i64 %295, 0
  br i1 %296, label %297, label %299

297:                                              ; preds = %286
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

298:                                              ; No predecessors!
  br label %321

299:                                              ; preds = %286
  %300 = load double, ptr %18, align 8, !tbaa !9
  %301 = fcmp ogt double %300, 0xC1E0000000200000
  br i1 %301, label %302, label %305

302:                                              ; preds = %299
  %303 = load double, ptr %18, align 8, !tbaa !9
  %304 = fcmp olt double %303, 0x41E0000000000000
  br label %305

305:                                              ; preds = %302, %299
  %306 = phi i1 [ false, %299 ], [ %304, %302 ]
  %307 = xor i1 %306, true
  %308 = xor i1 %307, true
  %309 = xor i1 %308, true
  %310 = zext i1 %309 to i32
  %311 = sext i32 %310 to i64
  %312 = call i64 @llvm.expect.i64(i64 %311, i64 0)
  %313 = icmp ne i64 %312, 0
  br i1 %313, label %314, label %316

314:                                              ; preds = %305
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

315:                                              ; No predecessors!
  br label %319

316:                                              ; preds = %305
  %317 = load double, ptr %18, align 8, !tbaa !9
  %318 = fptosi double %317 to i32
  br label %319

319:                                              ; preds = %316, %315
  %320 = phi i32 [ 0, %315 ], [ %318, %316 ]
  br label %321

321:                                              ; preds = %319, %298
  %322 = phi i32 [ 0, %298 ], [ %320, %319 ]
  store i32 %322, ptr %12, align 4, !tbaa !11
  br label %324

323:                                              ; preds = %174
  store i32 -2147483648, ptr %12, align 4, !tbaa !11
  br label %324

324:                                              ; preds = %323, %321
  %325 = load ptr, ptr %5, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.w2c_hermes, ptr %325, i32 0, i32 6
  %327 = load i32, ptr %11, align 4, !tbaa !11
  %328 = zext i32 %327 to i64
  %329 = add i64 %328, 16
  %330 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %326, i64 noundef %329, i32 noundef %330)
  %331 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %331, ptr %11, align 4, !tbaa !11
  store i32 117888, ptr %12, align 4, !tbaa !11
  %332 = load ptr, ptr %5, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.w2c_hermes, ptr %332, i32 0, i32 6
  %334 = load i32, ptr %11, align 4, !tbaa !11
  %335 = zext i32 %334 to i64
  %336 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %333, i64 noundef %335, i32 noundef %336)
  %337 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %337, ptr %11, align 4, !tbaa !11
  store i32 55435, ptr %12, align 4, !tbaa !11
  %338 = load ptr, ptr %5, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.w2c_hermes, ptr %338, i32 0, i32 6
  %340 = load i32, ptr %11, align 4, !tbaa !11
  %341 = zext i32 %340 to i64
  %342 = add i64 %341, 4
  %343 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %339, i64 noundef %342, i32 noundef %343)
  %344 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %344, ptr %11, align 4, !tbaa !11
  %345 = load double, ptr %6, align 8, !tbaa !9
  store double %345, ptr %18, align 8, !tbaa !9
  store double 4.000000e+00, ptr %19, align 8, !tbaa !9
  %346 = load double, ptr %19, align 8, !tbaa !9
  %347 = load double, ptr %18, align 8, !tbaa !9
  %348 = fadd double %347, %346
  store double %348, ptr %18, align 8, !tbaa !9
  store double 7.000000e+00, ptr %19, align 8, !tbaa !9
  %349 = load ptr, ptr %5, align 8, !tbaa !5
  %350 = load double, ptr %18, align 8, !tbaa !9
  %351 = load double, ptr %19, align 8, !tbaa !9
  %352 = call double @w2c_hermes_fmod(ptr noundef %349, double noundef %350, double noundef %351)
  store double %352, ptr %18, align 8, !tbaa !9
  %353 = load double, ptr %18, align 8, !tbaa !9
  store double %353, ptr %6, align 8, !tbaa !9
  store double 7.000000e+00, ptr %19, align 8, !tbaa !9
  store double -0.000000e+00, ptr %20, align 8, !tbaa !9
  %354 = load double, ptr %6, align 8, !tbaa !9
  store double %354, ptr %21, align 8, !tbaa !9
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  %355 = load double, ptr %21, align 8, !tbaa !9
  %356 = load double, ptr %22, align 8, !tbaa !9
  %357 = fcmp olt double %355, %356
  %358 = zext i1 %357 to i32
  store i32 %358, ptr %15, align 4, !tbaa !11
  %359 = load i32, ptr %15, align 4, !tbaa !11
  %360 = icmp ne i32 %359, 0
  br i1 %360, label %361, label %363

361:                                              ; preds = %324
  %362 = load double, ptr %19, align 8, !tbaa !9
  br label %365

363:                                              ; preds = %324
  %364 = load double, ptr %20, align 8, !tbaa !9
  br label %365

365:                                              ; preds = %363, %361
  %366 = phi double [ %362, %361 ], [ %364, %363 ]
  store double %366, ptr %19, align 8, !tbaa !9
  %367 = load double, ptr %19, align 8, !tbaa !9
  %368 = load double, ptr %18, align 8, !tbaa !9
  %369 = fadd double %368, %367
  store double %369, ptr %18, align 8, !tbaa !9
  %370 = load double, ptr %18, align 8, !tbaa !9
  store double %370, ptr %6, align 8, !tbaa !9
  %371 = load double, ptr %18, align 8, !tbaa !9
  %372 = call double @wasm_fabs(double noundef %371)
  store double %372, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %373 = load double, ptr %18, align 8, !tbaa !9
  %374 = load double, ptr %19, align 8, !tbaa !9
  %375 = fcmp olt double %373, %374
  %376 = zext i1 %375 to i32
  store i32 %376, ptr %12, align 4, !tbaa !11
  %377 = load i32, ptr %12, align 4, !tbaa !11
  %378 = icmp ne i32 %377, 0
  br i1 %378, label %379, label %416

379:                                              ; preds = %365
  %380 = load double, ptr %6, align 8, !tbaa !9
  store double %380, ptr %18, align 8, !tbaa !9
  %381 = load double, ptr %18, align 8, !tbaa !9
  %382 = load double, ptr %18, align 8, !tbaa !9
  %383 = fcmp une double %381, %382
  %384 = xor i1 %383, true
  %385 = xor i1 %384, true
  %386 = zext i1 %385 to i32
  %387 = sext i32 %386 to i64
  %388 = call i64 @llvm.expect.i64(i64 %387, i64 0)
  %389 = icmp ne i64 %388, 0
  br i1 %389, label %390, label %392

390:                                              ; preds = %379
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

391:                                              ; No predecessors!
  br label %414

392:                                              ; preds = %379
  %393 = load double, ptr %18, align 8, !tbaa !9
  %394 = fcmp ogt double %393, 0xC1E0000000200000
  br i1 %394, label %395, label %398

395:                                              ; preds = %392
  %396 = load double, ptr %18, align 8, !tbaa !9
  %397 = fcmp olt double %396, 0x41E0000000000000
  br label %398

398:                                              ; preds = %395, %392
  %399 = phi i1 [ false, %392 ], [ %397, %395 ]
  %400 = xor i1 %399, true
  %401 = xor i1 %400, true
  %402 = xor i1 %401, true
  %403 = zext i1 %402 to i32
  %404 = sext i32 %403 to i64
  %405 = call i64 @llvm.expect.i64(i64 %404, i64 0)
  %406 = icmp ne i64 %405, 0
  br i1 %406, label %407, label %409

407:                                              ; preds = %398
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

408:                                              ; No predecessors!
  br label %412

409:                                              ; preds = %398
  %410 = load double, ptr %18, align 8, !tbaa !9
  %411 = fptosi double %410 to i32
  br label %412

412:                                              ; preds = %409, %408
  %413 = phi i32 [ 0, %408 ], [ %411, %409 ]
  br label %414

414:                                              ; preds = %412, %391
  %415 = phi i32 [ 0, %391 ], [ %413, %412 ]
  store i32 %415, ptr %12, align 4, !tbaa !11
  br label %417

416:                                              ; preds = %365
  store i32 -2147483648, ptr %12, align 4, !tbaa !11
  br label %417

417:                                              ; preds = %416, %414
  store i32 2, ptr %13, align 4, !tbaa !11
  %418 = load i32, ptr %13, align 4, !tbaa !11
  %419 = and i32 %418, 31
  %420 = load i32, ptr %12, align 4, !tbaa !11
  %421 = shl i32 %420, %419
  store i32 %421, ptr %12, align 4, !tbaa !11
  store i32 117680, ptr %13, align 4, !tbaa !11
  %422 = load i32, ptr %13, align 4, !tbaa !11
  %423 = load i32, ptr %12, align 4, !tbaa !11
  %424 = add i32 %423, %422
  store i32 %424, ptr %12, align 4, !tbaa !11
  %425 = load ptr, ptr %5, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.w2c_hermes, ptr %425, i32 0, i32 6
  %427 = load i32, ptr %12, align 4, !tbaa !11
  %428 = zext i32 %427 to i64
  %429 = call i32 @i32_load(ptr noundef %426, i64 noundef %428)
  store i32 %429, ptr %12, align 4, !tbaa !11
  %430 = load ptr, ptr %5, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.w2c_hermes, ptr %430, i32 0, i32 6
  %432 = load i32, ptr %11, align 4, !tbaa !11
  %433 = zext i32 %432 to i64
  %434 = add i64 %433, 8
  %435 = load i32, ptr %12, align 4, !tbaa !11
  call void @i32_store(ptr noundef %431, i64 noundef %434, i32 noundef %435)
  %436 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %436, ptr %11, align 4, !tbaa !11
  store i32 24, ptr %12, align 4, !tbaa !11
  %437 = load i32, ptr %12, align 4, !tbaa !11
  %438 = load i32, ptr %11, align 4, !tbaa !11
  %439 = add i32 %438, %437
  store i32 %439, ptr %11, align 4, !tbaa !11
  %440 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %440, ptr %8, align 4, !tbaa !11
  %441 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %441, ptr %12, align 4, !tbaa !11
  %442 = load ptr, ptr %5, align 8, !tbaa !5
  %443 = load i32, ptr %11, align 4, !tbaa !11
  %444 = load i32, ptr %12, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef %442, i32 noundef %443, i32 noundef %444)
  %445 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %445, ptr %11, align 4, !tbaa !11
  %446 = load ptr, ptr %5, align 8, !tbaa !5
  %447 = load i32, ptr %11, align 4, !tbaa !11
  %448 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef %446, i32 noundef %447)
  store i32 %448, ptr %11, align 4, !tbaa !11
  %449 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %449, ptr %11, align 4, !tbaa !11
  store i32 48, ptr %12, align 4, !tbaa !11
  %450 = load i32, ptr %12, align 4, !tbaa !11
  %451 = load i32, ptr %11, align 4, !tbaa !11
  %452 = add i32 %451, %450
  store i32 %452, ptr %11, align 4, !tbaa !11
  %453 = load i32, ptr %11, align 4, !tbaa !11
  %454 = load ptr, ptr %5, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.w2c_hermes, ptr %454, i32 0, i32 3
  store i32 %453, ptr %455, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void
}

declare void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #2

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 = { "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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !12, 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, !12, i64 8, !12, 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

declare void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_floor(double noundef) local_unnamed_addr #3

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #1

declare double @w2c_hermes_fmod(ptr noundef, double noundef, double noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateString0x28double0x2C0x20double0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %7 to i64
  %10 = add nuw nsw i64 %9, 36
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %10, i64 noundef 4294967296)
  %11 = add nuw nsw i64 %9, 28
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %11, i64 noundef 0)
  %12 = add nuw nsw i64 %9, 44
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %3)
  %13 = add nuw nsw i64 %9, 24
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %13, i32 noundef 110132)
  %14 = add i32 %6, -24
  tail call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef %0, i32 noundef %14) #4
  %15 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %0, double noundef %1) #4
  %16 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %15, double noundef 4.000000e+00) #4
  %17 = fcmp une double %16, 0.000000e+00
  br i1 %17, label %25, label %18

18:                                               ; preds = %4
  %19 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %15, double noundef 4.000000e+02) #4
  %20 = fcmp oeq double %19, 0.000000e+00
  %21 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %15, double noundef 1.000000e+02) #4
  %22 = fcmp une double %21, 0.000000e+00
  %23 = select i1 %22, i1 true, i1 %20
  %24 = select i1 %23, i32 79184, i32 79152
  br label %25

25:                                               ; preds = %4, %18
  %.0210 = phi i32 [ %24, %18 ], [ 79152, %4 ]
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %1) #4
  %27 = tail call double @wasm_fabs(double noundef %15)
  %28 = fcmp olt double %27, 0x41E0000000000000
  br i1 %28, label %29, label %38

29:                                               ; preds = %25
  %30 = fcmp uno double %15, 0.000000e+00
  br i1 %30, label %31, label %32, !prof !15

31:                                               ; preds = %29
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

32:                                               ; preds = %29
  %33 = fcmp ule double %15, 0xC1E0000000200000
  %34 = fcmp uge double %15, 0x41E0000000000000
  %.not212 = or i1 %33, %34
  br i1 %.not212, label %35, label %36, !prof !15

35:                                               ; preds = %32
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

36:                                               ; preds = %32
  %37 = fptosi double %15 to i32
  br label %38

38:                                               ; preds = %25, %36
  %.0 = phi i32 [ %37, %36 ], [ -2147483648, %25 ]
  %39 = add nuw nsw i64 %9, 20
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %39, i32 noundef %.0)
  %40 = shl i32 %26, 2
  %41 = add i32 %40, 117712
  %42 = zext i32 %41 to i64
  %43 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %42)
  %44 = add nuw nsw i64 %9, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %44, i32 noundef %43)
  %45 = fdiv double %1, 8.640000e+07
  %46 = tail call double @wasm_floor(double noundef %45)
  %47 = fadd double %15, -1.601000e+03
  %48 = fdiv double %47, 4.000000e+02
  %49 = tail call double @wasm_floor(double noundef %48)
  %50 = fadd double %15, -1.970000e+03
  %51 = fmul double %50, 3.650000e+02
  %52 = fadd double %15, -1.969000e+03
  %53 = fmul double %52, 2.500000e-01
  %54 = tail call double @wasm_floor(double noundef %53)
  %55 = fadd double %51, %54
  %56 = fadd double %15, -1.901000e+03
  %57 = fdiv double %56, 1.000000e+02
  %58 = tail call double @wasm_floor(double noundef %57)
  %59 = fsub double %55, %58
  %60 = fadd double %49, %59
  %61 = fsub double %46, %60
  %62 = shl i32 %26, 1
  %63 = add i32 %62, %.0210
  %64 = zext i32 %63 to i64
  %65 = tail call i32 @i32_load16_u(ptr noundef nonnull %8, i64 noundef %64)
  %66 = uitofp i32 %65 to double
  %67 = fsub double %61, %66
  %68 = fadd double %67, 1.000000e+00
  %69 = tail call double @wasm_fabs(double noundef %68)
  %70 = fcmp olt double %69, 0x41E0000000000000
  br i1 %70, label %71, label %80

71:                                               ; preds = %38
  %72 = fcmp uno double %68, 0.000000e+00
  br i1 %72, label %73, label %74, !prof !15

73:                                               ; preds = %71
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

74:                                               ; preds = %71
  %75 = fcmp ule double %68, 0xC1E0000000200000
  %76 = fcmp uge double %68, 0x41E0000000000000
  %.not214 = or i1 %75, %76
  br i1 %.not214, label %77, label %78, !prof !15

77:                                               ; preds = %74
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

78:                                               ; preds = %74
  %79 = fptosi double %68 to i32
  br label %80

80:                                               ; preds = %38, %78
  %.1 = phi i32 [ %79, %78 ], [ -2147483648, %38 ]
  %81 = add nuw nsw i64 %9, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %81, i32 noundef %.1)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %9, i32 noundef 117888)
  %82 = add nuw nsw i64 %9, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %82, i32 noundef 55435)
  %83 = fadd double %46, 4.000000e+00
  %84 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %83, double noundef 7.000000e+00) #4
  %85 = fcmp olt double %84, 0.000000e+00
  %86 = select i1 %85, double 7.000000e+00, double -0.000000e+00
  %87 = fadd double %84, %86
  %88 = tail call double @wasm_fabs(double noundef %87)
  %89 = fcmp olt double %88, 0x41E0000000000000
  br i1 %89, label %90, label %102

90:                                               ; preds = %80
  %91 = fcmp uno double %87, 0.000000e+00
  br i1 %91, label %92, label %93, !prof !15

92:                                               ; preds = %90
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

93:                                               ; preds = %90
  %94 = fcmp ule double %87, 0xC1E0000000200000
  %95 = fcmp uge double %87, 0x41E0000000000000
  %.not216 = or i1 %94, %95
  br i1 %.not216, label %96, label %97, !prof !15

96:                                               ; preds = %93
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

97:                                               ; preds = %93
  %98 = fptosi double %87 to i32
  %99 = shl i32 %98, 2
  %100 = add i32 %99, 117680
  %101 = zext i32 %100 to i64
  br label %102

102:                                              ; preds = %80, %97
  %.2 = phi i64 [ %101, %97 ], [ 117680, %80 ]
  %103 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.2)
  %104 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %104, i32 noundef %103)
  tail call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %7) #4
  %105 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef nonnull %0, i32 noundef %14) #4
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

declare void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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 = { "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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!"branch_weights", !"expected", i32 1, i32 2000}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass