; LLVM IR from thuhcsi/Crystal.TTVS :: TTVS/FapMandarin.ll (ZN7CSTHead11FapMandarin12generateFAPsEPKcPiS3_i)

; 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"

%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.CSTHead::HeadMovement::SyllableInfo" = type { %"struct.CSTHead::HeadMovement::PAD", i32, i32, i8, i32 }
%"struct.CSTHead::HeadMovement::PAD" = type { float, float, float }
%"class.CSTHead::FapTTVS" = type <{ %"class.XFace::IFapStream", i8, [7 x i8], i64, %"class.std::vector.0", i32, i32, i32, i32, i32, i32, [29 x %"struct.CSTHead::FapTTVS::FAP_DATA"], [7 x %"struct.CSTHead::FapTTVS::FAP_DATA"], [7 x float], i8, [3 x i8] }>
%"class.XFace::IFapStream" = type { ptr, %"class.std::vector", i16, float }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<float>, std::allocator<std::vector<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.CSTHead::FapTTVS::FAP_DATA" = type { [12 x i8], [68 x float] }

; 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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7CSTHead11FapMandarin15generateVisemesEPKcPKiS4_iRSt6vectorIiSaIiEERS5_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7CSTHead11FapMandarin12generateFAPsEPKcPiS3_i(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.5", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::vector.10", align 8
  %16 = alloca %"class.std::vector.5", align 8
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.CSTHead::HeadMovement::SyllableInfo", align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %21 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = load i32, ptr %10, align 4, !tbaa !9
  %26 = invoke noundef zeroext i1 @_ZN7CSTHead11FapMandarin15generateVisemesEPKcPKiS4_iRSt6vectorIiSaIiEERS5_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357) %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, i32 noundef %25, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %27 unwind label %53

27:                                               ; preds = %5
  %28 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS15mapVisemes2FAPsERSt6vectorIiSaIiEERS1_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357) %21, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %29 unwind label %53

29:                                               ; preds = %27
  %30 = getelementptr inbounds %"class.CSTHead::FapTTVS", ptr %21, i32 0, i32 4
  %31 = getelementptr inbounds %"class.CSTHead::FapTTVS", ptr %21, i32 0, i32 4
  %32 = call noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %33 = trunc i64 %32 to i32
  %34 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS10addEmotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357) %21, ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef 0, i32 noundef %33)
          to label %35 unwind label %53

35:                                               ; preds = %29
  %36 = getelementptr inbounds %"class.CSTHead::FapTTVS", ptr %21, i32 0, i32 4
  %37 = getelementptr inbounds %"class.CSTHead::FapTTVS", ptr %21, i32 0, i32 4
  %38 = call noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  %39 = trunc i64 %38 to i32
  %40 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS12addEyeMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357) %21, ptr noundef nonnull align 8 dereferenceable(24) %36, i32 noundef 0, i32 noundef %39)
          to label %41 unwind label %53

41:                                               ; preds = %35
  %42 = getelementptr inbounds %"class.CSTHead::FapTTVS", ptr %21, i32 0, i32 4
  %43 = getelementptr inbounds %"class.CSTHead::FapTTVS", ptr %21, i32 0, i32 4
  %44 = call noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  %45 = trunc i64 %44 to i32
  %46 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS19addHeadRandomMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357) %21, ptr noundef nonnull align 8 dereferenceable(24) %42, i32 noundef 0, i32 noundef %45)
          to label %47 unwind label %53

47:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store float 0.000000e+00, ptr %17, align 4, !tbaa !11
  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
  br label %48

48:                                               ; preds = %123, %47
  %49 = load i32, ptr %19, align 4, !tbaa !9
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %57, label %52

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %126

53:                                               ; preds = %41, %35, %29, %27, %5
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %13, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %14, align 4
  br label %134

57:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 28, ptr %20) #5
  %58 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 0
  %59 = getelementptr inbounds %"struct.CSTHead::HeadMovement::PAD", ptr %58, i32 0, i32 0
  store float 0.000000e+00, ptr %59, align 4, !tbaa !13
  %60 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 0
  %61 = getelementptr inbounds %"struct.CSTHead::HeadMovement::PAD", ptr %60, i32 0, i32 1
  store float 0.000000e+00, ptr %61, align 4, !tbaa !17
  %62 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 0
  %63 = getelementptr inbounds %"struct.CSTHead::HeadMovement::PAD", ptr %62, i32 0, i32 2
  store float 0.000000e+00, ptr %63, align 4, !tbaa !18
  %64 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 3
  store i8 0, ptr %64, align 4, !tbaa !19
  %65 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 4
  store i32 0, ptr %65, align 4, !tbaa !20
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = load i32, ptr %19, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds i32, ptr %66, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = sitofp i32 %70 to float
  %72 = fdiv float %71, 1.000000e+03
  %73 = getelementptr inbounds %"class.XFace::IFapStream", ptr %21, i32 0, i32 2
  %74 = load i16, ptr %73, align 8, !tbaa !21
  %75 = sext i16 %74 to i32
  %76 = sitofp i32 %75 to float
  %77 = load float, ptr %17, align 4, !tbaa !11
  %78 = call float @llvm.fmuladd.f32(float %72, float %76, float %77)
  store float %78, ptr %17, align 4, !tbaa !11
  %79 = load float, ptr %17, align 4, !tbaa !11
  %80 = fptosi float %79 to i32
  %81 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 1
  store i32 %80, ptr %81, align 4, !tbaa !28
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i32, ptr %19, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds i32, ptr %82, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = sitofp i32 %86 to float
  %88 = fdiv float %87, 1.000000e+03
  %89 = getelementptr inbounds %"class.XFace::IFapStream", ptr %21, i32 0, i32 2
  %90 = load i16, ptr %89, align 8, !tbaa !21
  %91 = sext i16 %90 to i32
  %92 = sitofp i32 %91 to float
  %93 = load float, ptr %17, align 4, !tbaa !11
  %94 = call float @llvm.fmuladd.f32(float %88, float %92, float %93)
  store float %94, ptr %17, align 4, !tbaa !11
  %95 = load float, ptr %17, align 4, !tbaa !11
  %96 = fptosi float %95 to i32
  %97 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 2
  store i32 %96, ptr %97, align 4, !tbaa !29
  %98 = load i32, ptr %19, align 4, !tbaa !9
  %99 = load i32, ptr %18, align 4, !tbaa !9
  %100 = add nsw i32 %99, 2
  %101 = icmp eq i32 %98, %100
  br i1 %101, label %102, label %108

102:                                              ; preds = %57
  %103 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 0
  %104 = getelementptr inbounds %"struct.CSTHead::HeadMovement::PAD", ptr %103, i32 0, i32 0
  store float 1.000000e+00, ptr %104, align 4, !tbaa !13
  %105 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 0
  %106 = getelementptr inbounds %"struct.CSTHead::HeadMovement::PAD", ptr %105, i32 0, i32 1
  store float 1.000000e+00, ptr %106, align 4, !tbaa !17
  %107 = getelementptr inbounds %"struct.CSTHead::HeadMovement::SyllableInfo", ptr %20, i32 0, i32 3
  store i8 1, ptr %107, align 4, !tbaa !19
  br label %108

108:                                              ; preds = %102, %57
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = srem i32 %109, 5
  %111 = icmp eq i32 %110, 4
  br i1 %111, label %112, label %121

112:                                              ; preds = %108
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %113 unwind label %117

113:                                              ; preds = %112
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %114 unwind label %117

114:                                              ; preds = %113
  %115 = load i32, ptr %19, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %18, align 4, !tbaa !9
  br label %121

117:                                              ; preds = %121, %113, %112
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %13, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 28, 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
  br label %133

121:                                              ; preds = %114, %108
  invoke void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(28) %20)
          to label %122 unwind label %117

122:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 28, ptr %20) #5
  br label %123

123:                                              ; preds = %122
  %124 = load i32, ptr %19, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %19, align 4, !tbaa !9
  br label %48, !llvm.loop !30

126:                                              ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  %127 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS23addHeadExpressiveMotionERKSt6vectorINS_12HeadMovement12SyllableInfoESaIS3_EERKS1_IiSaIiEE(ptr noundef nonnull align 8 dereferenceable(10357) %21, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %128 unwind label %129

128:                                              ; preds = %126
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  ret i1 true

129:                                              ; preds = %126
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %13, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %14, align 4
  br label %133

133:                                              ; preds = %129, %117
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %134

134:                                              ; preds = %133, %53
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %13, align 8
  %137 = load i32, ptr %14, align 4
  %138 = insertvalue { ptr, i32 } poison, ptr %136, 0
  %139 = insertvalue { ptr, i32 } %138, i32 %137, 1
  resume { ptr, i32 } %139
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS15mapVisemes2FAPsERSt6vectorIiSaIiEERS1_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS10addEmotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS12addEyeMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #3

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS19addHeadRandomMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(28)) #1 align 2

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS23addHeadExpressiveMotionERKSt6vectorINS_12HeadMovement12SyllableInfoESaIS3_EERKS1_IiSaIiEE(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTSN7CSTHead12HeadMovement12SyllableInfoE", !15, i64 0, !10, i64 12, !10, i64 16, !16, i64 20, !10, i64 24}
!15 = !{!"_ZTSN7CSTHead12HeadMovement3PADE", !12, i64 0, !12, i64 4, !12, i64 8}
!16 = !{!"bool", !7, i64 0}
!17 = !{!14, !12, i64 4}
!18 = !{!14, !12, i64 8}
!19 = !{!14, !16, i64 20}
!20 = !{!14, !10, i64 24}
!21 = !{!22, !27, i64 32}
!22 = !{!"_ZTSN5XFace10IFapStreamE", !23, i64 8, !27, i64 32, !12, i64 36}
!23 = !{!"_ZTSSt6vectorIfSaIfEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"short", !7, i64 0}
!28 = !{!14, !10, i64 12}
!29 = !{!14, !10, i64 16}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


; 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"

%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CSTHead::HeadMovement::SyllableInfo, std::allocator<CSTHead::HeadMovement::SyllableInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.CSTHead::HeadMovement::SyllableInfo" = type { %"struct.CSTHead::HeadMovement::PAD", i32, i32, i8, i32 }
%"struct.CSTHead::HeadMovement::PAD" = type { float, float, float }

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7CSTHead11FapMandarin15generateVisemesEPKcPKiS4_iRSt6vectorIiSaIiEERS5_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7CSTHead11FapMandarin12generateFAPsEPKcPiS3_i(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector.5", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector.10", align 8
  %9 = alloca %"class.std::vector.5", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.CSTHead::HeadMovement::SyllableInfo", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %13 = invoke noundef zeroext i1 @_ZN7CSTHead11FapMandarin15generateVisemesEPKcPKiS4_iRSt6vectorIiSaIiEERS5_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %14 unwind label %37

14:                                               ; preds = %5
  %15 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS15mapVisemes2FAPsERSt6vectorIiSaIiEERS1_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %16 unwind label %37

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 56
  %18 = call noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %19 = trunc i64 %18 to i32
  %20 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS10addEmotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef nonnull align 8 dereferenceable(24) %17, i32 noundef 0, i32 noundef %19)
          to label %21 unwind label %37

21:                                               ; preds = %16
  %22 = call noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %23 = trunc i64 %22 to i32
  %24 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS12addEyeMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef nonnull align 8 dereferenceable(24) %17, i32 noundef 0, i32 noundef %23)
          to label %25 unwind label %37

25:                                               ; preds = %21
  %26 = call noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  %27 = trunc i64 %26 to i32
  %28 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS19addHeadRandomMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef nonnull align 8 dereferenceable(24) %17, i32 noundef 0, i32 noundef %27)
          to label %29 unwind label %37

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  %30 = icmp sgt i32 %4, 0
  br i1 %30, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %29
  %31 = getelementptr inbounds i8, ptr %12, i64 8
  %32 = getelementptr inbounds i8, ptr %12, i64 20
  %33 = getelementptr inbounds i8, ptr %12, i64 24
  %34 = getelementptr inbounds i8, ptr %0, i64 32
  %35 = getelementptr inbounds i8, ptr %12, i64 12
  br label %39

._crit_edge:                                      ; preds = %71, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %36 = invoke noundef zeroext i1 @_ZN7CSTHead7FapTTVS23addHeadExpressiveMotionERKSt6vectorINS_12HeadMovement12SyllableInfoESaIS3_EERKS1_IiSaIiEE(ptr noundef nonnull align 8 dereferenceable(10357) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %75 unwind label %76

37:                                               ; preds = %25, %21, %16, %14, %5
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %79

39:                                               ; preds = %.lr.ph, %71
  %.019 = phi float [ 0.000000e+00, %.lr.ph ], [ %52, %71 ]
  %storemerge18 = phi i32 [ 0, %.lr.ph ], [ %73, %71 ]
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %12) #5
  store <2 x float> zeroinitializer, ptr %12, align 8, !tbaa !9
  store float 0.000000e+00, ptr %31, align 8, !tbaa !11
  store i8 0, ptr %32, align 4, !tbaa !15
  store i32 0, ptr %33, align 8, !tbaa !16
  %40 = sext i32 %storemerge18 to i64
  %41 = getelementptr inbounds i32, ptr %2, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = sitofp i32 %42 to float
  %44 = fdiv float %43, 1.000000e+03
  %45 = load i16, ptr %34, align 8, !tbaa !17
  %46 = sitofp i16 %45 to float
  %47 = getelementptr inbounds i32, ptr %3, i64 %40
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = sitofp i32 %48 to float
  %50 = fdiv float %49, 1.000000e+03
  %51 = call float @llvm.fmuladd.f32(float %44, float %46, float %.019)
  %52 = call float @llvm.fmuladd.f32(float %50, float %46, float %51)
  %53 = insertelement <2 x float> poison, float %51, i64 0
  %54 = insertelement <2 x float> %53, float %52, i64 1
  %55 = fptosi <2 x float> %54 to <2 x i32>
  store <2 x i32> %55, ptr %35, align 4, !tbaa !5
  %56 = load i32, ptr %10, align 4, !tbaa !5
  %57 = add nsw i32 %56, 2
  %58 = icmp eq i32 %storemerge18, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %39
  store <2 x float> <float 1.000000e+00, float 1.000000e+00>, ptr %12, align 8, !tbaa !9
  store i8 1, ptr %32, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %59, %39
  %61 = srem i32 %storemerge18, 5
  %62 = icmp eq i32 %61, 4
  br i1 %62, label %63, label %70

63:                                               ; preds = %60
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %64 unwind label %68

64:                                               ; preds = %63
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %65 unwind label %68

65:                                               ; preds = %64
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %10, align 4, !tbaa !5
  br label %70

68:                                               ; preds = %70, %64, %63
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %78

70:                                               ; preds = %65, %60
  invoke void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(28) %12)
          to label %71 unwind label %68

71:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %12) #5
  %72 = load i32, ptr %11, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %11, align 4, !tbaa !5
  %74 = icmp slt i32 %73, %4
  br i1 %74, label %39, label %._crit_edge, !llvm.loop !25

75:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  ret i1 true

76:                                               ; preds = %._crit_edge
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %78

78:                                               ; preds = %76, %68
  %.pn = phi { ptr, i32 } [ %69, %68 ], [ %77, %76 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %79

79:                                               ; preds = %78, %37
  %.pn.pn = phi { ptr, i32 } [ %.pn, %78 ], [ %38, %37 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS15mapVisemes2FAPsERSt6vectorIiSaIiEERS1_IfSaIfEE(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS10addEmotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIS_IfSaIfEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS12addEyeMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS19addHeadRandomMotionERSt6vectorIS1_IfSaIfEESaIS3_EEii(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZN7CSTHead7FapTTVS23addHeadExpressiveMotionERKSt6vectorINS_12HeadMovement12SyllableInfoESaIS3_EERKS1_IiSaIiEE(ptr noundef nonnull align 8 dereferenceable(10357), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7CSTHead12HeadMovement12SyllableInfoESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN7CSTHead12HeadMovement12SyllableInfoE", !13, i64 0, !6, i64 12, !6, i64 16, !14, i64 20, !6, i64 24}
!13 = !{!"_ZTSN7CSTHead12HeadMovement3PADE", !10, i64 0, !10, i64 4, !10, i64 8}
!14 = !{!"bool", !7, i64 0}
!15 = !{!12, !14, i64 20}
!16 = !{!12, !6, i64 24}
!17 = !{!18, !24, i64 32}
!18 = !{!"_ZTSN5XFace10IFapStreamE", !19, i64 8, !24, i64 32, !10, i64 36}
!19 = !{!"_ZTSSt6vectorIfSaIfEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!23 = !{!"any pointer", !7, i64 0}
!24 = !{!"short", !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass