; LLVM IR from bldeng/AASolver :: AndersonOpt/external/OpenMesh/Core/IO/reader (OBJReader)

; 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.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.OpenMesh::IO::_OBJReader_::Material" = type <{ %"class.OpenMesh::VectorT", i8, [3 x i8], %"class.OpenMesh::VectorT", i8, [3 x i8], %"class.OpenMesh::VectorT", i8, [3 x i8], float, i8, [3 x i8], %"class.std::__cxx11::basic_string", i32, i8, [3 x i8] }>
%"class.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }
%"class.OpenMesh::IO::_OBJReader_" = type { %"class.OpenMesh::IO::BaseReader", %"class.std::map", %"class.std::__cxx11::basic_string" }
%"class.OpenMesh::IO::BaseReader" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, OpenMesh::IO::_OBJReader_::Material>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

declare noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv() #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_materialERSt13basic_fstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(264) %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.OpenMesh::IO::_OBJReader_::Material", align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.start.p0(i64 392, ptr %9) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9)
          to label %22 unwind label %61

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr %13) #7
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8MaterialC2Ev(ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %23 unwind label %65

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 0, ptr %17, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 1, ptr %18, align 4, !tbaa !11
  %24 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %21, i32 0, i32 1
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material7cleanupEv(ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %25 unwind label %69

25:                                               ; preds = %23
  br label %26

26:                                               ; preds = %270, %75, %25
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %27, i64 %30
  %32 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %31)
          to label %33 unwind label %69

33:                                               ; preds = %26
  br i1 %32, label %34, label %43

34:                                               ; preds = %33
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8, !tbaa !13
  %37 = getelementptr i8, ptr %36, i64 -24
  %38 = load i64, ptr %37, align 8
  %39 = getelementptr inbounds i8, ptr %35, i64 %38
  %40 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %39)
          to label %41 unwind label %69

41:                                               ; preds = %34
  %42 = xor i1 %40, true
  br label %43

43:                                               ; preds = %41, %33
  %44 = phi i1 [ false, %33 ], [ %42, %41 ]
  br i1 %44, label %45, label %271

45:                                               ; preds = %43
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %48 unwind label %69

48:                                               ; preds = %45
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = getelementptr i8, ptr %50, i64 -24
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %49, i64 %52
  %54 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3badEv(ptr noundef nonnull align 8 dereferenceable(264) %53)
          to label %55 unwind label %69

55:                                               ; preds = %48
  br i1 %54, label %56, label %73

56:                                               ; preds = %55
  %57 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %58 unwind label %69

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef @.str.5)
          to label %60 unwind label %69

60:                                               ; preds = %58
  store i1 false, ptr %3, align 1
  store i32 1, ptr %19, align 4
  br label %272

61:                                               ; preds = %2
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %10, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %11, align 4
  br label %276

65:                                               ; preds = %22
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %10, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %11, align 4
  br label %275

69:                                               ; preds = %267, %264, %259, %248, %237, %230, %228, %225, %221, %214, %212, %209, %199, %196, %194, %191, %185, %178, %176, %174, %172, %169, %163, %156, %154, %152, %150, %147, %141, %134, %132, %130, %128, %125, %122, %119, %116, %114, %111, %108, %97, %91, %84, %82, %77, %76, %58, %56, %48, %45, %34, %26, %23
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %10, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %11, align 4
  br label %274

73:                                               ; preds = %55
  %74 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br i1 %74, label %75, label %76

75:                                               ; preds = %73
  br label %26, !llvm.loop !15

76:                                               ; preds = %73
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %9, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %77 unwind label %69

77:                                               ; preds = %76
  %78 = load ptr, ptr %9, align 8, !tbaa !13
  %79 = getelementptr i8, ptr %78, i64 -24
  %80 = load i64, ptr %79, align 8
  %81 = getelementptr inbounds i8, ptr %9, i64 %80
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %81, i32 noundef 0)
          to label %82 unwind label %69

82:                                               ; preds = %77
  %83 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %84 unwind label %69

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %86 unwind label %69

