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

; 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

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

; 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) #3

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3A_getOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %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
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, 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
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.w2c_hermes, ptr %19, i32 0, i32 3
  %21 = load i32, ptr %20, align 8, !tbaa !13
  store i32 %21, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %22 = load i32, ptr %14, align 4, !tbaa !9
  %23 = load i32, ptr %13, align 4, !tbaa !9
  %24 = sub i32 %23, %22
  store i32 %24, ptr %13, align 4, !tbaa !9
  %25 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %25, ptr %10, align 4, !tbaa !9
  %26 = load i32, ptr %13, align 4, !tbaa !9
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 3
  store i32 %26, ptr %28, align 8, !tbaa !13
  %29 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %29, ptr %13, align 4, !tbaa !9
  store i32 1312, ptr %14, align 4, !tbaa !9
  %30 = load i32, ptr %14, align 4, !tbaa !9
  %31 = load i32, ptr %13, align 4, !tbaa !9
  %32 = add i32 %31, %30
  store i32 %32, ptr %13, align 4, !tbaa !9
  %33 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %33, ptr %9, align 4, !tbaa !9
  %34 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %34, ptr %14, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %14, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call i32 @i32_load(ptr noundef %36, i64 noundef %38)
  store i32 %39, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %40 = load i32, ptr %15, align 4, !tbaa !9
  %41 = load i32, ptr %14, align 4, !tbaa !9
  %42 = add i32 %41, %40
  store i32 %42, ptr %14, align 4, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.w2c_hermes, ptr %43, i32 0, i32 6
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %44, i64 noundef %46, i32 noundef %47)
  %48 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %48, ptr %13, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = add i64 %52, 4
  %54 = call i32 @i32_load8_u(ptr noundef %50, i64 noundef %53)
  store i32 %54, ptr %13, align 4, !tbaa !9
  %55 = load i32, ptr %13, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %222

57:                                               ; preds = %4
  %58 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %58, ptr %13, align 4, !tbaa !9
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %13, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = call i32 @i32_load(ptr noundef %60, i64 noundef %62)
  store i32 %63, ptr %13, align 4, !tbaa !9
  %64 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %64, ptr %6, align 4, !tbaa !9
  %65 = load i32, ptr %13, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  %67 = xor i1 %66, true
  %68 = zext i1 %67 to i32
  store i32 %68, ptr %13, align 4, !tbaa !9
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %57
  br label %240

72:                                               ; preds = %57
  %73 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %73, ptr %13, align 4, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = call i32 @i32_load(ptr noundef %75, i64 noundef %77)
  store i32 %78, ptr %13, align 4, !tbaa !9
  store i32 520093696, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  %81 = sub i32 %80, %79
  store i32 %81, ptr %13, align 4, !tbaa !9
  store i32 33554432, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %13, align 4, !tbaa !9
  %83 = load i32, ptr %14, align 4, !tbaa !9
  %84 = icmp uge i32 %82, %83
  %85 = zext i1 %84 to i32
  store i32 %85, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %72
  br label %258

89:                                               ; preds = %72
  store i32 7, ptr %13, align 4, !tbaa !9
  %90 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %90, ptr %9, align 4, !tbaa !9
  %91 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %91, ptr %13, align 4, !tbaa !9
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 28
  %97 = call i32 @i32_load(ptr noundef %93, i64 noundef %96)
  store i32 %97, ptr %13, align 4, !tbaa !9
  %98 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %98, ptr %11, align 4, !tbaa !9
  %99 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %99, ptr %14, align 4, !tbaa !9
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = icmp ugt i32 %100, %101
  %103 = zext i1 %102 to i32
  store i32 %103, ptr %13, align 4, !tbaa !9
  %104 = load i32, ptr %13, align 4, !tbaa !9
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %89
  br label %168

107:                                              ; preds = %89
  %108 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %108, ptr %13, align 4, !tbaa !9
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 32
  %114 = call i32 @i32_load(ptr noundef %110, i64 noundef %113)
  store i32 %114, ptr %13, align 4, !tbaa !9
  %115 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %115, ptr %14, align 4, !tbaa !9
  %116 = load i32, ptr %13, align 4, !tbaa !9
  %117 = load i32, ptr %14, align 4, !tbaa !9
  %118 = icmp ule i32 %116, %117
  %119 = zext i1 %118 to i32
  store i32 %119, ptr %13, align 4, !tbaa !9
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %107
  br label %168

