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

53:                                               ; preds = %3
  store i32 10, ptr %10, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %54, ptr %6, align 4, !tbaa !9
  %55 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.w2c_hermes, ptr %56, i32 0, i32 6
  %58 = load i32, ptr %10, 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 %10, align 4, !tbaa !9
  store i32 127, ptr %11, align 4, !tbaa !9
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = and i32 %63, %62
  store i32 %64, ptr %10, align 4, !tbaa !9
  br label %87

65:                                               ; preds = %3
  %66 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %66, ptr %10, align 4, !tbaa !9
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 8
  %72 = call i32 @i32_load(ptr noundef %68, i64 noundef %71)
  store i32 %72, ptr %10, align 4, !tbaa !9
  store i32 2147483647, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = and i32 %74, %73
  store i32 %75, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = load i32, ptr %10, align 4, !tbaa !9
  %78 = sub i32 %77, %76
  store i32 %78, ptr %10, align 4, !tbaa !9
  %79 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %79, ptr %6, align 4, !tbaa !9
  %80 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %80, ptr %10, align 4, !tbaa !9
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 4
  %86 = call i32 @i32_load(ptr noundef %82, i64 noundef %85)
  store i32 %86, ptr %10, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %65, %53
  %88 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %88, ptr %8, align 4, !tbaa !9
  %89 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %89, ptr %11, align 4, !tbaa !9
  %90 = load i32, ptr %10, align 4, !tbaa !9
  %91 = load i32, ptr %11, align 4, !tbaa !9
  %92 = icmp eq i32 %90, %91
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %10, align 4, !tbaa !9
  %94 = load i32, ptr %10, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %131

96:                                               ; preds = %87
  %97 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %97, ptr %10, align 4, !tbaa !9
  %98 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %98, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %99 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %99, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %100, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = load i32, ptr %12, align 4, !tbaa !9
  %105 = load i32, ptr %13, align 4, !tbaa !9
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fgrow_by0x28unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108)
  %109 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %109, ptr %10, align 4, !tbaa !9
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = add i64 %113, 11
  %115 = call i32 @i32_load8_u(ptr noundef %111, i64 noundef %114)
  store i32 %115, ptr %10, align 4, !tbaa !9
  store i32 7, ptr %11, align 4, !tbaa !9
  %116 = load i32, ptr %11, align 4, !tbaa !9
  %117 = and i32 %116, 31
  %118 = load i32, ptr %10, align 4, !tbaa !9
  %119 = lshr i32 %118, %117
  store i32 %119, ptr %10, align 4, !tbaa !9
  %120 = load i32, ptr %10, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %129

122:                                              ; preds = %96
  %123 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %123, ptr %10, align 4, !tbaa !9
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = call i32 @i32_load(ptr noundef %125, i64 noundef %127)
  store i32 %128, ptr %10, align 4, !tbaa !9
  br label %130

129:                                              ; preds = %96
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %129, %122
  br label %201

131:                                              ; preds = %87
  %132 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %132, ptr %10, align 4, !tbaa !9
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %10, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = add i64 %136, 11
  %138 = call i32 @i32_load8_u(ptr noundef %134, i64 noundef %137)
  store i32 %138, ptr %10, align 4, !tbaa !9
  store i32 7, ptr %11, align 4, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = and i32 %139, 31
  %141 = load i32, ptr %10, align 4, !tbaa !9
  %142 = lshr i32 %141, %140
  store i32 %142, ptr %10, align 4, !tbaa !9
  %143 = load i32, ptr %10, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %152

145:                                              ; preds = %131
  %146 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %146, ptr %10, align 4, !tbaa !9
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %10, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = call i32 @i32_load(ptr noundef %148, i64 noundef %150)
  store i32 %151, ptr %10, align 4, !tbaa !9
  br label %153

152:                                              ; preds = %131
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %153

153:                                              ; preds = %152, %145
  %154 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %154, ptr %10, align 4, !tbaa !9
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %158

157:                                              ; preds = %153
  br label %201

158:                                              ; preds = %153
  %159 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  %160 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %160, ptr %6, align 4, !tbaa !9
  %161 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %161, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %162 = load i32, ptr %12, align 4, !tbaa !9
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = add i32 %163, %162
  store i32 %164, ptr %11, align 4, !tbaa !9
  %165 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %165, ptr %12, align 4, !tbaa !9
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %12, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = add i64 %169, 11
  %171 = call i32 @i32_load8_u(ptr noundef %167, i64 noundef %170)
  store i32 %171, ptr %12, align 4, !tbaa !9
  store i32 128, ptr %13, align 4, !tbaa !9
  %172 = load i32, ptr %13, align 4, !tbaa !9
  %173 = load i32, ptr %12, align 4, !tbaa !9
  %174 = and i32 %173, %172
  store i32 %174, ptr %12, align 4, !tbaa !9
  %175 = load i32, ptr %12, align 4, !tbaa !9
  %176 = load i32, ptr %11, align 4, !tbaa !9
  %177 = or i32 %176, %175
  store i32 %177, ptr %11, align 4, !tbaa !9
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.w2c_hermes, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %10, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = add i64 %181, 11
  %183 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %179, i64 noundef %182, i32 noundef %183)
  %184 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %184, ptr %10, align 4, !tbaa !9
  %185 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %185, ptr %11, align 4, !tbaa !9
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %11, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = add i64 %189, 11
  %191 = call i32 @i32_load8_u(ptr noundef %187, i64 noundef %190)
  store i32 %191, ptr %11, align 4, !tbaa !9
  store i32 127, ptr %12, align 4, !tbaa !9
  %192 = load i32, ptr %12, align 4, !tbaa !9
  %193 = load i32, ptr %11, align 4, !tbaa !9
  %194 = and i32 %193, %192
  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 %10, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = add i64 %198, 11
  %200 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %196, i64 noundef %199, i32 noundef %200)
  br label %220

201:                                              ; preds = %157, %130
  %202 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %202, ptr %10, align 4, !tbaa !9
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %10, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = call i32 @i32_load(ptr noundef %204, i64 noundef %206)
  store i32 %207, ptr %10, align 4, !tbaa !9
  %208 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %208, ptr %6, align 4, !tbaa !9
  %209 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %209, ptr %10, align 4, !tbaa !9
  %210 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %210, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %211 = load i32, ptr %12, align 4, !tbaa !9
  %212 = load i32, ptr %11, align 4, !tbaa !9
  %213 = add i32 %212, %211
  store i32 %213, ptr %11, align 4, !tbaa !9
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %10, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = add i64 %217, 4
  %219 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %215, i64 noundef %218, i32 noundef %219)
  br label %220

220:                                              ; preds = %201, %158
  %221 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %221, ptr %10, align 4, !tbaa !9
  %222 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %222, ptr %11, align 4, !tbaa !9
  %223 = load i32, ptr %11, align 4, !tbaa !9
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = add i32 %224, %223
  store i32 %225, ptr %10, align 4, !tbaa !9
  %226 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %226, ptr %5, align 4, !tbaa !9
  %227 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %227, ptr %11, align 4, !tbaa !9
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %11, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 15
  %233 = call i32 @i32_load8_u(ptr noundef %229, i64 noundef %232)
  store i32 %233, ptr %11, align 4, !tbaa !9
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %10, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %235, i64 noundef %237, i32 noundef %238)
  %239 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %239, ptr %10, align 4, !tbaa !9
  store i32 0, 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, 14
  %245 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %241, i64 noundef %244, i32 noundef %245)
  %246 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %246, ptr %10, align 4, !tbaa !9
  %247 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %247, ptr %11, align 4, !tbaa !9
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %11, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 14
  %253 = call i32 @i32_load8_u(ptr noundef %249, i64 noundef %252)
  store i32 %253, ptr %11, align 4, !tbaa !9
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %10, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = add i64 %257, 1
  %259 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %255, i64 noundef %258, i32 noundef %259)
  %260 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %260, ptr %10, align 4, !tbaa !9
  store i32 16, ptr %11, align 4, !tbaa !9
  %261 = load i32, ptr %11, align 4, !tbaa !9
  %262 = load i32, ptr %10, align 4, !tbaa !9
  %263 = add i32 %262, %261
  store i32 %263, ptr %10, align 4, !tbaa !9
  %264 = load i32, ptr %10, align 4, !tbaa !9
  %265 = load ptr, ptr %4, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.w2c_hermes, ptr %265, i32 0, i32 3
  store i32 %264, ptr %266, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  ret void
}

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

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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !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: 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
define dso_local void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Apush_back0x28char0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -16
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %6 to i64
  %9 = add nuw nsw i64 %8, 15
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %9, i32 noundef %2)
  %10 = zext i32 %1 to i64
  %11 = add nuw nsw i64 %10, 11
  %12 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %11)
  %.not = icmp ult i32 %12, 128
  br i1 %.not, label %13, label %16

13:                                               ; preds = %3
  %14 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %11)
  %15 = and i32 %14, 127
  br label %23

16:                                               ; preds = %3
  %17 = add nuw nsw i64 %10, 8
  %18 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %17)
  %19 = and i32 %18, 2147483647
  %20 = add nsw i32 %19, -1
  %21 = add nuw nsw i64 %10, 4
  %22 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %21)
  br label %23

23:                                               ; preds = %16, %13
  %.0134 = phi i32 [ %15, %13 ], [ %22, %16 ]
  %.0 = phi i32 [ 10, %13 ], [ %20, %16 ]
  %24 = icmp eq i32 %.0134, %.0
  br i1 %24, label %25, label %29

25:                                               ; preds = %23
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fgrow_by0x28unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.0134, i32 noundef 1, i32 noundef %.0134, i32 noundef %.0134, i32 noundef 0, i32 noundef 0)
  %26 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %11)
  %.not136 = icmp ult i32 %26, 128
  br i1 %.not136, label %41, label %27

27:                                               ; preds = %25
  %28 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %10)
  br label %41

29:                                               ; preds = %23
  %30 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %11)
  %.not135 = icmp ult i32 %30, 128
  br i1 %.not135, label %33, label %31

31:                                               ; preds = %29
  %32 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %10)
  br label %33

33:                                               ; preds = %29, %31
  br i1 %.not, label %34, label %41

34:                                               ; preds = %33
  %35 = add i32 %.0134, 1
  %36 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %11)
  %37 = and i32 %36, 128
  %38 = or i32 %37, %35
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %11, i32 noundef %38)
  %39 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %11)
  %40 = and i32 %39, 127
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %11, i32 noundef %40)
  br label %45

41:                                               ; preds = %25, %33, %27
  %42 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %10)
  %43 = add i32 %.0134, 1
  %44 = add nuw nsw i64 %10, 4
  tail call void @i32_store(ptr noundef nonnull %7, i64 noundef %44, i32 noundef %43)
  br label %45

45:                                               ; preds = %41, %34
  %.1 = phi i32 [ %42, %41 ], [ %1, %34 ]
  %46 = add i32 %.1, %.0134
  %47 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %9)
  %48 = zext i32 %46 to i64
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %48, i32 noundef %47)
  %49 = add nuw nsw i64 %8, 14
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %49, i32 noundef 0)
  %50 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %49)
  %51 = add nuw nsw i64 %48, 1
  tail call void @i32_store8(ptr noundef nonnull %7, i64 noundef %51, i32 noundef %50)
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret void
}

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

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

!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