; LLVM IR from musetronstar/tagd :: tagd/src/url.ll/ZN4tagd3url4initERKNSt7 (cxx1112basic_stringIcSt11char_traitsIcESaIcEEE)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.anon = type { ptr, ptr }
%"class.tagd::abstract_tag" = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.tagd::rank", i32, %"class.std::set" }
%"class.tagd::rank" = type { %"class.std::__cxx11::basic_string" }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<tagd::predicate, tagd::predicate, std::_Identity<tagd::predicate>, std::less<tagd::predicate>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<tagd::predicate, tagd::predicate, std::_Identity<tagd::predicate>, std::less<tagd::predicate>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.tagd::url" = type <{ %"class.tagd::abstract_tag", i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, [2 x i8] }>

@_ZN4tagdL12HDURI_SCHEMEB5cxx11E = external hidden global %"class.std::__cxx11::basic_string", align 8
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(230) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca i64, align 8
  %8 = alloca i16, align 2
  %9 = alloca %class.anon, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca i1, align 1
  %18 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %19 = load ptr, ptr %4, align 8
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %2
  %24 = getelementptr inbounds %"class.tagd::abstract_tag", ptr %19, i32 0, i32 6
  %25 = load i32, ptr %24, align 8, !tbaa !9
  store i32 %25, ptr %3, align 4
  br label %821

26:                                               ; preds = %2
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  %29 = icmp ugt i64 %28, 2112
  br i1 %29, label %30, label %32

30:                                               ; preds = %26
  %31 = call noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2112)
  store i32 %31, ptr %3, align 4
  br label %821

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %34 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  store i64 %34, ptr %7, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #6
  store i16 0, ptr %8, align 2, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  %35 = getelementptr inbounds %class.anon, ptr %9, i32 0, i32 0
  store ptr %19, ptr %35, align 8, !tbaa !28
  %36 = getelementptr inbounds %class.anon, ptr %9, i32 0, i32 1
  store ptr %6, ptr %36, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %128, %32
  %38 = load i16, ptr %8, align 2, !tbaa !26
  %39 = zext i16 %38 to i64
  %40 = load i64, ptr %7, align 8, !tbaa !25
  %41 = icmp ult i64 %39, %40
  br i1 %41, label %42, label %131

42:                                               ; preds = %37
  %43 = load i16, ptr %8, align 2, !tbaa !26
  %44 = zext i16 %43 to i64
  %45 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %44)
          to label %46 unwind label %69

46:                                               ; preds = %42
  %47 = load i8, ptr %45, align 1, !tbaa !30
  %48 = sext i8 %47 to i32
  %49 = call i32 @tolower(i32 noundef %48) #7
  %50 = trunc i32 %49 to i8
  %51 = load i16, ptr %8, align 2, !tbaa !26
  %52 = zext i16 %51 to i64
  %53 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %52)
          to label %54 unwind label %69

54:                                               ; preds = %46
  store i8 %50, ptr %53, align 1, !tbaa !30
  %55 = load i16, ptr %8, align 2, !tbaa !26
  %56 = zext i16 %55 to i64
  %57 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %56)
          to label %58 unwind label %69

58:                                               ; preds = %54
  %59 = load i8, ptr %57, align 1, !tbaa !30
  %60 = sext i8 %59 to i32
  %61 = icmp eq i32 %60, 58
  br i1 %61, label %62, label %127

62:                                               ; preds = %58
  %63 = load i16, ptr %8, align 2, !tbaa !26
  %64 = zext i16 %63 to i32
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %73

66:                                               ; preds = %62
  %67 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2113)
          to label %68 unwind label %69

68:                                               ; preds = %66
  store i32 %67, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

69:                                               ; preds = %816, %813, %800, %796, %737, %704, %685, %671, %638, %619, %600, %586, %566, %543, %524, %503, %484, %470, %422, %390, %358, %322, %299, %276, %252, %221, %177, %156, %142, %131, %124, %99, %66, %54, %46, %42
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %10, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %11, align 4
  br label %820

73:                                               ; preds = %62
  %74 = load i16, ptr %8, align 2, !tbaa !26
  %75 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 1
  store i16 %74, ptr %75, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  %76 = load i16, ptr %8, align 2, !tbaa !26
  %77 = zext i16 %76 to i64
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %77, i64 noundef 3)
          to label %78 unwind label %86

78:                                               ; preds = %73
  %79 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.5)
          to label %80 unwind label %90

80:                                               ; preds = %78
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br i1 %79, label %81, label %95

81:                                               ; preds = %80
  %82 = load i16, ptr %8, align 2, !tbaa !26
  %83 = zext i16 %82 to i32
  %84 = add nsw i32 %83, 3
  %85 = trunc i32 %84 to i16
  store i16 %85, ptr %8, align 2, !tbaa !26
  br label %134

86:                                               ; preds = %73
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %10, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %11, align 4
  br label %94

90:                                               ; preds = %78
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %10, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %94

94:                                               ; preds = %90, %86
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br label %820

95:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  %96 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_ZN4tagdL12HDURI_SCHEMEB5cxx11E) #6
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0, i64 noundef %96)
          to label %97 unwind label %102

97:                                               ; preds = %95
  %98 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) @_ZN4tagdL12HDURI_SCHEMEB5cxx11E) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br i1 %98, label %99, label %106

99:                                               ; preds = %97
  %100 = invoke noundef i32 @_ZN4tagd3url10init_hduriERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(230) %19, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %101 unwind label %69

101:                                              ; preds = %99
  store i32 %100, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

102:                                              ; preds = %95
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %10, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %820

106:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %107 = load i16, ptr %8, align 2, !tbaa !26
  %108 = zext i16 %107 to i64
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0, i64 noundef %108)
          to label %109 unwind label %115

109:                                              ; preds = %106
  %110 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.6)
          to label %111 unwind label %119

111:                                              ; preds = %109
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  br i1 %110, label %112, label %124

112:                                              ; preds = %111
  %113 = load i16, ptr %8, align 2, !tbaa !26
  %114 = add i16 %113, 1
  store i16 %114, ptr %8, align 2, !tbaa !26
  br label %134

115:                                              ; preds = %106
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %10, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %11, align 4
  br label %123

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %10, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %123

123:                                              ; preds = %119, %115
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  br label %820

124:                                              ; preds = %111
  %125 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2113)
          to label %126 unwind label %69

126:                                              ; preds = %124
  store i32 %125, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

127:                                              ; preds = %58
  br label %128

128:                                              ; preds = %127
  %129 = load i16, ptr %8, align 2, !tbaa !26
  %130 = add i16 %129, 1
  store i16 %130, ptr %8, align 2, !tbaa !26
  br label %37, !llvm.loop !33

131:                                              ; preds = %37
  %132 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2113)
          to label %133 unwind label %69

133:                                              ; preds = %131
  store i32 %132, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

134:                                              ; preds = %112, %81
  %135 = load i16, ptr %8, align 2, !tbaa !26
  %136 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 %135, ptr %136, align 2, !tbaa !35
  br label %137

137:                                              ; preds = %289, %134
  %138 = load i16, ptr %8, align 2, !tbaa !26
  %139 = zext i16 %138 to i64
  %140 = load i64, ptr %7, align 8, !tbaa !25
  %141 = icmp ult i64 %139, %140
  br i1 %141, label %142, label %292

142:                                              ; preds = %137
  %143 = load i16, ptr %8, align 2, !tbaa !26
  %144 = zext i16 %143 to i64
  %145 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %144)
          to label %146 unwind label %69

146:                                              ; preds = %142
  %147 = load i8, ptr %145, align 1, !tbaa !30
  %148 = sext i8 %147 to i32
  switch i32 %148, label %288 [
    i32 64, label %149
    i32 58, label %170
    i32 47, label %191
    i32 63, label %240
    i32 35, label %264
  ]

149:                                              ; preds = %146
  %150 = load i16, ptr %8, align 2, !tbaa !26
  %151 = zext i16 %150 to i32
  %152 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %153 = load i16, ptr %152, align 2, !tbaa !35
  %154 = zext i16 %153 to i32
  %155 = icmp eq i32 %151, %154
  br i1 %155, label %156, label %159

156:                                              ; preds = %149
  %157 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2117)
          to label %158 unwind label %69

158:                                              ; preds = %156
  store i32 %157, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

159:                                              ; preds = %149
  %160 = load i16, ptr %8, align 2, !tbaa !26
  %161 = zext i16 %160 to i32
  %162 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %163 = load i16, ptr %162, align 2, !tbaa !35
  %164 = zext i16 %163 to i32
  %165 = sub nsw i32 %161, %164
  %166 = trunc i32 %165 to i16
  %167 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 %166, ptr %167, align 4, !tbaa !36
  %168 = load i16, ptr %8, align 2, !tbaa !26
  %169 = add i16 %168, 1
  store i16 %169, ptr %8, align 2, !tbaa !26
  br label %462

170:                                              ; preds = %146
  %171 = load i16, ptr %8, align 2, !tbaa !26
  %172 = zext i16 %171 to i32
  %173 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %174 = load i16, ptr %173, align 2, !tbaa !35
  %175 = zext i16 %174 to i32
  %176 = icmp eq i32 %172, %175
  br i1 %176, label %177, label %180

177:                                              ; preds = %170
  %178 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2117)
          to label %179 unwind label %69

179:                                              ; preds = %177
  store i32 %178, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

180:                                              ; preds = %170
  %181 = load i16, ptr %8, align 2, !tbaa !26
  %182 = zext i16 %181 to i32
  %183 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %184 = load i16, ptr %183, align 2, !tbaa !35
  %185 = zext i16 %184 to i32
  %186 = sub nsw i32 %182, %185
  %187 = trunc i32 %186 to i16
  %188 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 %187, ptr %188, align 4, !tbaa !36
  %189 = load i16, ptr %8, align 2, !tbaa !26
  %190 = add i16 %189, 1
  store i16 %190, ptr %8, align 2, !tbaa !26
  br label %314

