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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr 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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %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
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %15 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %15, ptr %10, align 4, !tbaa !9
  %16 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %16, ptr %11, align 4, !tbaa !9
  %17 = load i32, ptr %10, align 4, !tbaa !9
  %18 = load i32, ptr %11, align 4, !tbaa !9
  %19 = icmp ne i32 %17, %18
  %20 = zext i1 %19 to i32
  store i32 %20, ptr %10, align 4, !tbaa !9
  %21 = load i32, ptr %10, align 4, !tbaa !9
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %246

23:                                               ; preds = %3
  %24 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %24, ptr %10, align 4, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %10, align 4, !tbaa !9
  %28 = zext i32 %27 to i64
  %29 = add i64 %28, 4
  %30 = call i32 @i32_load(ptr noundef %26, i64 noundef %29)
  store i32 %30, ptr %10, align 4, !tbaa !9
  %31 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %31, ptr %7, align 4, !tbaa !9
  %32 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %32, ptr %11, align 4, !tbaa !9
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 4
  %38 = call i32 @i32_load(ptr noundef %34, i64 noundef %37)
  store i32 %38, ptr %11, align 4, !tbaa !9
  %39 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %39, ptr %8, align 4, !tbaa !9
  %40 = load i32, ptr %10, align 4, !tbaa !9
  %41 = load i32, ptr %11, align 4, !tbaa !9
  %42 = icmp uge i32 %40, %41
  %43 = zext i1 %42 to i32
  store i32 %43, ptr %10, align 4, !tbaa !9
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %103

46:                                               ; preds = %23
  %47 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %47, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %69

50:                                               ; preds = %46
  %51 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %51, ptr %10, align 4, !tbaa !9
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = call i32 @i32_load(ptr noundef %53, i64 noundef %55)
  store i32 %56, ptr %10, align 4, !tbaa !9
  %57 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %57, ptr %11, align 4, !tbaa !9
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.w2c_hermes, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = call i32 @i32_load(ptr noundef %59, i64 noundef %61)
  store i32 %62, ptr %11, align 4, !tbaa !9
  %63 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = load i32, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = load i32, ptr %12, align 4, !tbaa !9
  %68 = call i32 @w2c_hermes_memmove(ptr noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67)
  store i32 %68, ptr %10, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %50, %46
  %70 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %70, ptr %10, align 4, !tbaa !9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %10, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = add i64 %74, 8
  %76 = call i32 @i32_load(ptr noundef %72, i64 noundef %75)
  store i32 %76, ptr %10, align 4, !tbaa !9
  %77 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %77, ptr %11, align 4, !tbaa !9
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = icmp uge i32 %78, %79
  %81 = zext i1 %80 to i32
  store i32 %81, ptr %10, align 4, !tbaa !9
  %82 = load i32, ptr %10, align 4, !tbaa !9
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %69
  br label %237

85:                                               ; preds = %69
  store i32 0, ptr %10, align 4, !tbaa !9
  %86 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %86, ptr %5, align 4, !tbaa !9
  store i32 117789, ptr %11, align 4, !tbaa !9
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = load i32, ptr %10, align 4, !tbaa !9
  %89 = add i32 %88, %87
  store i32 %89, ptr %10, align 4, !tbaa !9
  %90 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %90, ptr %11, align 4, !tbaa !9
  store i32 79572, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = add i32 %92, %91
  store i32 %93, ptr %11, align 4, !tbaa !9
  store i32 74, ptr %12, align 4, !tbaa !9
  %94 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %94, ptr %13, align 4, !tbaa !9
  store i32 88407, ptr %14, align 4, !tbaa !9
  %95 = load i32, ptr %14, align 4, !tbaa !9
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = add i32 %96, %95
  store i32 %97, ptr %13, align 4, !tbaa !9
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = load i32, ptr %10, align 4, !tbaa !9
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

103:                                              ; preds = %23
  %104 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %104, ptr %10, align 4, !tbaa !9
  %105 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %105, ptr %11, align 4, !tbaa !9
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = add i64 %109, 8
  %111 = call i32 @i32_load(ptr noundef %107, i64 noundef %110)
  store i32 %111, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = load i32, ptr %11, align 4, !tbaa !9
  %114 = icmp ugt i32 %112, %113
  %115 = zext i1 %114 to i32
  store i32 %115, ptr %10, align 4, !tbaa !9
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %138

118:                                              ; preds = %103
  store i32 0, ptr %10, align 4, !tbaa !9
  %119 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %119, ptr %7, align 4, !tbaa !9
  %120 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %120, ptr %10, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 4
  %126 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %122, i64 noundef %125, i32 noundef %126)
  %127 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %127, ptr %10, align 4, !tbaa !9
  %128 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %128, ptr %11, align 4, !tbaa !9
  store i32 12, ptr %12, align 4, !tbaa !9
  %129 = load i32, ptr %12, align 4, !tbaa !9
  %130 = load i32, ptr %11, align 4, !tbaa !9
  %131 = add i32 %130, %129
  store i32 %131, ptr %11, align 4, !tbaa !9
  %132 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %132, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %13, align 4, !tbaa !9
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = load i32, ptr %10, align 4, !tbaa !9
  %135 = load i32, ptr %11, align 4, !tbaa !9
  %136 = load i32, ptr %12, align 4, !tbaa !9
  %137 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %133, i32 noundef %134, i32 noundef %135, i32 noundef %136, i32 noundef %137)
  br label %167

138:                                              ; preds = %103
  %139 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %139, ptr %10, align 4, !tbaa !9
  %140 = load i32, ptr %10, align 4, !tbaa !9
  %141 = icmp ne i32 %140, 0
  %142 = xor i1 %141, true
  %143 = zext i1 %142 to i32
  store i32 %143, ptr %10, align 4, !tbaa !9
  %144 = load i32, ptr %10, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %148

146:                                              ; preds = %138
  store i32 0, ptr %10, align 4, !tbaa !9
  %147 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %147, ptr %7, align 4, !tbaa !9
  br label %167

148:                                              ; preds = %138
  %149 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %149, ptr %10, align 4, !tbaa !9
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.w2c_hermes, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %10, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = call i32 @i32_load(ptr noundef %151, i64 noundef %153)
  store i32 %154, ptr %10, align 4, !tbaa !9
  %155 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %155, ptr %11, align 4, !tbaa !9
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %11, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = call i32 @i32_load(ptr noundef %157, i64 noundef %159)
  store i32 %160, ptr %11, align 4, !tbaa !9
  %161 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %161, ptr %12, align 4, !tbaa !9
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = load i32, ptr %11, align 4, !tbaa !9
  %165 = load i32, ptr %12, align 4, !tbaa !9
  %166 = call i32 @w2c_hermes_memmove(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165)
  store i32 %166, ptr %10, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %148, %146, %118
  %168 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %168, ptr %10, align 4, !tbaa !9
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %10, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = add i64 %172, 4
  %174 = call i32 @i32_load(ptr noundef %170, i64 noundef %173)
  store i32 %174, ptr %10, align 4, !tbaa !9
  %175 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %175, ptr %9, align 4, !tbaa !9
  %176 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %176, ptr %11, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = load i32, ptr %11, align 4, !tbaa !9
  %179 = icmp ne i32 %177, %178
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %10, align 4, !tbaa !9
  %181 = load i32, ptr %10, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %220

183:                                              ; preds = %167
  %184 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %184, ptr %10, align 4, !tbaa !9
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %10, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = call i32 @i32_load(ptr noundef %186, i64 noundef %188)
  store i32 %189, ptr %10, align 4, !tbaa !9
  %190 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %190, ptr %11, align 4, !tbaa !9
  %191 = load i32, ptr %11, align 4, !tbaa !9
  %192 = load i32, ptr %10, align 4, !tbaa !9
  %193 = add i32 %192, %191
  store i32 %193, ptr %10, align 4, !tbaa !9
  %194 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %194, ptr %11, align 4, !tbaa !9
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %11, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = call i32 @i32_load(ptr noundef %196, i64 noundef %198)
  store i32 %199, ptr %11, align 4, !tbaa !9
  %200 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %200, ptr %6, align 4, !tbaa !9
  %201 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %201, ptr %12, align 4, !tbaa !9
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = load i32, ptr %11, align 4, !tbaa !9
  %204 = add i32 %203, %202
  store i32 %204, ptr %11, align 4, !tbaa !9
  %205 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %205, ptr %7, align 4, !tbaa !9
  %206 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %206, ptr %12, align 4, !tbaa !9
  %207 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %207, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %13, align 4, !tbaa !9
  %209 = load i32, ptr %12, align 4, !tbaa !9
  %210 = add i32 %209, %208
  store i32 %210, ptr %12, align 4, !tbaa !9
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %13, align 4, !tbaa !9
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = load i32, ptr %12, align 4, !tbaa !9
  %214 = sub i32 %213, %212
  store i32 %214, ptr %12, align 4, !tbaa !9
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = load i32, ptr %10, align 4, !tbaa !9
  %217 = load i32, ptr %11, align 4, !tbaa !9
  %218 = load i32, ptr %12, align 4, !tbaa !9
  %219 = call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  store i32 %219, ptr %10, align 4, !tbaa !9
  br label %220

220:                                              ; preds = %183, %167
  %221 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %221, ptr %10, align 4, !tbaa !9
  %222 = load ptr, ptr %4, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 8
  %227 = call i32 @i32_load(ptr noundef %223, i64 noundef %226)
  store i32 %227, ptr %10, align 4, !tbaa !9
  %228 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %228, ptr %11, align 4, !tbaa !9
  %229 = load i32, ptr %10, align 4, !tbaa !9
  %230 = load i32, ptr %11, align 4, !tbaa !9
  %231 = icmp ult i32 %229, %230
  %232 = zext i1 %231 to i32
  store i32 %232, ptr %10, align 4, !tbaa !9
  %233 = load i32, ptr %10, align 4, !tbaa !9
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %235, label %236

235:                                              ; preds = %220
  br label %248

236:                                              ; preds = %220
  br label %237

237:                                              ; preds = %236, %84
  %238 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %238, ptr %10, align 4, !tbaa !9
  %239 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %239, ptr %11, align 4, !tbaa !9
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %10, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 4
  %245 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %241, i64 noundef %244, i32 noundef %245)
  br label %246

246:                                              ; preds = %237, %3
  %247 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %247, ptr %10, align 4, !tbaa !9
  br label %266

248:                                              ; preds = %235
  store i32 0, ptr %10, align 4, !tbaa !9
  %249 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %249, ptr %5, align 4, !tbaa !9
  store i32 117789, ptr %11, align 4, !tbaa !9
  %250 = load i32, ptr %11, align 4, !tbaa !9
  %251 = load i32, ptr %10, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %10, align 4, !tbaa !9
  %253 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %253, ptr %11, align 4, !tbaa !9
  store i32 79572, ptr %12, align 4, !tbaa !9
  %254 = load i32, ptr %12, align 4, !tbaa !9
  %255 = load i32, ptr %11, align 4, !tbaa !9
  %256 = add i32 %255, %254
  store i32 %256, ptr %11, align 4, !tbaa !9
  store i32 74, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %257, ptr %13, align 4, !tbaa !9
  store i32 88407, ptr %14, align 4, !tbaa !9
  %258 = load i32, ptr %14, align 4, !tbaa !9
  %259 = load i32, ptr %13, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %13, align 4, !tbaa !9
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = load i32, ptr %10, align 4, !tbaa !9
  %263 = load i32, ptr %11, align 4, !tbaa !9
  %264 = load i32, ptr %12, align 4, !tbaa !9
  %265 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef %264, i32 noundef %265)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

266:                                              ; preds = %246
  %267 = load i32, ptr %10, align 4, !tbaa !9
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret i32 %267
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x3A0x3Aoperator0x3D0x28llvh0x3A0x3ASmallVectorImpl0x3Cchar0x3E0x20const0x260x29(ptr noundef %0, i32 noundef returned %1, i32 noundef %2) local_unnamed_addr #3 {
  %.not = icmp eq i32 %1, %2
  br i1 %.not, label %46, label %4

4:                                                ; preds = %3
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 4
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %9 = zext i32 %2 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  %.not152 = icmp ult i32 %8, %11
  br i1 %.not152, label %21, label %12

12:                                               ; preds = %4
  %.not155 = icmp eq i32 %11, 0
  br i1 %.not155, label %17, label %13

13:                                               ; preds = %12
  %14 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %15 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %9)
  %16 = tail call i32 @w2c_hermes_memmove(ptr noundef %0, i32 noundef %14, i32 noundef %15, i32 noundef %11) #4
  br label %17

17:                                               ; preds = %13, %12
  %18 = add nuw nsw i64 %6, 8
  %19 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %18)
  %.not156 = icmp ult i32 %19, %11
  br i1 %.not156, label %20, label %45

20:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 117789, i32 noundef 79572, i32 noundef 74, i32 noundef 88407) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

21:                                               ; preds = %4
  %22 = add nuw nsw i64 %6, 8
  %23 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %22)
  %24 = icmp ugt i32 %11, %23
  br i1 %24, label %25, label %27

25:                                               ; preds = %21
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %7, i32 noundef 0)
  %26 = add i32 %1, 12
  tail call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %1, i32 noundef %26, i32 noundef %11, i32 noundef 1)
  br label %32

27:                                               ; preds = %21
  %.not153 = icmp eq i32 %8, 0
  br i1 %.not153, label %32, label %28

28:                                               ; preds = %27
  %29 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %30 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %9)
  %31 = tail call i32 @w2c_hermes_memmove(ptr noundef %0, i32 noundef %29, i32 noundef %30, i32 noundef %8) #4
  br label %32

32:                                               ; preds = %27, %28, %25
  %.0 = phi i32 [ 0, %25 ], [ %8, %28 ], [ 0, %27 ]
  %33 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %10)
  %.not154 = icmp eq i32 %33, %.0
  br i1 %.not154, label %42, label %34

34:                                               ; preds = %32
  %35 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %6)
  %36 = add i32 %35, %.0
  %37 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %9)
  %38 = add i32 %37, %.0
  %39 = add i32 %37, %33
  %40 = sub i32 %39, %38
  %41 = tail call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %0, i32 noundef %36, i32 noundef %38, i32 noundef %40) #4
  br label %42

42:                                               ; preds = %34, %32
  %43 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %22)
  %44 = icmp ult i32 %43, %11
  br i1 %44, label %47, label %45

45:                                               ; preds = %42, %17
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %7, i32 noundef %11)
  br label %46

46:                                               ; preds = %45, %3
  ret i32 %1

47:                                               ; preds = %42
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 117789, i32 noundef 79572, i32 noundef 74, i32 noundef 88407) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { 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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass