; 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: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

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

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

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

95:                                               ; preds = %6
  %96 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %96, ptr %17, align 4, !tbaa !9
  %97 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %97, ptr %18, align 4, !tbaa !9
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %18, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 44
  %103 = call i32 @i32_load(ptr noundef %99, i64 noundef %102)
  store i32 %103, ptr %18, align 4, !tbaa !9
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 136
  %109 = call i64 @i64_load(ptr noundef %105, i64 noundef %108)
  store i64 %109, ptr %23, align 8, !tbaa !11
  %110 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %110, ptr %16, align 8, !tbaa !11
  store i64 1095216660480, ptr %24, align 8, !tbaa !11
  %111 = load i64, ptr %24, align 8, !tbaa !11
  %112 = load i64, ptr %23, align 8, !tbaa !11
  %113 = and i64 %112, %111
  store i64 %113, ptr %23, align 8, !tbaa !11
  store i64 0, ptr %24, align 8, !tbaa !11
  %114 = load i64, ptr %23, align 8, !tbaa !11
  %115 = load i64, ptr %24, align 8, !tbaa !11
  %116 = icmp ne i64 %114, %115
  %117 = zext i1 %116 to i32
  store i32 %117, ptr %18, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %124

120:                                              ; preds = %95
  %121 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %121, ptr %23, align 8, !tbaa !11
  %122 = load i64, ptr %23, align 8, !tbaa !11
  %123 = trunc i64 %122 to i32
  store i32 %123, ptr %18, align 4, !tbaa !9
  br label %152

124:                                              ; preds = %95
  store i32 0, ptr %18, align 4, !tbaa !9
  %125 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %125, ptr %19, align 4, !tbaa !9
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %19, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = add i64 %129, 4
  %131 = call i32 @i32_load(ptr noundef %127, i64 noundef %130)
  store i32 %131, ptr %19, align 4, !tbaa !9
  %132 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %133, ptr %20, align 4, !tbaa !9
  store i32 36, ptr %21, align 4, !tbaa !9
  %134 = load i32, ptr %21, align 4, !tbaa !9
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = add i32 %135, %134
  store i32 %136, ptr %20, align 4, !tbaa !9
  %137 = load i32, ptr %19, align 4, !tbaa !9
  %138 = load i32, ptr %20, align 4, !tbaa !9
  %139 = icmp eq i32 %137, %138
  %140 = zext i1 %139 to i32
  store i32 %140, ptr %19, align 4, !tbaa !9
  %141 = load i32, ptr %19, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %124
  br label %152

144:                                              ; preds = %124
  %145 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %145, ptr %18, align 4, !tbaa !9
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %18, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 76
  %151 = call i32 @i32_load(ptr noundef %147, i64 noundef %150)
  store i32 %151, ptr %18, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %144, %143, %120
  %153 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %153, ptr %10, align 4, !tbaa !9
  %154 = load ptr, ptr %7, 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, 76
  %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 %12, align 4, !tbaa !9
  store i32 %160, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %161, ptr %18, align 4, !tbaa !9
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.w2c_hermes, ptr %162, i32 0, i32 6
  %164 = load i32, ptr %18, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = add i64 %165, 12
  %167 = call i32 @i32_load(ptr noundef %163, i64 noundef %166)
  store i32 %167, ptr %18, align 4, !tbaa !9
  %168 = load ptr, ptr %7, 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, 72
  %173 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %174, ptr %17, align 4, !tbaa !9
  %175 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = add i64 %179, 16
  %181 = call i32 @i32_load(ptr noundef %177, i64 noundef %180)
  store i32 %181, ptr %18, align 4, !tbaa !9
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 68
  %187 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %183, i64 noundef %186, i32 noundef %187)
  %188 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %188, ptr %17, align 4, !tbaa !9
  %189 = load ptr, ptr %7, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 36
  %194 = call i32 @i32_load(ptr noundef %190, i64 noundef %193)
  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 = %152
  br label %276

198:                                              ; preds = %152
  %199 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %199, ptr %17, align 4, !tbaa !9
  %200 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %200, ptr %18, align 4, !tbaa !9
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 36
  %206 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %202, i64 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %207, ptr %17, align 4, !tbaa !9
  %208 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %208, ptr %18, align 4, !tbaa !9
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.w2c_hermes, ptr %209, i32 0, i32 6
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = add i64 %212, 4
  %214 = call i32 @i32_load(ptr noundef %210, i64 noundef %213)
  store i32 %214, ptr %18, align 4, !tbaa !9
  %215 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %215, ptr %8, align 4, !tbaa !9
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = call i32 @i32_load(ptr noundef %217, i64 noundef %219)
  store i32 %220, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %221, ptr %11, align 4, !tbaa !9
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %17, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %223, i64 noundef %225, i32 noundef %226)
  %227 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %227, ptr %17, align 4, !tbaa !9
  %228 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %228, ptr %18, align 4, !tbaa !9
  %229 = load ptr, ptr %7, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.w2c_hermes, ptr %229, i32 0, i32 6
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = zext i32 %231 to i64
  %233 = add i64 %232, 4
  %234 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %230, i64 noundef %233, i32 noundef %234)
  %235 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %235, ptr %17, align 4, !tbaa !9
  %236 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %236, ptr %18, align 4, !tbaa !9
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 6
  %239 = load i32, ptr %17, align 4, !tbaa !9
  %240 = zext i32 %239 to i64
  %241 = add i64 %240, 4
  %242 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %238, i64 noundef %241, i32 noundef %242)
  %243 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %243, ptr %17, align 4, !tbaa !9
  %244 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %244, ptr %18, align 4, !tbaa !9
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.w2c_hermes, ptr %245, i32 0, i32 6
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  %249 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %246, i64 noundef %248, i32 noundef %249)
  %250 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %250, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %251 = load i32, ptr %18, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  %253 = add i32 %252, %251
  store i32 %253, ptr %17, align 4, !tbaa !9
  %254 = load i32, ptr %17, align 4, !tbaa !9
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.w2c_hermes, ptr %255, i32 0, i32 3
  store i32 %254, ptr %256, align 8, !tbaa !13
  %257 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %257, ptr %17, align 4, !tbaa !9
  br label %294

258:                                              ; preds = %6
  store i32 0, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %259, ptr %12, align 4, !tbaa !9
  store i32 152722, ptr %18, align 4, !tbaa !9
  %260 = load i32, ptr %18, align 4, !tbaa !9
  %261 = load i32, ptr %17, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %17, align 4, !tbaa !9
  %263 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %263, ptr %18, align 4, !tbaa !9
  store i32 80936, ptr %19, align 4, !tbaa !9
  %264 = load i32, ptr %19, align 4, !tbaa !9
  %265 = load i32, ptr %18, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %18, align 4, !tbaa !9
  store i32 228, ptr %19, align 4, !tbaa !9
  %267 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %267, ptr %20, align 4, !tbaa !9
  store i32 65834, ptr %21, align 4, !tbaa !9
  %268 = load i32, ptr %21, align 4, !tbaa !9
  %269 = load i32, ptr %20, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %20, align 4, !tbaa !9
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = load i32, ptr %19, align 4, !tbaa !9
  %275 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %271, i32 noundef %272, i32 noundef %273, i32 noundef %274, i32 noundef %275)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

276:                                              ; preds = %197
  store i32 0, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %277, ptr %12, align 4, !tbaa !9
  store i32 167047, ptr %18, align 4, !tbaa !9
  %278 = load i32, ptr %18, align 4, !tbaa !9
  %279 = load i32, ptr %17, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %17, align 4, !tbaa !9
  %281 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %281, ptr %18, align 4, !tbaa !9
  store i32 58058, ptr %19, align 4, !tbaa !9
  %282 = load i32, ptr %19, align 4, !tbaa !9
  %283 = load i32, ptr %18, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %18, align 4, !tbaa !9
  store i32 1036, ptr %19, align 4, !tbaa !9
  %285 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %285, ptr %20, align 4, !tbaa !9
  store i32 24967, ptr %21, align 4, !tbaa !9
  %286 = load i32, ptr %21, align 4, !tbaa !9
  %287 = load i32, ptr %20, align 4, !tbaa !9
  %288 = add i32 %287, %286
  store i32 %288, ptr %20, align 4, !tbaa !9
  %289 = load ptr, ptr %7, align 8, !tbaa !5
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %18, align 4, !tbaa !9
  %292 = load i32, ptr %19, align 4, !tbaa !9
  %293 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %289, i32 noundef %290, i32 noundef %291, i32 noundef %292, i32 noundef %293)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

