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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntimeModule0x3A0x3AfindCachedLiteralHiddenClass0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x290x20const(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 i32, align 4
  %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 i32, align 4
  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 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  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 4, 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 !11
  store i32 %27, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %28 = load i32, ptr %21, align 4, !tbaa !9
  %29 = load i32, ptr %20, align 4, !tbaa !9
  %30 = sub i32 %29, %28
  store i32 %30, ptr %20, align 4, !tbaa !9
  %31 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %31, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %20, 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 !11
  %35 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %35, ptr %20, align 4, !tbaa !9
  store i32 16777215, ptr %21, align 4, !tbaa !9
  %36 = load i32, ptr %20, align 4, !tbaa !9
  %37 = load i32, ptr %21, align 4, !tbaa !9
  %38 = icmp ugt i32 %36, %37
  %39 = zext i1 %38 to i32
  store i32 %39, ptr %20, align 4, !tbaa !9
  %40 = load i32, ptr %20, align 4, !tbaa !9
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %6
  br label %289

43:                                               ; preds = %6
  %44 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %44, ptr %20, align 4, !tbaa !9
  store i32 255, ptr %21, align 4, !tbaa !9
  %45 = load i32, ptr %20, align 4, !tbaa !9
  %46 = load i32, ptr %21, align 4, !tbaa !9
  %47 = icmp ugt i32 %45, %46
  %48 = zext i1 %47 to i32
  store i32 %48, ptr %20, align 4, !tbaa !9
  %49 = load i32, ptr %20, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %43
  br label %289

52:                                               ; preds = %43
  %53 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %53, ptr %20, align 4, !tbaa !9
  %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 %20, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = add i64 %57, 68
  %59 = call i32 @i32_load(ptr noundef %55, i64 noundef %58)
  store i32 %59, ptr %20, align 4, !tbaa !9
  %60 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %60, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %61, ptr %20, align 4, !tbaa !9
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %20, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 80
  %67 = call i32 @i32_load(ptr noundef %63, i64 noundef %66)
  store i32 %67, ptr %20, align 4, !tbaa !9
  %68 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %68, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %20, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  %71 = xor i1 %70, true
  %72 = zext i1 %71 to i32
  store i32 %72, ptr %20, align 4, !tbaa !9
  %73 = load i32, ptr %20, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %52
  br label %184

76:                                               ; preds = %52
  %77 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %77, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %78 = load i32, ptr %21, align 4, !tbaa !9
  %79 = and i32 %78, 31
  %80 = load i32, ptr %20, align 4, !tbaa !9
  %81 = shl i32 %80, %79
  store i32 %81, ptr %20, align 4, !tbaa !9
  %82 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %82, ptr %21, align 4, !tbaa !9
  %83 = load i32, ptr %21, align 4, !tbaa !9
  %84 = load i32, ptr %20, align 4, !tbaa !9
  %85 = or i32 %84, %83
  store i32 %85, ptr %20, align 4, !tbaa !9
  %86 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %86, ptr %12, align 4, !tbaa !9
  store i32 -2, ptr %21, align 4, !tbaa !9
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = load i32, ptr %21, align 4, !tbaa !9
  %89 = icmp uge i32 %87, %88
  %90 = zext i1 %89 to i32
  store i32 %90, ptr %20, align 4, !tbaa !9
  %91 = load i32, ptr %20, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %76
  br label %305

94:                                               ; preds = %76
  %95 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %95, ptr %20, align 4, !tbaa !9
  %96 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %96, ptr %21, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %97, ptr %22, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  %98 = load i32, ptr %23, align 4, !tbaa !9
  %99 = load i32, ptr %22, align 4, !tbaa !9
  %100 = sub i32 %99, %98
  store i32 %100, ptr %22, align 4, !tbaa !9
  %101 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %101, ptr %19, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %102, ptr %23, align 4, !tbaa !9
  store i32 37, ptr %24, align 4, !tbaa !9
  %103 = load i32, ptr %24, align 4, !tbaa !9
  %104 = load i32, ptr %23, align 4, !tbaa !9
  %105 = mul i32 %104, %103
  store i32 %105, ptr %23, align 4, !tbaa !9
  %106 = load i32, ptr %23, align 4, !tbaa !9
  %107 = load i32, ptr %22, align 4, !tbaa !9
  %108 = and i32 %107, %106
  store i32 %108, ptr %22, align 4, !tbaa !9
  %109 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %109, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %23, align 4, !tbaa !9
  %110 = load i32, ptr %23, align 4, !tbaa !9
  %111 = and i32 %110, 31
  %112 = load i32, ptr %22, align 4, !tbaa !9
  %113 = shl i32 %112, %111
  store i32 %113, ptr %22, align 4, !tbaa !9
  %114 = load i32, ptr %22, align 4, !tbaa !9
  %115 = load i32, ptr %21, align 4, !tbaa !9
  %116 = add i32 %115, %114
  store i32 %116, ptr %21, align 4, !tbaa !9
  %117 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %117, ptr %11, align 4, !tbaa !9
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %21, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = call i32 @i32_load(ptr noundef %119, i64 noundef %121)
  store i32 %122, ptr %21, align 4, !tbaa !9
  %123 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %123, ptr %18, align 4, !tbaa !9
  %124 = load i32, ptr %20, align 4, !tbaa !9
  %125 = load i32, ptr %21, align 4, !tbaa !9
  %126 = icmp eq i32 %124, %125
  %127 = zext i1 %126 to i32
  store i32 %127, ptr %20, align 4, !tbaa !9
  %128 = load i32, ptr %20, align 4, !tbaa !9
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %94
  br label %195

131:                                              ; preds = %94
  store i32 1, ptr %20, align 4, !tbaa !9
  %132 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %132, ptr %15, align 4, !tbaa !9
  br label %133

133:                                              ; preds = %182, %131
  %134 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %134, ptr %20, align 4, !tbaa !9
  store i32 -1, ptr %21, align 4, !tbaa !9
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = load i32, ptr %21, align 4, !tbaa !9
  %137 = icmp eq i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %20, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %133
  br label %184

142:                                              ; preds = %133
  %143 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %143, ptr %20, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %144, ptr %21, align 4, !tbaa !9
  %145 = load i32, ptr %21, align 4, !tbaa !9
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = add i32 %146, %145
  store i32 %147, ptr %20, align 4, !tbaa !9
  %148 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %148, ptr %11, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %149, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %150 = load i32, ptr %21, align 4, !tbaa !9
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = add i32 %151, %150
  store i32 %152, ptr %20, align 4, !tbaa !9
  %153 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %153, ptr %15, align 4, !tbaa !9
  %154 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %154, ptr %20, align 4, !tbaa !9
  %155 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %155, ptr %21, align 4, !tbaa !9
  %156 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %156, ptr %22, align 4, !tbaa !9
  %157 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %157, ptr %23, align 4, !tbaa !9
  %158 = load i32, ptr %23, align 4, !tbaa !9
  %159 = load i32, ptr %22, align 4, !tbaa !9
  %160 = and i32 %159, %158
  store i32 %160, ptr %22, align 4, !tbaa !9
  %161 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %161, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %23, align 4, !tbaa !9
  %162 = load i32, ptr %23, align 4, !tbaa !9
  %163 = and i32 %162, 31
  %164 = load i32, ptr %22, align 4, !tbaa !9
  %165 = shl i32 %164, %163
  store i32 %165, ptr %22, align 4, !tbaa !9
  %166 = load i32, ptr %22, align 4, !tbaa !9
  %167 = load i32, ptr %21, align 4, !tbaa !9
  %168 = add i32 %167, %166
  store i32 %168, ptr %21, align 4, !tbaa !9
  %169 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %169, ptr %11, align 4, !tbaa !9
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %21, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = call i32 @i32_load(ptr noundef %171, i64 noundef %173)
  store i32 %174, ptr %21, align 4, !tbaa !9
  %175 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %175, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %20, align 4, !tbaa !9
  %177 = load i32, ptr %21, align 4, !tbaa !9
  %178 = icmp ne i32 %176, %177
  %179 = zext i1 %178 to i32
  store i32 %179, ptr %20, align 4, !tbaa !9
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %142
  br label %133

183:                                              ; preds = %142
  br label %195

184:                                              ; preds = %141, %75
  %185 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %185, ptr %20, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %186, ptr %21, align 4, !tbaa !9
  store i32 3, ptr %22, align 4, !tbaa !9
  %187 = load i32, ptr %22, align 4, !tbaa !9
  %188 = and i32 %187, 31
  %189 = load i32, ptr %21, align 4, !tbaa !9
  %190 = shl i32 %189, %188
  store i32 %190, ptr %21, align 4, !tbaa !9
  %191 = load i32, ptr %21, align 4, !tbaa !9
  %192 = load i32, ptr %20, align 4, !tbaa !9
  %193 = add i32 %192, %191
  store i32 %193, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %194, ptr %11, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %184, %183, %130
  %196 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %196, ptr %20, align 4, !tbaa !9
  %197 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %197, ptr %21, align 4, !tbaa !9
  %198 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %198, ptr %22, align 4, !tbaa !9
  store i32 3, ptr %23, align 4, !tbaa !9
  %199 = load i32, ptr %23, align 4, !tbaa !9
  %200 = and i32 %199, 31
  %201 = load i32, ptr %22, align 4, !tbaa !9
  %202 = shl i32 %201, %200
  store i32 %202, ptr %22, align 4, !tbaa !9
  %203 = load i32, ptr %22, align 4, !tbaa !9
  %204 = load i32, ptr %21, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %21, align 4, !tbaa !9
  %206 = load i32, ptr %20, align 4, !tbaa !9
  %207 = load i32, ptr %21, align 4, !tbaa !9
  %208 = icmp eq i32 %206, %207
  %209 = zext i1 %208 to i32
  store i32 %209, ptr %20, align 4, !tbaa !9
  %210 = load i32, ptr %20, align 4, !tbaa !9
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %195
  br label %289

213:                                              ; preds = %195
  %214 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %214, ptr %20, align 4, !tbaa !9
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %20, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = add i64 %218, 4
  %220 = call i32 @i32_load(ptr noundef %216, i64 noundef %219)
  store i32 %220, ptr %20, align 4, !tbaa !9
  %221 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %221, ptr %11, align 4, !tbaa !9
  %222 = load i32, ptr %20, align 4, !tbaa !9
  %223 = icmp ne i32 %222, 0
  %224 = xor i1 %223, true
  %225 = zext i1 %224 to i32
  store i32 %225, ptr %20, align 4, !tbaa !9
  %226 = load i32, ptr %20, align 4, !tbaa !9
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %229

228:                                              ; preds = %213
  br label %289

229:                                              ; preds = %213
  %230 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %230, ptr %20, align 4, !tbaa !9
  store i32 808, ptr %21, align 4, !tbaa !9
  %231 = load i32, ptr %21, align 4, !tbaa !9
  %232 = load i32, ptr %20, align 4, !tbaa !9
  %233 = add i32 %232, %231
  store i32 %233, ptr %20, align 4, !tbaa !9
  %234 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %234, ptr %21, align 4, !tbaa !9
  %235 = load ptr, ptr %7, align 8, !tbaa !5
  %236 = load i32, ptr %20, align 4, !tbaa !9
  %237 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AweakRefReadBarrier0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef %235, i32 noundef %236, i32 noundef %237)
  %238 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %238, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %239 = load i32, ptr %21, align 4, !tbaa !9
  %240 = load i32, ptr %20, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %20, align 4, !tbaa !9
  %242 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %242, ptr %21, align 4, !tbaa !9
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %21, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = add i64 %246, 8
  %248 = call i32 @i32_load(ptr noundef %244, i64 noundef %247)
  store i32 %248, ptr %21, align 4, !tbaa !9
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %22, align 4, !tbaa !9
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = load i32, ptr %20, align 4, !tbaa !9
  %252 = load i32, ptr %21, align 4, !tbaa !9
  %253 = load i32, ptr %22, align 4, !tbaa !9
  %254 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x29(ptr noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253)
  store i32 %254, ptr %20, align 4, !tbaa !9
  %255 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %255, ptr %11, align 4, !tbaa !9
  %256 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %256, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %257 = load ptr, ptr %7, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %20, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 %260, 8
  %262 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %258, i64 noundef %261, i32 noundef %262)
  %263 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %263, ptr %20, align 4, !tbaa !9
  %264 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %264, ptr %21, align 4, !tbaa !9
  %265 = load ptr, ptr %7, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.w2c_hermes, ptr %265, i32 0, i32 6
  %267 = load i32, ptr %21, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = add i64 %268, 4
  %270 = call i32 @i32_load(ptr noundef %266, i64 noundef %269)
  store i32 %270, ptr %21, align 4, !tbaa !9
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.w2c_hermes, ptr %271, i32 0, i32 6
  %273 = load i32, ptr %20, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = add i64 %274, 4
  %276 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %272, i64 noundef %275, i32 noundef %276)
  %277 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %277, ptr %20, align 4, !tbaa !9
  %278 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %278, ptr %21, align 4, !tbaa !9
  %279 = load ptr, ptr %7, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 6
  %281 = load i32, ptr %21, align 4, !tbaa !9
  %282 = zext i32 %281 to i64
  %283 = call i32 @i32_load(ptr noundef %280, i64 noundef %282)
  store i32 %283, ptr %21, align 4, !tbaa !9
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.w2c_hermes, ptr %284, i32 0, i32 6
  %286 = load i32, ptr %20, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %285, i64 noundef %287, i32 noundef %288)
  br label %297

