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

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

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

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

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

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

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

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

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

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

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

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

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

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

59:                                               ; preds = %5
  %60 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %60, ptr %21, align 8, !tbaa !11
  store i64 -844424930131969, ptr %22, align 8, !tbaa !11
  %61 = load i64, ptr %21, align 8, !tbaa !11
  %62 = load i64, ptr %22, align 8, !tbaa !11
  %63 = icmp ule i64 %61, %62
  %64 = zext i1 %63 to i32
  store i32 %64, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %59
  br label %257

68:                                               ; preds = %59
  %69 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %69, ptr %21, align 8, !tbaa !11
  %70 = load i64, ptr %21, align 8, !tbaa !11
  %71 = trunc i64 %70 to i32
  store i32 %71, ptr %16, align 4, !tbaa !9
  %72 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %72, ptr %12, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  %75 = xor i1 %74, true
  %76 = zext i1 %75 to i32
  store i32 %76, ptr %16, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %68
  br label %275

80:                                               ; preds = %68
  %81 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %81, ptr %16, align 4, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = add i64 %85, 12
  %87 = call i32 @i32_load(ptr noundef %83, i64 noundef %86)
  store i32 %87, ptr %16, align 4, !tbaa !9
  %88 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %88, ptr %14, align 4, !tbaa !9
  store i32 128, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = and i32 %90, %89
  store i32 %91, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %201

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

120:                                              ; preds = %94
  %121 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %121, ptr %16, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %122, ptr %17, align 4, !tbaa !9
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = call i32 @i32_load(ptr noundef %124, i64 noundef %126)
  store i32 %127, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %128 = load i32, ptr %18, align 4, !tbaa !9
  %129 = load i32, ptr %17, align 4, !tbaa !9
  %130 = add i32 %129, %128
  store i32 %130, ptr %17, align 4, !tbaa !9
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %134, i32 noundef %135)
  br label %136

136:                                              ; preds = %120, %94
  %137 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %137, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %138, ptr %17, align 4, !tbaa !9
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = call i32 @i32_load(ptr noundef %140, i64 noundef %142)
  store i32 %143, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %144, ptr %12, align 4, !tbaa !9
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %146, i64 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %150, ptr %16, align 4, !tbaa !9
  %151 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %151, ptr %17, align 4, !tbaa !9
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 4
  %157 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %153, i64 noundef %156, i32 noundef %157)
  %158 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %158, ptr %16, align 4, !tbaa !9
  %159 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %159, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = add i32 %161, %160
  store i32 %162, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %163, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %164, ptr %19, align 4, !tbaa !9
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = load i32, ptr %18, align 4, !tbaa !9
  %169 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3ApreventExtensions0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APropOpFlags0x29(ptr noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168, i32 noundef %169)
  %170 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %170, ptr %16, align 4, !tbaa !9
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 8
  %176 = call i32 @i32_load(ptr noundef %172, i64 noundef %175)
  store i32 %176, ptr %16, align 4, !tbaa !9
  %177 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %177, ptr %7, align 4, !tbaa !9
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  %180 = xor i1 %179, true
  %181 = zext i1 %180 to i32
  store i32 %181, ptr %16, align 4, !tbaa !9
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %185

184:                                              ; preds = %136
  br label %231

185:                                              ; preds = %136
  %186 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %186, ptr %16, align 4, !tbaa !9
  %187 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %187, ptr %17, align 4, !tbaa !9
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %17, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = call i32 @i32_load(ptr noundef %189, i64 noundef %191)
  store i32 %192, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = sub i32 %194, %193
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %197, i64 noundef %199, i32 noundef %200)
  br label %231

201:                                              ; preds = %80
  %202 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %202, ptr %16, align 4, !tbaa !9
  %203 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %204 = load i32, ptr %18, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = or i32 %205, %204
  store i32 %206, ptr %17, align 4, !tbaa !9
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = add i64 %210, 12
  %212 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %208, i64 noundef %211, i32 noundef %212)
  %213 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %213, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = call i32 @i32_load16_u(ptr noundef %216, i64 noundef %218)
  store i32 %219, ptr %17, align 4, !tbaa !9
  store i32 65024, ptr %18, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = and i32 %221, %220
  store i32 %222, ptr %17, align 4, !tbaa !9
  store i32 257, ptr %18, align 4, !tbaa !9
  %223 = load i32, ptr %18, align 4, !tbaa !9
  %224 = load i32, ptr %17, align 4, !tbaa !9
  %225 = or i32 %224, %223
  store i32 %225, ptr %17, align 4, !tbaa !9
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %227, i64 noundef %229, i32 noundef %230)
  br label %231

231:                                              ; preds = %201, %185, %184
  %232 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %232, ptr %16, align 4, !tbaa !9
  store i32 16, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = add i32 %234, %233
  store i32 %235, ptr %16, align 4, !tbaa !9
  %236 = load i32, ptr %16, align 4, !tbaa !9
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.w2c_hermes, ptr %237, i32 0, i32 3
  store i32 %236, ptr %238, align 8, !tbaa !13
  br label %293

239:                                              ; preds = %5
  store i32 0, ptr %16, align 4, !tbaa !9
  %240 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %240, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %17, align 4, !tbaa !9
  %241 = load i32, ptr %17, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %244, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = add i32 %246, %245
  store i32 %247, ptr %17, align 4, !tbaa !9
  store i32 480, ptr %18, align 4, !tbaa !9
  %248 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %248, ptr %19, align 4, !tbaa !9
  store i32 38798, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = load i32, ptr %19, align 4, !tbaa !9
  %251 = add i32 %250, %249
  store i32 %251, ptr %19, align 4, !tbaa !9
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = load i32, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %18, align 4, !tbaa !9
  %256 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

257:                                              ; preds = %67
  store i32 0, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %258, ptr %7, align 4, !tbaa !9
  store i32 118273, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = add i32 %260, %259
  store i32 %261, ptr %16, align 4, !tbaa !9
  %262 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %262, ptr %17, align 4, !tbaa !9
  store i32 83341, ptr %18, align 4, !tbaa !9
  %263 = load i32, ptr %18, align 4, !tbaa !9
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %17, align 4, !tbaa !9
  store i32 438, ptr %18, align 4, !tbaa !9
  %266 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %266, ptr %19, align 4, !tbaa !9
  store i32 49706, ptr %20, align 4, !tbaa !9
  %267 = load i32, ptr %20, align 4, !tbaa !9
  %268 = load i32, ptr %19, align 4, !tbaa !9
  %269 = add i32 %268, %267
  store i32 %269, ptr %19, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = load i32, ptr %16, align 4, !tbaa !9
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %270, i32 noundef %271, i32 noundef %272, i32 noundef %273, i32 noundef %274)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

275:                                              ; preds = %79
  store i32 0, ptr %16, align 4, !tbaa !9
  %276 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %276, ptr %7, align 4, !tbaa !9
  store i32 168498, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = add i32 %278, %277
  store i32 %279, ptr %16, align 4, !tbaa !9
  %280 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %280, ptr %17, align 4, !tbaa !9
  store i32 78081, ptr %18, align 4, !tbaa !9
  %281 = load i32, ptr %18, align 4, !tbaa !9
  %282 = load i32, ptr %17, align 4, !tbaa !9
  %283 = add i32 %282, %281
  store i32 %283, ptr %17, align 4, !tbaa !9
  store i32 269, ptr %18, align 4, !tbaa !9
  %284 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %284, ptr %19, align 4, !tbaa !9
  store i32 20456, ptr %20, align 4, !tbaa !9
  %285 = load i32, ptr %20, align 4, !tbaa !9
  %286 = load i32, ptr %19, align 4, !tbaa !9
  %287 = add i32 %286, %285
  store i32 %287, ptr %19, align 4, !tbaa !9
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = load i32, ptr %16, align 4, !tbaa !9
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %18, align 4, !tbaa !9
  %292 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %288, i32 noundef %289, i32 noundef %290, i32 noundef %291, i32 noundef %292)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

293:                                              ; preds = %231
  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 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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

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

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


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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3ApreventExtensions0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APropOpFlags0x29(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 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %2 to i64
  %11 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %13 = zext i32 %12 to i64
  %14 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %13)
  %15 = icmp ugt i64 %14, -281474976710657
  br i1 %15, label %16, label %48

16:                                               ; preds = %5
  %17 = and i64 %14, 4294967295
  %.not = icmp eq i64 %17, 0
  br i1 %.not, label %49, label %18

18:                                               ; preds = %16
  %19 = add nuw nsw i64 %17, 12
  %20 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %19)
  %21 = and i32 %20, 128
  %.not163 = icmp eq i32 %21, 0
  br i1 %.not163, label %41, label %22

22:                                               ; preds = %18
  %23 = zext i32 %8 to i64
  %24 = add nuw nsw i64 %23, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %24, i32 noundef %12)
  %25 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %26 = add nuw nsw i64 %23, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %26, i32 noundef %25)
  %.not164 = icmp eq i32 %25, 0
  br i1 %.not164, label %31, label %27

27:                                               ; preds = %22
  %28 = zext i32 %25 to i64
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %28)
  %30 = add i32 %29, 1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %28, i32 noundef %30)
  br label %31

31:                                               ; preds = %27, %22
  %32 = zext i32 %4 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %32)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %23, i32 noundef %33)
  %34 = add nuw nsw i64 %23, 4
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %34, i32 noundef %33)
  %35 = add i32 %7, -8
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3ApreventExtensions0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APropOpFlags0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %35, i32 noundef %3, i32 noundef %8)
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %26)
  %.not165 = icmp eq i32 %36, 0
  br i1 %.not165, label %47, label %37

37:                                               ; preds = %31
  %38 = zext i32 %36 to i64
  %39 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %38)
  %40 = add i32 %39, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %38, i32 noundef %40)
  br label %47

41:                                               ; preds = %18
  %42 = or i32 %20, 1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %19, i32 noundef %42)
  %43 = zext i32 %1 to i64
  %44 = tail call i32 @i32_load16_u(ptr noundef nonnull %9, i64 noundef %43)
  %45 = and i32 %44, 65024
  %46 = or disjoint i32 %45, 257
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %43, i32 noundef %46)
  br label %47

47:                                               ; preds = %31, %41, %37
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

48:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

49:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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


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