86:                                               ; preds = %84
  %87 = load i8, ptr %85, align 1, !tbaa !17
  %88 = sext i8 %87 to i32
  %89 = call i32 @isspace(i32 noundef %88) #8
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %97

91:                                               ; preds = %86
  %92 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %93 unwind label %69

93:                                               ; preds = %91
  %94 = load i8, ptr %92, align 1, !tbaa !17
  %95 = sext i8 %94 to i32
  %96 = icmp ne i32 %95, 9
  br i1 %96, label %103, label %97

97:                                               ; preds = %93, %86
  %98 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
          to label %99 unwind label %69

99:                                               ; preds = %97
  %100 = load i8, ptr %98, align 1, !tbaa !17
  %101 = sext i8 %100 to i32
  %102 = icmp eq i32 %101, 35
  br i1 %102, label %103, label %119

103:                                              ; preds = %99, %93
  %104 = load i8, ptr %17, align 1, !tbaa !9, !range !18, !noundef !19
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %118

106:                                              ; preds = %103
  %107 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br i1 %107, label %118, label %108

108:                                              ; preds = %106
  %109 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO11_OBJReader_8Material8is_validEv(ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %110 unwind label %69

110:                                              ; preds = %108
  br i1 %109, label %111, label %118

111:                                              ; preds = %110
  %112 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %21, i32 0, i32 1
  %113 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %112, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %114 unwind label %69

114:                                              ; preds = %111
  %115 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZN8OpenMesh2IO11_OBJReader_8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(93) %113, ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %116 unwind label %69

116:                                              ; preds = %114
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material7cleanupEv(ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %117 unwind label %69

117:                                              ; preds = %116
  br label %118

118:                                              ; preds = %117, %110, %106, %103
  br label %248

119:                                              ; preds = %99
  %120 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.6)
          to label %121 unwind label %69

121:                                              ; preds = %119
  br i1 %120, label %122, label %125

122:                                              ; preds = %121
  %123 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %124 unwind label %69

124:                                              ; preds = %122
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %247

125:                                              ; preds = %121
  %126 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.7)
          to label %127 unwind label %69

127:                                              ; preds = %125
  br i1 %126, label %128, label %147

128:                                              ; preds = %127
  %129 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %130 unwind label %69

130:                                              ; preds = %128
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %132 unwind label %69

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %134 unwind label %69

134:                                              ; preds = %132
  %135 = load ptr, ptr %9, align 8, !tbaa !13
  %136 = getelementptr i8, ptr %135, i64 -24
  %137 = load i64, ptr %136, align 8
  %138 = getelementptr inbounds i8, ptr %9, i64 %137
  %139 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %138)
          to label %140 unwind label %69

140:                                              ; preds = %134
  br i1 %139, label %146, label %141

141:                                              ; preds = %140
  %142 = load float, ptr %14, align 4, !tbaa !20
  %143 = load float, ptr %15, align 4, !tbaa !20
  %144 = load float, ptr %16, align 4, !tbaa !20
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KdEfff(ptr noundef nonnull align 8 dereferenceable(93) %13, float noundef %142, float noundef %143, float noundef %144)
          to label %145 unwind label %69

145:                                              ; preds = %141
  br label %146

146:                                              ; preds = %145, %140
  br label %246

147:                                              ; preds = %127
  %148 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.8)
          to label %149 unwind label %69

149:                                              ; preds = %147
  br i1 %148, label %150, label %169

150:                                              ; preds = %149
  %151 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %152 unwind label %69

152:                                              ; preds = %150
  %153 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %154 unwind label %69

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %156 unwind label %69

156:                                              ; preds = %154
  %157 = load ptr, ptr %9, align 8, !tbaa !13
  %158 = getelementptr i8, ptr %157, i64 -24
  %159 = load i64, ptr %158, align 8
  %160 = getelementptr inbounds i8, ptr %9, i64 %159
  %161 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %160)
          to label %162 unwind label %69

162:                                              ; preds = %156
  br i1 %161, label %168, label %163

163:                                              ; preds = %162
  %164 = load float, ptr %14, align 4, !tbaa !20
  %165 = load float, ptr %15, align 4, !tbaa !20
  %166 = load float, ptr %16, align 4, !tbaa !20
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KaEfff(ptr noundef nonnull align 8 dereferenceable(93) %13, float noundef %164, float noundef %165, float noundef %166)
          to label %167 unwind label %69

167:                                              ; preds = %163
  br label %168

168:                                              ; preds = %167, %162
  br label %245

169:                                              ; preds = %149
  %170 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.9)
          to label %171 unwind label %69

171:                                              ; preds = %169
  br i1 %170, label %172, label %191

172:                                              ; preds = %171
  %173 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %174 unwind label %69

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %176 unwind label %69

176:                                              ; preds = %174
  %177 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %178 unwind label %69

178:                                              ; preds = %176
  %179 = load ptr, ptr %9, align 8, !tbaa !13
  %180 = getelementptr i8, ptr %179, i64 -24
  %181 = load i64, ptr %180, align 8
  %182 = getelementptr inbounds i8, ptr %9, i64 %181
  %183 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %182)
          to label %184 unwind label %69

184:                                              ; preds = %178
  br i1 %183, label %190, label %185

185:                                              ; preds = %184
  %186 = load float, ptr %14, align 4, !tbaa !20
  %187 = load float, ptr %15, align 4, !tbaa !20
  %188 = load float, ptr %16, align 4, !tbaa !20
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KsEfff(ptr noundef nonnull align 8 dereferenceable(93) %13, float noundef %186, float noundef %187, float noundef %188)
          to label %189 unwind label %69

189:                                              ; preds = %185
  br label %190

190:                                              ; preds = %189, %184
  br label %244

191:                                              ; preds = %171
  %192 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.10)
          to label %193 unwind label %69

193:                                              ; preds = %191
  br i1 %192, label %194, label %209

194:                                              ; preds = %193
  %195 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %196 unwind label %69

196:                                              ; preds = %194
  invoke void @_ZN8OpenMesh2IO10trimStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %197 unwind label %69

197:                                              ; preds = %196
  %198 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br i1 %198, label %208, label %199

199:                                              ; preds = %197
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %200 unwind label %69

200:                                              ; preds = %199
  %201 = load i32, ptr %18, align 4, !tbaa !11
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %18, align 4, !tbaa !11
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material10set_map_KdENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(93) %13, ptr noundef %20, i32 noundef %201)
          to label %203 unwind label %204

203:                                              ; preds = %200
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %208

204:                                              ; preds = %200
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %10, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %274

208:                                              ; preds = %203, %197
  br label %243

209:                                              ; preds = %193
  %210 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.11)
          to label %211 unwind label %69

211:                                              ; preds = %209
  br i1 %210, label %212, label %225

212:                                              ; preds = %211
  %213 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %214 unwind label %69

214:                                              ; preds = %212
  %215 = load ptr, ptr %9, align 8, !tbaa !13
  %216 = getelementptr i8, ptr %215, i64 -24
  %217 = load i64, ptr %216, align 8
  %218 = getelementptr inbounds i8, ptr %9, i64 %217
  %219 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %218)
          to label %220 unwind label %69

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

221:                                              ; preds = %220
  %222 = load float, ptr %14, align 4, !tbaa !20
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_TrEf(ptr noundef nonnull align 8 dereferenceable(93) %13, float noundef %222)
          to label %223 unwind label %69

223:                                              ; preds = %221
  br label %224

224:                                              ; preds = %223, %220
  br label %242

225:                                              ; preds = %211
  %226 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.12)
          to label %227 unwind label %69

227:                                              ; preds = %225
  br i1 %226, label %228, label %241

228:                                              ; preds = %227
  %229 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %230 unwind label %69

230:                                              ; preds = %228
  %231 = load ptr, ptr %9, align 8, !tbaa !13
  %232 = getelementptr i8, ptr %231, i64 -24
  %233 = load i64, ptr %232, align 8
  %234 = getelementptr inbounds i8, ptr %9, i64 %233
  %235 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %234)
          to label %236 unwind label %69

236:                                              ; preds = %230
  br i1 %235, label %240, label %237

237:                                              ; preds = %236
  %238 = load float, ptr %14, align 4, !tbaa !20
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_TrEf(ptr noundef nonnull align 8 dereferenceable(93) %13, float noundef %238)
          to label %239 unwind label %69

239:                                              ; preds = %237
  br label %240

240:                                              ; preds = %239, %236
  br label %241

241:                                              ; preds = %240, %227
  br label %242

242:                                              ; preds = %241, %224
  br label %243

243:                                              ; preds = %242, %208
  br label %244

244:                                              ; preds = %243, %190
  br label %245

245:                                              ; preds = %244, %168
  br label %246

246:                                              ; preds = %245, %146
  br label %247

247:                                              ; preds = %246, %124
  br label %248

248:                                              ; preds = %247, %118
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = load ptr, ptr %249, align 8, !tbaa !13
  %251 = getelementptr i8, ptr %250, i64 -24
  %252 = load i64, ptr %251, align 8
  %253 = getelementptr inbounds i8, ptr %249, i64 %252
  %254 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %253)
          to label %255 unwind label %69

255:                                              ; preds = %248
  br i1 %254, label %256, label %270

256:                                              ; preds = %255
  %257 = load i8, ptr %17, align 1, !tbaa !9, !range !18, !noundef !19
  %258 = trunc i8 %257 to i1
  br i1 %258, label %259, label %270

259:                                              ; preds = %256
  %260 = invoke noundef zeroext i1 @_ZNK8OpenMesh2IO11_OBJReader_8Material8is_validEv(ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %261 unwind label %69

261:                                              ; preds = %259
  br i1 %260, label %262, label %270

262:                                              ; preds = %261
  %263 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br i1 %263, label %270, label %264

264:                                              ; preds = %262
  %265 = getelementptr inbounds %"class.OpenMesh::IO::_OBJReader_", ptr %21, i32 0, i32 1
  %266 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %265, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %267 unwind label %69

267:                                              ; preds = %264
  %268 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZN8OpenMesh2IO11_OBJReader_8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(93) %266, ptr noundef nonnull align 8 dereferenceable(93) %13)
          to label %269 unwind label %69

269:                                              ; preds = %267
  br label %270

270:                                              ; preds = %269, %262, %261, %256, %255
  br label %26, !llvm.loop !15

271:                                              ; preds = %43
  store i1 true, ptr %3, align 1
  store i32 1, ptr %19, align 4
  br label %272

272:                                              ; preds = %271, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @_ZN8OpenMesh2IO11_OBJReader_8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %13) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  %273 = load i1, ptr %3, align 1
  ret i1 %273

274:                                              ; preds = %204, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @_ZN8OpenMesh2IO11_OBJReader_8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %13) #7
  br label %275

275:                                              ; preds = %274, %65
  call void @llvm.lifetime.end.p0(i64 96, ptr %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9) #7
  br label %276

276:                                              ; preds = %275, %61
  call void @llvm.lifetime.end.p0(i64 392, ptr %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #7
  br label %277

277:                                              ; preds = %276
  %278 = load ptr, ptr %10, align 8
  %279 = load i32, ptr %11, align 4
  %280 = insertvalue { ptr, i32 } poison, ptr %278, 0
  %281 = insertvalue { ptr, i32 } %280, i32 %279, 1
  resume { ptr, i32 } %281
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8MaterialC2Ev(ptr noundef nonnull align 8 dereferenceable(93)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

; 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: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(93) ptr @_ZN8OpenMesh2IO11_OBJReader_8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(93), ptr noundef nonnull align 8 dereferenceable(93)) #3 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) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KdEfff(ptr noundef nonnull align 8 dereferenceable(93), float noundef, float noundef, float noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KaEfff(ptr noundef nonnull align 8 dereferenceable(93), float noundef, float noundef, float noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KsEfff(ptr noundef nonnull align 8 dereferenceable(93), float noundef, float noundef, float noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material10set_map_KdENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(93), ptr noundef, i32 noundef) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_TrEf(ptr noundef nonnull align 8 dereferenceable(93), float noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(93)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, 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.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.OpenMesh::IO::_OBJReader_::Material" = type <{ %"class.OpenMesh::VectorT", i8, [3 x i8], %"class.OpenMesh::VectorT", i8, [3 x i8], %"class.OpenMesh::VectorT", i8, [3 x i8], float, i8, [3 x i8], %"class.std::__cxx11::basic_string", i32, i8, [3 x i8] }>
%"class.OpenMesh::VectorT" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x float] }

@.str.5 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8OpenMesh2IO11_OBJReader_13read_materialERSt13basic_fstreamIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(264) %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.OpenMesh::IO::_OBJReader_::Material", align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %6) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6)
          to label %13 unwind label %42

13:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #7
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8MaterialC2Ev(ptr noundef nonnull align 8 dereferenceable(93) %8)
          to label %14 unwind label %44

14:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @_ZN8OpenMesh2IO11_OBJReader_8Material7cleanupEv(ptr noundef nonnull align 8 dereferenceable(93) %8)
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %14
  %.011.ph = phi i8 [ 0, %14 ], [ %.112, %.outer.backedge ]
  %.0.ph = phi i32 [ 1, %14 ], [ %.1, %.outer.backedge ]
  br label %16

16:                                               ; preds = %.outer, %46
  %17 = load ptr, ptr %1, align 8, !tbaa !5
  %18 = getelementptr i8, ptr %17, i64 -24
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds i8, ptr %1, i64 %19
  %21 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %20)
          to label %22 unwind label %.loopexit.loopexit

22:                                               ; preds = %16
  br i1 %21, label %23, label %.critedge

23:                                               ; preds = %22
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = getelementptr i8, ptr %24, i64 -24
  %26 = load i64, ptr %25, align 8
  %27 = getelementptr inbounds i8, ptr %1, i64 %26
  %28 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %27)
          to label %29 unwind label %.loopexit.loopexit

29:                                               ; preds = %23
  br i1 %28, label %.critedge, label %30

30:                                               ; preds = %29
  %31 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %32 unwind label %.loopexit.loopexit

32:                                               ; preds = %30
  %33 = load ptr, ptr %1, align 8, !tbaa !5
  %34 = getelementptr i8, ptr %33, i64 -24
  %35 = load i64, ptr %34, align 8
  %36 = getelementptr inbounds i8, ptr %1, i64 %35
  %37 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3badEv(ptr noundef nonnull align 8 dereferenceable(264) %36)
  br i1 %37, label %38, label %46

38:                                               ; preds = %32
  %39 = invoke noundef nonnull align 8 dereferenceable(224) ptr @_Z5omerrv()
          to label %40 unwind label %.loopexit.split-lp

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.5)
          to label %.critedge unwind label %.loopexit.split-lp

42:                                               ; preds = %2
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %192

44:                                               ; preds = %13
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %191

.loopexit.loopexit:                               ; preds = %30, %23, %16
  %lpad.loopexit23 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.loopexit.split-lp:                      ; preds = %189, %187, %174, %164, %152, %144, %141, %139, %133, %125, %123, %121, %115, %107, %105, %103, %97, %89, %87, %85, %81, %76, %74, %54, %49, %48
  %lpad.loopexit.split-lp24 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

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

46:                                               ; preds = %32
  %47 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  br i1 %47, label %16, label %48, !llvm.loop !8

48:                                               ; preds = %46
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %6, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %49 unwind label %.loopexit.loopexit.split-lp

49:                                               ; preds = %48
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr i8, ptr %50, i64 -24
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %6, i64 %52
  invoke void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264) %53, i32 noundef 0)
          to label %54 unwind label %.loopexit.loopexit.split-lp

54:                                               ; preds = %49
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %56 unwind label %.loopexit.loopexit.split-lp

56:                                               ; preds = %54
  %57 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0)
  %58 = load i8, ptr %57, align 1, !tbaa !10
  %59 = sext i8 %58 to i32
  %60 = call i32 @isspace(i32 noundef %59) #8
  %.not = icmp eq i32 %60, 0
  br i1 %.not, label %64, label %61

61:                                               ; preds = %56
  %62 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0)
  %63 = load i8, ptr %62, align 1, !tbaa !10
  %.not19 = icmp eq i8 %63, 9
  br i1 %.not19, label %64, label %68

64:                                               ; preds = %61, %56
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0)
  %66 = load i8, ptr %65, align 1, !tbaa !10
  %67 = icmp eq i8 %66, 35
  br i1 %67, label %68, label %79

68:                                               ; preds = %64, %61
  %69 = trunc nuw i8 %.011.ph to i1
  br i1 %69, label %70, label %174

70:                                               ; preds = %68
  %71 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br i1 %71, label %174, label %72

72:                                               ; preds = %70
  %73 = call noundef zeroext i1 @_ZNK8OpenMesh2IO11_OBJReader_8Material8is_validEv(ptr noundef nonnull align 8 dereferenceable(93) %8)
  br i1 %73, label %74, label %174

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %76 unwind label %.loopexit.loopexit.split-lp

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZN8OpenMesh2IO11_OBJReader_8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(93) %75, ptr noundef nonnull align 8 dereferenceable(93) %8)
          to label %78 unwind label %.loopexit.loopexit.split-lp

78:                                               ; preds = %76
  call void @_ZN8OpenMesh2IO11_OBJReader_8Material7cleanupEv(ptr noundef nonnull align 8 dereferenceable(93) %8)
  br label %174

79:                                               ; preds = %64
  %80 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.6)
  br i1 %80, label %81, label %83

81:                                               ; preds = %79
  %82 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %174 unwind label %.loopexit.loopexit.split-lp

83:                                               ; preds = %79
  %84 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.7)
  br i1 %84, label %85, label %101

85:                                               ; preds = %83
  %86 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %87 unwind label %.loopexit.loopexit.split-lp

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %89 unwind label %.loopexit.loopexit.split-lp

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %91 unwind label %.loopexit.loopexit.split-lp

91:                                               ; preds = %89
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr i8, ptr %92, i64 -24
  %94 = load i64, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %6, i64 %94
  %96 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %95)
  br i1 %96, label %174, label %97

97:                                               ; preds = %91
  %98 = load float, ptr %9, align 4, !tbaa !12
  %99 = load float, ptr %10, align 4, !tbaa !12
  %100 = load float, ptr %11, align 4, !tbaa !12
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KdEfff(ptr noundef nonnull align 8 dereferenceable(93) %8, float noundef %98, float noundef %99, float noundef %100)
          to label %174 unwind label %.loopexit.loopexit.split-lp

101:                                              ; preds = %83
  %102 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.8)
  br i1 %102, label %103, label %119

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %105 unwind label %.loopexit.loopexit.split-lp

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %107 unwind label %.loopexit.loopexit.split-lp

107:                                              ; preds = %105
  %108 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %109 unwind label %.loopexit.loopexit.split-lp

109:                                              ; preds = %107
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr i8, ptr %110, i64 -24
  %112 = load i64, ptr %111, align 8
  %113 = getelementptr inbounds i8, ptr %6, i64 %112
  %114 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %113)
  br i1 %114, label %174, label %115

115:                                              ; preds = %109
  %116 = load float, ptr %9, align 4, !tbaa !12
  %117 = load float, ptr %10, align 4, !tbaa !12
  %118 = load float, ptr %11, align 4, !tbaa !12
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KaEfff(ptr noundef nonnull align 8 dereferenceable(93) %8, float noundef %116, float noundef %117, float noundef %118)
          to label %174 unwind label %.loopexit.loopexit.split-lp

119:                                              ; preds = %101
  %120 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.9)
  br i1 %120, label %121, label %137

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %123 unwind label %.loopexit.loopexit.split-lp

123:                                              ; preds = %121
  %124 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %125 unwind label %.loopexit.loopexit.split-lp

125:                                              ; preds = %123
  %126 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %127 unwind label %.loopexit.loopexit.split-lp

127:                                              ; preds = %125
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr i8, ptr %128, i64 -24
  %130 = load i64, ptr %129, align 8
  %131 = getelementptr inbounds i8, ptr %6, i64 %130
  %132 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %131)
  br i1 %132, label %174, label %133

133:                                              ; preds = %127
  %134 = load float, ptr %9, align 4, !tbaa !12
  %135 = load float, ptr %10, align 4, !tbaa !12
  %136 = load float, ptr %11, align 4, !tbaa !12
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KsEfff(ptr noundef nonnull align 8 dereferenceable(93) %8, float noundef %134, float noundef %135, float noundef %136)
          to label %174 unwind label %.loopexit.loopexit.split-lp

137:                                              ; preds = %119
  %138 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.10)
  br i1 %138, label %139, label %150

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %141 unwind label %.loopexit.loopexit.split-lp

141:                                              ; preds = %139
  invoke void @_ZN8OpenMesh2IO10trimStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %142 unwind label %.loopexit.loopexit.split-lp

142:                                              ; preds = %141
  %143 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br i1 %143, label %174, label %144

144:                                              ; preds = %142
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %145 unwind label %.loopexit.loopexit.split-lp

145:                                              ; preds = %144
  invoke void @_ZN8OpenMesh2IO11_OBJReader_8Material10set_map_KdENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(93) %8, ptr noundef nonnull %12, i32 noundef %.0.ph)
          to label %146 unwind label %148

146:                                              ; preds = %145
  %147 = add nsw i32 %.0.ph, 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %174

148:                                              ; preds = %145
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %.loopexit

150:                                              ; preds = %137
  %151 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.11)
  br i1 %151, label %152, label %162

152:                                              ; preds = %150
  %153 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %154 unwind label %.loopexit.loopexit.split-lp

154:                                              ; preds = %152
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr i8, ptr %155, i64 -24
  %157 = load i64, ptr %156, align 8
  %158 = getelementptr inbounds i8, ptr %6, i64 %157
  %159 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %158)
  br i1 %159, label %174, label %160

160:                                              ; preds = %154
  %161 = load float, ptr %9, align 4, !tbaa !12
  call void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_TrEf(ptr noundef nonnull align 8 dereferenceable(93) %8, float noundef %161)
  br label %174

162:                                              ; preds = %150
  %163 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.12)
  br i1 %163, label %164, label %174

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %166 unwind label %.loopexit.loopexit.split-lp

166:                                              ; preds = %164
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr i8, ptr %167, i64 -24
  %169 = load i64, ptr %168, align 8
  %170 = getelementptr inbounds i8, ptr %6, i64 %169
  %171 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %170)
  br i1 %171, label %174, label %172

172:                                              ; preds = %166
  %173 = load float, ptr %9, align 4, !tbaa !12
  call void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_TrEf(ptr noundef nonnull align 8 dereferenceable(93) %8, float noundef %173)
  br label %174

174:                                              ; preds = %81, %115, %109, %146, %142, %162, %172, %166, %154, %160, %127, %133, %91, %97, %68, %70, %72, %78
  %.112 = phi i8 [ %.011.ph, %70 ], [ %.011.ph, %78 ], [ %.011.ph, %72 ], [ %.011.ph, %68 ], [ %.011.ph, %91 ], [ %.011.ph, %97 ], [ %.011.ph, %109 ], [ %.011.ph, %115 ], [ %.011.ph, %127 ], [ %.011.ph, %133 ], [ %.011.ph, %142 ], [ %.011.ph, %146 ], [ %.011.ph, %154 ], [ %.011.ph, %160 ], [ %.011.ph, %166 ], [ %.011.ph, %172 ], [ %.011.ph, %162 ], [ 1, %81 ]
  %.1 = phi i32 [ %.0.ph, %70 ], [ %.0.ph, %78 ], [ %.0.ph, %72 ], [ %.0.ph, %68 ], [ %.0.ph, %91 ], [ %.0.ph, %97 ], [ %.0.ph, %109 ], [ %.0.ph, %115 ], [ %.0.ph, %127 ], [ %.0.ph, %133 ], [ %.0.ph, %142 ], [ %147, %146 ], [ %.0.ph, %154 ], [ %.0.ph, %160 ], [ %.0.ph, %166 ], [ %.0.ph, %172 ], [ %.0.ph, %162 ], [ %.0.ph, %81 ]
  %175 = load ptr, ptr %1, align 8, !tbaa !5
  %176 = getelementptr i8, ptr %175, i64 -24
  %177 = load i64, ptr %176, align 8
  %178 = getelementptr inbounds i8, ptr %1, i64 %177
  %179 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %178)
          to label %180 unwind label %.loopexit.loopexit.split-lp

180:                                              ; preds = %174
  br i1 %179, label %181, label %.outer.backedge

181:                                              ; preds = %180
  %182 = trunc nuw i8 %.112 to i1
  br i1 %182, label %183, label %.outer.backedge

183:                                              ; preds = %181
  %184 = call noundef zeroext i1 @_ZNK8OpenMesh2IO11_OBJReader_8Material8is_validEv(ptr noundef nonnull align 8 dereferenceable(93) %8)
  br i1 %184, label %185, label %.outer.backedge

185:                                              ; preds = %183
  %186 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br i1 %186, label %.outer.backedge, label %187

187:                                              ; preds = %185
  %188 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %189 unwind label %.loopexit.loopexit.split-lp

189:                                              ; preds = %187
  %190 = invoke noundef nonnull align 8 dereferenceable(93) ptr @_ZN8OpenMesh2IO11_OBJReader_8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(93) %188, ptr noundef nonnull align 8 dereferenceable(93) %8)
          to label %.outer.backedge unwind label %.loopexit.loopexit.split-lp

.outer.backedge:                                  ; preds = %189, %185, %183, %181, %180
  br label %.outer, !llvm.loop !8

.critedge:                                        ; preds = %29, %22, %40
  %.018 = phi i1 [ false, %40 ], [ true, %22 ], [ true, %29 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @_ZN8OpenMesh2IO11_OBJReader_8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %8) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %6) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret i1 %.018

.loopexit:                                        ; preds = %.loopexit.split-lp, %.loopexit.loopexit.split-lp, %.loopexit.loopexit, %148
  %.pn = phi { ptr, i32 } [ %149, %148 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit23, %.loopexit.loopexit ], [ %lpad.loopexit.split-lp24, %.loopexit.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @_ZN8OpenMesh2IO11_OBJReader_8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(93) %8) #7
  br label %191

191:                                              ; preds = %.loopexit, %44
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %6) #7
  br label %192

192:                                              ; preds = %191, %42
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %191 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %6) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8MaterialC2Ev(ptr noundef nonnull align 8 dereferenceable(93)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

; 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 uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

declare void @_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate(ptr noundef nonnull align 8 dereferenceable(264), i32 noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(93) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN8OpenMesh2IO11_OBJReader_8MaterialESt4lessIS5_ESaISt4pairIKS5_S9_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(93) ptr @_ZN8OpenMesh2IO11_OBJReader_8MaterialaSERKS2_(ptr noundef nonnull align 8 dereferenceable(93), ptr noundef nonnull align 8 dereferenceable(93)) local_unnamed_addr #3 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 #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KdEfff(ptr noundef nonnull align 8 dereferenceable(93), float noundef, float noundef, float noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KaEfff(ptr noundef nonnull align 8 dereferenceable(93), float noundef, float noundef, float noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_KsEfff(ptr noundef nonnull align 8 dereferenceable(93), float noundef, float noundef, float noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material10set_map_KdENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(93), ptr noundef, i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8Material6set_TrEf(ptr noundef nonnull align 8 dereferenceable(93), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8OpenMesh2IO11_OBJReader_8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(93)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !11, i64 0}


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