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

; 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_store8(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 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: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #2

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #4

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeTZString0x28double0x2C0x20double0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #4 {
  %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 double, align 8
  %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 i64, 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 8, ptr %11) #6
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  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 4, 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 %12, align 4, !tbaa !11
  store i32 48, ptr %13, align 4, !tbaa !11
  %26 = load i32, ptr %13, align 4, !tbaa !11
  %27 = load i32, ptr %12, align 4, !tbaa !11
  %28 = sub i32 %27, %26
  store i32 %28, ptr %12, align 4, !tbaa !11
  %29 = load i32, ptr %12, align 4, !tbaa !11
  store i32 %29, ptr %9, align 4, !tbaa !11
  %30 = load i32, ptr %12, 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 %12, align 4, !tbaa !11
  store i64 4294967296, ptr %17, 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 %12, align 4, !tbaa !11
  %37 = zext i32 %36 to i64
  %38 = add i64 %37, 36
  %39 = load i64, ptr %17, 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 %12, align 4, !tbaa !11
  store i64 0, ptr %17, 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 %12, align 4, !tbaa !11
  %44 = zext i32 %43 to i64
  %45 = add i64 %44, 28
  %46 = load i64, ptr %17, 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 %12, align 4, !tbaa !11
  %48 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %48, ptr %13, 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 %12, align 4, !tbaa !11
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 44
  %54 = load i32, ptr %13, 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 %12, align 4, !tbaa !11
  store i32 110132, ptr %13, 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 %12, align 4, !tbaa !11
  %59 = zext i32 %58 to i64
  %60 = add i64 %59, 24
  %61 = load i32, ptr %13, 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 %12, align 4, !tbaa !11
  store i32 24, ptr %13, align 4, !tbaa !11
  %63 = load i32, ptr %13, align 4, !tbaa !11
  %64 = load i32, ptr %12, align 4, !tbaa !11
  %65 = add i32 %64, %63
  store i32 %65, ptr %12, align 4, !tbaa !11
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i32, ptr %12, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef %66, i32 noundef %67)
  %68 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %68, ptr %12, align 4, !tbaa !11
  %69 = load double, ptr %6, align 8, !tbaa !9
  store double %69, ptr %18, align 8, !tbaa !9
  store double 1.000000e+03, ptr %19, align 8, !tbaa !9
  %70 = load double, ptr %19, align 8, !tbaa !9
  %71 = load double, ptr %18, align 8, !tbaa !9
  %72 = fdiv double %71, %70
  store double %72, ptr %18, align 8, !tbaa !9
  %73 = load double, ptr %18, align 8, !tbaa !9
  %74 = call double @wasm_floor(double noundef %73)
  store double %74, ptr %18, align 8, !tbaa !9
  store double 6.000000e+01, ptr %19, align 8, !tbaa !9
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = load double, ptr %18, align 8, !tbaa !9
  %77 = load double, ptr %19, align 8, !tbaa !9
  %78 = call double @w2c_hermes_fmod(ptr noundef %75, double noundef %76, double noundef %77)
  store double %78, ptr %18, align 8, !tbaa !9
  %79 = load double, ptr %18, align 8, !tbaa !9
  store double %79, ptr %11, align 8, !tbaa !9
  store double 6.000000e+01, ptr %19, align 8, !tbaa !9
  store double -0.000000e+00, ptr %20, align 8, !tbaa !9
  %80 = load double, ptr %11, align 8, !tbaa !9
  store double %80, ptr %21, align 8, !tbaa !9
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  %81 = load double, ptr %21, align 8, !tbaa !9
  %82 = load double, ptr %22, align 8, !tbaa !9
  %83 = fcmp olt double %81, %82
  %84 = zext i1 %83 to i32
  store i32 %84, ptr %16, align 4, !tbaa !11
  %85 = load i32, ptr %16, align 4, !tbaa !11
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %89

87:                                               ; preds = %4
  %88 = load double, ptr %19, align 8, !tbaa !9
  br label %91

89:                                               ; preds = %4
  %90 = load double, ptr %20, align 8, !tbaa !9
  br label %91

91:                                               ; preds = %89, %87
  %92 = phi double [ %88, %87 ], [ %90, %89 ]
  store double %92, ptr %19, align 8, !tbaa !9
  %93 = load double, ptr %19, align 8, !tbaa !9
  %94 = load double, ptr %18, align 8, !tbaa !9
  %95 = fadd double %94, %93
  store double %95, ptr %18, align 8, !tbaa !9
  %96 = load double, ptr %18, align 8, !tbaa !9
  store double %96, ptr %11, align 8, !tbaa !9
  %97 = load double, ptr %18, align 8, !tbaa !9
  %98 = call double @wasm_fabs(double noundef %97)
  store double %98, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %99 = load double, ptr %18, align 8, !tbaa !9
  %100 = load double, ptr %19, align 8, !tbaa !9
  %101 = fcmp olt double %99, %100
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %13, align 4, !tbaa !11
  %103 = load i32, ptr %13, align 4, !tbaa !11
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %142

