; LLVM IR from chensoft/libsocket :: src/ip (ip_version)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array" = type { [16 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { ptr }
%"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] }

@_ZTISt13runtime_error = external constant ptr
@.str.5 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isdigit(i32 noundef) #6

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

; Function Attrs: mustprogress uwtable
define dso_local { i64, i64 } @_ZN4chen11ip_version67toBytesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPhPj(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1, ptr noundef %2) #7 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::array", align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca [5 x i8], align 1
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca i16, align 2
  %24 = alloca ptr, align 8
  %25 = alloca %"class.std::reverse_iterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.std::reverse_iterator", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = 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
  call void @llvm.memset.p0.i64(ptr align 1 %4, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #12
  %30 = call noundef ptr @_ZNSt5arrayIhLm16EE5beginEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #13
  store ptr %30, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #12
  %31 = call noundef ptr @_ZNSt5arrayIhLm16EE3endEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #13
  store ptr %31, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #12
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #12
  %34 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #12
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %10, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #12
  store i32 8, ptr %13, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #12
  store i8 1, ptr %14, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #12
  store i32 0, ptr %15, align 4, !tbaa !10
  br label %38

38:                                               ; preds = %195, %3
  %39 = load i32, ptr %15, align 4, !tbaa !10
  %40 = load i32, ptr %13, align 4, !tbaa !10
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %42, label %54

42:                                               ; preds = %38
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  br i1 %43, label %44, label %54

44:                                               ; preds = %42
  %45 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %46 = load i8, ptr %45, align 1, !tbaa !14
  %47 = sext i8 %46 to i32
  %48 = icmp ne i32 %47, 47
  br i1 %48, label %49, label %54

49:                                               ; preds = %44
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %51 = load i8, ptr %50, align 1, !tbaa !14
  %52 = sext i8 %51 to i32
  %53 = icmp ne i32 %52, 37
  br label %54

54:                                               ; preds = %49, %44, %42, %38
  %55 = phi i1 [ false, %44 ], [ false, %42 ], [ false, %38 ], [ %53, %49 ]
  br i1 %55, label %57, label %56

56:                                               ; preds = %54
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #12
  br label %199

57:                                               ; preds = %54
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %10) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #12
  br i1 %58, label %59, label %71

59:                                               ; preds = %57
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %61 = load i8, ptr %60, align 1, !tbaa !14
  %62 = sext i8 %61 to i32
  %63 = icmp eq i32 %62, 58
  br i1 %63, label %64, label %71

64:                                               ; preds = %59
  %65 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef 1) #12
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  %67 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #12
  %68 = load i8, ptr %67, align 1, !tbaa !14
  %69 = sext i8 %68 to i32
  %70 = icmp eq i32 %69, 58
  br label %71

71:                                               ; preds = %64, %59, %57
  %72 = phi i1 [ false, %59 ], [ false, %57 ], [ %70, %64 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #12
  br i1 %72, label %73, label %87

73:                                               ; preds = %71
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = call noundef ptr @_ZNSt5arrayIhLm16EE3endEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #13
  %76 = icmp eq ptr %74, %75
  br i1 %76, label %77, label %80

77:                                               ; preds = %73
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %79, ptr %9, align 8, !tbaa !5
  br label %195

80:                                               ; preds = %73
  %81 = call ptr @__cxa_allocate_exception(i64 16) #12
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef @.str.9)
          to label %82 unwind label %83

82:                                               ; preds = %80
  call void @__cxa_throw(ptr %81, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #14
  unreachable

83:                                               ; preds = %80
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %18, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %19, align 4
  call void @__cxa_free_exception(ptr %81) #12
  br label %198

87:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 5, ptr %20) #12
  call void @llvm.memset.p0.i64(ptr align 1 %20, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #12
  store i32 0, ptr %21, align 4, !tbaa !10
  br label %88

88:                                               ; preds = %167, %87
  %89 = load i32, ptr %21, align 4, !tbaa !10
  %90 = icmp slt i32 %89, 5
  br i1 %90, label %91, label %93

91:                                               ; preds = %88
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  br label %93

93:                                               ; preds = %91, %88
  %94 = phi i1 [ false, %88 ], [ %92, %91 ]
  br i1 %94, label %96, label %95

95:                                               ; preds = %93
  store i32 5, ptr %16, align 4
  br label %171

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #12
  %97 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %98 = load i8, ptr %97, align 1, !tbaa !14
  %99 = sext i8 %98 to i32
  %100 = call i32 @tolower(i32 noundef %99) #15
  %101 = trunc i32 %100 to i8
  store i8 %101, ptr %22, align 1, !tbaa !14
  %102 = load i8, ptr %22, align 1, !tbaa !14
  %103 = sext i8 %102 to i32
  %104 = icmp sge i32 %103, 48
  br i1 %104, label %105, label %109

105:                                              ; preds = %96
  %106 = load i8, ptr %22, align 1, !tbaa !14
  %107 = sext i8 %106 to i32
  %108 = icmp sle i32 %107, 57
  br i1 %108, label %117, label %109

109:                                              ; preds = %105, %96
  %110 = load i8, ptr %22, align 1, !tbaa !14
  %111 = sext i8 %110 to i32
  %112 = icmp sge i32 %111, 97
  br i1 %112, label %113, label %123

113:                                              ; preds = %109
  %114 = load i8, ptr %22, align 1, !tbaa !14
  %115 = sext i8 %114 to i32
  %116 = icmp sle i32 %115, 102
  br i1 %116, label %117, label %123

117:                                              ; preds = %113, %105
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %119 = load i8, ptr %22, align 1, !tbaa !14
  %120 = load i32, ptr %21, align 4, !tbaa !10
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [5 x i8], ptr %20, i64 0, i64 %121
  store i8 %119, ptr %122, align 1, !tbaa !14
  br label %163

123:                                              ; preds = %113, %109
  %124 = load i8, ptr %22, align 1, !tbaa !14
  %125 = sext i8 %124 to i32
  %126 = icmp eq i32 %125, 58
  br i1 %126, label %127, label %139

127:                                              ; preds = %123
  %128 = load i8, ptr %14, align 1, !tbaa !12, !range !15, !noundef !16
  %129 = trunc i8 %128 to i1
  br i1 %129, label %137, label %130

130:                                              ; preds = %127
  %131 = call ptr @__cxa_allocate_exception(i64 16) #12
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr noundef @.str.10)
          to label %132 unwind label %133

132:                                              ; preds = %130
  call void @__cxa_throw(ptr %131, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #14
  unreachable

133:                                              ; preds = %130
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %18, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %19, align 4
  call void @__cxa_free_exception(ptr %131) #12
  br label %170

137:                                              ; preds = %127
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  store i32 5, ptr %16, align 4
  br label %164

139:                                              ; preds = %123
  %140 = load i8, ptr %22, align 1, !tbaa !14
  %141 = sext i8 %140 to i32
  %142 = icmp eq i32 %141, 46
  br i1 %142, label %143, label %145

143:                                              ; preds = %139
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  store i32 10, ptr %13, align 4, !tbaa !10
  store i8 0, ptr %14, align 1, !tbaa !12
  store i32 5, ptr %16, align 4
  br label %164

145:                                              ; preds = %139
  %146 = load i8, ptr %22, align 1, !tbaa !14
  %147 = sext i8 %146 to i32
  %148 = icmp ne i32 %147, 47
  br i1 %148, label %149, label %160

149:                                              ; preds = %145
  %150 = load i8, ptr %22, align 1, !tbaa !14
  %151 = sext i8 %150 to i32
  %152 = icmp ne i32 %151, 37
  br i1 %152, label %153, label %160

153:                                              ; preds = %149
  %154 = call ptr @__cxa_allocate_exception(i64 16) #12
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %154, ptr noundef @.str.11)
          to label %155 unwind label %156

155:                                              ; preds = %153
  call void @__cxa_throw(ptr %154, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #14
  unreachable

156:                                              ; preds = %153
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %18, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %19, align 4
  call void @__cxa_free_exception(ptr %154) #12
  br label %170

160:                                              ; preds = %149, %145
  br label %161

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162, %117
  store i32 0, ptr %16, align 4
  br label %164

164:                                              ; preds = %163, %143, %137
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #12
  %165 = load i32, ptr %16, align 4
  switch i32 %165, label %171 [
    i32 0, label %166
  ]

166:                                              ; preds = %164
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %21, align 4, !tbaa !10
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %21, align 4, !tbaa !10
  br label %88, !llvm.loop !17

170:                                              ; preds = %156, %133
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #12
  call void @llvm.lifetime.end.p0(i64 5, ptr %20) #12
  br label %198

171:                                              ; preds = %164, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #12
  br label %172

172:                                              ; preds = %171
  %173 = load i8, ptr %14, align 1, !tbaa !12, !range !15, !noundef !16
  %174 = trunc i8 %173 to i1
  br i1 %174, label %175, label %188

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #12
  %176 = getelementptr inbounds [5 x i8], ptr %20, i64 0, i64 0
  %177 = call i64 @strtol(ptr noundef %176, ptr noundef null, i32 noundef 16) #12
  %178 = trunc i64 %177 to i16
  store i16 %178, ptr %23, align 2, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #12
  store ptr %23, ptr %24, align 8, !tbaa !5
  %179 = load ptr, ptr %24, align 8, !tbaa !5
  %180 = getelementptr inbounds i8, ptr %179, i64 1
  %181 = load i8, ptr %180, align 1, !tbaa !14
  %182 = load ptr, ptr %8, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i32 1
  store ptr %183, ptr %8, align 8, !tbaa !5
  store i8 %181, ptr %182, align 1, !tbaa !14
  %184 = load ptr, ptr %24, align 8, !tbaa !5
  %185 = load i8, ptr %184, align 1, !tbaa !14
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  %187 = getelementptr inbounds i8, ptr %186, i32 1
  store ptr %187, ptr %8, align 8, !tbaa !5
  store i8 %185, ptr %186, align 1, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #12
  br label %194

188:                                              ; preds = %172
  %189 = getelementptr inbounds [5 x i8], ptr %20, i64 0, i64 0
  %190 = call i32 @atoi(ptr noundef %189) #15
  %191 = trunc i32 %190 to i8
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds i8, ptr %192, i32 1
  store ptr %193, ptr %8, align 8, !tbaa !5
  store i8 %191, ptr %192, align 1, !tbaa !14
  br label %194

194:                                              ; preds = %188, %175
  call void @llvm.lifetime.end.p0(i64 5, ptr %20) #12
  br label %195

195:                                              ; preds = %194, %77
  %196 = load i32, ptr %15, align 4, !tbaa !10
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %15, align 4, !tbaa !10
  br label %38, !llvm.loop !21

198:                                              ; preds = %170, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #12
  br label %310

199:                                              ; preds = %56
  %200 = load ptr, ptr %9, align 8, !tbaa !5
  %201 = call noundef ptr @_ZNSt5arrayIhLm16EE3endEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #13
  %202 = icmp ne ptr %200, %201
  br i1 %202, label %203, label %219

203:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #12
  call void @_ZNSt5arrayIhLm16EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %25, ptr noundef nonnull align 1 dereferenceable(16) %4) #16
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #12
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = getelementptr inbounds i8, ptr %204, i64 -1
  store ptr %205, ptr %26, align 8, !tbaa !5
  br label %206

206:                                              ; preds = %215, %203
  %207 = load ptr, ptr %26, align 8, !tbaa !5
  %208 = load ptr, ptr %9, align 8, !tbaa !5
  %209 = icmp uge ptr %207, %208
  br i1 %209, label %211, label %210

210:                                              ; preds = %206
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #12
  br label %218

211:                                              ; preds = %206
  %212 = load ptr, ptr %26, align 8, !tbaa !5
  %213 = load i8, ptr %212, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #12
  call void @_ZNSt16reverse_iteratorIPhEppEi(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0)
  %214 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt16reverse_iteratorIPhEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
  store i8 %213, ptr %214, align 1, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #12
  br label %215

215:                                              ; preds = %211
  %216 = load ptr, ptr %26, align 8, !tbaa !5
  %217 = getelementptr inbounds i8, ptr %216, i32 -1
  store ptr %217, ptr %26, align 8, !tbaa !5
  store i8 0, ptr %216, align 1, !tbaa !14
  br label %206, !llvm.loop !22

218:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #12
  br label %219

219:                                              ; preds = %218, %199
  %220 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  br i1 %220, label %221, label %255

221:                                              ; preds = %219
  %222 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %223 = load i8, ptr %222, align 1, !tbaa !14
  %224 = sext i8 %223 to i32
  %225 = icmp eq i32 %224, 37
  br i1 %225, label %226, label %255

226:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  br label %227

227:                                              ; preds = %241, %226
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %229 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  br i1 %229, label %230, label %235

230:                                              ; preds = %227
  %231 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %232 = load i8, ptr %231, align 1, !tbaa !14
  %233 = sext i8 %232 to i32
  %234 = icmp ne i32 %233, 47
  br label %235

235:                                              ; preds = %230, %227
  %236 = phi i1 [ false, %227 ], [ %234, %230 ]
  br i1 %236, label %237, label %246

237:                                              ; preds = %235
  %238 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %239 = load i8, ptr %238, align 1, !tbaa !14
  %240 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %28, i8 noundef signext %239)
          to label %241 unwind label %242

241:                                              ; preds = %237
  br label %227, !llvm.loop !23

242:                                              ; preds = %249, %237
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %18, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #12
  br label %310

246:                                              ; preds = %235
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = icmp ne ptr %247, null
  br i1 %248, label %249, label %254

249:                                              ; preds = %246
  %250 = call noundef ptr @_ZNSt5arrayIhLm16EE4dataEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #13
  %251 = invoke noundef i32 @_ZN4chen12inet_adapter5scopeEPKhRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %250, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %252 unwind label %242

252:                                              ; preds = %249
  %253 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 %251, ptr %253, align 4, !tbaa !10
  br label %254

254:                                              ; preds = %252, %246
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #12
  br label %261

255:                                              ; preds = %221, %219
  %256 = load ptr, ptr %7, align 8, !tbaa !5
  %257 = icmp ne ptr %256, null
  br i1 %257, label %258, label %260

258:                                              ; preds = %255
  %259 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %259, align 4, !tbaa !10
  br label %260

260:                                              ; preds = %258, %255
  br label %261

261:                                              ; preds = %260, %254
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = icmp ne ptr %262, null
  br i1 %263, label %264, label %307

264:                                              ; preds = %261
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  store i8 -128, ptr %265, align 1, !tbaa !14
  %266 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  br i1 %266, label %267, label %306

267:                                              ; preds = %264
  %268 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %269 = load i8, ptr %268, align 1, !tbaa !14
  %270 = sext i8 %269 to i32
  %271 = icmp eq i32 %270, 47
  br i1 %271, label %272, label %306

272:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #12
  store i32 0, ptr %29, align 4, !tbaa !10
  br label %273

273:                                              ; preds = %284, %272
  %274 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %275 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef nonnull align 8 dereferenceable(8) %11) #12
  br i1 %275, label %276, label %282

276:                                              ; preds = %273
  %277 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %278 = load i8, ptr %277, align 1, !tbaa !14
  %279 = sext i8 %278 to i32
  %280 = call i32 @isdigit(i32 noundef %279) #15
  %281 = icmp ne i32 %280, 0
  br label %282

282:                                              ; preds = %276, %273
  %283 = phi i1 [ false, %273 ], [ %281, %276 ]
  br i1 %283, label %284, label %292

284:                                              ; preds = %282
  %285 = load i32, ptr %29, align 4, !tbaa !10
  %286 = mul i32 %285, 10
  %287 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #12
  %288 = load i8, ptr %287, align 1, !tbaa !14
  %289 = sext i8 %288 to i32
  %290 = sub nsw i32 %289, 48
  %291 = add i32 %286, %290
  store i32 %291, ptr %29, align 4, !tbaa !10
  br label %273, !llvm.loop !24

292:                                              ; preds = %282
  %293 = load i32, ptr %29, align 4, !tbaa !10
  %294 = icmp ugt i32 %293, 128
  br i1 %294, label %295, label %302

295:                                              ; preds = %292
  %296 = call ptr @__cxa_allocate_exception(i64 16) #12
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %296, ptr noundef @.str.5)
          to label %297 unwind label %298

297:                                              ; preds = %295
  call void @__cxa_throw(ptr %296, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #14
  unreachable

298:                                              ; preds = %295
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %18, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %19, align 4
  call void @__cxa_free_exception(ptr %296) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #12
  br label %310

302:                                              ; preds = %292
  %303 = load i32, ptr %29, align 4, !tbaa !10
  %304 = trunc i32 %303 to i8
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  store i8 %304, ptr %305, align 1, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #12
  br label %306

306:                                              ; preds = %302, %267, %264
  br label %307

307:                                              ; preds = %306, %261
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #12
  %308 = getelementptr inbounds %"struct.std::array", ptr %4, i32 0, i32 0
  %309 = load { i64, i64 }, ptr %308, align 1
  ret { i64, i64 } %309

310:                                              ; preds = %298, %242, %198
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #12
  br label %311

311:                                              ; preds = %310
  %312 = load ptr, ptr %18, align 8
  %313 = load i32, ptr %19, align 4
  %314 = insertvalue { ptr, i32 } poison, ptr %312, 0
  %315 = insertvalue { ptr, i32 } %314, i32 %313, 1
  resume { ptr, i32 } %315
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIhLm16EE4dataEv(ptr noundef nonnull align 1 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIhLm16EE5beginEv(ptr noundef nonnull align 1 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIhLm16EE3endEv(ptr noundef nonnull align 1 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #7 align 2

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) #6

; Function Attrs: nounwind
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1

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

; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite) uwtable
declare dso_local void @_ZNSt5arrayIhLm16EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 1 dereferenceable(16)) #11 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt16reverse_iteratorIPhEppEi(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef i32 @_ZN4chen12inet_adapter5scopeEPKhRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { mustprogress nounwind willreturn memory(none) 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 #10 = { 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 #11 = { mustprogress nounwind willreturn memory(argmem: readwrite) 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 #12 = { nounwind }
attributes #13 = { nounwind willreturn memory(none) }
attributes #14 = { noreturn }
attributes #15 = { nounwind willreturn memory(read) }
attributes #16 = { nounwind willreturn memory(argmem: readwrite) }

!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 = !{i64 0, i64 8, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}


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

%"struct.std::array" = type { [16 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { ptr }
%"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] }

@_ZTISt13runtime_error = external constant ptr
@.str.5 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
define dso_local { i64, i64 } @_ZN4chen11ip_version67toBytesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPhPj(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::array", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca [5 x i8], align 1
  %10 = alloca %"class.std::reverse_iterator", align 8
  %11 = alloca %"class.std::reverse_iterator", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
  %13 = call noundef ptr @_ZNSt5arrayIhLm16EE5beginEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #12
  %14 = call noundef ptr @_ZNSt5arrayIhLm16EE3endEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #13
  %15 = tail call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #13
  store ptr %15, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #13
  %16 = tail call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #13
  store ptr %16, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #13
  %.cast = ptrtoint ptr %15 to i64
  store i64 %.cast, ptr %7, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %9, i64 1
  %18 = getelementptr inbounds i8, ptr %9, i64 2
  %19 = getelementptr inbounds i8, ptr %9, i64 3
  %20 = getelementptr inbounds i8, ptr %9, i64 4
  br label %21

21:                                               ; preds = %3, %143
  %.061120 = phi ptr [ %13, %3 ], [ %.2, %143 ]
  %.062119 = phi ptr [ %14, %3 ], [ %.163, %143 ]
  %.072118 = phi i32 [ 0, %3 ], [ %144, %143 ]
  %.073117 = phi i8 [ 1, %3 ], [ %.4, %143 ]
  %.076116 = phi i32 [ 8, %3 ], [ %.480, %143 ]
  %22 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %22, label %23, label %.critedge

23:                                               ; preds = %21
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %25 = load i8, ptr %24, align 1, !tbaa !9
  %.not = icmp eq i8 %25, 47
  br i1 %.not, label %.critedge, label %26

26:                                               ; preds = %23
  %27 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %28 = load i8, ptr %27, align 1, !tbaa !9
  %.not85 = icmp eq i8 %28, 37
  br i1 %.not85, label %.critedge, label %29

.critedge:                                        ; preds = %23, %21, %143, %26
  %.062.lcssa = phi ptr [ %.062119, %23 ], [ %.062119, %21 ], [ %.163, %143 ], [ %.062119, %26 ]
  %.061.lcssa = phi ptr [ %.061120, %23 ], [ %.061120, %21 ], [ %.2, %143 ], [ %.061120, %26 ]
  %.not86 = icmp eq ptr %.062.lcssa, %14
  br i1 %.not86, label %149, label %146

29:                                               ; preds = %26
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %5) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #13
  br i1 %30, label %31, label %.critedge2

31:                                               ; preds = %29
  %32 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %33 = load i8, ptr %32, align 1, !tbaa !9
  %34 = icmp eq i8 %33, 58
  br i1 %34, label %35, label %.critedge2

35:                                               ; preds = %31
  %36 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef 1) #13
  store ptr %36, ptr %8, align 8
  %37 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #13
  %38 = load i8, ptr %37, align 1, !tbaa !9
  %39 = icmp eq i8 %38, 58
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #13
  br i1 %39, label %40, label %49

40:                                               ; preds = %35
  %41 = icmp eq ptr %.062119, %14
  br i1 %41, label %42, label %44

42:                                               ; preds = %40
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  br label %143

44:                                               ; preds = %40
  %45 = call ptr @__cxa_allocate_exception(i64 16) #13
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull @.str.9)
          to label %46 unwind label %47

46:                                               ; preds = %44
  call void @__cxa_throw(ptr nonnull %45, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #14
  unreachable

47:                                               ; preds = %44
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %45) #13
  br label %203

.critedge2:                                       ; preds = %29, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #13
  br label %49

49:                                               ; preds = %.critedge2, %35
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %9) #13
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %9, i8 0, i64 5, i1 false)
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %50, label %51, label %.critedge4

51:                                               ; preds = %49
  %52 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %53 = load i8, ptr %52, align 1, !tbaa !9
  %54 = sext i8 %53 to i32
  %55 = call i32 @tolower(i32 noundef %54) #15
  %sext = shl i32 %55, 24
  %56 = ashr exact i32 %sext, 24
  %57 = add nsw i32 %56, -48
  %or.cond = icmp ult i32 %57, 10
  %58 = add nsw i32 %56, -97
  %or.cond9 = icmp ult i32 %58, 6
  %or.cond97 = select i1 %or.cond, i1 true, i1 %or.cond9
  br i1 %or.cond97, label %59, label %62

59:                                               ; preds = %51
  %60 = trunc i32 %55 to i8
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  store i8 %60, ptr %9, align 1, !tbaa !9
  br label %77

62:                                               ; preds = %51
  switch i32 %sext, label %72 [
    i32 973078528, label %63
    i32 771751936, label %.critedge4.thread
    i32 788529152, label %77
    i32 620756992, label %77
  ]

63:                                               ; preds = %129, %115, %101, %87, %62
  %64 = trunc nuw i8 %.073117 to i1
  br i1 %64, label %.critedge4.thread129, label %65

65:                                               ; preds = %63
  %66 = call ptr @__cxa_allocate_exception(i64 16) #13
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull @.str.10)
          to label %67 unwind label %68

67:                                               ; preds = %65
  call void @__cxa_throw(ptr nonnull %66, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #14
  unreachable

68:                                               ; preds = %65
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %133

.critedge4.thread129:                             ; preds = %63
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  br label %134

.critedge4.thread:                                ; preds = %129, %115, %101, %87, %62
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  br label %138

72:                                               ; preds = %129, %115, %101, %87, %62
  %73 = call ptr @__cxa_allocate_exception(i64 16) #13
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %73, ptr noundef nonnull @.str.11)
          to label %74 unwind label %75

74:                                               ; preds = %72
  call void @__cxa_throw(ptr nonnull %73, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #14
  unreachable

75:                                               ; preds = %72
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %133

77:                                               ; preds = %59, %62, %62
  %78 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %78, label %79, label %.critedge4

79:                                               ; preds = %77
  %80 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %81 = load i8, ptr %80, align 1, !tbaa !9
  %82 = sext i8 %81 to i32
  %83 = call i32 @tolower(i32 noundef %82) #15
  %sext.1 = shl i32 %83, 24
  %84 = ashr exact i32 %sext.1, 24
  %85 = add nsw i32 %84, -48
  %or.cond.1 = icmp ult i32 %85, 10
  %86 = add nsw i32 %84, -97
  %or.cond9.1 = icmp ult i32 %86, 6
  %or.cond97.1 = select i1 %or.cond.1, i1 true, i1 %or.cond9.1
  br i1 %or.cond97.1, label %88, label %87

87:                                               ; preds = %79
  switch i32 %sext.1, label %72 [
    i32 973078528, label %63
    i32 771751936, label %.critedge4.thread
    i32 788529152, label %91
    i32 620756992, label %91
  ]

88:                                               ; preds = %79
  %89 = trunc i32 %83 to i8
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  store i8 %89, ptr %17, align 1, !tbaa !9
  br label %91

91:                                               ; preds = %88, %87, %87
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %92, label %93, label %.critedge4

93:                                               ; preds = %91
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %95 = load i8, ptr %94, align 1, !tbaa !9
  %96 = sext i8 %95 to i32
  %97 = call i32 @tolower(i32 noundef %96) #15
  %sext.2 = shl i32 %97, 24
  %98 = ashr exact i32 %sext.2, 24
  %99 = add nsw i32 %98, -48
  %or.cond.2 = icmp ult i32 %99, 10
  %100 = add nsw i32 %98, -97
  %or.cond9.2 = icmp ult i32 %100, 6
  %or.cond97.2 = select i1 %or.cond.2, i1 true, i1 %or.cond9.2
  br i1 %or.cond97.2, label %102, label %101

101:                                              ; preds = %93
  switch i32 %sext.2, label %72 [
    i32 973078528, label %63
    i32 771751936, label %.critedge4.thread
    i32 788529152, label %105
    i32 620756992, label %105
  ]

102:                                              ; preds = %93
  %103 = trunc i32 %97 to i8
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  store i8 %103, ptr %18, align 1, !tbaa !9
  br label %105

105:                                              ; preds = %102, %101, %101
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %106, label %107, label %.critedge4

107:                                              ; preds = %105
  %108 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %109 = load i8, ptr %108, align 1, !tbaa !9
  %110 = sext i8 %109 to i32
  %111 = call i32 @tolower(i32 noundef %110) #15
  %sext.3 = shl i32 %111, 24
  %112 = ashr exact i32 %sext.3, 24
  %113 = add nsw i32 %112, -48
  %or.cond.3 = icmp ult i32 %113, 10
  %114 = add nsw i32 %112, -97
  %or.cond9.3 = icmp ult i32 %114, 6
  %or.cond97.3 = select i1 %or.cond.3, i1 true, i1 %or.cond9.3
  br i1 %or.cond97.3, label %116, label %115

115:                                              ; preds = %107
  switch i32 %sext.3, label %72 [
    i32 973078528, label %63
    i32 771751936, label %.critedge4.thread
    i32 788529152, label %119
    i32 620756992, label %119
  ]

116:                                              ; preds = %107
  %117 = trunc i32 %111 to i8
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  store i8 %117, ptr %19, align 1, !tbaa !9
  br label %119

119:                                              ; preds = %116, %115, %115
  %120 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %120, label %121, label %.critedge4

121:                                              ; preds = %119
  %122 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %123 = load i8, ptr %122, align 1, !tbaa !9
  %124 = sext i8 %123 to i32
  %125 = call i32 @tolower(i32 noundef %124) #15
  %sext.4 = shl i32 %125, 24
  %126 = ashr exact i32 %sext.4, 24
  %127 = add nsw i32 %126, -48
  %or.cond.4 = icmp ult i32 %127, 10
  %128 = add nsw i32 %126, -97
  %or.cond9.4 = icmp ult i32 %128, 6
  %or.cond97.4 = select i1 %or.cond.4, i1 true, i1 %or.cond9.4
  br i1 %or.cond97.4, label %130, label %129

129:                                              ; preds = %121
  switch i32 %sext.4, label %72 [
    i32 973078528, label %63
    i32 771751936, label %.critedge4.thread
    i32 788529152, label %.critedge4
    i32 620756992, label %.critedge4
  ]

130:                                              ; preds = %121
  %131 = trunc i32 %125 to i8
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  store i8 %131, ptr %20, align 1, !tbaa !9
  br label %.critedge4

133:                                              ; preds = %75, %68
  %.sink = phi ptr [ %73, %75 ], [ %66, %68 ]
  %.pn = phi { ptr, i32 } [ %76, %75 ], [ %69, %68 ]
  call void @__cxa_free_exception(ptr %.sink) #13
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %9) #13
  br label %203

.critedge4:                                       ; preds = %49, %77, %91, %105, %119, %130, %129, %129
  %.pre = trunc nuw i8 %.073117 to i1
  br i1 %.pre, label %134, label %138

134:                                              ; preds = %.critedge4.thread129, %.critedge4
  %135 = call i64 @strtol(ptr nocapture noundef nonnull %9, ptr noundef null, i32 noundef 16) #13
  %.sroa.0.0.extract.trunc = trunc i64 %135 to i8
  %.sroa.4.0.extract.shift93 = lshr i64 %135, 8
  %.sroa.4.0.extract.trunc = trunc i64 %.sroa.4.0.extract.shift93 to i8
  %136 = getelementptr inbounds i8, ptr %.061120, i64 1
  store i8 %.sroa.4.0.extract.trunc, ptr %.061120, align 1, !tbaa !9
  %137 = getelementptr inbounds i8, ptr %.061120, i64 2
  store i8 %.sroa.0.0.extract.trunc, ptr %136, align 1, !tbaa !9
  br label %142

138:                                              ; preds = %.critedge4.thread, %.critedge4
  %.3108 = phi i8 [ 0, %.critedge4.thread ], [ %.073117, %.critedge4 ]
  %.379106 = phi i32 [ 10, %.critedge4.thread ], [ %.076116, %.critedge4 ]
  %139 = call i32 @atoi(ptr nocapture noundef %9) #15
  %140 = trunc i32 %139 to i8
  %141 = getelementptr inbounds i8, ptr %.061120, i64 1
  store i8 %140, ptr %.061120, align 1, !tbaa !9
  br label %142

142:                                              ; preds = %138, %134
  %.3107 = phi i8 [ %.073117, %134 ], [ %.3108, %138 ]
  %.379105 = phi i32 [ %.076116, %134 ], [ %.379106, %138 ]
  %.1 = phi ptr [ %137, %134 ], [ %141, %138 ]
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %9) #13
  br label %143

143:                                              ; preds = %142, %42
  %.480 = phi i32 [ %.076116, %42 ], [ %.379105, %142 ]
  %.4 = phi i8 [ %.073117, %42 ], [ %.3107, %142 ]
  %.163 = phi ptr [ %.061120, %42 ], [ %.062119, %142 ]
  %.2 = phi ptr [ %.061120, %42 ], [ %.1, %142 ]
  %144 = add nuw nsw i32 %.072118, 1
  %145 = icmp slt i32 %144, %.480
  br i1 %145, label %21, label %.critedge, !llvm.loop !10

146:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #13
  call void @_ZNSt5arrayIhLm16EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %10, ptr noundef nonnull align 1 dereferenceable(16) %4) #16
  %.060121 = getelementptr inbounds i8, ptr %.061.lcssa, i64 -1
  %.not87122 = icmp ult ptr %.060121, %.062.lcssa
  br i1 %.not87122, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #13
  br label %149

.lr.ph:                                           ; preds = %146, %.lr.ph
  %.060123 = phi ptr [ %.060, %.lr.ph ], [ %.060121, %146 ]
  %147 = load i8, ptr %.060123, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #13
  call void @_ZNSt16reverse_iteratorIPhEppEi(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0)
  %148 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt16reverse_iteratorIPhEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  store i8 %147, ptr %148, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #13
  store i8 0, ptr %.060123, align 1, !tbaa !9
  %.060 = getelementptr inbounds i8, ptr %.060123, i64 -1
  %.not87 = icmp ult ptr %.060, %.062.lcssa
  br i1 %.not87, label %._crit_edge, label %.lr.ph, !llvm.loop !12

149:                                              ; preds = %._crit_edge, %.critedge
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %150, label %151, label %172

151:                                              ; preds = %149
  %152 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %153 = load i8, ptr %152, align 1, !tbaa !9
  %154 = icmp eq i8 %153, 37
  br i1 %154, label %155, label %172

155:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #13
  br label %156

156:                                              ; preds = %162, %155
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %158 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %158, label %159, label %.critedge14

159:                                              ; preds = %156
  %160 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %161 = load i8, ptr %160, align 1, !tbaa !9
  %.not89 = icmp eq i8 %161, 47
  br i1 %.not89, label %.critedge14, label %162

162:                                              ; preds = %159
  %163 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %164 = load i8, ptr %163, align 1, !tbaa !9
  %165 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %12, i8 noundef signext %164)
          to label %156 unwind label %.loopexit, !llvm.loop !13

.loopexit:                                        ; preds = %162
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %166

.loopexit.split-lp:                               ; preds = %167
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %166

166:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #13
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #13
  br label %203

.critedge14:                                      ; preds = %156, %159
  %.not90 = icmp eq ptr %2, null
  br i1 %.not90, label %171, label %167

167:                                              ; preds = %.critedge14
  %168 = call noundef ptr @_ZNSt5arrayIhLm16EE4dataEv(ptr noundef nonnull align 1 dereferenceable(16) %4) #12
  %169 = invoke noundef i32 @_ZN4chen12inet_adapter5scopeEPKhRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %168, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %170 unwind label %.loopexit.split-lp

170:                                              ; preds = %167
  store i32 %169, ptr %2, align 4, !tbaa !14
  br label %171

171:                                              ; preds = %170, %.critedge14
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #13
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #13
  br label %174

172:                                              ; preds = %151, %149
  %.not88 = icmp eq ptr %2, null
  br i1 %.not88, label %174, label %173

173:                                              ; preds = %172
  store i32 0, ptr %2, align 4, !tbaa !14
  br label %174

174:                                              ; preds = %172, %173, %171
  %.not91 = icmp eq ptr %1, null
  br i1 %.not91, label %202, label %175

175:                                              ; preds = %174
  store i8 -128, ptr %1, align 1, !tbaa !9
  %176 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %176, label %177, label %202

177:                                              ; preds = %175
  %178 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %179 = load i8, ptr %178, align 1, !tbaa !9
  %180 = icmp eq i8 %179, 47
  br i1 %180, label %.preheader, label %202

.preheader:                                       ; preds = %177
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %182 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %182, label %.lr.ph125, label %.critedge16.thread

.lr.ph125:                                        ; preds = %.preheader, %186
  %.0124 = phi i32 [ %192, %186 ], [ 0, %.preheader ]
  %183 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %184 = load i8, ptr %183, align 1, !tbaa !9
  %185 = sext i8 %184 to i32
  %isdigittmp = add nsw i32 %185, -48
  %isdigit = icmp ult i32 %isdigittmp, 10
  br i1 %isdigit, label %186, label %.critedge16

186:                                              ; preds = %.lr.ph125
  %187 = mul i32 %.0124, 10
  %188 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %189 = load i8, ptr %188, align 1, !tbaa !9
  %190 = sext i8 %189 to i32
  %191 = add i32 %187, -48
  %192 = add i32 %191, %190
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #13
  %194 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull align 8 dereferenceable(8) %6) #13
  br i1 %194, label %.lr.ph125, label %.critedge16, !llvm.loop !16

.critedge16:                                      ; preds = %.lr.ph125, %186
  %.0.lcssa = phi i32 [ %.0124, %.lr.ph125 ], [ %192, %186 ]
  %195 = icmp ugt i32 %.0.lcssa, 128
  br i1 %195, label %196, label %.critedge16.thread

196:                                              ; preds = %.critedge16
  %197 = call ptr @__cxa_allocate_exception(i64 16) #13
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %197, ptr noundef nonnull @.str.5)
          to label %198 unwind label %199

198:                                              ; preds = %196
  call void @__cxa_throw(ptr nonnull %197, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #14
  unreachable

199:                                              ; preds = %196
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %197) #13
  br label %203

.critedge16.thread:                               ; preds = %.preheader, %.critedge16
  %.0.lcssa132 = phi i32 [ %.0.lcssa, %.critedge16 ], [ 0, %.preheader ]
  %201 = trunc nuw i32 %.0.lcssa132 to i8
  store i8 %201, ptr %1, align 1, !tbaa !9
  br label %202

202:                                              ; preds = %175, %177, %.critedge16.thread, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #13
  %.fca.0.load = load i64, ptr %4, align 8
  %.fca.0.insert = insertvalue { i64, i64 } poison, i64 %.fca.0.load, 0
  %.fca.1.gep = getelementptr inbounds i8, ptr %4, i64 8
  %.fca.1.load = load i64, ptr %.fca.1.gep, align 8
  %.fca.1.insert = insertvalue { i64, i64 } %.fca.0.insert, i64 %.fca.1.load, 1
  ret { i64, i64 } %.fca.1.insert

203:                                              ; preds = %47, %133, %199, %166
  %.pn94.pn = phi { ptr, i32 } [ %lpad.phi, %166 ], [ %200, %199 ], [ %48, %47 ], [ %.pn, %133 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #13
  resume { ptr, i32 } %.pn94.pn
}

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIhLm16EE4dataEv(ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIhLm16EE5beginEv(ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIhLm16EE3endEv(ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @tolower(i32 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite) uwtable
declare dso_local void @_ZNSt5arrayIhLm16EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #11 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt16reverse_iteratorIPhEppEi(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef i32 @_ZN4chen12inet_adapter5scopeEPKhRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { 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 #7 = { mustprogress nofree nosync nounwind willreturn memory(none) 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 #8 = { mustprogress nofree 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 #9 = { mustprogress nofree nounwind willreturn "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 #10 = { 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 #11 = { mustprogress nounwind willreturn memory(argmem: readwrite) 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 #12 = { nounwind willreturn memory(none) }
attributes #13 = { nounwind }
attributes #14 = { noreturn }
attributes #15 = { nounwind willreturn memory(read) }
attributes #16 = { nounwind willreturn memory(argmem: readwrite) }

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = distinct !{!16, !11}


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