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

; 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: nounwind uwtable
define dso_local i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3Acreate_function_from_host_function0x28HermesABIRuntime0x2A0x2C0x20HermesABIPropNameID0x2C0x20unsigned0x20int0x2C0x20HermesABIHostFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %26 = load ptr, ptr %6, 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 %17, align 4, !tbaa !9
  store i32 224, ptr %18, align 4, !tbaa !9
  %29 = load i32, ptr %18, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = sub i32 %30, %29
  store i32 %31, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %32, ptr %11, align 4, !tbaa !9
  %33 = load i32, ptr %17, align 4, !tbaa !9
  %34 = load ptr, ptr %6, 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 %7, align 4, !tbaa !9
  store i32 %36, ptr %17, align 4, !tbaa !9
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %17, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = add i64 %40, 4
  %42 = call i32 @i32_load(ptr noundef %38, i64 noundef %41)
  store i32 %42, ptr %17, align 4, !tbaa !9
  %43 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %43, ptr %12, align 4, !tbaa !9
  %44 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %44, ptr %17, align 4, !tbaa !9
  store i64 48, ptr %25, align 8, !tbaa !11
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %17, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = add i64 %48, 32
  %50 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %46, i64 noundef %49, i64 noundef %50)
  %51 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %51, ptr %17, align 4, !tbaa !9
  %52 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %52, ptr %18, align 4, !tbaa !9
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %17, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 28
  %58 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %54, i64 noundef %57, i32 noundef %58)
  %59 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %59, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %17, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 24
  %65 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %61, i64 noundef %64, i32 noundef %65)
  %66 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %66, ptr %17, align 4, !tbaa !9
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 4
  %72 = call i32 @i32_load(ptr noundef %68, i64 noundef %71)
  store i32 %72, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %73, ptr %13, align 4, !tbaa !9
  %74 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %74, ptr %17, align 4, !tbaa !9
  store i32 188, ptr %18, align 4, !tbaa !9
  %75 = load i32, ptr %18, align 4, !tbaa !9
  %76 = load i32, ptr %17, align 4, !tbaa !9
  %77 = add i32 %76, %75
  store i32 %77, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %78, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %79, ptr %18, align 4, !tbaa !9
  store i32 48, ptr %19, align 4, !tbaa !9
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %18, align 4, !tbaa !9
  %83 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %83, ptr %15, align 4, !tbaa !9
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %85, i64 noundef %87, i32 noundef %88)
  %89 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %89, ptr %17, align 4, !tbaa !9
  store i64 17179869185, ptr %25, align 8, !tbaa !11
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 180
  %95 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %91, i64 noundef %94, i64 noundef %95)
  %96 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %96, ptr %17, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %97, ptr %18, align 4, !tbaa !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %17, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 176
  %103 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %99, i64 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %104, ptr %17, align 4, !tbaa !9
  %105 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 40
  %111 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %110, i32 noundef %111)
  %112 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %112, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 212
  %118 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %114, i64 noundef %117, i32 noundef %118)
  %119 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %119, ptr %17, align 4, !tbaa !9
  %120 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %120, ptr %18, align 4, !tbaa !9
  store i32 176, ptr %19, align 4, !tbaa !9
  %121 = load i32, ptr %19, align 4, !tbaa !9
  %122 = load i32, ptr %18, align 4, !tbaa !9
  %123 = add i32 %122, %121
  store i32 %123, ptr %18, align 4, !tbaa !9
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %17, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 208
  %129 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  %130 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %130, ptr %17, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %131, ptr %18, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 204
  %137 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %133, i64 noundef %136, i32 noundef %137)
  %138 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %138, ptr %17, align 4, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %139, ptr %18, align 4, !tbaa !9
  store i32 24, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = add i32 %141, %140
  store i32 %142, ptr %18, align 4, !tbaa !9
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = add i64 %146, 4
  %148 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %144, i64 noundef %147, i32 noundef %148)
  store i32 8, ptr %17, align 4, !tbaa !9
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %149, i32 noundef %150)
  store i32 %151, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %152, ptr %13, align 4, !tbaa !9
  %153 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %153, ptr %18, align 4, !tbaa !9
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = add i64 %157, 4
  %159 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %155, i64 noundef %158, i32 noundef %159)
  %160 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %160, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %161, ptr %18, align 4, !tbaa !9
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %17, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %163, i64 noundef %165, i32 noundef %166)
  %167 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 4
  %173 = call i32 @i32_load(ptr noundef %169, i64 noundef %172)
  store i32 %173, ptr %17, align 4, !tbaa !9
  %174 = load i32, ptr %17, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %311

176:                                              ; preds = %5
  %177 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %177, ptr %17, align 4, !tbaa !9
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 8
  %183 = call i64 @i64_load(ptr noundef %179, i64 noundef %182)
  store i64 %183, ptr %24, align 8, !tbaa !11
  %184 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %184, ptr %16, align 8, !tbaa !11
  store i64 47, ptr %25, align 8, !tbaa !11
  %185 = load i64, ptr %24, align 8, !tbaa !11
  %186 = load i64, ptr %25, align 8, !tbaa !11
  %187 = and i64 %186, 63
  %188 = ashr i64 %185, %187
  store i64 %188, ptr %24, align 8, !tbaa !11
  %189 = load i64, ptr %24, align 8, !tbaa !11
  %190 = trunc i64 %189 to i32
  store i32 %190, ptr %17, align 4, !tbaa !9
  store i32 -9, ptr %18, align 4, !tbaa !9
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %18, align 4, !tbaa !9
  %193 = icmp ne i32 %191, %192
  %194 = zext i1 %193 to i32
  store i32 %194, ptr %17, align 4, !tbaa !9
  %195 = load i32, ptr %17, align 4, !tbaa !9
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %176
  br label %317

198:                                              ; preds = %176
  %199 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %199, ptr %24, align 8, !tbaa !11
  store i64 3758096384, ptr %25, align 8, !tbaa !11
  %200 = load i64, ptr %25, align 8, !tbaa !11
  %201 = load i64, ptr %24, align 8, !tbaa !11
  %202 = and i64 %201, %200
  store i64 %202, ptr %24, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !11
  %203 = load i64, ptr %24, align 8, !tbaa !11
  %204 = load i64, ptr %25, align 8, !tbaa !11
  %205 = icmp ne i64 %203, %204
  %206 = zext i1 %205 to i32
  store i32 %206, ptr %17, align 4, !tbaa !9
  %207 = load i32, ptr %17, align 4, !tbaa !9
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %209, label %210

209:                                              ; preds = %198
  br label %323

210:                                              ; preds = %198
  %211 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %211, ptr %24, align 8, !tbaa !11
  %212 = load i64, ptr %24, align 8, !tbaa !11
  %213 = trunc i64 %212 to i32
  store i32 %213, ptr %17, align 4, !tbaa !9
  %214 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %214, ptr %8, align 4, !tbaa !9
  store i32 536870912, ptr %18, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = icmp uge i32 %215, %216
  %218 = zext i1 %217 to i32
  store i32 %218, ptr %17, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %210
  br label %329

222:                                              ; preds = %210
  %223 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %223, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %17, align 4, !tbaa !9
  %227 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %227, ptr %18, align 4, !tbaa !9
  %228 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %228, ptr %19, align 4, !tbaa !9
  store i32 1541, ptr %20, align 4, !tbaa !9
  store i32 1542, ptr %21, align 4, !tbaa !9
  %229 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %229, ptr %22, align 4, !tbaa !9
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %23, align 4, !tbaa !9
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = load i32, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %18, align 4, !tbaa !9
  %234 = load i32, ptr %19, align 4, !tbaa !9
  %235 = load i32, ptr %20, align 4, !tbaa !9
  %236 = load i32, ptr %21, align 4, !tbaa !9
  %237 = load i32, ptr %22, align 4, !tbaa !9
  %238 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AFinalizableNativeFunction0x3A0x3AcreateWithoutPrototype0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x200x280x2A0x290x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20unsigned0x20int0x29(ptr noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236, i32 noundef %237, i32 noundef %238)
  %239 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %17, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 8
  %245 = call i32 @i32_load(ptr noundef %241, i64 noundef %244)
  store i32 %245, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %246, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = load i32, ptr %18, align 4, !tbaa !9
  %249 = icmp ne i32 %247, %248
  %250 = zext i1 %249 to i32
  store i32 %250, ptr %17, align 4, !tbaa !9
  %251 = load i32, ptr %17, align 4, !tbaa !9
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %253, label %268

253:                                              ; preds = %222
  %254 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = icmp ne i32 %255, 0
  %257 = xor i1 %256, true
  %258 = zext i1 %257 to i32
  store i32 %258, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = icmp ne i32 %259, 0
  br i1 %260, label %261, label %262

261:                                              ; preds = %253
  br label %335

262:                                              ; preds = %253
  store i32 109639, ptr %17, align 4, !tbaa !9
  store i32 77564, ptr %18, align 4, !tbaa !9
  store i32 179, ptr %19, align 4, !tbaa !9
  store i32 90402, ptr %20, align 4, !tbaa !9
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %18, align 4, !tbaa !9
  %266 = load i32, ptr %19, align 4, !tbaa !9
  %267 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %263, i32 noundef %264, i32 noundef %265, i32 noundef %266, i32 noundef %267)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

268:                                              ; preds = %222
  %269 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %269, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %270, ptr %18, align 4, !tbaa !9
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 16
  %276 = call i64 @i64_load(ptr noundef %272, i64 noundef %275)
  store i64 %276, ptr %25, align 8, !tbaa !11
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.w2c_hermes, ptr %277, i32 0, i32 6
  %279 = load i32, ptr %17, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = add i64 %280, 216
  %282 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %278, i64 noundef %281, i64 noundef %282)
  %283 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %283, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %284 = load i32, ptr %18, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %287, ptr %18, align 4, !tbaa !9
  store i32 216, ptr %19, align 4, !tbaa !9
  %288 = load i32, ptr %19, align 4, !tbaa !9
  %289 = load i32, ptr %18, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %18, align 4, !tbaa !9
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = load i32, ptr %17, align 4, !tbaa !9
  %293 = load i32, ptr %18, align 4, !tbaa !9
  %294 = call i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3AManagedValue0x3Chermes0x3A0x3Avm0x3A0x3APinnedHermesValue0x3E0x260x20hermes0x3A0x3AManagedChunkedList0x3C0x28anonymous0x20namespace0x290x3A0x3AManagedValue0x3Chermes0x3A0x3Avm0x3A0x3APinnedHermesValue0x3E0x2C0x2016ul0x3E0x3A0x3Aadd0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x260x3E0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x260x29(ptr noundef %291, i32 noundef %292, i32 noundef %293)
  store i32 %294, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %295, ptr %12, align 4, !tbaa !9
  %296 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %296, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %297 = load i32, ptr %18, align 4, !tbaa !9
  %298 = load i32, ptr %17, align 4, !tbaa !9
  %299 = add i32 %298, %297
  store i32 %299, ptr %17, align 4, !tbaa !9
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  %301 = load i32, ptr %17, align 4, !tbaa !9
  %302 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(ptr noundef %300, i32 noundef %301)
  store i32 %302, ptr %17, align 4, !tbaa !9
  %303 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %303, ptr %17, align 4, !tbaa !9
  store i32 224, ptr %18, align 4, !tbaa !9
  %304 = load i32, ptr %18, align 4, !tbaa !9
  %305 = load i32, ptr %17, align 4, !tbaa !9
  %306 = add i32 %305, %304
  store i32 %306, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %17, align 4, !tbaa !9
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 3
  store i32 %307, ptr %309, align 8, !tbaa !13
  %310 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %310, ptr %17, align 4, !tbaa !9
  br label %341

311:                                              ; preds = %5
  store i32 131111, ptr %17, align 4, !tbaa !9
  store i32 61000, ptr %18, align 4, !tbaa !9
  store i32 95, ptr %19, align 4, !tbaa !9
  store i32 90287, ptr %20, align 4, !tbaa !9
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = load i32, ptr %17, align 4, !tbaa !9
  %314 = load i32, ptr %18, align 4, !tbaa !9
  %315 = load i32, ptr %19, align 4, !tbaa !9
  %316 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

317:                                              ; preds = %197
  store i32 118416, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  store i32 460, ptr %19, align 4, !tbaa !9
  store i32 72237, ptr %20, align 4, !tbaa !9
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = load i32, ptr %19, align 4, !tbaa !9
  %322 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %318, i32 noundef %319, i32 noundef %320, i32 noundef %321, i32 noundef %322)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

323:                                              ; preds = %209
  store i32 170731, ptr %17, align 4, !tbaa !9
  store i32 86175, ptr %18, align 4, !tbaa !9
  store i32 116, ptr %19, align 4, !tbaa !9
  store i32 91383, ptr %20, align 4, !tbaa !9
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = load i32, ptr %17, align 4, !tbaa !9
  %326 = load i32, ptr %18, align 4, !tbaa !9
  %327 = load i32, ptr %19, align 4, !tbaa !9
  %328 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %324, i32 noundef %325, i32 noundef %326, i32 noundef %327, i32 noundef %328)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

329:                                              ; preds = %221
  store i32 170731, ptr %17, align 4, !tbaa !9
  store i32 86175, ptr %18, align 4, !tbaa !9
  store i32 116, ptr %19, align 4, !tbaa !9
  store i32 91383, ptr %20, align 4, !tbaa !9
  %330 = load ptr, ptr %6, align 8, !tbaa !5
  %331 = load i32, ptr %17, align 4, !tbaa !9
  %332 = load i32, ptr %18, align 4, !tbaa !9
  %333 = load i32, ptr %19, align 4, !tbaa !9
  %334 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333, i32 noundef %334)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

335:                                              ; preds = %261
  store i32 153261, ptr %17, align 4, !tbaa !9
  store i32 61000, ptr %18, align 4, !tbaa !9
  store i32 1035, ptr %19, align 4, !tbaa !9
  store i32 65356, ptr %20, align 4, !tbaa !9
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = load i32, ptr %17, align 4, !tbaa !9
  %338 = load i32, ptr %18, align 4, !tbaa !9
  %339 = load i32, ptr %19, align 4, !tbaa !9
  %340 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %336, i32 noundef %337, i32 noundef %338, i32 noundef %339, i32 noundef %340)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

341:                                              ; preds = %268
  %342 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i32 %342
}

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #3

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

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

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

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

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

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

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 }
attributes #6 = { 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 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !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: nounwind uwtable
define dso_local i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3Acreate_function_from_host_function0x28HermesABIRuntime0x2A0x2C0x20HermesABIPropNameID0x2C0x20unsigned0x20int0x2C0x20HermesABIHostFunction0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -224
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %1 to i64
  %11 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %13 = zext i32 %8 to i64
  %14 = add nuw nsw i64 %13, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %14, i64 noundef 48)
  %15 = add nuw nsw i64 %13, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %15, i32 noundef %12)
  %16 = add nuw nsw i64 %13, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %16, i32 noundef 0)
  %17 = zext i32 %12 to i64
  %18 = add nuw nsw i64 %17, 4
  %19 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %18)
  %20 = add i32 %7, -36
  %21 = add i32 %7, -176
  %22 = zext i32 %20 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef %21)
  %23 = add nuw nsw i64 %13, 180
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %23, i64 noundef 17179869185)
  %24 = add nuw nsw i64 %13, 176
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %24, i32 noundef %20)
  %25 = add nuw nsw i64 %13, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %25, i32 noundef %19)
  %26 = add nuw nsw i64 %13, 212
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %26, i32 noundef 0)
  %27 = add i32 %7, -48
  %28 = add nuw nsw i64 %13, 208
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %28, i32 noundef %27)
  %29 = add nuw nsw i64 %13, 204
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %29, i32 noundef %21)
  %30 = add i32 %7, -200
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %18, i32 noundef %30)
  %31 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef 8) #4
  %32 = zext i32 %31 to i64
  %33 = add nuw nsw i64 %32, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef %4)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %32, i32 noundef %1)
  %34 = zext i32 %2 to i64
  %35 = add nuw nsw i64 %34, 4
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %35)
  %.not = icmp eq i32 %36, 0
  br i1 %.not, label %58, label %37

37:                                               ; preds = %5
  %38 = add nuw nsw i64 %34, 8
  %39 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %38)
  %.mask = and i64 %39, -140737488355328
  %.not197 = icmp eq i64 %.mask, -1266637395197952
  br i1 %.not197, label %40, label %59

40:                                               ; preds = %37
  %41 = and i64 %39, 3758096384
  %.not198 = icmp eq i64 %41, 0
  br i1 %.not198, label %42, label %60

42:                                               ; preds = %40
  %43 = trunc i64 %39 to i32
  %44 = icmp ugt i32 %43, 536870911
  br i1 %44, label %61, label %45

45:                                               ; preds = %42
  %46 = add i32 %7, -216
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AFinalizableNativeFunction0x3A0x3AcreateWithoutPrototype0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x200x280x2A0x290x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %12, i32 noundef %31, i32 noundef 1541, i32 noundef 1542, i32 noundef %43, i32 noundef %3) #4
  %47 = add nuw nsw i64 %13, 8
  %48 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %47)
  switch i32 %48, label %49 [
    i32 1, label %50
    i32 0, label %62
  ]

49:                                               ; preds = %45
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

50:                                               ; preds = %45
  %51 = add nuw nsw i64 %13, 16
  %52 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %51)
  %53 = add nuw nsw i64 %13, 216
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %53, i64 noundef %52)
  %54 = add i32 %1, 16
  %55 = add i32 %7, -8
  %56 = tail call i32 @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3AManagedValue0x3Chermes0x3A0x3Avm0x3A0x3APinnedHermesValue0x3E0x260x20hermes0x3A0x3AManagedChunkedList0x3C0x28anonymous0x20namespace0x290x3A0x3AManagedValue0x3Chermes0x3A0x3Avm0x3A0x3APinnedHermesValue0x3E0x2C0x2016ul0x3E0x3A0x3Aadd0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x260x3E0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x260x29(ptr noundef nonnull %0, i32 noundef %54, i32 noundef %55)
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(ptr noundef nonnull %0, i32 noundef %30) #4
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret i32 %56

58:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 131111, i32 noundef 61000, i32 noundef 95, i32 noundef 90287)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

59:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118416, i32 noundef 83341, i32 noundef 460, i32 noundef 72237)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

60:                                               ; preds = %40
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 170731, i32 noundef 86175, i32 noundef 116, i32 noundef 91383)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

61:                                               ; preds = %42
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 170731, i32 noundef 86175, i32 noundef 116, i32 noundef 91383)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

62:                                               ; preds = %45
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 153261, i32 noundef 61000, i32 noundef 1035, i32 noundef 65356)
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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

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

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

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

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

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

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

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

attributes #0 = { 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 = { 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 = { "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}


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