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

49:                                               ; preds = %4
  %50 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %50, ptr %18, align 4, !tbaa !9
  store i32 40, ptr %19, align 4, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load i32, ptr %18, align 4, !tbaa !9
  %53 = load i32, ptr %19, align 4, !tbaa !9
  %54 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %51, i32 noundef %52, i32 noundef %53)
  store i32 %54, ptr %18, align 4, !tbaa !9
  %55 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %55, ptr %9, align 4, !tbaa !9
  br label %68

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

68:                                               ; preds = %56, %49
  %69 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %69, ptr %18, align 4, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = add i64 %73, 572
  %75 = call i32 @i32_load(ptr noundef %71, i64 noundef %74)
  store i32 %75, ptr %18, align 4, !tbaa !9
  %76 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %76, ptr %10, align 4, !tbaa !9
  %77 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %77, ptr %19, align 4, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %19, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = add i64 %81, 576
  %83 = call i32 @i32_load(ptr noundef %79, i64 noundef %82)
  store i32 %83, ptr %19, align 4, !tbaa !9
  %84 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %84, ptr %11, align 4, !tbaa !9
  %85 = load i32, ptr %18, align 4, !tbaa !9
  %86 = load i32, ptr %19, align 4, !tbaa !9
  %87 = icmp ult i32 %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %18, align 4, !tbaa !9
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %110

91:                                               ; preds = %68
  %92 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %92, ptr %18, align 4, !tbaa !9
  %93 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %93, ptr %19, 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 %18, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %95, i64 noundef %97, i32 noundef %98)
  %99 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %99, ptr %18, align 4, !tbaa !9
  %100 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %100, ptr %19, align 4, !tbaa !9
  store i32 4, ptr %20, align 4, !tbaa !9
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = load i32, ptr %19, align 4, !tbaa !9
  %103 = add i32 %102, %101
  store i32 %103, ptr %19, align 4, !tbaa !9
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = add i64 %107, 572
  %109 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %105, i64 noundef %108, i32 noundef %109)
  br label %274

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

139:                                              ; preds = %110
  br label %343

140:                                              ; preds = %110
  store i32 1073741823, ptr %18, align 4, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %141, ptr %19, align 4, !tbaa !9
  %142 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %142, ptr %20, align 4, !tbaa !9
  %143 = load i32, ptr %20, align 4, !tbaa !9
  %144 = load i32, ptr %19, align 4, !tbaa !9
  %145 = sub i32 %144, %143
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %146, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %147 = load i32, ptr %19, align 4, !tbaa !9
  %148 = load i32, ptr %20, align 4, !tbaa !9
  %149 = and i32 %148, 31
  %150 = ashr i32 %147, %149
  store i32 %150, ptr %19, align 4, !tbaa !9
  %151 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %151, ptr %15, align 4, !tbaa !9
  %152 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %152, ptr %20, align 4, !tbaa !9
  %153 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %153, ptr %21, align 4, !tbaa !9
  %154 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %154, ptr %22, align 4, !tbaa !9
  %155 = load i32, ptr %21, align 4, !tbaa !9
  %156 = load i32, ptr %22, align 4, !tbaa !9
  %157 = icmp ult i32 %155, %156
  %158 = zext i1 %157 to i32
  store i32 %158, ptr %21, align 4, !tbaa !9
  %159 = load i32, ptr %21, align 4, !tbaa !9
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %163

161:                                              ; preds = %140
  %162 = load i32, ptr %19, align 4, !tbaa !9
  br label %165

163:                                              ; preds = %140
  %164 = load i32, ptr %20, align 4, !tbaa !9
  br label %165

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

174:                                              ; preds = %165
  %175 = load i32, ptr %18, align 4, !tbaa !9
  br label %178

176:                                              ; preds = %165
  %177 = load i32, ptr %19, align 4, !tbaa !9
  br label %178

178:                                              ; preds = %176, %174
  %179 = phi i32 [ %175, %174 ], [ %177, %176 ]
  store i32 %179, ptr %18, align 4, !tbaa !9
  %180 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %180, ptr %12, align 4, !tbaa !9
  %181 = load i32, ptr %18, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %201

183:                                              ; preds = %178
  %184 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %184, ptr %18, align 4, !tbaa !9
  store i32 1073741824, ptr %19, align 4, !tbaa !9
  %185 = load i32, ptr %18, align 4, !tbaa !9
  %186 = load i32, ptr %19, align 4, !tbaa !9
  %187 = icmp uge i32 %185, %186
  %188 = zext i1 %187 to i32
  store i32 %188, ptr %18, align 4, !tbaa !9
  %189 = load i32, ptr %18, align 4, !tbaa !9
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %183
  br label %345

192:                                              ; preds = %183
  %193 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %193, ptr %18, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %194 = load i32, ptr %19, align 4, !tbaa !9
  %195 = and i32 %194, 31
  %196 = load i32, ptr %18, align 4, !tbaa !9
  %197 = shl i32 %196, %195
  store i32 %197, ptr %18, align 4, !tbaa !9
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = call i32 @w2c_hermes_operator0x20new0x28unsigned0x20long0x29(ptr noundef %198, i32 noundef %199)
  store i32 %200, ptr %18, align 4, !tbaa !9
  br label %202

201:                                              ; preds = %178
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %202

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

269:                                              ; preds = %202
  br label %274

270:                                              ; preds = %202
  %271 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %271, ptr %18, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %272, i32 noundef %273)
  br label %274

274:                                              ; preds = %270, %269, %91
  %275 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %275, ptr %18, align 4, !tbaa !9
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.w2c_hermes, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %18, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = call i32 @i32_load(ptr noundef %277, i64 noundef %279)
  store i32 %280, ptr %18, align 4, !tbaa !9
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.w2c_hermes, ptr %281, i32 0, i32 6
  %283 = load i32, ptr %18, align 4, !tbaa !9
  %284 = zext i32 %283 to i64
  %285 = call i64 @i64_load(ptr noundef %282, i64 noundef %284)
  store i64 %285, ptr %23, align 8, !tbaa !11
  %286 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %286, ptr %16, align 8, !tbaa !11
  %287 = load i32, ptr %8, 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 %18, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = call i32 @i32_load(ptr noundef %289, i64 noundef %291)
  store i32 %292, ptr %18, align 4, !tbaa !9
  %293 = load ptr, ptr %5, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.w2c_hermes, ptr %293, i32 0, i32 6
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = call i64 @i64_load(ptr noundef %294, i64 noundef %296)
  store i64 %297, ptr %23, align 8, !tbaa !11
  %298 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %298, ptr %17, align 8, !tbaa !11
  %299 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %299, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.w2c_hermes, ptr %300, i32 0, i32 6
  %302 = load i32, ptr %18, align 4, !tbaa !9
  %303 = zext i32 %302 to i64
  %304 = add i64 %303, 29
  %305 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %301, i64 noundef %304, i32 noundef %305)
  %306 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %306, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %18, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = add i64 %310, 16
  %312 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %308, i64 noundef %311, i32 noundef %312)
  %313 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %313, ptr %18, align 4, !tbaa !9
  %314 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %314, ptr %24, align 8, !tbaa !11
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 6
  %317 = load i32, ptr %18, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = add i64 %318, 12
  %320 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %316, i64 noundef %319, i64 noundef %320)
  %321 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %321, ptr %18, align 4, !tbaa !9
  %322 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %322, ptr %24, align 8, !tbaa !11
  %323 = load ptr, ptr %5, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.w2c_hermes, ptr %323, i32 0, i32 6
  %325 = load i32, ptr %18, align 4, !tbaa !9
  %326 = zext i32 %325 to i64
  %327 = add i64 %326, 8
  %328 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store32(ptr noundef %324, i64 noundef %327, i64 noundef %328)
  %329 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %329, ptr %18, align 4, !tbaa !9
  store i32 0, ptr %19, align 4, !tbaa !9
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.w2c_hermes, ptr %330, i32 0, i32 6
  %332 = load i32, ptr %18, align 4, !tbaa !9
  %333 = zext i32 %332 to i64
  %334 = add i64 %333, 4
  %335 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %331, i64 noundef %334, i32 noundef %335)
  %336 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %336, ptr %18, align 4, !tbaa !9
  store i32 553648168, ptr %19, align 4, !tbaa !9
  %337 = load ptr, ptr %5, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.w2c_hermes, ptr %337, i32 0, i32 6
  %339 = load i32, ptr %18, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %338, i64 noundef %340, i32 noundef %341)
  %342 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %342, ptr %18, align 4, !tbaa !9
  br label %347

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

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

347:                                              ; preds = %274
  %348 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 %348
}

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

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 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_hermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x2A0x20hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AmakeA0x3Chermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x2C0x20true0x2C0x200x28hermes0x3A0x3Avm0x3A0x3AHasFinalizer0x2910x2C0x200x28hermes0x3A0x3Avm0x3A0x3ALongLived0x2900x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x3E0x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x260x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 560
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %9 = add nuw nsw i64 %6, 556
  %10 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %9)
  %11 = sub i32 %8, %10
  %12 = icmp ult i32 %11, 40
  br i1 %12, label %13, label %15

13:                                               ; preds = %4
  %14 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AallocSlow0x28unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef 40)
  br label %17

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

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

23:                                               ; preds = %17
  %24 = zext i32 %19 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %24, i32 noundef %.0)
  %25 = add i32 %19, 4
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %18, i32 noundef %25)
  br label %51

26:                                               ; preds = %17
  %27 = add nuw nsw i64 %6, 568
  %28 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %27)
  %29 = sub i32 %19, %28
  %30 = ashr i32 %29, 2
  %31 = add nsw i32 %30, 1
  %32 = icmp ugt i32 %31, 1073741823
  br i1 %32, label %66, label %33

33:                                               ; preds = %26
  %34 = sub i32 %21, %28
  %35 = ashr i32 %34, 1
  %36 = tail call i32 @llvm.umax.i32(i32 %31, i32 %35)
  %37 = icmp ugt i32 %34, 2147483643
  %38 = select i1 %37, i32 1073741823, i32 %36
  %.not = icmp eq i32 %38, 0
  br i1 %.not, label %._crit_edge, label %39

39:                                               ; preds = %33
  %40 = icmp ugt i32 %38, 1073741823
  br i1 %40, label %67, label %41

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

._crit_edge:                                      ; preds = %33, %41
  %.pre-phi = phi i32 [ %42, %41 ], [ 0, %33 ]
  %.0184 = phi i32 [ %43, %41 ], [ 0, %33 ]
  %44 = and i32 %29, -4
  %45 = add i32 %.0184, %44
  %46 = zext i32 %45 to i64
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %46, i32 noundef %.0)
  %47 = tail call i32 @w2c_hermes_memmove(ptr noundef %0, i32 noundef %.0184, i32 noundef %28, i32 noundef %29) #5
  %48 = add i32 %47, %.pre-phi
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %20, i32 noundef %48)
  %49 = add i32 %45, 4
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %18, i32 noundef %49)
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %27, i32 noundef %47)
  %.not189 = icmp eq i32 %28, 0
  br i1 %.not189, label %51, label %50

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

51:                                               ; preds = %._crit_edge, %50, %23
  %52 = zext i32 %2 to i64
  %53 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %52)
  %54 = zext i32 %53 to i64
  %55 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef %54)
  %56 = zext i32 %3 to i64
  %57 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %56)
  %58 = zext i32 %57 to i64
  %59 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef %58)
  %60 = zext i32 %.0 to i64
  %61 = add nuw nsw i64 %60, 29
  tail call void @i32_store8(ptr noundef nonnull %5, i64 noundef %61, i32 noundef 0)
  %62 = add nuw nsw i64 %60, 16
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %62, i32 noundef 0)
  %63 = add nuw nsw i64 %60, 12
  tail call void @i64_store32(ptr noundef nonnull %5, i64 noundef %63, i64 noundef %59)
  %64 = add nuw nsw i64 %60, 8
  tail call void @i64_store32(ptr noundef nonnull %5, i64 noundef %64, i64 noundef %55)
  %65 = add nuw nsw i64 %60, 4
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %65, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %60, i32 noundef 553648168)
  ret i32 %.0

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

67:                                               ; preds = %39
  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