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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20llvh0x3A0x3ASmallVectorImpl0x3Cllvh0x3A0x3ASmallString0x3C24u0x3E0x3E0x3A0x3Aemplace_back0x3Cllvh0x3A0x3AStringRef0x20const0x260x3E0x28llvh0x3A0x3AStringRef0x20const0x260x29(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 i64, align 8
  %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
  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 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !11
  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
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %18 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %18, ptr %11, align 4, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.w2c_hermes, ptr %19, i32 0, i32 6
  %21 = load i32, ptr %11, align 4, !tbaa !9
  %22 = zext i32 %21 to i64
  %23 = add i64 %22, 4
  %24 = call i32 @i32_load(ptr noundef %20, i64 noundef %23)
  store i32 %24, ptr %11, align 4, !tbaa !9
  %25 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %25, ptr %7, align 4, !tbaa !9
  %26 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %26, ptr %12, align 4, !tbaa !9
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 6
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = add i64 %30, 8
  %32 = call i32 @i32_load(ptr noundef %28, i64 noundef %31)
  store i32 %32, ptr %12, align 4, !tbaa !9
  %33 = load i32, ptr %11, align 4, !tbaa !9
  %34 = load i32, ptr %12, align 4, !tbaa !9
  %35 = icmp uge i32 %33, %34
  %36 = zext i1 %35 to i32
  store i32 %36, ptr %11, align 4, !tbaa !9
  %37 = load i32, ptr %11, align 4, !tbaa !9
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %52

39:                                               ; preds = %3
  %40 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %40, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = load i32, ptr %11, align 4, !tbaa !9
  %43 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3ASmallVectorTemplateBase0x3Cllvh0x3A0x3ASmallString0x3C24u0x3E0x2C0x20false0x3E0x3A0x3Agrow0x28unsigned0x20long0x29(ptr noundef %41, i32 noundef %42, i32 noundef %43)
  %44 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %44, ptr %11, align 4, !tbaa !9
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = add i64 %48, 4
  %50 = call i32 @i32_load(ptr noundef %46, i64 noundef %49)
  store i32 %50, ptr %11, align 4, !tbaa !9
  %51 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %51, ptr %7, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %39, %3
  %53 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %53, ptr %11, align 4, !tbaa !9
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = call i64 @i64_load(ptr noundef %55, i64 noundef %57)
  store i64 %58, ptr %16, align 8, !tbaa !11
  %59 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %59, ptr %10, align 8, !tbaa !11
  %60 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %60, ptr %11, align 4, !tbaa !9
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %11, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = call i32 @i32_load(ptr noundef %62, i64 noundef %64)
  store i32 %65, ptr %11, align 4, !tbaa !9
  %66 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %66, ptr %12, align 4, !tbaa !9
  store i32 36, ptr %13, align 4, !tbaa !9
  %67 = load i32, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = mul i32 %68, %67
  store i32 %69, ptr %12, align 4, !tbaa !9
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %11, align 4, !tbaa !9
  %72 = add i32 %71, %70
  store i32 %72, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %7, align 4, !tbaa !9
  store i64 103079215104, ptr %17, align 8, !tbaa !11
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 4
  %79 = load i64, ptr %17, align 8, !tbaa !11
  call void @i64_store(ptr noundef %75, i64 noundef %78, i64 noundef %79)
  %80 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %80, ptr %11, align 4, !tbaa !9
  %81 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %81, ptr %12, align 4, !tbaa !9
  store i32 12, ptr %13, align 4, !tbaa !9
  %82 = load i32, ptr %13, align 4, !tbaa !9
  %83 = load i32, ptr %12, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %12, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %85, ptr %8, align 4, !tbaa !9
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %87, i64 noundef %89, i32 noundef %90)
  %91 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %91, ptr %16, align 8, !tbaa !11
  store i64 32, ptr %17, align 8, !tbaa !11
  %92 = load i64, ptr %17, align 8, !tbaa !11
  %93 = and i64 %92, 63
  %94 = load i64, ptr %16, align 8, !tbaa !11
  %95 = lshr i64 %94, %93
  store i64 %95, ptr %16, align 8, !tbaa !11
  %96 = load i64, ptr %16, align 8, !tbaa !11
  %97 = trunc i64 %96 to i32
  store i32 %97, ptr %11, align 4, !tbaa !9
  %98 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %98, ptr %6, align 4, !tbaa !9
  store i32 25, ptr %12, align 4, !tbaa !9
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = icmp uge i32 %99, %100
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %11, align 4, !tbaa !9
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %129

105:                                              ; preds = %52
  %106 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %106, ptr %11, align 4, !tbaa !9
  %107 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %107, ptr %12, align 4, !tbaa !9
  %108 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %108, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = load i32, ptr %13, align 4, !tbaa !9
  %113 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113)
  %114 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 4
  %120 = call i32 @i32_load(ptr noundef %116, i64 noundef %119)
  store i32 %120, ptr %11, align 4, !tbaa !9
  %121 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %121, ptr %9, align 4, !tbaa !9
  %122 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %122, ptr %11, align 4, !tbaa !9
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = call i32 @i32_load(ptr noundef %124, i64 noundef %126)
  store i32 %127, ptr %11, align 4, !tbaa !9
  %128 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %128, ptr %8, align 4, !tbaa !9
  br label %135

129:                                              ; preds = %52
  %130 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %130, ptr %11, align 4, !tbaa !9
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %134

133:                                              ; preds = %129
  br label %135

134:                                              ; preds = %129
  store i32 24, ptr %11, align 4, !tbaa !9
  br label %165

135:                                              ; preds = %133, %105
  %136 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %136, ptr %11, align 4, !tbaa !9
  %137 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %137, ptr %12, align 4, !tbaa !9
  %138 = load i32, ptr %12, align 4, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = add i32 %139, %138
  store i32 %140, ptr %11, align 4, !tbaa !9
  %141 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %141, ptr %17, align 8, !tbaa !11
  %142 = load i64, ptr %17, align 8, !tbaa !11
  %143 = trunc i64 %142 to i32
  store i32 %143, ptr %12, align 4, !tbaa !9
  %144 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %144, ptr %13, align 4, !tbaa !9
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = load i32, ptr %11, align 4, !tbaa !9
  %147 = load i32, ptr %12, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %145, i32 noundef %146, i32 noundef %147, i32 noundef %148)
  store i32 %149, ptr %11, align 4, !tbaa !9
  %150 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %150, ptr %11, align 4, !tbaa !9
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.w2c_hermes, ptr %151, i32 0, i32 6
  %153 = load i32, ptr %11, align 4, !tbaa !9
  %154 = zext i32 %153 to i64
  %155 = add i64 %154, 4
  %156 = call i32 @i32_load(ptr noundef %152, i64 noundef %155)
  store i32 %156, ptr %11, align 4, !tbaa !9
  %157 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %157, ptr %9, align 4, !tbaa !9
  %158 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %158, ptr %11, align 4, !tbaa !9
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %11, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 8
  %164 = call i32 @i32_load(ptr noundef %160, i64 noundef %163)
  store i32 %164, ptr %11, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %135, %134
  %166 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %166, ptr %8, align 4, !tbaa !9
  %167 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %167, ptr %12, align 4, !tbaa !9
  %168 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %168, ptr %13, align 4, !tbaa !9
  %169 = load i32, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %12, align 4, !tbaa !9
  %171 = add i32 %170, %169
  store i32 %171, ptr %12, align 4, !tbaa !9
  %172 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %172, ptr %6, align 4, !tbaa !9
  %173 = load i32, ptr %11, align 4, !tbaa !9
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = icmp uge i32 %173, %174
  %176 = zext i1 %175 to i32
  store i32 %176, ptr %11, align 4, !tbaa !9
  %177 = load i32, ptr %11, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %222

179:                                              ; preds = %165
  %180 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %180, ptr %11, align 4, !tbaa !9
  %181 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %181, ptr %12, align 4, !tbaa !9
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = add i64 %185, 4
  %187 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %183, i64 noundef %186, i32 noundef %187)
  %188 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %188, ptr %11, align 4, !tbaa !9
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %11, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 4
  %194 = call i32 @i32_load(ptr noundef %190, i64 noundef %193)
  store i32 %194, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %195 = load i32, ptr %12, align 4, !tbaa !9
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = add i32 %196, %195
  store i32 %197, ptr %11, align 4, !tbaa !9
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %7, align 4, !tbaa !9
  %199 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %199, ptr %12, align 4, !tbaa !9
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.w2c_hermes, ptr %200, i32 0, i32 6
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = add i64 %203, 8
  %205 = call i32 @i32_load(ptr noundef %201, i64 noundef %204)
  store i32 %205, ptr %12, align 4, !tbaa !9
  %206 = load i32, ptr %11, align 4, !tbaa !9
  %207 = load i32, ptr %12, align 4, !tbaa !9
  %208 = icmp ugt i32 %206, %207
  %209 = zext i1 %208 to i32
  store i32 %209, ptr %11, align 4, !tbaa !9
  %210 = load i32, ptr %11, align 4, !tbaa !9
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %179
  br label %240

213:                                              ; preds = %179
  %214 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %214, ptr %11, align 4, !tbaa !9
  %215 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %215, ptr %12, align 4, !tbaa !9
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %11, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = add i64 %219, 4
  %221 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %217, i64 noundef %220, i32 noundef %221)
  br label %258

222:                                              ; preds = %165
  store i32 0, ptr %11, align 4, !tbaa !9
  %223 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %223, ptr %7, align 4, !tbaa !9
  store i32 117789, ptr %12, align 4, !tbaa !9
  %224 = load i32, ptr %12, align 4, !tbaa !9
  %225 = load i32, ptr %11, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %11, align 4, !tbaa !9
  %227 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %227, ptr %12, align 4, !tbaa !9
  store i32 79572, ptr %13, align 4, !tbaa !9
  %228 = load i32, ptr %13, align 4, !tbaa !9
  %229 = load i32, ptr %12, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %12, align 4, !tbaa !9
  store i32 74, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %231, ptr %14, align 4, !tbaa !9
  store i32 88407, ptr %15, align 4, !tbaa !9
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = add i32 %233, %232
  store i32 %234, ptr %14, align 4, !tbaa !9
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = load i32, ptr %11, align 4, !tbaa !9
  %237 = load i32, ptr %12, align 4, !tbaa !9
  %238 = load i32, ptr %13, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %235, i32 noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

