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

; 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 i64 @i64_load(ptr noundef, i64 noundef) #2

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

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

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

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) #4

declare i32 @w2c_hermes_memmove(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) #4

declare void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3ALiteralBufferBuilder0x3A0x3AserializeInto0x280x28anonymous0x20namespace0x290x3A0x3AUniquedStringVector0x260x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3ALiteral0x2A0x3E0x2C0x20bool0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !13
  store i32 %25, ptr %17, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  %26 = load i32, ptr %18, align 4, !tbaa !9
  %27 = load i32, ptr %17, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %17, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %29, ptr %11, align 4, !tbaa !9
  %30 = load i32, ptr %17, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !13
  %33 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %33, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %34 = load i32, ptr %18, align 4, !tbaa !9
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = add i32 %35, %34
  store i32 %36, ptr %17, align 4, !tbaa !9
  %37 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %37, ptr %12, align 4, !tbaa !9
  %38 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %38, ptr %18, align 4, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %18, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = add i64 %42, 20
  %44 = call i32 @i32_load(ptr noundef %40, i64 noundef %43)
  store i32 %44, ptr %18, align 4, !tbaa !9
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %17, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %46, i64 noundef %48, i32 noundef %49)
  %50 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %50, ptr %17, align 4, !tbaa !9
  %51 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %51, ptr %18, align 4, !tbaa !9
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %18, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = call i64 @i64_load(ptr noundef %53, i64 noundef %55)
  store i64 %56, ptr %22, align 8, !tbaa !11
  %57 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %57, ptr %16, align 8, !tbaa !11
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %17, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = add i64 %61, 8
  %63 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %59, i64 noundef %62, i64 noundef %63)
  %64 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %64, ptr %17, align 4, !tbaa !9
  %65 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %65, ptr %22, align 8, !tbaa !11
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.w2c_hermes, ptr %66, i32 0, i32 6
  %68 = load i32, ptr %17, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = add i64 %69, 16
  %71 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %67, i64 noundef %70, i64 noundef %71)
  %72 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %72, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %73 = load i32, ptr %18, align 4, !tbaa !9
  %74 = load i32, ptr %17, align 4, !tbaa !9
  %75 = add i32 %74, %73
  store i32 %75, ptr %17, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %76, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %77 = load i32, ptr %19, align 4, !tbaa !9
  %78 = load i32, ptr %18, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %18, align 4, !tbaa !9
  %80 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %80, ptr %19, align 4, !tbaa !9
  store i32 20, ptr %20, align 4, !tbaa !9
  %81 = load i32, ptr %20, align 4, !tbaa !9
  %82 = load i32, ptr %19, align 4, !tbaa !9
  %83 = add i32 %82, %81
  store i32 %83, ptr %19, align 4, !tbaa !9
  %84 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %84, ptr %20, align 4, !tbaa !9
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = load i32, ptr %18, align 4, !tbaa !9
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ASerializedLiteralGenerator0x3A0x3AserializeBuffer0x28llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3ALiteral0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20char0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20char0x3E0x3E0x260x2C0x20bool0x29(ptr noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
  %90 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %90, ptr %17, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %91, ptr %18, align 4, !tbaa !9
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = call i32 @i32_load(ptr noundef %93, i64 noundef %95)
  store i32 %96, ptr %18, align 4, !tbaa !9
  %97 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %97, ptr %19, align 4, !tbaa !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %19, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 20
  %103 = call i32 @i32_load(ptr noundef %99, i64 noundef %102)
  store i32 %103, ptr %19, align 4, !tbaa !9
  %104 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %104, ptr %7, align 4, !tbaa !9
  %105 = load i32, ptr %19, align 4, !tbaa !9
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = sub i32 %106, %105
  store i32 %107, ptr %18, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 28
  %113 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %109, i64 noundef %112, i32 noundef %113)
  %114 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %114, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %115, ptr %18, align 4, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %17, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 24
  %121 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %117, i64 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %122, ptr %17, align 4, !tbaa !9
  %123 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %123, ptr %18, align 4, !tbaa !9
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %18, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 24
  %129 = call i64 @i64_load(ptr noundef %125, i64 noundef %128)
  store i64 %129, ptr %22, align 8, !tbaa !11
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.w2c_hermes, ptr %130, i32 0, i32 6
  %132 = load i32, ptr %17, align 4, !tbaa !9
  %133 = zext i32 %132 to i64
  %134 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %131, i64 noundef %133, i64 noundef %134)
  %135 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %135, ptr %17, align 4, !tbaa !9
  %136 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %136, ptr %18, align 4, !tbaa !9
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = load i32, ptr %18, align 4, !tbaa !9
  %140 = call i32 @w2c_hermes_hermes0x3A0x3AStringSetVector0x3A0x3Ainsert0x28llvh0x3A0x3AStringRef0x29(ptr noundef %137, i32 noundef %138, i32 noundef %139)
  store i32 %140, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %141, ptr %10, align 4, !tbaa !9
  %142 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %142, ptr %17, align 4, !tbaa !9
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = add i64 %146, 44
  %148 = call i32 @i32_load(ptr noundef %144, i64 noundef %147)
  store i32 %148, ptr %17, align 4, !tbaa !9
  %149 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %149, ptr %7, align 4, !tbaa !9
  %150 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %150, ptr %18, align 4, !tbaa !9
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 48
  %156 = call i32 @i32_load(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %18, align 4, !tbaa !9
  %157 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %157, ptr %12, align 4, !tbaa !9
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = load i32, ptr %18, align 4, !tbaa !9
  %160 = icmp ult i32 %158, %159
  %161 = zext i1 %160 to i32
  store i32 %161, ptr %17, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %183

164:                                              ; preds = %5
  %165 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %165, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %166, ptr %18, align 4, !tbaa !9
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %17, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %168, i64 noundef %170, i32 noundef %171)
  %172 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %172, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %173, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %174 = load i32, ptr %19, align 4, !tbaa !9
  %175 = load i32, ptr %18, align 4, !tbaa !9
  %176 = add i32 %175, %174
  store i32 %176, ptr %18, align 4, !tbaa !9
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = add i64 %180, 44
  %182 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %181, i32 noundef %182)
  br label %347

183:                                              ; preds = %5
  %184 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %184, ptr %17, align 4, !tbaa !9
  %185 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %185, ptr %18, align 4, !tbaa !9
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %18, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 40
  %191 = call i32 @i32_load(ptr noundef %187, i64 noundef %190)
  store i32 %191, ptr %18, align 4, !tbaa !9
  %192 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %192, ptr %9, align 4, !tbaa !9
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = sub i32 %194, %193
  store i32 %195, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %196, ptr %14, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = and i32 %198, 31
  %200 = ashr i32 %197, %199
  store i32 %200, ptr %17, align 4, !tbaa !9
  %201 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %201, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %202 = load i32, ptr %18, align 4, !tbaa !9
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %17, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %205, ptr %7, align 4, !tbaa !9
  store i32 1073741824, ptr %18, align 4, !tbaa !9
  %206 = load i32, ptr %17, align 4, !tbaa !9
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = icmp uge i32 %206, %207
  %209 = zext i1 %208 to i32
  store i32 %209, ptr %17, align 4, !tbaa !9
  %210 = load i32, ptr %17, align 4, !tbaa !9
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %183
  br label %355

213:                                              ; preds = %183
  store i32 1073741823, ptr %17, align 4, !tbaa !9
  %214 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %214, ptr %18, align 4, !tbaa !9
  %215 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %215, ptr %19, align 4, !tbaa !9
  %216 = load i32, ptr %19, align 4, !tbaa !9
  %217 = load i32, ptr %18, align 4, !tbaa !9
  %218 = sub i32 %217, %216
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %219, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = load i32, ptr %19, align 4, !tbaa !9
  %222 = and i32 %221, 31
  %223 = ashr i32 %220, %222
  store i32 %223, ptr %18, align 4, !tbaa !9
  %224 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %224, ptr %15, align 4, !tbaa !9
  %225 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %225, ptr %19, align 4, !tbaa !9
  %226 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %226, ptr %20, align 4, !tbaa !9
  %227 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %227, ptr %21, align 4, !tbaa !9
  %228 = load i32, ptr %20, align 4, !tbaa !9
  %229 = load i32, ptr %21, align 4, !tbaa !9
  %230 = icmp ult i32 %228, %229
  %231 = zext i1 %230 to i32
  store i32 %231, ptr %20, align 4, !tbaa !9
  %232 = load i32, ptr %20, align 4, !tbaa !9
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %236

234:                                              ; preds = %213
  %235 = load i32, ptr %18, align 4, !tbaa !9
  br label %238

236:                                              ; preds = %213
  %237 = load i32, ptr %19, align 4, !tbaa !9
  br label %238

238:                                              ; preds = %236, %234
  %239 = phi i32 [ %235, %234 ], [ %237, %236 ]
  store i32 %239, ptr %18, align 4, !tbaa !9
  %240 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %240, ptr %19, align 4, !tbaa !9
  store i32 2147483644, ptr %20, align 4, !tbaa !9
  %241 = load i32, ptr %19, align 4, !tbaa !9
  %242 = load i32, ptr %20, align 4, !tbaa !9
  %243 = icmp uge i32 %241, %242
  %244 = zext i1 %243 to i32
  store i32 %244, ptr %19, align 4, !tbaa !9
  %245 = load i32, ptr %19, align 4, !tbaa !9
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %249

247:                                              ; preds = %238
  %248 = load i32, ptr %17, align 4, !tbaa !9
  br label %251

249:                                              ; preds = %238
  %250 = load i32, ptr %18, align 4, !tbaa !9
  br label %251

251:                                              ; preds = %249, %247
  %252 = phi i32 [ %248, %247 ], [ %250, %249 ]
  store i32 %252, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %253, ptr %7, align 4, !tbaa !9
  %254 = load i32, ptr %17, align 4, !tbaa !9
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %256, label %274

256:                                              ; preds = %251
  %257 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %257, ptr %17, align 4, !tbaa !9
  store i32 1073741824, ptr %18, align 4, !tbaa !9
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %18, align 4, !tbaa !9
  %260 = icmp uge i32 %258, %259
  %261 = zext i1 %260 to i32
  store i32 %261, ptr %17, align 4, !tbaa !9
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %265

264:                                              ; preds = %256
  br label %357

265:                                              ; preds = %256
  %266 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %266, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %267 = load i32, ptr %18, align 4, !tbaa !9
  %268 = and i32 %267, 31
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = shl i32 %269, %268
  store i32 %270, ptr %17, align 4, !tbaa !9
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %271, i32 noundef %272)
  store i32 %273, ptr %17, align 4, !tbaa !9
  br label %275

274:                                              ; preds = %251
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %275

275:                                              ; preds = %274, %265
  %276 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %276, ptr %12, align 4, !tbaa !9
  %277 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %277, ptr %18, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %278 = load i32, ptr %19, align 4, !tbaa !9
  %279 = and i32 %278, 31
  %280 = load i32, ptr %18, align 4, !tbaa !9
  %281 = shl i32 %280, %279
  store i32 %281, ptr %18, align 4, !tbaa !9
  %282 = load i32, ptr %18, align 4, !tbaa !9
  %283 = load i32, ptr %17, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %17, align 4, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %285, ptr %13, align 4, !tbaa !9
  %286 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %286, ptr %18, align 4, !tbaa !9
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.w2c_hermes, ptr %287, i32 0, i32 6
  %289 = load i32, ptr %17, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %288, i64 noundef %290, i32 noundef %291)
  %292 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %292, ptr %17, align 4, !tbaa !9
  %293 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %293, ptr %18, align 4, !tbaa !9
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %19, align 4, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %295, ptr %20, align 4, !tbaa !9
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = load i32, ptr %18, align 4, !tbaa !9
  %298 = load i32, ptr %19, align 4, !tbaa !9
  %299 = load i32, ptr %20, align 4, !tbaa !9
  %300 = call i32 @w2c_hermes_memmove(ptr noundef %296, i32 noundef %297, i32 noundef %298, i32 noundef %299)
  store i32 %300, ptr %18, align 4, !tbaa !9
  %301 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %301, ptr %10, align 4, !tbaa !9
  %302 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %302, ptr %19, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %303 = load i32, ptr %20, align 4, !tbaa !9
  %304 = and i32 %303, 31
  %305 = load i32, ptr %19, align 4, !tbaa !9
  %306 = shl i32 %305, %304
  store i32 %306, ptr %19, align 4, !tbaa !9
  %307 = load i32, ptr %19, align 4, !tbaa !9
  %308 = load i32, ptr %18, align 4, !tbaa !9
  %309 = add i32 %308, %307
  store i32 %309, ptr %18, align 4, !tbaa !9
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.w2c_hermes, ptr %310, i32 0, i32 6
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = add i64 %313, 48
  %315 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %311, i64 noundef %314, i32 noundef %315)
  %316 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %316, ptr %17, align 4, !tbaa !9
  %317 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %317, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %318 = load i32, ptr %19, align 4, !tbaa !9
  %319 = load i32, ptr %18, align 4, !tbaa !9
  %320 = add i32 %319, %318
  store i32 %320, ptr %18, align 4, !tbaa !9
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.w2c_hermes, ptr %321, i32 0, i32 6
  %323 = load i32, ptr %17, align 4, !tbaa !9
  %324 = zext i32 %323 to i64
  %325 = add i64 %324, 44
  %326 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %322, i64 noundef %325, i32 noundef %326)
  %327 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %327, ptr %17, align 4, !tbaa !9
  %328 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %328, ptr %18, align 4, !tbaa !9
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.w2c_hermes, ptr %329, i32 0, i32 6
  %331 = load i32, ptr %17, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = add i64 %332, 40
  %334 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %330, i64 noundef %333, i32 noundef %334)
  %335 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %335, ptr %17, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = icmp ne i32 %336, 0
  %338 = xor i1 %337, true
  %339 = zext i1 %338 to i32
  store i32 %339, ptr %17, align 4, !tbaa !9
  %340 = load i32, ptr %17, align 4, !tbaa !9
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %343

342:                                              ; preds = %275
  br label %347

343:                                              ; preds = %275
  %344 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %344, ptr %17, align 4, !tbaa !9
  %345 = load ptr, ptr %6, align 8, !tbaa !5
  %346 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %345, i32 noundef %346)
  br label %347

347:                                              ; preds = %343, %342, %164
  %348 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %348, ptr %17, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  %349 = load i32, ptr %18, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %17, align 4, !tbaa !9
  %352 = load i32, ptr %17, align 4, !tbaa !9
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.w2c_hermes, ptr %353, i32 0, i32 3
  store i32 %352, ptr %354, align 8, !tbaa !13
  br label %359

355:                                              ; preds = %212
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  call void @w2c_hermes_abort(ptr noundef %356)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

357:                                              ; preds = %264
  %358 = load ptr, ptr %6, align 8, !tbaa !5
  call void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef %358)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

declare void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ASerializedLiteralGenerator0x3A0x3AserializeBuffer0x28llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3ALiteral0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20char0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20char0x3E0x3E0x260x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3AStringSetVector0x3A0x3Ainsert0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) #4

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 = { 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 = { "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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_memmove(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_0x28anonymous0x20namespace0x290x3A0x3ALiteralBufferBuilder0x3A0x3AserializeInto0x280x28anonymous0x20namespace0x290x3A0x3AUniquedStringVector0x260x2C0x20llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3ALiteral0x2A0x3E0x2C0x20bool0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -32
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = add i32 %1, 24
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %1 to i64
  %12 = add nuw nsw i64 %11, 20
  %13 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %12)
  %14 = zext i32 %9 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %14, i32 noundef %13)
  %15 = zext i32 %3 to i64
  %16 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %15)
  %17 = zext i32 %8 to i64
  %18 = add nuw nsw i64 %17, 8
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %18, i64 noundef %16)
  %19 = add nuw nsw i64 %17, 16
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %19, i64 noundef %16)
  %20 = add i32 %1, 16
  %21 = add i32 %7, -24
  %22 = add i32 %1, 20
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ASerializedLiteralGenerator0x3A0x3AserializeBuffer0x28llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3ALiteral0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20char0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20char0x3E0x3E0x260x2C0x20bool0x29(ptr noundef %0, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %4) #5
  %23 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %14)
  %24 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %12)
  %25 = sub i32 %23, %24
  %26 = add nuw nsw i64 %17, 28
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %26, i32 noundef %25)
  %27 = add nuw nsw i64 %17, 24
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %27, i32 noundef %24)
  %28 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %27)
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %17, i64 noundef %28)
  %29 = tail call i32 @w2c_hermes_hermes0x3A0x3AStringSetVector0x3A0x3Ainsert0x28llvh0x3A0x3AStringRef0x29(ptr noundef %0, i32 noundef %2, i32 noundef %8) #5
  %30 = zext i32 %2 to i64
  %31 = add nuw nsw i64 %30, 44
  %32 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %31)
  %33 = add nuw nsw i64 %30, 48
  %34 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %33)
  %35 = icmp ult i32 %32, %34
  br i1 %35, label %36, label %39

36:                                               ; preds = %5
  %37 = zext i32 %32 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %37, i32 noundef %29)
  %38 = add i32 %32, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %31, i32 noundef %38)
  br label %64

39:                                               ; preds = %5
  %40 = add nuw nsw i64 %30, 40
  %41 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %40)
  %42 = sub i32 %32, %41
  %43 = ashr i32 %42, 2
  %44 = add nsw i32 %43, 1
  %45 = icmp ugt i32 %44, 1073741823
  br i1 %45, label %65, label %46

46:                                               ; preds = %39
  %47 = sub i32 %34, %41
  %48 = ashr i32 %47, 1
  %49 = tail call i32 @llvm.umax.i32(i32 %44, i32 %48)
  %50 = icmp ugt i32 %47, 2147483643
  %51 = select i1 %50, i32 1073741823, i32 %49
  %.not = icmp eq i32 %51, 0
  br i1 %.not, label %._crit_edge, label %52

52:                                               ; preds = %46
  %53 = icmp ugt i32 %51, 1073741823
  br i1 %53, label %66, label %54

54:                                               ; preds = %52
  %55 = shl nuw i32 %51, 2
  %56 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %55) #5
  br label %._crit_edge

._crit_edge:                                      ; preds = %46, %54
  %.pre-phi = phi i32 [ %55, %54 ], [ 0, %46 ]
  %.0 = phi i32 [ %56, %54 ], [ 0, %46 ]
  %57 = and i32 %42, -4
  %58 = add i32 %.0, %57
  %59 = zext i32 %58 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %59, i32 noundef %29)
  %60 = tail call i32 @w2c_hermes_memmove(ptr noundef nonnull %0, i32 noundef %.0, i32 noundef %41, i32 noundef %42) #5
  %61 = add i32 %60, %.pre-phi
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %33, i32 noundef %61)
  %62 = add i32 %58, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %31, i32 noundef %62)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %40, i32 noundef %60)
  %.not204 = icmp eq i32 %41, 0
  br i1 %.not204, label %64, label %63

63:                                               ; preds = %._crit_edge
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %41) #5
  br label %64

64:                                               ; preds = %._crit_edge, %63, %36
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

65:                                               ; preds = %39
  tail call void @w2c_hermes_abort(ptr noundef nonnull %0)
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

66:                                               ; preds = %52
  tail call void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef nonnull %0) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

declare void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ASerializedLiteralGenerator0x3A0x3AserializeBuffer0x28llvh0x3A0x3AArrayRef0x3Chermes0x3A0x3ALiteral0x2A0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20char0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20char0x3E0x3E0x260x2C0x20bool0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_hermes0x3A0x3AStringSetVector0x3A0x3Ainsert0x28llvh0x3A0x3AStringRef0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #4

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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass