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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

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

55:                                               ; preds = %5
  %56 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %56, ptr %14, align 4, !tbaa !9
  %57 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %57, ptr %15, align 4, !tbaa !9
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = call i32 @i32_load(ptr noundef %59, i64 noundef %61)
  store i32 %62, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %63 = load i32, ptr %16, align 4, !tbaa !9
  %64 = load i32, ptr %15, align 4, !tbaa !9
  %65 = add i32 %64, %63
  store i32 %65, ptr %15, align 4, !tbaa !9
  %66 = load ptr, ptr %6, 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 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %67, i64 noundef %69, i32 noundef %70)
  br label %71

71:                                               ; preds = %55, %5
  %72 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %72, ptr %14, align 4, !tbaa !9
  %73 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %73, ptr %15, align 4, !tbaa !9
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %14, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 24
  %79 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %75, i64 noundef %78, i32 noundef %79)
  %80 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %80, ptr %14, align 4, !tbaa !9
  %81 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %81, ptr %15, 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 %14, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = add i64 %85, 28
  %87 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %83, i64 noundef %86, i32 noundef %87)
  %88 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %88, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.w2c_hermes, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = add i64 %92, 22
  %94 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %90, i64 noundef %93, i32 noundef %94)
  %95 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %95, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = add i64 %99, 2
  %101 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %97, i64 noundef %100, i32 noundef %101)
  %102 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %102, ptr %14, align 4, !tbaa !9
  store i32 24, ptr %15, align 4, !tbaa !9
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %14, align 4, !tbaa !9
  %105 = add i32 %104, %103
  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
  %107 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %107, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %108, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %109 = load i32, ptr %18, align 4, !tbaa !9
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %112, ptr %18, align 4, !tbaa !9
  store i32 12, ptr %19, align 4, !tbaa !9
  %113 = load i32, ptr %19, align 4, !tbaa !9
  %114 = load i32, ptr %18, align 4, !tbaa !9
  %115 = add i32 %114, %113
  store i32 %115, ptr %18, align 4, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = load i32, ptr %14, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %17, align 4, !tbaa !9
  %121 = load i32, ptr %18, align 4, !tbaa !9
  %122 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetNamedDescriptorUnsafe0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyFlags0x2C0x20hermes0x3A0x3Avm0x3A0x3ANamedPropertyDescriptor0x260x29(ptr noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121)
  store i32 %122, ptr %14, align 4, !tbaa !9
  %123 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %123, ptr %13, align 4, !tbaa !9
  %124 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %124, ptr %14, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %14, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 24
  %130 = call i32 @i32_load(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %14, align 4, !tbaa !9
  %131 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %131, ptr %12, align 4, !tbaa !9
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %150

134:                                              ; preds = %71
  %135 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %135, ptr %14, align 4, !tbaa !9
  %136 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %136, ptr %15, align 4, !tbaa !9
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = call i32 @i32_load(ptr noundef %138, i64 noundef %140)
  store i32 %141, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %142 = load i32, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %15, align 4, !tbaa !9
  %144 = sub i32 %143, %142
  store i32 %144, ptr %15, 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 %14, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %146, i64 noundef %148, i32 noundef %149)
  br label %150

150:                                              ; preds = %134, %71
  %151 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %151, ptr %14, align 4, !tbaa !9
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %170

154:                                              ; preds = %150
  %155 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %155, ptr %14, align 4, !tbaa !9
  %156 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %156, ptr %15, align 4, !tbaa !9
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.w2c_hermes, ptr %157, i32 0, i32 6
  %159 = load i32, ptr %15, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = call i32 @i32_load(ptr noundef %158, i64 noundef %160)
  store i32 %161, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = load i32, ptr %15, align 4, !tbaa !9
  %164 = sub i32 %163, %162
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.w2c_hermes, ptr %165, i32 0, i32 6
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = zext i32 %167 to i64
  %169 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %166, i64 noundef %168, i32 noundef %169)
  br label %170

170:                                              ; preds = %154, %150
  %171 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %171, ptr %14, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = icmp ne i32 %172, 0
  %174 = xor i1 %173, true
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %14, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %197

178:                                              ; preds = %170
  %179 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %179, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %180, ptr %15, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %15, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call i32 @i32_load16_u(ptr noundef %182, i64 noundef %184)
  store i32 %185, ptr %15, align 4, !tbaa !9
  store i32 65024, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = load i32, ptr %15, align 4, !tbaa !9
  %188 = and i32 %187, %186
  store i32 %188, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  %191 = or i32 %190, %189
  store i32 %191, ptr %15, align 4, !tbaa !9
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %14, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %193, i64 noundef %195, i32 noundef %196)
  br label %280

197:                                              ; preds = %170
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %14, align 4, !tbaa !9
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %14, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = add i64 %202, 13
  %204 = call i32 @i32_load8_u(ptr noundef %200, i64 noundef %203)
  store i32 %204, ptr %14, align 4, !tbaa !9
  store i32 4, 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 = and i32 %206, %205
  store i32 %207, ptr %14, align 4, !tbaa !9
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %261

210:                                              ; preds = %197
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %14, align 4, !tbaa !9
  %212 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %212, ptr %15, align 4, !tbaa !9
  store i32 4, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %15, align 4, !tbaa !9
  %215 = add i32 %214, %213
  store i32 %215, ptr %15, align 4, !tbaa !9
  %216 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %216, ptr %16, align 4, !tbaa !9
  %217 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221)
  store i32 %222, ptr %15, align 4, !tbaa !9
  %223 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %223, ptr %8, align 4, !tbaa !9
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %225, ptr %17, align 4, !tbaa !9
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = load i32, ptr %14, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AhasNamed0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef %230)
  %231 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %231, ptr %14, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = call i32 @i32_load(ptr noundef %233, i64 noundef %235)
  store i32 %236, ptr %14, align 4, !tbaa !9
  %237 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %237, ptr %8, align 4, !tbaa !9
  %238 = load i32, ptr %14, align 4, !tbaa !9
  %239 = icmp ne i32 %238, 0
  %240 = xor i1 %239, true
  %241 = zext i1 %240 to i32
  store i32 %241, ptr %14, align 4, !tbaa !9
  %242 = load i32, ptr %14, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %245

244:                                              ; preds = %210
  br label %280

245:                                              ; preds = %210
  %246 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %246, ptr %14, align 4, !tbaa !9
  %247 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = call i32 @i32_load(ptr noundef %249, i64 noundef %251)
  store i32 %252, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %253 = load i32, ptr %16, align 4, !tbaa !9
  %254 = load i32, ptr %15, align 4, !tbaa !9
  %255 = sub i32 %254, %253
  store i32 %255, ptr %15, align 4, !tbaa !9
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.w2c_hermes, ptr %256, i32 0, i32 6
  %258 = load i32, ptr %14, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %257, i64 noundef %259, i32 noundef %260)
  br label %280

261:                                              ; preds = %197
  %262 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %262, ptr %14, align 4, !tbaa !9
  %263 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %263, ptr %15, align 4, !tbaa !9
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = call i32 @i32_load16_u(ptr noundef %265, i64 noundef %267)
  store i32 %268, ptr %15, align 4, !tbaa !9
  store i32 65024, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = and i32 %270, %269
  store i32 %271, ptr %15, align 4, !tbaa !9
  store i32 257, ptr %16, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = or i32 %273, %272
  store i32 %274, ptr %15, align 4, !tbaa !9
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 6
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %276, i64 noundef %278, i32 noundef %279)
  br label %280

280:                                              ; preds = %261, %245, %244, %178
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %14, align 4, !tbaa !9
  store i32 32, 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
  %285 = load i32, ptr %14, align 4, !tbaa !9
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.w2c_hermes, ptr %286, i32 0, i32 3
  store i32 %285, ptr %287, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

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 = { "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 }

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

16:                                               ; preds = %5
  %17 = zext i32 %15 to i64
  %18 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %17)
  %19 = add i32 %18, 2
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %17, i32 noundef %19)
  br label %20

20:                                               ; preds = %16, %5
  %21 = add nuw nsw i64 %10, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %21, i32 noundef %15)
  %22 = add nuw nsw i64 %10, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef %14)
  %23 = add nuw nsw i64 %10, 22
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %23, i32 noundef 1)
  %24 = add nuw nsw i64 %10, 2
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %24, i32 noundef 1)
  %25 = add i32 %7, -8
  %26 = add i32 %7, -30
  %27 = add i32 %7, -20
  %28 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AgetNamedDescriptorUnsafe0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3APropertyFlags0x2C0x20hermes0x3A0x3Avm0x3A0x3ANamedPropertyDescriptor0x260x29(ptr noundef nonnull %0, i32 noundef %25, i32 noundef %3, i32 noundef %4, i32 noundef %26, i32 noundef %27)
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %21)
  %.not158 = icmp eq i32 %29, 0
  br i1 %.not158, label %34, label %30

30:                                               ; preds = %20
  %31 = zext i32 %29 to i64
  %32 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %31)
  %33 = add i32 %32, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %31, i32 noundef %33)
  br label %34

34:                                               ; preds = %30, %20
  br i1 %.not, label %39, label %35

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

39:                                               ; preds = %35, %34
  %.not159 = icmp eq i32 %28, 0
  br i1 %.not159, label %40, label %45

40:                                               ; preds = %39
  %41 = zext i32 %1 to i64
  %42 = tail call i32 @i32_load16_u(ptr noundef nonnull %9, i64 noundef %41)
  %43 = and i32 %42, 65024
  %44 = or disjoint i32 %43, 1
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %41, i32 noundef %44)
  br label %63

45:                                               ; preds = %39
  %46 = add nuw nsw i64 %10, 13
  %47 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %46)
  %48 = and i32 %47, 4
  %.not160 = icmp eq i32 %48, 0
  br i1 %.not160, label %58, label %49

49:                                               ; preds = %45
  %50 = add i32 %7, -28
  %51 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x3A0x3AHandle0x28hermes0x3A0x3Avm0x3A0x3AHandleRootOwner0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x29(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %3, i32 noundef %28) #3
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSProxy0x3A0x3AhasNamed0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %51, i32 noundef %3, i32 noundef %4)
  %52 = zext i32 %51 to i64
  %53 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %52)
  %.not161 = icmp eq i32 %53, 0
  br i1 %.not161, label %63, label %54

54:                                               ; preds = %49
  %55 = zext i32 %53 to i64
  %56 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %55)
  %57 = add i32 %56, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %55, i32 noundef %57)
  br label %63

58:                                               ; preds = %45
  %59 = zext i32 %1 to i64
  %60 = tail call i32 @i32_load16_u(ptr noundef nonnull %9, i64 noundef %59)
  %61 = and i32 %60, 65024
  %62 = or disjoint i32 %61, 257
  tail call void @i32_store16(ptr noundef nonnull %9, i64 noundef %59, i32 noundef %62)
  br label %63

63:                                               ; preds = %49, %58, %54, %40
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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

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 = { "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 = { 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 }

!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