; LLVM IR from gem5/gem5 :: ext/mcpat/core.ll (ZN7MemManU16set_params_statsEv)

; 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.MemManU = type <{ %class.McPATComponent, ptr, ptr, %class.InputParameter, %class.CoreParameters, %class.CoreStatistics, %class.MemoryManagementParams, %class.MemoryManagementStats, double, double, double, i8, [7 x i8] }>
%class.McPATComponent = type { ptr, %class.Component, ptr, %class.InputParameter, %"class.std::__cxx11::basic_string", double, %"class.std::vector", %class.McPATOutput, %class.statsDef, %class.statsDef, %class.powerDef, %class.powerDef }
%class.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.McPATOutput = type { double, double, double, double, double, double }
%class.statsDef = type { %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents }
%class.statsComponents = type { double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.InputParameter = type { i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i8, i8, i32, i32, i8, double, double, i8, i32, i32, i8 }
%class.CoreParameters = type { i8, i8, i8, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i8, i8, [4 x double], i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, double, double }
%class.CoreStatistics = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%class.MemoryManagementParams = type { i32, double, double, i32, i32, i32, double, double, i32, i32 }
%class.MemoryManagementStats = type { double, double, double, double, double, double, double, double }

@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [13 x i8], align 1

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

declare noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

declare noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) #1

declare noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) #1

declare void @_ZN14McPATComponent24warnMissingComponentTypeEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @_ZN14McPATComponent20warnMissingParamNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

declare void @_ZN14McPATComponent21warnUnrecognizedParamEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) #1

declare void @_ZN14McPATComponent19warnMissingStatNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

declare void @_ZN14McPATComponent20warnUnrecognizedStatEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7MemManU16set_params_statsEv(ptr noundef nonnull align 8 dereferenceable(2761) %0) #5 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8
  %24 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  %25 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %26 = getelementptr inbounds %class.McPATComponent, ptr %23, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef @.str.1)
  store i32 %28, ptr %3, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !30
  br label %29

29:                                               ; preds = %341, %1
  %30 = load i32, ptr %4, align 4, !tbaa !30
  %31 = load i32, ptr %3, align 4, !tbaa !30
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %33, label %344

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %34 = getelementptr inbounds %class.McPATComponent, ptr %23, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef @.str.1, ptr noundef %4)
  store ptr %36, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef @.str.2, ptr noundef null)
  store ptr %38, ptr %6, align 8, !tbaa !5
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %44, label %41

41:                                               ; preds = %33
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent24warnMissingComponentTypeEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %43)
  br label %340

44:                                               ; preds = %33
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = call i32 @strcmp(ptr noundef %45, ptr noundef @.str.58) #7
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %181

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @.str.14)
  store i32 %50, ptr %7, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !30
  br label %51

51:                                               ; preds = %122, %48
  %52 = load i32, ptr %8, align 4, !tbaa !30
  %53 = load i32, ptr %7, align 4, !tbaa !30
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %55, label %125

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef @.str.14, ptr noundef %8)
  store ptr %57, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef @.str.5, ptr noundef null)
  store ptr %59, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @.str.15, ptr noundef null)
  store ptr %61, ptr %11, align 8, !tbaa !5
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %67, label %64

64:                                               ; preds = %55
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent20warnMissingParamNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %66)
  br label %121

67:                                               ; preds = %55
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = call i32 @strcmp(ptr noundef %68, ptr noundef @.str.59) #7
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %76

71:                                               ; preds = %67
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = call i32 @atoi(ptr noundef %72) #7
  %74 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %75 = getelementptr inbounds %class.MemoryManagementParams, ptr %74, i32 0, i32 0
  store i32 %73, ptr %75, align 8, !tbaa !31
  br label %120

76:                                               ; preds = %67
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = call i32 @strcmp(ptr noundef %77, ptr noundef @.str.20) #7
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %80, label %85

80:                                               ; preds = %76
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = call double @atof(ptr noundef %81) #7
  %83 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %84 = getelementptr inbounds %class.MemoryManagementParams, ptr %83, i32 0, i32 1
  store double %82, ptr %84, align 8, !tbaa !40
  br label %119

85:                                               ; preds = %76
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = call i32 @strcmp(ptr noundef %86, ptr noundef @.str.21) #7
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %94

89:                                               ; preds = %85
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = call double @atof(ptr noundef %90) #7
  %92 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %93 = getelementptr inbounds %class.MemoryManagementParams, ptr %92, i32 0, i32 2
  store double %91, ptr %93, align 8, !tbaa !41
  br label %118

94:                                               ; preds = %85
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = call i32 @strcmp(ptr noundef %95, ptr noundef @.str.18) #7
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %104

98:                                               ; preds = %94
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = call double @atof(ptr noundef %99) #7
  %101 = fptosi double %100 to i32
  %102 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %103 = getelementptr inbounds %class.MemoryManagementParams, ptr %102, i32 0, i32 3
  store i32 %101, ptr %103, align 8, !tbaa !42
  br label %117

104:                                              ; preds = %94
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = call i32 @strcmp(ptr noundef %105, ptr noundef @.str.33) #7
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %114

108:                                              ; preds = %104
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = call double @atof(ptr noundef %109) #7
  %111 = fptosi double %110 to i32
  %112 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %113 = getelementptr inbounds %class.MemoryManagementParams, ptr %112, i32 0, i32 4
  store i32 %111, ptr %113, align 4, !tbaa !43
  br label %116

114:                                              ; preds = %104
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN14McPATComponent21warnUnrecognizedParamEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %115)
  br label %116

116:                                              ; preds = %114, %108
  br label %117

117:                                              ; preds = %116, %98
  br label %118

118:                                              ; preds = %117, %89
  br label %119

119:                                              ; preds = %118, %80
  br label %120

120:                                              ; preds = %119, %71
  br label %121

121:                                              ; preds = %120, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %8, align 4, !tbaa !30
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %8, align 4, !tbaa !30
  br label %51, !llvm.loop !44

125:                                              ; preds = %51
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @.str.23)
  store i32 %127, ptr %7, align 4, !tbaa !30
  store i32 0, ptr %8, align 4, !tbaa !30
  br label %128

128:                                              ; preds = %177, %125
  %129 = load i32, ptr %8, align 4, !tbaa !30
  %130 = load i32, ptr %7, align 4, !tbaa !30
  %131 = icmp slt i32 %129, %130
  br i1 %131, label %132, label %180

132:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef @.str.23, ptr noundef %8)
  store ptr %134, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef @.str.5, ptr noundef null)
  store ptr %136, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %137 = load ptr, ptr %12, align 8, !tbaa !5
  %138 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef @.str.15, ptr noundef null)
  store ptr %138, ptr %14, align 8, !tbaa !5
  %139 = load ptr, ptr %13, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %144, label %141

141:                                              ; preds = %132
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  %143 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent19warnMissingStatNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %143)
  br label %176

144:                                              ; preds = %132
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = call i32 @strcmp(ptr noundef %145, ptr noundef @.str.60) #7
  %147 = icmp eq i32 %146, 0
  br i1 %147, label %148, label %153

148:                                              ; preds = %144
  %149 = load ptr, ptr %14, align 8, !tbaa !5
  %150 = call double @atof(ptr noundef %149) #7
  %151 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %152 = getelementptr inbounds %class.MemoryManagementStats, ptr %151, i32 0, i32 0
  store double %150, ptr %152, align 8, !tbaa !46
  br label %175

153:                                              ; preds = %144
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = call i32 @strcmp(ptr noundef %154, ptr noundef @.str.61) #7
  %156 = icmp eq i32 %155, 0
  br i1 %156, label %157, label %162

157:                                              ; preds = %153
  %158 = load ptr, ptr %14, align 8, !tbaa !5
  %159 = call double @atof(ptr noundef %158) #7
  %160 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %161 = getelementptr inbounds %class.MemoryManagementStats, ptr %160, i32 0, i32 1
  store double %159, ptr %161, align 8, !tbaa !47
  br label %174

162:                                              ; preds = %153
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = call i32 @strcmp(ptr noundef %163, ptr noundef @.str.62) #7
  %165 = icmp eq i32 %164, 0
  br i1 %165, label %166, label %171

166:                                              ; preds = %162
  %167 = load ptr, ptr %14, align 8, !tbaa !5
  %168 = call double @atof(ptr noundef %167) #7
  %169 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %170 = getelementptr inbounds %class.MemoryManagementStats, ptr %169, i32 0, i32 2
  store double %168, ptr %170, align 8, !tbaa !48
  br label %173

171:                                              ; preds = %162
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN14McPATComponent20warnUnrecognizedStatEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %172)
  br label %173

173:                                              ; preds = %171, %166
  br label %174

174:                                              ; preds = %173, %157
  br label %175

175:                                              ; preds = %174, %148
  br label %176

176:                                              ; preds = %175, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %8, align 4, !tbaa !30
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %8, align 4, !tbaa !30
  br label %128, !llvm.loop !49

180:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %339

181:                                              ; preds = %44
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = call i32 @strcmp(ptr noundef %182, ptr noundef @.str.63) #7
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %185, label %338

185:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef @.str.14)
  store i32 %187, ptr %15, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !30
  br label %188

188:                                              ; preds = %259, %185
  %189 = load i32, ptr %16, align 4, !tbaa !30
  %190 = load i32, ptr %15, align 4, !tbaa !30
  %191 = icmp slt i32 %189, %190
  br i1 %191, label %192, label %262

192:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef @.str.14, ptr noundef %16)
  store ptr %194, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %195 = load ptr, ptr %17, align 8, !tbaa !5
  %196 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef @.str.5, ptr noundef null)
  store ptr %196, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %197 = load ptr, ptr %17, align 8, !tbaa !5
  %198 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef @.str.15, ptr noundef null)
  store ptr %198, ptr %19, align 8, !tbaa !5
  %199 = load ptr, ptr %18, align 8, !tbaa !5
  %200 = icmp ne ptr %199, null
  br i1 %200, label %204, label %201

201:                                              ; preds = %192
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent20warnMissingParamNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %203)
  br label %258

204:                                              ; preds = %192
  %205 = load ptr, ptr %18, align 8, !tbaa !5
  %206 = call i32 @strcmp(ptr noundef %205, ptr noundef @.str.59) #7
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %208, label %213

208:                                              ; preds = %204
  %209 = load ptr, ptr %19, align 8, !tbaa !5
  %210 = call i32 @atoi(ptr noundef %209) #7
  %211 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %212 = getelementptr inbounds %class.MemoryManagementParams, ptr %211, i32 0, i32 5
  store i32 %210, ptr %212, align 8, !tbaa !50
  br label %257

213:                                              ; preds = %204
  %214 = load ptr, ptr %18, align 8, !tbaa !5
  %215 = call i32 @strcmp(ptr noundef %214, ptr noundef @.str.20) #7
  %216 = icmp eq i32 %215, 0
  br i1 %216, label %217, label %222

217:                                              ; preds = %213
  %218 = load ptr, ptr %19, align 8, !tbaa !5
  %219 = call double @atof(ptr noundef %218) #7
  %220 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %221 = getelementptr inbounds %class.MemoryManagementParams, ptr %220, i32 0, i32 6
  store double %219, ptr %221, align 8, !tbaa !51
  br label %256

222:                                              ; preds = %213
  %223 = load ptr, ptr %18, align 8, !tbaa !5
  %224 = call i32 @strcmp(ptr noundef %223, ptr noundef @.str.21) #7
  %225 = icmp eq i32 %224, 0
  br i1 %225, label %226, label %231

226:                                              ; preds = %222
  %227 = load ptr, ptr %19, align 8, !tbaa !5
  %228 = call double @atof(ptr noundef %227) #7
  %229 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %230 = getelementptr inbounds %class.MemoryManagementParams, ptr %229, i32 0, i32 7
  store double %228, ptr %230, align 8, !tbaa !52
  br label %255

231:                                              ; preds = %222
  %232 = load ptr, ptr %18, align 8, !tbaa !5
  %233 = call i32 @strcmp(ptr noundef %232, ptr noundef @.str.18) #7
  %234 = icmp eq i32 %233, 0
  br i1 %234, label %235, label %241

235:                                              ; preds = %231
  %236 = load ptr, ptr %19, align 8, !tbaa !5
  %237 = call double @atof(ptr noundef %236) #7
  %238 = fptosi double %237 to i32
  %239 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %240 = getelementptr inbounds %class.MemoryManagementParams, ptr %239, i32 0, i32 8
  store i32 %238, ptr %240, align 8, !tbaa !53
  br label %254

241:                                              ; preds = %231
  %242 = load ptr, ptr %18, align 8, !tbaa !5
  %243 = call i32 @strcmp(ptr noundef %242, ptr noundef @.str.33) #7
  %244 = icmp eq i32 %243, 0
  br i1 %244, label %245, label %251

245:                                              ; preds = %241
  %246 = load ptr, ptr %19, align 8, !tbaa !5
  %247 = call double @atof(ptr noundef %246) #7
  %248 = fptosi double %247 to i32
  %249 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 6
  %250 = getelementptr inbounds %class.MemoryManagementParams, ptr %249, i32 0, i32 9
  store i32 %248, ptr %250, align 4, !tbaa !54
  br label %253

251:                                              ; preds = %241
  %252 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN14McPATComponent21warnUnrecognizedParamEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %252)
  br label %253

253:                                              ; preds = %251, %245
  br label %254

254:                                              ; preds = %253, %235
  br label %255

255:                                              ; preds = %254, %226
  br label %256

256:                                              ; preds = %255, %217
  br label %257

257:                                              ; preds = %256, %208
  br label %258

258:                                              ; preds = %257, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %259

259:                                              ; preds = %258
  %260 = load i32, ptr %16, align 4, !tbaa !30
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %16, align 4, !tbaa !30
  br label %188, !llvm.loop !55

262:                                              ; preds = %188
  %263 = load ptr, ptr %5, align 8, !tbaa !5
  %264 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %263, ptr noundef @.str.23)
  store i32 %264, ptr %15, align 4, !tbaa !30
  store i32 0, ptr %16, align 4, !tbaa !30
  br label %265

265:                                              ; preds = %334, %262
  %266 = load i32, ptr %16, align 4, !tbaa !30
  %267 = load i32, ptr %15, align 4, !tbaa !30
  %268 = icmp slt i32 %266, %267
  br i1 %268, label %269, label %337

269:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef @.str.23, ptr noundef %16)
  store ptr %271, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %272 = load ptr, ptr %20, align 8, !tbaa !5
  %273 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @.str.5, ptr noundef null)
  store ptr %273, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %274 = load ptr, ptr %20, align 8, !tbaa !5
  %275 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef @.str.15, ptr noundef null)
  store ptr %275, ptr %22, align 8, !tbaa !5
  %276 = load ptr, ptr %21, align 8, !tbaa !5
  %277 = icmp ne ptr %276, null
  br i1 %277, label %281, label %278

278:                                              ; preds = %269
  %279 = load ptr, ptr %20, align 8, !tbaa !5
  %280 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent19warnMissingStatNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %280)
  br label %333

281:                                              ; preds = %269
  %282 = load ptr, ptr %21, align 8, !tbaa !5
  %283 = call i32 @strcmp(ptr noundef %282, ptr noundef @.str.24) #7
  %284 = icmp eq i32 %283, 0
  br i1 %284, label %285, label %290

285:                                              ; preds = %281
  %286 = load ptr, ptr %22, align 8, !tbaa !5
  %287 = call double @atof(ptr noundef %286) #7
  %288 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %289 = getelementptr inbounds %class.MemoryManagementStats, ptr %288, i32 0, i32 3
  store double %287, ptr %289, align 8, !tbaa !56
  br label %332

290:                                              ; preds = %281
  %291 = load ptr, ptr %21, align 8, !tbaa !5
  %292 = call i32 @strcmp(ptr noundef %291, ptr noundef @.str.64) #7
  %293 = icmp eq i32 %292, 0
  br i1 %293, label %294, label %299

294:                                              ; preds = %290
  %295 = load ptr, ptr %22, align 8, !tbaa !5
  %296 = call double @atof(ptr noundef %295) #7
  %297 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %298 = getelementptr inbounds %class.MemoryManagementStats, ptr %297, i32 0, i32 4
  store double %296, ptr %298, align 8, !tbaa !57
  br label %331

299:                                              ; preds = %290
  %300 = load ptr, ptr %21, align 8, !tbaa !5
  %301 = call i32 @strcmp(ptr noundef %300, ptr noundef @.str.25) #7
  %302 = icmp eq i32 %301, 0
  br i1 %302, label %303, label %308

303:                                              ; preds = %299
  %304 = load ptr, ptr %22, align 8, !tbaa !5
  %305 = call double @atof(ptr noundef %304) #7
  %306 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %307 = getelementptr inbounds %class.MemoryManagementStats, ptr %306, i32 0, i32 5
  store double %305, ptr %307, align 8, !tbaa !58
  br label %330

308:                                              ; preds = %299
  %309 = load ptr, ptr %21, align 8, !tbaa !5
  %310 = call i32 @strcmp(ptr noundef %309, ptr noundef @.str.65) #7
  %311 = icmp eq i32 %310, 0
  br i1 %311, label %312, label %317

312:                                              ; preds = %308
  %313 = load ptr, ptr %22, align 8, !tbaa !5
  %314 = call double @atof(ptr noundef %313) #7
  %315 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %316 = getelementptr inbounds %class.MemoryManagementStats, ptr %315, i32 0, i32 6
  store double %314, ptr %316, align 8, !tbaa !59
  br label %329

317:                                              ; preds = %308
  %318 = load ptr, ptr %21, align 8, !tbaa !5
  %319 = call i32 @strcmp(ptr noundef %318, ptr noundef @.str.62) #7
  %320 = icmp eq i32 %319, 0
  br i1 %320, label %321, label %326

321:                                              ; preds = %317
  %322 = load ptr, ptr %22, align 8, !tbaa !5
  %323 = call double @atof(ptr noundef %322) #7
  %324 = getelementptr inbounds %class.MemManU, ptr %23, i32 0, i32 7
  %325 = getelementptr inbounds %class.MemoryManagementStats, ptr %324, i32 0, i32 7
  store double %323, ptr %325, align 8, !tbaa !60
  br label %328

326:                                              ; preds = %317
  %327 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN14McPATComponent20warnUnrecognizedStatEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %23, ptr noundef %327)
  br label %328

328:                                              ; preds = %326, %321
  br label %329

329:                                              ; preds = %328, %312
  br label %330

330:                                              ; preds = %329, %303
  br label %331

331:                                              ; preds = %330, %294
  br label %332

332:                                              ; preds = %331, %285
  br label %333

333:                                              ; preds = %332, %278
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %334

334:                                              ; preds = %333
  %335 = load i32, ptr %16, align 4, !tbaa !30
  %336 = add nsw i32 %335, 1
  store i32 %336, ptr %16, align 4, !tbaa !30
  br label %265, !llvm.loop !61

337:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %338

338:                                              ; preds = %337, %181
  br label %339

339:                                              ; preds = %338, %180
  br label %340

340:                                              ; preds = %339, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %341

341:                                              ; preds = %340
  %342 = load i32, ptr %4, align 4, !tbaa !30
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr %4, align 4, !tbaa !30
  br label %29, !llvm.loop !62

344:                                              ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void
}

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

!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, !6, i64 288}
!10 = !{!"_ZTS14McPATComponent", !11, i64 8, !6, i64 288, !16, i64 296, !20, i64 664, !13, i64 696, !23, i64 704, !27, i64 728, !28, i64 776, !28, i64 944, !14, i64 1112, !14, i64 1232}
!11 = !{!"_ZTS9Component", !12, i64 0, !14, i64 24, !14, i64 144, !13, i64 264, !13, i64 272}
!12 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS8powerDef", !15, i64 0, !15, i64 40, !15, i64 80}
!15 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!"_ZTS14InputParameter", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !18, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !13, i64 48, !13, i64 56, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !18, i64 84, !18, i64 85, !18, i64 86, !18, i64 87, !18, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !19, i64 152, !17, i64 156, !18, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !17, i64 176, !17, i64 180, !17, i64 184, !17, i64 188, !18, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !17, i64 244, !17, i64 248, !17, i64 252, !17, i64 256, !17, i64 260, !17, i64 264, !17, i64 268, !17, i64 272, !17, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !18, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !18, i64 316, !18, i64 317, !17, i64 320, !17, i64 324, !18, i64 328, !13, i64 336, !13, i64 344, !18, i64 352, !17, i64 356, !17, i64 360, !18, i64 364}
!17 = !{!"int", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS9Wire_type", !7, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTS11McPATOutput", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!28 = !{!"_ZTS8statsDef", !29, i64 0, !29, i64 24, !29, i64 48, !29, i64 72, !29, i64 96, !29, i64 120, !29, i64 144}
!29 = !{!"_ZTS15statsComponents", !13, i64 0, !13, i64 8, !13, i64 16}
!30 = !{!17, !17, i64 0}
!31 = !{!32, !17, i64 2608}
!32 = !{!"_ZTS7MemManU", !10, i64 0, !6, i64 1352, !6, i64 1360, !16, i64 1368, !33, i64 1736, !37, i64 2216, !38, i64 2608, !39, i64 2672, !13, i64 2736, !13, i64 2744, !13, i64 2752, !18, i64 2760}
!33 = !{!"_ZTS14CoreParameters", !18, i64 0, !18, i64 1, !18, i64 2, !34, i64 4, !35, i64 8, !36, i64 12, !13, i64 16, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !13, i64 152, !17, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !18, i64 176, !18, i64 177, !7, i64 184, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !13, i64 248, !13, i64 256, !17, i64 264, !17, i64 268, !17, i64 272, !17, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !17, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !17, i64 316, !17, i64 320, !17, i64 324, !17, i64 328, !17, i64 332, !17, i64 336, !17, i64 340, !17, i64 344, !17, i64 348, !17, i64 352, !17, i64 356, !17, i64 360, !17, i64 364, !17, i64 368, !17, i64 372, !17, i64 376, !17, i64 380, !17, i64 384, !17, i64 388, !17, i64 392, !17, i64 396, !17, i64 400, !17, i64 404, !17, i64 408, !17, i64 412, !17, i64 416, !17, i64 420, !19, i64 424, !19, i64 428, !17, i64 432, !13, i64 440, !13, i64 448, !17, i64 456, !13, i64 464, !13, i64 472}
!34 = !{!"_ZTS9Core_type", !7, i64 0}
!35 = !{!"_ZTS13Renaming_type", !7, i64 0}
!36 = !{!"_ZTS14Scheduler_type", !7, i64 0}
!37 = !{!"_ZTS14CoreStatistics", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !13, i64 360, !13, i64 368, !13, i64 376, !13, i64 384}
!38 = !{!"_ZTS22MemoryManagementParams", !17, i64 0, !13, i64 8, !13, i64 16, !17, i64 24, !17, i64 28, !17, i64 32, !13, i64 40, !13, i64 48, !17, i64 56, !17, i64 60}
!39 = !{!"_ZTS21MemoryManagementStats", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56}
!40 = !{!32, !13, i64 2616}
!41 = !{!32, !13, i64 2624}
!42 = !{!32, !17, i64 2632}
!43 = !{!32, !17, i64 2636}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = !{!32, !13, i64 2672}
!47 = !{!32, !13, i64 2680}
!48 = !{!32, !13, i64 2688}
!49 = distinct !{!49, !45}
!50 = !{!32, !17, i64 2640}
!51 = !{!32, !13, i64 2648}
!52 = !{!32, !13, i64 2656}
!53 = !{!32, !17, i64 2664}
!54 = !{!32, !17, i64 2668}
!55 = distinct !{!55, !45}
!56 = !{!32, !13, i64 2696}
!57 = !{!32, !13, i64 2704}
!58 = !{!32, !13, i64 2712}
!59 = !{!32, !13, i64 2720}
!60 = !{!32, !13, i64 2728}
!61 = distinct !{!61, !45}
!62 = distinct !{!62, !45}


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

@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [13 x i8], align 1

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

declare noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

declare noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN14McPATComponent24warnMissingComponentTypeEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @_ZN14McPATComponent20warnMissingParamNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

declare void @_ZN14McPATComponent21warnUnrecognizedParamEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) local_unnamed_addr #1

declare void @_ZN14McPATComponent19warnMissingStatNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

declare void @_ZN14McPATComponent20warnUnrecognizedStatEPKc(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7MemManU16set_params_statsEv(ptr noundef nonnull align 8 dereferenceable(2761) %0) local_unnamed_addr #5 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = getelementptr inbounds i8, ptr %0, i64 2608
  %6 = getelementptr inbounds i8, ptr %0, i64 2672
  %7 = getelementptr inbounds i8, ptr %0, i64 288
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(128) %5, i8 0, i64 128, i1 false)
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = tail call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !29
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph96, label %._crit_edge97

.lr.ph96:                                         ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 2668
  %12 = getelementptr inbounds i8, ptr %0, i64 2664
  %13 = getelementptr inbounds i8, ptr %0, i64 2656
  %14 = getelementptr inbounds i8, ptr %0, i64 2648
  %15 = getelementptr inbounds i8, ptr %0, i64 2640
  %16 = getelementptr inbounds i8, ptr %0, i64 2728
  %17 = getelementptr inbounds i8, ptr %0, i64 2720
  %18 = getelementptr inbounds i8, ptr %0, i64 2712
  %19 = getelementptr inbounds i8, ptr %0, i64 2704
  %20 = getelementptr inbounds i8, ptr %0, i64 2696
  %21 = getelementptr inbounds i8, ptr %0, i64 2636
  %22 = getelementptr inbounds i8, ptr %0, i64 2632
  %23 = getelementptr inbounds i8, ptr %0, i64 2624
  %24 = getelementptr inbounds i8, ptr %0, i64 2616
  %25 = getelementptr inbounds i8, ptr %0, i64 2688
  %26 = getelementptr inbounds i8, ptr %0, i64 2680
  br label %27

27:                                               ; preds = %.lr.ph96, %183
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull @.str.1, ptr noundef nonnull %2)
  %30 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.2, ptr noundef null)
  %.not = icmp eq ptr %30, null
  br i1 %.not, label %31, label %33

31:                                               ; preds = %27
  %32 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent24warnMissingComponentTypeEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef %32)
  br label %183

33:                                               ; preds = %27
  %34 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.58) #7
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %103

36:                                               ; preds = %33
  %37 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !29
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %.lr.ph90, label %._crit_edge91

.lr.ph90:                                         ; preds = %36, %72
  %39 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.14, ptr noundef nonnull %3)
  %40 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.5, ptr noundef null)
  %41 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.15, ptr noundef null)
  %.not85 = icmp eq ptr %40, null
  br i1 %.not85, label %42, label %44

42:                                               ; preds = %.lr.ph90
  %43 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent20warnMissingParamNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef %43)
  br label %72

44:                                               ; preds = %.lr.ph90
  %45 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) @.str.59) #7
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %49

47:                                               ; preds = %44
  %48 = call i32 @atoi(ptr nocapture noundef %41) #7
  store i32 %48, ptr %5, align 8, !tbaa !30
  br label %72

49:                                               ; preds = %44
  %50 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) @.str.20) #7
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %52, label %54

52:                                               ; preds = %49
  %53 = call double @atof(ptr noundef %41) #7
  store double %53, ptr %24, align 8, !tbaa !39
  br label %72

54:                                               ; preds = %49
  %55 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) @.str.21) #7
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %59

57:                                               ; preds = %54
  %58 = call double @atof(ptr noundef %41) #7
  store double %58, ptr %23, align 8, !tbaa !40
  br label %72

59:                                               ; preds = %54
  %60 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) @.str.18) #7
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %65

62:                                               ; preds = %59
  %63 = call double @atof(ptr noundef %41) #7
  %64 = fptosi double %63 to i32
  store i32 %64, ptr %22, align 8, !tbaa !41
  br label %72

65:                                               ; preds = %59
  %66 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(1) @.str.33) #7
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %71

68:                                               ; preds = %65
  %69 = call double @atof(ptr noundef %41) #7
  %70 = fptosi double %69 to i32
  store i32 %70, ptr %21, align 4, !tbaa !42
  br label %72

71:                                               ; preds = %65
  call void @_ZN14McPATComponent21warnUnrecognizedParamEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef nonnull %40)
  br label %72

72:                                               ; preds = %47, %57, %68, %71, %62, %52, %42
  %73 = load i32, ptr %3, align 4, !tbaa !29
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %3, align 4, !tbaa !29
  %75 = icmp slt i32 %74, %37
  br i1 %75, label %.lr.ph90, label %._crit_edge91, !llvm.loop !43

._crit_edge91:                                    ; preds = %72, %36
  %76 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.23)
  store i32 0, ptr %3, align 4, !tbaa !29
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph93, label %._crit_edge94

.lr.ph93:                                         ; preds = %._crit_edge91, %99
  %78 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.23, ptr noundef nonnull %3)
  %79 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @.str.5, ptr noundef null)
  %80 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @.str.15, ptr noundef null)
  %.not84 = icmp eq ptr %79, null
  br i1 %.not84, label %81, label %83

81:                                               ; preds = %.lr.ph93
  %82 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent19warnMissingStatNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef %82)
  br label %99

83:                                               ; preds = %.lr.ph93
  %84 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %79, ptr noundef nonnull dereferenceable(1) @.str.60) #7
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %88

86:                                               ; preds = %83
  %87 = call double @atof(ptr noundef %80) #7
  store double %87, ptr %6, align 8, !tbaa !45
  br label %99

88:                                               ; preds = %83
  %89 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %79, ptr noundef nonnull dereferenceable(1) @.str.61) #7
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %93

91:                                               ; preds = %88
  %92 = call double @atof(ptr noundef %80) #7
  store double %92, ptr %26, align 8, !tbaa !46
  br label %99

93:                                               ; preds = %88
  %94 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %79, ptr noundef nonnull dereferenceable(1) @.str.62) #7
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  %97 = call double @atof(ptr noundef %80) #7
  store double %97, ptr %25, align 8, !tbaa !47
  br label %99

98:                                               ; preds = %93
  call void @_ZN14McPATComponent20warnUnrecognizedStatEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef nonnull %79)
  br label %99

99:                                               ; preds = %86, %96, %98, %91, %81
  %100 = load i32, ptr %3, align 4, !tbaa !29
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %3, align 4, !tbaa !29
  %102 = icmp slt i32 %101, %76
  br i1 %102, label %.lr.ph93, label %._crit_edge94, !llvm.loop !48

._crit_edge94:                                    ; preds = %99, %._crit_edge91
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  br label %183

103:                                              ; preds = %33
  %104 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.63) #7
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %183

106:                                              ; preds = %103
  %107 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 0, ptr %4, align 4, !tbaa !29
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %106, %142
  %109 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.14, ptr noundef nonnull %4)
  %110 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull @.str.5, ptr noundef null)
  %111 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull @.str.15, ptr noundef null)
  %.not81 = icmp eq ptr %110, null
  br i1 %.not81, label %112, label %114

112:                                              ; preds = %.lr.ph
  %113 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent20warnMissingParamNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef %113)
  br label %142

114:                                              ; preds = %.lr.ph
  %115 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %110, ptr noundef nonnull dereferenceable(1) @.str.59) #7
  %116 = icmp eq i32 %115, 0
  br i1 %116, label %117, label %119

117:                                              ; preds = %114
  %118 = call i32 @atoi(ptr nocapture noundef %111) #7
  store i32 %118, ptr %15, align 8, !tbaa !49
  br label %142

119:                                              ; preds = %114
  %120 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %110, ptr noundef nonnull dereferenceable(1) @.str.20) #7
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %124

122:                                              ; preds = %119
  %123 = call double @atof(ptr noundef %111) #7
  store double %123, ptr %14, align 8, !tbaa !50
  br label %142

124:                                              ; preds = %119
  %125 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %110, ptr noundef nonnull dereferenceable(1) @.str.21) #7
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %129

127:                                              ; preds = %124
  %128 = call double @atof(ptr noundef %111) #7
  store double %128, ptr %13, align 8, !tbaa !51
  br label %142

129:                                              ; preds = %124
  %130 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %110, ptr noundef nonnull dereferenceable(1) @.str.18) #7
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %135

132:                                              ; preds = %129
  %133 = call double @atof(ptr noundef %111) #7
  %134 = fptosi double %133 to i32
  store i32 %134, ptr %12, align 8, !tbaa !52
  br label %142

135:                                              ; preds = %129
  %136 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %110, ptr noundef nonnull dereferenceable(1) @.str.33) #7
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %138, label %141

138:                                              ; preds = %135
  %139 = call double @atof(ptr noundef %111) #7
  %140 = fptosi double %139 to i32
  store i32 %140, ptr %11, align 4, !tbaa !53
  br label %142

141:                                              ; preds = %135
  call void @_ZN14McPATComponent21warnUnrecognizedParamEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef nonnull %110)
  br label %142

142:                                              ; preds = %117, %127, %138, %141, %132, %122, %112
  %143 = load i32, ptr %4, align 4, !tbaa !29
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %4, align 4, !tbaa !29
  %145 = icmp slt i32 %144, %107
  br i1 %145, label %.lr.ph, label %._crit_edge, !llvm.loop !54

._crit_edge:                                      ; preds = %142, %106
  %146 = call noundef i32 @_ZNK7XMLNode10nChildNodeEPKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.23)
  store i32 0, ptr %4, align 4, !tbaa !29
  %147 = icmp sgt i32 %146, 0
  br i1 %147, label %.lr.ph87, label %._crit_edge88

.lr.ph87:                                         ; preds = %._crit_edge, %179
  %148 = call noundef ptr @_ZNK7XMLNode15getChildNodePtrEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.23, ptr noundef nonnull %4)
  %149 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull @.str.5, ptr noundef null)
  %150 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull @.str.15, ptr noundef null)
  %.not80 = icmp eq ptr %149, null
  br i1 %.not80, label %151, label %153

151:                                              ; preds = %.lr.ph87
  %152 = call noundef ptr @_ZNK7XMLNode12getAttributeEPKcPi(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull @.str.3, ptr noundef null)
  call void @_ZN14McPATComponent19warnMissingStatNameEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef %152)
  br label %179

153:                                              ; preds = %.lr.ph87
  %154 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %149, ptr noundef nonnull dereferenceable(1) @.str.24) #7
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %156, label %158

156:                                              ; preds = %153
  %157 = call double @atof(ptr noundef %150) #7
  store double %157, ptr %20, align 8, !tbaa !55
  br label %179

158:                                              ; preds = %153
  %159 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %149, ptr noundef nonnull dereferenceable(1) @.str.64) #7
  %160 = icmp eq i32 %159, 0
  br i1 %160, label %161, label %163

161:                                              ; preds = %158
  %162 = call double @atof(ptr noundef %150) #7
  store double %162, ptr %19, align 8, !tbaa !56
  br label %179

163:                                              ; preds = %158
  %164 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %149, ptr noundef nonnull dereferenceable(1) @.str.25) #7
  %165 = icmp eq i32 %164, 0
  br i1 %165, label %166, label %168

166:                                              ; preds = %163
  %167 = call double @atof(ptr noundef %150) #7
  store double %167, ptr %18, align 8, !tbaa !57
  br label %179

168:                                              ; preds = %163
  %169 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %149, ptr noundef nonnull dereferenceable(1) @.str.65) #7
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %173

171:                                              ; preds = %168
  %172 = call double @atof(ptr noundef %150) #7
  store double %172, ptr %17, align 8, !tbaa !58
  br label %179

173:                                              ; preds = %168
  %174 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %149, ptr noundef nonnull dereferenceable(1) @.str.62) #7
  %175 = icmp eq i32 %174, 0
  br i1 %175, label %176, label %178

176:                                              ; preds = %173
  %177 = call double @atof(ptr noundef %150) #7
  store double %177, ptr %16, align 8, !tbaa !59
  br label %179

178:                                              ; preds = %173
  call void @_ZN14McPATComponent20warnUnrecognizedStatEPKc(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef nonnull %149)
  br label %179

179:                                              ; preds = %156, %166, %176, %178, %171, %161, %151
  %180 = load i32, ptr %4, align 4, !tbaa !29
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %4, align 4, !tbaa !29
  %182 = icmp slt i32 %181, %146
  br i1 %182, label %.lr.ph87, label %._crit_edge88, !llvm.loop !60

._crit_edge88:                                    ; preds = %179, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %183

183:                                              ; preds = %._crit_edge94, %._crit_edge88, %103, %31
  %184 = load i32, ptr %2, align 4, !tbaa !29
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %2, align 4, !tbaa !29
  %186 = icmp slt i32 %185, %9
  br i1 %186, label %27, label %._crit_edge97, !llvm.loop !61

._crit_edge97:                                    ; preds = %183, %1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  ret void
}

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

!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, !14, i64 288}
!6 = !{!"_ZTS14McPATComponent", !7, i64 8, !14, i64 288, !15, i64 296, !19, i64 664, !9, i64 696, !22, i64 704, !26, i64 728, !27, i64 776, !27, i64 944, !12, i64 1112, !12, i64 1232}
!7 = !{!"_ZTS9Component", !8, i64 0, !12, i64 24, !12, i64 144, !9, i64 264, !9, i64 272}
!8 = !{!"_ZTS4Area", !9, i64 0, !9, i64 8, !9, i64 16}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS8powerDef", !13, i64 0, !13, i64 40, !13, i64 80}
!13 = !{!"_ZTS15powerComponents", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!"_ZTS14InputParameter", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !17, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !9, i64 48, !9, i64 56, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !17, i64 84, !17, i64 85, !17, i64 86, !17, i64 87, !17, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !18, i64 152, !16, i64 156, !17, i64 160, !16, i64 164, !16, i64 168, !16, i64 172, !16, i64 176, !16, i64 180, !16, i64 184, !16, i64 188, !17, i64 192, !16, i64 196, !16, i64 200, !16, i64 204, !16, i64 208, !16, i64 212, !16, i64 216, !16, i64 220, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236, !16, i64 240, !16, i64 244, !16, i64 248, !16, i64 252, !16, i64 256, !16, i64 260, !16, i64 264, !16, i64 268, !16, i64 272, !16, i64 276, !16, i64 280, !16, i64 284, !16, i64 288, !16, i64 292, !16, i64 296, !17, i64 300, !16, i64 304, !16, i64 308, !16, i64 312, !17, i64 316, !17, i64 317, !16, i64 320, !16, i64 324, !17, i64 328, !9, i64 336, !9, i64 344, !17, i64 352, !16, i64 356, !16, i64 360, !17, i64 364}
!16 = !{!"int", !10, i64 0}
!17 = !{!"bool", !10, i64 0}
!18 = !{!"_ZTS9Wire_type", !10, i64 0}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !21, i64 8, !10, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!21 = !{!"long", !10, i64 0}
!22 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!26 = !{!"_ZTS11McPATOutput", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40}
!27 = !{!"_ZTS8statsDef", !28, i64 0, !28, i64 24, !28, i64 48, !28, i64 72, !28, i64 96, !28, i64 120, !28, i64 144}
!28 = !{!"_ZTS15statsComponents", !9, i64 0, !9, i64 8, !9, i64 16}
!29 = !{!16, !16, i64 0}
!30 = !{!31, !16, i64 2608}
!31 = !{!"_ZTS7MemManU", !6, i64 0, !14, i64 1352, !14, i64 1360, !15, i64 1368, !32, i64 1736, !36, i64 2216, !37, i64 2608, !38, i64 2672, !9, i64 2736, !9, i64 2744, !9, i64 2752, !17, i64 2760}
!32 = !{!"_ZTS14CoreParameters", !17, i64 0, !17, i64 1, !17, i64 2, !33, i64 4, !34, i64 8, !35, i64 12, !9, i64 16, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !9, i64 152, !16, i64 160, !16, i64 164, !16, i64 168, !16, i64 172, !17, i64 176, !17, i64 177, !10, i64 184, !16, i64 216, !16, i64 220, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236, !16, i64 240, !9, i64 248, !9, i64 256, !16, i64 264, !16, i64 268, !16, i64 272, !16, i64 276, !16, i64 280, !16, i64 284, !16, i64 288, !16, i64 292, !16, i64 296, !16, i64 300, !16, i64 304, !16, i64 308, !16, i64 312, !16, i64 316, !16, i64 320, !16, i64 324, !16, i64 328, !16, i64 332, !16, i64 336, !16, i64 340, !16, i64 344, !16, i64 348, !16, i64 352, !16, i64 356, !16, i64 360, !16, i64 364, !16, i64 368, !16, i64 372, !16, i64 376, !16, i64 380, !16, i64 384, !16, i64 388, !16, i64 392, !16, i64 396, !16, i64 400, !16, i64 404, !16, i64 408, !16, i64 412, !16, i64 416, !16, i64 420, !18, i64 424, !18, i64 428, !16, i64 432, !9, i64 440, !9, i64 448, !16, i64 456, !9, i64 464, !9, i64 472}
!33 = !{!"_ZTS9Core_type", !10, i64 0}
!34 = !{!"_ZTS13Renaming_type", !10, i64 0}
!35 = !{!"_ZTS14Scheduler_type", !10, i64 0}
!36 = !{!"_ZTS14CoreStatistics", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176, !9, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !9, i64 352, !9, i64 360, !9, i64 368, !9, i64 376, !9, i64 384}
!37 = !{!"_ZTS22MemoryManagementParams", !16, i64 0, !9, i64 8, !9, i64 16, !16, i64 24, !16, i64 28, !16, i64 32, !9, i64 40, !9, i64 48, !16, i64 56, !16, i64 60}
!38 = !{!"_ZTS21MemoryManagementStats", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56}
!39 = !{!31, !9, i64 2616}
!40 = !{!31, !9, i64 2624}
!41 = !{!31, !16, i64 2632}
!42 = !{!31, !16, i64 2636}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!31, !9, i64 2672}
!46 = !{!31, !9, i64 2680}
!47 = !{!31, !9, i64 2688}
!48 = distinct !{!48, !44}
!49 = !{!31, !16, i64 2640}
!50 = !{!31, !9, i64 2648}
!51 = !{!31, !9, i64 2656}
!52 = !{!31, !16, i64 2664}
!53 = !{!31, !16, i64 2668}
!54 = distinct !{!54, !44}
!55 = !{!31, !9, i64 2696}
!56 = !{!31, !9, i64 2704}
!57 = !{!31, !9, i64 2712}
!58 = !{!31, !9, i64 2720}
!59 = !{!31, !9, i64 2728}
!60 = distinct !{!60, !44}
!61 = distinct !{!61, !44}


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