191:                                              ; preds = %146
  %192 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %193 = load i16, ptr %192, align 2, !tbaa !35
  %194 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %193, ptr %194, align 2, !tbaa !37
  %195 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %195, align 4, !tbaa !36
  %196 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %196, align 2, !tbaa !35
  %197 = load i16, ptr %8, align 2, !tbaa !26
  %198 = zext i16 %197 to i32
  %199 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %200 = load i16, ptr %199, align 2, !tbaa !37
  %201 = zext i16 %200 to i32
  %202 = sub nsw i32 %198, %201
  %203 = trunc i32 %202 to i16
  %204 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %203, ptr %204, align 4, !tbaa !38
  %205 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  %206 = load i16, ptr %205, align 4, !tbaa !38
  %207 = zext i16 %206 to i32
  %208 = icmp eq i32 %207, 0
  store i1 false, ptr %17, align 1
  store i1 false, ptr %18, align 1
  br i1 %208, label %209, label %213

209:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  store i1 true, ptr %17, align 1
  invoke void @"_ZZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEENK3$_0clB5cxx11Ev"(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %210 unwind label %224

210:                                              ; preds = %209
  store i1 true, ptr %18, align 1
  %211 = invoke noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.7)
          to label %212 unwind label %228

212:                                              ; preds = %210
  br label %213

213:                                              ; preds = %212, %191
  %214 = phi i1 [ false, %191 ], [ %211, %212 ]
  %215 = load i1, ptr %18, align 1
  br i1 %215, label %216, label %217

216:                                              ; preds = %213
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %217

217:                                              ; preds = %216, %213
  %218 = load i1, ptr %17, align 1
  br i1 %218, label %219, label %220

219:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  br label %220

220:                                              ; preds = %219, %217
  br i1 %214, label %221, label %239

221:                                              ; preds = %220
  %222 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %223 unwind label %69

223:                                              ; preds = %221
  store i32 %222, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

224:                                              ; preds = %209
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %10, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %11, align 4
  br label %235

228:                                              ; preds = %210
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %10, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %11, align 4
  %232 = load i1, ptr %18, align 1
  br i1 %232, label %233, label %234

233:                                              ; preds = %228
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  br label %234

234:                                              ; preds = %233, %228
  br label %235

235:                                              ; preds = %234, %224
  %236 = load i1, ptr %17, align 1
  br i1 %236, label %237, label %238

237:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  br label %238

238:                                              ; preds = %237, %235
  br label %820

239:                                              ; preds = %220
  br label %663

240:                                              ; preds = %146
  %241 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %242 = load i16, ptr %241, align 2, !tbaa !35
  %243 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %242, ptr %243, align 2, !tbaa !37
  %244 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %244, align 4, !tbaa !36
  %245 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %245, align 2, !tbaa !35
  %246 = load i16, ptr %8, align 2, !tbaa !26
  %247 = zext i16 %246 to i32
  %248 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %249 = load i16, ptr %248, align 2, !tbaa !37
  %250 = zext i16 %249 to i32
  %251 = icmp eq i32 %247, %250
  br i1 %251, label %252, label %255

252:                                              ; preds = %240
  %253 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %254 unwind label %69

254:                                              ; preds = %252
  store i32 %253, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

255:                                              ; preds = %240
  %256 = load i16, ptr %8, align 2, !tbaa !26
  %257 = zext i16 %256 to i32
  %258 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %259 = load i16, ptr %258, align 2, !tbaa !37
  %260 = zext i16 %259 to i32
  %261 = sub nsw i32 %257, %260
  %262 = trunc i32 %261 to i16
  %263 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %262, ptr %263, align 4, !tbaa !38
  br label %729

264:                                              ; preds = %146
  %265 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %266 = load i16, ptr %265, align 2, !tbaa !35
  %267 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %266, ptr %267, align 2, !tbaa !37
  %268 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %268, align 4, !tbaa !36
  %269 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %269, align 2, !tbaa !35
  %270 = load i16, ptr %8, align 2, !tbaa !26
  %271 = zext i16 %270 to i32
  %272 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %273 = load i16, ptr %272, align 2, !tbaa !37
  %274 = zext i16 %273 to i32
  %275 = icmp eq i32 %271, %274
  br i1 %275, label %276, label %279

276:                                              ; preds = %264
  %277 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %278 unwind label %69

278:                                              ; preds = %276
  store i32 %277, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

279:                                              ; preds = %264
  %280 = load i16, ptr %8, align 2, !tbaa !26
  %281 = zext i16 %280 to i32
  %282 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %283 = load i16, ptr %282, align 2, !tbaa !37
  %284 = zext i16 %283 to i32
  %285 = sub nsw i32 %281, %284
  %286 = trunc i32 %285 to i16
  %287 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %286, ptr %287, align 4, !tbaa !38
  br label %767

288:                                              ; preds = %146
  br label %289

289:                                              ; preds = %288
  %290 = load i16, ptr %8, align 2, !tbaa !26
  %291 = add i16 %290, 1
  store i16 %291, ptr %8, align 2, !tbaa !26
  br label %137, !llvm.loop !39

292:                                              ; preds = %137
  %293 = load i16, ptr %8, align 2, !tbaa !26
  %294 = zext i16 %293 to i32
  %295 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %296 = load i16, ptr %295, align 2, !tbaa !35
  %297 = zext i16 %296 to i32
  %298 = icmp eq i32 %294, %297
  br i1 %298, label %299, label %302

299:                                              ; preds = %292
  %300 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %301 unwind label %69

301:                                              ; preds = %299
  store i32 %300, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

302:                                              ; preds = %292
  %303 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %304 = load i16, ptr %303, align 2, !tbaa !35
  %305 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %304, ptr %305, align 2, !tbaa !37
  %306 = load i16, ptr %8, align 2, !tbaa !26
  %307 = zext i16 %306 to i32
  %308 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %309 = load i16, ptr %308, align 2, !tbaa !37
  %310 = zext i16 %309 to i32
  %311 = sub nsw i32 %307, %310
  %312 = trunc i32 %311 to i16
  %313 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %312, ptr %313, align 4, !tbaa !38
  br label %782

314:                                              ; preds = %180
  %315 = load i16, ptr %8, align 2, !tbaa !26
  %316 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  store i16 %315, ptr %316, align 2, !tbaa !40
  br label %317

317:                                              ; preds = %437, %314
  %318 = load i16, ptr %8, align 2, !tbaa !26
  %319 = zext i16 %318 to i64
  %320 = load i64, ptr %7, align 8, !tbaa !25
  %321 = icmp ult i64 %319, %320
  br i1 %321, label %322, label %440

322:                                              ; preds = %317
  %323 = load i16, ptr %8, align 2, !tbaa !26
  %324 = zext i16 %323 to i64
  %325 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %324)
          to label %326 unwind label %69

326:                                              ; preds = %322
  %327 = load i8, ptr %325, align 1, !tbaa !30
  %328 = sext i8 %327 to i32
  switch i32 %328, label %436 [
    i32 64, label %329
    i32 47, label %340
    i32 63, label %372
    i32 35, label %404
  ]

329:                                              ; preds = %326
  %330 = load i16, ptr %8, align 2, !tbaa !26
  %331 = zext i16 %330 to i32
  %332 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %333 = load i16, ptr %332, align 2, !tbaa !40
  %334 = zext i16 %333 to i32
  %335 = sub nsw i32 %331, %334
  %336 = trunc i32 %335 to i16
  %337 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 5
  store i16 %336, ptr %337, align 8, !tbaa !41
  %338 = load i16, ptr %8, align 2, !tbaa !26
  %339 = add i16 %338, 1
  store i16 %339, ptr %8, align 2, !tbaa !26
  br label %462

340:                                              ; preds = %326
  %341 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %342 = load i16, ptr %341, align 2, !tbaa !35
  %343 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %342, ptr %343, align 2, !tbaa !37
  %344 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  %345 = load i16, ptr %344, align 4, !tbaa !36
  %346 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %345, ptr %346, align 4, !tbaa !38
  %347 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %347, align 4, !tbaa !36
  %348 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %348, align 2, !tbaa !35
  %349 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %350 = load i16, ptr %349, align 2, !tbaa !40
  %351 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  store i16 %350, ptr %351, align 2, !tbaa !42
  %352 = load i16, ptr %8, align 2, !tbaa !26
  %353 = zext i16 %352 to i32
  %354 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %355 = load i16, ptr %354, align 2, !tbaa !42
  %356 = zext i16 %355 to i32
  %357 = icmp eq i32 %353, %356
  br i1 %357, label %358, label %361

358:                                              ; preds = %340
  %359 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2115)
          to label %360 unwind label %69

360:                                              ; preds = %358
  store i32 %359, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

361:                                              ; preds = %340
  %362 = load i16, ptr %8, align 2, !tbaa !26
  %363 = zext i16 %362 to i32
  %364 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %365 = load i16, ptr %364, align 2, !tbaa !40
  %366 = zext i16 %365 to i32
  %367 = sub nsw i32 %363, %366
  %368 = trunc i32 %367 to i16
  %369 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %368, ptr %369, align 8, !tbaa !43
  %370 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 5
  store i16 0, ptr %370, align 8, !tbaa !41
  %371 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  store i16 0, ptr %371, align 2, !tbaa !40
  br label %663

372:                                              ; preds = %326
  %373 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %374 = load i16, ptr %373, align 2, !tbaa !35
  %375 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %374, ptr %375, align 2, !tbaa !37
  %376 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  %377 = load i16, ptr %376, align 4, !tbaa !36
  %378 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %377, ptr %378, align 4, !tbaa !38
  %379 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %379, align 4, !tbaa !36
  %380 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %380, align 2, !tbaa !35
  %381 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %382 = load i16, ptr %381, align 2, !tbaa !40
  %383 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  store i16 %382, ptr %383, align 2, !tbaa !42
  %384 = load i16, ptr %8, align 2, !tbaa !26
  %385 = zext i16 %384 to i32
  %386 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %387 = load i16, ptr %386, align 2, !tbaa !42
  %388 = zext i16 %387 to i32
  %389 = icmp eq i32 %385, %388
  br i1 %389, label %390, label %393

390:                                              ; preds = %372
  %391 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2115)
          to label %392 unwind label %69

392:                                              ; preds = %390
  store i32 %391, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

393:                                              ; preds = %372
  %394 = load i16, ptr %8, align 2, !tbaa !26
  %395 = zext i16 %394 to i32
  %396 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %397 = load i16, ptr %396, align 2, !tbaa !40
  %398 = zext i16 %397 to i32
  %399 = sub nsw i32 %395, %398
  %400 = trunc i32 %399 to i16
  %401 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %400, ptr %401, align 8, !tbaa !43
  %402 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 5
  store i16 0, ptr %402, align 8, !tbaa !41
  %403 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  store i16 0, ptr %403, align 2, !tbaa !40
  br label %729

404:                                              ; preds = %326
  %405 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %406 = load i16, ptr %405, align 2, !tbaa !35
  %407 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %406, ptr %407, align 2, !tbaa !37
  %408 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  %409 = load i16, ptr %408, align 4, !tbaa !36
  %410 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %409, ptr %410, align 4, !tbaa !38
  %411 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %411, align 4, !tbaa !36
  %412 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %412, align 2, !tbaa !35
  %413 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %414 = load i16, ptr %413, align 2, !tbaa !40
  %415 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  store i16 %414, ptr %415, align 2, !tbaa !42
  %416 = load i16, ptr %8, align 2, !tbaa !26
  %417 = zext i16 %416 to i32
  %418 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %419 = load i16, ptr %418, align 2, !tbaa !42
  %420 = zext i16 %419 to i32
  %421 = icmp eq i32 %417, %420
  br i1 %421, label %422, label %425

422:                                              ; preds = %404
  %423 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2115)
          to label %424 unwind label %69

424:                                              ; preds = %422
  store i32 %423, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

425:                                              ; preds = %404
  %426 = load i16, ptr %8, align 2, !tbaa !26
  %427 = zext i16 %426 to i32
  %428 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %429 = load i16, ptr %428, align 2, !tbaa !40
  %430 = zext i16 %429 to i32
  %431 = sub nsw i32 %427, %430
  %432 = trunc i32 %431 to i16
  %433 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %432, ptr %433, align 8, !tbaa !43
  %434 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 5
  store i16 0, ptr %434, align 8, !tbaa !41
  %435 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  store i16 0, ptr %435, align 2, !tbaa !40
  br label %767

436:                                              ; preds = %326
  br label %437

437:                                              ; preds = %436
  %438 = load i16, ptr %8, align 2, !tbaa !26
  %439 = add i16 %438, 1
  store i16 %439, ptr %8, align 2, !tbaa !26
  br label %317, !llvm.loop !44

440:                                              ; preds = %317
  %441 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  %442 = load i16, ptr %441, align 2, !tbaa !35
  %443 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %442, ptr %443, align 2, !tbaa !37
  %444 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  %445 = load i16, ptr %444, align 4, !tbaa !36
  %446 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %445, ptr %446, align 4, !tbaa !38
  %447 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  %448 = load i16, ptr %447, align 2, !tbaa !40
  %449 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  store i16 %448, ptr %449, align 2, !tbaa !42
  %450 = load i16, ptr %8, align 2, !tbaa !26
  %451 = zext i16 %450 to i32
  %452 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %453 = load i16, ptr %452, align 2, !tbaa !42
  %454 = zext i16 %453 to i32
  %455 = sub nsw i32 %451, %454
  %456 = trunc i32 %455 to i16
  %457 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %456, ptr %457, align 8, !tbaa !43
  %458 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 5
  store i16 0, ptr %458, align 8, !tbaa !41
  %459 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 4
  store i16 0, ptr %459, align 2, !tbaa !40
  %460 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 3
  store i16 0, ptr %460, align 4, !tbaa !36
  %461 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 2
  store i16 0, ptr %461, align 2, !tbaa !35
  br label %782

462:                                              ; preds = %329, %159
  %463 = load i16, ptr %8, align 2, !tbaa !26
  %464 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  store i16 %463, ptr %464, align 2, !tbaa !37
  br label %465

465:                                              ; preds = %556, %462
  %466 = load i16, ptr %8, align 2, !tbaa !26
  %467 = zext i16 %466 to i64
  %468 = load i64, ptr %7, align 8, !tbaa !25
  %469 = icmp ult i64 %467, %468
  br i1 %469, label %470, label %559

470:                                              ; preds = %465
  %471 = load i16, ptr %8, align 2, !tbaa !26
  %472 = zext i16 %471 to i64
  %473 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %472)
          to label %474 unwind label %69

474:                                              ; preds = %470
  %475 = load i8, ptr %473, align 1, !tbaa !30
  %476 = sext i8 %475 to i32
  switch i32 %476, label %555 [
    i32 47, label %477
    i32 58, label %496
    i32 63, label %517
    i32 35, label %536
  ]

477:                                              ; preds = %474
  %478 = load i16, ptr %8, align 2, !tbaa !26
  %479 = zext i16 %478 to i32
  %480 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %481 = load i16, ptr %480, align 2, !tbaa !37
  %482 = zext i16 %481 to i32
  %483 = icmp eq i32 %479, %482
  br i1 %483, label %484, label %487

484:                                              ; preds = %477
  %485 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %486 unwind label %69

486:                                              ; preds = %484
  store i32 %485, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

487:                                              ; preds = %477
  %488 = load i16, ptr %8, align 2, !tbaa !26
  %489 = zext i16 %488 to i32
  %490 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %491 = load i16, ptr %490, align 2, !tbaa !37
  %492 = zext i16 %491 to i32
  %493 = sub nsw i32 %489, %492
  %494 = trunc i32 %493 to i16
  %495 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %494, ptr %495, align 4, !tbaa !38
  br label %663

496:                                              ; preds = %474
  %497 = load i16, ptr %8, align 2, !tbaa !26
  %498 = zext i16 %497 to i32
  %499 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %500 = load i16, ptr %499, align 2, !tbaa !37
  %501 = zext i16 %500 to i32
  %502 = icmp eq i32 %498, %501
  br i1 %502, label %503, label %506

503:                                              ; preds = %496
  %504 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %505 unwind label %69

505:                                              ; preds = %503
  store i32 %504, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

506:                                              ; preds = %496
  %507 = load i16, ptr %8, align 2, !tbaa !26
  %508 = zext i16 %507 to i32
  %509 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %510 = load i16, ptr %509, align 2, !tbaa !37
  %511 = zext i16 %510 to i32
  %512 = sub nsw i32 %508, %511
  %513 = trunc i32 %512 to i16
  %514 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %513, ptr %514, align 4, !tbaa !38
  %515 = load i16, ptr %8, align 2, !tbaa !26
  %516 = add i16 %515, 1
  store i16 %516, ptr %8, align 2, !tbaa !26
  br label %578

517:                                              ; preds = %474
  %518 = load i16, ptr %8, align 2, !tbaa !26
  %519 = zext i16 %518 to i32
  %520 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %521 = load i16, ptr %520, align 2, !tbaa !37
  %522 = zext i16 %521 to i32
  %523 = icmp eq i32 %519, %522
  br i1 %523, label %524, label %527

524:                                              ; preds = %517
  %525 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %526 unwind label %69

526:                                              ; preds = %524
  store i32 %525, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

527:                                              ; preds = %517
  %528 = load i16, ptr %8, align 2, !tbaa !26
  %529 = zext i16 %528 to i32
  %530 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %531 = load i16, ptr %530, align 2, !tbaa !37
  %532 = zext i16 %531 to i32
  %533 = sub nsw i32 %529, %532
  %534 = trunc i32 %533 to i16
  %535 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %534, ptr %535, align 4, !tbaa !38
  br label %729

536:                                              ; preds = %474
  %537 = load i16, ptr %8, align 2, !tbaa !26
  %538 = zext i16 %537 to i32
  %539 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %540 = load i16, ptr %539, align 2, !tbaa !37
  %541 = zext i16 %540 to i32
  %542 = icmp eq i32 %538, %541
  br i1 %542, label %543, label %546

543:                                              ; preds = %536
  %544 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %545 unwind label %69

545:                                              ; preds = %543
  store i32 %544, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

546:                                              ; preds = %536
  %547 = load i16, ptr %8, align 2, !tbaa !26
  %548 = zext i16 %547 to i32
  %549 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %550 = load i16, ptr %549, align 2, !tbaa !37
  %551 = zext i16 %550 to i32
  %552 = sub nsw i32 %548, %551
  %553 = trunc i32 %552 to i16
  %554 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %553, ptr %554, align 4, !tbaa !38
  br label %767

555:                                              ; preds = %474
  br label %556

556:                                              ; preds = %555
  %557 = load i16, ptr %8, align 2, !tbaa !26
  %558 = add i16 %557, 1
  store i16 %558, ptr %8, align 2, !tbaa !26
  br label %465, !llvm.loop !45

559:                                              ; preds = %465
  %560 = load i16, ptr %8, align 2, !tbaa !26
  %561 = zext i16 %560 to i32
  %562 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %563 = load i16, ptr %562, align 2, !tbaa !37
  %564 = zext i16 %563 to i32
  %565 = icmp eq i32 %561, %564
  br i1 %565, label %566, label %569

566:                                              ; preds = %559
  %567 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2114)
          to label %568 unwind label %69

568:                                              ; preds = %566
  store i32 %567, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

569:                                              ; preds = %559
  %570 = load i16, ptr %8, align 2, !tbaa !26
  %571 = zext i16 %570 to i32
  %572 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %573 = load i16, ptr %572, align 2, !tbaa !37
  %574 = zext i16 %573 to i32
  %575 = sub nsw i32 %571, %574
  %576 = trunc i32 %575 to i16
  %577 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  store i16 %576, ptr %577, align 4, !tbaa !38
  br label %782

578:                                              ; preds = %506
  %579 = load i16, ptr %8, align 2, !tbaa !26
  %580 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  store i16 %579, ptr %580, align 2, !tbaa !42
  br label %581

581:                                              ; preds = %651, %578
  %582 = load i16, ptr %8, align 2, !tbaa !26
  %583 = zext i16 %582 to i64
  %584 = load i64, ptr %7, align 8, !tbaa !25
  %585 = icmp ult i64 %583, %584
  br i1 %585, label %586, label %654

586:                                              ; preds = %581
  %587 = load i16, ptr %8, align 2, !tbaa !26
  %588 = zext i16 %587 to i64
  %589 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %588)
          to label %590 unwind label %69

590:                                              ; preds = %586
  %591 = load i8, ptr %589, align 1, !tbaa !30
  %592 = sext i8 %591 to i32
  switch i32 %592, label %650 [
    i32 47, label %593
    i32 63, label %612
    i32 35, label %631
  ]

593:                                              ; preds = %590
  %594 = load i16, ptr %8, align 2, !tbaa !26
  %595 = zext i16 %594 to i32
  %596 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %597 = load i16, ptr %596, align 2, !tbaa !42
  %598 = zext i16 %597 to i32
  %599 = icmp eq i32 %595, %598
  br i1 %599, label %600, label %603

600:                                              ; preds = %593
  %601 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2115)
          to label %602 unwind label %69

602:                                              ; preds = %600
  store i32 %601, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

603:                                              ; preds = %593
  %604 = load i16, ptr %8, align 2, !tbaa !26
  %605 = zext i16 %604 to i32
  %606 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %607 = load i16, ptr %606, align 2, !tbaa !42
  %608 = zext i16 %607 to i32
  %609 = sub nsw i32 %605, %608
  %610 = trunc i32 %609 to i16
  %611 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %610, ptr %611, align 8, !tbaa !43
  br label %663

612:                                              ; preds = %590
  %613 = load i16, ptr %8, align 2, !tbaa !26
  %614 = zext i16 %613 to i32
  %615 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %616 = load i16, ptr %615, align 2, !tbaa !42
  %617 = zext i16 %616 to i32
  %618 = icmp eq i32 %614, %617
  br i1 %618, label %619, label %622

619:                                              ; preds = %612
  %620 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2115)
          to label %621 unwind label %69

621:                                              ; preds = %619
  store i32 %620, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

622:                                              ; preds = %612
  %623 = load i16, ptr %8, align 2, !tbaa !26
  %624 = zext i16 %623 to i32
  %625 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %626 = load i16, ptr %625, align 2, !tbaa !42
  %627 = zext i16 %626 to i32
  %628 = sub nsw i32 %624, %627
  %629 = trunc i32 %628 to i16
  %630 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %629, ptr %630, align 8, !tbaa !43
  br label %729

631:                                              ; preds = %590
  %632 = load i16, ptr %8, align 2, !tbaa !26
  %633 = zext i16 %632 to i32
  %634 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %635 = load i16, ptr %634, align 2, !tbaa !42
  %636 = zext i16 %635 to i32
  %637 = icmp eq i32 %633, %636
  br i1 %637, label %638, label %641

638:                                              ; preds = %631
  %639 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2115)
          to label %640 unwind label %69

640:                                              ; preds = %638
  store i32 %639, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

641:                                              ; preds = %631
  %642 = load i16, ptr %8, align 2, !tbaa !26
  %643 = zext i16 %642 to i32
  %644 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %645 = load i16, ptr %644, align 2, !tbaa !42
  %646 = zext i16 %645 to i32
  %647 = sub nsw i32 %643, %646
  %648 = trunc i32 %647 to i16
  %649 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %648, ptr %649, align 8, !tbaa !43
  br label %767

650:                                              ; preds = %590
  br label %651

651:                                              ; preds = %650
  %652 = load i16, ptr %8, align 2, !tbaa !26
  %653 = add i16 %652, 1
  store i16 %653, ptr %8, align 2, !tbaa !26
  br label %581, !llvm.loop !46

654:                                              ; preds = %581
  %655 = load i16, ptr %8, align 2, !tbaa !26
  %656 = zext i16 %655 to i32
  %657 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 8
  %658 = load i16, ptr %657, align 2, !tbaa !42
  %659 = zext i16 %658 to i32
  %660 = sub nsw i32 %656, %659
  %661 = trunc i32 %660 to i16
  %662 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 9
  store i16 %661, ptr %662, align 8, !tbaa !43
  br label %782

663:                                              ; preds = %603, %487, %361, %239
  %664 = load i16, ptr %8, align 2, !tbaa !26
  %665 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 10
  store i16 %664, ptr %665, align 2, !tbaa !47
  br label %666

666:                                              ; preds = %717, %663
  %667 = load i16, ptr %8, align 2, !tbaa !26
  %668 = zext i16 %667 to i64
  %669 = load i64, ptr %7, align 8, !tbaa !25
  %670 = icmp ult i64 %668, %669
  br i1 %670, label %671, label %720

671:                                              ; preds = %666
  %672 = load i16, ptr %8, align 2, !tbaa !26
  %673 = zext i16 %672 to i64
  %674 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %673)
          to label %675 unwind label %69

675:                                              ; preds = %671
  %676 = load i8, ptr %674, align 1, !tbaa !30
  %677 = sext i8 %676 to i32
  switch i32 %677, label %716 [
    i32 63, label %678
    i32 35, label %697
  ]

678:                                              ; preds = %675
  %679 = load i16, ptr %8, align 2, !tbaa !26
  %680 = zext i16 %679 to i32
  %681 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 10
  %682 = load i16, ptr %681, align 2, !tbaa !47
  %683 = zext i16 %682 to i32
  %684 = icmp eq i32 %680, %683
  br i1 %684, label %685, label %688

685:                                              ; preds = %678
  %686 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2116)
          to label %687 unwind label %69

687:                                              ; preds = %685
  store i32 %686, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

688:                                              ; preds = %678
  %689 = load i16, ptr %8, align 2, !tbaa !26
  %690 = zext i16 %689 to i32
  %691 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 10
  %692 = load i16, ptr %691, align 2, !tbaa !47
  %693 = zext i16 %692 to i32
  %694 = sub nsw i32 %690, %693
  %695 = trunc i32 %694 to i16
  %696 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 11
  store i16 %695, ptr %696, align 4, !tbaa !48
  br label %729

697:                                              ; preds = %675
  %698 = load i16, ptr %8, align 2, !tbaa !26
  %699 = zext i16 %698 to i32
  %700 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 10
  %701 = load i16, ptr %700, align 2, !tbaa !47
  %702 = zext i16 %701 to i32
  %703 = icmp eq i32 %699, %702
  br i1 %703, label %704, label %707

704:                                              ; preds = %697
  %705 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 2116)
          to label %706 unwind label %69

706:                                              ; preds = %704
  store i32 %705, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

707:                                              ; preds = %697
  %708 = load i16, ptr %8, align 2, !tbaa !26
  %709 = zext i16 %708 to i32
  %710 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 10
  %711 = load i16, ptr %710, align 2, !tbaa !47
  %712 = zext i16 %711 to i32
  %713 = sub nsw i32 %709, %712
  %714 = trunc i32 %713 to i16
  %715 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 11
  store i16 %714, ptr %715, align 4, !tbaa !48
  br label %767

716:                                              ; preds = %675
  br label %717

717:                                              ; preds = %716
  %718 = load i16, ptr %8, align 2, !tbaa !26
  %719 = add i16 %718, 1
  store i16 %719, ptr %8, align 2, !tbaa !26
  br label %666, !llvm.loop !49

720:                                              ; preds = %666
  %721 = load i16, ptr %8, align 2, !tbaa !26
  %722 = zext i16 %721 to i32
  %723 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 10
  %724 = load i16, ptr %723, align 2, !tbaa !47
  %725 = zext i16 %724 to i32
  %726 = sub nsw i32 %722, %725
  %727 = trunc i32 %726 to i16
  %728 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 11
  store i16 %727, ptr %728, align 4, !tbaa !48
  br label %767

729:                                              ; preds = %688, %622, %527, %393, %255
  %730 = load i16, ptr %8, align 2, !tbaa !26
  %731 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 12
  store i16 %730, ptr %731, align 2, !tbaa !50
  br label %732

732:                                              ; preds = %755, %729
  %733 = load i16, ptr %8, align 2, !tbaa !26
  %734 = zext i16 %733 to i64
  %735 = load i64, ptr %7, align 8, !tbaa !25
  %736 = icmp ult i64 %734, %735
  br i1 %736, label %737, label %758

737:                                              ; preds = %732
  %738 = load i16, ptr %8, align 2, !tbaa !26
  %739 = zext i16 %738 to i64
  %740 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %739)
          to label %741 unwind label %69

741:                                              ; preds = %737
  %742 = load i8, ptr %740, align 1, !tbaa !30
  %743 = sext i8 %742 to i32
  %744 = icmp eq i32 %743, 35
  br i1 %744, label %745, label %754

745:                                              ; preds = %741
  %746 = load i16, ptr %8, align 2, !tbaa !26
  %747 = zext i16 %746 to i32
  %748 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 12
  %749 = load i16, ptr %748, align 2, !tbaa !50
  %750 = zext i16 %749 to i32
  %751 = sub nsw i32 %747, %750
  %752 = trunc i32 %751 to i16
  %753 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 13
  store i16 %752, ptr %753, align 8, !tbaa !51
  br label %767

754:                                              ; preds = %741
  br label %755

755:                                              ; preds = %754
  %756 = load i16, ptr %8, align 2, !tbaa !26
  %757 = add i16 %756, 1
  store i16 %757, ptr %8, align 2, !tbaa !26
  br label %732, !llvm.loop !52

758:                                              ; preds = %732
  %759 = load i16, ptr %8, align 2, !tbaa !26
  %760 = zext i16 %759 to i32
  %761 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 12
  %762 = load i16, ptr %761, align 2, !tbaa !50
  %763 = zext i16 %762 to i32
  %764 = sub nsw i32 %760, %763
  %765 = trunc i32 %764 to i16
  %766 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 13
  store i16 %765, ptr %766, align 8, !tbaa !51
  br label %782

767:                                              ; preds = %745, %720, %707, %641, %546, %425, %279
  %768 = load i16, ptr %8, align 2, !tbaa !26
  %769 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 14
  store i16 %768, ptr %769, align 2, !tbaa !53
  %770 = load i64, ptr %7, align 8, !tbaa !25
  %771 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 14
  %772 = load i16, ptr %771, align 2, !tbaa !53
  %773 = zext i16 %772 to i64
  %774 = sub i64 %770, %773
  %775 = trunc i64 %774 to i16
  %776 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 15
  store i16 %775, ptr %776, align 4, !tbaa !54
  %777 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 15
  %778 = load i16, ptr %777, align 4, !tbaa !54
  %779 = zext i16 %778 to i32
  %780 = icmp sgt i32 %779, 0
  br i1 %780, label %781, label %813

781:                                              ; preds = %767
  br label %782

782:                                              ; preds = %781, %758, %654, %569, %440, %302
  %783 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %784 = load i16, ptr %783, align 2, !tbaa !37
  store i16 %784, ptr %8, align 2, !tbaa !26
  br label %785

785:                                              ; preds = %809, %782
  %786 = load i16, ptr %8, align 2, !tbaa !26
  %787 = zext i16 %786 to i32
  %788 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 6
  %789 = load i16, ptr %788, align 2, !tbaa !37
  %790 = zext i16 %789 to i32
  %791 = getelementptr inbounds %"class.tagd::url", ptr %19, i32 0, i32 7
  %792 = load i16, ptr %791, align 4, !tbaa !38
  %793 = zext i16 %792 to i32
  %794 = add nsw i32 %790, %793
  %795 = icmp slt i32 %787, %794
  br i1 %795, label %796, label %812

796:                                              ; preds = %785
  %797 = load i16, ptr %8, align 2, !tbaa !26
  %798 = zext i16 %797 to i64
  %799 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %798)
          to label %800 unwind label %69

800:                                              ; preds = %796
  %801 = load i8, ptr %799, align 1, !tbaa !30
  %802 = sext i8 %801 to i32
  %803 = call i32 @tolower(i32 noundef %802) #7
  %804 = trunc i32 %803 to i8
  %805 = load i16, ptr %8, align 2, !tbaa !26
  %806 = zext i16 %805 to i64
  %807 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %806)
          to label %808 unwind label %69

808:                                              ; preds = %800
  store i8 %804, ptr %807, align 1, !tbaa !30
  br label %809

809:                                              ; preds = %808
  %810 = load i16, ptr %8, align 2, !tbaa !26
  %811 = add i16 %810, 1
  store i16 %811, ptr %8, align 2, !tbaa !26
  br label %785, !llvm.loop !55

812:                                              ; preds = %785
  br label %813

813:                                              ; preds = %812, %767
  %814 = getelementptr inbounds %"class.tagd::abstract_tag", ptr %19, i32 0, i32 1
  %815 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %814, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %816 unwind label %69

816:                                              ; preds = %813
  %817 = invoke noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 0)
          to label %818 unwind label %69

818:                                              ; preds = %816
  store i32 %817, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %819

819:                                              ; preds = %818, %706, %687, %640, %621, %602, %568, %545, %526, %505, %486, %424, %392, %360, %301, %278, %254, %223, %179, %158, %133, %126, %101, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %821

820:                                              ; preds = %238, %123, %102, %94, %69
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %823

821:                                              ; preds = %819, %30, %23
  %822 = load i32, ptr %3, align 4
  ret i32 %822

823:                                              ; preds = %820
  %824 = load ptr, ptr %10, align 8
  %825 = load i32, ptr %11, align 4
  %826 = insertvalue { ptr, i32 } poison, ptr %824, 0
  %827 = insertvalue { ptr, i32 } %826, i32 %825, 1
  resume { ptr, i32 } %827
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEENK3$_0clB5cxx11Ev"(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !16, i64 144}
!10 = !{!"_ZTSN4tagd12abstract_tagE", !11, i64 8, !11, i64 40, !11, i64 72, !14, i64 104, !15, i64 112, !16, i64 144, !17, i64 152}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN4tagd14part_of_speechE", !7, i64 0}
!15 = !{!"_ZTSN4tagd4rankE", !11, i64 0}
!16 = !{!"_ZTSN4tagd4codeE", !7, i64 0}
!17 = !{!"_ZTSSt3setIN4tagd9predicateESt4lessIS1_ESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeIN4tagd9predicateES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeIN4tagd9predicateES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN4tagd9predicateEEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessIN4tagd9predicateEE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !13, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!25 = !{!13, !13, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"short", !7, i64 0}
!28 = !{!29, !6, i64 0}
!29 = !{!"_ZTSZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0", !6, i64 0, !6, i64 8}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !27, i64 200}
!32 = !{!"_ZTSN4tagd3urlE", !10, i64 0, !27, i64 200, !27, i64 202, !27, i64 204, !27, i64 206, !27, i64 208, !27, i64 210, !27, i64 212, !27, i64 214, !27, i64 216, !27, i64 218, !27, i64 220, !27, i64 222, !27, i64 224, !27, i64 226, !27, i64 228}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!32, !27, i64 202}
!36 = !{!32, !27, i64 204}
!37 = !{!32, !27, i64 210}
!38 = !{!32, !27, i64 212}
!39 = distinct !{!39, !34}
!40 = !{!32, !27, i64 206}
!41 = !{!32, !27, i64 208}
!42 = !{!32, !27, i64 214}
!43 = !{!32, !27, i64 216}
!44 = distinct !{!44, !34}
!45 = distinct !{!45, !34}
!46 = distinct !{!46, !34}
!47 = !{!32, !27, i64 218}
!48 = !{!32, !27, i64 220}
!49 = distinct !{!49, !34}
!50 = !{!32, !27, i64 222}
!51 = !{!32, !27, i64 224}
!52 = distinct !{!52, !34}
!53 = !{!32, !27, i64 226}
!54 = !{!32, !27, i64 228}
!55 = distinct !{!55, !34}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.anon = type { ptr, ptr }

@_ZN4tagdL12HDURI_SCHEMEB5cxx11E = external hidden global %"class.std::__cxx11::basic_string", align 8
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(230) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %class.anon, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %11, label %14

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 144
  %13 = load i32, ptr %12, align 8, !tbaa !5
  br label %313

14:                                               ; preds = %2
  %15 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %16 = icmp ugt i64 %15, 2112
  br i1 %16, label %17, label %19

17:                                               ; preds = %14
  %18 = tail call noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 2112)
  br label %313

19:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %20 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  store ptr %0, ptr %4, align 8, !tbaa !24
  %21 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %3, ptr %21, align 8, !tbaa !26
  %.not206 = icmp eq i64 %20, 0
  br i1 %.not206, label %.sink.split, label %.lr.ph

.lr.ph:                                           ; preds = %19, %55
  %22 = phi i64 [ %57, %55 ], [ 0, %19 ]
  %.0107174 = phi i16 [ %56, %55 ], [ 0, %19 ]
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %22)
  %24 = load i8, ptr %23, align 1, !tbaa !27
  %25 = sext i8 %24 to i32
  %26 = call i32 @tolower(i32 noundef %25) #7
  %27 = trunc i32 %26 to i8
  %28 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %22)
  store i8 %27, ptr %28, align 1, !tbaa !27
  %29 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %22)
  %30 = load i8, ptr %29, align 1, !tbaa !27
  %31 = icmp eq i8 %30, 58
  br i1 %31, label %32, label %55

32:                                               ; preds = %.lr.ph
  %33 = icmp eq i16 %.0107174, 0
  br i1 %33, label %.sink.split, label %36

34:                                               ; preds = %.loopexit, %46
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %312

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %0, i64 200
  store i16 %.0107174, ptr %37, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %22, i64 noundef 3)
          to label %38 unwind label %40

38:                                               ; preds = %36
  %39 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.5)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br i1 %39, label %59, label %42

40:                                               ; preds = %36
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %312

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  %43 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_ZN4tagdL12HDURI_SCHEMEB5cxx11E) #6
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0, i64 noundef %43)
          to label %44 unwind label %48

44:                                               ; preds = %42
  %45 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) @_ZN4tagdL12HDURI_SCHEMEB5cxx11E) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br i1 %45, label %46, label %50

46:                                               ; preds = %44
  %47 = invoke noundef i32 @_ZN4tagd3url10init_hduriERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(230) %0, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %311 unwind label %34

48:                                               ; preds = %42
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %312

50:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0, i64 noundef %22)
          to label %51 unwind label %53

51:                                               ; preds = %50
  %52 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.6)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br i1 %52, label %59, label %.sink.split

53:                                               ; preds = %50
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %312

55:                                               ; preds = %.lr.ph
  %56 = add i16 %.0107174, 1
  %57 = zext i16 %56 to i64
  %58 = icmp ugt i64 %20, %57
  br i1 %58, label %.lr.ph, label %.sink.split, !llvm.loop !31

59:                                               ; preds = %51, %38
  %.sink = phi i16 [ 3, %38 ], [ 1, %51 ]
  %60 = add i16 %.0107174, %.sink
  %61 = getelementptr inbounds i8, ptr %0, i64 202
  store i16 %60, ptr %61, align 2, !tbaa !33
  %62 = zext i16 %60 to i64
  %63 = icmp ugt i64 %20, %62
  br i1 %63, label %.lr.ph177, label %.sink.split

.lr.ph177:                                        ; preds = %59, %110
  %64 = phi i64 [ %112, %110 ], [ %62, %59 ]
  %.2175 = phi i16 [ %111, %110 ], [ %60, %59 ]
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %64)
  %66 = load i8, ptr %65, align 1, !tbaa !27
  switch i8 %66, label %110 [
    i8 64, label %67
    i8 58, label %73
    i8 47, label %83
    i8 63, label %94
    i8 35, label %102
  ]

67:                                               ; preds = %.lr.ph177
  %68 = load i16, ptr %61, align 2, !tbaa !33
  %69 = icmp eq i16 %.2175, %68
  br i1 %69, label %.sink.split, label %70

70:                                               ; preds = %67
  %71 = sub i16 %.2175, %68
  %72 = getelementptr inbounds i8, ptr %0, i64 204
  store i16 %71, ptr %72, align 4, !tbaa !34
  br label %168

73:                                               ; preds = %.lr.ph177
  %74 = load i16, ptr %61, align 2, !tbaa !33
  %75 = icmp eq i16 %.2175, %74
  br i1 %75, label %.sink.split, label %76

76:                                               ; preds = %73
  %77 = sub i16 %.2175, %74
  %78 = getelementptr inbounds i8, ptr %0, i64 204
  store i16 %77, ptr %78, align 4, !tbaa !34
  %79 = add i16 %.2175, 1
  %80 = getelementptr inbounds i8, ptr %0, i64 206
  store i16 %79, ptr %80, align 2, !tbaa !35
  %81 = zext i16 %79 to i64
  %82 = icmp ugt i64 %20, %81
  br i1 %82, label %.lr.ph181, label %._crit_edge182

83:                                               ; preds = %.lr.ph177
  %84 = load i16, ptr %61, align 2, !tbaa !33
  %85 = getelementptr inbounds i8, ptr %0, i64 210
  store i16 %84, ptr %85, align 2, !tbaa !36
  %86 = getelementptr inbounds i8, ptr %0, i64 204
  store i16 0, ptr %86, align 4, !tbaa !34
  store i16 0, ptr %61, align 2, !tbaa !33
  %87 = sub i16 %.2175, %84
  %88 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %87, ptr %88, align 4, !tbaa !37
  %89 = icmp eq i16 %.2175, %84
  br i1 %89, label %90, label %.critedge.thread

90:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  invoke void @"_ZZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEENK3$_0clB5cxx11Ev"(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %.critedge unwind label %92

.critedge:                                        ; preds = %90
  %91 = call noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.7)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  br i1 %91, label %.sink.split, label %.critedge.thread

92:                                               ; preds = %90
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  br label %312

94:                                               ; preds = %.lr.ph177
  %95 = load i16, ptr %61, align 2, !tbaa !33
  %96 = getelementptr inbounds i8, ptr %0, i64 210
  store i16 %95, ptr %96, align 2, !tbaa !36
  %97 = getelementptr inbounds i8, ptr %0, i64 204
  store i16 0, ptr %97, align 4, !tbaa !34
  store i16 0, ptr %61, align 2, !tbaa !33
  %98 = icmp eq i16 %.2175, %95
  br i1 %98, label %.sink.split, label %99

99:                                               ; preds = %94
  %100 = sub i16 %.2175, %95
  %101 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %100, ptr %101, align 4, !tbaa !37
  br label %264

102:                                              ; preds = %.lr.ph177
  %103 = load i16, ptr %61, align 2, !tbaa !33
  %104 = getelementptr inbounds i8, ptr %0, i64 210
  store i16 %103, ptr %104, align 2, !tbaa !36
  %105 = getelementptr inbounds i8, ptr %0, i64 204
  store i16 0, ptr %105, align 4, !tbaa !34
  store i16 0, ptr %61, align 2, !tbaa !33
  %106 = icmp eq i16 %.2175, %103
  br i1 %106, label %.sink.split, label %107

107:                                              ; preds = %102
  %108 = sub i16 %.2175, %103
  %109 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %108, ptr %109, align 4, !tbaa !37
  br label %283

110:                                              ; preds = %.lr.ph177
  %111 = add i16 %.2175, 1
  %112 = zext i16 %111 to i64
  %113 = icmp ugt i64 %20, %112
  br i1 %113, label %.lr.ph177, label %._crit_edge178, !llvm.loop !38

._crit_edge178:                                   ; preds = %110
  %.pre240 = load i16, ptr %61, align 2, !tbaa !33
  %114 = icmp eq i16 %111, %.pre240
  br i1 %114, label %.sink.split, label %115

115:                                              ; preds = %._crit_edge178
  %116 = getelementptr inbounds i8, ptr %0, i64 210
  store i16 %.pre240, ptr %116, align 2, !tbaa !36
  %117 = sub i16 %111, %.pre240
  %118 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %117, ptr %118, align 4, !tbaa !37
  br label %288

.lr.ph181:                                        ; preds = %76, %156
  %119 = phi i64 [ %158, %156 ], [ %81, %76 ]
  %.3179 = phi i16 [ %157, %156 ], [ %79, %76 ]
  %120 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %119)
  %121 = load i8, ptr %120, align 1, !tbaa !27
  switch i8 %121, label %156 [
    i8 64, label %122
    i8 47, label %126
    i8 63, label %136
    i8 35, label %146
  ]

122:                                              ; preds = %.lr.ph181
  %123 = load i16, ptr %80, align 2, !tbaa !35
  %124 = sub i16 %.3179, %123
  %125 = getelementptr inbounds i8, ptr %0, i64 208
  store i16 %124, ptr %125, align 8, !tbaa !39
  br label %168

126:                                              ; preds = %.lr.ph181
  %127 = getelementptr inbounds i8, ptr %0, i64 210
  %128 = load <2 x i16>, ptr %61, align 2, !tbaa !40
  store <2 x i16> %128, ptr %127, align 2, !tbaa !40
  store i16 0, ptr %78, align 4, !tbaa !34
  store i16 0, ptr %61, align 2, !tbaa !33
  %129 = load i16, ptr %80, align 2, !tbaa !35
  %130 = getelementptr inbounds i8, ptr %0, i64 214
  store i16 %129, ptr %130, align 2, !tbaa !41
  %131 = icmp eq i16 %.3179, %129
  br i1 %131, label %.sink.split, label %132

132:                                              ; preds = %126
  %133 = sub i16 %.3179, %129
  %134 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %133, ptr %134, align 8, !tbaa !42
  %135 = getelementptr inbounds i8, ptr %0, i64 208
  store i16 0, ptr %135, align 8, !tbaa !39
  store i16 0, ptr %80, align 2, !tbaa !35
  br label %.critedge.thread

136:                                              ; preds = %.lr.ph181
  %137 = getelementptr inbounds i8, ptr %0, i64 210
  %138 = load <2 x i16>, ptr %61, align 2, !tbaa !40
  store <2 x i16> %138, ptr %137, align 2, !tbaa !40
  store i16 0, ptr %78, align 4, !tbaa !34
  store i16 0, ptr %61, align 2, !tbaa !33
  %139 = load i16, ptr %80, align 2, !tbaa !35
  %140 = getelementptr inbounds i8, ptr %0, i64 214
  store i16 %139, ptr %140, align 2, !tbaa !41
  %141 = icmp eq i16 %.3179, %139
  br i1 %141, label %.sink.split, label %142

142:                                              ; preds = %136
  %143 = sub i16 %.3179, %139
  %144 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %143, ptr %144, align 8, !tbaa !42
  %145 = getelementptr inbounds i8, ptr %0, i64 208
  store i16 0, ptr %145, align 8, !tbaa !39
  store i16 0, ptr %80, align 2, !tbaa !35
  br label %264

146:                                              ; preds = %.lr.ph181
  %147 = getelementptr inbounds i8, ptr %0, i64 210
  %148 = load <2 x i16>, ptr %61, align 2, !tbaa !40
  store <2 x i16> %148, ptr %147, align 2, !tbaa !40
  store i16 0, ptr %78, align 4, !tbaa !34
  store i16 0, ptr %61, align 2, !tbaa !33
  %149 = load i16, ptr %80, align 2, !tbaa !35
  %150 = getelementptr inbounds i8, ptr %0, i64 214
  store i16 %149, ptr %150, align 2, !tbaa !41
  %151 = icmp eq i16 %.3179, %149
  br i1 %151, label %.sink.split, label %152

152:                                              ; preds = %146
  %153 = sub i16 %.3179, %149
  %154 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %153, ptr %154, align 8, !tbaa !42
  %155 = getelementptr inbounds i8, ptr %0, i64 208
  store i16 0, ptr %155, align 8, !tbaa !39
  store i16 0, ptr %80, align 2, !tbaa !35
  br label %283

156:                                              ; preds = %.lr.ph181
  %157 = add i16 %.3179, 1
  %158 = zext i16 %157 to i64
  %159 = icmp ugt i64 %20, %158
  br i1 %159, label %.lr.ph181, label %._crit_edge182.loopexit, !llvm.loop !43

._crit_edge182.loopexit:                          ; preds = %156
  %.pre = load i16, ptr %61, align 2, !tbaa !33
  %.pre234 = load i16, ptr %78, align 4, !tbaa !34
  %.pre235 = load i16, ptr %80, align 2, !tbaa !35
  br label %._crit_edge182

._crit_edge182:                                   ; preds = %._crit_edge182.loopexit, %76
  %160 = phi i16 [ %79, %76 ], [ %.pre235, %._crit_edge182.loopexit ]
  %161 = phi i16 [ %77, %76 ], [ %.pre234, %._crit_edge182.loopexit ]
  %162 = phi i16 [ %74, %76 ], [ %.pre, %._crit_edge182.loopexit ]
  %.3.lcssa = phi i16 [ %79, %76 ], [ %157, %._crit_edge182.loopexit ]
  %163 = getelementptr inbounds i8, ptr %0, i64 210
  store i16 %162, ptr %163, align 2, !tbaa !36
  %164 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %161, ptr %164, align 4, !tbaa !37
  %165 = getelementptr inbounds i8, ptr %0, i64 214
  store i16 %160, ptr %165, align 2, !tbaa !41
  %166 = sub i16 %.3.lcssa, %160
  %167 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %166, ptr %167, align 8, !tbaa !42
  store i64 0, ptr %61, align 2
  br label %288

168:                                              ; preds = %122, %70
  %.4.in = phi i16 [ %.3179, %122 ], [ %.2175, %70 ]
  %.4 = add i16 %.4.in, 1
  %169 = getelementptr inbounds i8, ptr %0, i64 210
  store i16 %.4, ptr %169, align 2, !tbaa !36
  %170 = zext i16 %.4 to i64
  %171 = icmp ugt i64 %20, %170
  br i1 %171, label %.lr.ph186, label %.sink.split

.lr.ph186:                                        ; preds = %168, %203
  %172 = phi i64 [ %205, %203 ], [ %170, %168 ]
  %.5184 = phi i16 [ %204, %203 ], [ %.4, %168 ]
  %173 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %172)
  %174 = load i8, ptr %173, align 1, !tbaa !27
  switch i8 %174, label %203 [
    i8 47, label %175
    i8 58, label %181
    i8 63, label %191
    i8 35, label %197
  ]

175:                                              ; preds = %.lr.ph186
  %176 = load i16, ptr %169, align 2, !tbaa !36
  %177 = icmp eq i16 %.5184, %176
  br i1 %177, label %.sink.split, label %178

178:                                              ; preds = %175
  %179 = sub i16 %.5184, %176
  %180 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %179, ptr %180, align 4, !tbaa !37
  br label %.critedge.thread

181:                                              ; preds = %.lr.ph186
  %182 = load i16, ptr %169, align 2, !tbaa !36
  %183 = icmp eq i16 %.5184, %182
  br i1 %183, label %.sink.split, label %184

184:                                              ; preds = %181
  %185 = sub i16 %.5184, %182
  %186 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %185, ptr %186, align 4, !tbaa !37
  %187 = add i16 %.5184, 1
  %188 = getelementptr inbounds i8, ptr %0, i64 214
  store i16 %187, ptr %188, align 2, !tbaa !41
  %189 = zext i16 %187 to i64
  %190 = icmp ugt i64 %20, %189
  br i1 %190, label %.lr.ph191, label %._crit_edge192

191:                                              ; preds = %.lr.ph186
  %192 = load i16, ptr %169, align 2, !tbaa !36
  %193 = icmp eq i16 %.5184, %192
  br i1 %193, label %.sink.split, label %194

194:                                              ; preds = %191
  %195 = sub i16 %.5184, %192
  %196 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %195, ptr %196, align 4, !tbaa !37
  br label %264

197:                                              ; preds = %.lr.ph186
  %198 = load i16, ptr %169, align 2, !tbaa !36
  %199 = icmp eq i16 %.5184, %198
  br i1 %199, label %.sink.split, label %200

200:                                              ; preds = %197
  %201 = sub i16 %.5184, %198
  %202 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %201, ptr %202, align 4, !tbaa !37
  br label %283

203:                                              ; preds = %.lr.ph186
  %204 = add i16 %.5184, 1
  %205 = zext i16 %204 to i64
  %206 = icmp ugt i64 %20, %205
  br i1 %206, label %.lr.ph186, label %._crit_edge187, !llvm.loop !44

._crit_edge187:                                   ; preds = %203
  %.pre239 = load i16, ptr %169, align 2, !tbaa !36
  %207 = icmp eq i16 %204, %.pre239
  br i1 %207, label %.sink.split, label %208

208:                                              ; preds = %._crit_edge187
  %209 = sub i16 %204, %.pre239
  %210 = getelementptr inbounds i8, ptr %0, i64 212
  store i16 %209, ptr %210, align 4, !tbaa !37
  br label %288

.lr.ph191:                                        ; preds = %184, %232
  %211 = phi i64 [ %234, %232 ], [ %189, %184 ]
  %.6189 = phi i16 [ %233, %232 ], [ %187, %184 ]
  %212 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %211)
  %213 = load i8, ptr %212, align 1, !tbaa !27
  switch i8 %213, label %232 [
    i8 47, label %214
    i8 63, label %220
    i8 35, label %226
  ]

214:                                              ; preds = %.lr.ph191
  %215 = load i16, ptr %188, align 2, !tbaa !41
  %216 = icmp eq i16 %.6189, %215
  br i1 %216, label %.sink.split, label %217

217:                                              ; preds = %214
  %218 = sub i16 %.6189, %215
  %219 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %218, ptr %219, align 8, !tbaa !42
  br label %.critedge.thread

220:                                              ; preds = %.lr.ph191
  %221 = load i16, ptr %188, align 2, !tbaa !41
  %222 = icmp eq i16 %.6189, %221
  br i1 %222, label %.sink.split, label %223

223:                                              ; preds = %220
  %224 = sub i16 %.6189, %221
  %225 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %224, ptr %225, align 8, !tbaa !42
  br label %264

226:                                              ; preds = %.lr.ph191
  %227 = load i16, ptr %188, align 2, !tbaa !41
  %228 = icmp eq i16 %.6189, %227
  br i1 %228, label %.sink.split, label %229

229:                                              ; preds = %226
  %230 = sub i16 %.6189, %227
  %231 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %230, ptr %231, align 8, !tbaa !42
  br label %283

232:                                              ; preds = %.lr.ph191
  %233 = add i16 %.6189, 1
  %234 = zext i16 %233 to i64
  %235 = icmp ugt i64 %20, %234
  br i1 %235, label %.lr.ph191, label %._crit_edge192.loopexit, !llvm.loop !45

._crit_edge192.loopexit:                          ; preds = %232
  %.pre236 = load i16, ptr %188, align 2, !tbaa !41
  br label %._crit_edge192

._crit_edge192:                                   ; preds = %._crit_edge192.loopexit, %184
  %236 = phi i16 [ %187, %184 ], [ %.pre236, %._crit_edge192.loopexit ]
  %.6.lcssa = phi i16 [ %187, %184 ], [ %233, %._crit_edge192.loopexit ]
  %237 = sub i16 %.6.lcssa, %236
  %238 = getelementptr inbounds i8, ptr %0, i64 216
  store i16 %237, ptr %238, align 8, !tbaa !42
  br label %288

.critedge.thread:                                 ; preds = %83, %.critedge, %217, %178, %132
  %.7 = phi i16 [ %.2175, %.critedge ], [ %.3179, %132 ], [ %.6189, %217 ], [ %.5184, %178 ], [ %.2175, %83 ]
  %239 = getelementptr inbounds i8, ptr %0, i64 218
  store i16 %.7, ptr %239, align 2, !tbaa !46
  %240 = zext i16 %.7 to i64
  %241 = icmp ugt i64 %20, %240
  br i1 %241, label %.lr.ph195, label %._crit_edge196

.lr.ph195:                                        ; preds = %.critedge.thread, %257
  %242 = phi i64 [ %259, %257 ], [ %240, %.critedge.thread ]
  %.8194 = phi i16 [ %258, %257 ], [ %.7, %.critedge.thread ]
  %243 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %242)
  %244 = load i8, ptr %243, align 1, !tbaa !27
  switch i8 %244, label %257 [
    i8 63, label %245
    i8 35, label %251
  ]

245:                                              ; preds = %.lr.ph195
  %246 = load i16, ptr %239, align 2, !tbaa !46
  %247 = icmp eq i16 %.8194, %246
  br i1 %247, label %.sink.split, label %248

248:                                              ; preds = %245
  %249 = sub i16 %.8194, %246
  %250 = getelementptr inbounds i8, ptr %0, i64 220
  store i16 %249, ptr %250, align 4, !tbaa !47
  br label %264

251:                                              ; preds = %.lr.ph195
  %252 = load i16, ptr %239, align 2, !tbaa !46
  %253 = icmp eq i16 %.8194, %252
  br i1 %253, label %.sink.split, label %254

254:                                              ; preds = %251
  %255 = sub i16 %.8194, %252
  %256 = getelementptr inbounds i8, ptr %0, i64 220
  store i16 %255, ptr %256, align 4, !tbaa !47
  br label %283

257:                                              ; preds = %.lr.ph195
  %258 = add i16 %.8194, 1
  %259 = zext i16 %258 to i64
  %260 = icmp ugt i64 %20, %259
  br i1 %260, label %.lr.ph195, label %._crit_edge196.loopexit, !llvm.loop !48

._crit_edge196.loopexit:                          ; preds = %257
  %.pre238 = load i16, ptr %239, align 2, !tbaa !46
  br label %._crit_edge196

._crit_edge196:                                   ; preds = %._crit_edge196.loopexit, %.critedge.thread
  %261 = phi i16 [ %.7, %.critedge.thread ], [ %.pre238, %._crit_edge196.loopexit ]
  %.8.lcssa = phi i16 [ %.7, %.critedge.thread ], [ %258, %._crit_edge196.loopexit ]
  %262 = sub i16 %.8.lcssa, %261
  %263 = getelementptr inbounds i8, ptr %0, i64 220
  store i16 %262, ptr %263, align 4, !tbaa !47
  br label %283

264:                                              ; preds = %248, %223, %194, %142, %99
  %.9 = phi i16 [ %.2175, %99 ], [ %.8194, %248 ], [ %.3179, %142 ], [ %.5184, %194 ], [ %.6189, %223 ]
  %265 = getelementptr inbounds i8, ptr %0, i64 222
  store i16 %.9, ptr %265, align 2, !tbaa !49
  %266 = zext i16 %.9 to i64
  %267 = icmp ugt i64 %20, %266
  br i1 %267, label %.lr.ph200, label %._crit_edge201

.lr.ph200:                                        ; preds = %264, %276
  %268 = phi i64 [ %278, %276 ], [ %266, %264 ]
  %.10198 = phi i16 [ %277, %276 ], [ %.9, %264 ]
  %269 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %268)
  %270 = load i8, ptr %269, align 1, !tbaa !27
  %271 = icmp eq i8 %270, 35
  br i1 %271, label %272, label %276

272:                                              ; preds = %.lr.ph200
  %273 = load i16, ptr %265, align 2, !tbaa !49
  %274 = sub i16 %.10198, %273
  %275 = getelementptr inbounds i8, ptr %0, i64 224
  store i16 %274, ptr %275, align 8, !tbaa !50
  br label %283

276:                                              ; preds = %.lr.ph200
  %277 = add i16 %.10198, 1
  %278 = zext i16 %277 to i64
  %279 = icmp ugt i64 %20, %278
  br i1 %279, label %.lr.ph200, label %._crit_edge201.loopexit, !llvm.loop !51

._crit_edge201.loopexit:                          ; preds = %276
  %.pre237 = load i16, ptr %265, align 2, !tbaa !49
  br label %._crit_edge201

._crit_edge201:                                   ; preds = %._crit_edge201.loopexit, %264
  %280 = phi i16 [ %.9, %264 ], [ %.pre237, %._crit_edge201.loopexit ]
  %.10.lcssa = phi i16 [ %.9, %264 ], [ %277, %._crit_edge201.loopexit ]
  %281 = sub i16 %.10.lcssa, %280
  %282 = getelementptr inbounds i8, ptr %0, i64 224
  store i16 %281, ptr %282, align 8, !tbaa !50
  br label %288

283:                                              ; preds = %272, %._crit_edge196, %254, %229, %200, %152, %107
  %.11 = phi i16 [ %.2175, %107 ], [ %.10198, %272 ], [ %.8194, %254 ], [ %.8.lcssa, %._crit_edge196 ], [ %.3179, %152 ], [ %.5184, %200 ], [ %.6189, %229 ]
  %284 = getelementptr inbounds i8, ptr %0, i64 226
  store i16 %.11, ptr %284, align 2, !tbaa !52
  %285 = trunc i64 %20 to i16
  %286 = sub i16 %285, %.11
  %287 = getelementptr inbounds i8, ptr %0, i64 228
  store i16 %286, ptr %287, align 4, !tbaa !53
  %.not = icmp eq i16 %.11, %285
  br i1 %.not, label %.loopexit, label %288

288:                                              ; preds = %283, %._crit_edge201, %._crit_edge192, %208, %._crit_edge182, %115
  %289 = getelementptr inbounds i8, ptr %0, i64 210
  %290 = getelementptr inbounds i8, ptr %0, i64 212
  %291 = load i16, ptr %290, align 4, !tbaa !37
  %.not241 = icmp eq i16 %291, 0
  br i1 %.not241, label %.loopexit, label %.lr.ph205.preheader

.lr.ph205.preheader:                              ; preds = %288
  %292 = load i16, ptr %289, align 2, !tbaa !36
  br label %.lr.ph205

.lr.ph205:                                        ; preds = %.lr.ph205.preheader, %.lr.ph205
  %.12203 = phi i16 [ %300, %.lr.ph205 ], [ %292, %.lr.ph205.preheader ]
  %293 = zext i16 %.12203 to i64
  %294 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %293)
  %295 = load i8, ptr %294, align 1, !tbaa !27
  %296 = sext i8 %295 to i32
  %297 = call i32 @tolower(i32 noundef %296) #7
  %298 = trunc i32 %297 to i8
  %299 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %293)
  store i8 %298, ptr %299, align 1, !tbaa !27
  %300 = add i16 %.12203, 1
  %301 = zext i16 %300 to i32
  %302 = load i16, ptr %289, align 2, !tbaa !36
  %303 = zext i16 %302 to i32
  %304 = load i16, ptr %290, align 4, !tbaa !37
  %305 = zext i16 %304 to i32
  %306 = add nuw nsw i32 %305, %303
  %307 = icmp ugt i32 %306, %301
  br i1 %307, label %.lr.ph205, label %.loopexit, !llvm.loop !54

.loopexit:                                        ; preds = %.lr.ph205, %288, %283
  %308 = getelementptr inbounds i8, ptr %0, i64 8
  %309 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %308, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %.sink.split unwind label %34

.sink.split:                                      ; preds = %55, %.loopexit, %251, %245, %226, %220, %214, %._crit_edge187, %168, %197, %191, %181, %175, %146, %136, %126, %._crit_edge178, %59, %102, %94, %.critedge, %73, %67, %19, %51, %32
  %.sink271 = phi i32 [ 2113, %32 ], [ 2113, %51 ], [ 2113, %19 ], [ 2117, %67 ], [ 2117, %73 ], [ 2114, %.critedge ], [ 2114, %94 ], [ 2114, %102 ], [ 2114, %59 ], [ 2114, %._crit_edge178 ], [ 2115, %126 ], [ 2115, %136 ], [ 2115, %146 ], [ 2114, %175 ], [ 2114, %181 ], [ 2114, %191 ], [ 2114, %197 ], [ 2114, %168 ], [ 2114, %._crit_edge187 ], [ 2115, %214 ], [ 2115, %220 ], [ 2115, %226 ], [ 2116, %245 ], [ 2116, %251 ], [ 0, %.loopexit ], [ 2113, %55 ]
  %310 = call noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef %.sink271)
  br label %311

311:                                              ; preds = %.sink.split, %46
  %.0108 = phi i32 [ %47, %46 ], [ %310, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %313

312:                                              ; preds = %92, %53, %48, %40, %34
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %93, %92 ], [ %54, %53 ], [ %49, %48 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn

313:                                              ; preds = %311, %17, %11
  %.1109 = phi i32 [ %13, %11 ], [ %18, %17 ], [ %.0108, %311 ]
  ret i32 %.1109
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4tagd12abstract_tag4codeENS_4codeE(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEENK3$_0clB5cxx11Ev"(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !15, i64 144}
!6 = !{!"_ZTSN4tagd12abstract_tagE", !7, i64 8, !7, i64 40, !7, i64 72, !13, i64 104, !14, i64 112, !15, i64 144, !16, i64 152}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSN4tagd14part_of_speechE", !10, i64 0}
!14 = !{!"_ZTSN4tagd4rankE", !7, i64 0}
!15 = !{!"_ZTSN4tagd4codeE", !10, i64 0}
!16 = !{!"_ZTSSt3setIN4tagd9predicateESt4lessIS1_ESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeIN4tagd9predicateES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeIN4tagd9predicateES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN4tagd9predicateEEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessIN4tagd9predicateEE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !12, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!24 = !{!25, !9, i64 0}
!25 = !{!"_ZTSZN4tagd3url4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE3$_0", !9, i64 0, !9, i64 8}
!26 = !{!9, !9, i64 0}
!27 = !{!10, !10, i64 0}
!28 = !{!29, !30, i64 200}
!29 = !{!"_ZTSN4tagd3urlE", !6, i64 0, !30, i64 200, !30, i64 202, !30, i64 204, !30, i64 206, !30, i64 208, !30, i64 210, !30, i64 212, !30, i64 214, !30, i64 216, !30, i64 218, !30, i64 220, !30, i64 222, !30, i64 224, !30, i64 226, !30, i64 228}
!30 = !{!"short", !10, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!29, !30, i64 202}
!34 = !{!29, !30, i64 204}
!35 = !{!29, !30, i64 206}
!36 = !{!29, !30, i64 210}
!37 = !{!29, !30, i64 212}
!38 = distinct !{!38, !32}
!39 = !{!29, !30, i64 208}
!40 = !{!30, !30, i64 0}
!41 = !{!29, !30, i64 214}
!42 = !{!29, !30, i64 216}
!43 = distinct !{!43, !32}
!44 = distinct !{!44, !32}
!45 = distinct !{!45, !32}
!46 = !{!29, !30, i64 218}
!47 = !{!29, !30, i64 220}
!48 = distinct !{!48, !32}
!49 = !{!29, !30, i64 222}
!50 = !{!29, !30, i64 224}
!51 = distinct !{!51, !32}
!52 = !{!29, !30, i64 226}
!53 = !{!29, !30, i64 228}
!54 = distinct !{!54, !32}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass