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

; 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: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

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

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

declare void @w2c_hermes_dlfree(ptr noundef, i32 noundef) #2

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) #2

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

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

declare void @w2c_hermes_abort(ptr noundef) #2

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef) #2

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

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

81:                                               ; preds = %4
  %82 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %82, ptr %17, align 4, !tbaa !9
  store i32 40, ptr %18, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = load i32, ptr %18, align 4, !tbaa !9
  %86 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %83, i32 noundef %84, i32 noundef %85)
  store i32 %86, ptr %17, align 4, !tbaa !9
  %87 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %87, ptr %7, align 4, !tbaa !9
  br label %100

88:                                               ; preds = %4
  %89 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %89, ptr %17, align 4, !tbaa !9
  %90 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %90, ptr %18, align 4, !tbaa !9
  store i32 40, ptr %19, align 4, !tbaa !9
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %18, align 4, !tbaa !9
  %93 = add i32 %92, %91
  store i32 %93, ptr %18, align 4, !tbaa !9
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 556
  %99 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %95, i64 noundef %98, i32 noundef %99)
  br label %100

100:                                              ; preds = %88, %81
  %101 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %101, ptr %17, 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 %17, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 572
  %107 = call i32 @i32_load(ptr noundef %103, i64 noundef %106)
  store i32 %107, ptr %17, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %108, ptr %9, align 4, !tbaa !9
  %109 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %109, ptr %18, 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 %18, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 576
  %115 = call i32 @i32_load(ptr noundef %111, i64 noundef %114)
  store i32 %115, ptr %18, align 4, !tbaa !9
  %116 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %116, ptr %10, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = icmp ult i32 %117, %118
  %120 = zext i1 %119 to i32
  store i32 %120, ptr %17, align 4, !tbaa !9
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %142

123:                                              ; preds = %100
  %124 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %124, ptr %17, align 4, !tbaa !9
  %125 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %125, ptr %18, 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 %17, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %127, i64 noundef %129, i32 noundef %130)
  %131 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %131, ptr %17, align 4, !tbaa !9
  %132 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %132, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %133 = load i32, ptr %19, align 4, !tbaa !9
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = add i32 %134, %133
  store i32 %135, ptr %18, align 4, !tbaa !9
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.w2c_hermes, ptr %136, i32 0, i32 6
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = add i64 %139, 572
  %141 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %137, i64 noundef %140, i32 noundef %141)
  br label %306

142:                                              ; preds = %100
  %143 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %143, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.w2c_hermes, ptr %145, i32 0, i32 6
  %147 = load i32, ptr %18, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = add i64 %148, 568
  %150 = call i32 @i32_load(ptr noundef %146, i64 noundef %149)
  store i32 %150, ptr %18, align 4, !tbaa !9
  %151 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %151, ptr %9, align 4, !tbaa !9
  %152 = load i32, ptr %18, align 4, !tbaa !9
  %153 = load i32, ptr %17, align 4, !tbaa !9
  %154 = sub i32 %153, %152
  store i32 %154, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %155, ptr %13, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %18, align 4, !tbaa !9
  %158 = and i32 %157, 31
  %159 = ashr i32 %156, %158
  store i32 %159, ptr %17, align 4, !tbaa !9
  %160 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %160, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %161 = load i32, ptr %18, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = add i32 %162, %161
  store i32 %163, ptr %17, align 4, !tbaa !9
  %164 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %164, ptr %11, align 4, !tbaa !9
  store i32 1073741824, ptr %18, align 4, !tbaa !9
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %18, align 4, !tbaa !9
  %167 = icmp uge i32 %165, %166
  %168 = zext i1 %167 to i32
  store i32 %168, ptr %17, align 4, !tbaa !9
  %169 = load i32, ptr %17, align 4, !tbaa !9
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %142
  br label %370

172:                                              ; preds = %142
  store i32 1073741823, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %173, ptr %18, align 4, !tbaa !9
  %174 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %174, ptr %19, align 4, !tbaa !9
  %175 = load i32, ptr %19, align 4, !tbaa !9
  %176 = load i32, ptr %18, align 4, !tbaa !9
  %177 = sub i32 %176, %175
  store i32 %177, ptr %18, align 4, !tbaa !9
  %178 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %178, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %179 = load i32, ptr %18, align 4, !tbaa !9
  %180 = load i32, ptr %19, align 4, !tbaa !9
  %181 = and i32 %180, 31
  %182 = ashr i32 %179, %181
  store i32 %182, ptr %18, align 4, !tbaa !9
  %183 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %183, ptr %14, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %184, ptr %19, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %185, ptr %20, align 4, !tbaa !9
  %186 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %186, ptr %21, align 4, !tbaa !9
  %187 = load i32, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %21, align 4, !tbaa !9
  %189 = icmp ult i32 %187, %188
  %190 = zext i1 %189 to i32
  store i32 %190, ptr %20, align 4, !tbaa !9
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %195

193:                                              ; preds = %172
  %194 = load i32, ptr %18, align 4, !tbaa !9
  br label %197

195:                                              ; preds = %172
  %196 = load i32, ptr %19, align 4, !tbaa !9
  br label %197

197:                                              ; preds = %195, %193
  %198 = phi i32 [ %194, %193 ], [ %196, %195 ]
  store i32 %198, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %199, ptr %19, align 4, !tbaa !9
  store i32 2147483644, ptr %20, align 4, !tbaa !9
  %200 = load i32, ptr %19, align 4, !tbaa !9
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = icmp uge i32 %200, %201
  %203 = zext i1 %202 to i32
  store i32 %203, ptr %19, align 4, !tbaa !9
  %204 = load i32, ptr %19, align 4, !tbaa !9
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %208

206:                                              ; preds = %197
  %207 = load i32, ptr %17, align 4, !tbaa !9
  br label %210

208:                                              ; preds = %197
  %209 = load i32, ptr %18, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %208, %206
  %211 = phi i32 [ %207, %206 ], [ %209, %208 ]
  store i32 %211, ptr %17, align 4, !tbaa !9
  %212 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %212, ptr %11, align 4, !tbaa !9
  %213 = load i32, ptr %17, align 4, !tbaa !9
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %233

215:                                              ; preds = %210
  %216 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %216, ptr %17, align 4, !tbaa !9
  store i32 1073741824, ptr %18, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = load i32, ptr %18, align 4, !tbaa !9
  %219 = icmp uge i32 %217, %218
  %220 = zext i1 %219 to i32
  store i32 %220, ptr %17, align 4, !tbaa !9
  %221 = load i32, ptr %17, align 4, !tbaa !9
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %224

223:                                              ; preds = %215
  br label %372

224:                                              ; preds = %215
  %225 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %225, ptr %17, align 4, !tbaa !9
  store i32 2, ptr %18, align 4, !tbaa !9
  %226 = load i32, ptr %18, align 4, !tbaa !9
  %227 = and i32 %226, 31
  %228 = load i32, ptr %17, align 4, !tbaa !9
  %229 = shl i32 %228, %227
  store i32 %229, ptr %17, align 4, !tbaa !9
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %230, i32 noundef %231)
  store i32 %232, ptr %17, align 4, !tbaa !9
  br label %234

233:                                              ; preds = %210
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %234

234:                                              ; preds = %233, %224
  %235 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %235, ptr %10, align 4, !tbaa !9
  %236 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %236, ptr %18, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %237 = load i32, ptr %19, align 4, !tbaa !9
  %238 = and i32 %237, 31
  %239 = load i32, ptr %18, align 4, !tbaa !9
  %240 = shl i32 %239, %238
  store i32 %240, ptr %18, align 4, !tbaa !9
  %241 = load i32, ptr %18, align 4, !tbaa !9
  %242 = load i32, ptr %17, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %17, align 4, !tbaa !9
  %244 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %244, ptr %12, align 4, !tbaa !9
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %18, align 4, !tbaa !9
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %17, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %247, i64 noundef %249, i32 noundef %250)
  %251 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %251, ptr %17, align 4, !tbaa !9
  %252 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %252, ptr %18, align 4, !tbaa !9
  %253 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %253, ptr %19, align 4, !tbaa !9
  %254 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %254, ptr %20, align 4, !tbaa !9
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = load i32, ptr %18, align 4, !tbaa !9
  %257 = load i32, ptr %19, align 4, !tbaa !9
  %258 = load i32, ptr %20, align 4, !tbaa !9
  %259 = call i32 @w2c_hermes_memmove(ptr noundef %255, i32 noundef %256, i32 noundef %257, i32 noundef %258)
  store i32 %259, ptr %18, align 4, !tbaa !9
  %260 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %260, ptr %10, align 4, !tbaa !9
  %261 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %261, ptr %19, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %262 = load i32, ptr %20, align 4, !tbaa !9
  %263 = and i32 %262, 31
  %264 = load i32, ptr %19, align 4, !tbaa !9
  %265 = shl i32 %264, %263
  store i32 %265, ptr %19, align 4, !tbaa !9
  %266 = load i32, ptr %19, align 4, !tbaa !9
  %267 = load i32, ptr %18, align 4, !tbaa !9
  %268 = add i32 %267, %266
  store i32 %268, ptr %18, align 4, !tbaa !9
  %269 = load ptr, ptr %5, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.w2c_hermes, ptr %269, i32 0, i32 6
  %271 = load i32, ptr %17, align 4, !tbaa !9
  %272 = zext i32 %271 to i64
  %273 = add i64 %272, 576
  %274 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %270, i64 noundef %273, i32 noundef %274)
  %275 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %275, ptr %17, align 4, !tbaa !9
  %276 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %276, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %277 = load i32, ptr %19, align 4, !tbaa !9
  %278 = load i32, ptr %18, align 4, !tbaa !9
  %279 = add i32 %278, %277
  store i32 %279, ptr %18, 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 %17, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 572
  %285 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %281, i64 noundef %284, i32 noundef %285)
  %286 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %286, ptr %17, align 4, !tbaa !9
  %287 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %287, ptr %18, align 4, !tbaa !9
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.w2c_hermes, ptr %288, i32 0, i32 6
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = add i64 %291, 568
  %293 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %289, i64 noundef %292, i32 noundef %293)
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %17, align 4, !tbaa !9
  %296 = icmp ne i32 %295, 0
  %297 = xor i1 %296, true
  %298 = zext i1 %297 to i32
  store i32 %298, ptr %17, align 4, !tbaa !9
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %302

301:                                              ; preds = %234
  br label %306

302:                                              ; preds = %234
  %303 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %303, ptr %17, align 4, !tbaa !9
  %304 = load ptr, ptr %5, align 8, !tbaa !5
  %305 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %304, i32 noundef %305)
  br label %306

306:                                              ; preds = %302, %301, %123
  %307 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %307, ptr %17, align 4, !tbaa !9
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 6
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = add i64 %311, 12
  %313 = call i32 @i32_load(ptr noundef %309, i64 noundef %312)
  store i32 %313, ptr %17, align 4, !tbaa !9
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 6
  %316 = load i32, ptr %17, align 4, !tbaa !9
  %317 = zext i32 %316 to i64
  %318 = call i64 @i64_load(ptr noundef %315, i64 noundef %317)
  store i64 %318, ptr %22, align 8, !tbaa !11
  %319 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %319, ptr %15, align 8, !tbaa !11
  %320 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %320, ptr %17, align 4, !tbaa !9
  %321 = load ptr, ptr %5, 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, 8
  %326 = call i32 @i32_load(ptr noundef %322, i64 noundef %325)
  store i32 %326, ptr %17, align 4, !tbaa !9
  %327 = load ptr, ptr %5, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.w2c_hermes, ptr %327, i32 0, i32 6
  %329 = load i32, ptr %17, align 4, !tbaa !9
  %330 = zext i32 %329 to i64
  %331 = call i64 @i64_load(ptr noundef %328, i64 noundef %330)
  store i64 %331, ptr %22, align 8, !tbaa !11
  %332 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %332, ptr %16, align 8, !tbaa !11
  %333 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %333, ptr %17, align 4, !tbaa !9
  store i64 0, ptr %23, align 8, !tbaa !11
  %334 = load ptr, ptr %5, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.w2c_hermes, ptr %334, i32 0, i32 6
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = add i64 %337, 16
  %339 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %335, i64 noundef %338, i64 noundef %339)
  %340 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %340, ptr %17, align 4, !tbaa !9
  %341 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %341, ptr %23, align 8, !tbaa !11
  %342 = load ptr, ptr %5, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.w2c_hermes, ptr %342, i32 0, i32 6
  %344 = load i32, ptr %17, align 4, !tbaa !9
  %345 = zext i32 %344 to i64
  %346 = add i64 %345, 12
  %347 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %343, i64 noundef %346, i64 noundef %347)
  %348 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %348, ptr %17, align 4, !tbaa !9
  %349 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %349, ptr %23, align 8, !tbaa !11
  %350 = load ptr, ptr %5, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.w2c_hermes, ptr %350, i32 0, i32 6
  %352 = load i32, ptr %17, align 4, !tbaa !9
  %353 = zext i32 %352 to i64
  %354 = add i64 %353, 8
  %355 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %351, i64 noundef %354, i64 noundef %355)
  %356 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %356, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %357 = load ptr, ptr %5, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.w2c_hermes, ptr %357, i32 0, i32 6
  %359 = load i32, ptr %17, align 4, !tbaa !9
  %360 = zext i32 %359 to i64
  %361 = add i64 %360, 4
  %362 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %358, i64 noundef %361, i32 noundef %362)
  %363 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %363, ptr %17, align 4, !tbaa !9
  store i32 889192488, ptr %18, align 4, !tbaa !9
  %364 = load ptr, ptr %5, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.w2c_hermes, ptr %364, i32 0, i32 6
  %366 = load i32, ptr %17, align 4, !tbaa !9
  %367 = zext i32 %366 to i64
  %368 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %365, i64 noundef %367, i32 noundef %368)
  %369 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %369, ptr %17, align 4, !tbaa !9
  br label %374

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

372:                                              ; preds = %223
  %373 = load ptr, ptr %5, align 8, !tbaa !5
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef %373)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

374:                                              ; preds = %306
  %375 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %375, ptr %6, align 4, !tbaa !9
  store i64 60129542158, ptr %23, align 8, !tbaa !11
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.w2c_hermes, ptr %376, i32 0, i32 6
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = zext i32 %378 to i64
  %380 = add i64 %379, 32
  %381 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %377, i64 noundef %380, i64 noundef %381)
  %382 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %382, ptr %17, align 4, !tbaa !9
  store i64 60129542158, ptr %23, align 8, !tbaa !11
  %383 = load ptr, ptr %5, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.w2c_hermes, ptr %383, i32 0, i32 6
  %385 = load i32, ptr %17, align 4, !tbaa !9
  %386 = zext i32 %385 to i64
  %387 = add i64 %386, 24
  %388 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %384, i64 noundef %387, i64 noundef %388)
  %389 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %389, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %390 = load i32, ptr %18, align 4, !tbaa !9
  %391 = load i32, ptr %17, align 4, !tbaa !9
  %392 = add i32 %391, %390
  store i32 %392, ptr %17, align 4, !tbaa !9
  %393 = load i32, ptr %17, align 4, !tbaa !9
  %394 = load ptr, ptr %5, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.w2c_hermes, ptr %394, i32 0, i32 3
  store i32 %393, ptr %395, align 8, !tbaa !13
  %396 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %396, ptr %17, align 4, !tbaa !9
  %397 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  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 8, 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 %397
}

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

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

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


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

; Function Attrs: inlinehint nounwind uwtable
declare hidden 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: inlinehint nounwind uwtable
declare hidden i64 @i64_load(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

declare void @w2c_hermes_dlfree(ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

declare void @w2c_hermes_abort(ptr noundef) local_unnamed_addr #1

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2960x3E0x20hermes0x3A0x3Avm0x3A0x3ANativeConstructor0x3A0x3AcreatorFunction0x3Chermes0x3A0x3Avm0x3A0x3AJSWeakRef0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20void0x2A0x29(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, 5624
  %12 = add nuw nsw i64 %9, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %12, i32 noundef %11)
  %13 = add i32 %1, 808
  %14 = zext i32 %13 to i64
  %15 = add nuw nsw i64 %14, 560
  %16 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %15)
  %17 = add nuw nsw i64 %14, 556
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %17)
  %19 = sub i32 %16, %18
  %20 = icmp ult i32 %19, 40
  br i1 %20, label %21, label %23

