; LLVM IR from mncoppola/rpef :: utilities_src/squashfs2.1/lzma/C/Common (CommandLineParser)

; 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.CStringBase = type { ptr, i32, i32 }
%"class.NCommandLineParser::CParser" = type { i32, ptr, %class.CObjectVector }
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { %class.CBaseRecordVector }
%class.CBaseRecordVector = type { ptr, i32, i32, ptr, i64 }
%"struct.NCommandLineParser::CSwitchForm" = type { ptr, i32, i8, i32, i32, ptr }
%"struct.NCommandLineParser::CSwitchResult" = type <{ i8, i8, [6 x i8], %class.CObjectVector, i32, [4 x i8] }>

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTIPKc = external constant ptr
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEpLEw(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef signext) #2 align 2

; 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 void @_ZNK11CStringBaseIwE3MidEi(ptr dead_on_unwind noalias writable sret(%class.CStringBase) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN18NCommandLineParser7CParser11ParseStringERK11CStringBaseIwEPKNS_11CSwitchFormE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %class.CStringBase, align 8
  %17 = alloca %class.CStringBase, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.CStringBase, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %class.CStringBase, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %class.CStringBase, align 8
  %30 = alloca i32, align 4
  %31 = alloca %class.CStringBase, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %34 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  store i32 %36, ptr %8, align 4, !tbaa !9
  %37 = load i32, ptr %8, align 4, !tbaa !9
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %343

40:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
  %43 = load i32, ptr %10, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %42, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %46)
  br i1 %47, label %49, label %48

48:                                               ; preds = %40
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %342

49:                                               ; preds = %40
  br label %50

50:                                               ; preds = %338, %49
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %54, label %341

54:                                               ; preds = %50
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %55)
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %56, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %60)
  br i1 %61, label %62, label %65

62:                                               ; preds = %54
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %10, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %62, %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 -1, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 -1, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %135, %65
  %67 = load i32, ptr %14, align 4, !tbaa !9
  %68 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %34, i32 0, i32 0
  %69 = load i32, ptr %68, align 8, !tbaa !13
  %70 = icmp slt i32 %67, %69
  br i1 %70, label %72, label %71

71:                                               ; preds = %66
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %139

72:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %73, i64 %75
  %77 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %76, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  %79 = call noundef i32 @_Z11MyStringLenIwEiPKT_(ptr noundef %78)
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = icmp sle i32 %80, %81
  br i1 %82, label %89, label %83

83:                                               ; preds = %72
  %84 = load i32, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = add nsw i32 %84, %85
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = icmp sgt i32 %86, %87
  br i1 %88, label %89, label %90

89:                                               ; preds = %83, %72
  store i32 6, ptr %9, align 4
  br label %132

90:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %91)
  %93 = load i32, ptr %10, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i32, ptr %92, i64 %94
  call void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %95)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  %96 = load i32, ptr %15, align 4, !tbaa !9
  invoke void @_ZNK11CStringBaseIwE4LeftEi(ptr dead_on_unwind writable sret(%class.CStringBase) align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef %96)
          to label %97 unwind label %113

97:                                               ; preds = %90
  %98 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %99 unwind label %117

99:                                               ; preds = %97
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = load i32, ptr %14, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %100, i64 %102
  %104 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !19
  invoke void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %105)
          to label %106 unwind label %122

106:                                              ; preds = %99
  %107 = invoke noundef i32 @_ZNK11CStringBaseIwE13CompareNoCaseERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %108 unwind label %126

108:                                              ; preds = %106
  %109 = icmp eq i32 %107, 0
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  br i1 %109, label %110, label %131

110:                                              ; preds = %108
  %111 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %111, ptr %12, align 4, !tbaa !9
  %112 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %112, ptr %13, align 4, !tbaa !9
  br label %131

113:                                              ; preds = %90
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %18, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %19, align 4
  br label %121

117:                                              ; preds = %97
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %18, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %19, align 4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  br label %121

121:                                              ; preds = %117, %113
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  br label %138

122:                                              ; preds = %99
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %18, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %19, align 4
  br label %130

126:                                              ; preds = %106
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %18, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %19, align 4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  br label %130

130:                                              ; preds = %126, %122
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  br label %138

131:                                              ; preds = %110, %108
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  store i32 0, ptr %9, align 4
  br label %132

132:                                              ; preds = %131, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %133 = load i32, ptr %9, align 4
  switch i32 %133, label %350 [
    i32 0, label %134
    i32 6, label %135
  ]

134:                                              ; preds = %132
  br label %135

135:                                              ; preds = %134, %132
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %14, align 4, !tbaa !9
  br label %66, !llvm.loop !23

138:                                              ; preds = %130, %121
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %340

139:                                              ; preds = %71
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = icmp eq i32 %140, -1
  br i1 %141, label %142, label %144

142:                                              ; preds = %139
  %143 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str, ptr %143, align 16, !tbaa !5
  call void @__cxa_throw(ptr %143, ptr @_ZTIPKc, ptr null) #5
  unreachable

144:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %145 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %34, i32 0, i32 1
  %146 = load ptr, ptr %145, align 8, !tbaa !25
  %147 = load i32, ptr %12, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %146, i64 %148
  store ptr %149, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = load i32, ptr %12, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %150, i64 %152
  store ptr %153, ptr %22, align 8, !tbaa !5
  %154 = load ptr, ptr %22, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %154, i32 0, i32 2
  %156 = load i8, ptr %155, align 4, !tbaa !26, !range !27, !noundef !28
  %157 = trunc i8 %156 to i1
  br i1 %157, label %165, label %158

158:                                              ; preds = %144
  %159 = load ptr, ptr %21, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %159, i32 0, i32 0
  %161 = load i8, ptr %160, align 8, !tbaa !29, !range !27, !noundef !28
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %165

163:                                              ; preds = %158
  %164 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str.1, ptr %164, align 16, !tbaa !5
  call void @__cxa_throw(ptr %164, ptr @_ZTIPKc, ptr null) #5
  unreachable

165:                                              ; preds = %158, %144
  %166 = load ptr, ptr %21, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %166, i32 0, i32 0
  store i8 1, ptr %167, align 8, !tbaa !29
  %168 = load i32, ptr %13, align 4, !tbaa !9
  %169 = load i32, ptr %10, align 4, !tbaa !9
  %170 = add nsw i32 %169, %168
  store i32 %170, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %171 = load i32, ptr %8, align 4, !tbaa !9
  %172 = load i32, ptr %10, align 4, !tbaa !9
  %173 = sub nsw i32 %171, %172
  store i32 %173, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %174 = load ptr, ptr %22, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %174, i32 0, i32 1
  %176 = load i32, ptr %175, align 8, !tbaa !31
  store i32 %176, ptr %24, align 4, !tbaa !32
  %177 = load i32, ptr %24, align 4, !tbaa !32
  switch i32 %177, label %335 [
    i32 1, label %178
    i32 4, label %204
    i32 2, label %248
    i32 3, label %248
    i32 0, label %335
  ]

178:                                              ; preds = %165
  %179 = load i32, ptr %23, align 4, !tbaa !9
  %180 = icmp eq i32 %179, 0
  br i1 %180, label %181, label %184

181:                                              ; preds = %178
  %182 = load ptr, ptr %21, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %182, i32 0, i32 1
  store i8 0, ptr %183, align 1, !tbaa !33
  br label %203

184:                                              ; preds = %178
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %185)
  %187 = load i32, ptr %10, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds i32, ptr %186, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !11
  %191 = icmp eq i32 %190, 45
  %192 = load ptr, ptr %21, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %192, i32 0, i32 1
  %194 = zext i1 %191 to i8
  store i8 %194, ptr %193, align 1, !tbaa !33
  %195 = load ptr, ptr %21, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %195, i32 0, i32 1
  %197 = load i8, ptr %196, align 1, !tbaa !33, !range !27, !noundef !28
  %198 = trunc i8 %197 to i1
  br i1 %198, label %199, label %202

199:                                              ; preds = %184
  %200 = load i32, ptr %10, align 4, !tbaa !9
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %10, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %199, %184
  br label %203

203:                                              ; preds = %202, %181
  br label %335

204:                                              ; preds = %165
  %205 = load i32, ptr %23, align 4, !tbaa !9
  %206 = load ptr, ptr %22, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %206, i32 0, i32 3
  %208 = load i32, ptr %207, align 8, !tbaa !34
  %209 = icmp slt i32 %205, %208
  br i1 %209, label %210, label %212

210:                                              ; preds = %204
  %211 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str.2, ptr %211, align 16, !tbaa !5
  call void @__cxa_throw(ptr %211, ptr @_ZTIPKc, ptr null) #5
  unreachable

212:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  %213 = load ptr, ptr %22, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %213, i32 0, i32 5
  %215 = load ptr, ptr %214, align 8, !tbaa !35
  call void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef %215)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 -1, ptr %26, align 4, !tbaa !9
  %216 = load i32, ptr %23, align 4, !tbaa !9
  %217 = icmp eq i32 %216, 0
  br i1 %217, label %218, label %221

218:                                              ; preds = %212
  %219 = load ptr, ptr %21, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %219, i32 0, i32 4
  store i32 -1, ptr %220, align 8, !tbaa !36
  br label %247

221:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = invoke noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %222)
          to label %224 unwind label %236

224:                                              ; preds = %221
  %225 = load i32, ptr %10, align 4, !tbaa !9
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds i32, ptr %223, i64 %226
  %228 = load i32, ptr %227, align 4, !tbaa !11
  %229 = invoke noundef i32 @_ZNK11CStringBaseIwE4FindEw(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef signext %228)
          to label %230 unwind label %236

230:                                              ; preds = %224
  store i32 %229, ptr %27, align 4, !tbaa !9
  %231 = load i32, ptr %27, align 4, !tbaa !9
  %232 = icmp slt i32 %231, 0
  br i1 %232, label %233, label %240

233:                                              ; preds = %230
  %234 = load ptr, ptr %21, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %234, i32 0, i32 4
  store i32 -1, ptr %235, align 8, !tbaa !36
  br label %246

236:                                              ; preds = %224, %221
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %18, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  br label %339

240:                                              ; preds = %230
  %241 = load i32, ptr %27, align 4, !tbaa !9
  %242 = load ptr, ptr %21, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %242, i32 0, i32 4
  store i32 %241, ptr %243, align 8, !tbaa !36
  %244 = load i32, ptr %10, align 4, !tbaa !9
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %10, align 4, !tbaa !9
  br label %246

246:                                              ; preds = %240, %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %247

247:                                              ; preds = %246, %218
  store i32 7, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  br label %335

248:                                              ; preds = %165, %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %249 = load ptr, ptr %22, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %249, i32 0, i32 3
  %251 = load i32, ptr %250, align 8, !tbaa !34
  store i32 %251, ptr %28, align 4, !tbaa !9
  %252 = load i32, ptr %23, align 4, !tbaa !9
  %253 = load i32, ptr %28, align 4, !tbaa !9
  %254 = icmp slt i32 %252, %253
  br i1 %254, label %255, label %257

255:                                              ; preds = %248
  %256 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str.2, ptr %256, align 16, !tbaa !5
  call void @__cxa_throw(ptr %256, ptr @_ZTIPKc, ptr null) #5
  unreachable

257:                                              ; preds = %248
  %258 = load i32, ptr %24, align 4, !tbaa !32
  %259 = icmp eq i32 %258, 3
  br i1 %259, label %260, label %271

260:                                              ; preds = %257
  %261 = load ptr, ptr %21, align 8, !tbaa !5
  %262 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %261, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #4
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZNK11CStringBaseIwE3MidEi(ptr dead_on_unwind writable sret(%class.CStringBase) align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %263, i32 noundef %264)
  %265 = invoke noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %262, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %266 unwind label %267

266:                                              ; preds = %260
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #4
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %332

267:                                              ; preds = %260
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %18, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %19, align 4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #4
  br label %334

271:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %272 = load ptr, ptr %22, align 8, !tbaa !5
  %273 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %272, i32 0, i32 4
  %274 = load i32, ptr %273, align 4, !tbaa !37
  store i32 %274, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #4
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = load i32, ptr %10, align 4, !tbaa !9
  %277 = load i32, ptr %28, align 4, !tbaa !9
  call void @_ZNK11CStringBaseIwE3MidEii(ptr dead_on_unwind writable sret(%class.CStringBase) align 8 %31, ptr noundef nonnull align 8 dereferenceable(16) %275, i32 noundef %276, i32 noundef %277)
  %278 = load i32, ptr %28, align 4, !tbaa !9
  %279 = load i32, ptr %10, align 4, !tbaa !9
  %280 = add nsw i32 %279, %278
  store i32 %280, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %281 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %281, ptr %32, align 4, !tbaa !9
  br label %282

282:                                              ; preds = %316, %271
  %283 = load i32, ptr %32, align 4, !tbaa !9
  %284 = load i32, ptr %30, align 4, !tbaa !9
  %285 = icmp slt i32 %283, %284
  br i1 %285, label %286, label %290

286:                                              ; preds = %282
  %287 = load i32, ptr %10, align 4, !tbaa !9
  %288 = load i32, ptr %8, align 4, !tbaa !9
  %289 = icmp slt i32 %287, %288
  br label %290

290:                                              ; preds = %286, %282
  %291 = phi i1 [ false, %282 ], [ %289, %286 ]
  br i1 %291, label %293, label %292

292:                                              ; preds = %290
  store i32 8, ptr %9, align 4
  br label %321

293:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = invoke noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %294)
          to label %296 unwind label %305

296:                                              ; preds = %293
  %297 = load i32, ptr %10, align 4, !tbaa !9
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds i32, ptr %295, i64 %298
  %300 = load i32, ptr %299, align 4, !tbaa !11
  store i32 %300, ptr %33, align 4, !tbaa !11
  %301 = load i32, ptr %33, align 4, !tbaa !11
  %302 = invoke noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %301)
          to label %303 unwind label %305

303:                                              ; preds = %296
  br i1 %302, label %304, label %309

304:                                              ; preds = %303
  store i32 8, ptr %9, align 4
  br label %313

305:                                              ; preds = %309, %296, %293
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %18, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  br label %331

309:                                              ; preds = %303
  %310 = load i32, ptr %33, align 4, !tbaa !11
  %311 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEpLEw(ptr noundef nonnull align 8 dereferenceable(16) %31, i32 noundef signext %310)
          to label %312 unwind label %305

312:                                              ; preds = %309
  store i32 0, ptr %9, align 4
  br label %313

313:                                              ; preds = %312, %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  %314 = load i32, ptr %9, align 4
  switch i32 %314, label %321 [
    i32 0, label %315
  ]

315:                                              ; preds = %313
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %32, align 4, !tbaa !9
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %32, align 4, !tbaa !9
  %319 = load i32, ptr %10, align 4, !tbaa !9
  %320 = add nsw i32 %319, 1
  store i32 %320, ptr %10, align 4, !tbaa !9
  br label %282, !llvm.loop !38

321:                                              ; preds = %313, %292
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  br label %322

322:                                              ; preds = %321
  %323 = load ptr, ptr %21, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %323, i32 0, i32 3
  %325 = invoke noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %324, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %326 unwind label %327

326:                                              ; preds = %322
  store i32 7, ptr %9, align 4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %332

327:                                              ; preds = %322
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %18, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %19, align 4
  br label %331

331:                                              ; preds = %327, %305
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %334

332:                                              ; preds = %326, %266
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  %333 = load i32, ptr %9, align 4
  switch i32 %333, label %336 [
    i32 7, label %335
  ]

334:                                              ; preds = %331, %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %339

335:                                              ; preds = %332, %247, %203, %165, %165
  store i32 0, ptr %9, align 4
  br label %336

336:                                              ; preds = %335, %332
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %337 = load i32, ptr %9, align 4
  switch i32 %337, label %342 [
    i32 0, label %338
  ]

338:                                              ; preds = %336
  br label %50, !llvm.loop !39

339:                                              ; preds = %334, %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %340

340:                                              ; preds = %339, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %345

341:                                              ; preds = %50
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %342

342:                                              ; preds = %341, %336, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %343

343:                                              ; preds = %342, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %344 = load i1, ptr %4, align 1
  ret i1 %344

345:                                              ; preds = %340
  %346 = load ptr, ptr %18, align 8
  %347 = load i32, ptr %19, align 4
  %348 = insertvalue { ptr, i32 } poison, ptr %346, 0
  %349 = insertvalue { ptr, i32 } %348, i32 %347, 1
  resume { ptr, i32 } %349

350:                                              ; preds = %132
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11MyStringLenIwEiPKT_(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK11CStringBaseIwE4LeftEi(ptr dead_on_unwind noalias writable sret(%class.CStringBase) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11CStringBaseIwE13CompareNoCaseERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11CStringBaseIwE4FindEw(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef signext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK11CStringBaseIwE3MidEii(ptr dead_on_unwind noalias writable sret(%class.CStringBase) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint 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 #4 = { nounwind }
attributes #5 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"wchar_t", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN18NCommandLineParser7CParserE", !10, i64 0, !6, i64 8, !15, i64 16}
!15 = !{!"_ZTS13CObjectVectorI11CStringBaseIwEE", !16, i64 0}
!16 = !{!"_ZTS13CRecordVectorIPvE", !17, i64 0}
!17 = !{!"_ZTS17CBaseRecordVector", !10, i64 8, !10, i64 12, !6, i64 16, !18, i64 24}
!18 = !{!"long", !7, i64 0}
!19 = !{!20, !6, i64 0}
!20 = !{!"_ZTSN18NCommandLineParser11CSwitchFormE", !6, i64 0, !21, i64 8, !22, i64 12, !10, i64 16, !10, i64 20, !6, i64 24}
!21 = !{!"_ZTSN18NCommandLineParser11NSwitchType5EEnumE", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!14, !6, i64 8}
!26 = !{!20, !22, i64 12}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !22, i64 0}
!30 = !{!"_ZTSN18NCommandLineParser13CSwitchResultE", !22, i64 0, !22, i64 1, !15, i64 8, !10, i64 40}
!31 = !{!20, !21, i64 8}
!32 = !{!21, !21, i64 0}
!33 = !{!30, !22, i64 1}
!34 = !{!20, !10, i64 16}
!35 = !{!20, !6, i64 24}
!36 = !{!30, !10, i64 40}
!37 = !{!20, !10, i64 20}
!38 = distinct !{!38, !24}
!39 = distinct !{!39, !24}


; 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.CStringBase = type { ptr, i32, i32 }
%"struct.NCommandLineParser::CSwitchForm" = type { ptr, i32, i8, i32, i32, ptr }
%"struct.NCommandLineParser::CSwitchResult" = type <{ i8, i8, [6 x i8], %class.CObjectVector, i32, [4 x i8] }>
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { %class.CBaseRecordVector }
%class.CBaseRecordVector = type { ptr, i32, i32, ptr, i64 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTIPKc = external constant ptr
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEpLEw(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef signext) local_unnamed_addr #2 align 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 uwtable
declare dso_local void @_ZNK11CStringBaseIwE3MidEi(ptr dead_on_unwind noalias writable sret(%class.CStringBase) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN18NCommandLineParser7CParser11ParseStringERK11CStringBaseIwEPKNS_11CSwitchFormE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr nocapture noundef readonly %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.CStringBase, align 8
  %5 = alloca %class.CStringBase, align 8
  %6 = alloca %class.CStringBase, align 8
  %7 = alloca %class.CStringBase, align 8
  %8 = alloca %class.CStringBase, align 8
  %9 = alloca %class.CStringBase, align 8
  %10 = tail call noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %.loopexit, label %12

12:                                               ; preds = %3
  %13 = tail call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = tail call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %14)
  br i1 %15, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %12
  %16 = icmp sgt i32 %10, 0
  br i1 %16, label %.lr.ph177, label %.loopexit

.lr.ph177:                                        ; preds = %.preheader
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = zext nneg i32 %10 to i64
  br label %19

19:                                               ; preds = %.lr.ph177, %.backedge
  %.094176 = phi i32 [ 0, %.lr.ph177 ], [ %.094.be, %.backedge ]
  %20 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %21 = sext i32 %.094176 to i64
  %22 = getelementptr inbounds i32, ptr %20, i64 %21
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %23)
  %25 = zext i1 %24 to i32
  %spec.select = add nsw i32 %.094176, %25
  %26 = load i32, ptr %0, align 8, !tbaa !9
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %19
  %28 = sext i32 %spec.select to i64
  br label %30

._crit_edge:                                      ; preds = %58
  %29 = icmp eq i32 %.2105, -1
  br i1 %29, label %._crit_edge.thread, label %64

30:                                               ; preds = %.lr.ph, %58
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %58 ]
  %.0100167 = phi i32 [ 0, %.lr.ph ], [ %.2102, %58 ]
  %.0103166 = phi i32 [ -1, %.lr.ph ], [ %.2105, %58 ]
  %31 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %2, i64 %indvars.iv
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  %33 = call noundef i32 @_Z11MyStringLenIwEiPKT_(ptr noundef %32)
  %.not130 = icmp sle i32 %33, %.0103166
  %34 = add nsw i32 %33, %spec.select
  %35 = icmp sgt i32 %34, %10
  %or.cond = select i1 %.not130, i1 true, i1 %35
  br i1 %or.cond, label %58, label %36

36:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %37 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %38 = getelementptr inbounds i32, ptr %37, i64 %28
  call void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %38)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  invoke void @_ZNK11CStringBaseIwE4LeftEi(ptr dead_on_unwind nonnull writable sret(%class.CStringBase) align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %33)
          to label %39 unwind label %48

39:                                               ; preds = %36
  %40 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %41 unwind label %50

41:                                               ; preds = %39
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %42 = load ptr, ptr %31, align 8, !tbaa !17
  invoke void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef %42)
          to label %43 unwind label %53

43:                                               ; preds = %41
  %44 = invoke noundef i32 @_ZNK11CStringBaseIwE13CompareNoCaseERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %45 unwind label %55

45:                                               ; preds = %43
  %46 = icmp eq i32 %44, 0
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  %spec.select138 = select i1 %46, i32 %33, i32 %.0103166
  %47 = trunc nuw nsw i64 %indvars.iv to i32
  %spec.select139 = select i1 %46, i32 %47, i32 %.0100167
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br label %58

48:                                               ; preds = %36
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %39
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  br label %52

52:                                               ; preds = %50, %48
  %.pn131 = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  br label %62

53:                                               ; preds = %41
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %57

55:                                               ; preds = %43
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  br label %57

57:                                               ; preds = %55, %53
  %.pn133 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  br label %62

58:                                               ; preds = %30, %45
  %.2105 = phi i32 [ %spec.select138, %45 ], [ %.0103166, %30 ]
  %.2102 = phi i32 [ %spec.select139, %45 ], [ %.0100167, %30 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %59 = load i32, ptr %0, align 8, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = icmp slt i64 %indvars.iv.next, %60
  br i1 %61, label %30, label %._crit_edge, !llvm.loop !21

62:                                               ; preds = %57, %52
  %.pn133.pn = phi { ptr, i32 } [ %.pn133, %57 ], [ %.pn131, %52 ]
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br label %161

._crit_edge.thread:                               ; preds = %19, %._crit_edge
  %63 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str, ptr %63, align 16, !tbaa !23
  call void @__cxa_throw(ptr nonnull %63, ptr nonnull @_ZTIPKc, ptr null) #5
  unreachable

64:                                               ; preds = %._crit_edge
  %65 = load ptr, ptr %17, align 8, !tbaa !24
  %66 = sext i32 %.2102 to i64
  %67 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %65, i64 %66
  %68 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %2, i64 %66
  %69 = getelementptr inbounds i8, ptr %68, i64 12
  %70 = load i8, ptr %69, align 4, !tbaa !25, !range !26, !noundef !27
  %71 = trunc nuw i8 %70 to i1
  br i1 %71, label %77, label %72

72:                                               ; preds = %64
  %73 = load i8, ptr %67, align 8, !tbaa !28, !range !26, !noundef !27
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %75, label %77

75:                                               ; preds = %72
  %76 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str.1, ptr %76, align 16, !tbaa !23
  call void @__cxa_throw(ptr nonnull %76, ptr nonnull @_ZTIPKc, ptr null) #5
  unreachable

77:                                               ; preds = %72, %64
  store i8 1, ptr %67, align 8, !tbaa !28
  %78 = add i32 %.2105, %spec.select
  %79 = sub nsw i32 %10, %78
  %80 = getelementptr inbounds i8, ptr %68, i64 8
  %81 = load i32, ptr %80, align 8, !tbaa !30
  switch i32 %81, label %.backedge [
    i32 1, label %82
    i32 4, label %94
    i32 2, label %121
    i32 3, label %121
  ]

82:                                               ; preds = %77
  %83 = icmp eq i32 %10, %78
  br i1 %83, label %.backedge.thread, label %85

.backedge.thread:                                 ; preds = %82
  %84 = getelementptr inbounds i8, ptr %67, i64 1
  store i8 0, ptr %84, align 1, !tbaa !31
  br label %.loopexit

85:                                               ; preds = %82
  %86 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %87 = sext i32 %78 to i64
  %88 = getelementptr inbounds i32, ptr %86, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = icmp eq i32 %89, 45
  %91 = getelementptr inbounds i8, ptr %67, i64 1
  %92 = zext i1 %90 to i8
  store i8 %92, ptr %91, align 1, !tbaa !31
  %93 = zext i1 %90 to i32
  %spec.select140 = add nsw i32 %78, %93
  br label %.backedge

94:                                               ; preds = %77
  %95 = getelementptr inbounds i8, ptr %68, i64 16
  %96 = load i32, ptr %95, align 8, !tbaa !32
  %97 = icmp slt i32 %79, %96
  br i1 %97, label %98, label %100

98:                                               ; preds = %94
  %99 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str.2, ptr %99, align 16, !tbaa !23
  call void @__cxa_throw(ptr nonnull %99, ptr nonnull @_ZTIPKc, ptr null) #5
  unreachable

100:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  %101 = getelementptr inbounds i8, ptr %68, i64 24
  %102 = load ptr, ptr %101, align 8, !tbaa !33
  call void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %102)
  %103 = icmp eq i32 %10, %78
  br i1 %103, label %104, label %106

104:                                              ; preds = %100
  %105 = getelementptr inbounds i8, ptr %67, i64 40
  store i32 -1, ptr %105, align 8, !tbaa !34
  br label %120

106:                                              ; preds = %100
  %107 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %108 = sext i32 %78 to i64
  %109 = getelementptr inbounds i32, ptr %107, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = invoke noundef i32 @_ZNK11CStringBaseIwE4FindEw(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef signext %110)
          to label %112 unwind label %116

112:                                              ; preds = %106
  %113 = icmp slt i32 %111, 0
  %114 = getelementptr inbounds i8, ptr %67, i64 40
  br i1 %113, label %115, label %118

115:                                              ; preds = %112
  store i32 -1, ptr %114, align 8, !tbaa !34
  br label %120

116:                                              ; preds = %106
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  br label %161

118:                                              ; preds = %112
  store i32 %111, ptr %114, align 8, !tbaa !34
  %119 = add nsw i32 %78, 1
  br label %120

120:                                              ; preds = %115, %118, %104
  %.397 = phi i32 [ %10, %104 ], [ %78, %115 ], [ %119, %118 ]
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  br label %.backedge

121:                                              ; preds = %77, %77
  %122 = getelementptr inbounds i8, ptr %68, i64 16
  %123 = load i32, ptr %122, align 8, !tbaa !32
  %124 = icmp slt i32 %79, %123
  br i1 %124, label %125, label %127

125:                                              ; preds = %121
  %126 = call ptr @__cxa_allocate_exception(i64 8) #4
  store ptr @.str.2, ptr %126, align 16, !tbaa !23
  call void @__cxa_throw(ptr nonnull %126, ptr nonnull @_ZTIPKc, ptr null) #5
  unreachable

127:                                              ; preds = %121
  %.not.not = icmp eq i32 %81, 3
  br i1 %.not.not, label %128, label %133

128:                                              ; preds = %127
  %129 = getelementptr inbounds i8, ptr %67, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  call void @_ZNK11CStringBaseIwE3MidEi(ptr dead_on_unwind nonnull writable sret(%class.CStringBase) align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %78)
  %130 = invoke noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %129, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %.thread unwind label %131

.thread:                                          ; preds = %128
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  br label %.loopexit

131:                                              ; preds = %128
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  br label %161

133:                                              ; preds = %127
  %134 = getelementptr inbounds i8, ptr %68, i64 20
  %135 = load i32, ptr %134, align 4, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  call void @_ZNK11CStringBaseIwE3MidEii(ptr dead_on_unwind nonnull writable sret(%class.CStringBase) align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %78, i32 noundef %123)
  %136 = add i32 %123, %78
  %137 = icmp slt i32 %123, %135
  %138 = icmp slt i32 %136, %10
  %139 = and i1 %137, %138
  br i1 %139, label %.lr.ph172.preheader, label %.critedge

.lr.ph172.preheader:                              ; preds = %133
  %140 = sext i32 %136 to i64
  br label %.lr.ph172

.lr.ph172:                                        ; preds = %.lr.ph172.preheader, %149
  %indvars.iv194 = phi i64 [ %140, %.lr.ph172.preheader ], [ %indvars.iv.next195, %149 ]
  %.090170 = phi i32 [ %123, %.lr.ph172.preheader ], [ %150, %149 ]
  %141 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %142 = getelementptr inbounds i32, ptr %141, i64 %indvars.iv194
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %143)
  br i1 %144, label %.critedge.loopexit, label %147

145:                                              ; preds = %147
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %158

147:                                              ; preds = %.lr.ph172
  %148 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEpLEw(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef signext %143)
          to label %149 unwind label %145

149:                                              ; preds = %147
  %150 = add nsw i32 %.090170, 1
  %indvars.iv.next195 = add nsw i64 %indvars.iv194, 1
  %151 = icmp slt i32 %150, %135
  %152 = icmp slt i64 %indvars.iv.next195, %18
  %153 = select i1 %151, i1 %152, i1 false
  br i1 %153, label %.lr.ph172, label %.critedge.loopexit, !llvm.loop !36

.critedge.loopexit:                               ; preds = %.lr.ph172, %149
  %.498.lcssa.ph.in = phi i64 [ %indvars.iv.next195, %149 ], [ %indvars.iv194, %.lr.ph172 ]
  %.498.lcssa.ph = trunc i64 %.498.lcssa.ph.in to i32
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %133
  %.498.lcssa = phi i32 [ %136, %133 ], [ %.498.lcssa.ph, %.critedge.loopexit ]
  %154 = getelementptr inbounds i8, ptr %67, i64 8
  %155 = invoke noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %154, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %159 unwind label %156

156:                                              ; preds = %.critedge
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %158

158:                                              ; preds = %156, %145
  %.pn = phi { ptr, i32 } [ %157, %156 ], [ %146, %145 ]
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  br label %161

159:                                              ; preds = %.critedge
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  br label %.backedge

.backedge:                                        ; preds = %159, %85, %120, %77
  %.094.be = phi i32 [ %spec.select140, %85 ], [ %.397, %120 ], [ %.498.lcssa, %159 ], [ %78, %77 ]
  %160 = icmp slt i32 %.094.be, %10
  br i1 %160, label %19, label %.loopexit, !llvm.loop !37

161:                                              ; preds = %116, %158, %131, %62
  %.pn133.pn.pn = phi { ptr, i32 } [ %.pn133.pn, %62 ], [ %117, %116 ], [ %132, %131 ], [ %.pn, %158 ]
  resume { ptr, i32 } %.pn133.pn.pn

.loopexit:                                        ; preds = %.backedge, %.backedge.thread, %.preheader, %.thread, %12, %3
  %.5 = phi i1 [ false, %3 ], [ false, %12 ], [ true, %.thread ], [ true, %.preheader ], [ true, %.backedge.thread ], [ true, %.backedge ]
  ret i1 %.5
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11MyStringLenIwEiPKT_(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11CStringBaseIwEC2EPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK11CStringBaseIwE4LeftEi(ptr dead_on_unwind noalias writable sret(%class.CStringBase) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11CStringBaseIwE13CompareNoCaseERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11CStringBaseIwE4FindEw(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK11CStringBaseIwE3MidEii(ptr dead_on_unwind noalias writable sret(%class.CStringBase) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint 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 #4 = { nounwind }
attributes #5 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"wchar_t", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN18NCommandLineParser7CParserE", !11, i64 0, !12, i64 8, !13, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"_ZTS13CObjectVectorI11CStringBaseIwEE", !14, i64 0}
!14 = !{!"_ZTS13CRecordVectorIPvE", !15, i64 0}
!15 = !{!"_ZTS17CBaseRecordVector", !11, i64 8, !11, i64 12, !12, i64 16, !16, i64 24}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"_ZTSN18NCommandLineParser11CSwitchFormE", !12, i64 0, !19, i64 8, !20, i64 12, !11, i64 16, !11, i64 20, !12, i64 24}
!19 = !{!"_ZTSN18NCommandLineParser11NSwitchType5EEnumE", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!12, !12, i64 0}
!24 = !{!10, !12, i64 8}
!25 = !{!18, !20, i64 12}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!29, !20, i64 0}
!29 = !{!"_ZTSN18NCommandLineParser13CSwitchResultE", !20, i64 0, !20, i64 1, !13, i64 8, !11, i64 40}
!30 = !{!18, !19, i64 8}
!31 = !{!29, !20, i64 1}
!32 = !{!18, !11, i64 16}
!33 = !{!18, !12, i64 24}
!34 = !{!29, !11, i64 40}
!35 = !{!18, !11, i64 20}
!36 = distinct !{!36, !22}
!37 = distinct !{!37, !22}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass