; 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: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdefineSystemConstructor0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x200x280x2A0x290x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x290x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2960x3E0x200x280x2A0x290x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20void0x2A0x290x2C0x20hermes0x3A0x3Avm0x3A0x3ACellKind0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

74:                                               ; preds = %9
  %75 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %75, ptr %22, align 4, !tbaa !9
  %76 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %76, ptr %23, align 4, !tbaa !9
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.w2c_hermes, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %23, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = call i32 @i32_load(ptr noundef %78, i64 noundef %80)
  store i32 %81, ptr %23, align 4, !tbaa !9
  store i32 1, ptr %24, align 4, !tbaa !9
  %82 = load i32, ptr %24, align 4, !tbaa !9
  %83 = load i32, ptr %23, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %23, align 4, !tbaa !9
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %22, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %86, i64 noundef %88, i32 noundef %89)
  br label %90

90:                                               ; preds = %74, %9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %91, ptr %22, align 4, !tbaa !9
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %22, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 192
  %97 = call i64 @i64_load(ptr noundef %93, i64 noundef %96)
  store i64 %97, ptr %31, align 8, !tbaa !11
  %98 = load i64, ptr %31, align 8, !tbaa !11
  store i64 %98, ptr %21, align 8, !tbaa !11
  store i64 -844424930131969, ptr %32, align 8, !tbaa !11
  %99 = load i64, ptr %31, align 8, !tbaa !11
  %100 = load i64, ptr %32, align 8, !tbaa !11
  %101 = icmp ugt i64 %99, %100
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %22, align 4, !tbaa !9
  %103 = load i32, ptr %22, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %201

105:                                              ; preds = %90
  %106 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %106, ptr %31, align 8, !tbaa !11
  %107 = load i64, ptr %31, align 8, !tbaa !11
  %108 = trunc i64 %107 to i32
  store i32 %108, ptr %22, align 4, !tbaa !9
  %109 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %109, ptr %20, align 4, !tbaa !9
  %110 = load i32, ptr %22, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  %112 = xor i1 %111, true
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %22, align 4, !tbaa !9
  %114 = load i32, ptr %22, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %105
  br label %219

117:                                              ; preds = %105
  %118 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %118, ptr %22, align 4, !tbaa !9
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %22, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = call i32 @i32_load(ptr noundef %120, i64 noundef %122)
  store i32 %123, ptr %22, align 4, !tbaa !9
  store i32 436207616, ptr %23, align 4, !tbaa !9
  %124 = load i32, ptr %23, align 4, !tbaa !9
  %125 = load i32, ptr %22, align 4, !tbaa !9
  %126 = sub i32 %125, %124
  store i32 %126, ptr %22, align 4, !tbaa !9
  store i32 855638016, ptr %23, align 4, !tbaa !9
  %127 = load i32, ptr %22, align 4, !tbaa !9
  %128 = load i32, ptr %23, align 4, !tbaa !9
  %129 = icmp uge i32 %127, %128
  %130 = zext i1 %129 to i32
  store i32 %130, ptr %22, align 4, !tbaa !9
  %131 = load i32, ptr %22, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %134

133:                                              ; preds = %117
  br label %237