21:                                               ; preds = %4
  %22 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 40) #5
  br label %25

23:                                               ; preds = %4
  %24 = add i32 %18, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %17, i32 noundef %24)
  br label %25

25:                                               ; preds = %23, %21
  %.0 = phi i32 [ %22, %21 ], [ %18, %23 ]
  %26 = add nuw nsw i64 %14, 572
  %27 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %26)
  %28 = add nuw nsw i64 %14, 576
  %29 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %28)
  %30 = icmp ult i32 %27, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %25
  %32 = zext i32 %27 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %32, i32 noundef %.0)
  %33 = add i32 %27, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %33)
  br label %59

34:                                               ; preds = %25
  %35 = add nuw nsw i64 %14, 568
  %36 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %35)
  %37 = sub i32 %27, %36
  %38 = ashr i32 %37, 2
  %39 = add nsw i32 %38, 1
  %40 = icmp ugt i32 %39, 1073741823
  br i1 %40, label %73, label %41

41:                                               ; preds = %34
  %42 = sub i32 %29, %36
  %43 = ashr i32 %42, 1
  %44 = tail call i32 @llvm.umax.i32(i32 %39, i32 %43)
  %45 = icmp ugt i32 %42, 2147483643
  %46 = select i1 %45, i32 1073741823, i32 %44
  %.not = icmp eq i32 %46, 0
  br i1 %.not, label %._crit_edge, label %47

47:                                               ; preds = %41
  %48 = icmp ugt i32 %46, 1073741823
  br i1 %48, label %74, label %49

49:                                               ; preds = %47
  %50 = shl nuw i32 %46, 2
  %51 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %50) #5
  br label %._crit_edge

._crit_edge:                                      ; preds = %41, %49
  %.pre-phi = phi i32 [ %50, %49 ], [ 0, %41 ]
  %.0215 = phi i32 [ %51, %49 ], [ 0, %41 ]
  %52 = and i32 %37, -4
  %53 = add i32 %.0215, %52
  %54 = zext i32 %53 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %54, i32 noundef %.0)
  %55 = tail call i32 @w2c_hermes_memmove(ptr noundef nonnull %0, i32 noundef %.0215, i32 noundef %36, i32 noundef %37) #5
  %56 = add i32 %55, %.pre-phi
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %28, i32 noundef %56)
  %57 = add i32 %53, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %26, i32 noundef %57)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %55)
  %.not220 = icmp eq i32 %36, 0
  br i1 %.not220, label %59, label %58

58:                                               ; preds = %._crit_edge
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %36) #5
  br label %59

59:                                               ; preds = %._crit_edge, %58, %31
  %60 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %61 = zext i32 %60 to i64
  %62 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %61)
  %63 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %12)
  %64 = zext i32 %63 to i64
  %65 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %64)
  %66 = zext i32 %.0 to i64
  %67 = add nuw nsw i64 %66, 16
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %67, i64 noundef 0)
  %68 = add nuw nsw i64 %66, 12
  tail call void @i64_store32(ptr noundef nonnull %8, i64 noundef %68, i64 noundef %65)
  %69 = add nuw nsw i64 %66, 8
  tail call void @i64_store32(ptr noundef nonnull %8, i64 noundef %69, i64 noundef %62)
  %70 = add nuw nsw i64 %66, 4
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %70, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %66, i32 noundef 889192488)
  %71 = add nuw nsw i64 %66, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %71, i64 noundef 60129542158)
  %72 = add nuw nsw i64 %66, 24
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %72, i64 noundef 60129542158)
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret i32 %.0

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

74:                                               ; preds = %47
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef nonnull %0) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable
}

; 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 = { "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 = { 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