; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

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

; 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) #3

; 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_load8_u(ptr noundef, i64 noundef) #1

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

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

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

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

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

54:                                               ; preds = %9
  %55 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %55, ptr %24, align 4, !tbaa !9
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %24, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = add i64 %59, 11
  %61 = call i32 @i32_load8_u(ptr noundef %57, i64 noundef %60)
  store i32 %61, ptr %24, align 4, !tbaa !9
  store i32 7, ptr %25, align 4, !tbaa !9
  %62 = load i32, ptr %25, align 4, !tbaa !9
  %63 = and i32 %62, 31
  %64 = load i32, ptr %24, align 4, !tbaa !9
  %65 = lshr i32 %64, %63
  store i32 %65, ptr %24, align 4, !tbaa !9
  %66 = load i32, ptr %24, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %75

68:                                               ; preds = %54
  %69 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %69, ptr %24, align 4, !tbaa !9
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %24, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = call i32 @i32_load(ptr noundef %71, i64 noundef %73)
  store i32 %74, ptr %24, align 4, !tbaa !9
  br label %77

75:                                               ; preds = %54
  %76 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %76, ptr %24, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %75, %68
  %78 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %78, ptr %20, align 4, !tbaa !9
  %79 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %79, ptr %24, align 4, !tbaa !9
  store i32 4, ptr %25, align 4, !tbaa !9
  %80 = load i32, ptr %25, align 4, !tbaa !9
  %81 = load i32, ptr %24, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %24, align 4, !tbaa !9
  %83 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %83, ptr %25, align 4, !tbaa !9
  %84 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %84, ptr %26, align 4, !tbaa !9
  store i32 1073741799, ptr %27, align 4, !tbaa !9
  %85 = load i32, ptr %26, align 4, !tbaa !9
  %86 = load i32, ptr %27, align 4, !tbaa !9
  %87 = icmp ult i32 %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %26, align 4, !tbaa !9
  %89 = load i32, ptr %26, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %213

91:                                               ; preds = %77
  %92 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %92, ptr %26, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %93, ptr %27, align 4, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !9
  %94 = load i32, ptr %28, align 4, !tbaa !9
  %95 = and i32 %94, 31
  %96 = load i32, ptr %27, align 4, !tbaa !9
  %97 = shl i32 %96, %95
  store i32 %97, ptr %27, align 4, !tbaa !9
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %26, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 12
  %103 = load i32, ptr %27, align 4, !tbaa !9
  call void @i32_store(ptr noundef %99, i64 noundef %102, i32 noundef %103)
  %104 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %104, ptr %26, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %105, ptr %27, align 4, !tbaa !9
  %106 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %106, ptr %28, align 4, !tbaa !9
  %107 = load i32, ptr %28, align 4, !tbaa !9
  %108 = load i32, ptr %27, align 4, !tbaa !9
  %109 = add i32 %108, %107
  store i32 %109, ptr %27, align 4, !tbaa !9
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %26, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 4
  %115 = load i32, ptr %27, align 4, !tbaa !9
  call void @i32_store(ptr noundef %111, i64 noundef %114, i32 noundef %115)
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 3
  %118 = load i32, ptr %117, align 8, !tbaa !11
  store i32 %118, ptr %26, align 4, !tbaa !9
  store i32 16, ptr %27, align 4, !tbaa !9
  %119 = load i32, ptr %27, align 4, !tbaa !9
  %120 = load i32, ptr %26, align 4, !tbaa !9
  %121 = sub i32 %120, %119
  store i32 %121, ptr %26, align 4, !tbaa !9
  %122 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %122, ptr %13, align 4, !tbaa !9
  %123 = load i32, ptr %26, align 4, !tbaa !9
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 3
  store i32 %123, ptr %125, align 8, !tbaa !11
  %126 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %126, ptr %26, align 4, !tbaa !9
  store i32 4, ptr %27, align 4, !tbaa !9
  %127 = load i32, ptr %27, align 4, !tbaa !9
  %128 = load i32, ptr %26, align 4, !tbaa !9
  %129 = add i32 %128, %127
  store i32 %129, ptr %26, align 4, !tbaa !9
  %130 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %130, ptr %21, align 4, !tbaa !9
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %26, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = call i32 @i32_load(ptr noundef %132, i64 noundef %134)
  store i32 %135, ptr %26, align 4, !tbaa !9
  %136 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %136, ptr %27, align 4, !tbaa !9
  store i32 12, ptr %28, align 4, !tbaa !9
  %137 = load i32, ptr %28, align 4, !tbaa !9
  %138 = load i32, ptr %27, align 4, !tbaa !9
  %139 = add i32 %138, %137
  store i32 %139, ptr %27, align 4, !tbaa !9
  %140 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %140, ptr %22, align 4, !tbaa !9
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %27, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = call i32 @i32_load(ptr noundef %142, i64 noundef %144)
  store i32 %145, ptr %27, align 4, !tbaa !9
  %146 = load i32, ptr %26, align 4, !tbaa !9
  %147 = load i32, ptr %27, align 4, !tbaa !9
  %148 = icmp ult i32 %146, %147
  %149 = zext i1 %148 to i32
  store i32 %149, ptr %26, align 4, !tbaa !9
  %150 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %150, ptr %23, align 4, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %151, ptr %26, align 4, !tbaa !9
  store i32 16, ptr %27, align 4, !tbaa !9
  %152 = load i32, ptr %27, align 4, !tbaa !9
  %153 = load i32, ptr %26, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %26, align 4, !tbaa !9
  %155 = load i32, ptr %26, align 4, !tbaa !9
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 3
  store i32 %155, ptr %157, align 8, !tbaa !11
  %158 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %158, ptr %26, align 4, !tbaa !9
  %159 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %159, ptr %27, align 4, !tbaa !9
  %160 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %160, ptr %28, align 4, !tbaa !9
  %161 = load i32, ptr %28, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %165

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

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