289:                                              ; preds = %228, %212, %51, %42
  %290 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %290, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.w2c_hermes, ptr %291, i32 0, i32 6
  %293 = load i32, ptr %20, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = add i64 %294, 8
  %296 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %292, i64 noundef %295, i32 noundef %296)
  br label %297

297:                                              ; preds = %289, %229
  %298 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %298, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %299 = load i32, ptr %21, align 4, !tbaa !9
  %300 = load i32, ptr %20, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %20, align 4, !tbaa !9
  %302 = load i32, ptr %20, align 4, !tbaa !9
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.w2c_hermes, ptr %303, i32 0, i32 3
  store i32 %302, ptr %304, align 8, !tbaa !11
  br label %323

305:                                              ; preds = %93
  store i32 0, ptr %20, align 4, !tbaa !9
  %306 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %306, ptr %8, align 4, !tbaa !9
  store i32 204136, ptr %21, align 4, !tbaa !9
  %307 = load i32, ptr %21, align 4, !tbaa !9
  %308 = load i32, ptr %20, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %20, align 4, !tbaa !9
  %310 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %310, ptr %21, align 4, !tbaa !9
  store i32 81389, ptr %22, align 4, !tbaa !9
  %311 = load i32, ptr %22, align 4, !tbaa !9
  %312 = load i32, ptr %21, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %21, align 4, !tbaa !9
  store i32 597, ptr %22, align 4, !tbaa !9
  %314 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %314, ptr %23, align 4, !tbaa !9
  store i32 48929, ptr %24, align 4, !tbaa !9
  %315 = load i32, ptr %24, align 4, !tbaa !9
  %316 = load i32, ptr %23, align 4, !tbaa !9
  %317 = add i32 %316, %315
  store i32 %317, ptr %23, align 4, !tbaa !9
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  %319 = load i32, ptr %20, align 4, !tbaa !9
  %320 = load i32, ptr %21, align 4, !tbaa !9
  %321 = load i32, ptr %22, align 4, !tbaa !9
  %322 = load i32, ptr %23, 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 = %297
  call void @llvm.lifetime.end.p0(i64 4, 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 4, 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 void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntimeModule0x3A0x3AfindCachedLiteralHiddenClass0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x290x20const(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 = icmp ugt i32 %4, 16777215
  %11 = icmp ugt i32 %5, 255
  %or.cond = or i1 %10, %11
  br i1 %or.cond, label %63, label %12

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = zext i32 %2 to i64
  %15 = add nuw nsw i64 %14, 68
  %16 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %15)
  %17 = add nuw nsw i64 %14, 80
  %18 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %17)
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %.loopexit, label %19

