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

; 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: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) #1

; 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

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

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

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

48:                                               ; preds = %30
  br label %200

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

63:                                               ; preds = %49
  br label %218

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

82:                                               ; preds = %64
  br label %236

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

97:                                               ; preds = %83
  br label %254

98:                                               ; preds = %83
  %99 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %99, ptr %14, align 4, !tbaa !9
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 32
  %105 = call i32 @i32_load(ptr noundef %101, i64 noundef %104)
  store i32 %105, ptr %14, align 4, !tbaa !9
  %106 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %106, ptr %15, align 4, !tbaa !9
  store i32 1316, ptr %16, align 4, !tbaa !9
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %15, align 4, !tbaa !9
  %109 = add i32 %108, %107
  store i32 %109, ptr %15, align 4, !tbaa !9
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = call i32 @i32_load(ptr noundef %111, i64 noundef %113)
  store i32 %114, ptr %15, align 4, !tbaa !9
  %115 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %115, ptr %16, align 4, !tbaa !9
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %16, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 28
  %121 = call i32 @i32_load(ptr noundef %117, i64 noundef %120)
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %16, align 4, !tbaa !9
  %123 = load i32, ptr %15, align 4, !tbaa !9
  %124 = xor i32 %123, %122
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = add i32 %126, %125
  store i32 %127, ptr %14, align 4, !tbaa !9
  %128 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %128, ptr %15, align 4, !tbaa !9
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = add i32 %130, %129
  store i32 %131, ptr %14, align 4, !tbaa !9
  %132 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %132, ptr %15, align 4, !tbaa !9
  %133 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %133, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = and i32 %134, 31
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = shl i32 %136, %135
  store i32 %137, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %138, ptr %17, align 4, !tbaa !9
  store i32 65280, ptr %18, align 4, !tbaa !9
  %139 = load i32, ptr %18, align 4, !tbaa !9
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = and i32 %140, %139
  store i32 %141, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %18, align 4, !tbaa !9
  %143 = and i32 %142, 31
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = shl i32 %144, %143
  store i32 %145, ptr %17, align 4, !tbaa !9
  %146 = load i32, ptr %17, align 4, !tbaa !9
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = or i32 %147, %146
  store i32 %148, ptr %16, align 4, !tbaa !9
  %149 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %149, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %18, align 4, !tbaa !9
  %151 = and i32 %150, 31
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = lshr i32 %152, %151
  store i32 %153, ptr %17, align 4, !tbaa !9
  store i32 65280, ptr %18, align 4, !tbaa !9
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  %156 = and i32 %155, %154
  store i32 %156, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %157, ptr %18, align 4, !tbaa !9
  store i32 24, ptr %19, align 4, !tbaa !9
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = and i32 %158, 31
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = lshr i32 %160, %159
  store i32 %161, ptr %18, align 4, !tbaa !9
  %162 = load i32, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %17, align 4, !tbaa !9
  %164 = or i32 %163, %162
  store i32 %164, ptr %17, align 4, !tbaa !9
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = or i32 %166, %165
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %17, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %173

171:                                              ; preds = %98
  %172 = load i32, ptr %15, align 4, !tbaa !9
  br label %175

173:                                              ; preds = %98
  %174 = load i32, ptr %16, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %173, %171
  %176 = phi i32 [ %172, %171 ], [ %174, %173 ]
  store i32 %176, ptr %15, align 4, !tbaa !9
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %180, i32 noundef %181)
  br label %257

182:                                              ; preds = %6
  store i32 0, ptr %14, align 4, !tbaa !9
  %183 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %183, ptr %11, align 4, !tbaa !9
  store i32 133213, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %15, align 4, !tbaa !9
  %185 = load i32, ptr %14, align 4, !tbaa !9
  %186 = add i32 %185, %184
  store i32 %186, ptr %14, align 4, !tbaa !9
  %187 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %187, ptr %15, align 4, !tbaa !9
  store i32 76981, ptr %16, align 4, !tbaa !9
  %188 = load i32, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %15, align 4, !tbaa !9
  %190 = add i32 %189, %188
  store i32 %190, ptr %15, align 4, !tbaa !9
  store i32 83, ptr %16, align 4, !tbaa !9
  %191 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %191, ptr %17, align 4, !tbaa !9
  store i32 106250, ptr %18, align 4, !tbaa !9
  %192 = load i32, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %17, align 4, !tbaa !9
  %194 = add i32 %193, %192
  store i32 %194, ptr %17, align 4, !tbaa !9
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = load i32, ptr %14, align 4, !tbaa !9
  %197 = load i32, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %195, i32 noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

200:                                              ; preds = %48
  store i32 0, ptr %14, align 4, !tbaa !9
  %201 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %201, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %205, ptr %15, align 4, !tbaa !9
  store i32 82611, ptr %16, align 4, !tbaa !9
  %206 = load i32, ptr %16, align 4, !tbaa !9
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %209 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %209, ptr %17, align 4, !tbaa !9
  store i32 24720, ptr %18, align 4, !tbaa !9
  %210 = load i32, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %17, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %17, align 4, !tbaa !9
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = load i32, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

218:                                              ; preds = %63
  store i32 0, ptr %14, align 4, !tbaa !9
  %219 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %219, ptr %11, align 4, !tbaa !9
  store i32 149041, ptr %15, align 4, !tbaa !9
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = add i32 %221, %220
  store i32 %222, ptr %14, align 4, !tbaa !9
  %223 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %223, ptr %15, align 4, !tbaa !9
  store i32 76981, ptr %16, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %15, align 4, !tbaa !9
  store i32 147, ptr %16, align 4, !tbaa !9
  %227 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %227, ptr %17, align 4, !tbaa !9
  store i32 34798, ptr %18, align 4, !tbaa !9
  %228 = load i32, ptr %18, align 4, !tbaa !9
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %17, align 4, !tbaa !9
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

236:                                              ; preds = %82
  store i32 0, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %237, ptr %11, align 4, !tbaa !9
  store i32 171572, ptr %15, align 4, !tbaa !9
  %238 = load i32, ptr %15, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %14, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %241, ptr %15, align 4, !tbaa !9
  store i32 76981, ptr %16, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %15, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %15, align 4, !tbaa !9
  store i32 150, ptr %16, align 4, !tbaa !9
  %245 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %245, ptr %17, align 4, !tbaa !9
  store i32 34798, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %18, align 4, !tbaa !9
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %17, align 4, !tbaa !9
  %249 = load ptr, ptr %7, align 8, !tbaa !5
  %250 = load i32, ptr %14, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = load i32, ptr %16, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

254:                                              ; preds = %97
  store i32 51727, ptr %14, align 4, !tbaa !9
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %255, i32 noundef %256)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

257:                                              ; preds = %175
  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
}

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}


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

; 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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20hermes0x3A0x3Avm0x3A0x3AJSDataView0x3A0x3Aset0x3Cint0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20int0x2C0x20bool0x29(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 40
  %8 = zext i32 %1 to i64
  %9 = add nuw nsw i64 %8, 28
  %10 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %9)
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %41, label %11

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

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

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

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

27:                                               ; preds = %23
  %28 = add nuw nsw i64 %8, 32
  %29 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %28)
  %30 = add i32 %2, 1316
  %31 = zext i32 %30 to i64
  %32 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %31)
  %33 = add nuw nsw i64 %12, 28
  %34 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %33)
  %35 = xor i32 %34, %32
  %36 = add i32 %29, %3
  %37 = add i32 %36, %35
  %38 = tail call i32 @llvm.bswap.i32(i32 %4)
  %.not140 = icmp eq i32 %5, 0
  %39 = select i1 %.not140, i32 %38, i32 %4
  %40 = zext i32 %37 to i64
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %40, i32 noundef %39)
  ret void

41:                                               ; preds = %6
  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 = %11
  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 = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 149041, i32 noundef 76981, i32 noundef 147, i32 noundef 34798) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

44:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 171572, i32 noundef 76981, i32 noundef 150, i32 noundef 34798) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

45:                                               ; preds = %23
  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 i32 @llvm.bswap.i32(i32) #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