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

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

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

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

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

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

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

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

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 void @i32_store8(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 i64 @i64_load(ptr noundef, i64 noundef) #1

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

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

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

55:                                               ; preds = %4
  %56 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %56, ptr %17, align 8, !tbaa !11
  store i64 3758096384, ptr %18, align 8, !tbaa !11
  %57 = load i64, ptr %18, align 8, !tbaa !11
  %58 = load i64, ptr %17, align 8, !tbaa !11
  %59 = and i64 %58, %57
  store i64 %59, ptr %17, align 8, !tbaa !11
  store i64 0, ptr %18, align 8, !tbaa !11
  %60 = load i64, ptr %17, align 8, !tbaa !11
  %61 = load i64, ptr %18, align 8, !tbaa !11
  %62 = icmp ne i64 %60, %61
  %63 = zext i1 %62 to i32
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %55
  br label %285

67:                                               ; preds = %55
  %68 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %68, ptr %12, align 4, !tbaa !9
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.w2c_hermes, ptr %69, i32 0, i32 6
  %71 = load i32, ptr %12, align 4, !tbaa !9
  %72 = zext i32 %71 to i64
  %73 = call i32 @i32_load(ptr noundef %70, i64 noundef %72)
  store i32 %73, ptr %12, align 4, !tbaa !9
  %74 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %74, ptr %8, align 4, !tbaa !9
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  %77 = xor i1 %76, true
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %96

81:                                               ; preds = %67
  %82 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %82, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %84, i64 noundef %86, i32 noundef %87)
  %88 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %88, ptr %12, align 4, !tbaa !9
  %89 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %89, ptr %13, align 4, !tbaa !9
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 4
  %95 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %91, i64 noundef %94, i32 noundef %95)
  br label %277

96:                                               ; preds = %67
  %97 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %97, ptr %12, align 4, !tbaa !9
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = call i32 @i32_load(ptr noundef %99, i64 noundef %101)
  store i32 %102, ptr %12, align 4, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %103, ptr %7, align 4, !tbaa !9
  %104 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %104, ptr %12, align 4, !tbaa !9
  %105 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %105, ptr %13, align 4, !tbaa !9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %109, i32 noundef %110)
  %111 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %111, ptr %12, align 4, !tbaa !9
  %112 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %112, ptr %13, align 4, !tbaa !9
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %12, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 4
  %118 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %114, i64 noundef %117, i32 noundef %118)
  %119 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %120, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %13, align 4, !tbaa !9
  %123 = add i32 %122, %121
  store i32 %123, ptr %13, align 4, !tbaa !9
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %127, i32 noundef %128)
  br label %277

129:                                              ; preds = %4
  %130 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %130, ptr %12, align 4, !tbaa !9
  %131 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %131, ptr %13, align 4, !tbaa !9
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %12, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 12
  %137 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %133, i64 noundef %136, i32 noundef %137)
  %138 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %138, ptr %12, align 4, !tbaa !9
  %139 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %139, ptr %13, align 4, !tbaa !9
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %13, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = call i32 @i32_load(ptr noundef %141, i64 noundef %143)
  store i32 %144, ptr %13, align 4, !tbaa !9
  %145 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %145, ptr %8, align 4, !tbaa !9
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 8
  %151 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %152, ptr %12, align 4, !tbaa !9
  %153 = load i32, ptr %12, align 4, !tbaa !9
  %154 = icmp ne i32 %153, 0
  %155 = xor i1 %154, true
  %156 = zext i1 %155 to i32
  store i32 %156, ptr %12, align 4, !tbaa !9
  %157 = load i32, ptr %12, align 4, !tbaa !9
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %173

159:                                              ; preds = %129
  %160 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %160, ptr %12, align 4, !tbaa !9
  store i32 16, ptr %13, align 4, !tbaa !9
  %161 = load i32, ptr %13, align 4, !tbaa !9
  %162 = load i32, ptr %12, align 4, !tbaa !9
  %163 = add i32 %162, %161
  store i32 %163, ptr %12, align 4, !tbaa !9
  %164 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %164, ptr %13, align 4, !tbaa !9
  %165 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %165, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %166 = load i32, ptr %15, align 4, !tbaa !9
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = add i32 %167, %166
  store i32 %168, ptr %14, align 4, !tbaa !9
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = load i32, ptr %12, align 4, !tbaa !9
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %169, i32 noundef %170, i32 noundef %171, i32 noundef %172)
  br label %217

173:                                              ; preds = %129
  %174 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %174, ptr %12, align 4, !tbaa !9
  %175 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %175, ptr %13, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = call i32 @i32_load(ptr noundef %177, i64 noundef %179)
  store i32 %180, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %181 = load i32, ptr %14, align 4, !tbaa !9
  %182 = load i32, ptr %13, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %13, align 4, !tbaa !9
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %12, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %185, i64 noundef %187, i32 noundef %188)
  %189 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %189, ptr %12, align 4, !tbaa !9
  store i32 16, ptr %13, align 4, !tbaa !9
  %190 = load i32, ptr %13, align 4, !tbaa !9
  %191 = load i32, ptr %12, align 4, !tbaa !9
  %192 = add i32 %191, %190
  store i32 %192, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %193, ptr %13, align 4, !tbaa !9
  %194 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %194, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = load i32, ptr %14, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %14, align 4, !tbaa !9
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = load i32, ptr %12, align 4, !tbaa !9
  %200 = load i32, ptr %13, align 4, !tbaa !9
  %201 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %198, i32 noundef %199, i32 noundef %200, i32 noundef %201)
  %202 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %202, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %203, ptr %13, align 4, !tbaa !9
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.w2c_hermes, ptr %204, i32 0, i32 6
  %206 = load i32, ptr %13, align 4, !tbaa !9
  %207 = zext i32 %206 to i64
  %208 = call i32 @i32_load(ptr noundef %205, i64 noundef %207)
  store i32 %208, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = load i32, ptr %13, align 4, !tbaa !9
  %211 = sub i32 %210, %209
  store i32 %211, ptr %13, align 4, !tbaa !9
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %12, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %213, i64 noundef %215, i32 noundef %216)
  br label %217

217:                                              ; preds = %173, %159
  %218 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %218, ptr %12, align 4, !tbaa !9
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %12, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 16
  %224 = call i32 @i32_load(ptr noundef %220, i64 noundef %223)
  store i32 %224, ptr %12, align 4, !tbaa !9
  %225 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %225, ptr %8, align 4, !tbaa !9
  store i32 -1, ptr %13, align 4, !tbaa !9
  %226 = load i32, ptr %12, align 4, !tbaa !9
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = icmp eq i32 %226, %227
  %229 = zext i1 %228 to i32
  store i32 %229, ptr %12, align 4, !tbaa !9
  %230 = load i32, ptr %12, align 4, !tbaa !9
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %239

232:                                              ; preds = %217
  %233 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %233, ptr %12, align 4, !tbaa !9
  store i64 -4294967296, ptr %18, align 8, !tbaa !11
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %12, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %235, i64 noundef %237, i64 noundef %238)
  br label %277

239:                                              ; preds = %217
  %240 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %240, ptr %12, align 4, !tbaa !9
  %241 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %241, ptr %13, align 4, !tbaa !9
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %13, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 20
  %247 = call i32 @i32_load8_u(ptr noundef %243, i64 noundef %246)
  store i32 %247, ptr %13, align 4, !tbaa !9
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %12, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 28
  %253 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %249, i64 noundef %252, i32 noundef %253)
  %254 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %254, ptr %12, align 4, !tbaa !9
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %13, align 4, !tbaa !9
  %256 = load ptr, ptr %5, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.w2c_hermes, ptr %256, i32 0, i32 6
  %258 = load i32, ptr %12, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = add i64 %259, 24
  %261 = load i32, ptr %13, align 4, !tbaa !9
  call void @i32_store(ptr noundef %257, i64 noundef %260, i32 noundef %261)
  %262 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %262, ptr %12, align 4, !tbaa !9
  %263 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %263, ptr %13, align 4, !tbaa !9
  store i32 5516, ptr %14, align 4, !tbaa !9
  %264 = load i32, ptr %14, align 4, !tbaa !9
  %265 = load i32, ptr %13, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %267, ptr %14, align 4, !tbaa !9
  %268 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %268, ptr %15, align 4, !tbaa !9
  store i32 24, 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 = add i32 %270, %269
  store i32 %271, ptr %15, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load i32, ptr %12, align 4, !tbaa !9
  %274 = load i32, ptr %13, align 4, !tbaa !9
  %275 = load i32, ptr %14, align 4, !tbaa !9
  %276 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetSymbolHandleFromPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef %272, i32 noundef %273, i32 noundef %274, i32 noundef %275, i32 noundef %276)
  br label %277

277:                                              ; preds = %239, %232, %96, %81
  %278 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %278, ptr %12, align 4, !tbaa !9
  store i32 32, ptr %13, align 4, !tbaa !9
  %279 = load i32, ptr %13, align 4, !tbaa !9
  %280 = load i32, ptr %12, align 4, !tbaa !9
  %281 = add i32 %280, %279
  store i32 %281, ptr %12, align 4, !tbaa !9
  %282 = load i32, ptr %12, align 4, !tbaa !9
  %283 = load ptr, ptr %5, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 3
  store i32 %282, ptr %284, align 8, !tbaa !13
  br label %303

285:                                              ; preds = %66
  store i32 0, ptr %12, align 4, !tbaa !9
  %286 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %286, ptr %9, align 4, !tbaa !9
  store i32 170731, ptr %13, align 4, !tbaa !9
  %287 = load i32, ptr %13, align 4, !tbaa !9
  %288 = load i32, ptr %12, align 4, !tbaa !9
  %289 = add i32 %288, %287
  store i32 %289, ptr %12, align 4, !tbaa !9
  %290 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %290, ptr %13, align 4, !tbaa !9
  store i32 86175, ptr %14, align 4, !tbaa !9
  %291 = load i32, ptr %14, align 4, !tbaa !9
  %292 = load i32, ptr %13, align 4, !tbaa !9
  %293 = add i32 %292, %291
  store i32 %293, ptr %13, align 4, !tbaa !9
  store i32 116, ptr %14, align 4, !tbaa !9
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %15, align 4, !tbaa !9
  store i32 91383, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %16, align 4, !tbaa !9
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = add i32 %296, %295
  store i32 %297, ptr %15, align 4, !tbaa !9
  %298 = load ptr, ptr %5, align 8, !tbaa !5
  %299 = load i32, ptr %12, align 4, !tbaa !9
  %300 = load i32, ptr %13, align 4, !tbaa !9
  %301 = load i32, ptr %14, align 4, !tbaa !9
  %302 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301, i32 noundef %302)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

303:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 void
}

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

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

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

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

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

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 void @i32_store8(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 i64 @i64_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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AvalueToSymbolID0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(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, -32
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %12)
  %.mask = and i64 %13, -140737488355328
  %14 = icmp eq i64 %.mask, -1266637395197952
  br i1 %14, label %15, label %28

15:                                               ; preds = %4
  %16 = and i64 %13, 3758096384
  %.not171 = icmp eq i64 %16, 0
  br i1 %.not171, label %17, label %58

17:                                               ; preds = %15
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %.not172 = icmp eq i32 %18, 0
  br i1 %.not172, label %19, label %22

19:                                               ; preds = %17
  %20 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %20, i32 noundef 0)
  %21 = add nuw nsw i64 %20, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %21, i32 noundef %11)
  br label %57

22:                                               ; preds = %17
  %23 = zext i32 %18 to i64
  %24 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %23)
  %25 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %25, i32 noundef %18)
  %26 = add nuw nsw i64 %25, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %11)
  %27 = add i32 %24, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %23, i32 noundef %27)
  br label %57

28:                                               ; preds = %4
  %29 = zext i32 %7 to i64
  %30 = add nuw nsw i64 %29, 12
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %11)
  %31 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %32 = add nuw nsw i64 %29, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %32, i32 noundef %31)
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %33, label %36

33:                                               ; preds = %28
  %34 = add i32 %6, -16
  %35 = add i32 %6, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %34, i32 noundef %2, i32 noundef %35)
  br label %44

36:                                               ; preds = %28
  %37 = zext i32 %31 to i64
  %38 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %37)
  %39 = add i32 %38, 1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %37, i32 noundef %39)
  %40 = add i32 %6, -16
  %41 = add i32 %6, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoString_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %2, i32 noundef %41)
  %42 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %37)
  %43 = add i32 %42, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %37, i32 noundef %43)
  br label %44

44:                                               ; preds = %36, %33
  %45 = add nuw nsw i64 %29, 16
  %46 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %45)
  %47 = icmp eq i32 %46, -1
  br i1 %47, label %48, label %50

48:                                               ; preds = %44
  %49 = zext i32 %1 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %49, i64 noundef -4294967296)
  br label %57

50:                                               ; preds = %44
  %51 = add nuw nsw i64 %29, 20
  %52 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %51)
  %53 = add nuw nsw i64 %29, 28
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %53, i32 noundef %52)
  %54 = add nuw nsw i64 %29, 24
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %54, i32 noundef %46)
  %55 = add i32 %2, 5516
  %56 = add i32 %6, -8
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetSymbolHandleFromPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %55, i32 noundef %2, i32 noundef %56) #4
  br label %57

57:                                               ; preds = %50, %48, %22, %19
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

58:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 170731, i32 noundef 86175, i32 noundef 116, i32 noundef 91383) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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