; LLVM IR from JayXon/Leanify :: leanify.ll/Z7GetTypePvmRKNSt7 (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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.3" = type { ptr }

@depth = external global i32, align 4
@max_depth = external global i32, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZN3Png12header_magicE = external constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN4Jpeg12header_magicE = external constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [15 x i8], align 1
@_ZN3Lua12header_magicE = external constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Zip12header_magicE = external constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN2Pe12header_magicE = external constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZN2Gz12header_magicE = external constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZN3Ico12header_magicE = external constant [4 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Dwf12header_magicE = external constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Gft12header_magicE = external constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Rdb12header_magicE = external constant [16 x i8], align 16
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Swf12header_magicE = external constant [3 x i8], align 1
@_ZN3Swf20header_magic_deflateE = external constant [3 x i8], align 1
@_ZN3Swf17header_magic_lzmaE = external constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z7GetTypePvmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.3", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.3", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %26 = load i32, ptr @depth, align 4, !tbaa !11
  %27 = load i32, ptr @max_depth, align 4, !tbaa !11
  %28 = icmp sgt i32 %26, %27
  br i1 %28, label %29, label %38

29:                                               ; preds = %3
  %30 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN6FormatC2EPvm(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef %31, i64 noundef %32)
          to label %33 unwind label %34

33:                                               ; preds = %29
  store ptr %30, ptr %4, align 8
  br label %430

34:                                               ; preds = %29
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %8, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %30, i64 noundef 24) #10
  br label %432

38:                                               ; preds = %3
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %39) #11
  br i1 %40, label %147, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEcm(ptr noundef nonnull align 8 dereferenceable(32) %42, i8 noundef signext 46, i64 noundef -1) #11
  store i64 %43, ptr %10, align 8, !tbaa !9
  %44 = load i64, ptr %10, align 8, !tbaa !9
  %45 = icmp ne i64 %44, -1
  br i1 %45, label %46, label %143

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #11
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = load i64, ptr %10, align 8, !tbaa !9
  %49 = add i64 %48, 1
  call void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %47, i64 noundef %49, i64 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  store ptr %11, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %53) #11
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  br label %56

56:                                               ; preds = %66, %46
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  br i1 %57, label %59, label %58

58:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  br label %68

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #11
  store ptr %60, ptr %15, align 8, !tbaa !5
  %61 = load ptr, ptr %15, align 8, !tbaa !5
  %62 = load i8, ptr %61, align 1, !tbaa !13
  %63 = sext i8 %62 to i32
  %64 = and i32 %63, -33
  %65 = trunc i32 %64 to i8
  store i8 %65, ptr %61, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %66

66:                                               ; preds = %59
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #11
  br label %56

68:                                               ; preds = %58
  %69 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str)
          to label %70 unwind label %87

70:                                               ; preds = %68
  br i1 %69, label %80, label %71

71:                                               ; preds = %70
  %72 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.1)
          to label %73 unwind label %87

73:                                               ; preds = %71
  br i1 %72, label %80, label %74

74:                                               ; preds = %73
  %75 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.2)
          to label %76 unwind label %87

76:                                               ; preds = %74
  br i1 %75, label %80, label %77

77:                                               ; preds = %76
  %78 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.3)
          to label %79 unwind label %87

79:                                               ; preds = %77
  br i1 %78, label %80, label %95

80:                                               ; preds = %79, %76, %73, %70
  invoke void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(11) @.str.4)
          to label %81 unwind label %87

81:                                               ; preds = %80
  %82 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %83 unwind label %87

83:                                               ; preds = %81
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN7DataURICI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(25) %82, ptr noundef %84, i64 noundef %85)
          to label %86 unwind label %91

86:                                               ; preds = %83
  store ptr %82, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %139

87:                                               ; preds = %128, %127, %124, %121, %118, %115, %112, %102, %101, %98, %95, %81, %80, %77, %74, %71, %68
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %8, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %9, align 4
  br label %142

91:                                               ; preds = %83
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %8, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %82, i64 noundef 32) #10
  br label %142

95:                                               ; preds = %79
  %96 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.5)
          to label %97 unwind label %87

97:                                               ; preds = %95
  br i1 %96, label %101, label %98

98:                                               ; preds = %97
  %99 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.6)
          to label %100 unwind label %87

100:                                              ; preds = %98
  br i1 %99, label %101, label %112

101:                                              ; preds = %100, %97
  invoke void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(11) @.str.4)
          to label %102 unwind label %87

102:                                              ; preds = %101
  %103 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
          to label %104 unwind label %87

104:                                              ; preds = %102
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3VcfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef %105, i64 noundef %106)
          to label %107 unwind label %108

107:                                              ; preds = %104
  store ptr %103, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %139

108:                                              ; preds = %104
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %8, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %103, i64 noundef 24) #10
  br label %142

112:                                              ; preds = %100
  %113 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.7)
          to label %114 unwind label %87

114:                                              ; preds = %112
  br i1 %113, label %127, label %115

115:                                              ; preds = %114
  %116 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.8)
          to label %117 unwind label %87

117:                                              ; preds = %115
  br i1 %116, label %127, label %118

118:                                              ; preds = %117
  %119 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.9)
          to label %120 unwind label %87

120:                                              ; preds = %118
  br i1 %119, label %127, label %121

121:                                              ; preds = %120
  %122 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.10)
          to label %123 unwind label %87

123:                                              ; preds = %121
  br i1 %122, label %127, label %124

124:                                              ; preds = %123
  %125 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.11)
          to label %126 unwind label %87

126:                                              ; preds = %124
  br i1 %125, label %127, label %138

127:                                              ; preds = %126, %123, %120, %117, %114
  invoke void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(11) @.str.4)
          to label %128 unwind label %87

128:                                              ; preds = %127
  %129 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
          to label %130 unwind label %87

130:                                              ; preds = %128
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN4MimeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %129, ptr noundef %131, i64 noundef %132)
          to label %133 unwind label %134

133:                                              ; preds = %130
  store ptr %129, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %139

134:                                              ; preds = %130
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %8, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %129, i64 noundef 24) #10
  br label %142

138:                                              ; preds = %126
  store i32 0, ptr %16, align 4
  br label %139

139:                                              ; preds = %138, %133, %107, %86
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #11
  %140 = load i32, ptr %16, align 4
  switch i32 %140, label %144 [
    i32 0, label %141
  ]

141:                                              ; preds = %139
  br label %143

142:                                              ; preds = %134, %108, %91, %87
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  br label %432

143:                                              ; preds = %141, %41
  store i32 0, ptr %16, align 4
  br label %144

144:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  %145 = load i32, ptr %16, align 4
  switch i32 %145, label %437 [
    i32 0, label %146
    i32 1, label %430
  ]

146:                                              ; preds = %144
  br label %147

147:                                              ; preds = %146, %38
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = call i32 @memcmp(ptr noundef %148, ptr noundef @_ZN3Png12header_magicE, i64 noundef 8) #12
  %150 = icmp eq i32 %149, 0
  br i1 %150, label %151, label %160

151:                                              ; preds = %147
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.12)
  %152 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3PngCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef %153, i64 noundef %154)
          to label %155 unwind label %156

155:                                              ; preds = %151
  store ptr %152, ptr %4, align 8
  br label %430

156:                                              ; preds = %151
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %8, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %152, i64 noundef 24) #10
  br label %432

160:                                              ; preds = %147
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = call i32 @memcmp(ptr noundef %161, ptr noundef @_ZN4Jpeg12header_magicE, i64 noundef 3) #12
  %163 = icmp eq i32 %162, 0
  br i1 %163, label %164, label %173

164:                                              ; preds = %160
  call void @_Z12VerbosePrintIA15_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(15) @.str.13)
  %165 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  %167 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN4JpegCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %165, ptr noundef %166, i64 noundef %167)
          to label %168 unwind label %169

168:                                              ; preds = %164
  store ptr %165, ptr %4, align 8
  br label %430

169:                                              ; preds = %164
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %8, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %165, i64 noundef 24) #10
  br label %432

173:                                              ; preds = %160
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = call i32 @memcmp(ptr noundef %174, ptr noundef @_ZN3Lua12header_magicE, i64 noundef 4) #12
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %186

177:                                              ; preds = %173
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.14)
  %178 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3LuaC2EPvm(ptr noundef nonnull align 8 dereferenceable(40) %178, ptr noundef %179, i64 noundef %180)
          to label %181 unwind label %182

181:                                              ; preds = %177
  store ptr %178, ptr %4, align 8
  br label %430

182:                                              ; preds = %177
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %8, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %178, i64 noundef 40) #10
  br label %432

186:                                              ; preds = %173
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = call i32 @memcmp(ptr noundef %187, ptr noundef @_ZN3Zip12header_magicE, i64 noundef 4) #12
  %189 = icmp eq i32 %188, 0
  br i1 %189, label %190, label %199

190:                                              ; preds = %186
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.15)
  %191 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #9
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3ZipC2EPvm(ptr noundef nonnull align 8 dereferenceable(48) %191, ptr noundef %192, i64 noundef %193)
          to label %194 unwind label %195

194:                                              ; preds = %190
  store ptr %191, ptr %4, align 8
  br label %430

195:                                              ; preds = %190
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %8, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %191, i64 noundef 48) #10
  br label %432

199:                                              ; preds = %186
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  %201 = call i32 @memcmp(ptr noundef %200, ptr noundef @_ZN2Pe12header_magicE, i64 noundef 2) #12
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %203, label %212

203:                                              ; preds = %199
  call void @_Z12VerbosePrintIA13_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(13) @.str.16)
  %204 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN2PeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(64) %204, ptr noundef %205, i64 noundef %206)
          to label %207 unwind label %208

207:                                              ; preds = %203
  store ptr %204, ptr %4, align 8
  br label %430

208:                                              ; preds = %203
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %8, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %204, i64 noundef 64) #10
  br label %432

212:                                              ; preds = %199
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = call i32 @memcmp(ptr noundef %213, ptr noundef @_ZN2Gz12header_magicE, i64 noundef 3) #12
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %225

216:                                              ; preds = %212
  call void @_Z12VerbosePrintIA13_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(13) @.str.17)
  %217 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN2GzCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %217, ptr noundef %218, i64 noundef %219)
          to label %220 unwind label %221

220:                                              ; preds = %216
  store ptr %217, ptr %4, align 8
  br label %430

221:                                              ; preds = %216
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %8, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %217, i64 noundef 24) #10
  br label %432

225:                                              ; preds = %212
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = call i32 @memcmp(ptr noundef %226, ptr noundef @_ZN3Ico12header_magicE, i64 noundef 4) #12
  %228 = icmp eq i32 %227, 0
  br i1 %228, label %229, label %238

229:                                              ; preds = %225
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.18)
  %230 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3IcoCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %230, ptr noundef %231, i64 noundef %232)
          to label %233 unwind label %234

233:                                              ; preds = %229
  store ptr %230, ptr %4, align 8
  br label %430

234:                                              ; preds = %229
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %8, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %230, i64 noundef 24) #10
  br label %432

238:                                              ; preds = %225
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = call i32 @memcmp(ptr noundef %239, ptr noundef @_ZN3Dwf12header_magicE, i64 noundef 9) #12
  %241 = icmp eq i32 %240, 0
  br i1 %241, label %242, label %251

242:                                              ; preds = %238
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.19)
  %243 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3DwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %243, ptr noundef %244, i64 noundef %245)
          to label %246 unwind label %247

246:                                              ; preds = %242
  store ptr %243, ptr %4, align 8
  br label %430

247:                                              ; preds = %242
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %8, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %243, i64 noundef 24) #10
  br label %432

251:                                              ; preds = %238
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  %253 = call i32 @memcmp(ptr noundef %252, ptr noundef @_ZN3Gft12header_magicE, i64 noundef 8) #12
  %254 = icmp eq i32 %253, 0
  br i1 %254, label %255, label %264

255:                                              ; preds = %251
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.20)
  %256 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3GftCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %256, ptr noundef %257, i64 noundef %258)
          to label %259 unwind label %260

259:                                              ; preds = %255
  store ptr %256, ptr %4, align 8
  br label %430

260:                                              ; preds = %255
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %8, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %256, i64 noundef 24) #10
  br label %432

264:                                              ; preds = %251
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  %266 = call i32 @memcmp(ptr noundef %265, ptr noundef @_ZN3Rdb12header_magicE, i64 noundef 16) #12
  %267 = icmp eq i32 %266, 0
  br i1 %267, label %268, label %277

268:                                              ; preds = %264
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.21)
  %269 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3RdbCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %269, ptr noundef %270, i64 noundef %271)
          to label %272 unwind label %273

272:                                              ; preds = %268
  store ptr %269, ptr %4, align 8
  br label %430

273:                                              ; preds = %268
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %8, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %269, i64 noundef 24) #10
  br label %432

277:                                              ; preds = %264
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = call i32 @memcmp(ptr noundef %278, ptr noundef @_ZN3Swf12header_magicE, i64 noundef 3) #12
  %280 = icmp eq i32 %279, 0
  br i1 %280, label %289, label %281

281:                                              ; preds = %277
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = call i32 @memcmp(ptr noundef %282, ptr noundef @_ZN3Swf20header_magic_deflateE, i64 noundef 3) #12
  %284 = icmp eq i32 %283, 0
  br i1 %284, label %289, label %285

285:                                              ; preds = %281
  %286 = load ptr, ptr %5, align 8, !tbaa !5
  %287 = call i32 @memcmp(ptr noundef %286, ptr noundef @_ZN3Swf17header_magic_lzmaE, i64 noundef 3) #12
  %288 = icmp eq i32 %287, 0
  br i1 %288, label %289, label %298

289:                                              ; preds = %285, %281, %277
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.22)
  %290 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3SwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %290, ptr noundef %291, i64 noundef %292)
          to label %293 unwind label %294

293:                                              ; preds = %289
  store ptr %290, ptr %4, align 8
  br label %430

294:                                              ; preds = %289
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %8, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %290, i64 noundef 24) #10
  br label %432

298:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.23, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %299 unwind label %327

299:                                              ; preds = %298
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %300, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %301 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  store i64 1024, ptr %21, align 8, !tbaa !9
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %303 unwind label %331

303:                                              ; preds = %299
  %304 = load i64, ptr %302, align 8, !tbaa !9
  %305 = getelementptr inbounds i8, ptr %301, i64 %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  store ptr %305, ptr %20, align 8, !tbaa !5
  %306 = load ptr, ptr %19, align 8, !tbaa !5
  %307 = load ptr, ptr %20, align 8, !tbaa !5
  %308 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %309 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.3", ptr %22, i32 0, i32 0
  store ptr %308, ptr %309, align 8
  %310 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %311 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.3", ptr %23, i32 0, i32 0
  store ptr %310, ptr %311, align 8
  %312 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.3", ptr %22, i32 0, i32 0
  %313 = load ptr, ptr %312, align 8
  %314 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.3", ptr %23, i32 0, i32 0
  %315 = load ptr, ptr %314, align 8
  %316 = invoke noundef ptr @_ZSt6searchIPKcN9__gnu_cxx17__normal_iteratorIS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEET_SB_SB_T0_SC_(ptr noundef %306, ptr noundef %307, ptr %313, ptr %315)
          to label %317 unwind label %335

317:                                              ; preds = %303
  %318 = load ptr, ptr %20, align 8, !tbaa !5
  %319 = icmp ult ptr %316, %318
  br i1 %319, label %320, label %343

320:                                              ; preds = %317
  invoke void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.24)
          to label %321 unwind label %335

321:                                              ; preds = %320
  %322 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
          to label %323 unwind label %335

323:                                              ; preds = %321
  %324 = load ptr, ptr %5, align 8, !tbaa !5
  %325 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3VcfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %322, ptr noundef %324, i64 noundef %325)
          to label %326 unwind label %339

326:                                              ; preds = %323
  store ptr %322, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %405

327:                                              ; preds = %298
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %8, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #11
  br label %410

331:                                              ; preds = %299
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %8, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  br label %409

335:                                              ; preds = %321, %320, %303
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %8, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %9, align 4
  br label %409

339:                                              ; preds = %323
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %8, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %322, i64 noundef 24) #10
  br label %409

343:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #11
  %344 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
          to label %345 unwind label %355

345:                                              ; preds = %343
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3TarC1EPvm(ptr noundef nonnull align 8 dereferenceable(25) %344, ptr noundef %346, i64 noundef %347)
          to label %348 unwind label %359

348:                                              ; preds = %345
  store ptr %344, ptr %24, align 8, !tbaa !5
  %349 = load ptr, ptr %24, align 8, !tbaa !5
  %350 = invoke noundef zeroext i1 @_ZNK3Tar7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %349)
          to label %351 unwind label %355

351:                                              ; preds = %348
  br i1 %350, label %352, label %363

352:                                              ; preds = %351
  invoke void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.25)
          to label %353 unwind label %355

353:                                              ; preds = %352
  %354 = load ptr, ptr %24, align 8, !tbaa !5
  store ptr %354, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %371

355:                                              ; preds = %352, %348, %343
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %8, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %9, align 4
  br label %385

359:                                              ; preds = %345
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %8, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %344, i64 noundef 32) #10
  br label %385

363:                                              ; preds = %351
  %364 = load ptr, ptr %24, align 8, !tbaa !5
  %365 = icmp eq ptr %364, null
  br i1 %365, label %370, label %366

366:                                              ; preds = %363
  %367 = load ptr, ptr %364, align 8, !tbaa !14
  %368 = getelementptr inbounds ptr, ptr %367, i64 1
  %369 = load ptr, ptr %368, align 8
  call void %369(ptr noundef nonnull align 8 dereferenceable(25) %364) #11
  br label %370

370:                                              ; preds = %366, %363
  store i32 0, ptr %16, align 4
  br label %371

371:                                              ; preds = %370, %353
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  %372 = load i32, ptr %16, align 4
  switch i32 %372, label %405 [
    i32 0, label %373
  ]

373:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  %374 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #9
          to label %375 unwind label %386

375:                                              ; preds = %373
  %376 = load ptr, ptr %5, align 8, !tbaa !5
  %377 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN3XmlC1EPvm(ptr noundef nonnull align 8 dereferenceable(244) %374, ptr noundef %376, i64 noundef %377)
          to label %378 unwind label %390

378:                                              ; preds = %375
  store ptr %374, ptr %25, align 8, !tbaa !5
  %379 = load ptr, ptr %25, align 8, !tbaa !5
  %380 = invoke noundef zeroext i1 @_ZNK3Xml7IsValidEv(ptr noundef nonnull align 8 dereferenceable(244) %379)
          to label %381 unwind label %386

381:                                              ; preds = %378
  br i1 %380, label %382, label %394

382:                                              ; preds = %381
  invoke void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.26)
          to label %383 unwind label %386

383:                                              ; preds = %382
  %384 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %384, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %402

385:                                              ; preds = %359, %355
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  br label %409

386:                                              ; preds = %382, %378, %373
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %8, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %9, align 4
  br label %408

390:                                              ; preds = %375
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %8, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %374, i64 noundef 248) #10
  br label %408

394:                                              ; preds = %381
  %395 = load ptr, ptr %25, align 8, !tbaa !5
  %396 = icmp eq ptr %395, null
  br i1 %396, label %401, label %397

397:                                              ; preds = %394
  %398 = load ptr, ptr %395, align 8, !tbaa !14
  %399 = getelementptr inbounds ptr, ptr %398, i64 1
  %400 = load ptr, ptr %399, align 8
  call void %400(ptr noundef nonnull align 8 dereferenceable(244) %395) #11
  br label %401

401:                                              ; preds = %397, %394
  store i32 0, ptr %16, align 4
  br label %402

402:                                              ; preds = %401, %383
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  %403 = load i32, ptr %16, align 4
  switch i32 %403, label %405 [
    i32 0, label %404
  ]

404:                                              ; preds = %402
  store i32 0, ptr %16, align 4
  br label %405

405:                                              ; preds = %404, %402, %371, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  %406 = load i32, ptr %16, align 4
  switch i32 %406, label %437 [
    i32 0, label %407
    i32 1, label %430
  ]

407:                                              ; preds = %405
  br label %411

408:                                              ; preds = %390, %386
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  br label %409

409:                                              ; preds = %408, %385, %339, %335, %331
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  br label %410

410:                                              ; preds = %409, %327
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  br label %432

411:                                              ; preds = %407
  br label %412

412:                                              ; preds = %411
  br label %413

413:                                              ; preds = %412
  br label %414

414:                                              ; preds = %413
  br label %415

415:                                              ; preds = %414
  br label %416

416:                                              ; preds = %415
  br label %417

417:                                              ; preds = %416
  br label %418

418:                                              ; preds = %417
  br label %419

419:                                              ; preds = %418
  br label %420

420:                                              ; preds = %419
  br label %421

421:                                              ; preds = %420
  call void @_Z12VerbosePrintIA22_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(22) @.str.27)
  %422 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #9
  %423 = load ptr, ptr %5, align 8, !tbaa !5
  %424 = load i64, ptr %6, align 8, !tbaa !9
  invoke void @_ZN6FormatC2EPvm(ptr noundef nonnull align 8 dereferenceable(24) %422, ptr noundef %423, i64 noundef %424)
          to label %425 unwind label %426

425:                                              ; preds = %421
  store ptr %422, ptr %4, align 8
  br label %430

426:                                              ; preds = %421
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %8, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %422, i64 noundef 24) #10
  br label %432

430:                                              ; preds = %425, %405, %293, %272, %259, %246, %233, %220, %207, %194, %181, %168, %155, %144, %33
  %431 = load ptr, ptr %4, align 8
  ret ptr %431

432:                                              ; preds = %426, %410, %294, %273, %260, %247, %234, %221, %208, %195, %182, %169, %156, %142, %34
  %433 = load ptr, ptr %8, align 8
  %434 = load i32, ptr %9, align 4
  %435 = insertvalue { ptr, i32 } poison, ptr %433, 0
  %436 = insertvalue { ptr, i32 } %435, i32 %434, 1
  resume { ptr, i32 } %436

437:                                              ; preds = %405, %144
  unreachable
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

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

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

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

; 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) #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 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) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(11)) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DataURICI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3VcfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4MimeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14)) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3PngCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA15_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(15)) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4JpegCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3LuaC2EPvm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ZipC2EPvm(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA13_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(13)) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2PeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2GzCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3IcoCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3DwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3GftCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3RdbCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3SwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6searchIPKcN9__gnu_cxx17__normal_iteratorIS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEET_SB_SB_T0_SC_(ptr noundef, ptr noundef, ptr, ptr) #7

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

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

declare void @_ZN3TarC1EPvm(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef, i64 noundef) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3Tar7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25)) #2 align 2

declare void @_ZN3XmlC1EPvm(ptr noundef nonnull align 8 dereferenceable(244), ptr noundef, i64 noundef) unnamed_addr #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3Xml7IsValidEv(ptr noundef nonnull align 8 dereferenceable(244)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA22_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(22)) #0

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

attributes #0 = { 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 #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { nounwind }
attributes #12 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::allocator" = type { i8 }

@depth = external local_unnamed_addr global i32, align 4
@max_depth = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZN3Png12header_magicE = external constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN4Jpeg12header_magicE = external constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [15 x i8], align 1
@_ZN3Lua12header_magicE = external constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Zip12header_magicE = external constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN2Pe12header_magicE = external constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZN2Gz12header_magicE = external constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [13 x i8], align 1
@_ZN3Ico12header_magicE = external constant [4 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Dwf12header_magicE = external constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Gft12header_magicE = external constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Rdb12header_magicE = external constant [16 x i8], align 16
@.str.21 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZN3Swf12header_magicE = external constant [3 x i8], align 1
@_ZN3Swf20header_magic_deflateE = external constant [3 x i8], align 1
@_ZN3Swf17header_magic_lzmaE = external constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z7GetTypePvmRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca i64, align 8
  store i64 %1, ptr %4, align 8, !tbaa !5
  %11 = load i32, ptr @depth, align 4, !tbaa !9
  %12 = load i32, ptr @max_depth, align 4, !tbaa !9
  %13 = icmp sgt i32 %11, %12
  br i1 %13, label %14, label %16

14:                                               ; preds = %3
  %15 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  tail call void @_ZN6FormatC2EPvm(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef %0, i64 noundef %1)
  br label %168

16:                                               ; preds = %3
  %17 = tail call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #10
  br i1 %17, label %.thread103, label %18

18:                                               ; preds = %16
  %19 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEcm(ptr noundef nonnull align 8 dereferenceable(32) %2, i8 noundef signext 46, i64 noundef -1) #10
  %.not = icmp eq i64 %19, -1
  br i1 %.not, label %.thread103, label %20

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #10
  %21 = add nuw i64 %19, 1
  call 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) %2, i64 noundef %21, i64 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %22 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  store ptr %22, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %23 = call ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  store ptr %23, ptr %7, align 8
  %24 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br i1 %24, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %25 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str)
  br i1 %25, label %37, label %31

.lr.ph:                                           ; preds = %20, %.lr.ph
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  %27 = load i8, ptr %26, align 1, !tbaa !11
  %28 = and i8 %27, -33
  store i8 %28, ptr %26, align 1, !tbaa !11
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br i1 %30, label %.lr.ph, label %._crit_edge

31:                                               ; preds = %._crit_edge
  %32 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.1)
  br i1 %32, label %37, label %33

33:                                               ; preds = %31
  %34 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.2)
  br i1 %34, label %37, label %35

35:                                               ; preds = %33
  %36 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.3)
  br i1 %36, label %37, label %43

37:                                               ; preds = %35, %33, %31, %._crit_edge
  invoke void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(11) @.str.4)
          to label %38 unwind label %41

38:                                               ; preds = %37
  %39 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #9
          to label %40 unwind label %41

40:                                               ; preds = %38
  call void @_ZN7DataURICI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(25) %39, ptr noundef %0, i64 noundef %1)
  br label %66

41:                                               ; preds = %62, %61, %48, %47, %38, %37
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  br label %169

43:                                               ; preds = %35
  %44 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.5)
  br i1 %44, label %47, label %45

45:                                               ; preds = %43
  %46 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.6)
  br i1 %46, label %47, label %51

47:                                               ; preds = %45, %43
  invoke void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(11) @.str.4)
          to label %48 unwind label %41

48:                                               ; preds = %47
  %49 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
          to label %50 unwind label %41

50:                                               ; preds = %48
  call void @_ZN3VcfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef %0, i64 noundef %1)
  br label %66

51:                                               ; preds = %45
  %52 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.7)
  br i1 %52, label %61, label %53

53:                                               ; preds = %51
  %54 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.8)
  br i1 %54, label %61, label %55

55:                                               ; preds = %53
  %56 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.9)
  br i1 %56, label %61, label %57

57:                                               ; preds = %55
  %58 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.10)
  br i1 %58, label %61, label %59

59:                                               ; preds = %57
  %60 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.11)
  br i1 %60, label %61, label %65

61:                                               ; preds = %59, %57, %55, %53, %51
  invoke void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(11) @.str.4)
          to label %62 unwind label %41

62:                                               ; preds = %61
  %63 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
          to label %64 unwind label %41

64:                                               ; preds = %62
  call void @_ZN4MimeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef %0, i64 noundef %1)
  br label %66

65:                                               ; preds = %59
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  br label %.thread103

66:                                               ; preds = %40, %50, %64
  %.0.ph = phi ptr [ %63, %64 ], [ %49, %50 ], [ %39, %40 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #10
  br label %168

.thread103:                                       ; preds = %65, %18, %16
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %0, ptr noundef nonnull dereferenceable(8) @_ZN3Png12header_magicE, i64 8)
  %67 = icmp eq i32 %bcmp, 0
  br i1 %67, label %68, label %70

68:                                               ; preds = %.thread103
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.12)
  %69 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN3PngCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef %0, i64 noundef %1)
  br label %168

70:                                               ; preds = %.thread103
  %bcmp77 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %0, ptr noundef nonnull dereferenceable(3) @_ZN4Jpeg12header_magicE, i64 3)
  %71 = icmp eq i32 %bcmp77, 0
  br i1 %71, label %72, label %74

72:                                               ; preds = %70
  call void @_Z12VerbosePrintIA15_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(15) @.str.13)
  %73 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN4JpegCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef %0, i64 noundef %1)
  br label %168

74:                                               ; preds = %70
  %bcmp78 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %0, ptr noundef nonnull dereferenceable(4) @_ZN3Lua12header_magicE, i64 4)
  %75 = icmp eq i32 %bcmp78, 0
  br i1 %75, label %76, label %78

76:                                               ; preds = %74
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.14)
  %77 = call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #9
  call void @_ZN3LuaC2EPvm(ptr noundef nonnull align 8 dereferenceable(40) %77, ptr noundef %0, i64 noundef %1)
  br label %168

78:                                               ; preds = %74
  %bcmp79 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %0, ptr noundef nonnull dereferenceable(4) @_ZN3Zip12header_magicE, i64 4)
  %79 = icmp eq i32 %bcmp79, 0
  br i1 %79, label %80, label %84

80:                                               ; preds = %78
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.15)
  %81 = call noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #9
  invoke void @_ZN3ZipC2EPvm(ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef %0, i64 noundef %1)
          to label %168 unwind label %82

82:                                               ; preds = %80
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %81, i64 noundef 48) #11
  br label %169

84:                                               ; preds = %78
  %bcmp80 = call i32 @bcmp(ptr noundef nonnull dereferenceable(2) %0, ptr noundef nonnull dereferenceable(2) @_ZN2Pe12header_magicE, i64 2)
  %85 = icmp eq i32 %bcmp80, 0
  br i1 %85, label %86, label %88

86:                                               ; preds = %84
  call void @_Z12VerbosePrintIA13_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(13) @.str.16)
  %87 = call noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
  call void @_ZN2PeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(64) %87, ptr noundef %0, i64 noundef %1)
  br label %168

88:                                               ; preds = %84
  %bcmp81 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %0, ptr noundef nonnull dereferenceable(3) @_ZN2Gz12header_magicE, i64 3)
  %89 = icmp eq i32 %bcmp81, 0
  br i1 %89, label %90, label %92

90:                                               ; preds = %88
  call void @_Z12VerbosePrintIA13_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(13) @.str.17)
  %91 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN2GzCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef %0, i64 noundef %1)
  br label %168

92:                                               ; preds = %88
  %bcmp82 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %0, ptr noundef nonnull dereferenceable(4) @_ZN3Ico12header_magicE, i64 4)
  %93 = icmp eq i32 %bcmp82, 0
  br i1 %93, label %94, label %96

94:                                               ; preds = %92
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.18)
  %95 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN3IcoCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef %0, i64 noundef %1)
  br label %168

96:                                               ; preds = %92
  %bcmp83 = call i32 @bcmp(ptr noundef nonnull dereferenceable(9) %0, ptr noundef nonnull dereferenceable(9) @_ZN3Dwf12header_magicE, i64 9)
  %97 = icmp eq i32 %bcmp83, 0
  br i1 %97, label %98, label %100

98:                                               ; preds = %96
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.19)
  %99 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN3DwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef %0, i64 noundef %1)
  br label %168

100:                                              ; preds = %96
  %bcmp84 = call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %0, ptr noundef nonnull dereferenceable(8) @_ZN3Gft12header_magicE, i64 8)
  %101 = icmp eq i32 %bcmp84, 0
  br i1 %101, label %102, label %104

102:                                              ; preds = %100
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.20)
  %103 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN3GftCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef %0, i64 noundef %1)
  br label %168

104:                                              ; preds = %100
  %bcmp85 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %0, ptr noundef nonnull dereferenceable(16) @_ZN3Rdb12header_magicE, i64 16)
  %105 = icmp eq i32 %bcmp85, 0
  br i1 %105, label %106, label %108

106:                                              ; preds = %104
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.21)
  %107 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN3RdbCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %107, ptr noundef %0, i64 noundef %1)
  br label %168

108:                                              ; preds = %104
  %bcmp86 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %0, ptr noundef nonnull dereferenceable(3) @_ZN3Swf12header_magicE, i64 3)
  %109 = icmp eq i32 %bcmp86, 0
  br i1 %109, label %114, label %110

110:                                              ; preds = %108
  %bcmp87 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %0, ptr noundef nonnull dereferenceable(3) @_ZN3Swf20header_magic_deflateE, i64 3)
  %111 = icmp eq i32 %bcmp87, 0
  br i1 %111, label %114, label %112

112:                                              ; preds = %110
  %bcmp88 = call i32 @bcmp(ptr noundef nonnull dereferenceable(3) %0, ptr noundef nonnull dereferenceable(3) @_ZN3Swf17header_magic_lzmaE, i64 3)
  %113 = icmp eq i32 %bcmp88, 0
  br i1 %113, label %114, label %116

114:                                              ; preds = %112, %110, %108
  call void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.22)
  %115 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  call void @_ZN3SwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %115, ptr noundef %0, i64 noundef %1)
  br label %168

116:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.23, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %117 unwind label %131

117:                                              ; preds = %116
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  store i64 1024, ptr %10, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %119 = load i64, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %0, i64 %119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  %121 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %122 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %123 = invoke noundef ptr @_ZSt6searchIPKcN9__gnu_cxx17__normal_iteratorIS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEET_SB_SB_T0_SC_(ptr noundef %0, ptr noundef %120, ptr %121, ptr %122)
          to label %124 unwind label %133

124:                                              ; preds = %117
  %125 = icmp ult ptr %123, %120
  br i1 %125, label %126, label %135

126:                                              ; preds = %124
  invoke void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.24)
          to label %127 unwind label %133

127:                                              ; preds = %126
  %128 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
          to label %129 unwind label %133

129:                                              ; preds = %127
  %130 = load i64, ptr %4, align 8, !tbaa !5
  call void @_ZN3VcfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24) %128, ptr noundef %0, i64 noundef %130)
  br label %.thread110

131:                                              ; preds = %116
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #10
  br label %161

133:                                              ; preds = %127, %126, %117
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %160

135:                                              ; preds = %124
  %136 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #9
          to label %137 unwind label %142

137:                                              ; preds = %135
  %138 = load i64, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3TarC1EPvm(ptr noundef nonnull align 8 dereferenceable(25) %136, ptr noundef %0, i64 noundef %138)
          to label %139 unwind label %144

139:                                              ; preds = %137
  %140 = call noundef zeroext i1 @_ZNK3Tar7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %136)
  br i1 %140, label %141, label %146

141:                                              ; preds = %139
  invoke void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.25)
          to label %.thread110 unwind label %142

142:                                              ; preds = %141, %135
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %160

144:                                              ; preds = %137
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %136, i64 noundef 32) #11
  br label %160

146:                                              ; preds = %139
  %147 = load ptr, ptr %136, align 8, !tbaa !12
  %148 = getelementptr inbounds i8, ptr %147, i64 8
  %149 = load ptr, ptr %148, align 8
  call void %149(ptr noundef nonnull align 8 dereferenceable(25) %136) #10
  %150 = invoke noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #9
          to label %151 unwind label %156

151:                                              ; preds = %146
  %152 = load i64, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3XmlC1EPvm(ptr noundef nonnull align 8 dereferenceable(244) %150, ptr noundef %0, i64 noundef %152)
          to label %153 unwind label %158

153:                                              ; preds = %151
  %154 = call noundef zeroext i1 @_ZNK3Xml7IsValidEv(ptr noundef nonnull align 8 dereferenceable(244) %150)
  br i1 %154, label %155, label %162

155:                                              ; preds = %153
  invoke void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14) @.str.26)
          to label %.thread110 unwind label %156

156:                                              ; preds = %155, %146
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %151
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %150, i64 noundef 248) #11
  br label %160

.thread110:                                       ; preds = %129, %155, %141
  %.6.ph = phi ptr [ %150, %155 ], [ %128, %129 ], [ %136, %141 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  br label %168

160:                                              ; preds = %156, %158, %142, %144, %133
  %.pn92 = phi { ptr, i32 } [ %134, %133 ], [ %143, %142 ], [ %145, %144 ], [ %157, %156 ], [ %159, %158 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  br label %161

161:                                              ; preds = %160, %131
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %160 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  br label %169

162:                                              ; preds = %153
  %163 = load ptr, ptr %150, align 8, !tbaa !12
  %164 = getelementptr inbounds i8, ptr %163, i64 8
  %165 = load ptr, ptr %164, align 8
  call void %165(ptr noundef nonnull align 8 dereferenceable(244) %150) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_Z12VerbosePrintIA22_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(22) @.str.27)
  %166 = call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #9
  %167 = load i64, ptr %4, align 8, !tbaa !5
  call void @_ZN6FormatC2EPvm(ptr noundef nonnull align 8 dereferenceable(24) %166, ptr noundef %0, i64 noundef %167)
  br label %168

168:                                              ; preds = %.thread110, %66, %80, %162, %114, %106, %102, %98, %94, %90, %86, %76, %72, %68, %14
  %.7 = phi ptr [ %15, %14 ], [ %69, %68 ], [ %73, %72 ], [ %77, %76 ], [ %87, %86 ], [ %91, %90 ], [ %95, %94 ], [ %99, %98 ], [ %103, %102 ], [ %107, %106 ], [ %115, %114 ], [ %166, %162 ], [ %.0.ph, %66 ], [ %81, %80 ], [ %.6.ph, %.thread110 ]
  ret ptr %.7

169:                                              ; preds = %161, %82, %41
  %.pn95 = phi { ptr, i32 } [ %83, %82 ], [ %.pn92.pn, %161 ], [ %42, %41 ]
  resume { ptr, i32 } %.pn95
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

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

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

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

; 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 #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(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 @_ZN9__gnu_cxxneIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 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 #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJA11_cEEvRKT_DpRKT0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7DataURICI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3VcfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4MimeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA14_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3PngCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA15_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(15)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4JpegCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3LuaC2EPvm(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ZipC2EPvm(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA13_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(13)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2PeCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2GzCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3IcoCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3DwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3GftCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3RdbCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3SwfCI26FormatEPvm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) unnamed_addr #5 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6searchIPKcN9__gnu_cxx17__normal_iteratorIS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEET_SB_SB_T0_SC_(ptr noundef, ptr noundef, ptr, ptr) local_unnamed_addr #6

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

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

declare void @_ZN3TarC1EPvm(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef, i64 noundef) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3Tar7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #2 align 2

declare void @_ZN3XmlC1EPvm(ptr noundef nonnull align 8 dereferenceable(244), ptr noundef, i64 noundef) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3Xml7IsValidEv(ptr noundef nonnull align 8 dereferenceable(244)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12VerbosePrintIA22_cEvRKT_(ptr noundef nonnull align 1 dereferenceable(22)) local_unnamed_addr #0

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #8

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"vtable pointer", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass