; 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fget_pointer0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) #3

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

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

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

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

declare 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_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fbegin_lifetime0x5Babi0x3Av150070x5D0x28char0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef) #3

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

declare i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef, i32 noundef) #4

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

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

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

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

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

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

50:                                               ; preds = %8
  %51 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %51, ptr %20, align 4, !tbaa !9
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = load i32, ptr %20, align 4, !tbaa !9
  %54 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fget_pointer0x5Babi0x3Av150070x5D0x280x29(ptr noundef %52, i32 noundef %53)
  store i32 %54, ptr %20, align 4, !tbaa !9
  %55 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %55, ptr %19, align 4, !tbaa !9
  %56 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %57, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %58 = load i32, ptr %22, align 4, !tbaa !9
  %59 = and i32 %58, 31
  %60 = load i32, ptr %21, align 4, !tbaa !9
  %61 = lshr i32 %60, %59
  store i32 %61, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %62 = load i32, ptr %22, align 4, !tbaa !9
  %63 = load i32, ptr %21, align 4, !tbaa !9
  %64 = sub i32 %63, %62
  store i32 %64, ptr %21, align 4, !tbaa !9
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = load i32, ptr %21, align 4, !tbaa !9
  %67 = icmp ult i32 %65, %66
  %68 = zext i1 %67 to i32
  store i32 %68, ptr %20, align 4, !tbaa !9
  %69 = load i32, ptr %20, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %120

71:                                               ; preds = %50
  %72 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %72, ptr %20, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %74 = load i32, ptr %22, align 4, !tbaa !9
  %75 = and i32 %74, 31
  %76 = load i32, ptr %21, align 4, !tbaa !9
  %77 = shl i32 %76, %75
  store i32 %77, ptr %21, align 4, !tbaa !9
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.w2c_hermes, ptr %78, i32 0, i32 6
  %80 = load i32, ptr %20, align 4, !tbaa !9
  %81 = zext i32 %80 to i64
  %82 = add i64 %81, 12
  %83 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %79, i64 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %84, ptr %20, align 4, !tbaa !9
  %85 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %85, ptr %21, align 4, !tbaa !9
  %86 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %86, ptr %22, align 4, !tbaa !9
  %87 = load i32, ptr %22, align 4, !tbaa !9
  %88 = load i32, ptr %21, align 4, !tbaa !9
  %89 = add i32 %88, %87
  store i32 %89, ptr %21, align 4, !tbaa !9
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.w2c_hermes, ptr %90, i32 0, i32 6
  %92 = load i32, ptr %20, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = add i64 %93, 4
  %95 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %91, i64 noundef %94, i32 noundef %95)
  %96 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %96, ptr %20, align 4, !tbaa !9
  store i32 4, ptr %21, align 4, !tbaa !9
  %97 = load i32, ptr %21, align 4, !tbaa !9
  %98 = load i32, ptr %20, align 4, !tbaa !9
  %99 = add i32 %98, %97
  store i32 %99, ptr %20, align 4, !tbaa !9
  %100 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %100, ptr %21, align 4, !tbaa !9
  store i32 12, ptr %22, align 4, !tbaa !9
  %101 = load i32, ptr %22, align 4, !tbaa !9
  %102 = load i32, ptr %21, align 4, !tbaa !9
  %103 = add i32 %102, %101
  store i32 %103, ptr %21, align 4, !tbaa !9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = load i32, ptr %20, align 4, !tbaa !9
  %106 = load i32, ptr %21, align 4, !tbaa !9
  %107 = call i32 @w2c_hermes_unsigned0x20long0x20const0x260x20std0x3A0x3A_0x5F20x3A0x3Amax0x5Babi0x3Av150070x5D0x3Cunsigned0x20long0x3E0x28unsigned0x20long0x20const0x260x2C0x20unsigned0x20long0x20const0x260x29(ptr noundef %104, i32 noundef %105, i32 noundef %106)
  store i32 %107, ptr %20, align 4, !tbaa !9
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %20, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = call i32 @i32_load(ptr noundef %109, i64 noundef %111)
  store i32 %112, ptr %20, align 4, !tbaa !9
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load i32, ptr %20, align 4, !tbaa !9
  %115 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Frecommend0x5Babi0x3Av150070x5D0x28unsigned0x20long0x29(ptr noundef %113, i32 noundef %114)
  store i32 %115, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %116 = load i32, ptr %21, align 4, !tbaa !9
  %117 = load i32, ptr %20, align 4, !tbaa !9
  %118 = add i32 %117, %116
  store i32 %118, ptr %20, align 4, !tbaa !9
  %119 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %119, ptr %18, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %71, %50
  %121 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %121, ptr %20, align 4, !tbaa !9
  store i32 4, ptr %21, align 4, !tbaa !9
  %122 = load i32, ptr %21, align 4, !tbaa !9
  %123 = load i32, ptr %20, align 4, !tbaa !9
  %124 = add i32 %123, %122
  store i32 %124, ptr %20, align 4, !tbaa !9
  %125 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %125, ptr %21, align 4, !tbaa !9
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = load i32, ptr %21, align 4, !tbaa !9
  %128 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Falloc0x5Babi0x3Av150070x5D0x280x29(ptr noundef %126, i32 noundef %127)
  store i32 %128, ptr %21, align 4, !tbaa !9
  %129 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %129, ptr %22, align 4, !tbaa !9
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = load i32, ptr %20, align 4, !tbaa !9
  %132 = load i32, ptr %21, align 4, !tbaa !9
  %133 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocation_result0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator_traits0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Apointer0x3E0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocate_at_least0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x28std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x260x2C0x20unsigned0x20long0x29(ptr noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %133)
  %134 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %134, ptr %20, align 4, !tbaa !9
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %20, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 4
  %140 = call i32 @i32_load(ptr noundef %136, i64 noundef %139)
  store i32 %140, ptr %20, align 4, !tbaa !9
  %141 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %141, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %142, ptr %21, align 4, !tbaa !9
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.w2c_hermes, ptr %143, i32 0, i32 6
  %145 = load i32, ptr %21, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = add i64 %146, 8
  %148 = call i32 @i32_load(ptr noundef %144, i64 noundef %147)
  store i32 %148, ptr %21, align 4, !tbaa !9
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load i32, ptr %20, align 4, !tbaa !9
  %151 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fbegin_lifetime0x5Babi0x3Av150070x5D0x28char0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %149, i32 noundef %150, i32 noundef %151)
  %152 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %152, ptr %20, align 4, !tbaa !9
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fdebug_db_invalidate_all0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2A0x29(ptr noundef %153, i32 noundef %154)
  %155 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %155, ptr %20, align 4, !tbaa !9
  %156 = load i32, ptr %20, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %173

158:                                              ; preds = %120
  %159 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %159, ptr %20, align 4, !tbaa !9
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef %160, i32 noundef %161)
  store i32 %162, ptr %20, align 4, !tbaa !9
  %163 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %163, ptr %21, align 4, !tbaa !9
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = load i32, ptr %21, align 4, !tbaa !9
  %166 = call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef %164, i32 noundef %165)
  store i32 %166, ptr %21, align 4, !tbaa !9
  %167 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %167, ptr %22, align 4, !tbaa !9
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = load i32, ptr %20, align 4, !tbaa !9
  %170 = load i32, ptr %21, align 4, !tbaa !9
  %171 = load i32, ptr %22, align 4, !tbaa !9
  %172 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %168, i32 noundef %169, i32 noundef %170, i32 noundef %171)
  store i32 %172, ptr %20, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %158, %120
  %174 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %174, ptr %20, align 4, !tbaa !9
  %175 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %175, ptr %21, align 4, !tbaa !9
  %176 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %176, ptr %22, align 4, !tbaa !9
  %177 = load i32, ptr %22, align 4, !tbaa !9
  %178 = load i32, ptr %21, align 4, !tbaa !9
  %179 = add i32 %178, %177
  store i32 %179, ptr %21, align 4, !tbaa !9
  %180 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %180, ptr %12, align 4, !tbaa !9
  %181 = load i32, ptr %20, align 4, !tbaa !9
  %182 = load i32, ptr %21, align 4, !tbaa !9
  %183 = icmp ne i32 %181, %182
  %184 = zext i1 %183 to i32
  store i32 %184, ptr %20, align 4, !tbaa !9
  %185 = load i32, ptr %20, align 4, !tbaa !9
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %222

187:                                              ; preds = %173
  %188 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %188, ptr %20, align 4, !tbaa !9
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef %189, i32 noundef %190)
  store i32 %191, ptr %20, align 4, !tbaa !9
  %192 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %192, ptr %21, align 4, !tbaa !9
  %193 = load i32, ptr %21, align 4, !tbaa !9
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = add i32 %194, %193
  store i32 %195, ptr %20, align 4, !tbaa !9
  %196 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %196, ptr %21, align 4, !tbaa !9
  %197 = load i32, ptr %21, align 4, !tbaa !9
  %198 = load i32, ptr %20, align 4, !tbaa !9
  %199 = add i32 %198, %197
  store i32 %199, ptr %20, align 4, !tbaa !9
  %200 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %200, ptr %21, align 4, !tbaa !9
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = load i32, ptr %21, align 4, !tbaa !9
  %203 = call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef %201, i32 noundef %202)
  store i32 %203, ptr %21, align 4, !tbaa !9
  %204 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %204, ptr %22, align 4, !tbaa !9
  %205 = load i32, ptr %22, align 4, !tbaa !9
  %206 = load i32, ptr %21, align 4, !tbaa !9
  %207 = add i32 %206, %205
  store i32 %207, ptr %21, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %208, ptr %22, align 4, !tbaa !9
  %209 = load i32, ptr %22, align 4, !tbaa !9
  %210 = load i32, ptr %21, align 4, !tbaa !9
  %211 = add i32 %210, %209
  store i32 %211, ptr %21, align 4, !tbaa !9
  %212 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %212, ptr %22, align 4, !tbaa !9
  %213 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %213, ptr %23, align 4, !tbaa !9
  %214 = load i32, ptr %23, align 4, !tbaa !9
  %215 = load i32, ptr %22, align 4, !tbaa !9
  %216 = sub i32 %215, %214
  store i32 %216, ptr %22, align 4, !tbaa !9
  %217 = load ptr, ptr %9, align 8, !tbaa !5
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = load i32, ptr %21, align 4, !tbaa !9
  %220 = load i32, ptr %22, align 4, !tbaa !9
  %221 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %217, i32 noundef %218, i32 noundef %219, i32 noundef %220)
  store i32 %221, ptr %20, align 4, !tbaa !9
  br label %222

222:                                              ; preds = %187, %173
  %223 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %223, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %224 = load i32, ptr %21, align 4, !tbaa !9
  %225 = load i32, ptr %20, align 4, !tbaa !9
  %226 = add i32 %225, %224
  store i32 %226, ptr %20, align 4, !tbaa !9
  %227 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %227, ptr %11, align 4, !tbaa !9
  store i32 11, ptr %21, align 4, !tbaa !9
  %228 = load i32, ptr %20, align 4, !tbaa !9
  %229 = load i32, ptr %21, align 4, !tbaa !9
  %230 = icmp ne i32 %228, %229
  %231 = zext i1 %230 to i32
  store i32 %231, ptr %20, align 4, !tbaa !9
  %232 = load i32, ptr %20, align 4, !tbaa !9
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %245

234:                                              ; preds = %222
  %235 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %235, ptr %20, align 4, !tbaa !9
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = load i32, ptr %20, align 4, !tbaa !9
  %238 = call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Falloc0x5Babi0x3Av150070x5D0x280x29(ptr noundef %236, i32 noundef %237)
  store i32 %238, ptr %20, align 4, !tbaa !9
  %239 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %239, ptr %21, align 4, !tbaa !9
  %240 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %240, ptr %22, align 4, !tbaa !9
  %241 = load ptr, ptr %9, align 8, !tbaa !5
  %242 = load i32, ptr %20, align 4, !tbaa !9
  %243 = load i32, ptr %21, align 4, !tbaa !9
  %244 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aallocator_traits0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Adeallocate0x5Babi0x3Av150070x5D0x28std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x260x2C0x20char0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %241, i32 noundef %242, i32 noundef %243, i32 noundef %244)
  br label %245

245:                                              ; preds = %234, %222
  %246 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %246, ptr %20, align 4, !tbaa !9
  %247 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %247, ptr %21, align 4, !tbaa !9
  %248 = load ptr, ptr %9, align 8, !tbaa !5
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fset_long_pointer0x5Babi0x3Av150070x5D0x28char0x2A0x29(ptr noundef %248, i32 noundef %249, i32 noundef %250)
  %251 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %251, ptr %20, align 4, !tbaa !9
  %252 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %252, ptr %21, align 4, !tbaa !9
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 6
  %255 = load i32, ptr %21, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = add i64 %256, 8
  %258 = call i32 @i32_load(ptr noundef %254, i64 noundef %257)
  store i32 %258, ptr %21, align 4, !tbaa !9
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = load i32, ptr %20, align 4, !tbaa !9
  %261 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fset_long_cap0x5Babi0x3Av150070x5D0x28unsigned0x20long0x29(ptr noundef %259, i32 noundef %260, i32 noundef %261)
  %262 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %262, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %263 = load i32, ptr %21, align 4, !tbaa !9
  %264 = load i32, ptr %20, align 4, !tbaa !9
  %265 = add i32 %264, %263
  store i32 %265, ptr %20, align 4, !tbaa !9
  %266 = load i32, ptr %20, align 4, !tbaa !9
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 3
  store i32 %266, ptr %268, align 8, !tbaa !11
  br label %273

269:                                              ; preds = %8
  %270 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %270, ptr %20, align 4, !tbaa !9
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_length_error0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef %271, i32 noundef %272)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

273:                                              ; preds = %245
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #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 = { 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 = { "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: 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: nounwind uwtable
declare dso_local i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fget_pointer0x5Babi0x3Av150070x5D0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

declare 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_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fbegin_lifetime0x5Babi0x3Av150070x5D0x28char0x2A0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

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

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

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

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

14:                                               ; preds = %8
  %15 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fget_pointer0x5Babi0x3Av150070x5D0x280x29(ptr noundef nonnull %0, i32 noundef %1)
  %16 = lshr i32 %12, 1
  %17 = add nsw i32 %16, -16
  %18 = icmp ugt i32 %17, %2
  br i1 %18, label %19, label %._crit_edge

._crit_edge:                                      ; preds = %14
  %.pre = add i32 %10, -12
  %.pre177 = zext i32 %11 to i64
  %.pre179 = add nuw nsw i64 %.pre177, 4
  br label %33

19:                                               ; preds = %14
  %20 = shl i32 %2, 1
  %21 = getelementptr inbounds i8, ptr %0, i64 40
  %22 = zext i32 %11 to i64
  %23 = add nuw nsw i64 %22, 12
  tail call void @i32_store(ptr noundef nonnull %21, i64 noundef %23, i32 noundef %20)
  %24 = add i32 %3, %2
  %25 = add nuw nsw i64 %22, 4
  tail call void @i32_store(ptr noundef nonnull %21, i64 noundef %25, i32 noundef %24)
  %26 = add i32 %10, -12
  %27 = add i32 %10, -4
  %28 = tail call i32 @w2c_hermes_unsigned0x20long0x20const0x260x20std0x3A0x3A_0x5F20x3A0x3Amax0x5Babi0x3Av150070x5D0x3Cunsigned0x20long0x3E0x28unsigned0x20long0x20const0x260x2C0x20unsigned0x20long0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %27)
  %29 = zext i32 %28 to i64
  %30 = tail call i32 @i32_load(ptr noundef nonnull %21, i64 noundef %29)
  %31 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Frecommend0x5Babi0x3Av150070x5D0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %30)
  %32 = add i32 %31, 1
  br label %33

33:                                               ; preds = %._crit_edge, %19
  %.pre-phi180 = phi i64 [ %.pre179, %._crit_edge ], [ %25, %19 ]
  %.pre-phi178 = phi i64 [ %.pre177, %._crit_edge ], [ %22, %19 ]
  %.pre-phi = phi i32 [ %.pre, %._crit_edge ], [ %26, %19 ]
  %.0 = phi i32 [ %12, %._crit_edge ], [ %32, %19 ]
  %34 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Falloc0x5Babi0x3Av150070x5D0x280x29(ptr noundef nonnull %0, i32 noundef %1)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocation_result0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator_traits0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Apointer0x3E0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fallocate_at_least0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x28std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x260x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %.pre-phi, i32 noundef %34, i32 noundef %.0) #4
  %35 = getelementptr inbounds i8, ptr %0, i64 40
  %36 = tail call i32 @i32_load(ptr noundef nonnull %35, i64 noundef %.pre-phi180)
  %37 = add nuw nsw i64 %.pre-phi178, 8
  %38 = tail call i32 @i32_load(ptr noundef nonnull %35, i64 noundef %37)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fbegin_lifetime0x5Babi0x3Av150070x5D0x28char0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %36, i32 noundef %38)
  tail call void @w2c_hermes_void0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fdebug_db_invalidate_all0x5Babi0x3Av150070x5D0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x28std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x2A0x29(ptr noundef nonnull %0, i32 noundef %1)
  %.not174 = icmp eq i32 %5, 0
  br i1 %.not174, label %43, label %39

39:                                               ; preds = %33
  %40 = tail call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef nonnull %0, i32 noundef %36) #4
  %41 = tail call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef nonnull %0, i32 noundef %15) #4
  %42 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41, i32 noundef %5)
  br label %43

43:                                               ; preds = %39, %33
  %44 = add i32 %6, %5
  %.not175 = icmp eq i32 %44, %4
  br i1 %.not175, label %53, label %45

45:                                               ; preds = %43
  %46 = tail call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef nonnull %0, i32 noundef %36) #4
  %47 = add i32 %7, %5
  %48 = add i32 %47, %46
  %49 = tail call i32 @w2c_hermes_char0x2A0x20std0x3A0x3A_0x5F20x3A0x3A_0x5Fto_address0x5Babi0x3Av150070x5D0x3Cchar0x3E0x28char0x2A0x29(ptr noundef nonnull %0, i32 noundef %15) #4
  %50 = add i32 %44, %49
  %51 = sub i32 %4, %44
  %52 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x3A0x3Acopy0x28char0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %50, i32 noundef %51)
  br label %53

53:                                               ; preds = %45, %43
  %54 = add i32 %2, 1
  %.not176 = icmp eq i32 %54, 11
  br i1 %.not176, label %57, label %55

55:                                               ; preds = %53
  %56 = tail call i32 @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Falloc0x5Babi0x3Av150070x5D0x280x29(ptr noundef nonnull %0, i32 noundef %1)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Aallocator_traits0x3Cstd0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3Adeallocate0x5Babi0x3Av150070x5D0x28std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x260x2C0x20char0x2A0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %15, i32 noundef %54)
  br label %57

57:                                               ; preds = %55, %53
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fset_long_pointer0x5Babi0x3Av150070x5D0x28char0x2A0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %36)
  %58 = tail call i32 @i32_load(ptr noundef nonnull %35, i64 noundef %37)
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fset_long_cap0x5Babi0x3Av150070x5D0x28unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %58)
  store i32 %10, ptr %9, align 8, !tbaa !5
  ret void

59:                                               ; preds = %8
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3A0x3A_0x5Fthrow_length_error0x5Babi0x3Av150070x5D0x280x290x20const(ptr noundef nonnull %0, i32 noundef %1)
  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 = { 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 = { "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