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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @w2c_hermes_abort(ptr noundef) #3

declare void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef) #3

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

65:                                               ; preds = %4
  store i32 40, ptr %15, align 4, !tbaa !9
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %66, i32 noundef %67)
  store i32 %68, ptr %15, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %69, ptr %7, align 4, !tbaa !9
  %70 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %70, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %71, ptr %16, align 4, !tbaa !9
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = add i64 %75, 12
  %77 = call i32 @i32_load(ptr noundef %73, i64 noundef %76)
  store i32 %77, ptr %16, align 4, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = call i32 @w2c_hermes_hermes0x3A0x3AModule0x3A0x3AgetLiteralString0x28hermes0x3A0x3AIdentifier0x29(ptr noundef %78, i32 noundef %79, i32 noundef %80)
  store i32 %81, ptr %15, align 4, !tbaa !9
  %82 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %82, ptr %10, align 4, !tbaa !9
  %83 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %83, ptr %15, align 4, !tbaa !9
  store i64 8589934592, ptr %20, align 8, !tbaa !17
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %15, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = add i64 %87, 12
  %89 = load i64, ptr %20, align 8, !tbaa !17
  call void @i64_store(ptr noundef %85, i64 noundef %88, i64 noundef %89)
  %90 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %90, ptr %15, align 4, !tbaa !9
  %91 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %91, ptr %16, align 4, !tbaa !9
  store i32 20, ptr %17, align 4, !tbaa !9
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %16, align 4, !tbaa !9
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 8
  %100 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %101, ptr %15, align 4, !tbaa !9
  store i32 459775, ptr %16, align 4, !tbaa !9
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 2
  %107 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %103, i64 noundef %106, i32 noundef %107)
  %108 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %108, ptr %15, align 4, !tbaa !9
  %109 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %109, ptr %16, align 4, !tbaa !9
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 36
  %115 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %111, i64 noundef %114, i32 noundef %115)
  %116 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %116, ptr %15, align 4, !tbaa !9
  %117 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %117, ptr %16, align 4, !tbaa !9
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %15, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = add i64 %121, 32
  %123 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %119, i64 noundef %122, i32 noundef %123)
  %124 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %15, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = add i64 %129, 28
  %131 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %127, i64 noundef %130, i32 noundef %131)
  %132 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %132, ptr %15, align 4, !tbaa !9
  store i32 123, ptr %16, align 4, !tbaa !9
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %134, i64 noundef %136, i32 noundef %137)
  %138 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %139, ptr %16, align 4, !tbaa !9
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 4
  %145 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %141, i64 noundef %144, i32 noundef %145)
  %146 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %146, ptr %15, align 4, !tbaa !9
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 52
  %152 = call i32 @i32_load(ptr noundef %148, i64 noundef %151)
  store i32 %152, ptr %15, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %153, ptr %8, align 4, !tbaa !9
  %154 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %154, ptr %16, align 4, !tbaa !9
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = add i64 %158, 56
  %160 = call i32 @i32_load(ptr noundef %156, i64 noundef %159)
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %15, align 4, !tbaa !9
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = icmp ne i32 %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %186

167:                                              ; preds = %65
  %168 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %168, ptr %15, align 4, !tbaa !9
  %169 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %169, ptr %16, align 4, !tbaa !9
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %15, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %171, i64 noundef %173, i32 noundef %174)
  %175 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %176, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = add i32 %178, %177
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.w2c_hermes, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = add i64 %183, 52
  %185 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %181, i64 noundef %184, i32 noundef %185)
  br label %378

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

215:                                              ; preds = %186
  br label %395

216:                                              ; preds = %186
  store i32 1073741823, ptr %15, align 4, !tbaa !9
  %217 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %217, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  %219 = load i32, ptr %17, align 4, !tbaa !9
  %220 = and i32 %219, 31
  %221 = ashr i32 %218, %220
  store i32 %221, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %222, ptr %11, align 4, !tbaa !9
  %223 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %223, ptr %17, align 4, !tbaa !9
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %18, align 4, !tbaa !9
  %225 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %225, ptr %19, align 4, !tbaa !9
  %226 = load i32, ptr %18, align 4, !tbaa !9
  %227 = load i32, ptr %19, align 4, !tbaa !9
  %228 = icmp ult i32 %226, %227
  %229 = zext i1 %228 to i32
  store i32 %229, ptr %18, align 4, !tbaa !9
  %230 = load i32, ptr %18, align 4, !tbaa !9
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %234

232:                                              ; preds = %216
  %233 = load i32, ptr %16, align 4, !tbaa !9
  br label %236

234:                                              ; preds = %216
  %235 = load i32, ptr %17, align 4, !tbaa !9
  br label %236

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

245:                                              ; preds = %236
  %246 = load i32, ptr %15, align 4, !tbaa !9
  br label %249

247:                                              ; preds = %236
  %248 = load i32, ptr %16, align 4, !tbaa !9
  br label %249

249:                                              ; preds = %247, %245
  %250 = phi i32 [ %246, %245 ], [ %248, %247 ]
  store i32 %250, ptr %15, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %251, ptr %9, align 4, !tbaa !9
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = icmp ne i32 %252, 0
  %254 = xor i1 %253, true
  %255 = zext i1 %254 to i32
  store i32 %255, ptr %15, align 4, !tbaa !9
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %260

258:                                              ; preds = %249
  store i32 0, ptr %15, align 4, !tbaa !9
  %259 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %259, ptr %11, align 4, !tbaa !9
  br label %287

260:                                              ; preds = %249
  %261 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %261, ptr %15, align 4, !tbaa !9
  store i32 1073741824, ptr %16, align 4, !tbaa !9
  %262 = load i32, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %16, align 4, !tbaa !9
  %264 = icmp uge i32 %262, %263
  %265 = zext i1 %264 to i32
  store i32 %265, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %269

268:                                              ; preds = %260
  br label %397

269:                                              ; preds = %260
  %270 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %270, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %271 = load i32, ptr %16, align 4, !tbaa !9
  %272 = and i32 %271, 31
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = shl i32 %273, %272
  store i32 %274, ptr %15, align 4, !tbaa !9
  %275 = load ptr, ptr %5, align 8, !tbaa !5
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %275, i32 noundef %276)
  store i32 %277, ptr %15, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %278, ptr %11, align 4, !tbaa !9
  %279 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %279, ptr %15, align 4, !tbaa !9
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %15, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 4
  %285 = call i32 @i32_load(ptr noundef %281, i64 noundef %284)
  store i32 %285, ptr %15, align 4, !tbaa !9
  %286 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %286, ptr %7, align 4, !tbaa !9
  br label %287

287:                                              ; preds = %269, %258
  %288 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %288, ptr %15, align 4, !tbaa !9
  %289 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %289, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = and i32 %290, 31
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = shl i32 %292, %291
  store i32 %293, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %16, align 4, !tbaa !9
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %297, ptr %14, align 4, !tbaa !9
  %298 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %298, ptr %16, align 4, !tbaa !9
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.w2c_hermes, ptr %299, i32 0, i32 6
  %301 = load i32, ptr %15, align 4, !tbaa !9
  %302 = zext i32 %301 to i64
  %303 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %300, i64 noundef %302, i32 noundef %303)
  %304 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %304, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %305, ptr %16, align 4, !tbaa !9
  %306 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %306, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %307, ptr %18, align 4, !tbaa !9
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = load i32, ptr %18, align 4, !tbaa !9
  %312 = call i32 @w2c_hermes_memmove(ptr noundef %308, i32 noundef %309, i32 noundef %310, i32 noundef %311)
  store i32 %312, ptr %16, align 4, !tbaa !9
  %313 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %313, ptr %7, align 4, !tbaa !9
  %314 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %314, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %315 = load i32, ptr %18, align 4, !tbaa !9
  %316 = and i32 %315, 31
  %317 = load i32, ptr %17, align 4, !tbaa !9
  %318 = shl i32 %317, %316
  store i32 %318, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %17, align 4, !tbaa !9
  %320 = load i32, ptr %16, align 4, !tbaa !9
  %321 = add i32 %320, %319
  store i32 %321, ptr %16, align 4, !tbaa !9
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 6
  %324 = load i32, ptr %15, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = add i64 %325, 56
  %327 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %323, i64 noundef %326, i32 noundef %327)
  %328 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %328, ptr %15, align 4, !tbaa !9
  %329 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %329, ptr %16, align 4, !tbaa !9
  store i32 4, ptr %17, align 4, !tbaa !9
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = load i32, ptr %16, align 4, !tbaa !9
  %332 = add i32 %331, %330
  store i32 %332, ptr %16, align 4, !tbaa !9
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.w2c_hermes, ptr %333, i32 0, i32 6
  %335 = load i32, ptr %15, align 4, !tbaa !9
  %336 = zext i32 %335 to i64
  %337 = add i64 %336, 52
  %338 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %334, i64 noundef %337, i32 noundef %338)
  %339 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %339, ptr %15, align 4, !tbaa !9
  %340 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %340, ptr %16, align 4, !tbaa !9
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.w2c_hermes, ptr %341, i32 0, i32 6
  %343 = load i32, ptr %15, align 4, !tbaa !9
  %344 = zext i32 %343 to i64
  %345 = add i64 %344, 48
  %346 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %342, i64 noundef %345, i32 noundef %346)
  %347 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %347, ptr %15, align 4, !tbaa !9
  %348 = load i32, ptr %15, align 4, !tbaa !9
  %349 = icmp ne i32 %348, 0
  %350 = xor i1 %349, true
  %351 = zext i1 %350 to i32
  store i32 %351, ptr %15, align 4, !tbaa !9
  %352 = load i32, ptr %15, align 4, !tbaa !9
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %355

354:                                              ; preds = %287
  br label %378

355:                                              ; preds = %287
  %356 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %356, ptr %15, align 4, !tbaa !9
  %357 = load ptr, ptr %5, align 8, !tbaa !5
  %358 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %357, i32 noundef %358)
  br label %378

359:                                              ; preds = %4
  %360 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %360, ptr %15, align 4, !tbaa !9
  %361 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %361, ptr %16, align 4, !tbaa !9
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.w2c_hermes, ptr %362, i32 0, i32 6
  %364 = load i32, ptr %16, align 4, !tbaa !9
  %365 = zext i32 %364 to i64
  %366 = add i64 %365, 36
  %367 = call i32 @i32_load8_u(ptr noundef %363, i64 noundef %366)
  store i32 %367, ptr %16, align 4, !tbaa !9
  %368 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %368, ptr %17, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  %370 = load i32, ptr %16, align 4, !tbaa !9
  %371 = or i32 %370, %369
  store i32 %371, ptr %16, align 4, !tbaa !9
  %372 = load ptr, ptr %5, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.w2c_hermes, ptr %372, i32 0, i32 6
  %374 = load i32, ptr %15, align 4, !tbaa !9
  %375 = zext i32 %374 to i64
  %376 = add i64 %375, 36
  %377 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %373, i64 noundef %376, i32 noundef %377)
  br label %378

378:                                              ; preds = %359, %355, %354, %167
  %379 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %379, ptr %15, align 4, !tbaa !9
  %380 = load ptr, ptr %5, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.w2c_hermes, ptr %380, i32 0, i32 6
  %382 = load i32, ptr %15, align 4, !tbaa !9
  %383 = zext i32 %382 to i64
  %384 = add i64 %383, 4
  %385 = call i32 @i32_load(ptr noundef %381, i64 noundef %384)
  store i32 %385, ptr %15, align 4, !tbaa !9
  %386 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %386, ptr %6, align 4, !tbaa !9
  %387 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %387, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %388 = load i32, ptr %16, align 4, !tbaa !9
  %389 = load i32, ptr %15, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %15, align 4, !tbaa !9
  %391 = load i32, ptr %15, align 4, !tbaa !9
  %392 = load ptr, ptr %5, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.w2c_hermes, ptr %392, i32 0, i32 3
  store i32 %391, ptr %393, align 8, !tbaa !11
  %394 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %394, ptr %15, align 4, !tbaa !9
  br label %399

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

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

399:                                              ; preds = %378
  %400 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 %400
}

declare i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AIdentifier0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x3E0x3E0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AIdentifier0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x3E0x3E0x3A0x3AFindAndConstruct0x28hermes0x3A0x3AIdentifier0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #3

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

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

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

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


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

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

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

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

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

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

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

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

declare void @w2c_hermes_abort(ptr noundef) local_unnamed_addr #2

declare void @w2c_hermes_std0x3A0x3A_0x5Fthrow_bad_array_new_length0x5Babi0x3Av150070x5D0x280x29(ptr noundef) local_unnamed_addr #2

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