19:                                               ; preds = %12
  %20 = shl nuw i32 %4, 8
  %21 = or disjoint i32 %20, %5
  %22 = icmp ugt i32 %21, -3
  br i1 %22, label %68, label %23

23:                                               ; preds = %19
  %24 = add i32 %18, -1
  %25 = mul i32 %21, 37
  %26 = and i32 %24, %25
  %27 = shl i32 %26, 3
  %28 = add i32 %27, %16
  %29 = zext i32 %28 to i64
  %30 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %29)
  %31 = icmp eq i32 %21, %30
  br i1 %31, label %.loopexit181, label %.preheader

.preheader:                                       ; preds = %23, %33
  %.0172 = phi i32 [ %35, %33 ], [ 1, %23 ]
  %.0171 = phi i32 [ %36, %33 ], [ %26, %23 ]
  %.0 = phi i32 [ %40, %33 ], [ %30, %23 ]
  %32 = icmp eq i32 %.0, -1
  br i1 %32, label %.loopexit, label %33

33:                                               ; preds = %.preheader
  %34 = add i32 %.0171, %.0172
  %35 = add i32 %.0172, 1
  %36 = and i32 %34, %24
  %37 = shl i32 %36, 3
  %38 = add i32 %37, %16
  %39 = zext i32 %38 to i64
  %40 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %39)
  %.not179 = icmp eq i32 %21, %40
  br i1 %.not179, label %.loopexit181, label %.preheader

.loopexit:                                        ; preds = %.preheader, %12
  %41 = shl i32 %18, 3
  %42 = add i32 %41, %16
  br label %.loopexit181

.loopexit181:                                     ; preds = %33, %23, %.loopexit
  %.0173 = phi i32 [ %42, %.loopexit ], [ %28, %23 ], [ %38, %33 ]
  %43 = shl i32 %18, 3
  %44 = add i32 %43, %16
  %45 = icmp eq i32 %.0173, %44
  br i1 %45, label %63, label %46

46:                                               ; preds = %.loopexit181
  %47 = zext i32 %.0173 to i64
  %48 = add nuw nsw i64 %47, 4
  %49 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %48)
  %.not180 = icmp eq i32 %49, 0
  br i1 %.not180, label %63, label %50

50:                                               ; preds = %46
  %51 = add i32 %3, 808
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AweakRefReadBarrier0x28hermes0x3A0x3Avm0x3A0x3AGCCell0x2A0x29(ptr noundef %0, i32 noundef %51, i32 noundef %49) #4
  %52 = add i32 %8, -8
  %53 = add nuw nsw i64 %14, 8
  %54 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %53)
  %55 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x29(ptr noundef %0, i32 noundef %52, i32 noundef %54, i32 noundef %49) #4
  %56 = zext i32 %1 to i64
  %57 = add nuw nsw i64 %56, 8
  tail call void @i32_store8(ptr noundef nonnull %13, i64 noundef %57, i32 noundef 1)
  %58 = zext i32 %55 to i64
  %59 = add nuw nsw i64 %58, 4
  %60 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %59)
  %61 = add nuw nsw i64 %56, 4
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %61, i32 noundef %60)
  %62 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %58)
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %56, i32 noundef %62)
  br label %67

63:                                               ; preds = %46, %.loopexit181, %6
  %64 = getelementptr inbounds i8, ptr %0, i64 40
  %65 = zext i32 %1 to i64
  %66 = add nuw nsw i64 %65, 8
  tail call void @i32_store8(ptr noundef nonnull %64, i64 noundef %66, i32 noundef 0)
  br label %67

67:                                               ; preds = %63, %50
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret void

68:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 204136, i32 noundef 81389, i32 noundef 597, i32 noundef 48929) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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