240:                                              ; preds = %212
  store i32 0, ptr %11, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %241, ptr %7, align 4, !tbaa !9
  store i32 117789, ptr %12, align 4, !tbaa !9
  %242 = load i32, ptr %12, align 4, !tbaa !9
  %243 = load i32, ptr %11, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %11, align 4, !tbaa !9
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %12, align 4, !tbaa !9
  store i32 79572, ptr %13, align 4, !tbaa !9
  %246 = load i32, ptr %13, align 4, !tbaa !9
  %247 = load i32, ptr %12, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %12, align 4, !tbaa !9
  store i32 74, ptr %13, align 4, !tbaa !9
  %249 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %249, ptr %14, align 4, !tbaa !9
  store i32 88407, ptr %15, align 4, !tbaa !9
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %14, align 4, !tbaa !9
  %253 = load ptr, ptr %4, align 8, !tbaa !5
  %254 = load i32, ptr %11, align 4, !tbaa !9
  %255 = load i32, ptr %12, align 4, !tbaa !9
  %256 = load i32, ptr %13, align 4, !tbaa !9
  %257 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

258:                                              ; preds = %213
  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 8, 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 void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_void0x20llvh0x3A0x3ASmallVectorImpl0x3Cllvh0x3A0x3ASmallString0x3C24u0x3E0x3E0x3A0x3Aemplace_back0x3Cllvh0x3A0x3AStringRef0x20const0x260x3E0x28llvh0x3A0x3AStringRef0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = zext i32 %1 to i64
  %6 = add nuw nsw i64 %5, 4
  %7 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  %8 = add nuw nsw i64 %5, 8
  %9 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %.not = icmp ult i32 %7, %9
  br i1 %.not, label %12, label %10

10:                                               ; preds = %3
  tail call void @w2c_hermes_llvh0x3A0x3ASmallVectorTemplateBase0x3Cllvh0x3A0x3ASmallString0x3C24u0x3E0x2C0x20false0x3E0x3A0x3Agrow0x28unsigned0x20long0x29(ptr noundef %0, i32 noundef %1, i32 noundef 0) #4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  br label %12

12:                                               ; preds = %10, %3
  %.0146 = phi i32 [ %11, %10 ], [ %7, %3 ]
  %13 = zext i32 %2 to i64
  %14 = tail call i64 @i64_load(ptr noundef nonnull %4, i64 noundef %13)
  %15 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %5)
  %16 = mul i32 %.0146, 36
  %17 = add i32 %15, %16
  %18 = zext i32 %17 to i64
  %19 = add nuw nsw i64 %18, 4
  tail call void @i64_store(ptr noundef nonnull %4, i64 noundef %19, i64 noundef 103079215104)
  %20 = add i32 %17, 12
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %18, i32 noundef %20)
  %21 = lshr i64 %14, 32
  %22 = trunc nuw i64 %21 to i32
  %23 = icmp ugt i64 %14, 107374182399
  br i1 %23, label %24, label %27

24:                                               ; preds = %12
  tail call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %17, i32 noundef %20, i32 noundef %22, i32 noundef 1) #4
  %25 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %19)
  %26 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %18)
  br label %28

27:                                               ; preds = %12
  %.not152 = icmp ult i64 %14, 4294967296
  br i1 %.not152, label %35, label %28

28:                                               ; preds = %27, %24
  %.0145 = phi i32 [ %26, %24 ], [ %20, %27 ]
  %.0144 = phi i32 [ %25, %24 ], [ 0, %27 ]
  %29 = add i32 %.0144, %.0145
  %30 = trunc i64 %14 to i32
  %31 = tail call i32 @w2c_hermes_0x5F_memcpy(ptr noundef %0, i32 noundef %29, i32 noundef %30, i32 noundef %22) #4
  %32 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %19)
  %33 = add nuw nsw i64 %18, 8
  %34 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %33)
  br label %35

35:                                               ; preds = %27, %28
  %.1 = phi i32 [ %32, %28 ], [ 0, %27 ]
  %.0 = phi i32 [ %34, %28 ], [ 24, %27 ]
  %36 = add i32 %.1, %22
  %.not153 = icmp ult i32 %.0, %36
  br i1 %.not153, label %43, label %37

37:                                               ; preds = %35
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %19, i32 noundef %36)
  %38 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %6)
  %39 = add i32 %38, 1
  %40 = tail call i32 @i32_load(ptr noundef nonnull %4, i64 noundef %8)
  %41 = icmp ugt i32 %39, %40
  br i1 %41, label %44, label %42

42:                                               ; preds = %37
  tail call void @i32_store(ptr noundef nonnull %4, i64 noundef %6, i32 noundef %39)
  ret void

43:                                               ; preds = %35
  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

44:                                               ; preds = %37
  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
}

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

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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass