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

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

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

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

; Function Attrs: 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 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) #3

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

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

declare void @w2c_hermes_abort(ptr noundef) #2

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

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

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSError0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AmakeA0x3Chermes0x3A0x3Avm0x3A0x3AJSError0x2C0x20true0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20bool0x260x3E0x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x2C0x20bool0x260x29(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 i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = 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 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 0, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store i64 0, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %27 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %27, ptr %20, align 4, !tbaa !9
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 6
  %30 = load i32, ptr %20, align 4, !tbaa !9
  %31 = zext i32 %30 to i64
  %32 = add i64 %31, 560
  %33 = call i32 @i32_load(ptr noundef %29, i64 noundef %32)
  store i32 %33, ptr %20, align 4, !tbaa !9
  %34 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %34, ptr %21, align 4, !tbaa !9
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %21, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = add i64 %38, 556
  %40 = call i32 @i32_load(ptr noundef %36, i64 noundef %39)
  store i32 %40, ptr %21, align 4, !tbaa !9
  %41 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %41, ptr %11, align 4, !tbaa !9
  %42 = load i32, ptr %21, align 4, !tbaa !9
  %43 = load i32, ptr %20, align 4, !tbaa !9
  %44 = sub i32 %43, %42
  store i32 %44, ptr %20, align 4, !tbaa !9
  store i32 40, ptr %21, align 4, !tbaa !9
  %45 = load i32, ptr %20, align 4, !tbaa !9
  %46 = load i32, ptr %21, align 4, !tbaa !9
  %47 = icmp ult i32 %45, %46
  %48 = zext i1 %47 to i32
  store i32 %48, ptr %20, align 4, !tbaa !9
  %49 = load i32, ptr %20, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %58

51:                                               ; preds = %5
  %52 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %52, ptr %20, align 4, !tbaa !9
  store i32 40, ptr %21, align 4, !tbaa !9
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load i32, ptr %20, align 4, !tbaa !9
  %55 = load i32, ptr %21, align 4, !tbaa !9
  %56 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %53, i32 noundef %54, i32 noundef %55)
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %57, ptr %11, align 4, !tbaa !9
  br label %70

58:                                               ; preds = %5
  %59 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %59, ptr %20, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %21, align 4, !tbaa !9
  store i32 40, ptr %22, align 4, !tbaa !9
  %61 = load i32, ptr %22, align 4, !tbaa !9
  %62 = load i32, ptr %21, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %21, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %20, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = add i64 %67, 556
  %69 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %68, i32 noundef %69)
  br label %70

70:                                               ; preds = %58, %51
  %71 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %71, ptr %20, align 4, !tbaa !9
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %20, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = add i64 %75, 572
  %77 = call i32 @i32_load(ptr noundef %73, i64 noundef %76)
  store i32 %77, ptr %20, align 4, !tbaa !9
  %78 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %78, ptr %12, align 4, !tbaa !9
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %21, align 4, !tbaa !9
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.w2c_hermes, ptr %80, i32 0, i32 6
  %82 = load i32, ptr %21, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = add i64 %83, 576
  %85 = call i32 @i32_load(ptr noundef %81, i64 noundef %84)
  store i32 %85, ptr %21, align 4, !tbaa !9
  %86 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %86, ptr %13, align 4, !tbaa !9
  %87 = load i32, ptr %20, align 4, !tbaa !9
  %88 = load i32, ptr %21, align 4, !tbaa !9
  %89 = icmp ult i32 %87, %88
  %90 = zext i1 %89 to i32
  store i32 %90, ptr %20, align 4, !tbaa !9
  %91 = load i32, ptr %20, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %112

93:                                               ; preds = %70
  %94 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %94, ptr %20, align 4, !tbaa !9
  %95 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %95, ptr %21, align 4, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.w2c_hermes, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %20, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %97, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %101, ptr %20, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %102, ptr %21, align 4, !tbaa !9
  store i32 4, ptr %22, align 4, !tbaa !9
  %103 = load i32, ptr %22, align 4, !tbaa !9
  %104 = load i32, ptr %21, align 4, !tbaa !9
  %105 = add i32 %104, %103
  store i32 %105, ptr %21, align 4, !tbaa !9
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %20, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 572
  %111 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %107, i64 noundef %110, i32 noundef %111)
  br label %276

112:                                              ; preds = %70
  %113 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %113, ptr %20, align 4, !tbaa !9
  %114 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %114, ptr %21, align 4, !tbaa !9
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %21, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 568
  %120 = call i32 @i32_load(ptr noundef %116, i64 noundef %119)
  store i32 %120, ptr %21, align 4, !tbaa !9
  %121 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %121, ptr %12, align 4, !tbaa !9
  %122 = load i32, ptr %21, align 4, !tbaa !9
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = sub i32 %123, %122
  store i32 %124, ptr %20, align 4, !tbaa !9
  %125 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %126 = load i32, ptr %20, align 4, !tbaa !9
  %127 = load i32, ptr %21, align 4, !tbaa !9
  %128 = and i32 %127, 31
  %129 = ashr i32 %126, %128
  store i32 %129, ptr %20, align 4, !tbaa !9
  %130 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %130, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %131 = load i32, ptr %21, align 4, !tbaa !9
  %132 = load i32, ptr %20, align 4, !tbaa !9
  %133 = add i32 %132, %131
  store i32 %133, ptr %20, align 4, !tbaa !9
  %134 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %134, ptr %14, align 4, !tbaa !9
  store i32 1073741824, ptr %21, align 4, !tbaa !9
  %135 = load i32, ptr %20, align 4, !tbaa !9
  %136 = load i32, ptr %21, align 4, !tbaa !9
  %137 = icmp uge i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %20, align 4, !tbaa !9
  %139 = load i32, ptr %20, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %112
  br label %367

142:                                              ; preds = %112
  store i32 1073741823, ptr %20, align 4, !tbaa !9
  %143 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %143, ptr %21, align 4, !tbaa !9
  %144 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %144, ptr %22, align 4, !tbaa !9
  %145 = load i32, ptr %22, align 4, !tbaa !9
  %146 = load i32, ptr %21, align 4, !tbaa !9
  %147 = sub i32 %146, %145
  store i32 %147, ptr %21, align 4, !tbaa !9
  %148 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %148, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %149 = load i32, ptr %21, align 4, !tbaa !9
  %150 = load i32, ptr %22, align 4, !tbaa !9
  %151 = and i32 %150, 31
  %152 = ashr i32 %149, %151
  store i32 %152, ptr %21, align 4, !tbaa !9
  %153 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %153, ptr %17, align 4, !tbaa !9
  %154 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %154, ptr %22, align 4, !tbaa !9
  %155 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %155, ptr %23, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %156, ptr %24, align 4, !tbaa !9
  %157 = load i32, ptr %23, align 4, !tbaa !9
  %158 = load i32, ptr %24, align 4, !tbaa !9
  %159 = icmp ult i32 %157, %158
  %160 = zext i1 %159 to i32
  store i32 %160, ptr %23, align 4, !tbaa !9
  %161 = load i32, ptr %23, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %165

163:                                              ; preds = %142
  %164 = load i32, ptr %21, align 4, !tbaa !9
  br label %167

165:                                              ; preds = %142
  %166 = load i32, ptr %22, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %165, %163
  %168 = phi i32 [ %164, %163 ], [ %166, %165 ]
  store i32 %168, ptr %21, align 4, !tbaa !9
  %169 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %169, ptr %22, align 4, !tbaa !9
  store i32 2147483644, ptr %23, align 4, !tbaa !9
  %170 = load i32, ptr %22, align 4, !tbaa !9
  %171 = load i32, ptr %23, align 4, !tbaa !9
  %172 = icmp uge i32 %170, %171
  %173 = zext i1 %172 to i32
  store i32 %173, ptr %22, align 4, !tbaa !9
  %174 = load i32, ptr %22, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %178

176:                                              ; preds = %167
  %177 = load i32, ptr %20, align 4, !tbaa !9
  br label %180

178:                                              ; preds = %167
  %179 = load i32, ptr %21, align 4, !tbaa !9
  br label %180

180:                                              ; preds = %178, %176
  %181 = phi i32 [ %177, %176 ], [ %179, %178 ]
  store i32 %181, ptr %20, align 4, !tbaa !9
  %182 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %182, ptr %14, align 4, !tbaa !9
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %203

185:                                              ; preds = %180
  %186 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %186, ptr %20, align 4, !tbaa !9
  store i32 1073741824, 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 uge 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 %194

193:                                              ; preds = %185
  br label %369

194:                                              ; preds = %185
  %195 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %195, ptr %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %196 = load i32, ptr %21, align 4, !tbaa !9
  %197 = and i32 %196, 31
  %198 = load i32, ptr %20, align 4, !tbaa !9
  %199 = shl i32 %198, %197
  store i32 %199, ptr %20, align 4, !tbaa !9
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %200, i32 noundef %201)
  store i32 %202, ptr %20, align 4, !tbaa !9
  br label %204

203:                                              ; preds = %180
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %204

204:                                              ; preds = %203, %194
  %205 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %205, ptr %13, align 4, !tbaa !9
  %206 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %206, ptr %21, align 4, !tbaa !9
  store i32 2, ptr %22, align 4, !tbaa !9
  %207 = load i32, ptr %22, align 4, !tbaa !9
  %208 = and i32 %207, 31
  %209 = load i32, ptr %21, align 4, !tbaa !9
  %210 = shl i32 %209, %208
  store i32 %210, ptr %21, align 4, !tbaa !9
  %211 = load i32, ptr %21, align 4, !tbaa !9
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %20, align 4, !tbaa !9
  %214 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %214, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %215, ptr %21, align 4, !tbaa !9
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %217, i64 noundef %219, i32 noundef %220)
  %221 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %221, ptr %20, align 4, !tbaa !9
  %222 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %222, ptr %21, align 4, !tbaa !9
  %223 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %223, ptr %22, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %224, ptr %23, align 4, !tbaa !9
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = load i32, ptr %21, align 4, !tbaa !9
  %227 = load i32, ptr %22, align 4, !tbaa !9
  %228 = load i32, ptr %23, align 4, !tbaa !9
  %229 = call i32 @w2c_hermes_memmove(ptr noundef %225, i32 noundef %226, i32 noundef %227, i32 noundef %228)
  store i32 %229, ptr %21, align 4, !tbaa !9
  %230 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %230, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %231, ptr %22, align 4, !tbaa !9
  store i32 2, ptr %23, align 4, !tbaa !9
  %232 = load i32, ptr %23, align 4, !tbaa !9
  %233 = and i32 %232, 31
  %234 = load i32, ptr %22, align 4, !tbaa !9
  %235 = shl i32 %234, %233
  store i32 %235, ptr %22, align 4, !tbaa !9
  %236 = load i32, ptr %22, align 4, !tbaa !9
  %237 = load i32, ptr %21, align 4, !tbaa !9
  %238 = add i32 %237, %236
  store i32 %238, ptr %21, align 4, !tbaa !9
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %20, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = add i64 %242, 576
  %244 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %240, i64 noundef %243, i32 noundef %244)
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %20, align 4, !tbaa !9
  %246 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %246, ptr %21, align 4, !tbaa !9
  store i32 4, ptr %22, align 4, !tbaa !9
  %247 = load i32, ptr %22, align 4, !tbaa !9
  %248 = load i32, ptr %21, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %21, align 4, !tbaa !9
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %20, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = add i64 %253, 572
  %255 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %251, i64 noundef %254, i32 noundef %255)
  %256 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %256, ptr %20, align 4, !tbaa !9
  %257 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %257, ptr %21, align 4, !tbaa !9
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %20, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = add i64 %261, 568
  %263 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %259, i64 noundef %262, i32 noundef %263)
  %264 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %264, ptr %20, align 4, !tbaa !9
  %265 = load i32, ptr %20, align 4, !tbaa !9
  %266 = icmp ne i32 %265, 0
  %267 = xor i1 %266, true
  %268 = zext i1 %267 to i32
  store i32 %268, ptr %20, align 4, !tbaa !9
  %269 = load i32, ptr %20, align 4, !tbaa !9
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %204
  br label %276

272:                                              ; preds = %204
  %273 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %273, ptr %20, align 4, !tbaa !9
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %274, i32 noundef %275)
  br label %276

276:                                              ; preds = %272, %271, %93
  %277 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %277, ptr %20, align 4, !tbaa !9
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %20, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = call i32 @i32_load8_u(ptr noundef %279, i64 noundef %281)
  store i32 %282, ptr %20, align 4, !tbaa !9
  %283 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %283, ptr %7, align 4, !tbaa !9
  %284 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %284, ptr %20, align 4, !tbaa !9
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.w2c_hermes, ptr %285, i32 0, i32 6
  %287 = load i32, ptr %20, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = call i32 @i32_load(ptr noundef %286, i64 noundef %288)
  store i32 %289, ptr %20, align 4, !tbaa !9
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %20, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = call i64 @i64_load(ptr noundef %291, i64 noundef %293)
  store i64 %294, ptr %25, align 8, !tbaa !11
  %295 = load i64, ptr %25, align 8, !tbaa !11
  store i64 %295, ptr %18, align 8, !tbaa !11
  %296 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %296, ptr %20, align 4, !tbaa !9
  %297 = load ptr, ptr %6, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.w2c_hermes, ptr %297, i32 0, i32 6
  %299 = load i32, ptr %20, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = call i32 @i32_load(ptr noundef %298, i64 noundef %300)
  store i32 %301, ptr %20, align 4, !tbaa !9
  %302 = load ptr, ptr %6, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.w2c_hermes, ptr %302, i32 0, i32 6
  %304 = load i32, ptr %20, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = call i64 @i64_load(ptr noundef %303, i64 noundef %305)
  store i64 %306, ptr %25, align 8, !tbaa !11
  %307 = load i64, ptr %25, align 8, !tbaa !11
  store i64 %307, ptr %19, align 8, !tbaa !11
  %308 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %308, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %26, align 8, !tbaa !11
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.w2c_hermes, ptr %309, i32 0, i32 6
  %311 = load i32, ptr %20, align 4, !tbaa !9
  %312 = zext i32 %311 to i64
  %313 = add i64 %312, 16
  %314 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store(ptr noundef %310, i64 noundef %313, i64 noundef %314)
  %315 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %315, ptr %20, align 4, !tbaa !9
  %316 = load i64, ptr %19, align 8, !tbaa !11
  store i64 %316, ptr %26, align 8, !tbaa !11
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.w2c_hermes, ptr %317, i32 0, i32 6
  %319 = load i32, ptr %20, align 4, !tbaa !9
  %320 = zext i32 %319 to i64
  %321 = add i64 %320, 12
  %322 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %318, i64 noundef %321, i64 noundef %322)
  %323 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %323, ptr %20, align 4, !tbaa !9
  %324 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %324, ptr %26, align 8, !tbaa !11
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.w2c_hermes, ptr %325, i32 0, i32 6
  %327 = load i32, ptr %20, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = add i64 %328, 8
  %330 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %326, i64 noundef %329, i64 noundef %330)
  %331 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %331, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.w2c_hermes, ptr %332, i32 0, i32 6
  %334 = load i32, ptr %20, align 4, !tbaa !9
  %335 = zext i32 %334 to i64
  %336 = add i64 %335, 4
  %337 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %333, i64 noundef %336, i32 noundef %337)
  %338 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %338, ptr %20, align 4, !tbaa !9
  store i64 0, ptr %26, align 8, !tbaa !11
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.w2c_hermes, ptr %339, i32 0, i32 6
  %341 = load i32, ptr %20, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = add i64 %342, 24
  %344 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store(ptr noundef %340, i64 noundef %343, i64 noundef %344)
  %345 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %345, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %346 = load ptr, ptr %6, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.w2c_hermes, ptr %346, i32 0, i32 6
  %348 = load i32, ptr %20, align 4, !tbaa !9
  %349 = zext i32 %348 to i64
  %350 = add i64 %349, 32
  %351 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %347, i64 noundef %350, i32 noundef %351)
  %352 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %352, ptr %20, align 4, !tbaa !9
  %353 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %353, ptr %21, align 4, !tbaa !9
  %354 = load ptr, ptr %6, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.w2c_hermes, ptr %354, i32 0, i32 6
  %356 = load i32, ptr %20, align 4, !tbaa !9
  %357 = zext i32 %356 to i64
  %358 = add i64 %357, 36
  %359 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %355, i64 noundef %358, i32 noundef %359)
  %360 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %360, ptr %20, align 4, !tbaa !9
  store i32 486539304, ptr %21, align 4, !tbaa !9
  %361 = load ptr, ptr %6, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.w2c_hermes, ptr %361, i32 0, i32 6
  %363 = load i32, ptr %20, align 4, !tbaa !9
  %364 = zext i32 %363 to i64
  %365 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %362, i64 noundef %364, i32 noundef %365)
  %366 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %366, ptr %20, align 4, !tbaa !9
  br label %371

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

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

371:                                              ; preds = %276
  %372 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  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 i32 %372
}

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 = { 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 = { 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 #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}


; 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 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

declare void @w2c_hermes_abort(ptr noundef) local_unnamed_addr #1

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

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

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

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSError0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AmakeA0x3Chermes0x3A0x3Avm0x3A0x3AJSError0x2C0x20true0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20bool0x260x3E0x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x2C0x20bool0x260x29(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 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 560
  %9 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  %10 = add nuw nsw i64 %7, 556
  %11 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %10)
  %12 = sub i32 %9, %11
  %13 = icmp ult i32 %12, 40
  br i1 %13, label %14, label %16

14:                                               ; preds = %5
  %15 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef 40)
  br label %18

16:                                               ; preds = %5
  %17 = add i32 %11, 40
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %10, i32 noundef %17)
  br label %18

18:                                               ; preds = %16, %14
  %.0 = phi i32 [ %15, %14 ], [ %11, %16 ]
  %19 = add nuw nsw i64 %7, 572
  %20 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %19)
  %21 = add nuw nsw i64 %7, 576
  %22 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %21)
  %23 = icmp ult i32 %20, %22
  br i1 %23, label %24, label %27

24:                                               ; preds = %18
  %25 = zext i32 %20 to i64
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %25, i32 noundef %.0)
  %26 = add i32 %20, 4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %19, i32 noundef %26)
  br label %52

27:                                               ; preds = %18
  %28 = add nuw nsw i64 %7, 568
  %29 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %28)
  %30 = sub i32 %20, %29
  %31 = ashr i32 %30, 2
  %32 = add nsw i32 %31, 1
  %33 = icmp ugt i32 %32, 1073741823
  br i1 %33, label %71, label %34

34:                                               ; preds = %27
  %35 = sub i32 %22, %29
  %36 = ashr i32 %35, 1
  %37 = tail call i32 @llvm.umax.i32(i32 %32, i32 %36)
  %38 = icmp ugt i32 %35, 2147483643
  %39 = select i1 %38, i32 1073741823, i32 %37
  %.not = icmp eq i32 %39, 0
  br i1 %.not, label %._crit_edge, label %40

40:                                               ; preds = %34
  %41 = icmp ugt i32 %39, 1073741823
  br i1 %41, label %72, label %42

42:                                               ; preds = %40
  %43 = shl nuw i32 %39, 2
  %44 = tail call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %43) #5
  br label %._crit_edge

._crit_edge:                                      ; preds = %34, %42
  %.pre-phi = phi i32 [ %43, %42 ], [ 0, %34 ]
  %.0197 = phi i32 [ %44, %42 ], [ 0, %34 ]
  %45 = and i32 %30, -4
  %46 = add i32 %.0197, %45
  %47 = zext i32 %46 to i64
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %47, i32 noundef %.0)
  %48 = tail call i32 @w2c_hermes_memmove(ptr noundef %0, i32 noundef %.0197, i32 noundef %29, i32 noundef %30) #5
  %49 = add i32 %48, %.pre-phi
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %21, i32 noundef %49)
  %50 = add i32 %46, 4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %19, i32 noundef %50)
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %28, i32 noundef %48)
  %.not202 = icmp eq i32 %29, 0
  br i1 %.not202, label %52, label %51

51:                                               ; preds = %._crit_edge
  tail call void @w2c_hermes_dlfree(ptr noundef %0, i32 noundef %29) #5
  br label %52

52:                                               ; preds = %._crit_edge, %51, %24
  %53 = zext i32 %4 to i64
  %54 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %53)
  %55 = zext i32 %2 to i64
  %56 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %55)
  %57 = zext i32 %56 to i64
  %58 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %57)
  %59 = zext i32 %3 to i64
  %60 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %59)
  %61 = zext i32 %60 to i64
  %62 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %61)
  %63 = zext i32 %.0 to i64
  %64 = add nuw nsw i64 %63, 16
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %64, i64 noundef 0)
  %65 = add nuw nsw i64 %63, 12
  tail call void @i64_store32(ptr noundef nonnull %6, i64 noundef %65, i64 noundef %62)
  %66 = add nuw nsw i64 %63, 8
  tail call void @i64_store32(ptr noundef nonnull %6, i64 noundef %66, i64 noundef %58)
  %67 = add nuw nsw i64 %63, 4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %67, i32 noundef 0)
  %68 = add nuw nsw i64 %63, 24
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %68, i64 noundef 0)
  %69 = add nuw nsw i64 %63, 32
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %69, i32 noundef 0)
  %70 = add nuw nsw i64 %63, 36
  tail call void @i32_store8(ptr noundef nonnull %6, i64 noundef %70, i32 noundef %54)
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %63, i32 noundef 486539304)
  ret i32 %.0

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

72:                                               ; preds = %40
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef %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 = { 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 = { 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 = { 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)"}


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