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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #5

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

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

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

115:                                              ; No predecessors!
  br label %138

116:                                              ; preds = %103
  %117 = load double, ptr %20, align 8, !tbaa !9
  %118 = fcmp ogt double %117, 0xC1E0000000200000
  br i1 %118, label %119, label %122

119:                                              ; preds = %116
  %120 = load double, ptr %20, align 8, !tbaa !9
  %121 = fcmp olt double %120, 0x41E0000000000000
  br label %122

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

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

132:                                              ; No predecessors!
  br label %136

133:                                              ; preds = %122
  %134 = load double, ptr %20, align 8, !tbaa !9
  %135 = fptosi double %134 to i32
  br label %136

136:                                              ; preds = %133, %132
  %137 = phi i32 [ 0, %132 ], [ %135, %133 ]
  br label %138

138:                                              ; preds = %136, %115
  %139 = phi i32 [ 0, %115 ], [ %137, %136 ]
  store i32 %139, ptr %14, align 4, !tbaa !11
  br label %141

140:                                              ; preds = %4
  store i32 -2147483648, ptr %14, align 4, !tbaa !11
  br label %141

141:                                              ; preds = %140, %138
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %13, align 4, !tbaa !11
  %145 = zext i32 %144 to i64
  %146 = load i32, ptr %14, align 4, !tbaa !11
  call void @i32_store(ptr noundef %143, i64 noundef %145, i32 noundef %146)
  %147 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %147, ptr %13, align 4, !tbaa !11
  store i32 16, ptr %14, align 4, !tbaa !11
  %148 = load i32, ptr %14, align 4, !tbaa !11
  %149 = load i32, ptr %13, align 4, !tbaa !11
  %150 = add i32 %149, %148
  store i32 %150, ptr %13, align 4, !tbaa !11
  %151 = load i32, ptr %13, align 4, !tbaa !11
  store i32 %151, ptr %8, align 4, !tbaa !11
  %152 = load double, ptr %12, align 8, !tbaa !9
  store double %152, ptr %20, align 8, !tbaa !9
  %153 = load double, ptr %20, align 8, !tbaa !9
  %154 = call double @wasm_fabs(double noundef %153)
  store double %154, ptr %20, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %21, align 8, !tbaa !9
  %155 = load double, ptr %20, align 8, !tbaa !9
  %156 = load double, ptr %21, align 8, !tbaa !9
  %157 = fcmp olt double %155, %156
  %158 = zext i1 %157 to i32
  store i32 %158, ptr %14, align 4, !tbaa !11
  %159 = load i32, ptr %14, align 4, !tbaa !11
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %198

161:                                              ; preds = %141
  %162 = load double, ptr %12, align 8, !tbaa !9
  store double %162, ptr %20, align 8, !tbaa !9
  %163 = load double, ptr %20, align 8, !tbaa !9
  %164 = load double, ptr %20, align 8, !tbaa !9
  %165 = fcmp une double %163, %164
  %166 = xor i1 %165, true
  %167 = xor i1 %166, true
  %168 = zext i1 %167 to i32
  %169 = sext i32 %168 to i64
  %170 = call i64 @llvm.expect.i64(i64 %169, i64 0)
  %171 = icmp ne i64 %170, 0
  br i1 %171, label %172, label %174

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

173:                                              ; No predecessors!
  br label %196

174:                                              ; preds = %161
  %175 = load double, ptr %20, align 8, !tbaa !9
  %176 = fcmp ogt double %175, 0xC1E0000000200000
  br i1 %176, label %177, label %180

177:                                              ; preds = %174
  %178 = load double, ptr %20, align 8, !tbaa !9
  %179 = fcmp olt double %178, 0x41E0000000000000
  br label %180

180:                                              ; preds = %177, %174
  %181 = phi i1 [ false, %174 ], [ %179, %177 ]
  %182 = xor i1 %181, true
  %183 = xor i1 %182, true
  %184 = xor i1 %183, true
  %185 = zext i1 %184 to i32
  %186 = sext i32 %185 to i64
  %187 = call i64 @llvm.expect.i64(i64 %186, i64 0)
  %188 = icmp ne i64 %187, 0
  br i1 %188, label %189, label %191

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

190:                                              ; No predecessors!
  br label %194

191:                                              ; preds = %180
  %192 = load double, ptr %20, align 8, !tbaa !9
  %193 = fptosi double %192 to i32
  br label %194

194:                                              ; preds = %191, %190
  %195 = phi i32 [ 0, %190 ], [ %193, %191 ]
  br label %196

196:                                              ; preds = %194, %173
  %197 = phi i32 [ 0, %173 ], [ %195, %194 ]
  store i32 %197, ptr %14, align 4, !tbaa !11
  br label %199

198:                                              ; preds = %141
  store i32 -2147483648, ptr %14, align 4, !tbaa !11
  br label %199

199:                                              ; preds = %198, %196
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %13, align 4, !tbaa !11
  %203 = zext i32 %202 to i64
  %204 = load i32, ptr %14, align 4, !tbaa !11
  call void @i32_store(ptr noundef %201, i64 noundef %203, i32 noundef %204)
  %205 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %205, ptr %13, align 4, !tbaa !11
  store i32 0, ptr %14, align 4, !tbaa !11
  %206 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %206, ptr %8, align 4, !tbaa !11
  store i32 275520, ptr %15, align 4, !tbaa !11
  %207 = load i32, ptr %15, align 4, !tbaa !11
  %208 = load i32, ptr %14, align 4, !tbaa !11
  %209 = add i32 %208, %207
  store i32 %209, ptr %14, align 4, !tbaa !11
  %210 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %210, ptr %15, align 4, !tbaa !11
  store i32 2, ptr %16, align 4, !tbaa !11
  %211 = load i32, ptr %16, align 4, !tbaa !11
  %212 = and i32 %211, 31
  %213 = load i32, ptr %15, align 4, !tbaa !11
  %214 = shl i32 %213, %212
  store i32 %214, ptr %15, align 4, !tbaa !11
  %215 = load i32, ptr %15, align 4, !tbaa !11
  %216 = load i32, ptr %14, align 4, !tbaa !11
  %217 = add i32 %216, %215
  store i32 %217, ptr %14, align 4, !tbaa !11
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %14, align 4, !tbaa !11
  %221 = zext i32 %220 to i64
  %222 = call i32 @i32_load(ptr noundef %219, i64 noundef %221)
  store i32 %222, ptr %14, align 4, !tbaa !11
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %13, align 4, !tbaa !11
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 12
  %228 = load i32, ptr %14, align 4, !tbaa !11
  call void @i32_store(ptr noundef %224, i64 noundef %227, i32 noundef %228)
  %229 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %229, ptr %13, align 4, !tbaa !11
  %230 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %230, ptr %14, align 4, !tbaa !11
  store i32 275696, ptr %15, align 4, !tbaa !11
  %231 = load i32, ptr %15, align 4, !tbaa !11
  %232 = load i32, ptr %14, align 4, !tbaa !11
  %233 = add i32 %232, %231
  store i32 %233, ptr %14, align 4, !tbaa !11
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %13, align 4, !tbaa !11
  %237 = zext i32 %236 to i64
  %238 = load i32, ptr %14, align 4, !tbaa !11
  call void @i32_store(ptr noundef %235, i64 noundef %237, i32 noundef %238)
  %239 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %239, ptr %13, align 4, !tbaa !11
  %240 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %240, ptr %14, align 4, !tbaa !11
  store i32 106899, ptr %15, align 4, !tbaa !11
  %241 = load i32, ptr %15, align 4, !tbaa !11
  %242 = load i32, ptr %14, align 4, !tbaa !11
  %243 = add i32 %242, %241
  store i32 %243, ptr %14, align 4, !tbaa !11
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.w2c_hermes, ptr %244, i32 0, i32 6
  %246 = load i32, ptr %13, align 4, !tbaa !11
  %247 = zext i32 %246 to i64
  %248 = add i64 %247, 4
  %249 = load i32, ptr %14, align 4, !tbaa !11
  call void @i32_store(ptr noundef %245, i64 noundef %248, i32 noundef %249)
  %250 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %250, ptr %13, align 4, !tbaa !11
  %251 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %251, ptr %14, align 4, !tbaa !11
  store i32 275488, ptr %15, align 4, !tbaa !11
  %252 = load i32, ptr %15, align 4, !tbaa !11
  %253 = load i32, ptr %14, align 4, !tbaa !11
  %254 = add i32 %253, %252
  store i32 %254, ptr %14, align 4, !tbaa !11
  %255 = load double, ptr %6, align 8, !tbaa !9
  store double %255, ptr %21, align 8, !tbaa !9
  store double 8.640000e+07, ptr %22, align 8, !tbaa !9
  %256 = load double, ptr %22, align 8, !tbaa !9
  %257 = load double, ptr %21, align 8, !tbaa !9
  %258 = fdiv double %257, %256
  store double %258, ptr %21, align 8, !tbaa !9
  %259 = load double, ptr %21, align 8, !tbaa !9
  %260 = call double @wasm_floor(double noundef %259)
  store double %260, ptr %21, align 8, !tbaa !9
  store double 4.000000e+00, ptr %22, align 8, !tbaa !9
  %261 = load double, ptr %22, align 8, !tbaa !9
  %262 = load double, ptr %21, align 8, !tbaa !9
  %263 = fadd double %262, %261
  store double %263, ptr %21, align 8, !tbaa !9
  store double 7.000000e+00, ptr %22, align 8, !tbaa !9
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = load double, ptr %21, align 8, !tbaa !9
  %266 = load double, ptr %22, align 8, !tbaa !9
  %267 = call double @w2c_hermes_fmod(ptr noundef %264, double noundef %265, double noundef %266)
  store double %267, ptr %21, align 8, !tbaa !9
  %268 = load double, ptr %21, align 8, !tbaa !9
  store double %268, ptr %6, align 8, !tbaa !9
  store double 7.000000e+00, ptr %22, align 8, !tbaa !9
  store double -0.000000e+00, ptr %23, align 8, !tbaa !9
  %269 = load double, ptr %6, align 8, !tbaa !9
  store double %269, ptr %24, align 8, !tbaa !9
  store double 0.000000e+00, ptr %25, align 8, !tbaa !9
  %270 = load double, ptr %24, align 8, !tbaa !9
  %271 = load double, ptr %25, align 8, !tbaa !9
  %272 = fcmp olt double %270, %271
  %273 = zext i1 %272 to i32
  store i32 %273, ptr %17, align 4, !tbaa !11
  %274 = load i32, ptr %17, align 4, !tbaa !11
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %276, label %278

276:                                              ; preds = %199
  %277 = load double, ptr %22, align 8, !tbaa !9
  br label %280

278:                                              ; preds = %199
  %279 = load double, ptr %23, align 8, !tbaa !9
  br label %280

280:                                              ; preds = %278, %276
  %281 = phi double [ %277, %276 ], [ %279, %278 ]
  store double %281, ptr %22, align 8, !tbaa !9
  %282 = load double, ptr %22, align 8, !tbaa !9
  %283 = load double, ptr %21, align 8, !tbaa !9
  %284 = fadd double %283, %282
  store double %284, ptr %21, align 8, !tbaa !9
  %285 = load double, ptr %21, align 8, !tbaa !9
  store double %285, ptr %6, align 8, !tbaa !9
  %286 = load double, ptr %21, align 8, !tbaa !9
  %287 = call double @wasm_fabs(double noundef %286)
  store double %287, ptr %21, align 8, !tbaa !9
  store double 0x41E0000000000000, ptr %22, align 8, !tbaa !9
  %288 = load double, ptr %21, align 8, !tbaa !9
  %289 = load double, ptr %22, align 8, !tbaa !9
  %290 = fcmp olt double %288, %289
  %291 = zext i1 %290 to i32
  store i32 %291, ptr %15, align 4, !tbaa !11
  %292 = load i32, ptr %15, align 4, !tbaa !11
  %293 = icmp ne i32 %292, 0
  br i1 %293, label %294, label %331

294:                                              ; preds = %280
  %295 = load double, ptr %6, align 8, !tbaa !9
  store double %295, ptr %21, align 8, !tbaa !9
  %296 = load double, ptr %21, align 8, !tbaa !9
  %297 = load double, ptr %21, align 8, !tbaa !9
  %298 = fcmp une double %296, %297
  %299 = xor i1 %298, true
  %300 = xor i1 %299, true
  %301 = zext i1 %300 to i32
  %302 = sext i32 %301 to i64
  %303 = call i64 @llvm.expect.i64(i64 %302, i64 0)
  %304 = icmp ne i64 %303, 0
  br i1 %304, label %305, label %307

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

306:                                              ; No predecessors!
  br label %329

307:                                              ; preds = %294
  %308 = load double, ptr %21, align 8, !tbaa !9
  %309 = fcmp ogt double %308, 0xC1E0000000200000
  br i1 %309, label %310, label %313

310:                                              ; preds = %307
  %311 = load double, ptr %21, align 8, !tbaa !9
  %312 = fcmp olt double %311, 0x41E0000000000000
  br label %313

313:                                              ; preds = %310, %307
  %314 = phi i1 [ false, %307 ], [ %312, %310 ]
  %315 = xor i1 %314, true
  %316 = xor i1 %315, true
  %317 = xor i1 %316, true
  %318 = zext i1 %317 to i32
  %319 = sext i32 %318 to i64
  %320 = call i64 @llvm.expect.i64(i64 %319, i64 0)
  %321 = icmp ne i64 %320, 0
  br i1 %321, label %322, label %324

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

323:                                              ; No predecessors!
  br label %327

324:                                              ; preds = %313
  %325 = load double, ptr %21, align 8, !tbaa !9
  %326 = fptosi double %325 to i32
  br label %327

327:                                              ; preds = %324, %323
  %328 = phi i32 [ 0, %323 ], [ %326, %324 ]
  br label %329

329:                                              ; preds = %327, %306
  %330 = phi i32 [ 0, %306 ], [ %328, %327 ]
  store i32 %330, ptr %15, align 4, !tbaa !11
  br label %332

331:                                              ; preds = %280
  store i32 -2147483648, ptr %15, align 4, !tbaa !11
  br label %332

332:                                              ; preds = %331, %329
  %333 = load i32, ptr %15, align 4, !tbaa !11
  store i32 %333, ptr %10, align 4, !tbaa !11
  store i32 2, ptr %16, align 4, !tbaa !11
  %334 = load i32, ptr %16, align 4, !tbaa !11
  %335 = and i32 %334, 31
  %336 = load i32, ptr %15, align 4, !tbaa !11
  %337 = shl i32 %336, %335
  store i32 %337, ptr %15, align 4, !tbaa !11
  %338 = load i32, ptr %15, align 4, !tbaa !11
  %339 = load i32, ptr %14, align 4, !tbaa !11
  %340 = add i32 %339, %338
  store i32 %340, ptr %14, align 4, !tbaa !11
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.w2c_hermes, ptr %341, i32 0, i32 6
  %343 = load i32, ptr %14, align 4, !tbaa !11
  %344 = zext i32 %343 to i64
  %345 = call i32 @i32_load(ptr noundef %342, i64 noundef %344)
  store i32 %345, ptr %14, align 4, !tbaa !11
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.w2c_hermes, ptr %346, i32 0, i32 6
  %348 = load i32, ptr %13, align 4, !tbaa !11
  %349 = zext i32 %348 to i64
  %350 = add i64 %349, 8
  %351 = load i32, ptr %14, align 4, !tbaa !11
  call void @i32_store(ptr noundef %347, i64 noundef %350, i32 noundef %351)
  %352 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %352, ptr %13, align 4, !tbaa !11
  store i32 24, ptr %14, align 4, !tbaa !11
  %353 = load i32, ptr %14, align 4, !tbaa !11
  %354 = load i32, ptr %13, align 4, !tbaa !11
  %355 = add i32 %354, %353
  store i32 %355, ptr %13, align 4, !tbaa !11
  %356 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %356, ptr %14, align 4, !tbaa !11
  %357 = load ptr, ptr %5, align 8, !tbaa !5
  %358 = load i32, ptr %13, align 4, !tbaa !11
  %359 = load i32, ptr %14, align 4, !tbaa !11
  %360 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef %357, i32 noundef %358, i32 noundef %359)
  store i32 %360, ptr %13, align 4, !tbaa !11
  %361 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %361, ptr %13, align 4, !tbaa !11
  store i32 24, ptr %14, align 4, !tbaa !11
  %362 = load i32, ptr %14, align 4, !tbaa !11
  %363 = load i32, ptr %13, align 4, !tbaa !11
  %364 = add i32 %363, %362
  store i32 %364, ptr %13, align 4, !tbaa !11
  %365 = load ptr, ptr %5, align 8, !tbaa !5
  %366 = load i32, ptr %13, align 4, !tbaa !11
  %367 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3A0x7Eraw_ostream0x280x290x2E1(ptr noundef %365, i32 noundef %366)
  store i32 %367, ptr %13, align 4, !tbaa !11
  %368 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %368, ptr %13, align 4, !tbaa !11
  store i32 48, ptr %14, align 4, !tbaa !11
  %369 = load i32, ptr %14, align 4, !tbaa !11
  %370 = load i32, ptr %13, align 4, !tbaa !11
  %371 = add i32 %370, %369
  store i32 %371, ptr %13, align 4, !tbaa !11
  %372 = load i32, ptr %13, align 4, !tbaa !11
  %373 = load ptr, ptr %5, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.w2c_hermes, ptr %373, i32 0, i32 3
  store i32 %372, ptr %374, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  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 4, 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 8, 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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; 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 #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 267216)
  %14 = add i32 %6, -24
  tail call void @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3ASetBufferAndMode0x28char0x2A0x2C0x20unsigned0x20long0x2C0x20llvh0x3A0x3Araw_ostream0x3A0x3ABufferKind0x29(ptr noundef %0, i32 noundef %14, i32 noundef 0, i32 noundef 0, i32 noundef 0) #4
  %15 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %0, double noundef %1) #4
  %16 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %0, double noundef %1) #4
  %17 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef %0, double noundef %1)
  %18 = add i32 %6, -28
  %19 = tail call double @wasm_fabs(double noundef %15)
  %20 = fcmp olt double %19, 0x41E0000000000000
  br i1 %20, label %21, label %30

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

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

24:                                               ; preds = %21
  %25 = fcmp ule double %15, 0xC1E0000000200000
  %26 = fcmp uge double %15, 0x41E0000000000000
  %.not168 = or i1 %25, %26
  br i1 %.not168, label %27, label %28, !prof !15

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

28:                                               ; preds = %24
  %29 = fptosi double %15 to i32
  br label %30

30:                                               ; preds = %4, %28
  %.0166 = phi i32 [ %29, %28 ], [ -2147483648, %4 ]
  %31 = zext i32 %18 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef %.0166)
  %32 = add i32 %6, -32
  %33 = tail call double @wasm_fabs(double noundef %17)
  %34 = fcmp olt double %33, 0x41E0000000000000
  br i1 %34, label %35, label %44

35:                                               ; preds = %30
  %36 = fcmp uno double %17, 0.000000e+00
  br i1 %36, label %37, label %38, !prof !15

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

38:                                               ; preds = %35
  %39 = fcmp ule double %17, 0xC1E0000000200000
  %40 = fcmp uge double %17, 0x41E0000000000000
  %.not170 = or i1 %39, %40
  br i1 %.not170, label %41, label %42, !prof !15

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

42:                                               ; preds = %38
  %43 = fptosi double %17 to i32
  br label %44

44:                                               ; preds = %30, %42
  %.1 = phi i32 [ %43, %42 ], [ -2147483648, %30 ]
  %45 = zext i32 %32 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %45, i32 noundef %.1)
  %46 = shl i32 %16, 2
  %47 = add i32 %46, 275520
  %48 = zext i32 %47 to i64
  %49 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %48)
  %50 = add nuw nsw i64 %9, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %50, i32 noundef %49)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %9, i32 noundef 275696)
  %51 = add nuw nsw i64 %9, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %51, i32 noundef 106899)
  %52 = fdiv double %1, 8.640000e+07
  %53 = tail call double @wasm_floor(double noundef %52)
  %54 = fadd double %53, 4.000000e+00
  %55 = tail call double @w2c_hermes_fmod(ptr noundef nonnull %0, double noundef %54, double noundef 7.000000e+00) #4
  %56 = fcmp olt double %55, 0.000000e+00
  %57 = select i1 %56, double 7.000000e+00, double -0.000000e+00
  %58 = fadd double %55, %57
  %59 = tail call double @wasm_fabs(double noundef %58)
  %60 = fcmp olt double %59, 0x41E0000000000000
  br i1 %60, label %61, label %73

61:                                               ; preds = %44
  %62 = fcmp uno double %58, 0.000000e+00
  br i1 %62, label %63, label %64, !prof !15

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

64:                                               ; preds = %61
  %65 = fcmp ule double %58, 0xC1E0000000200000
  %66 = fcmp uge double %58, 0x41E0000000000000
  %.not172 = or i1 %65, %66
  br i1 %.not172, label %67, label %68, !prof !15

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

68:                                               ; preds = %64
  %69 = fptosi double %58 to i32
  %70 = shl i32 %69, 2
  %71 = add i32 %70, 275488
  %72 = zext i32 %71 to i64
  br label %73

73:                                               ; preds = %44, %68
  %.0 = phi i64 [ %72, %68 ], [ 275488, %44 ]
  %74 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %.0)
  %75 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %75, i32 noundef %74)
  %76 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Aoperator0x3C0x3C0x28llvh0x3A0x3Aformat_object_base0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %7) #4
  %77 = 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
}

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