134:                                              ; preds = %117
  %135 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %135, ptr %22, align 4, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !9
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %22, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %137, i64 noundef %139, i32 noundef %140)
  %141 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %141, ptr %22, align 4, !tbaa !9
  %142 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %142, ptr %23, align 4, !tbaa !9
  store i32 192, ptr %24, align 4, !tbaa !9
  %143 = load i32, ptr %24, align 4, !tbaa !9
  %144 = load i32, ptr %23, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %23, align 4, !tbaa !9
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %22, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 4
  %151 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %147, i64 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %152, ptr %22, align 4, !tbaa !9
  %153 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %153, ptr %23, align 4, !tbaa !9
  %154 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %154, ptr %24, align 4, !tbaa !9
  %155 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %155, ptr %25, align 4, !tbaa !9
  %156 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %156, ptr %26, align 4, !tbaa !9
  store i32 8, ptr %27, align 4, !tbaa !9
  %157 = load i32, ptr %27, align 4, !tbaa !9
  %158 = load i32, ptr %26, align 4, !tbaa !9
  %159 = add i32 %158, %157
  store i32 %159, ptr %26, align 4, !tbaa !9
  %160 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %160, ptr %27, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %161, ptr %28, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %162, ptr %29, align 4, !tbaa !9
  %163 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %163, ptr %30, align 4, !tbaa !9
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = load i32, ptr %22, align 4, !tbaa !9
  %166 = load i32, ptr %23, align 4, !tbaa !9
  %167 = load i32, ptr %24, align 4, !tbaa !9
  %168 = load i32, ptr %25, align 4, !tbaa !9
  %169 = load i32, ptr %26, align 4, !tbaa !9
  %170 = load i32, ptr %27, align 4, !tbaa !9
  %171 = load i32, ptr %28, align 4, !tbaa !9
  %172 = load i32, ptr %29, align 4, !tbaa !9
  %173 = load i32, ptr %30, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdefineSystemConstructor0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x200x280x2A0x290x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x290x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2960x3E0x200x280x2A0x290x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20void0x2A0x290x2C0x20hermes0x3A0x3Avm0x3A0x3ACellKind0x29(ptr noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168, i32 noundef %169, i32 noundef %170, i32 noundef %171, i32 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %174, ptr %22, align 4, !tbaa !9
  %175 = load i32, ptr %22, align 4, !tbaa !9
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %193

177:                                              ; preds = %134
  %178 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %178, ptr %22, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %179, ptr %23, align 4, !tbaa !9
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %23, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = call i32 @i32_load(ptr noundef %181, i64 noundef %183)
  store i32 %184, ptr %23, align 4, !tbaa !9
  store i32 1, ptr %24, align 4, !tbaa !9
  %185 = load i32, ptr %24, align 4, !tbaa !9
  %186 = load i32, ptr %23, align 4, !tbaa !9
  %187 = sub i32 %186, %185
  store i32 %187, ptr %23, align 4, !tbaa !9
  %188 = load ptr, ptr %10, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %22, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %189, i64 noundef %191, i32 noundef %192)
  br label %193

193:                                              ; preds = %177, %134
  %194 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %194, ptr %22, align 4, !tbaa !9
  store i32 16, ptr %23, align 4, !tbaa !9
  %195 = load i32, ptr %23, align 4, !tbaa !9
  %196 = load i32, ptr %22, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %22, align 4, !tbaa !9
  %198 = load i32, ptr %22, align 4, !tbaa !9
  %199 = load ptr, ptr %10, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 3
  store i32 %198, ptr %200, align 8, !tbaa !13
  br label %255

201:                                              ; preds = %90
  store i32 0, ptr %22, align 4, !tbaa !9
  %202 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %202, ptr %19, align 4, !tbaa !9
  store i32 146777, ptr %23, align 4, !tbaa !9
  %203 = load i32, ptr %23, align 4, !tbaa !9
  %204 = load i32, ptr %22, align 4, !tbaa !9
  %205 = add i32 %204, %203
  store i32 %205, ptr %22, align 4, !tbaa !9
  %206 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %206, ptr %23, align 4, !tbaa !9
  store i32 82692, ptr %24, align 4, !tbaa !9
  %207 = load i32, ptr %24, align 4, !tbaa !9
  %208 = load i32, ptr %23, align 4, !tbaa !9
  %209 = add i32 %208, %207
  store i32 %209, ptr %23, align 4, !tbaa !9
  store i32 43, ptr %24, align 4, !tbaa !9
  %210 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %210, ptr %25, align 4, !tbaa !9
  store i32 24718, ptr %26, align 4, !tbaa !9
  %211 = load i32, ptr %26, align 4, !tbaa !9
  %212 = load i32, ptr %25, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %25, align 4, !tbaa !9
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = load i32, ptr %22, align 4, !tbaa !9
  %216 = load i32, ptr %23, align 4, !tbaa !9
  %217 = load i32, ptr %24, align 4, !tbaa !9
  %218 = load i32, ptr %25, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %214, i32 noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

219:                                              ; preds = %116
  store i32 0, ptr %22, align 4, !tbaa !9
  %220 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %220, ptr %19, align 4, !tbaa !9
  store i32 147142, ptr %23, align 4, !tbaa !9
  %221 = load i32, ptr %23, align 4, !tbaa !9
  %222 = load i32, ptr %22, align 4, !tbaa !9
  %223 = add i32 %222, %221
  store i32 %223, ptr %22, align 4, !tbaa !9
  %224 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %224, ptr %23, align 4, !tbaa !9
  store i32 82611, ptr %24, align 4, !tbaa !9
  %225 = load i32, ptr %24, align 4, !tbaa !9
  %226 = load i32, ptr %23, align 4, !tbaa !9
  %227 = add i32 %226, %225
  store i32 %227, ptr %23, align 4, !tbaa !9
  store i32 106, ptr %24, align 4, !tbaa !9
  %228 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %228, ptr %25, align 4, !tbaa !9
  store i32 28119, ptr %26, align 4, !tbaa !9
  %229 = load i32, ptr %26, align 4, !tbaa !9
  %230 = load i32, ptr %25, align 4, !tbaa !9
  %231 = add i32 %230, %229
  store i32 %231, ptr %25, align 4, !tbaa !9
  %232 = load ptr, ptr %10, align 8, !tbaa !5
  %233 = load i32, ptr %22, align 4, !tbaa !9
  %234 = load i32, ptr %23, align 4, !tbaa !9
  %235 = load i32, ptr %24, align 4, !tbaa !9
  %236 = load i32, ptr %25, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef %235, i32 noundef %236)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

237:                                              ; preds = %133
  store i32 0, ptr %22, align 4, !tbaa !9
  %238 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %238, ptr %19, align 4, !tbaa !9
  store i32 205012, ptr %23, align 4, !tbaa !9
  %239 = load i32, ptr %23, align 4, !tbaa !9
  %240 = load i32, ptr %22, align 4, !tbaa !9
  %241 = add i32 %240, %239
  store i32 %241, ptr %22, align 4, !tbaa !9
  %242 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %242, ptr %23, align 4, !tbaa !9
  store i32 82611, ptr %24, align 4, !tbaa !9
  %243 = load i32, ptr %24, align 4, !tbaa !9
  %244 = load i32, ptr %23, align 4, !tbaa !9
  %245 = add i32 %244, %243
  store i32 %245, ptr %23, align 4, !tbaa !9
  store i32 255, ptr %24, align 4, !tbaa !9
  %246 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %246, ptr %25, align 4, !tbaa !9
  store i32 24720, ptr %26, align 4, !tbaa !9
  %247 = load i32, ptr %26, align 4, !tbaa !9
  %248 = load i32, ptr %25, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %25, align 4, !tbaa !9
  %250 = load ptr, ptr %10, align 8, !tbaa !5
  %251 = load i32, ptr %22, align 4, !tbaa !9
  %252 = load i32, ptr %23, align 4, !tbaa !9
  %253 = load i32, ptr %24, align 4, !tbaa !9
  %254 = load i32, ptr %25, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef %254)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

255:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  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: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdefineSystemConstructor0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x200x280x2A0x290x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x290x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2960x3E0x200x280x2A0x290x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20void0x2A0x290x2C0x20hermes0x3A0x3Avm0x3A0x3ACellKind0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

21:                                               ; preds = %9
  %22 = zext i32 %19 to i64
  %23 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %22)
  %24 = add i32 %23, 1
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %22, i32 noundef %24)
  br label %25

25:                                               ; preds = %21, %9
  %26 = zext i32 %2 to i64
  %27 = add nuw nsw i64 %26, 192
  %28 = tail call i64 @i64_load(ptr noundef nonnull %13, i64 noundef %27)
  %29 = icmp ugt i64 %28, -844424930131969
  br i1 %29, label %30, label %45

30:                                               ; preds = %25
  %31 = and i64 %28, 4294967295
  %.not142 = icmp eq i64 %31, 0
  br i1 %.not142, label %46, label %32

32:                                               ; preds = %30
  %33 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %31)
  %34 = add i32 %33, -1291845632
  %35 = icmp ult i32 %34, -855638016
  br i1 %35, label %47, label %36

36:                                               ; preds = %32
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %17, i32 noundef 0)
  %37 = add i32 %2, 192
  %38 = add nuw nsw i64 %17, 4
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %38, i32 noundef %37)
  %39 = add i32 %11, -8
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdefineSystemConstructor0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x200x280x2A0x290x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x290x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2960x3E0x200x280x2A0x290x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20void0x2A0x290x2C0x20hermes0x3A0x3Avm0x3A0x3ACellKind0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %39, i32 noundef %12, i32 noundef %6, i32 noundef %7, i32 noundef %8)
  br i1 %.not, label %44, label %40

40:                                               ; preds = %36
  %41 = zext i32 %19 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %13, i64 noundef %41)
  %43 = add i32 %42, -1
  tail call void @i32_store(ptr noundef nonnull %13, i64 noundef %41, i32 noundef %43)
  br label %44

44:                                               ; preds = %40, %36
  store i32 %11, ptr %10, align 8, !tbaa !5
  ret void

45:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 43, i32 noundef 24718) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

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

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

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