105:                                              ; preds = %91
  %106 = load double, ptr %11, align 8, !tbaa !9
  store double %106, ptr %18, align 8, !tbaa !9
  %107 = load double, ptr %18, align 8, !tbaa !9
  %108 = load double, ptr %18, align 8, !tbaa !9
  %109 = fcmp une double %107, %108
  %110 = xor i1 %109, true
  %111 = xor i1 %110, true
  %112 = zext i1 %111 to i32
  %113 = sext i32 %112 to i64
  %114 = call i64 @llvm.expect.i64(i64 %113, i64 0)
  %115 = icmp ne i64 %114, 0
  br i1 %115, label %116, label %118

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

117:                                              ; No predecessors!
  br label %140

118:                                              ; preds = %105
  %119 = load double, ptr %18, align 8, !tbaa !9
  %120 = fcmp ogt double %119, 0xC1E0000000200000
  br i1 %120, label %121, label %124

121:                                              ; preds = %118
  %122 = load double, ptr %18, align 8, !tbaa !9
  %123 = fcmp olt double %122, 0x41E0000000000000
  br label %124

124:                                              ; preds = %121, %118
  %125 = phi i1 [ false, %118 ], [ %123, %121 ]
  %126 = xor i1 %125, true
  %127 = xor i1 %126, true
  %128 = xor i1 %127, true
  %129 = zext i1 %128 to i32
  %130 = sext i32 %129 to i64
  %131 = call i64 @llvm.expect.i64(i64 %130, i64 0)
  %132 = icmp ne i64 %131, 0
  br i1 %132, label %133, label %135

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

134:                                              ; No predecessors!
  br label %138

135:                                              ; preds = %124
  %136 = load double, ptr %18, align 8, !tbaa !9
  %137 = fptosi double %136 to i32
  br label %138

138:                                              ; preds = %135, %134
  %139 = phi i32 [ 0, %134 ], [ %137, %135 ]
  br label %140

140:                                              ; preds = %138, %117
  %141 = phi i32 [ 0, %117 ], [ %139, %138 ]
  store i32 %141, ptr %13, align 4, !tbaa !11
  br label %143

142:                                              ; preds = %91
  store i32 -2147483648, ptr %13, align 4, !tbaa !11
  br label %143

143:                                              ; preds = %142, %140
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %12, align 4, !tbaa !11
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 20
  %149 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %145, i64 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %150, ptr %12, align 4, !tbaa !11
  %151 = load double, ptr %6, align 8, !tbaa !9
  store double %151, ptr %18, align 8, !tbaa !9
  store double 6.000000e+04, ptr %19, align 8, !tbaa !9
  %152 = load double, ptr %19, align 8, !tbaa !9
  %153 = load double, ptr %18, align 8, !tbaa !9
  %154 = fdiv double %153, %152
  store double %154, ptr %18, align 8, !tbaa !9
  %155 = load double, ptr %18, align 8, !tbaa !9
  %156 = call double @wasm_floor(double noundef %155)
  store double %156, ptr %18, align 8, !tbaa !9
  store double 6.000000e+01, ptr %19, align 8, !tbaa !9
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = load double, ptr %18, align 8, !tbaa !9
  %159 = load double, ptr %19, align 8, !tbaa !9
  %160 = call double @w2c_hermes_fmod(ptr noundef %157, double noundef %158, double noundef %159)
  store double %160, ptr %18, align 8, !tbaa !9
  %161 = load double, ptr %18, align 8, !tbaa !9
  store double %161, ptr %11, align 8, !tbaa !9
  store double 6.000000e+01, ptr %19, align 8, !tbaa !9
  store double -0.000000e+00, ptr %20, align 8, !tbaa !9
  %162 = load double, ptr %11, align 8, !tbaa !9
  store double %162, ptr %21, align 8, !tbaa !9
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  %163 = load double, ptr %21, align 8, !tbaa !9
  %164 = load double, ptr %22, align 8, !tbaa !9
  %165 = fcmp olt double %163, %164
  %166 = zext i1 %165 to i32
  store i32 %166, ptr %16, align 4, !tbaa !11
  %167 = load i32, ptr %16, align 4, !tbaa !11
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %171

169:                                              ; preds = %143
  %170 = load double, ptr %19, align 8, !tbaa !9
  br label %173

171:                                              ; preds = %143
  %172 = load double, ptr %20, align 8, !tbaa !9
  br label %173

173:                                              ; preds = %171, %169
  %174 = phi double [ %170, %169 ], [ %172, %171 ]
  store double %174, ptr %19, align 8, !tbaa !9
  %175 = load double, ptr %19, align 8, !tbaa !9
  %176 = load double, ptr %18, align 8, !tbaa !9
  %177 = fadd double %176, %175
  store double %177, ptr %18, align 8, !tbaa !9
  %178 = load double, ptr %18, align 8, !tbaa !9
  store double %178, ptr %11, align 8, !tbaa !9
  %179 = load double, ptr %18, align 8, !tbaa !9
  %180 = call double @wasm_fabs(double noundef %179)
  store double %180, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %181 = load double, ptr %18, align 8, !tbaa !9
  %182 = load double, ptr %19, align 8, !tbaa !9
  %183 = fcmp olt double %181, %182
  %184 = zext i1 %183 to i32
  store i32 %184, ptr %13, align 4, !tbaa !11
  %185 = load i32, ptr %13, align 4, !tbaa !11
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %224

187:                                              ; preds = %173
  %188 = load double, ptr %11, align 8, !tbaa !9
  store double %188, ptr %18, align 8, !tbaa !9
  %189 = load double, ptr %18, align 8, !tbaa !9
  %190 = load double, ptr %18, align 8, !tbaa !9
  %191 = fcmp une double %189, %190
  %192 = xor i1 %191, true
  %193 = xor i1 %192, true
  %194 = zext i1 %193 to i32
  %195 = sext i32 %194 to i64
  %196 = call i64 @llvm.expect.i64(i64 %195, i64 0)
  %197 = icmp ne i64 %196, 0
  br i1 %197, label %198, label %200

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

199:                                              ; No predecessors!
  br label %222

200:                                              ; preds = %187
  %201 = load double, ptr %18, align 8, !tbaa !9
  %202 = fcmp ogt double %201, 0xC1E0000000200000
  br i1 %202, label %203, label %206

203:                                              ; preds = %200
  %204 = load double, ptr %18, align 8, !tbaa !9
  %205 = fcmp olt double %204, 0x41E0000000000000
  br label %206

206:                                              ; preds = %203, %200
  %207 = phi i1 [ false, %200 ], [ %205, %203 ]
  %208 = xor i1 %207, true
  %209 = xor i1 %208, true
  %210 = xor i1 %209, true
  %211 = zext i1 %210 to i32
  %212 = sext i32 %211 to i64
  %213 = call i64 @llvm.expect.i64(i64 %212, i64 0)
  %214 = icmp ne i64 %213, 0
  br i1 %214, label %215, label %217

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

216:                                              ; No predecessors!
  br label %220

217:                                              ; preds = %206
  %218 = load double, ptr %18, align 8, !tbaa !9
  %219 = fptosi double %218 to i32
  br label %220

220:                                              ; preds = %217, %216
  %221 = phi i32 [ 0, %216 ], [ %219, %217 ]
  br label %222

222:                                              ; preds = %220, %199
  %223 = phi i32 [ 0, %199 ], [ %221, %220 ]
  store i32 %223, ptr %13, align 4, !tbaa !11
  br label %225

224:                                              ; preds = %173
  store i32 -2147483648, ptr %13, align 4, !tbaa !11
  br label %225

225:                                              ; preds = %224, %222
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %12, align 4, !tbaa !11
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 16
  %231 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %227, i64 noundef %230, i32 noundef %231)
  %232 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %232, ptr %12, align 4, !tbaa !11
  store i32 117840, ptr %13, align 4, !tbaa !11
  %233 = load ptr, ptr %5, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.w2c_hermes, ptr %233, i32 0, i32 6
  %235 = load i32, ptr %12, align 4, !tbaa !11
  %236 = zext i32 %235 to i64
  %237 = add i64 %236, 4
  %238 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %234, i64 noundef %237, i32 noundef %238)
  %239 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %239, ptr %12, align 4, !tbaa !11
  store i32 55933, ptr %13, align 4, !tbaa !11
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %12, align 4, !tbaa !11
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 8
  %245 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %241, i64 noundef %244, i32 noundef %245)
  %246 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %246, ptr %12, align 4, !tbaa !11
  %247 = load double, ptr %6, align 8, !tbaa !9
  store double %247, ptr %18, align 8, !tbaa !9
  store double 3.600000e+06, ptr %19, align 8, !tbaa !9
  %248 = load double, ptr %19, align 8, !tbaa !9
  %249 = load double, ptr %18, align 8, !tbaa !9
  %250 = fdiv double %249, %248
  store double %250, ptr %18, align 8, !tbaa !9
  %251 = load double, ptr %18, align 8, !tbaa !9
  %252 = call double @wasm_floor(double noundef %251)
  store double %252, ptr %18, align 8, !tbaa !9
  store double 2.400000e+01, ptr %19, align 8, !tbaa !9
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = load double, ptr %18, align 8, !tbaa !9
  %255 = load double, ptr %19, align 8, !tbaa !9
  %256 = call double @w2c_hermes_fmod(ptr noundef %253, double noundef %254, double noundef %255)
  store double %256, ptr %18, align 8, !tbaa !9
  %257 = load double, ptr %18, align 8, !tbaa !9
  store double %257, ptr %6, align 8, !tbaa !9
  store double 2.400000e+01, ptr %19, align 8, !tbaa !9
  store double -0.000000e+00, ptr %20, align 8, !tbaa !9
  %258 = load double, ptr %6, align 8, !tbaa !9
  store double %258, ptr %21, align 8, !tbaa !9
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  %259 = load double, ptr %21, align 8, !tbaa !9
  %260 = load double, ptr %22, align 8, !tbaa !9
  %261 = fcmp olt double %259, %260
  %262 = zext i1 %261 to i32
  store i32 %262, ptr %16, align 4, !tbaa !11
  %263 = load i32, ptr %16, align 4, !tbaa !11
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %265, label %267

265:                                              ; preds = %225
  %266 = load double, ptr %19, align 8, !tbaa !9
  br label %269

267:                                              ; preds = %225
  %268 = load double, ptr %20, align 8, !tbaa !9
  br label %269

269:                                              ; preds = %267, %265
  %270 = phi double [ %266, %265 ], [ %268, %267 ]
  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 = fadd double %272, %271
  store double %273, ptr %18, align 8, !tbaa !9
  %274 = load double, ptr %18, align 8, !tbaa !9
  store double %274, ptr %6, align 8, !tbaa !9
  %275 = load double, ptr %18, align 8, !tbaa !9
  %276 = call double @wasm_fabs(double noundef %275)
  store double %276, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %277 = load double, ptr %18, align 8, !tbaa !9
  %278 = load double, ptr %19, align 8, !tbaa !9
  %279 = fcmp olt double %277, %278
  %280 = zext i1 %279 to i32
  store i32 %280, ptr %13, align 4, !tbaa !11
  %281 = load i32, ptr %13, align 4, !tbaa !11
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %283, label %320

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

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

295:                                              ; No predecessors!
  br label %318

296:                                              ; preds = %283
  %297 = load double, ptr %18, align 8, !tbaa !9
  %298 = fcmp ogt double %297, 0xC1E0000000200000
  br i1 %298, label %299, label %302

299:                                              ; preds = %296
  %300 = load double, ptr %18, align 8, !tbaa !9
  %301 = fcmp olt double %300, 0x41E0000000000000
  br label %302

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

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

312:                                              ; No predecessors!
  br label %316

313:                                              ; preds = %302
  %314 = load double, ptr %18, align 8, !tbaa !9
  %315 = fptosi double %314 to i32
  br label %316

316:                                              ; preds = %313, %312
  %317 = phi i32 [ 0, %312 ], [ %315, %313 ]
  br label %318

318:                                              ; preds = %316, %295
  %319 = phi i32 [ 0, %295 ], [ %317, %316 ]
  store i32 %319, ptr %13, align 4, !tbaa !11
  br label %321

320:                                              ; preds = %269
  store i32 -2147483648, ptr %13, align 4, !tbaa !11
  br label %321

321:                                              ; preds = %320, %318
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 6
  %324 = load i32, ptr %12, align 4, !tbaa !11
  %325 = zext i32 %324 to i64
  %326 = add i64 %325, 12
  %327 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %323, i64 noundef %326, i32 noundef %327)
  %328 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %328, ptr %12, align 4, !tbaa !11
  store i32 24, ptr %13, align 4, !tbaa !11
  %329 = load i32, ptr %13, align 4, !tbaa !11
  %330 = load i32, ptr %12, align 4, !tbaa !11
  %331 = add i32 %330, %329
  store i32 %331, ptr %12, align 4, !tbaa !11
  %332 = load i32, ptr %12, align 4, !tbaa !11
  store i32 %332, ptr %10, align 4, !tbaa !11
  %333 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %333, ptr %13, align 4, !tbaa !11
  store i32 4, ptr %14, align 4, !tbaa !11
  %334 = load i32, ptr %14, align 4, !tbaa !11
  %335 = load i32, ptr %13, align 4, !tbaa !11
  %336 = add i32 %335, %334
  store i32 %336, ptr %13, align 4, !tbaa !11
  %337 = load ptr, ptr %5, align 8, !tbaa !5
  %338 = load i32, ptr %12, align 4, !tbaa !11
  %339 = load i32, ptr %13, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef %337, i32 noundef %338, i32 noundef %339)
  %340 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %340, ptr %12, align 4, !tbaa !11
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = load i32, ptr %12, align 4, !tbaa !11
  %343 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef %341, i32 noundef %342)
  store i32 %343, ptr %12, align 4, !tbaa !11
  %344 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %344, ptr %12, align 4, !tbaa !11
  store i64 4294967296, ptr %17, align 8, !tbaa !19
  %345 = load ptr, ptr %5, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.w2c_hermes, ptr %345, i32 0, i32 6
  %347 = load i32, ptr %12, align 4, !tbaa !11
  %348 = zext i32 %347 to i64
  %349 = add i64 %348, 36
  %350 = load i64, ptr %17, align 8, !tbaa !19
  call void @i64_store(ptr noundef %346, i64 noundef %349, i64 noundef %350)
  %351 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %351, ptr %12, align 4, !tbaa !11
  store i64 0, ptr %17, align 8, !tbaa !19
  %352 = load ptr, ptr %5, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.w2c_hermes, ptr %352, i32 0, i32 6
  %354 = load i32, ptr %12, align 4, !tbaa !11
  %355 = zext i32 %354 to i64
  %356 = add i64 %355, 28
  %357 = load i64, ptr %17, align 8, !tbaa !19
  call void @i64_store(ptr noundef %353, i64 noundef %356, i64 noundef %357)
  %358 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %358, ptr %12, align 4, !tbaa !11
  %359 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %359, ptr %13, align 4, !tbaa !11
  %360 = load ptr, ptr %5, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.w2c_hermes, ptr %360, i32 0, i32 6
  %362 = load i32, ptr %12, align 4, !tbaa !11
  %363 = zext i32 %362 to i64
  %364 = add i64 %363, 44
  %365 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %361, i64 noundef %364, i32 noundef %365)
  %366 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %366, ptr %12, align 4, !tbaa !11
  store i32 110132, ptr %13, align 4, !tbaa !11
  %367 = load ptr, ptr %5, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.w2c_hermes, ptr %367, i32 0, i32 6
  %369 = load i32, ptr %12, align 4, !tbaa !11
  %370 = zext i32 %369 to i64
  %371 = add i64 %370, 24
  %372 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %368, i64 noundef %371, i32 noundef %372)
  %373 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %373, ptr %12, align 4, !tbaa !11
  %374 = load ptr, ptr %5, align 8, !tbaa !5
  %375 = load i32, ptr %12, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef %374, i32 noundef %375)
  %376 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %376, ptr %12, align 4, !tbaa !11
  %377 = load double, ptr %7, align 8, !tbaa !9
  store double %377, ptr %18, align 8, !tbaa !9
  %378 = load double, ptr %18, align 8, !tbaa !9
  %379 = call double @wasm_fabs(double noundef %378)
  store double %379, ptr %18, align 8, !tbaa !9
  %380 = load double, ptr %18, align 8, !tbaa !9
  store double %380, ptr %6, align 8, !tbaa !9
  store double 6.000000e+04, ptr %19, align 8, !tbaa !9
  %381 = load double, ptr %19, align 8, !tbaa !9
  %382 = load double, ptr %18, align 8, !tbaa !9
  %383 = fdiv double %382, %381
  store double %383, ptr %18, align 8, !tbaa !9
  %384 = load double, ptr %18, align 8, !tbaa !9
  %385 = call double @wasm_floor(double noundef %384)
  store double %385, ptr %18, align 8, !tbaa !9
  store double 6.000000e+01, ptr %19, align 8, !tbaa !9
  %386 = load ptr, ptr %5, align 8, !tbaa !5
  %387 = load double, ptr %18, align 8, !tbaa !9
  %388 = load double, ptr %19, align 8, !tbaa !9
  %389 = call double @w2c_hermes_fmod(ptr noundef %386, double noundef %387, double noundef %388)
  store double %389, ptr %18, align 8, !tbaa !9
  %390 = load double, ptr %18, align 8, !tbaa !9
  store double %390, ptr %11, align 8, !tbaa !9
  %391 = load double, ptr %18, align 8, !tbaa !9
  %392 = call double @wasm_fabs(double noundef %391)
  store double %392, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %393 = load double, ptr %18, align 8, !tbaa !9
  %394 = load double, ptr %19, align 8, !tbaa !9
  %395 = fcmp olt double %393, %394
  %396 = zext i1 %395 to i32
  store i32 %396, ptr %13, align 4, !tbaa !11
  %397 = load i32, ptr %13, align 4, !tbaa !11
  %398 = icmp ne i32 %397, 0
  br i1 %398, label %399, label %436

399:                                              ; preds = %321
  %400 = load double, ptr %11, align 8, !tbaa !9
  store double %400, ptr %18, align 8, !tbaa !9
  %401 = load double, ptr %18, align 8, !tbaa !9
  %402 = load double, ptr %18, align 8, !tbaa !9
  %403 = fcmp une double %401, %402
  %404 = xor i1 %403, true
  %405 = xor i1 %404, true
  %406 = zext i1 %405 to i32
  %407 = sext i32 %406 to i64
  %408 = call i64 @llvm.expect.i64(i64 %407, i64 0)
  %409 = icmp ne i64 %408, 0
  br i1 %409, label %410, label %412

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

411:                                              ; No predecessors!
  br label %434

412:                                              ; preds = %399
  %413 = load double, ptr %18, align 8, !tbaa !9
  %414 = fcmp ogt double %413, 0xC1E0000000200000
  br i1 %414, label %415, label %418

415:                                              ; preds = %412
  %416 = load double, ptr %18, align 8, !tbaa !9
  %417 = fcmp olt double %416, 0x41E0000000000000
  br label %418

418:                                              ; preds = %415, %412
  %419 = phi i1 [ false, %412 ], [ %417, %415 ]
  %420 = xor i1 %419, true
  %421 = xor i1 %420, true
  %422 = xor i1 %421, true
  %423 = zext i1 %422 to i32
  %424 = sext i32 %423 to i64
  %425 = call i64 @llvm.expect.i64(i64 %424, i64 0)
  %426 = icmp ne i64 %425, 0
  br i1 %426, label %427, label %429

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

428:                                              ; No predecessors!
  br label %432

429:                                              ; preds = %418
  %430 = load double, ptr %18, align 8, !tbaa !9
  %431 = fptosi double %430 to i32
  br label %432

432:                                              ; preds = %429, %428
  %433 = phi i32 [ 0, %428 ], [ %431, %429 ]
  br label %434

434:                                              ; preds = %432, %411
  %435 = phi i32 [ 0, %411 ], [ %433, %432 ]
  store i32 %435, ptr %13, align 4, !tbaa !11
  br label %437

436:                                              ; preds = %321
  store i32 -2147483648, ptr %13, align 4, !tbaa !11
  br label %437

437:                                              ; preds = %436, %434
  %438 = load ptr, ptr %5, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.w2c_hermes, ptr %438, i32 0, i32 6
  %440 = load i32, ptr %12, align 4, !tbaa !11
  %441 = zext i32 %440 to i64
  %442 = add i64 %441, 20
  %443 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %439, i64 noundef %442, i32 noundef %443)
  %444 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %444, ptr %12, align 4, !tbaa !11
  %445 = load double, ptr %6, align 8, !tbaa !9
  store double %445, ptr %18, align 8, !tbaa !9
  store double 3.600000e+06, ptr %19, align 8, !tbaa !9
  %446 = load double, ptr %19, align 8, !tbaa !9
  %447 = load double, ptr %18, align 8, !tbaa !9
  %448 = fdiv double %447, %446
  store double %448, ptr %18, align 8, !tbaa !9
  %449 = load double, ptr %18, align 8, !tbaa !9
  %450 = call double @wasm_floor(double noundef %449)
  store double %450, ptr %18, align 8, !tbaa !9
  store double 2.400000e+01, ptr %19, align 8, !tbaa !9
  %451 = load ptr, ptr %5, align 8, !tbaa !5
  %452 = load double, ptr %18, align 8, !tbaa !9
  %453 = load double, ptr %19, align 8, !tbaa !9
  %454 = call double @w2c_hermes_fmod(ptr noundef %451, double noundef %452, double noundef %453)
  store double %454, ptr %18, align 8, !tbaa !9
  %455 = load double, ptr %18, align 8, !tbaa !9
  store double %455, ptr %6, align 8, !tbaa !9
  %456 = load double, ptr %18, align 8, !tbaa !9
  %457 = call double @wasm_fabs(double noundef %456)
  store double %457, ptr %18, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %19, align 8, !tbaa !9
  %458 = load double, ptr %18, align 8, !tbaa !9
  %459 = load double, ptr %19, align 8, !tbaa !9
  %460 = fcmp olt double %458, %459
  %461 = zext i1 %460 to i32
  store i32 %461, ptr %13, align 4, !tbaa !11
  %462 = load i32, ptr %13, align 4, !tbaa !11
  %463 = icmp ne i32 %462, 0
  br i1 %463, label %464, label %501

464:                                              ; preds = %437
  %465 = load double, ptr %6, align 8, !tbaa !9
  store double %465, ptr %18, align 8, !tbaa !9
  %466 = load double, ptr %18, align 8, !tbaa !9
  %467 = load double, ptr %18, align 8, !tbaa !9
  %468 = fcmp une double %466, %467
  %469 = xor i1 %468, true
  %470 = xor i1 %469, true
  %471 = zext i1 %470 to i32
  %472 = sext i32 %471 to i64
  %473 = call i64 @llvm.expect.i64(i64 %472, i64 0)
  %474 = icmp ne i64 %473, 0
  br i1 %474, label %475, label %477

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

476:                                              ; No predecessors!
  br label %499

477:                                              ; preds = %464
  %478 = load double, ptr %18, align 8, !tbaa !9
  %479 = fcmp ogt double %478, 0xC1E0000000200000
  br i1 %479, label %480, label %483

480:                                              ; preds = %477
  %481 = load double, ptr %18, align 8, !tbaa !9
  %482 = fcmp olt double %481, 0x41E0000000000000
  br label %483

483:                                              ; preds = %480, %477
  %484 = phi i1 [ false, %477 ], [ %482, %480 ]
  %485 = xor i1 %484, true
  %486 = xor i1 %485, true
  %487 = xor i1 %486, true
  %488 = zext i1 %487 to i32
  %489 = sext i32 %488 to i64
  %490 = call i64 @llvm.expect.i64(i64 %489, i64 0)
  %491 = icmp ne i64 %490, 0
  br i1 %491, label %492, label %494

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

493:                                              ; No predecessors!
  br label %497

494:                                              ; preds = %483
  %495 = load double, ptr %18, align 8, !tbaa !9
  %496 = fptosi double %495 to i32
  br label %497

497:                                              ; preds = %494, %493
  %498 = phi i32 [ 0, %493 ], [ %496, %494 ]
  br label %499

499:                                              ; preds = %497, %476
  %500 = phi i32 [ 0, %476 ], [ %498, %497 ]
  store i32 %500, ptr %13, align 4, !tbaa !11
  br label %502

501:                                              ; preds = %437
  store i32 -2147483648, ptr %13, align 4, !tbaa !11
  br label %502

502:                                              ; preds = %501, %499
  %503 = load ptr, ptr %5, align 8, !tbaa !5
  %504 = getelementptr inbounds %struct.w2c_hermes, ptr %503, i32 0, i32 6
  %505 = load i32, ptr %12, align 4, !tbaa !11
  %506 = zext i32 %505 to i64
  %507 = add i64 %506, 16
  %508 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %504, i64 noundef %507, i32 noundef %508)
  %509 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %509, ptr %12, align 4, !tbaa !11
  store i32 43, ptr %13, align 4, !tbaa !11
  store i32 45, ptr %14, align 4, !tbaa !11
  %510 = load double, ptr %7, align 8, !tbaa !9
  store double %510, ptr %20, align 8, !tbaa !9
  store double 0.000000e+00, ptr %21, align 8, !tbaa !9
  %511 = load double, ptr %20, align 8, !tbaa !9
  %512 = load double, ptr %21, align 8, !tbaa !9
  %513 = fcmp oge double %511, %512
  %514 = zext i1 %513 to i32
  store i32 %514, ptr %15, align 4, !tbaa !11
  %515 = load i32, ptr %15, align 4, !tbaa !11
  %516 = icmp ne i32 %515, 0
  br i1 %516, label %517, label %519

517:                                              ; preds = %502
  %518 = load i32, ptr %13, align 4, !tbaa !11
  br label %521

519:                                              ; preds = %502
  %520 = load i32, ptr %14, align 4, !tbaa !11
  br label %521

521:                                              ; preds = %519, %517
  %522 = phi i32 [ %518, %517 ], [ %520, %519 ]
  store i32 %522, ptr %13, align 4, !tbaa !11
  %523 = load ptr, ptr %5, align 8, !tbaa !5
  %524 = getelementptr inbounds %struct.w2c_hermes, ptr %523, i32 0, i32 6
  %525 = load i32, ptr %12, align 4, !tbaa !11
  %526 = zext i32 %525 to i64
  %527 = add i64 %526, 12
  %528 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store8(ptr noundef %524, i64 noundef %527, i32 noundef %528)
  %529 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %529, ptr %12, align 4, !tbaa !11
  store i32 117904, ptr %13, align 4, !tbaa !11
  %530 = load ptr, ptr %5, align 8, !tbaa !5
  %531 = getelementptr inbounds %struct.w2c_hermes, ptr %530, i32 0, i32 6
  %532 = load i32, ptr %12, align 4, !tbaa !11
  %533 = zext i32 %532 to i64
  %534 = add i64 %533, 4
  %535 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %531, i64 noundef %534, i32 noundef %535)
  %536 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %536, ptr %12, align 4, !tbaa !11
  store i32 55452, ptr %13, align 4, !tbaa !11
  %537 = load ptr, ptr %5, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.w2c_hermes, ptr %537, i32 0, i32 6
  %539 = load i32, ptr %12, align 4, !tbaa !11
  %540 = zext i32 %539 to i64
  %541 = add i64 %540, 8
  %542 = load i32, ptr %13, align 4, !tbaa !11
  call void @i32_store(ptr noundef %538, i64 noundef %541, i32 noundef %542)
  %543 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %543, ptr %12, align 4, !tbaa !11
  store i32 24, ptr %13, align 4, !tbaa !11
  %544 = load i32, ptr %13, align 4, !tbaa !11
  %545 = load i32, ptr %12, align 4, !tbaa !11
  %546 = add i32 %545, %544
  store i32 %546, ptr %12, align 4, !tbaa !11
  %547 = load i32, ptr %12, align 4, !tbaa !11
  store i32 %547, ptr %8, align 4, !tbaa !11
  %548 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %548, ptr %13, align 4, !tbaa !11
  store i32 4, ptr %14, align 4, !tbaa !11
  %549 = load i32, ptr %14, align 4, !tbaa !11
  %550 = load i32, ptr %13, align 4, !tbaa !11
  %551 = add i32 %550, %549
  store i32 %551, ptr %13, align 4, !tbaa !11
  %552 = load ptr, ptr %5, align 8, !tbaa !5
  %553 = load i32, ptr %12, align 4, !tbaa !11
  %554 = load i32, ptr %13, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef %552, i32 noundef %553, i32 noundef %554)
  %555 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %555, ptr %12, align 4, !tbaa !11
  %556 = load ptr, ptr %5, align 8, !tbaa !5
  %557 = load i32, ptr %12, align 4, !tbaa !11
  %558 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef %556, i32 noundef %557)
  store i32 %558, ptr %12, align 4, !tbaa !11
  %559 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %559, ptr %12, align 4, !tbaa !11
  store i32 48, ptr %13, align 4, !tbaa !11
  %560 = load i32, ptr %13, align 4, !tbaa !11
  %561 = load i32, ptr %12, align 4, !tbaa !11
  %562 = add i32 %561, %560
  store i32 %562, ptr %12, align 4, !tbaa !11
  %563 = load i32, ptr %12, align 4, !tbaa !11
  %564 = load ptr, ptr %5, align 8, !tbaa !5
  %565 = getelementptr inbounds %struct.w2c_hermes, ptr %564, i32 0, i32 3
  store i32 %563, ptr %565, 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 4, 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 8, 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
}

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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeTZString0x28double0x2C0x20double0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x260x29(ptr noundef %0, double noundef %1, double noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %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)
  %15 = fdiv double %1, 1.000000e+03
  %16 = tail call double @wasm_floor(double noundef %15)
  %17 = tail call double @w2c_hermes_fmod(ptr noundef %0, double noundef %16, double noundef 6.000000e+01) #4
  %18 = fcmp olt double %17, 0.000000e+00
  %19 = select i1 %18, double 6.000000e+01, double -0.000000e+00
  %20 = fadd double %17, %19
  %21 = tail call double @wasm_fabs(double noundef %20)
  %22 = fcmp olt double %21, 0x41E0000000000000
  br i1 %22, label %23, label %32

23:                                               ; preds = %4
  %24 = fcmp uno double %20, 0.000000e+00
  br i1 %24, label %25, label %26, !prof !15

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

26:                                               ; preds = %23
  %27 = fcmp ule double %20, 0xC1E0000000200000
  %28 = fcmp uge double %20, 0x41E0000000000000
  %.not244 = or i1 %27, %28
  br i1 %.not244, label %29, label %30, !prof !15

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

30:                                               ; preds = %26
  %31 = fptosi double %20 to i32
  br label %32

32:                                               ; preds = %4, %30
  %.0 = phi i32 [ %31, %30 ], [ -2147483648, %4 ]
  %33 = add nuw nsw i64 %9, 20
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %33, i32 noundef %.0)
  %34 = fdiv double %1, 6.000000e+04
  %35 = tail call double @wasm_floor(double noundef %34)
  %36 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %35, double noundef 6.000000e+01) #4
  %37 = fcmp olt double %36, 0.000000e+00
  %38 = select i1 %37, double 6.000000e+01, double -0.000000e+00
  %39 = fadd double %36, %38
  %40 = tail call double @wasm_fabs(double noundef %39)
  %41 = fcmp olt double %40, 0x41E0000000000000
  br i1 %41, label %42, label %51

42:                                               ; preds = %32
  %43 = fcmp uno double %39, 0.000000e+00
  br i1 %43, label %44, label %45, !prof !15

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

45:                                               ; preds = %42
  %46 = fcmp ule double %39, 0xC1E0000000200000
  %47 = fcmp uge double %39, 0x41E0000000000000
  %.not246 = or i1 %46, %47
  br i1 %.not246, label %48, label %49, !prof !15

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

49:                                               ; preds = %45
  %50 = fptosi double %39 to i32
  br label %51

51:                                               ; preds = %32, %49
  %.1 = phi i32 [ %50, %49 ], [ -2147483648, %32 ]
  %52 = add nuw nsw i64 %9, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %52, i32 noundef %.1)
  %53 = add nuw nsw i64 %9, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %53, i32 noundef 117840)
  %54 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %54, i32 noundef 55933)
  %55 = fdiv double %1, 3.600000e+06
  %56 = tail call double @wasm_floor(double noundef %55)
  %57 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %56, double noundef 2.400000e+01) #4
  %58 = fcmp olt double %57, 0.000000e+00
  %59 = select i1 %58, double 2.400000e+01, double -0.000000e+00
  %60 = fadd double %57, %59
  %61 = tail call double @wasm_fabs(double noundef %60)
  %62 = fcmp olt double %61, 0x41E0000000000000
  br i1 %62, label %63, label %72

63:                                               ; preds = %51
  %64 = fcmp uno double %60, 0.000000e+00
  br i1 %64, label %65, label %66, !prof !15

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

66:                                               ; preds = %63
  %67 = fcmp ule double %60, 0xC1E0000000200000
  %68 = fcmp uge double %60, 0x41E0000000000000
  %.not248 = or i1 %67, %68
  br i1 %.not248, label %69, label %70, !prof !15

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

70:                                               ; preds = %66
  %71 = fptosi double %60 to i32
  br label %72

72:                                               ; preds = %51, %70
  %.2 = phi i32 [ %71, %70 ], [ -2147483648, %51 ]
  %73 = add nuw nsw i64 %9, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %73, i32 noundef %.2)
  %74 = add i32 %6, -44
  tail call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %74)
  %75 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef nonnull %0, i32 noundef %14)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %10, i64 noundef 4294967296)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %11, i64 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %13, i32 noundef 110132)
  tail call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef nonnull %0, i32 noundef %14)
  %76 = tail call double @wasm_fabs(double noundef %2)
  %77 = fdiv double %76, 6.000000e+04
  %78 = tail call double @wasm_floor(double noundef %77)
  %79 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %78, double noundef 6.000000e+01) #4
  %80 = tail call double @wasm_fabs(double noundef %79)
  %81 = fcmp olt double %80, 0x41E0000000000000
  br i1 %81, label %82, label %91

82:                                               ; preds = %72
  %83 = fcmp uno double %79, 0.000000e+00
  br i1 %83, label %84, label %85, !prof !15

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

85:                                               ; preds = %82
  %86 = fcmp ule double %79, 0xC1E0000000200000
  %87 = fcmp uge double %79, 0x41E0000000000000
  %.not250 = or i1 %86, %87
  br i1 %.not250, label %88, label %89, !prof !15

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

89:                                               ; preds = %85
  %90 = fptosi double %79 to i32
  br label %91

91:                                               ; preds = %72, %89
  %.3 = phi i32 [ %90, %89 ], [ -2147483648, %72 ]
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %33, i32 noundef %.3)
  %92 = fdiv double %76, 3.600000e+06
  %93 = tail call double @wasm_floor(double noundef %92)
  %94 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %93, double noundef 2.400000e+01) #4
  %95 = tail call double @wasm_fabs(double noundef %94)
  %96 = fcmp olt double %95, 0x41E0000000000000
  br i1 %96, label %97, label %106

97:                                               ; preds = %91
  %98 = fcmp uno double %94, 0.000000e+00
  br i1 %98, label %99, label %100, !prof !15

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

100:                                              ; preds = %97
  %101 = fcmp ule double %94, 0xC1E0000000200000
  %102 = fcmp uge double %94, 0x41E0000000000000
  %.not252 = or i1 %101, %102
  br i1 %.not252, label %103, label %104, !prof !15

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

104:                                              ; preds = %100
  %105 = fptosi double %94 to i32
  br label %106

106:                                              ; preds = %91, %104
  %.4 = phi i32 [ %105, %104 ], [ -2147483648, %91 ]
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %52, i32 noundef %.4)
  %107 = fcmp oge double %2, 0.000000e+00
  %108 = select i1 %107, i32 43, i32 45
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %73, i32 noundef %108)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %53, i32 noundef 117904)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %54, i32 noundef 55452)
  tail call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %74)
  %109 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef nonnull %0, i32 noundef %14)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 }
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,SROAPass,SimplifyCFGPass,TailCallElimPass