167:                                              ; preds = %165, %163
  %168 = phi i32 [ %164, %163 ], [ %166, %165 ]
  store i32 %168, ptr %26, align 4, !tbaa !9
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %26, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = call i32 @i32_load(ptr noundef %170, i64 noundef %172)
  store i32 %173, ptr %26, align 4, !tbaa !9
  %174 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %174, ptr %13, align 4, !tbaa !9
  store i32 11, ptr %27, align 4, !tbaa !9
  %175 = load i32, ptr %26, align 4, !tbaa !9
  %176 = load i32, ptr %27, align 4, !tbaa !9
  %177 = icmp uge i32 %175, %176
  %178 = zext i1 %177 to i32
  store i32 %178, ptr %26, align 4, !tbaa !9
  %179 = load i32, ptr %26, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %208

181:                                              ; preds = %167
  %182 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %182, ptr %26, align 4, !tbaa !9
  store i32 16, ptr %27, align 4, !tbaa !9
  %183 = load i32, ptr %27, align 4, !tbaa !9
  %184 = load i32, ptr %26, align 4, !tbaa !9
  %185 = add i32 %184, %183
  store i32 %185, ptr %26, align 4, !tbaa !9
  store i32 -16, ptr %27, align 4, !tbaa !9
  %186 = load i32, ptr %27, align 4, !tbaa !9
  %187 = load i32, ptr %26, align 4, !tbaa !9
  %188 = and i32 %187, %186
  store i32 %188, ptr %26, align 4, !tbaa !9
  %189 = load i32, ptr %26, align 4, !tbaa !9
  store i32 %189, ptr %13, align 4, !tbaa !9
  %190 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %190, ptr %27, align 4, !tbaa !9
  store i32 1, ptr %28, align 4, !tbaa !9
  %191 = load i32, ptr %28, align 4, !tbaa !9
  %192 = load i32, ptr %27, align 4, !tbaa !9
  %193 = sub i32 %192, %191
  store i32 %193, ptr %27, align 4, !tbaa !9
  %194 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %194, ptr %13, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %195, ptr %28, align 4, !tbaa !9
  store i32 11, ptr %29, align 4, !tbaa !9
  %196 = load i32, ptr %28, align 4, !tbaa !9
  %197 = load i32, ptr %29, align 4, !tbaa !9
  %198 = icmp eq i32 %196, %197
  %199 = zext i1 %198 to i32
  store i32 %199, ptr %28, align 4, !tbaa !9
  %200 = load i32, ptr %28, align 4, !tbaa !9
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %204

202:                                              ; preds = %181
  %203 = load i32, ptr %26, align 4, !tbaa !9
  br label %206

204:                                              ; preds = %181
  %205 = load i32, ptr %27, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %204, %202
  %207 = phi i32 [ %203, %202 ], [ %205, %204 ]
  store i32 %207, ptr %26, align 4, !tbaa !9
  br label %209

208:                                              ; preds = %167
  store i32 10, ptr %26, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %208, %206
  store i32 1, ptr %27, align 4, !tbaa !9
  %210 = load i32, ptr %27, align 4, !tbaa !9
  %211 = load i32, ptr %26, align 4, !tbaa !9
  %212 = add i32 %211, %210
  store i32 %212, ptr %26, align 4, !tbaa !9
  br label %214

213:                                              ; preds = %77
  store i32 2147483631, ptr %26, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %213, %209
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = load i32, ptr %24, align 4, !tbaa !9
  %217 = load i32, ptr %25, align 4, !tbaa !9
  %218 = load i32, ptr %26, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocation_result0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator_traits0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Apointer0x3E0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocate_at_least0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x28std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x260x2C0x20unsigned0x20long0x29(ptr noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef %218)
  %219 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %219, ptr %24, align 4, !tbaa !9
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.w2c_hermes, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %24, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = add i64 %223, 4
  %225 = call i32 @i32_load(ptr noundef %221, i64 noundef %224)
  store i32 %225, ptr %24, align 4, !tbaa !9
  %226 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %226, ptr %13, align 4, !tbaa !9
  %227 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %227, ptr %24, align 4, !tbaa !9
  %228 = load ptr, ptr %10, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %24, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 8
  %233 = call i32 @i32_load(ptr noundef %229, i64 noundef %232)
  store i32 %233, ptr %24, align 4, !tbaa !9
  %234 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %234, ptr %24, align 4, !tbaa !9
  %235 = load i32, ptr %24, align 4, !tbaa !9
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %245

237:                                              ; preds = %214
  %238 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %238, ptr %24, align 4, !tbaa !9
  %239 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %239, ptr %25, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %240, ptr %26, align 4, !tbaa !9
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = load i32, ptr %24, align 4, !tbaa !9
  %243 = load i32, ptr %25, align 4, !tbaa !9
  %244 = load i32, ptr %26, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %241, i32 noundef %242, i32 noundef %243, i32 noundef %244)
  br label %245

245:                                              ; preds = %237, %214
  %246 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %246, ptr %24, align 4, !tbaa !9
  %247 = load i32, ptr %24, align 4, !tbaa !9
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %261

249:                                              ; preds = %245
  %250 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %250, ptr %24, align 4, !tbaa !9
  %251 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %251, ptr %25, align 4, !tbaa !9
  %252 = load i32, ptr %25, align 4, !tbaa !9
  %253 = load i32, ptr %24, align 4, !tbaa !9
  %254 = add i32 %253, %252
  store i32 %254, ptr %24, align 4, !tbaa !9
  %255 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %255, ptr %25, align 4, !tbaa !9
  %256 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %256, ptr %26, align 4, !tbaa !9
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = load i32, ptr %24, align 4, !tbaa !9
  %259 = load i32, ptr %25, align 4, !tbaa !9
  %260 = load i32, ptr %26, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %257, i32 noundef %258, i32 noundef %259, i32 noundef %260)
  br label %261

261:                                              ; preds = %249, %245
  %262 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %262, ptr %24, align 4, !tbaa !9
  %263 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %263, ptr %25, align 4, !tbaa !9
  %264 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %264, ptr %26, align 4, !tbaa !9
  %265 = load i32, ptr %26, align 4, !tbaa !9
  %266 = load i32, ptr %25, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %25, align 4, !tbaa !9
  %268 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %268, ptr %21, align 4, !tbaa !9
  %269 = load i32, ptr %25, align 4, !tbaa !9
  %270 = load i32, ptr %24, align 4, !tbaa !9
  %271 = sub i32 %270, %269
  store i32 %271, ptr %24, align 4, !tbaa !9
  %272 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %272, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %273, ptr %24, align 4, !tbaa !9
  %274 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %274, ptr %25, align 4, !tbaa !9
  %275 = load i32, ptr %24, align 4, !tbaa !9
  %276 = load i32, ptr %25, align 4, !tbaa !9
  %277 = icmp ne i32 %275, %276
  %278 = zext i1 %277 to i32
  store i32 %278, ptr %24, align 4, !tbaa !9
  %279 = load i32, ptr %24, align 4, !tbaa !9
  %280 = icmp ne i32 %279, 0
  br i1 %280, label %281, label %305

281:                                              ; preds = %261
  %282 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %282, ptr %24, align 4, !tbaa !9
  %283 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %283, ptr %25, align 4, !tbaa !9
  %284 = load i32, ptr %25, align 4, !tbaa !9
  %285 = load i32, ptr %24, align 4, !tbaa !9
  %286 = add i32 %285, %284
  store i32 %286, ptr %24, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %287, ptr %25, align 4, !tbaa !9
  %288 = load i32, ptr %25, align 4, !tbaa !9
  %289 = load i32, ptr %24, align 4, !tbaa !9
  %290 = add i32 %289, %288
  store i32 %290, ptr %24, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %291, ptr %25, align 4, !tbaa !9
  %292 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %292, ptr %26, align 4, !tbaa !9
  %293 = load i32, ptr %26, align 4, !tbaa !9
  %294 = load i32, ptr %25, align 4, !tbaa !9
  %295 = add i32 %294, %293
  store i32 %295, ptr %25, align 4, !tbaa !9
  %296 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %296, ptr %26, align 4, !tbaa !9
  %297 = load i32, ptr %26, align 4, !tbaa !9
  %298 = load i32, ptr %25, align 4, !tbaa !9
  %299 = add i32 %298, %297
  store i32 %299, ptr %25, align 4, !tbaa !9
  %300 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %300, ptr %26, align 4, !tbaa !9
  %301 = load ptr, ptr %10, align 8, !tbaa !5
  %302 = load i32, ptr %24, align 4, !tbaa !9
  %303 = load i32, ptr %25, align 4, !tbaa !9
  %304 = load i32, ptr %26, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %301, i32 noundef %302, i32 noundef %303, i32 noundef %304)
  br label %305

305:                                              ; preds = %281, %261
  %306 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %306, ptr %24, align 4, !tbaa !9
  store i32 10, ptr %25, align 4, !tbaa !9
  %307 = load i32, ptr %24, align 4, !tbaa !9
  %308 = load i32, ptr %25, align 4, !tbaa !9
  %309 = icmp ne i32 %307, %308
  %310 = zext i1 %309 to i32
  store i32 %310, ptr %24, align 4, !tbaa !9
  %311 = load i32, ptr %24, align 4, !tbaa !9
  %312 = icmp ne i32 %311, 0
  br i1 %312, label %313, label %317

313:                                              ; preds = %305
  %314 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %314, ptr %24, align 4, !tbaa !9
  %315 = load ptr, ptr %10, align 8, !tbaa !5
  %316 = load i32, ptr %24, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %315, i32 noundef %316)
  br label %317

317:                                              ; preds = %313, %305
  %318 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %318, ptr %24, align 4, !tbaa !9
  %319 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %319, ptr %25, align 4, !tbaa !9
  %320 = load ptr, ptr %10, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %24, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store(ptr noundef %321, i64 noundef %323, i32 noundef %324)
  %325 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %325, ptr %24, align 4, !tbaa !9
  %326 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %326, ptr %25, align 4, !tbaa !9
  %327 = load ptr, ptr %10, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.w2c_hermes, ptr %327, i32 0, i32 6
  %329 = load i32, ptr %25, align 4, !tbaa !9
  %330 = zext i32 %329 to i64
  %331 = add i64 %330, 8
  %332 = call i32 @i32_load(ptr noundef %328, i64 noundef %331)
  store i32 %332, ptr %25, align 4, !tbaa !9
  store i32 -2147483648, ptr %26, align 4, !tbaa !9
  %333 = load i32, ptr %26, align 4, !tbaa !9
  %334 = load i32, ptr %25, align 4, !tbaa !9
  %335 = and i32 %334, %333
  store i32 %335, ptr %25, align 4, !tbaa !9
  %336 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %336, ptr %26, align 4, !tbaa !9
  %337 = load ptr, ptr %10, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.w2c_hermes, ptr %337, i32 0, i32 6
  %339 = load i32, ptr %26, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = add i64 %340, 8
  %342 = call i32 @i32_load(ptr noundef %338, i64 noundef %341)
  store i32 %342, ptr %26, align 4, !tbaa !9
  store i32 2147483647, ptr %27, align 4, !tbaa !9
  %343 = load i32, ptr %27, align 4, !tbaa !9
  %344 = load i32, ptr %26, align 4, !tbaa !9
  %345 = and i32 %344, %343
  store i32 %345, ptr %26, align 4, !tbaa !9
  %346 = load i32, ptr %26, align 4, !tbaa !9
  %347 = load i32, ptr %25, align 4, !tbaa !9
  %348 = or i32 %347, %346
  store i32 %348, ptr %25, align 4, !tbaa !9
  %349 = load ptr, ptr %10, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.w2c_hermes, ptr %349, i32 0, i32 6
  %351 = load i32, ptr %24, align 4, !tbaa !9
  %352 = zext i32 %351 to i64
  %353 = add i64 %352, 8
  %354 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store(ptr noundef %350, i64 noundef %353, i32 noundef %354)
  %355 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %355, ptr %24, align 4, !tbaa !9
  %356 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %356, ptr %25, align 4, !tbaa !9
  %357 = load ptr, ptr %10, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.w2c_hermes, ptr %357, i32 0, i32 6
  %359 = load i32, ptr %25, align 4, !tbaa !9
  %360 = zext i32 %359 to i64
  %361 = add i64 %360, 8
  %362 = call i32 @i32_load(ptr noundef %358, i64 noundef %361)
  store i32 %362, ptr %25, align 4, !tbaa !9
  store i32 -2147483648, ptr %26, align 4, !tbaa !9
  %363 = load i32, ptr %26, align 4, !tbaa !9
  %364 = load i32, ptr %25, align 4, !tbaa !9
  %365 = or i32 %364, %363
  store i32 %365, ptr %25, align 4, !tbaa !9
  %366 = load ptr, ptr %10, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.w2c_hermes, ptr %366, i32 0, i32 6
  %368 = load i32, ptr %24, align 4, !tbaa !9
  %369 = zext i32 %368 to i64
  %370 = add i64 %369, 8
  %371 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store(ptr noundef %367, i64 noundef %370, i32 noundef %371)
  %372 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %372, ptr %24, align 4, !tbaa !9
  %373 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %373, ptr %25, align 4, !tbaa !9
  %374 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %374, ptr %26, align 4, !tbaa !9
  %375 = load i32, ptr %26, align 4, !tbaa !9
  %376 = load i32, ptr %25, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %25, align 4, !tbaa !9
  %378 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %378, ptr %26, align 4, !tbaa !9
  %379 = load i32, ptr %26, align 4, !tbaa !9
  %380 = load i32, ptr %25, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %25, align 4, !tbaa !9
  %382 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %382, ptr %11, align 4, !tbaa !9
  %383 = load ptr, ptr %10, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.w2c_hermes, ptr %383, i32 0, i32 6
  %385 = load i32, ptr %24, align 4, !tbaa !9
  %386 = zext i32 %385 to i64
  %387 = add i64 %386, 4
  %388 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store(ptr noundef %384, i64 noundef %387, i32 noundef %388)
  %389 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %389, ptr %24, align 4, !tbaa !9
  store i32 0, ptr %25, align 4, !tbaa !9
  %390 = load ptr, ptr %10, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.w2c_hermes, ptr %390, i32 0, i32 6
  %392 = load i32, ptr %24, align 4, !tbaa !9
  %393 = zext i32 %392 to i64
  %394 = add i64 %393, 12
  %395 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %391, i64 noundef %394, i32 noundef %395)
  %396 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %396, ptr %24, align 4, !tbaa !9
  %397 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %397, ptr %25, align 4, !tbaa !9
  %398 = load i32, ptr %25, align 4, !tbaa !9
  %399 = load i32, ptr %24, align 4, !tbaa !9
  %400 = add i32 %399, %398
  store i32 %400, ptr %24, align 4, !tbaa !9
  %401 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %401, ptr %25, align 4, !tbaa !9
  %402 = load ptr, ptr %10, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.w2c_hermes, ptr %402, i32 0, i32 6
  %404 = load i32, ptr %25, align 4, !tbaa !9
  %405 = zext i32 %404 to i64
  %406 = add i64 %405, 12
  %407 = call i32 @i32_load8_u(ptr noundef %403, i64 noundef %406)
  store i32 %407, ptr %25, align 4, !tbaa !9
  %408 = load ptr, ptr %10, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.w2c_hermes, ptr %408, i32 0, i32 6
  %410 = load i32, ptr %24, align 4, !tbaa !9
  %411 = zext i32 %410 to i64
  %412 = load i32, ptr %25, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %409, i64 noundef %411, i32 noundef %412)
  %413 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %413, ptr %24, align 4, !tbaa !9
  store i32 16, ptr %25, align 4, !tbaa !9
  %414 = load i32, ptr %25, align 4, !tbaa !9
  %415 = load i32, ptr %24, align 4, !tbaa !9
  %416 = add i32 %415, %414
  store i32 %416, ptr %24, align 4, !tbaa !9
  %417 = load i32, ptr %24, align 4, !tbaa !9
  %418 = load ptr, ptr %10, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.w2c_hermes, ptr %418, i32 0, i32 3
  store i32 %417, ptr %419, align 8, !tbaa !11
  br label %422

420:                                              ; preds = %9
  %421 = load ptr, ptr %10, align 8, !tbaa !5
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %421)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

422:                                              ; preds = %317
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  ret void
}

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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fgrow_by_and_replace0x28unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20char0x20const0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #3 {
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = add i32 %11, -16
  store i32 %12, ptr %10, align 8, !tbaa !5
  %13 = sub i32 2147483630, %2
  %.not = icmp ult i32 %13, %3
  br i1 %.not, label %76, label %14

14:                                               ; preds = %9
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = zext i32 %1 to i64
  %17 = add nuw nsw i64 %16, 11
  %18 = tail call i32 @i32_load8_u(ptr noundef nonnull %15, i64 noundef %17)
  %.not244 = icmp ult i32 %18, 128
  br i1 %.not244, label %21, label %19

19:                                               ; preds = %14
  %20 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %16)
  br label %21

21:                                               ; preds = %14, %19
  %.0238 = phi i32 [ %20, %19 ], [ %1, %14 ]
  %22 = add i32 %11, -12
  %23 = icmp ult i32 %2, 1073741799
  br i1 %23, label %24, label %._crit_edge

._crit_edge:                                      ; preds = %21
  %.pre = zext i32 %12 to i64
  %.pre249 = add nuw nsw i64 %.pre, 4
  br label %43

24:                                               ; preds = %21
  %25 = shl nuw nsw i32 %2, 1
  %26 = zext i32 %12 to i64
  %27 = add nuw nsw i64 %26, 12
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %27, i32 noundef %25)
  %28 = add i32 %3, %2
  %29 = add nuw nsw i64 %26, 4
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %29, i32 noundef %28)
  %30 = load i32, ptr %10, align 8, !tbaa !5
  %31 = add i32 %30, -16
  store i32 %31, ptr %10, align 8, !tbaa !5
  %32 = zext i32 %22 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %32)
  %34 = add i32 %11, -4
  %35 = zext i32 %34 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %35)
  %37 = icmp ult i32 %33, %36
  store i32 %30, ptr %10, align 8, !tbaa !5
  %38 = select i1 %37, i32 %34, i32 %22
  %39 = zext i32 %38 to i64
  %40 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %39)
  %41 = or i32 %40, 15
  %42 = add i32 %41, 1
  %.inv = icmp ult i32 %40, 11
  %.0 = select i1 %.inv, i32 11, i32 %42
  br label %43

43:                                               ; preds = %._crit_edge, %24
  %.pre-phi250 = phi i64 [ %.pre249, %._crit_edge ], [ %29, %24 ]
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %26, %24 ]
  %.1 = phi i32 [ 2147483631, %._crit_edge ], [ %.0, %24 ]
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocation_result0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator_traits0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Apointer0x3E0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocate_at_least0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x28std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x260x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %22, i32 noundef %1, i32 noundef %.1)
  %44 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %.pre-phi250)
  %45 = add nuw nsw i64 %.pre-phi, 8
  %46 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %45)
  %.not245 = icmp eq i32 %5, 0
  br i1 %.not245, label %48, label %47

47:                                               ; preds = %43
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %.0238, i32 noundef %5)
  br label %48

48:                                               ; preds = %47, %43
  %.not246 = icmp eq i32 %7, 0
  br i1 %.not246, label %51, label %49

49:                                               ; preds = %48
  %50 = add i32 %44, %5
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %8, i32 noundef %7)
  br label %51

51:                                               ; preds = %49, %48
  %52 = add i32 %6, %5
  %53 = sub i32 %4, %52
  %.not247 = icmp eq i32 %52, %4
  br i1 %.not247, label %58, label %54

54:                                               ; preds = %51
  %55 = add i32 %7, %5
  %56 = add i32 %55, %44
  %57 = add i32 %52, %.0238
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %57, i32 noundef %53)
  br label %58

58:                                               ; preds = %54, %51
  %.not248 = icmp eq i32 %2, 10
  br i1 %.not248, label %60, label %59

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

60:                                               ; preds = %59, %58
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %16, i32 noundef %44)
  %61 = add nuw nsw i64 %16, 8
  %62 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %61)
  %63 = and i32 %62, -2147483648
  %64 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %45)
  %65 = and i32 %64, 2147483647
  %66 = or disjoint i32 %65, %63
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %61, i32 noundef %66)
  %67 = tail call i32 @i32_load(ptr noundef nonnull %15, i64 noundef %61)
  %68 = or i32 %67, -2147483648
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %61, i32 noundef %68)
  %69 = add i32 %7, %5
  %70 = add i32 %69, %53
  %71 = add nuw nsw i64 %16, 4
  tail call void @i32_store(ptr noundef nonnull %15, i64 noundef %71, i32 noundef %70)
  %72 = add nuw nsw i64 %.pre-phi, 12
  tail call void @i32_store8(ptr noundef nonnull %15, i64 noundef %72, i32 noundef 0)
  %73 = add i32 %44, %70
  %74 = tail call i32 @i32_load8_u(ptr noundef nonnull %15, i64 noundef %72)
  %75 = zext i32 %73 to i64
  tail call void @i32_store8(ptr noundef nonnull %15, i64 noundef %75, i32 noundef %74)
  store i32 %11, ptr %10, align 8, !tbaa !5
  ret void

76:                                               ; preds = %9
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef nonnull %0)
  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)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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