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

; 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: 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) #2

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @w2c_hermes_long0x20long0x20hermes0x3A0x3Avm0x3A0x3AJSDataView0x3A0x3Aget0x3Clong0x20long0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20bool0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #4 {
  %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 i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = 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 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %24 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %24, ptr %13, align 4, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %13, align 4, !tbaa !9
  %28 = zext i32 %27 to i64
  %29 = add i64 %28, 28
  %30 = call i32 @i32_load(ptr noundef %26, i64 noundef %29)
  store i32 %30, ptr %13, align 4, !tbaa !9
  %31 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %13, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %230

34:                                               ; preds = %5
  %35 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %35, ptr %13, align 4, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 6
  %38 = load i32, ptr %13, align 4, !tbaa !9
  %39 = zext i32 %38 to i64
  %40 = add i64 %39, 3
  %41 = call i32 @i32_load8_u(ptr noundef %37, i64 noundef %40)
  store i32 %41, ptr %13, align 4, !tbaa !9
  store i32 24, ptr %14, align 4, !tbaa !9
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = and i32 %42, 31
  %44 = load i32, ptr %13, align 4, !tbaa !9
  %45 = shl i32 %44, %43
  store i32 %45, ptr %13, align 4, !tbaa !9
  store i32 553648128, ptr %14, align 4, !tbaa !9
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = load i32, ptr %14, align 4, !tbaa !9
  %48 = icmp ne i32 %46, %47
  %49 = zext i1 %48 to i32
  store i32 %49, ptr %13, align 4, !tbaa !9
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %53

52:                                               ; preds = %34
  br label %248

53:                                               ; preds = %34
  %54 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %54, ptr %13, align 4, !tbaa !9
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %13, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 37
  %60 = call i32 @i32_load8_u(ptr noundef %56, i64 noundef %59)
  store i32 %60, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %13, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  %63 = xor i1 %62, true
  %64 = zext i1 %63 to i32
  store i32 %64, ptr %13, align 4, !tbaa !9
  %65 = load i32, ptr %13, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %53
  br label %266

68:                                               ; preds = %53
  %69 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %69, ptr %13, align 4, !tbaa !9
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 36
  %75 = call i32 @i32_load(ptr noundef %71, i64 noundef %74)
  store i32 %75, ptr %13, align 4, !tbaa !9
  %76 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %76, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %14, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = icmp ult i32 %80, %81
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %13, align 4, !tbaa !9
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %68
  br label %284

87:                                               ; preds = %68
  %88 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %88, ptr %13, align 4, !tbaa !9
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %13, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 5348
  %94 = call i32 @i32_load8_u(ptr noundef %90, i64 noundef %93)
  store i32 %94, ptr %13, align 4, !tbaa !9
  %95 = load i32, ptr %13, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  %97 = xor i1 %96, true
  %98 = zext i1 %97 to i32
  store i32 %98, ptr %13, align 4, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %102

101:                                              ; preds = %87
  br label %302

102:                                              ; preds = %87
  %103 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %103, ptr %13, align 4, !tbaa !9
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 32
  %109 = call i32 @i32_load(ptr noundef %105, i64 noundef %108)
  store i32 %109, ptr %13, align 4, !tbaa !9
  %110 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %110, ptr %14, align 4, !tbaa !9
  store i32 1316, ptr %15, align 4, !tbaa !9
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = load i32, ptr %14, align 4, !tbaa !9
  %113 = add i32 %112, %111
  store i32 %113, ptr %14, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = call i32 @i32_load(ptr noundef %115, i64 noundef %117)
  store i32 %118, ptr %14, align 4, !tbaa !9
  %119 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %119, ptr %15, align 4, !tbaa !9
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.w2c_hermes, ptr %120, i32 0, i32 6
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = add i64 %123, 28
  %125 = call i32 @i32_load(ptr noundef %121, i64 noundef %124)
  store i32 %125, ptr %15, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = load i32, ptr %14, align 4, !tbaa !9
  %128 = xor i32 %127, %126
  store i32 %128, ptr %14, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = add i32 %130, %129
  store i32 %131, ptr %13, align 4, !tbaa !9
  %132 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %132, ptr %14, align 4, !tbaa !9
  %133 = load i32, ptr %14, align 4, !tbaa !9
  %134 = load i32, ptr %13, align 4, !tbaa !9
  %135 = add i32 %134, %133
  store i32 %135, ptr %13, align 4, !tbaa !9
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %13, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = call i64 @i64_load(ptr noundef %137, i64 noundef %139)
  store i64 %140, ptr %18, align 8, !tbaa !11
  %141 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %141, ptr %12, align 8, !tbaa !11
  %142 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %142, ptr %19, align 8, !tbaa !11
  store i64 56, ptr %20, align 8, !tbaa !11
  %143 = load i64, ptr %20, align 8, !tbaa !11
  %144 = and i64 %143, 63
  %145 = load i64, ptr %19, align 8, !tbaa !11
  %146 = shl i64 %145, %144
  store i64 %146, ptr %19, align 8, !tbaa !11
  %147 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %147, ptr %20, align 8, !tbaa !11
  store i64 65280, ptr %21, align 8, !tbaa !11
  %148 = load i64, ptr %21, align 8, !tbaa !11
  %149 = load i64, ptr %20, align 8, !tbaa !11
  %150 = and i64 %149, %148
  store i64 %150, ptr %20, align 8, !tbaa !11
  store i64 40, ptr %21, align 8, !tbaa !11
  %151 = load i64, ptr %21, align 8, !tbaa !11
  %152 = and i64 %151, 63
  %153 = load i64, ptr %20, align 8, !tbaa !11
  %154 = shl i64 %153, %152
  store i64 %154, ptr %20, align 8, !tbaa !11
  %155 = load i64, ptr %20, align 8, !tbaa !11
  %156 = load i64, ptr %19, align 8, !tbaa !11
  %157 = or i64 %156, %155
  store i64 %157, ptr %19, align 8, !tbaa !11
  %158 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %158, ptr %20, align 8, !tbaa !11
  store i64 16711680, ptr %21, align 8, !tbaa !11
  %159 = load i64, ptr %21, align 8, !tbaa !11
  %160 = load i64, ptr %20, align 8, !tbaa !11
  %161 = and i64 %160, %159
  store i64 %161, ptr %20, align 8, !tbaa !11
  store i64 24, ptr %21, align 8, !tbaa !11
  %162 = load i64, ptr %21, align 8, !tbaa !11
  %163 = and i64 %162, 63
  %164 = load i64, ptr %20, align 8, !tbaa !11
  %165 = shl i64 %164, %163
  store i64 %165, ptr %20, align 8, !tbaa !11
  %166 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %166, ptr %21, align 8, !tbaa !11
  store i64 4278190080, ptr %22, align 8, !tbaa !11
  %167 = load i64, ptr %22, align 8, !tbaa !11
  %168 = load i64, ptr %21, align 8, !tbaa !11
  %169 = and i64 %168, %167
  store i64 %169, ptr %21, align 8, !tbaa !11
  store i64 8, ptr %22, align 8, !tbaa !11
  %170 = load i64, ptr %22, align 8, !tbaa !11
  %171 = and i64 %170, 63
  %172 = load i64, ptr %21, align 8, !tbaa !11
  %173 = shl i64 %172, %171
  store i64 %173, ptr %21, align 8, !tbaa !11
  %174 = load i64, ptr %21, align 8, !tbaa !11
  %175 = load i64, ptr %20, align 8, !tbaa !11
  %176 = or i64 %175, %174
  store i64 %176, ptr %20, align 8, !tbaa !11
  %177 = load i64, ptr %20, align 8, !tbaa !11
  %178 = load i64, ptr %19, align 8, !tbaa !11
  %179 = or i64 %178, %177
  store i64 %179, ptr %19, align 8, !tbaa !11
  %180 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %180, ptr %20, align 8, !tbaa !11
  store i64 8, ptr %21, align 8, !tbaa !11
  %181 = load i64, ptr %21, align 8, !tbaa !11
  %182 = and i64 %181, 63
  %183 = load i64, ptr %20, align 8, !tbaa !11
  %184 = lshr i64 %183, %182
  store i64 %184, ptr %20, align 8, !tbaa !11
  store i64 4278190080, ptr %21, align 8, !tbaa !11
  %185 = load i64, ptr %21, align 8, !tbaa !11
  %186 = load i64, ptr %20, align 8, !tbaa !11
  %187 = and i64 %186, %185
  store i64 %187, ptr %20, align 8, !tbaa !11
  %188 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %188, ptr %21, align 8, !tbaa !11
  store i64 24, ptr %22, align 8, !tbaa !11
  %189 = load i64, ptr %22, align 8, !tbaa !11
  %190 = and i64 %189, 63
  %191 = load i64, ptr %21, align 8, !tbaa !11
  %192 = lshr i64 %191, %190
  store i64 %192, ptr %21, align 8, !tbaa !11
  store i64 16711680, ptr %22, align 8, !tbaa !11
  %193 = load i64, ptr %22, align 8, !tbaa !11
  %194 = load i64, ptr %21, align 8, !tbaa !11
  %195 = and i64 %194, %193
  store i64 %195, ptr %21, align 8, !tbaa !11
  %196 = load i64, ptr %21, align 8, !tbaa !11
  %197 = load i64, ptr %20, align 8, !tbaa !11
  %198 = or i64 %197, %196
  store i64 %198, ptr %20, align 8, !tbaa !11
  %199 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %199, ptr %21, align 8, !tbaa !11
  store i64 40, ptr %22, align 8, !tbaa !11
  %200 = load i64, ptr %22, align 8, !tbaa !11
  %201 = and i64 %200, 63
  %202 = load i64, ptr %21, align 8, !tbaa !11
  %203 = lshr i64 %202, %201
  store i64 %203, ptr %21, align 8, !tbaa !11
  store i64 65280, ptr %22, align 8, !tbaa !11
  %204 = load i64, ptr %22, align 8, !tbaa !11
  %205 = load i64, ptr %21, align 8, !tbaa !11
  %206 = and i64 %205, %204
  store i64 %206, ptr %21, align 8, !tbaa !11
  %207 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %207, ptr %22, align 8, !tbaa !11
  store i64 56, ptr %23, align 8, !tbaa !11
  %208 = load i64, ptr %23, align 8, !tbaa !11
  %209 = and i64 %208, 63
  %210 = load i64, ptr %22, align 8, !tbaa !11
  %211 = lshr i64 %210, %209
  store i64 %211, ptr %22, align 8, !tbaa !11
  %212 = load i64, ptr %22, align 8, !tbaa !11
  %213 = load i64, ptr %21, align 8, !tbaa !11
  %214 = or i64 %213, %212
  store i64 %214, ptr %21, align 8, !tbaa !11
  %215 = load i64, ptr %21, align 8, !tbaa !11
  %216 = load i64, ptr %20, align 8, !tbaa !11
  %217 = or i64 %216, %215
  store i64 %217, ptr %20, align 8, !tbaa !11
  %218 = load i64, ptr %20, align 8, !tbaa !11
  %219 = load i64, ptr %19, align 8, !tbaa !11
  %220 = or i64 %219, %218
  store i64 %220, ptr %19, align 8, !tbaa !11
  %221 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %221, ptr %15, align 4, !tbaa !9
  %222 = load i32, ptr %15, align 4, !tbaa !9
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %226

224:                                              ; preds = %102
  %225 = load i64, ptr %18, align 8, !tbaa !11
  br label %228

226:                                              ; preds = %102
  %227 = load i64, ptr %19, align 8, !tbaa !11
  br label %228

228:                                              ; preds = %226, %224
  %229 = phi i64 [ %225, %224 ], [ %227, %226 ]
  store i64 %229, ptr %18, align 8, !tbaa !11
  br label %305

230:                                              ; preds = %5
  store i32 0, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %231, ptr %7, align 4, !tbaa !9
  store i32 133213, ptr %14, align 4, !tbaa !9
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = load i32, ptr %13, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %13, align 4, !tbaa !9
  %235 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %235, ptr %14, align 4, !tbaa !9
  store i32 76981, ptr %15, align 4, !tbaa !9
  %236 = load i32, ptr %15, align 4, !tbaa !9
  %237 = load i32, ptr %14, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %14, align 4, !tbaa !9
  store i32 83, ptr %15, align 4, !tbaa !9
  %239 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %239, ptr %16, align 4, !tbaa !9
  store i32 106250, ptr %17, align 4, !tbaa !9
  %240 = load i32, ptr %17, align 4, !tbaa !9
  %241 = load i32, ptr %16, align 4, !tbaa !9
  %242 = add i32 %241, %240
  store i32 %242, ptr %16, align 4, !tbaa !9
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = load i32, ptr %13, align 4, !tbaa !9
  %245 = load i32, ptr %14, align 4, !tbaa !9
  %246 = load i32, ptr %15, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %243, i32 noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

248:                                              ; preds = %52
  store i32 0, ptr %13, align 4, !tbaa !9
  %249 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %249, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %14, align 4, !tbaa !9
  %250 = load i32, ptr %14, align 4, !tbaa !9
  %251 = load i32, ptr %13, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %13, align 4, !tbaa !9
  %253 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %253, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %15, align 4, !tbaa !9
  %255 = load i32, ptr %14, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %15, align 4, !tbaa !9
  %257 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %257, ptr %16, align 4, !tbaa !9
  store i32 24720, ptr %17, align 4, !tbaa !9
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %16, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %16, align 4, !tbaa !9
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = load i32, ptr %13, align 4, !tbaa !9
  %263 = load i32, ptr %14, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

266:                                              ; preds = %67
  store i32 0, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %267, ptr %7, align 4, !tbaa !9
  store i32 149096, ptr %14, align 4, !tbaa !9
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = load i32, ptr %13, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %13, align 4, !tbaa !9
  %271 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %271, ptr %14, align 4, !tbaa !9
  store i32 76981, ptr %15, align 4, !tbaa !9
  %272 = load i32, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %14, align 4, !tbaa !9
  store i32 126, ptr %15, align 4, !tbaa !9
  %275 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %275, ptr %16, align 4, !tbaa !9
  store i32 35614, ptr %17, align 4, !tbaa !9
  %276 = load i32, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = add i32 %277, %276
  store i32 %278, ptr %16, align 4, !tbaa !9
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = load i32, ptr %13, align 4, !tbaa !9
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %279, i32 noundef %280, i32 noundef %281, i32 noundef %282, i32 noundef %283)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

284:                                              ; preds = %86
  store i32 0, ptr %13, align 4, !tbaa !9
  %285 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %285, ptr %7, align 4, !tbaa !9
  store i32 171651, ptr %14, align 4, !tbaa !9
  %286 = load i32, ptr %14, align 4, !tbaa !9
  %287 = load i32, ptr %13, align 4, !tbaa !9
  %288 = add i32 %287, %286
  store i32 %288, ptr %13, align 4, !tbaa !9
  %289 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %289, ptr %14, align 4, !tbaa !9
  store i32 76981, ptr %15, align 4, !tbaa !9
  %290 = load i32, ptr %15, align 4, !tbaa !9
  %291 = load i32, ptr %14, align 4, !tbaa !9
  %292 = add i32 %291, %290
  store i32 %292, ptr %14, align 4, !tbaa !9
  store i32 129, ptr %15, align 4, !tbaa !9
  %293 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %293, ptr %16, align 4, !tbaa !9
  store i32 35614, ptr %17, align 4, !tbaa !9
  %294 = load i32, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %16, align 4, !tbaa !9
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = load i32, ptr %13, align 4, !tbaa !9
  %299 = load i32, ptr %14, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

302:                                              ; preds = %101
  store i32 51727, ptr %13, align 4, !tbaa !9
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %303, i32 noundef %304)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

305:                                              ; preds = %228
  %306 = load i64, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i64 %306
}

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}


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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @w2c_hermes_long0x20long0x20hermes0x3A0x3Avm0x3A0x3AJSDataView0x3A0x3Aget0x3Clong0x20long0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20bool0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 28
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %41, label %10

10:                                               ; preds = %5
  %11 = zext i32 %9 to i64
  %12 = add nuw nsw i64 %11, 3
  %13 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %12)
  %.mask = and i32 %13, 255
  %.not165 = icmp eq i32 %.mask, 33
  br i1 %.not165, label %14, label %42

14:                                               ; preds = %10
  %15 = add nuw nsw i64 %11, 37
  %16 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %15)
  %.not166 = icmp eq i32 %16, 0
  br i1 %.not166, label %43, label %17

17:                                               ; preds = %14
  %18 = add nuw nsw i64 %7, 36
  %19 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %18)
  %20 = add i32 %3, 8
  %21 = icmp ult i32 %19, %20
  br i1 %21, label %44, label %22

22:                                               ; preds = %17
  %23 = zext i32 %2 to i64
  %24 = add nuw nsw i64 %23, 5348
  %25 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %24)
  %.not167 = icmp eq i32 %25, 0
  br i1 %.not167, label %45, label %26

26:                                               ; preds = %22
  %27 = add nuw nsw i64 %7, 32
  %28 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %27)
  %29 = add i32 %2, 1316
  %30 = zext i32 %29 to i64
  %31 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %30)
  %32 = add nuw nsw i64 %11, 28
  %33 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %32)
  %34 = xor i32 %33, %31
  %35 = add i32 %28, %3
  %36 = add i32 %35, %34
  %37 = zext i32 %36 to i64
  %38 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %37)
  %39 = tail call i64 @llvm.bswap.i64(i64 %38)
  %.not168 = icmp eq i32 %4, 0
  %40 = select i1 %.not168, i64 %39, i64 %38
  ret i64 %40

41:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 133213, i32 noundef 76981, i32 noundef 83, i32 noundef 106250) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

42:                                               ; preds = %10
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

43:                                               ; preds = %14
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 149096, i32 noundef 76981, i32 noundef 126, i32 noundef 35614) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

44:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 171651, i32 noundef 76981, i32 noundef 129, i32 noundef 35614) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

45:                                               ; preds = %22
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %0, i32 noundef 51727) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.bswap.i64(i64) #4

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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)"}


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