17:                                               ; preds = %4
  %18 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef 40) #5
  %19 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %20 = tail call i32 @w2c_hermes_hermes0x3A0x3AModule0x3A0x3AgetLiteralString0x28hermes0x3A0x3AIdentifier0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %19)
  %21 = zext i32 %18 to i64
  %22 = add nuw nsw i64 %21, 12
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %22, i64 noundef 8589934592)
  %23 = add i32 %18, 20
  %24 = add nuw nsw i64 %21, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %24, i32 noundef %23)
  %25 = add nuw nsw i64 %21, 2
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %25, i32 noundef 459775)
  %26 = add nuw nsw i64 %21, 36
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %3)
  %27 = add nuw nsw i64 %21, 32
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %27, i32 noundef %20)
  %28 = add nuw nsw i64 %21, 28
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %28, i32 noundef %1)
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %21, i32 noundef 123)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %15, i32 noundef %18)
  %29 = zext i32 %1 to i64
  %30 = add nuw nsw i64 %29, 52
  %31 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %30)
  %32 = add nuw nsw i64 %29, 56
  %33 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %32)
  %.not223 = icmp eq i32 %31, %33
  br i1 %.not223, label %37, label %34

34:                                               ; preds = %17
  %35 = zext i32 %31 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %18)
  %36 = add i32 %31, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %36)
  br label %67

37:                                               ; preds = %17
  %38 = add nuw nsw i64 %29, 48
  %39 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %38)
  %40 = sub i32 %31, %39
  %41 = ashr i32 %40, 2
  %42 = add nsw i32 %41, 1
  %43 = icmp ugt i32 %42, 1073741823
  br i1 %43, label %69, label %44

44:                                               ; preds = %37
  %45 = ashr i32 %40, 1
  %46 = tail call i32 @llvm.umax.i32(i32 %42, i32 %45)
  %47 = icmp ugt i32 %40, 2147483643
  %48 = select i1 %47, i32 1073741823, i32 %46
  %.not224 = icmp eq i32 %48, 0
  br i1 %.not224, label %._crit_edge, label %49

49:                                               ; preds = %44
  %50 = icmp ugt i32 %48, 1073741823
  br i1 %50, label %70, label %51

51:                                               ; preds = %49
  %52 = shl nuw i32 %48, 2
  %53 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %52) #5
  %54 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %15)
  br label %._crit_edge

._crit_edge:                                      ; preds = %44, %51
  %.pre-phi = phi i32 [ %52, %51 ], [ 0, %44 ]
  %.0219 = phi i32 [ %53, %51 ], [ 0, %44 ]
  %.0 = phi i32 [ %54, %51 ], [ %18, %44 ]
  %55 = and i32 %40, -4
  %56 = add i32 %.0219, %55
  %57 = zext i32 %56 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %57, i32 noundef %.0)
  %58 = tail call i32 @w2c_hermes_memmove(ptr noundef nonnull %0, i32 noundef %.0219, i32 noundef %39, i32 noundef %40) #5
  %59 = add i32 %58, %.pre-phi
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %32, i32 noundef %59)
  %60 = add i32 %56, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %30, i32 noundef %60)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %38, i32 noundef %58)
  %.not225 = icmp eq i32 %39, 0
  br i1 %.not225, label %67, label %61

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

62:                                               ; preds = %4
  %63 = zext i32 %16 to i64
  %64 = add nuw nsw i64 %63, 36
  %65 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %64)
  %66 = or i32 %65, %3
  tail call void @i32_store8(ptr noundef nonnull %8, i64 noundef %64, i32 noundef %66)
  br label %67

67:                                               ; preds = %._crit_edge, %62, %61, %34
  %68 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %15)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret i32 %68

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

70:                                               ; preds = %49
  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 i32 @w2c_hermes_llvh0x3A0x3ADenseMapBase0x3Cllvh0x3A0x3ADenseMap0x3Chermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AIdentifier0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x3E0x3E0x2C0x20hermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x2C0x20llvh0x3A0x3ADenseMapInfo0x3Chermes0x3A0x3AIdentifier0x3E0x2C0x20llvh0x3A0x3Adetail0x3A0x3ADenseMapPair0x3Chermes0x3A0x3AIdentifier0x2C0x20hermes0x3A0x3AGlobalObjectProperty0x2A0x3E0x3E0x3A0x3AFindAndConstruct0x28hermes0x3A0x3AIdentifier0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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