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

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

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

; Function Attrs: 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(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

declare void @w2c_hermes_dlfree(ptr noundef, i32 noundef) #4

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) #4

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3AFoldingSetBase0x3A0x3AFindNodeOrInsertPos0x28llvh0x3A0x3AFoldingSetNodeID0x20const0x260x2C0x20void0x2A0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @w2c_hermes_llvh0x3A0x3AFoldingSetBase0x3A0x3AInsertNode0x28llvh0x3A0x3AFoldingSetBase0x3A0x3ANode0x2A0x2C0x20void0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

85:                                               ; preds = %3
  %86 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %86, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %87 = load i32, ptr %15, align 4, !tbaa !9
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = sub i32 %88, %87
  store i32 %89, ptr %14, align 4, !tbaa !9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %90, ptr %5, align 4, !tbaa !9
  br label %267

91:                                               ; preds = %3
  store i32 40, ptr %14, align 4, !tbaa !9
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = load i32, ptr %14, align 4, !tbaa !9
  %94 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %92, i32 noundef %93)
  store i32 %94, ptr %14, align 4, !tbaa !9
  %95 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %95, ptr %5, align 4, !tbaa !9
  %96 = load double, ptr %6, align 8, !tbaa !11
  store double %96, ptr %20, align 8, !tbaa !11
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.w2c_hermes, ptr %97, i32 0, i32 6
  %99 = load i32, ptr %14, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = add i64 %100, 32
  %102 = load double, ptr %20, align 8, !tbaa !11
  call void @f64_store(ptr noundef %98, i64 noundef %101, double noundef %102)
  %103 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %103, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 28
  %109 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %105, i64 noundef %108, i32 noundef %109)
  %110 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %110, ptr %14, align 4, !tbaa !9
  store i32 114, ptr %15, align 4, !tbaa !9
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.w2c_hermes, ptr %111, i32 0, i32 6
  %113 = load i32, ptr %14, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %112, i64 noundef %114, i32 noundef %115)
  %116 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %116, ptr %14, align 4, !tbaa !9
  store i64 8589934592, ptr %18, align 8, !tbaa !13
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = add i64 %120, 12
  %122 = load i64, ptr %18, align 8, !tbaa !13
  call void @i64_store(ptr noundef %118, i64 noundef %121, i64 noundef %122)
  %123 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %123, ptr %14, align 4, !tbaa !9
  %124 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %124, ptr %15, align 4, !tbaa !9
  store i32 20, ptr %16, align 4, !tbaa !9
  %125 = load i32, ptr %16, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = add i32 %126, %125
  store i32 %127, ptr %15, align 4, !tbaa !9
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = add i64 %131, 8
  %133 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %129, i64 noundef %132, i32 noundef %133)
  %134 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %134, ptr %14, align 4, !tbaa !9
  store i32 28, ptr %15, align 4, !tbaa !9
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = add i32 %136, %135
  store i32 %137, ptr %14, align 4, !tbaa !9
  %138 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %138, ptr %11, align 4, !tbaa !9
  %139 = load double, ptr %6, align 8, !tbaa !11
  store double %139, ptr %19, align 8, !tbaa !11
  %140 = load double, ptr %6, align 8, !tbaa !11
  store double %140, ptr %20, align 8, !tbaa !11
  %141 = load double, ptr %19, align 8, !tbaa !11
  %142 = load double, ptr %20, align 8, !tbaa !11
  %143 = fcmp une double %141, %142
  %144 = zext i1 %143 to i32
  store i32 %144, ptr %14, align 4, !tbaa !9
  %145 = load i32, ptr %14, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %148

147:                                              ; preds = %91
  br label %244

148:                                              ; preds = %91
  %149 = load double, ptr %6, align 8, !tbaa !11
  store double %149, ptr %19, align 8, !tbaa !11
  store double 0x41DFFFFFFFC00000, ptr %20, align 8, !tbaa !11
  %150 = load double, ptr %19, align 8, !tbaa !11
  %151 = load double, ptr %20, align 8, !tbaa !11
  %152 = fcmp ogt double %150, %151
  %153 = zext i1 %152 to i32
  store i32 %153, ptr %14, align 4, !tbaa !9
  %154 = load i32, ptr %14, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %157

156:                                              ; preds = %148
  br label %244

157:                                              ; preds = %148
  %158 = load double, ptr %6, align 8, !tbaa !11
  store double %158, ptr %19, align 8, !tbaa !11
  store double 0xC1E0000000000000, ptr %20, align 8, !tbaa !11
  %159 = load double, ptr %19, align 8, !tbaa !11
  %160 = load double, ptr %20, align 8, !tbaa !11
  %161 = fcmp olt double %159, %160
  %162 = zext i1 %161 to i32
  store i32 %162, ptr %14, align 4, !tbaa !9
  %163 = load i32, ptr %14, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %166

165:                                              ; preds = %157
  br label %244

166:                                              ; preds = %157
  %167 = load double, ptr %6, align 8, !tbaa !11
  store double %167, ptr %19, align 8, !tbaa !11
  %168 = load double, ptr %19, align 8, !tbaa !11
  %169 = call double @wasm_fabs(double noundef %168)
  store double %169, ptr %19, align 8, !tbaa !11
  store double 0x41E0000000000000, ptr %20, align 8, !tbaa !11
  %170 = load double, ptr %19, align 8, !tbaa !11
  %171 = load double, ptr %20, align 8, !tbaa !11
  %172 = fcmp olt double %170, %171
  %173 = zext i1 %172 to i32
  store i32 %173, ptr %14, align 4, !tbaa !9
  %174 = load i32, ptr %14, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %213

176:                                              ; preds = %166
  %177 = load double, ptr %6, align 8, !tbaa !11
  store double %177, ptr %19, align 8, !tbaa !11
  %178 = load double, ptr %19, align 8, !tbaa !11
  %179 = load double, ptr %19, align 8, !tbaa !11
  %180 = fcmp une double %178, %179
  %181 = xor i1 %180, true
  %182 = xor i1 %181, true
  %183 = zext i1 %182 to i32
  %184 = sext i32 %183 to i64
  %185 = call i64 @llvm.expect.i64(i64 %184, i64 0)
  %186 = icmp ne i64 %185, 0
  br i1 %186, label %187, label %189

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

188:                                              ; No predecessors!
  br label %211

189:                                              ; preds = %176
  %190 = load double, ptr %19, align 8, !tbaa !11
  %191 = fcmp ogt double %190, 0xC1E0000000200000
  br i1 %191, label %192, label %195

192:                                              ; preds = %189
  %193 = load double, ptr %19, align 8, !tbaa !11
  %194 = fcmp olt double %193, 0x41E0000000000000
  br label %195

195:                                              ; preds = %192, %189
  %196 = phi i1 [ false, %189 ], [ %194, %192 ]
  %197 = xor i1 %196, true
  %198 = xor i1 %197, true
  %199 = xor i1 %198, true
  %200 = zext i1 %199 to i32
  %201 = sext i32 %200 to i64
  %202 = call i64 @llvm.expect.i64(i64 %201, i64 0)
  %203 = icmp ne i64 %202, 0
  br i1 %203, label %204, label %206

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

205:                                              ; No predecessors!
  br label %209

206:                                              ; preds = %195
  %207 = load double, ptr %19, align 8, !tbaa !11
  %208 = fptosi double %207 to i32
  br label %209

209:                                              ; preds = %206, %205
  %210 = phi i32 [ 0, %205 ], [ %208, %206 ]
  br label %211

211:                                              ; preds = %209, %188
  %212 = phi i32 [ 0, %188 ], [ %210, %209 ]
  store i32 %212, ptr %14, align 4, !tbaa !9
  br label %214

213:                                              ; preds = %166
  store i32 -2147483648, ptr %14, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %213, %211
  %215 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %215, ptr %12, align 4, !tbaa !9
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = sitofp i32 %216 to double
  store double %217, ptr %19, align 8, !tbaa !11
  %218 = load double, ptr %6, align 8, !tbaa !11
  store double %218, ptr %20, align 8, !tbaa !11
  %219 = load double, ptr %19, align 8, !tbaa !11
  %220 = load double, ptr %20, align 8, !tbaa !11
  %221 = fcmp une double %219, %220
  %222 = zext i1 %221 to i32
  store i32 %222, ptr %14, align 4, !tbaa !9
  %223 = load i32, ptr %14, align 4, !tbaa !9
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %226

225:                                              ; preds = %214
  br label %244

226:                                              ; preds = %214
  store i32 131104, ptr %14, align 4, !tbaa !9
  %227 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %227, ptr %9, align 4, !tbaa !9
  %228 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %228, ptr %14, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %231, label %232

231:                                              ; preds = %226
  br label %246

232:                                              ; preds = %226
  %233 = load i64, ptr %13, align 8, !tbaa !13
  store i64 %233, ptr %17, align 8, !tbaa !13
  store i64 0, ptr %18, align 8, !tbaa !13
  %234 = load i64, ptr %17, align 8, !tbaa !13
  %235 = load i64, ptr %18, align 8, !tbaa !13
  %236 = icmp sge i64 %234, %235
  %237 = zext i1 %236 to i32
  %238 = sext i32 %237 to i64
  %239 = trunc i64 %238 to i32
  store i32 %239, ptr %14, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = icmp ne i32 %240, 0
  br i1 %241, label %242, label %243

242:                                              ; preds = %232
  br label %246

243:                                              ; preds = %232
  br label %244

244:                                              ; preds = %243, %225, %165, %156, %147
  store i32 458784, ptr %14, align 4, !tbaa !9
  %245 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %245, ptr %9, align 4, !tbaa !9
  br label %246

246:                                              ; preds = %244, %242, %231
  %247 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %247, ptr %14, align 4, !tbaa !9
  %248 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %248, ptr %15, align 4, !tbaa !9
  %249 = load ptr, ptr %4, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 2
  %254 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %250, i64 noundef %253, i32 noundef %254)
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %14, align 4, !tbaa !9
  %256 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %256, ptr %15, align 4, !tbaa !9
  %257 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %257, ptr %16, align 4, !tbaa !9
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = call i32 @i32_load(ptr noundef %259, i64 noundef %261)
  store i32 %262, ptr %16, align 4, !tbaa !9
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3AFoldingSetBase0x3A0x3AInsertNode0x28llvh0x3A0x3AFoldingSetBase0x3A0x3ANode0x2A0x2C0x20void0x2A0x29(ptr noundef %263, i32 noundef %264, i32 noundef %265, i32 noundef %266)
  br label %267

267:                                              ; preds = %246, %85
  %268 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %268, ptr %14, align 4, !tbaa !9
  %269 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %269, ptr %15, align 4, !tbaa !9
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.w2c_hermes, ptr %270, i32 0, i32 6
  %272 = load i32, ptr %15, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = add i64 %273, 4
  %275 = call i32 @i32_load(ptr noundef %271, i64 noundef %274)
  store i32 %275, ptr %15, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %276, ptr %8, align 4, !tbaa !9
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = icmp ne i32 %277, %278
  %280 = zext i1 %279 to i32
  store i32 %280, ptr %14, align 4, !tbaa !9
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %283, label %287

283:                                              ; preds = %267
  %284 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %284, ptr %14, align 4, !tbaa !9
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %285, i32 noundef %286)
  br label %287

287:                                              ; preds = %283, %267
  %288 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %288, ptr %14, align 4, !tbaa !9
  store i32 144, ptr %15, align 4, !tbaa !9
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = load i32, ptr %14, align 4, !tbaa !9
  %291 = add i32 %290, %289
  store i32 %291, ptr %14, align 4, !tbaa !9
  %292 = load i32, ptr %14, align 4, !tbaa !9
  %293 = load ptr, ptr %4, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 3
  store i32 %292, ptr %294, align 8, !tbaa !15
  %295 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %295, ptr %14, align 4, !tbaa !9
  %296 = load i32, ptr %14, align 4, !tbaa !9
  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 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret i32 %296
}

declare void @w2c_hermes_llvh0x3A0x3AFoldingSetNodeID0x3A0x3AAddInteger0x28unsigned0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef) #4

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

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

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


; 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 i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

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

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

declare i32 @w2c_hermes_llvh0x3A0x3AFoldingSetBase0x3A0x3AFindNodeOrInsertPos0x28llvh0x3A0x3AFoldingSetNodeID0x20const0x260x2C0x20void0x2A0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AModule0x3A0x3AgetLiteralNumber0x28double0x29(ptr noundef %0, i32 noundef %1, double noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -144
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %6 to i64
  %9 = add nuw nsw i64 %8, 8
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %9, i64 noundef 137438953472)
  %10 = add i32 %5, -128
  %11 = add nuw nsw i64 %8, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %11, i32 noundef %10)
  %12 = add i32 %5, -140
  %13 = tail call i64 @i64_reinterpret_f64(double noundef %2)
  tail call void @w2c_hermes_llvh0x3A0x3AFoldingSetNodeID0x3A0x3AAddInteger0x28unsigned0x20long0x20long0x29(ptr noundef %0, i32 noundef %12, i64 noundef %13) #4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %8, i32 noundef 0)
  %14 = add i32 %1, 416
  %15 = tail call i32 @w2c_hermes_llvh0x3A0x3AFoldingSetBase0x3A0x3AFindNodeOrInsertPos0x28llvh0x3A0x3AFoldingSetNodeID0x20const0x260x2C0x20void0x2A0x260x29(ptr noundef %0, i32 noundef %14, i32 noundef %12, i32 noundef %6) #4
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %18, label %16

16:                                               ; preds = %3
  %17 = add i32 %15, -28
  br label %48

18:                                               ; preds = %3
  %19 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 40) #4
  %20 = zext i32 %19 to i64
  %21 = add nuw nsw i64 %20, 32
  tail call void @f64_store(ptr noundef nonnull %7, i64 noundef %21, double noundef %2)
  %22 = add nuw nsw i64 %20, 28
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %22, i32 noundef 0)
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %20, i32 noundef 114)
  %23 = add nuw nsw i64 %20, 12
  tail call void @i64_store(ptr noundef nonnull %7, i64 noundef %23, i64 noundef 8589934592)
  %24 = add i32 %19, 20
  %25 = add nuw nsw i64 %20, 8
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %25, i32 noundef %24)
  %26 = add i32 %19, 28
  %27 = fcmp uno double %2, 0.000000e+00
  %28 = fcmp ogt double %2, 0x41DFFFFFFFC00000
  %or.cond = or i1 %27, %28
  %29 = fcmp olt double %2, 0xC1E0000000000000
  %or.cond158 = or i1 %29, %or.cond
  br i1 %or.cond158, label %44, label %30

30:                                               ; preds = %18
  %31 = tail call double @wasm_fabs(double noundef %2)
  %32 = fcmp olt double %31, 0x41E0000000000000
  br i1 %32, label %33, label %39

33:                                               ; preds = %30
  %34 = fcmp ule double %2, 0xC1E0000000200000
  %35 = fcmp uge double %2, 0x41E0000000000000
  %.not155 = or i1 %34, %35
  br i1 %.not155, label %36, label %37, !prof !15

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

37:                                               ; preds = %33
  %38 = fptosi double %2 to i32
  br label %39

39:                                               ; preds = %30, %37
  %.0148 = phi i32 [ %38, %37 ], [ -2147483648, %30 ]
  %40 = sitofp i32 %.0148 to double
  %41 = fcmp une double %40, %2
  br i1 %41, label %44, label %42

42:                                               ; preds = %39
  %.not156 = icmp ne i32 %.0148, 0
  %43 = icmp sgt i64 %13, -1
  %or.cond159 = or i1 %43, %.not156
  br i1 %or.cond159, label %45, label %44

44:                                               ; preds = %42, %39, %18
  br label %45

45:                                               ; preds = %42, %44
  %.0149 = phi i32 [ 458784, %44 ], [ 131104, %42 ]
  %46 = add nuw nsw i64 %20, 2
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %46, i32 noundef %.0149)
  %47 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %8)
  tail call void @w2c_hermes_llvh0x3A0x3AFoldingSetBase0x3A0x3AInsertNode0x28llvh0x3A0x3AFoldingSetBase0x3A0x3ANode0x2A0x2C0x20void0x2A0x29(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %26, i32 noundef %47) #4
  br label %48

48:                                               ; preds = %45, %16
  %.0 = phi i32 [ %17, %16 ], [ %19, %45 ]
  %49 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %11)
  %.not157 = icmp eq i32 %10, %49
  br i1 %.not157, label %51, label %50

50:                                               ; preds = %48
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %49) #4
  br label %51

51:                                               ; preds = %50, %48
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret i32 %.0
}

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

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

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

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


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