123:                                              ; preds = %107
  %124 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %124, ptr %13, align 4, !tbaa !9
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 36
  %130 = call i32 @i32_load(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %13, align 4, !tbaa !9
  %131 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %131, ptr %6, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %154

134:                                              ; preds = %123
  %135 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %135, ptr %13, align 4, !tbaa !9
  %136 = load ptr, ptr %5, 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 = add i64 %139, 3
  %141 = call i32 @i32_load8_u(ptr noundef %137, i64 noundef %140)
  store i32 %141, ptr %13, align 4, !tbaa !9
  store i32 24, ptr %14, align 4, !tbaa !9
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = and i32 %142, 31
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = shl i32 %144, %143
  store i32 %145, ptr %13, align 4, !tbaa !9
  store i32 285212672, ptr %14, align 4, !tbaa !9
  %146 = load i32, ptr %13, align 4, !tbaa !9
  %147 = load i32, ptr %14, align 4, !tbaa !9
  %148 = icmp ne i32 %146, %147
  %149 = zext i1 %148 to i32
  store i32 %149, ptr %13, align 4, !tbaa !9
  %150 = load i32, ptr %13, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %134
  br label %276

153:                                              ; preds = %134
  br label %154

154:                                              ; preds = %153, %123
  %155 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %155, ptr %13, align 4, !tbaa !9
  %156 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %156, ptr %14, align 4, !tbaa !9
  %157 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %158, ptr %16, align 4, !tbaa !9
  %159 = load i32, ptr %16, align 4, !tbaa !9
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = sub i32 %160, %159
  store i32 %161, ptr %15, align 4, !tbaa !9
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3Aat0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x290x20const(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165)
  store i32 %166, ptr %13, align 4, !tbaa !9
  %167 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %167, ptr %9, align 4, !tbaa !9
  br label %168

168:                                              ; preds = %154, %122, %106
  %169 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %169, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %170, ptr %14, align 4, !tbaa !9
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 12
  %176 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %172, i64 noundef %175, i32 noundef %176)
  %177 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %177, ptr %13, align 4, !tbaa !9
  store i32 12, ptr %14, align 4, !tbaa !9
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = add i32 %179, %178
  store i32 %180, ptr %13, align 4, !tbaa !9
  %181 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %181, ptr %14, align 4, !tbaa !9
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = load i32, ptr %13, align 4, !tbaa !9
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef %182, i32 noundef %183, i32 noundef %184)
  store i64 %185, ptr %18, align 8, !tbaa !11
  %186 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %186, ptr %12, align 8, !tbaa !11
  %187 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %187, ptr %13, align 4, !tbaa !9
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %13, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = add i64 %191, 1312
  %193 = call i32 @i32_load(ptr noundef %189, i64 noundef %192)
  store i32 %193, ptr %13, align 4, !tbaa !9
  %194 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %194, ptr %6, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = icmp ne i32 %195, 0
  %197 = xor i1 %196, true
  %198 = zext i1 %197 to i32
  store i32 %198, ptr %13, align 4, !tbaa !9
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %168
  br label %294

202:                                              ; preds = %168
  %203 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %203, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %204, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %205 = load i32, ptr %15, align 4, !tbaa !9
  %206 = load i32, ptr %14, align 4, !tbaa !9
  %207 = sub i32 %206, %205
  store i32 %207, ptr %14, align 4, !tbaa !9
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %13, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 1312
  %213 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %209, i64 noundef %212, i32 noundef %213)
  %214 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %214, ptr %13, align 4, !tbaa !9
  store i32 16, ptr %14, align 4, !tbaa !9
  %215 = load i32, ptr %14, align 4, !tbaa !9
  %216 = load i32, ptr %13, align 4, !tbaa !9
  %217 = add i32 %216, %215
  store i32 %217, ptr %13, align 4, !tbaa !9
  %218 = load i32, ptr %13, align 4, !tbaa !9
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 3
  store i32 %218, ptr %220, align 8, !tbaa !13
  %221 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %221, ptr %18, align 8, !tbaa !11
  br label %312

222:                                              ; preds = %4
  store i32 0, ptr %13, align 4, !tbaa !9
  %223 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %223, ptr %7, align 4, !tbaa !9
  store i32 179505, ptr %14, align 4, !tbaa !9
  %224 = load i32, ptr %14, align 4, !tbaa !9
  %225 = load i32, ptr %13, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %13, align 4, !tbaa !9
  %227 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %227, ptr %14, align 4, !tbaa !9
  store i32 84574, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %14, align 4, !tbaa !9
  store i32 127, ptr %15, align 4, !tbaa !9
  %231 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %231, ptr %16, align 4, !tbaa !9
  store i32 35614, ptr %17, align 4, !tbaa !9
  %232 = load i32, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %16, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %16, align 4, !tbaa !9
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = load i32, ptr %13, align 4, !tbaa !9
  %237 = load i32, ptr %14, align 4, !tbaa !9
  %238 = load i32, ptr %15, align 4, !tbaa !9
  %239 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %235, i32 noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

240:                                              ; preds = %71
  store i32 0, ptr %13, align 4, !tbaa !9
  %241 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %241, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %14, align 4, !tbaa !9
  %243 = load i32, ptr %13, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %13, align 4, !tbaa !9
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %246 = load i32, ptr %15, align 4, !tbaa !9
  %247 = load i32, ptr %14, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %14, align 4, !tbaa !9
  store i32 106, ptr %15, align 4, !tbaa !9
  %249 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %249, ptr %16, align 4, !tbaa !9
  store i32 28119, ptr %17, align 4, !tbaa !9
  %250 = load i32, ptr %17, align 4, !tbaa !9
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %16, align 4, !tbaa !9
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = load i32, ptr %13, align 4, !tbaa !9
  %255 = load i32, ptr %14, align 4, !tbaa !9
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

258:                                              ; preds = %88
  store i32 0, ptr %13, align 4, !tbaa !9
  %259 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %259, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %14, align 4, !tbaa !9
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = load i32, ptr %13, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %13, align 4, !tbaa !9
  %263 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %263, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %264 = load i32, ptr %15, align 4, !tbaa !9
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %15, align 4, !tbaa !9
  %267 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %267, ptr %16, align 4, !tbaa !9
  store i32 24720, ptr %17, align 4, !tbaa !9
  %268 = load i32, ptr %17, align 4, !tbaa !9
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = add i32 %269, %268
  store i32 %270, ptr %16, align 4, !tbaa !9
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = load i32, ptr %13, align 4, !tbaa !9
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = load i32, ptr %15, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %271, i32 noundef %272, i32 noundef %273, i32 noundef %274, i32 noundef %275)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

276:                                              ; preds = %152
  store i32 0, ptr %13, align 4, !tbaa !9
  %277 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %277, ptr %7, align 4, !tbaa !9
  store i32 205071, ptr %14, align 4, !tbaa !9
  %278 = load i32, ptr %14, align 4, !tbaa !9
  %279 = load i32, ptr %13, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %13, align 4, !tbaa !9
  %281 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %281, ptr %14, align 4, !tbaa !9
  store i32 82611, ptr %15, align 4, !tbaa !9
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = load i32, ptr %14, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %14, align 4, !tbaa !9
  store i32 299, ptr %15, align 4, !tbaa !9
  %285 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %285, ptr %16, align 4, !tbaa !9
  store i32 72549, ptr %17, align 4, !tbaa !9
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %16, align 4, !tbaa !9
  %288 = add i32 %287, %286
  store i32 %288, ptr %16, align 4, !tbaa !9
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  %290 = load i32, ptr %13, align 4, !tbaa !9
  %291 = load i32, ptr %14, align 4, !tbaa !9
  %292 = load i32, ptr %15, align 4, !tbaa !9
  %293 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %289, i32 noundef %290, i32 noundef %291, i32 noundef %292, i32 noundef %293)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

294:                                              ; preds = %201
  store i32 0, ptr %13, align 4, !tbaa !9
  %295 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %295, ptr %7, align 4, !tbaa !9
  store i32 184072, ptr %14, align 4, !tbaa !9
  %296 = load i32, ptr %14, align 4, !tbaa !9
  %297 = load i32, ptr %13, align 4, !tbaa !9
  %298 = add i32 %297, %296
  store i32 %298, ptr %13, align 4, !tbaa !9
  %299 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %299, ptr %14, align 4, !tbaa !9
  store i32 84373, ptr %15, align 4, !tbaa !9
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = load i32, ptr %14, align 4, !tbaa !9
  %302 = add i32 %301, %300
  store i32 %302, ptr %14, align 4, !tbaa !9
  store i32 1874, ptr %15, align 4, !tbaa !9
  %303 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %303, ptr %16, align 4, !tbaa !9
  store i32 92157, ptr %17, align 4, !tbaa !9
  %304 = load i32, ptr %17, align 4, !tbaa !9
  %305 = load i32, ptr %16, align 4, !tbaa !9
  %306 = add i32 %305, %304
  store i32 %306, ptr %16, align 4, !tbaa !9
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = load i32, ptr %13, align 4, !tbaa !9
  %309 = load i32, ptr %14, align 4, !tbaa !9
  %310 = load i32, ptr %15, align 4, !tbaa !9
  %311 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %307, i32 noundef %308, i32 noundef %309, i32 noundef %310, i32 noundef %311)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

312:                                              ; preds = %202
  %313 = load i64, ptr %18, align 8, !tbaa !11
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i64 %313
}

; Function Attrs: nounwind uwtable
declare dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef, i32 noundef, i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3A_getOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -16
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = add i32 %2, 1312
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %8 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = add i32 %11, 1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %10, i32 noundef %12)
  %13 = zext i32 %1 to i64
  %14 = add nuw nsw i64 %13, 4
  %15 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %14)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %50, label %16

16:                                               ; preds = %4
  %17 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %13)
  %.not181 = icmp eq i32 %17, 0
  br i1 %.not181, label %51, label %18

18:                                               ; preds = %16
  %19 = zext i32 %17 to i64
  %20 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %19)
  %21 = add i32 %20, -553648128
  %22 = icmp ult i32 %21, -33554432
  br i1 %22, label %52, label %23

23:                                               ; preds = %18
  %24 = add nuw nsw i64 %19, 28
  %25 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %24)
  %26 = icmp ugt i32 %25, %3
  br i1 %26, label %40, label %27

27:                                               ; preds = %23
  %28 = add nuw nsw i64 %19, 32
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %28)
  %.not182 = icmp ugt i32 %29, %3
  br i1 %.not182, label %30, label %40

30:                                               ; preds = %27
  %31 = add nuw nsw i64 %19, 36
  %32 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %31)
  %.not183 = icmp eq i32 %32, 0
  br i1 %.not183, label %37, label %33

33:                                               ; preds = %30
  %34 = zext i32 %32 to i64
  %35 = add nuw nsw i64 %34, 3
  %36 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %35)
  %.mask = and i32 %36, 255
  %.not184 = icmp eq i32 %.mask, 17
  br i1 %.not184, label %37, label %53

37:                                               ; preds = %33, %30
  %38 = sub i32 %3, %25
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x20hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3Aat0x3C0x28hermes0x3A0x3Avm0x3A0x3ASegmentedArrayBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue320x3E0x3A0x3AInline0x2900x3E0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x2C0x20unsigned0x20int0x290x20const(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %2, i32 noundef %38)
  br label %40

40:                                               ; preds = %27, %23, %37
  %.0 = phi i32 [ 7, %23 ], [ 7, %27 ], [ %39, %37 ]
  %41 = zext i32 %7 to i64
  %42 = add nuw nsw i64 %41, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %42, i32 noundef %.0)
  %43 = add i32 %6, -4
  %44 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AunboxToHV0x28hermes0x3A0x3Avm0x3A0x3APointerBase0x260x290x20const(ptr noundef nonnull %0, i32 noundef %43, i32 noundef %2)
  %45 = zext i32 %2 to i64
  %46 = add nuw nsw i64 %45, 1312
  %47 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %46)
  %.not185 = icmp eq i32 %47, 0
  br i1 %.not185, label %54, label %48

48:                                               ; preds = %40
  %49 = add i32 %47, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef %49)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret i64 %44

50:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 179505, i32 noundef 84574, i32 noundef 127, i32 noundef 35614) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

51:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

52:                                               ; preds = %18
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

53:                                               ; preds = %33
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205071, i32 noundef 82611, i32 noundef 299, i32 noundef 72549) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

54:                                               ; preds = %40
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 184072, i32 noundef 84373, i32 noundef 1874, i32 noundef 92157) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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