294:                                              ; preds = %198
  %295 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret i32 %295
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3AHBCCallNInst0x3A0x3AHBCCallNInst0x28hermes0x3A0x3ALiteralString0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ALiteralUndefined0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3AValue0x2A0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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: 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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateHBCCallNInst0x28hermes0x3A0x3ALiteralString0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3AValue0x2A0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #3 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -16
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %1 to i64
  %12 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %11)
  %13 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef 84) #4
  %14 = zext i32 %5 to i64
  %15 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %14)
  %16 = zext i32 %9 to i64
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %16, i64 noundef %15)
  %17 = add nuw nsw i64 %16, 8
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %17, i64 noundef %15)
  %18 = add i32 %12, 268
  %19 = tail call i32 @w2c_hermes_hermes0x3A0x3AHBCCallNInst0x3A0x3AHBCCallNInst0x28hermes0x3A0x3ALiteralString0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20hermes0x3A0x3ALiteralUndefined0x2A0x2C0x20hermes0x3A0x3AValue0x2A0x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3AValue0x2A0x3E0x29(ptr noundef %0, i32 noundef %13, i32 noundef %2, i32 noundef %3, i32 noundef %18, i32 noundef %4, i32 noundef %9)
  %20 = add nuw nsw i64 %11, 8
  %21 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %20)
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %60, label %22

22:                                               ; preds = %6
  %23 = zext i32 %21 to i64
  %24 = add nuw nsw i64 %23, 44
  %25 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %24)
  %26 = zext i32 %25 to i64
  %27 = add nuw nsw i64 %26, 136
  %28 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %27)
  %29 = and i64 %28, 1095216660480
  %.not163 = icmp eq i64 %29, 0
  br i1 %.not163, label %32, label %30

30:                                               ; preds = %22
  %31 = trunc i64 %28 to i32
  br label %41

32:                                               ; preds = %22
  %33 = add nuw nsw i64 %11, 4
  %34 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %33)
  %35 = add i32 %21, 36
  %36 = icmp eq i32 %34, %35
  br i1 %36, label %41, label %37

37:                                               ; preds = %32
  %38 = zext i32 %34 to i64
  %39 = add nuw nsw i64 %38, 76
  %40 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %39)
  br label %41

41:                                               ; preds = %32, %37, %30
  %.0 = phi i32 [ %31, %30 ], [ 0, %32 ], [ %40, %37 ]
  %42 = zext i32 %19 to i64
  %43 = add nuw nsw i64 %42, 76
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %43, i32 noundef %.0)
  %44 = add nuw nsw i64 %11, 12
  %45 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %44)
  %46 = add nuw nsw i64 %42, 72
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %46, i32 noundef %45)
  %47 = add nuw nsw i64 %11, 16
  %48 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %47)
  %49 = add nuw nsw i64 %42, 68
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %49, i32 noundef %48)
  %50 = add nuw nsw i64 %42, 36
  %51 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %50)
  %.not164 = icmp eq i32 %51, 0
  br i1 %.not164, label %52, label %61

52:                                               ; preds = %41
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %50, i32 noundef %21)
  %53 = add nuw nsw i64 %11, 4
  %54 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %53)
  %55 = zext i32 %54 to i64
  %56 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %55)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %42, i32 noundef %56)
  %57 = add nuw nsw i64 %42, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %57, i32 noundef %54)
  %58 = zext i32 %56 to i64
  %59 = add nuw nsw i64 %58, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %59, i32 noundef %19)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %55, i32 noundef %19)
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %19

60:                                               ; preds = %6
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 152722, i32 noundef 80936, i32 noundef 228, i32 noundef 65834) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

61:                                               ; preds = %41
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 167047, i32 noundef 58058, i32 noundef 1036, i32 noundef 24967) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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}


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