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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ASerializedLiteralParser0x3A0x3Aget0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef, i32 noundef, i32 noundef) #1

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

63:                                               ; preds = %7
  %64 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %64, ptr %19, align 4, !tbaa !9
  store i64 -1688849860263936, ptr %25, align 8, !tbaa !11
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.w2c_hermes, ptr %65, i32 0, i32 6
  %67 = load i32, ptr %19, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = add i64 %68, 8
  %70 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %66, i64 noundef %69, i64 noundef %70)
  %71 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %71, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %19, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %73, i64 noundef %75, i32 noundef %76)
  %77 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %77, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = add i64 %81, 16
  %83 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %79, i64 noundef %82, i32 noundef %83)
  br label %354

84:                                               ; preds = %7
  %85 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %85, ptr %19, align 4, !tbaa !9
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = add i64 %89, 40
  %91 = call i32 @i32_load(ptr noundef %87, i64 noundef %90)
  store i32 %91, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %92, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %19, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %111

95:                                               ; preds = %84
  %96 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %96, ptr %19, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %97, ptr %20, align 4, !tbaa !9
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %20, 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 %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %103 = load i32, ptr %21, align 4, !tbaa !9
  %104 = load i32, ptr %20, align 4, !tbaa !9
  %105 = add i32 %104, %103
  store i32 %105, ptr %20, align 4, !tbaa !9
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %109, i32 noundef %110)
  br label %111

111:                                              ; preds = %95, %84
  %112 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %112, ptr %19, align 4, !tbaa !9
  %113 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %113, ptr %20, align 4, !tbaa !9
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %19, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = add i64 %117, 32
  %119 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %115, i64 noundef %118, i32 noundef %119)
  %120 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %120, ptr %19, align 4, !tbaa !9
  %121 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %121, ptr %20, align 4, !tbaa !9
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %19, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = add i64 %125, 36
  %127 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %123, i64 noundef %126, i32 noundef %127)
  %128 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %128, ptr %19, align 4, !tbaa !9
  store i32 32, ptr %20, align 4, !tbaa !9
  %129 = load i32, ptr %20, align 4, !tbaa !9
  %130 = load i32, ptr %19, align 4, !tbaa !9
  %131 = add i32 %130, %129
  store i32 %131, ptr %19, align 4, !tbaa !9
  %132 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %132, ptr %20, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %133, ptr %21, align 4, !tbaa !9
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = load i32, ptr %20, align 4, !tbaa !9
  %137 = load i32, ptr %21, align 4, !tbaa !9
  %138 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3AsetStorageEndIndex0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayImpl0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(ptr noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef %137)
  store i32 %138, ptr %19, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %139, ptr %19, align 4, !tbaa !9
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %19, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 32
  %145 = call i32 @i32_load(ptr noundef %141, i64 noundef %144)
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %146, ptr %12, align 4, !tbaa !9
  %147 = load i32, ptr %19, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %165

149:                                              ; preds = %111
  %150 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %150, ptr %19, align 4, !tbaa !9
  %151 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %151, ptr %20, align 4, !tbaa !9
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %20, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = call i32 @i32_load(ptr noundef %153, i64 noundef %155)
  store i32 %156, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = load i32, ptr %20, align 4, !tbaa !9
  %159 = sub i32 %158, %157
  store i32 %159, ptr %20, align 4, !tbaa !9
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %19, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %161, i64 noundef %163, i32 noundef %164)
  br label %165

165:                                              ; preds = %149, %111
  %166 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %166, ptr %19, align 4, !tbaa !9
  store i32 4, ptr %20, align 4, !tbaa !9
  %167 = load i32, ptr %20, align 4, !tbaa !9
  %168 = load i32, ptr %19, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %19, align 4, !tbaa !9
  %170 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %170, ptr %20, align 4, !tbaa !9
  %171 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %171, ptr %21, align 4, !tbaa !9
  %172 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %172, ptr %22, align 4, !tbaa !9
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = load i32, ptr %19, align 4, !tbaa !9
  %175 = load i32, ptr %20, align 4, !tbaa !9
  %176 = load i32, ptr %21, align 4, !tbaa !9
  %177 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACodeBlock0x3A0x3AgetArrayBufferIter0x28unsigned0x20int0x2C0x20unsigned0x20int0x290x20const(ptr noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef %177)
  %178 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %178, ptr %19, align 4, !tbaa !9
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.w2c_hermes, ptr %179, i32 0, i32 6
  %181 = load i32, ptr %19, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = add i64 %182, 12
  %184 = call i32 @i32_load(ptr noundef %180, i64 noundef %183)
  store i32 %184, ptr %19, align 4, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %262

187:                                              ; preds = %165
  store i32 0, ptr %19, align 4, !tbaa !9
  %188 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %188, ptr %12, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %260, %187
  %190 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %190, ptr %19, align 4, !tbaa !9
  store i32 4, ptr %20, align 4, !tbaa !9
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = load i32, ptr %19, align 4, !tbaa !9
  %193 = add i32 %192, %191
  store i32 %193, ptr %19, align 4, !tbaa !9
  %194 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %194, ptr %20, align 4, !tbaa !9
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = load i32, ptr %20, align 4, !tbaa !9
  %198 = call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ASerializedLiteralParser0x3A0x3Aget0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %195, i32 noundef %196, i32 noundef %197)
  store i64 %198, ptr %24, align 8, !tbaa !11
  %199 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %199, ptr %20, align 4, !tbaa !9
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = load i64, ptr %24, align 8, !tbaa !11
  %202 = load i32, ptr %20, align 4, !tbaa !9
  %203 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AencodeHermesValue0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %200, i64 noundef %201, i32 noundef %202)
  store i32 %203, ptr %19, align 4, !tbaa !9
  %204 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %204, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %205, ptr %19, align 4, !tbaa !9
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %19, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = call i64 @i64_load(ptr noundef %207, i64 noundef %209)
  store i64 %210, ptr %24, align 8, !tbaa !11
  %211 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %211, ptr %18, align 8, !tbaa !11
  store i64 48, ptr %25, align 8, !tbaa !11
  %212 = load i64, ptr %24, align 8, !tbaa !11
  %213 = load i64, ptr %25, align 8, !tbaa !11
  %214 = and i64 %213, 63
  %215 = ashr i64 %212, %214
  store i64 %215, ptr %24, align 8, !tbaa !11
  %216 = load i64, ptr %24, align 8, !tbaa !11
  %217 = trunc i64 %216 to i32
  store i32 %217, ptr %19, align 4, !tbaa !9
  store i32 -1, ptr %20, align 4, !tbaa !9
  %218 = load i32, ptr %19, align 4, !tbaa !9
  %219 = load i32, ptr %20, align 4, !tbaa !9
  %220 = icmp ne i32 %218, %219
  %221 = zext i1 %220 to i32
  store i32 %221, ptr %19, align 4, !tbaa !9
  %222 = load i32, ptr %19, align 4, !tbaa !9
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %225

224:                                              ; preds = %189
  br label %389

225:                                              ; preds = %189
  %226 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %226, ptr %24, align 8, !tbaa !11
  store i64 -844424930131969, ptr %25, align 8, !tbaa !11
  %227 = load i64, ptr %24, align 8, !tbaa !11
  %228 = load i64, ptr %25, align 8, !tbaa !11
  %229 = icmp ule i64 %227, %228
  %230 = zext i1 %229 to i32
  store i32 %230, ptr %19, align 4, !tbaa !9
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %234

233:                                              ; preds = %225
  br label %407

234:                                              ; preds = %225
  %235 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %235, ptr %24, align 8, !tbaa !11
  %236 = load i64, ptr %24, align 8, !tbaa !11
  %237 = trunc i64 %236 to i32
  store i32 %237, ptr %19, align 4, !tbaa !9
  %238 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %238, ptr %20, align 4, !tbaa !9
  %239 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %239, ptr %21, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %240, ptr %22, align 4, !tbaa !9
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = load i32, ptr %19, align 4, !tbaa !9
  %243 = load i32, ptr %20, align 4, !tbaa !9
  %244 = load i32, ptr %21, align 4, !tbaa !9
  %245 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3AunsafeSetExistingElementAt0x28hermes0x3A0x3Avm0x3A0x3AArrayImpl0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue320x29(ptr noundef %241, i32 noundef %242, i32 noundef %243, i32 noundef %244, i32 noundef %245)
  %246 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %246, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %247 = load i32, ptr %20, align 4, !tbaa !9
  %248 = load i32, ptr %19, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %19, align 4, !tbaa !9
  %250 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %250, ptr %12, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %251, ptr %19, align 4, !tbaa !9
  %252 = load ptr, ptr %8, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %19, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = add i64 %255, 12
  %257 = call i32 @i32_load(ptr noundef %253, i64 noundef %256)
  store i32 %257, ptr %19, align 4, !tbaa !9
  %258 = load i32, ptr %19, align 4, !tbaa !9
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %261

260:                                              ; preds = %234
  br label %189

261:                                              ; preds = %234
  br label %262

262:                                              ; preds = %261, %165
  %263 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %263, ptr %19, align 4, !tbaa !9
  %264 = load ptr, ptr %8, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %19, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = call i64 @i64_load(ptr noundef %265, i64 noundef %267)
  store i64 %268, ptr %24, align 8, !tbaa !11
  %269 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %269, ptr %18, align 8, !tbaa !11
  store i64 48, ptr %25, align 8, !tbaa !11
  %270 = load i64, ptr %24, align 8, !tbaa !11
  %271 = load i64, ptr %25, align 8, !tbaa !11
  %272 = and i64 %271, 63
  %273 = ashr i64 %270, %272
  store i64 %273, ptr %24, align 8, !tbaa !11
  %274 = load i64, ptr %24, align 8, !tbaa !11
  %275 = trunc i64 %274 to i32
  store i32 %275, ptr %19, align 4, !tbaa !9
  store i32 -1, ptr %20, align 4, !tbaa !9
  %276 = load i32, ptr %19, align 4, !tbaa !9
  %277 = load i32, ptr %20, align 4, !tbaa !9
  %278 = icmp ne i32 %276, %277
  %279 = zext i1 %278 to i32
  store i32 %279, ptr %19, align 4, !tbaa !9
  %280 = load i32, ptr %19, align 4, !tbaa !9
  %281 = icmp ne i32 %280, 0
  br i1 %281, label %282, label %283

282:                                              ; preds = %262
  br label %425

283:                                              ; preds = %262
  %284 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %284, ptr %24, align 8, !tbaa !11
  store i64 -844424930131969, ptr %25, align 8, !tbaa !11
  %285 = load i64, ptr %24, align 8, !tbaa !11
  %286 = load i64, ptr %25, align 8, !tbaa !11
  %287 = icmp ule i64 %285, %286
  %288 = zext i1 %287 to i32
  store i32 %288, ptr %19, align 4, !tbaa !9
  %289 = load i32, ptr %19, align 4, !tbaa !9
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %291, label %292

291:                                              ; preds = %283
  br label %443

292:                                              ; preds = %283
  %293 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %293, ptr %24, align 8, !tbaa !11
  store i64 4294967295, ptr %25, align 8, !tbaa !11
  %294 = load i64, ptr %25, align 8, !tbaa !11
  %295 = load i64, ptr %24, align 8, !tbaa !11
  %296 = and i64 %295, %294
  store i64 %296, ptr %24, align 8, !tbaa !11
  %297 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %297, ptr %18, align 8, !tbaa !11
  %298 = load i64, ptr %24, align 8, !tbaa !11
  %299 = icmp ne i64 %298, 0
  %300 = xor i1 %299, true
  %301 = zext i1 %300 to i32
  store i32 %301, ptr %19, align 4, !tbaa !9
  %302 = load i32, ptr %19, align 4, !tbaa !9
  %303 = icmp ne i32 %302, 0
  br i1 %303, label %304, label %305

304:                                              ; preds = %292
  br label %461

305:                                              ; preds = %292
  %306 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %306, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %307 = load ptr, ptr %8, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %19, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %308, i64 noundef %310, i32 noundef %311)
  %312 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %312, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %313 = load ptr, ptr %8, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 6
  %315 = load i32, ptr %19, align 4, !tbaa !9
  %316 = zext i32 %315 to i64
  %317 = add i64 %316, 16
  %318 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %314, i64 noundef %317, i32 noundef %318)
  %319 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %319, ptr %19, align 4, !tbaa !9
  %320 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %320, ptr %25, align 8, !tbaa !11
  store i64 -281474976710656, ptr %26, align 8, !tbaa !11
  %321 = load i64, ptr %26, align 8, !tbaa !11
  %322 = load i64, ptr %25, align 8, !tbaa !11
  %323 = or i64 %322, %321
  store i64 %323, ptr %25, align 8, !tbaa !11
  %324 = load ptr, ptr %8, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.w2c_hermes, ptr %324, i32 0, i32 6
  %326 = load i32, ptr %19, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = add i64 %327, 8
  %329 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %325, i64 noundef %328, i64 noundef %329)
  %330 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %330, ptr %19, align 4, !tbaa !9
  %331 = load i32, ptr %19, align 4, !tbaa !9
  %332 = icmp ne i32 %331, 0
  %333 = xor i1 %332, true
  %334 = zext i1 %333 to i32
  store i32 %334, ptr %19, align 4, !tbaa !9
  %335 = load i32, ptr %19, align 4, !tbaa !9
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %338

337:                                              ; preds = %305
  br label %354

338:                                              ; preds = %305
  %339 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %339, ptr %19, align 4, !tbaa !9
  %340 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %340, ptr %20, align 4, !tbaa !9
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.w2c_hermes, ptr %341, i32 0, i32 6
  %343 = load i32, ptr %20, align 4, !tbaa !9
  %344 = zext i32 %343 to i64
  %345 = call i32 @i32_load(ptr noundef %342, i64 noundef %344)
  store i32 %345, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %346 = load i32, ptr %21, align 4, !tbaa !9
  %347 = load i32, ptr %20, align 4, !tbaa !9
  %348 = sub i32 %347, %346
  store i32 %348, ptr %20, align 4, !tbaa !9
  %349 = load ptr, ptr %8, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.w2c_hermes, ptr %349, i32 0, i32 6
  %351 = load i32, ptr %19, align 4, !tbaa !9
  %352 = zext i32 %351 to i64
  %353 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %350, i64 noundef %352, i32 noundef %353)
  br label %354

354:                                              ; preds = %338, %337, %63
  %355 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %355, ptr %19, align 4, !tbaa !9
  %356 = load ptr, ptr %8, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 6
  %358 = load i32, ptr %19, align 4, !tbaa !9
  %359 = zext i32 %358 to i64
  %360 = add i64 %359, 40
  %361 = call i32 @i32_load(ptr noundef %357, i64 noundef %360)
  store i32 %361, ptr %19, align 4, !tbaa !9
  %362 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %362, ptr %10, align 4, !tbaa !9
  %363 = load i32, ptr %19, align 4, !tbaa !9
  %364 = icmp ne i32 %363, 0
  br i1 %364, label %365, label %381

365:                                              ; preds = %354
  %366 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %366, ptr %19, align 4, !tbaa !9
  %367 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %367, ptr %20, align 4, !tbaa !9
  %368 = load ptr, ptr %8, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.w2c_hermes, ptr %368, i32 0, i32 6
  %370 = load i32, ptr %20, align 4, !tbaa !9
  %371 = zext i32 %370 to i64
  %372 = call i32 @i32_load(ptr noundef %369, i64 noundef %371)
  store i32 %372, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %373 = load i32, ptr %21, align 4, !tbaa !9
  %374 = load i32, ptr %20, align 4, !tbaa !9
  %375 = sub i32 %374, %373
  store i32 %375, ptr %20, align 4, !tbaa !9
  %376 = load ptr, ptr %8, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.w2c_hermes, ptr %376, i32 0, i32 6
  %378 = load i32, ptr %19, align 4, !tbaa !9
  %379 = zext i32 %378 to i64
  %380 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %377, i64 noundef %379, i32 noundef %380)
  br label %381

381:                                              ; preds = %365, %354
  %382 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %382, ptr %19, align 4, !tbaa !9
  store i32 48, ptr %20, align 4, !tbaa !9
  %383 = load i32, ptr %20, align 4, !tbaa !9
  %384 = load i32, ptr %19, align 4, !tbaa !9
  %385 = add i32 %384, %383
  store i32 %385, ptr %19, align 4, !tbaa !9
  %386 = load i32, ptr %19, align 4, !tbaa !9
  %387 = load ptr, ptr %8, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.w2c_hermes, ptr %387, i32 0, i32 3
  store i32 %386, ptr %388, align 8, !tbaa !13
  br label %479

389:                                              ; preds = %224
  store i32 0, ptr %19, align 4, !tbaa !9
  %390 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %390, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %20, align 4, !tbaa !9
  %391 = load i32, ptr %20, align 4, !tbaa !9
  %392 = load i32, ptr %19, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %19, align 4, !tbaa !9
  %394 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %394, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %395 = load i32, ptr %21, align 4, !tbaa !9
  %396 = load i32, ptr %20, align 4, !tbaa !9
  %397 = add i32 %396, %395
  store i32 %397, ptr %20, align 4, !tbaa !9
  store i32 480, ptr %21, align 4, !tbaa !9
  %398 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %398, ptr %22, align 4, !tbaa !9
  store i32 38798, ptr %23, align 4, !tbaa !9
  %399 = load i32, ptr %23, align 4, !tbaa !9
  %400 = load i32, ptr %22, align 4, !tbaa !9
  %401 = add i32 %400, %399
  store i32 %401, ptr %22, align 4, !tbaa !9
  %402 = load ptr, ptr %8, align 8, !tbaa !5
  %403 = load i32, ptr %19, align 4, !tbaa !9
  %404 = load i32, ptr %20, align 4, !tbaa !9
  %405 = load i32, ptr %21, align 4, !tbaa !9
  %406 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405, i32 noundef %406)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

407:                                              ; preds = %233
  store i32 0, ptr %19, align 4, !tbaa !9
  %408 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %408, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %20, align 4, !tbaa !9
  %409 = load i32, ptr %20, align 4, !tbaa !9
  %410 = load i32, ptr %19, align 4, !tbaa !9
  %411 = add i32 %410, %409
  store i32 %411, ptr %19, align 4, !tbaa !9
  %412 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %412, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %413 = load i32, ptr %21, align 4, !tbaa !9
  %414 = load i32, ptr %20, align 4, !tbaa !9
  %415 = add i32 %414, %413
  store i32 %415, ptr %20, align 4, !tbaa !9
  store i32 438, ptr %21, align 4, !tbaa !9
  %416 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %416, ptr %22, align 4, !tbaa !9
  store i32 49706, ptr %23, align 4, !tbaa !9
  %417 = load i32, ptr %23, align 4, !tbaa !9
  %418 = load i32, ptr %22, align 4, !tbaa !9
  %419 = add i32 %418, %417
  store i32 %419, ptr %22, align 4, !tbaa !9
  %420 = load ptr, ptr %8, align 8, !tbaa !5
  %421 = load i32, ptr %19, align 4, !tbaa !9
  %422 = load i32, ptr %20, align 4, !tbaa !9
  %423 = load i32, ptr %21, align 4, !tbaa !9
  %424 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %420, i32 noundef %421, i32 noundef %422, i32 noundef %423, i32 noundef %424)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

425:                                              ; preds = %282
  store i32 0, ptr %19, align 4, !tbaa !9
  %426 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %426, ptr %10, align 4, !tbaa !9
  store i32 118124, ptr %20, align 4, !tbaa !9
  %427 = load i32, ptr %20, align 4, !tbaa !9
  %428 = load i32, ptr %19, align 4, !tbaa !9
  %429 = add i32 %428, %427
  store i32 %429, ptr %19, align 4, !tbaa !9
  %430 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %430, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %431 = load i32, ptr %21, align 4, !tbaa !9
  %432 = load i32, ptr %20, align 4, !tbaa !9
  %433 = add i32 %432, %431
  store i32 %433, ptr %20, align 4, !tbaa !9
  store i32 480, ptr %21, align 4, !tbaa !9
  %434 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %434, ptr %22, align 4, !tbaa !9
  store i32 38798, ptr %23, align 4, !tbaa !9
  %435 = load i32, ptr %23, align 4, !tbaa !9
  %436 = load i32, ptr %22, align 4, !tbaa !9
  %437 = add i32 %436, %435
  store i32 %437, ptr %22, align 4, !tbaa !9
  %438 = load ptr, ptr %8, align 8, !tbaa !5
  %439 = load i32, ptr %19, align 4, !tbaa !9
  %440 = load i32, ptr %20, align 4, !tbaa !9
  %441 = load i32, ptr %21, align 4, !tbaa !9
  %442 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %438, i32 noundef %439, i32 noundef %440, i32 noundef %441, i32 noundef %442)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

443:                                              ; preds = %291
  store i32 0, ptr %19, align 4, !tbaa !9
  %444 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %444, ptr %10, align 4, !tbaa !9
  store i32 118273, ptr %20, align 4, !tbaa !9
  %445 = load i32, ptr %20, align 4, !tbaa !9
  %446 = load i32, ptr %19, align 4, !tbaa !9
  %447 = add i32 %446, %445
  store i32 %447, ptr %19, align 4, !tbaa !9
  %448 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %448, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %449 = load i32, ptr %21, align 4, !tbaa !9
  %450 = load i32, ptr %20, align 4, !tbaa !9
  %451 = add i32 %450, %449
  store i32 %451, ptr %20, align 4, !tbaa !9
  store i32 438, ptr %21, align 4, !tbaa !9
  %452 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %452, ptr %22, align 4, !tbaa !9
  store i32 49706, ptr %23, align 4, !tbaa !9
  %453 = load i32, ptr %23, align 4, !tbaa !9
  %454 = load i32, ptr %22, align 4, !tbaa !9
  %455 = add i32 %454, %453
  store i32 %455, ptr %22, align 4, !tbaa !9
  %456 = load ptr, ptr %8, align 8, !tbaa !5
  %457 = load i32, ptr %19, align 4, !tbaa !9
  %458 = load i32, ptr %20, align 4, !tbaa !9
  %459 = load i32, ptr %21, align 4, !tbaa !9
  %460 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %456, i32 noundef %457, i32 noundef %458, i32 noundef %459, i32 noundef %460)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

461:                                              ; preds = %304
  store i32 0, ptr %19, align 4, !tbaa !9
  %462 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %462, ptr %10, align 4, !tbaa !9
  store i32 195004, ptr %20, align 4, !tbaa !9
  %463 = load i32, ptr %20, align 4, !tbaa !9
  %464 = load i32, ptr %19, align 4, !tbaa !9
  %465 = add i32 %464, %463
  store i32 %465, ptr %19, align 4, !tbaa !9
  %466 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %466, ptr %20, align 4, !tbaa !9
  store i32 83341, ptr %21, align 4, !tbaa !9
  %467 = load i32, ptr %21, align 4, !tbaa !9
  %468 = load i32, ptr %20, align 4, !tbaa !9
  %469 = add i32 %468, %467
  store i32 %469, ptr %20, align 4, !tbaa !9
  store i32 268, ptr %21, align 4, !tbaa !9
  %470 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %470, ptr %22, align 4, !tbaa !9
  store i32 90411, ptr %23, align 4, !tbaa !9
  %471 = load i32, ptr %23, align 4, !tbaa !9
  %472 = load i32, ptr %22, align 4, !tbaa !9
  %473 = add i32 %472, %471
  store i32 %473, ptr %22, align 4, !tbaa !9
  %474 = load ptr, ptr %8, align 8, !tbaa !5
  %475 = load i32, ptr %19, align 4, !tbaa !9
  %476 = load i32, ptr %20, align 4, !tbaa !9
  %477 = load i32, ptr %21, align 4, !tbaa !9
  %478 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %474, i32 noundef %475, i32 noundef %476, i32 noundef %477, i32 noundef %478)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

479:                                              ; preds = %381
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  ret void
}

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

declare i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ASerializedLiteralParser0x3A0x3Aget0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

17:                                               ; preds = %7
  %18 = zext i32 %1 to i64
  %19 = add nuw nsw i64 %18, 8
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %19, i64 noundef -1688849860263936)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %18, i32 noundef 0)
  %20 = add nuw nsw i64 %18, 16
  tail call void @i32_store8(ptr noundef nonnull %12, i64 noundef %20, i32 noundef 1)
  %.pre = add nuw nsw i64 %13, 40
  br label %61

21:                                               ; preds = %7
  %22 = add nuw nsw i64 %13, 40
  %23 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %22)
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %28, label %24

24:                                               ; preds = %21
  %25 = zext i32 %23 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %25)
  %27 = add i32 %26, 2
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %25, i32 noundef %27)
  br label %28

28:                                               ; preds = %24, %21
  %29 = add nuw nsw i64 %13, 32
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %29, i32 noundef %23)
  %30 = add nuw nsw i64 %13, 36
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %30, i32 noundef %15)
  %31 = add i32 %9, -16
  %32 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3AsetStorageEndIndex0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AArrayImpl0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %2, i32 noundef %4)
  %33 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %29)
  %.not284 = icmp eq i32 %33, 0
  br i1 %.not284, label %38, label %34

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

38:                                               ; preds = %34, %28
  %39 = add i32 %9, -44
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACodeBlock0x3A0x3AgetArrayBufferIter0x28unsigned0x20int0x2C0x20unsigned0x20int0x290x20const(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %3, i32 noundef %6, i32 noundef %5)
  %40 = add nuw nsw i64 %13, 12
  %41 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %40)
  %.not285 = icmp eq i32 %41, 0
  %.pre291 = zext i32 %15 to i64
  br i1 %.not285, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %38, %45
  %.0 = phi i32 [ %47, %45 ], [ 0, %38 ]
  %42 = tail call i64 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ASerializedLiteralParser0x3A0x3Aget0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %0, i32 noundef %39, i32 noundef %2) #4
  %43 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHermesValue320x3A0x3AencodeHermesValue0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %0, i64 noundef %42, i32 noundef %2)
  %44 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %.pre291)
  %.not286 = icmp ugt i64 %44, -281474976710657
  br i1 %.not286, label %45, label %68

45:                                               ; preds = %.preheader
  %46 = trunc i64 %44 to i32
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AArrayImpl0x3A0x3AunsafeSetExistingElementAt0x28hermes0x3A0x3Avm0x3A0x3AArrayImpl0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue320x29(ptr noundef %0, i32 noundef %46, i32 noundef %2, i32 noundef %.0, i32 noundef %43)
  %47 = add i32 %.0, 1
  %48 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %40)
  %.not287 = icmp eq i32 %48, 0
  br i1 %.not287, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %45, %38
  %49 = tail call i64 @i64_load(ptr noundef nonnull %12, i64 noundef %.pre291)
  %.not288 = icmp ugt i64 %49, -281474976710657
  br i1 %.not288, label %50, label %69

50:                                               ; preds = %.loopexit
  %51 = and i64 %49, 4294967295
  %.not289 = icmp eq i64 %51, 0
  br i1 %.not289, label %70, label %52

52:                                               ; preds = %50
  %53 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %53, i32 noundef 1)
  %54 = add nuw nsw i64 %53, 16
  tail call void @i32_store8(ptr noundef nonnull %12, i64 noundef %54, i32 noundef 1)
  %55 = or disjoint i64 %51, -281474976710656
  %56 = add nuw nsw i64 %53, 8
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %56, i64 noundef %55)
  br i1 %.not, label %61, label %57

57:                                               ; preds = %52
  %58 = zext i32 %23 to i64
  %59 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %58)
  %60 = add i32 %59, -1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %58, i32 noundef %60)
  br label %61

61:                                               ; preds = %52, %57, %17
  %.pre-phi = phi i64 [ %22, %52 ], [ %22, %57 ], [ %.pre, %17 ]
  %62 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %.pre-phi)
  %.not290 = icmp eq i32 %62, 0
  br i1 %.not290, label %67, label %63

63:                                               ; preds = %61
  %64 = zext i32 %62 to i64
  %65 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %64)
  %66 = add i32 %65, -1
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %64, i32 noundef %66)
  br label %67

67:                                               ; preds = %63, %61
  store i32 %9, ptr %8, align 8, !tbaa !5
  ret void

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

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

70:                                               ; preds = %50
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195004, i32 noundef 83341, i32 noundef 268, i32 noundef 90411) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass