; LLVM IR from bohanwang/libpgo :: third-party/tiny_obj_loader (tiny_obj_loader)

; 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.std::set" = type { %"class.std::_Rb_tree.61" }
%"class.std::_Rb_tree.61" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, 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 }
%"class.std::map.3" = type { %"class.std::_Rb_tree.4" }
%"class.std::_Rb_tree.4" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, 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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl" }
%"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl" }
%"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tinyobj::vertex_index_t" = type { i32, i32, i32 }
%"struct.tinyobj::index_t" = type { i32, i32, i32 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::allocator" = type { i8 }
%"struct.std::pair.93" = type <{ %"struct.std::_Rb_tree_const_iterator.95", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator.95" = type { ptr }
%"struct.tinyobj::callback_t" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.std::pair.90" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [56 x i8], align 1
@__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_ = external hidden unnamed_addr constant [126 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strspn(ptr noundef, ptr noundef) #2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #4 align 2

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

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

declare noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16)) #5

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(16) ptr @_ZN7tinyobjL11safeGetlineERSiRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

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

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

; 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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN7tinyobjL20parseVertexWithColorEPfS0_S0_S0_S0_S0_PPKcddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7tinyobjL11SplitStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEccRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i8 noundef signext, ptr noundef nonnull align 8 dereferenceable(24)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #4 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %14 = alloca %"class.std::set", align 8
  %15 = alloca %"class.std::map.3", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector.65", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector.20", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector.97", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca i32, align 4
  %33 = alloca i8, align 1
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca %"struct.tinyobj::vertex_index_t", align 4
  %41 = alloca { i64, i32 }, align 8
  %42 = alloca %"struct.tinyobj::index_t", align 4
  %43 = alloca i64, align 8
  %44 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %48 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %49 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %50 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::vector.20", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::allocator", align 1
  %56 = alloca i8, align 1
  %57 = alloca i64, align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca i8, align 1
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator", align 1
  %63 = alloca %"struct.std::pair.93", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca i64, align 8
  %66 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 392, ptr %13) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %13)
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #8
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 -1, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #8
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 2)
          to label %69 unwind label %94

69:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br label %70

70:                                               ; preds = %845, %843, %122, %69
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = invoke noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16) %71)
          to label %73 unwind label %98

73:                                               ; preds = %70
  %74 = icmp ne i32 %72, -1
  br i1 %74, label %75, label %847

75:                                               ; preds = %73
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7tinyobjL11safeGetlineERSiRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %78 unwind label %98

78:                                               ; preds = %75
  %79 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %80 = icmp ugt i64 %79, 0
  br i1 %80, label %81, label %103

81:                                               ; preds = %78
  %82 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %83 = sub i64 %82, 1
  %84 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %23, i64 noundef %83)
          to label %85 unwind label %98

85:                                               ; preds = %81
  %86 = load i8, ptr %84, align 1, !tbaa !11
  %87 = sext i8 %86 to i32
  %88 = icmp eq i32 %87, 10
  br i1 %88, label %89, label %102

89:                                               ; preds = %85
  %90 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %91 = sub i64 %90, 1
  %92 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %23, i64 noundef %91, i64 noundef -1)
          to label %93 unwind label %98

93:                                               ; preds = %89
  br label %102

94:                                               ; preds = %6
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %20, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %21, align 4
  br label %866

98:                                               ; preds = %114, %106, %89, %81, %75, %70
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %20, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %21, align 4
  br label %865

102:                                              ; preds = %93, %85
  br label %103

103:                                              ; preds = %102, %78
  %104 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %105 = icmp ugt i64 %104, 0
  br i1 %105, label %106, label %120

106:                                              ; preds = %103
  %107 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %108 = sub i64 %107, 1
  %109 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %23, i64 noundef %108)
          to label %110 unwind label %98

110:                                              ; preds = %106
  %111 = load i8, ptr %109, align 1, !tbaa !11
  %112 = sext i8 %111 to i32
  %113 = icmp eq i32 %112, 13
  br i1 %113, label %114, label %119

114:                                              ; preds = %110
  %115 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  %116 = sub i64 %115, 1
  %117 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %23, i64 noundef %116, i64 noundef -1)
          to label %118 unwind label %98

118:                                              ; preds = %114
  br label %119

119:                                              ; preds = %118, %110
  br label %120

120:                                              ; preds = %119, %103
  %121 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br i1 %121, label %122, label %123

122:                                              ; preds = %120
  br label %70, !llvm.loop !12

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %124 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  store ptr %124, ptr %24, align 8, !tbaa !5
  %125 = load ptr, ptr %24, align 8, !tbaa !5
  %126 = call i64 @strspn(ptr noundef %125, ptr noundef @.str) #9
  %127 = load ptr, ptr %24, align 8, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %127, i64 %126
  store ptr %128, ptr %24, align 8, !tbaa !5
  %129 = load ptr, ptr %24, align 8, !tbaa !5
  %130 = icmp ne ptr %129, null
  br i1 %130, label %131, label %132

131:                                              ; preds = %123
  br label %134

132:                                              ; preds = %123
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.16, i32 noundef 3198, ptr noundef @__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_) #10
  unreachable

133:                                              ; No predecessors!
  br label %134

134:                                              ; preds = %133, %131
  %135 = load ptr, ptr %24, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 0
  %137 = load i8, ptr %136, align 1, !tbaa !11
  %138 = sext i8 %137 to i32
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %134
  store i32 2, ptr %25, align 4
  br label %843, !llvm.loop !12

141:                                              ; preds = %134
  %142 = load ptr, ptr %24, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 0
  %144 = load i8, ptr %143, align 1, !tbaa !11
  %145 = sext i8 %144 to i32
  %146 = icmp eq i32 %145, 35
  br i1 %146, label %147, label %148

147:                                              ; preds = %141
  store i32 2, ptr %25, align 4
  br label %843, !llvm.loop !12

148:                                              ; preds = %141
  %149 = load ptr, ptr %24, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %149, i64 0
  %151 = load i8, ptr %150, align 1, !tbaa !11
  %152 = sext i8 %151 to i32
  %153 = icmp eq i32 %152, 118
  br i1 %153, label %154, label %217

154:                                              ; preds = %148
  %155 = load ptr, ptr %24, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i64 1
  %157 = load i8, ptr %156, align 1, !tbaa !11
  %158 = sext i8 %157 to i32
  %159 = icmp eq i32 %158, 32
  br i1 %159, label %166, label %160

160:                                              ; preds = %154
  %161 = load ptr, ptr %24, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i64 1
  %163 = load i8, ptr %162, align 1, !tbaa !11
  %164 = sext i8 %163 to i32
  %165 = icmp eq i32 %164, 9
  br i1 %165, label %166, label %217

166:                                              ; preds = %160, %154
  %167 = load ptr, ptr %24, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %167, i64 2
  store ptr %168, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %169 = invoke noundef i32 @_ZN7tinyobjL20parseVertexWithColorEPfS0_S0_S0_S0_S0_PPKcddd(ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %24, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %170 unwind label %185

170:                                              ; preds = %166
  store i32 %169, ptr %32, align 4, !tbaa !9
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %171, i32 0, i32 0
  %173 = load ptr, ptr %172, align 8, !tbaa !14
  %174 = icmp ne ptr %173, null
  br i1 %174, label %175, label %189

175:                                              ; preds = %170
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %176, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8, !tbaa !14
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = load float, ptr %26, align 4, !tbaa !16
  %181 = load float, ptr %27, align 4, !tbaa !16
  %182 = load float, ptr %28, align 4, !tbaa !16
  %183 = load float, ptr %29, align 4, !tbaa !16
  invoke void %178(ptr noundef %179, float noundef %180, float noundef %181, float noundef %182, float noundef %183)
          to label %184 unwind label %185

184:                                              ; preds = %175
  br label %189

185:                                              ; preds = %175, %166
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %20, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %21, align 4
  br label %216

189:                                              ; preds = %184, %170
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %190, i32 0, i32 1
  %192 = load ptr, ptr %191, align 8, !tbaa !18
  %193 = icmp ne ptr %192, null
  br i1 %193, label %194, label %215

194:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  %195 = load i32, ptr %32, align 4, !tbaa !9
  %196 = icmp eq i32 %195, 6
  %197 = zext i1 %196 to i8
  store i8 %197, ptr %33, align 1, !tbaa !19
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %198, i32 0, i32 1
  %200 = load ptr, ptr %199, align 8, !tbaa !18
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = load float, ptr %26, align 4, !tbaa !16
  %203 = load float, ptr %27, align 4, !tbaa !16
  %204 = load float, ptr %28, align 4, !tbaa !16
  %205 = load float, ptr %29, align 4, !tbaa !16
  %206 = load float, ptr %30, align 4, !tbaa !16
  %207 = load float, ptr %31, align 4, !tbaa !16
  %208 = load i8, ptr %33, align 1, !tbaa !19, !range !21, !noundef !22
  %209 = trunc i8 %208 to i1
  invoke void %200(ptr noundef %201, float noundef %202, float noundef %203, float noundef %204, float noundef %205, float noundef %206, float noundef %207, i1 noundef zeroext %209)
          to label %210 unwind label %211

210:                                              ; preds = %194
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %215

211:                                              ; preds = %194
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %20, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %216

215:                                              ; preds = %210, %189
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %843

216:                                              ; preds = %211, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %846

217:                                              ; preds = %160, %148
  %218 = load ptr, ptr %24, align 8, !tbaa !5
  %219 = getelementptr inbounds i8, ptr %218, i64 0
  %220 = load i8, ptr %219, align 1, !tbaa !11
  %221 = sext i8 %220 to i32
  %222 = icmp eq i32 %221, 118
  br i1 %222, label %223, label %263

223:                                              ; preds = %217
  %224 = load ptr, ptr %24, align 8, !tbaa !5
  %225 = getelementptr inbounds i8, ptr %224, i64 1
  %226 = load i8, ptr %225, align 1, !tbaa !11
  %227 = sext i8 %226 to i32
  %228 = icmp eq i32 %227, 110
  br i1 %228, label %229, label %263

229:                                              ; preds = %223
  %230 = load ptr, ptr %24, align 8, !tbaa !5
  %231 = getelementptr inbounds i8, ptr %230, i64 2
  %232 = load i8, ptr %231, align 1, !tbaa !11
  %233 = sext i8 %232 to i32
  %234 = icmp eq i32 %233, 32
  br i1 %234, label %241, label %235

235:                                              ; preds = %229
  %236 = load ptr, ptr %24, align 8, !tbaa !5
  %237 = getelementptr inbounds i8, ptr %236, i64 2
  %238 = load i8, ptr %237, align 1, !tbaa !11
  %239 = sext i8 %238 to i32
  %240 = icmp eq i32 %239, 9
  br i1 %240, label %241, label %263

241:                                              ; preds = %235, %229
  %242 = load ptr, ptr %24, align 8, !tbaa !5
  %243 = getelementptr inbounds i8, ptr %242, i64 3
  store ptr %243, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %24, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %244 unwind label %258

244:                                              ; preds = %241
  %245 = load ptr, ptr %8, align 8, !tbaa !5
  %246 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %245, i32 0, i32 2
  %247 = load ptr, ptr %246, align 8, !tbaa !23
  %248 = icmp ne ptr %247, null
  br i1 %248, label %249, label %262

249:                                              ; preds = %244
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %250, i32 0, i32 2
  %252 = load ptr, ptr %251, align 8, !tbaa !23
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = load float, ptr %34, align 4, !tbaa !16
  %255 = load float, ptr %35, align 4, !tbaa !16
  %256 = load float, ptr %36, align 4, !tbaa !16
  invoke void %252(ptr noundef %253, float noundef %254, float noundef %255, float noundef %256)
          to label %257 unwind label %258

257:                                              ; preds = %249
  br label %262

258:                                              ; preds = %249, %241
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %20, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %846

262:                                              ; preds = %257, %244
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %843

263:                                              ; preds = %235, %223, %217
  %264 = load ptr, ptr %24, align 8, !tbaa !5
  %265 = getelementptr inbounds i8, ptr %264, i64 0
  %266 = load i8, ptr %265, align 1, !tbaa !11
  %267 = sext i8 %266 to i32
  %268 = icmp eq i32 %267, 118
  br i1 %268, label %269, label %309

269:                                              ; preds = %263
  %270 = load ptr, ptr %24, align 8, !tbaa !5
  %271 = getelementptr inbounds i8, ptr %270, i64 1
  %272 = load i8, ptr %271, align 1, !tbaa !11
  %273 = sext i8 %272 to i32
  %274 = icmp eq i32 %273, 116
  br i1 %274, label %275, label %309

275:                                              ; preds = %269
  %276 = load ptr, ptr %24, align 8, !tbaa !5
  %277 = getelementptr inbounds i8, ptr %276, i64 2
  %278 = load i8, ptr %277, align 1, !tbaa !11
  %279 = sext i8 %278 to i32
  %280 = icmp eq i32 %279, 32
  br i1 %280, label %287, label %281

281:                                              ; preds = %275
  %282 = load ptr, ptr %24, align 8, !tbaa !5
  %283 = getelementptr inbounds i8, ptr %282, i64 2
  %284 = load i8, ptr %283, align 1, !tbaa !11
  %285 = sext i8 %284 to i32
  %286 = icmp eq i32 %285, 9
  br i1 %286, label %287, label %309

287:                                              ; preds = %281, %275
  %288 = load ptr, ptr %24, align 8, !tbaa !5
  %289 = getelementptr inbounds i8, ptr %288, i64 3
  store ptr %289, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %24, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %290 unwind label %304

290:                                              ; preds = %287
  %291 = load ptr, ptr %8, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %291, i32 0, i32 3
  %293 = load ptr, ptr %292, align 8, !tbaa !24
  %294 = icmp ne ptr %293, null
  br i1 %294, label %295, label %308

295:                                              ; preds = %290
  %296 = load ptr, ptr %8, align 8, !tbaa !5
  %297 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %296, i32 0, i32 3
  %298 = load ptr, ptr %297, align 8, !tbaa !24
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = load float, ptr %37, align 4, !tbaa !16
  %301 = load float, ptr %38, align 4, !tbaa !16
  %302 = load float, ptr %39, align 4, !tbaa !16
  invoke void %298(ptr noundef %299, float noundef %300, float noundef %301, float noundef %302)
          to label %303 unwind label %304

303:                                              ; preds = %295
  br label %308

304:                                              ; preds = %295, %287
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %20, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %846

308:                                              ; preds = %303, %290
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %843

309:                                              ; preds = %281, %269, %263
  %310 = load ptr, ptr %24, align 8, !tbaa !5
  %311 = getelementptr inbounds i8, ptr %310, i64 0
  %312 = load i8, ptr %311, align 1, !tbaa !11
  %313 = sext i8 %312 to i32
  %314 = icmp eq i32 %313, 102
  br i1 %314, label %315, label %405

315:                                              ; preds = %309
  %316 = load ptr, ptr %24, align 8, !tbaa !5
  %317 = getelementptr inbounds i8, ptr %316, i64 1
  %318 = load i8, ptr %317, align 1, !tbaa !11
  %319 = sext i8 %318 to i32
  %320 = icmp eq i32 %319, 32
  br i1 %320, label %327, label %321

321:                                              ; preds = %315
  %322 = load ptr, ptr %24, align 8, !tbaa !5
  %323 = getelementptr inbounds i8, ptr %322, i64 1
  %324 = load i8, ptr %323, align 1, !tbaa !11
  %325 = sext i8 %324 to i32
  %326 = icmp eq i32 %325, 9
  br i1 %326, label %327, label %405

327:                                              ; preds = %321, %315
  %328 = load ptr, ptr %24, align 8, !tbaa !5
  %329 = getelementptr inbounds i8, ptr %328, i64 2
  store ptr %329, ptr %24, align 8, !tbaa !5
  %330 = load ptr, ptr %24, align 8, !tbaa !5
  %331 = call i64 @strspn(ptr noundef %330, ptr noundef @.str) #9
  %332 = load ptr, ptr %24, align 8, !tbaa !5
  %333 = getelementptr inbounds i8, ptr %332, i64 %331
  store ptr %333, ptr %24, align 8, !tbaa !5
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %334

334:                                              ; preds = %367, %327
  %335 = load ptr, ptr %24, align 8, !tbaa !5
  %336 = getelementptr inbounds i8, ptr %335, i64 0
  %337 = load i8, ptr %336, align 1, !tbaa !11
  %338 = sext i8 %337 to i32
  %339 = icmp eq i32 %338, 13
  br i1 %339, label %352, label %340

340:                                              ; preds = %334
  %341 = load ptr, ptr %24, align 8, !tbaa !5
  %342 = getelementptr inbounds i8, ptr %341, i64 0
  %343 = load i8, ptr %342, align 1, !tbaa !11
  %344 = sext i8 %343 to i32
  %345 = icmp eq i32 %344, 10
  br i1 %345, label %352, label %346

346:                                              ; preds = %340
  %347 = load ptr, ptr %24, align 8, !tbaa !5
  %348 = getelementptr inbounds i8, ptr %347, i64 0
  %349 = load i8, ptr %348, align 1, !tbaa !11
  %350 = sext i8 %349 to i32
  %351 = icmp eq i32 %350, 0
  br label %352

352:                                              ; preds = %346, %340, %334
  %353 = phi i1 [ true, %340 ], [ true, %334 ], [ %351, %346 ]
  %354 = xor i1 %353, true
  br i1 %354, label %355, label %382

355:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #8
  %356 = invoke { i64, i32 } @_ZN7tinyobjL14parseRawTripleEPPKc(ptr noundef %24)
          to label %357 unwind label %373

357:                                              ; preds = %355
  store { i64, i32 } %356, ptr %41, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 8 %41, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #8
  %358 = getelementptr inbounds %"struct.tinyobj::vertex_index_t", ptr %40, i32 0, i32 0
  %359 = load i32, ptr %358, align 4, !tbaa !25
  %360 = getelementptr inbounds %"struct.tinyobj::index_t", ptr %42, i32 0, i32 0
  store i32 %359, ptr %360, align 4, !tbaa !27
  %361 = getelementptr inbounds %"struct.tinyobj::vertex_index_t", ptr %40, i32 0, i32 2
  %362 = load i32, ptr %361, align 4, !tbaa !29
  %363 = getelementptr inbounds %"struct.tinyobj::index_t", ptr %42, i32 0, i32 1
  store i32 %362, ptr %363, align 4, !tbaa !30
  %364 = getelementptr inbounds %"struct.tinyobj::vertex_index_t", ptr %40, i32 0, i32 1
  %365 = load i32, ptr %364, align 4, !tbaa !31
  %366 = getelementptr inbounds %"struct.tinyobj::index_t", ptr %42, i32 0, i32 2
  store i32 %365, ptr %366, align 4, !tbaa !32
  invoke void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(12) %42)
          to label %367 unwind label %377

367:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %368 = load ptr, ptr %24, align 8, !tbaa !5
  %369 = call i64 @strspn(ptr noundef %368, ptr noundef @.str.12) #9
  store i64 %369, ptr %43, align 8, !tbaa !33
  %370 = load i64, ptr %43, align 8, !tbaa !33
  %371 = load ptr, ptr %24, align 8, !tbaa !5
  %372 = getelementptr inbounds i8, ptr %371, i64 %370
  store ptr %372, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #8
  br label %334, !llvm.loop !35

373:                                              ; preds = %355
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %20, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %21, align 4
  br label %381

377:                                              ; preds = %357
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %20, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #8
  br label %381

381:                                              ; preds = %377, %373
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #8
  br label %846

382:                                              ; preds = %352
  %383 = load ptr, ptr %8, align 8, !tbaa !5
  %384 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %383, i32 0, i32 4
  %385 = load ptr, ptr %384, align 8, !tbaa !36
  %386 = icmp ne ptr %385, null
  br i1 %386, label %387, label %404

387:                                              ; preds = %382
  %388 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %389 = icmp ugt i64 %388, 0
  br i1 %389, label %390, label %404

390:                                              ; preds = %387
  %391 = load ptr, ptr %8, align 8, !tbaa !5
  %392 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %391, i32 0, i32 4
  %393 = load ptr, ptr %392, align 8, !tbaa !36
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0)
          to label %396 unwind label %400

396:                                              ; preds = %390
  %397 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %398 = trunc i64 %397 to i32
  invoke void %393(ptr noundef %394, ptr noundef %395, i32 noundef %398)
          to label %399 unwind label %400

399:                                              ; preds = %396
  br label %404

400:                                              ; preds = %776, %772, %766, %747, %396, %390
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %20, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %21, align 4
  br label %846

404:                                              ; preds = %399, %387, %382
  store i32 2, ptr %25, align 4
  br label %843, !llvm.loop !12

405:                                              ; preds = %321, %309
  %406 = load ptr, ptr %24, align 8, !tbaa !5
  %407 = call i32 @strncmp(ptr noundef %406, ptr noundef @.str.56, i64 noundef 6) #9
  %408 = icmp eq i32 0, %407
  br i1 %408, label %409, label %513

409:                                              ; preds = %405
  %410 = load ptr, ptr %24, align 8, !tbaa !5
  %411 = getelementptr inbounds i8, ptr %410, i64 6
  %412 = load i8, ptr %411, align 1, !tbaa !11
  %413 = sext i8 %412 to i32
  %414 = icmp eq i32 %413, 32
  br i1 %414, label %421, label %415

415:                                              ; preds = %409
  %416 = load ptr, ptr %24, align 8, !tbaa !5
  %417 = getelementptr inbounds i8, ptr %416, i64 6
  %418 = load i8, ptr %417, align 1, !tbaa !11
  %419 = sext i8 %418 to i32
  %420 = icmp eq i32 %419, 9
  br i1 %420, label %421, label %513

421:                                              ; preds = %415, %409
  %422 = load ptr, ptr %24, align 8, !tbaa !5
  %423 = getelementptr inbounds i8, ptr %422, i64 7
  store ptr %423, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 392, ptr %44) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %44)
          to label %424 unwind label %440

424:                                              ; preds = %421
  %425 = getelementptr inbounds i8, ptr %44, i64 16
  %426 = load ptr, ptr %24, align 8, !tbaa !5
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %425, ptr noundef %426)
          to label %428 unwind label %444

428:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %45, ptr noundef nonnull align 8 dereferenceable(128) %44)
          to label %429 unwind label %448

429:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store i32 -1, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %430 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %431 unwind label %452

431:                                              ; preds = %429
  %432 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %48, i32 0, i32 0
  store ptr %430, ptr %432, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %433 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  %434 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %50, i32 0, i32 0
  store ptr %433, ptr %434, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  %435 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEESB_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br i1 %435, label %436, label %456

436:                                              ; preds = %431
  %437 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  %438 = getelementptr inbounds %"struct.std::pair.90", ptr %437, i32 0, i32 1
  %439 = load i32, ptr %438, align 8, !tbaa !37
  store i32 %439, ptr %46, align 4, !tbaa !9
  br label %485

440:                                              ; preds = %421
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %20, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %21, align 4
  br label %512

444:                                              ; preds = %424
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %20, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %21, align 4
  br label %511

448:                                              ; preds = %428
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %20, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %21, align 4
  br label %510

452:                                              ; preds = %429
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %20, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %509

456:                                              ; preds = %431
  %457 = load ptr, ptr %11, align 8, !tbaa !5
  %458 = icmp ne ptr %457, null
  br i1 %458, label %459, label %484

459:                                              ; preds = %456
  %460 = load ptr, ptr %8, align 8, !tbaa !5
  %461 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %460, i32 0, i32 5
  %462 = load ptr, ptr %461, align 8, !tbaa !41
  %463 = icmp ne ptr %462, null
  br i1 %463, label %484, label %464

464:                                              ; preds = %459
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #8
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef @.str.68, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %465 unwind label %470

465:                                              ; preds = %464
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef @.str.69)
          to label %466 unwind label %474

466:                                              ; preds = %465
  %467 = load ptr, ptr %11, align 8, !tbaa !5
  %468 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %467, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %469 unwind label %478

469:                                              ; preds = %466
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #8
  br label %484

470:                                              ; preds = %464
  %471 = landingpad { ptr, i32 }
          cleanup
  %472 = extractvalue { ptr, i32 } %471, 0
  store ptr %472, ptr %20, align 8
  %473 = extractvalue { ptr, i32 } %471, 1
  store i32 %473, ptr %21, align 4
  br label %483

474:                                              ; preds = %465
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %20, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %21, align 4
  br label %482

478:                                              ; preds = %466
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %20, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  br label %482

482:                                              ; preds = %478, %474
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  br label %483

483:                                              ; preds = %482, %470
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #8
  br label %509

484:                                              ; preds = %469, %459, %456
  br label %485

485:                                              ; preds = %484, %436
  %486 = load i32, ptr %46, align 4, !tbaa !9
  %487 = load i32, ptr %16, align 4, !tbaa !9
  %488 = icmp ne i32 %486, %487
  br i1 %488, label %489, label %491

489:                                              ; preds = %485
  %490 = load i32, ptr %46, align 4, !tbaa !9
  store i32 %490, ptr %16, align 4, !tbaa !9
  br label %491

491:                                              ; preds = %489, %485
  %492 = load ptr, ptr %8, align 8, !tbaa !5
  %493 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %492, i32 0, i32 5
  %494 = load ptr, ptr %493, align 8, !tbaa !41
  %495 = icmp ne ptr %494, null
  br i1 %495, label %496, label %508

496:                                              ; preds = %491
  %497 = load ptr, ptr %8, align 8, !tbaa !5
  %498 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %497, i32 0, i32 5
  %499 = load ptr, ptr %498, align 8, !tbaa !41
  %500 = load ptr, ptr %9, align 8, !tbaa !5
  %501 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  %502 = load i32, ptr %16, align 4, !tbaa !9
  invoke void %499(ptr noundef %500, ptr noundef %501, i32 noundef %502)
          to label %503 unwind label %504

503:                                              ; preds = %496
  br label %508

504:                                              ; preds = %496
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %20, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %21, align 4
  br label %509

508:                                              ; preds = %503, %491
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %44) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %44) #8
  br label %843

509:                                              ; preds = %504, %483, %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  br label %510

510:                                              ; preds = %509, %448
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %511

511:                                              ; preds = %510, %444
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %44) #8
  br label %512

512:                                              ; preds = %511, %440
  call void @llvm.lifetime.end.p0(i64 392, ptr %44) #8
  br label %846

513:                                              ; preds = %415, %405
  %514 = load ptr, ptr %24, align 8, !tbaa !5
  %515 = call i32 @strncmp(ptr noundef %514, ptr noundef @.str.59, i64 noundef 6) #9
  %516 = icmp eq i32 0, %515
  br i1 %516, label %517, label %677

517:                                              ; preds = %513
  %518 = load ptr, ptr %24, align 8, !tbaa !5
  %519 = getelementptr inbounds i8, ptr %518, i64 6
  %520 = load i8, ptr %519, align 1, !tbaa !11
  %521 = sext i8 %520 to i32
  %522 = icmp eq i32 %521, 32
  br i1 %522, label %529, label %523

523:                                              ; preds = %517
  %524 = load ptr, ptr %24, align 8, !tbaa !5
  %525 = getelementptr inbounds i8, ptr %524, i64 6
  %526 = load i8, ptr %525, align 1, !tbaa !11
  %527 = sext i8 %526 to i32
  %528 = icmp eq i32 %527, 9
  br i1 %528, label %529, label %677

529:                                              ; preds = %523, %517
  %530 = load ptr, ptr %10, align 8, !tbaa !5
  %531 = icmp ne ptr %530, null
  br i1 %531, label %532, label %676

532:                                              ; preds = %529
  %533 = load ptr, ptr %24, align 8, !tbaa !5
  %534 = getelementptr inbounds i8, ptr %533, i64 7
  store ptr %534, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #8
  %535 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %55) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef %535, ptr noundef nonnull align 1 dereferenceable(1) %55)
          to label %536 unwind label %546

536:                                              ; preds = %532
  invoke void @_ZN7tinyobjL11SplitStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEccRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32) %54, i8 noundef signext 32, i8 noundef signext 92, ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %537 unwind label %550

537:                                              ; preds = %536
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  %538 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  br i1 %538, label %539, label %560

539:                                              ; preds = %537
  %540 = load ptr, ptr %11, align 8, !tbaa !5
  %541 = icmp ne ptr %540, null
  br i1 %541, label %542, label %559

542:                                              ; preds = %539
  %543 = load ptr, ptr %11, align 8, !tbaa !5
  %544 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %543, ptr noundef @.str.70)
          to label %545 unwind label %555

545:                                              ; preds = %542
  br label %559

546:                                              ; preds = %532
  %547 = landingpad { ptr, i32 }
          cleanup
  %548 = extractvalue { ptr, i32 } %547, 0
  store ptr %548, ptr %20, align 8
  %549 = extractvalue { ptr, i32 } %547, 1
  store i32 %549, ptr %21, align 4
  br label %554

550:                                              ; preds = %536
  %551 = landingpad { ptr, i32 }
          cleanup
  %552 = extractvalue { ptr, i32 } %551, 0
  store ptr %552, ptr %20, align 8
  %553 = extractvalue { ptr, i32 } %551, 1
  store i32 %553, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  br label %554

554:                                              ; preds = %550, %546
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  br label %675

555:                                              ; preds = %542
  %556 = landingpad { ptr, i32 }
          cleanup
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %20, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %21, align 4
  br label %675

559:                                              ; preds = %545, %539
  br label %674

560:                                              ; preds = %537
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #8
  store i8 0, ptr %56, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  store i64 0, ptr %57, align 8, !tbaa !33
  br label %561

561:                                              ; preds = %635, %560
  %562 = load i64, ptr %57, align 8, !tbaa !33
  %563 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %564 = icmp ult i64 %562, %563
  br i1 %564, label %566, label %565

565:                                              ; preds = %561
  store i32 6, ptr %25, align 4
  br label %639

566:                                              ; preds = %561
  %567 = load i64, ptr %57, align 8, !tbaa !33
  %568 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %567) #8
  %569 = invoke noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(32) %568)
          to label %570 unwind label %573

570:                                              ; preds = %566
  %571 = icmp ugt i64 %569, 0
  br i1 %571, label %572, label %577

572:                                              ; preds = %570
  store i8 1, ptr %56, align 1, !tbaa !19
  br label %635

573:                                              ; preds = %566
  %574 = landingpad { ptr, i32 }
          cleanup
  %575 = extractvalue { ptr, i32 } %574, 0
  store ptr %575, ptr %20, align 8
  %576 = extractvalue { ptr, i32 } %574, 1
  store i32 %576, ptr %21, align 4
  br label %640

577:                                              ; preds = %570
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %59) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #8
  %578 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #8
  %579 = load i64, ptr %57, align 8, !tbaa !33
  %580 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %579) #8
  %581 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %580) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef %581, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %582 unwind label %597

582:                                              ; preds = %577
  %583 = load ptr, ptr %578, align 8, !tbaa !42
  %584 = getelementptr inbounds ptr, ptr %583, i64 2
  %585 = load ptr, ptr %584, align 8
  %586 = invoke noundef zeroext i1 %585(ptr noundef nonnull align 8 dereferenceable(8) %578, ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef %18, ptr noundef %15, ptr noundef %58, ptr noundef %59)
          to label %587 unwind label %601

587:                                              ; preds = %582
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #8
  %588 = zext i1 %586 to i8
  store i8 %588, ptr %60, align 1, !tbaa !19
  %589 = load ptr, ptr %11, align 8, !tbaa !5
  %590 = icmp ne ptr %589, null
  br i1 %590, label %591, label %610

591:                                              ; preds = %587
  %592 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  br i1 %592, label %610, label %593

593:                                              ; preds = %591
  %594 = load ptr, ptr %11, align 8, !tbaa !5
  %595 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %594, ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %596 unwind label %606

596:                                              ; preds = %593
  br label %610

597:                                              ; preds = %577
  %598 = landingpad { ptr, i32 }
          cleanup
  %599 = extractvalue { ptr, i32 } %598, 0
  store ptr %599, ptr %20, align 8
  %600 = extractvalue { ptr, i32 } %598, 1
  store i32 %600, ptr %21, align 4
  br label %605

601:                                              ; preds = %582
  %602 = landingpad { ptr, i32 }
          cleanup
  %603 = extractvalue { ptr, i32 } %602, 0
  store ptr %603, ptr %20, align 8
  %604 = extractvalue { ptr, i32 } %602, 1
  store i32 %604, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #8
  br label %605

605:                                              ; preds = %601, %597
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #8
  br label %638

606:                                              ; preds = %622, %615, %593
  %607 = landingpad { ptr, i32 }
          cleanup
  %608 = extractvalue { ptr, i32 } %607, 0
  store ptr %608, ptr %20, align 8
  %609 = extractvalue { ptr, i32 } %607, 1
  store i32 %609, ptr %21, align 4
  br label %638

610:                                              ; preds = %596, %591, %587
  %611 = load ptr, ptr %12, align 8, !tbaa !5
  %612 = icmp ne ptr %611, null
  br i1 %612, label %613, label %619

613:                                              ; preds = %610
  %614 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  br i1 %614, label %619, label %615

615:                                              ; preds = %613
  %616 = load ptr, ptr %12, align 8, !tbaa !5
  %617 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %616, ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %618 unwind label %606

618:                                              ; preds = %615
  br label %619

619:                                              ; preds = %618, %613, %610
  %620 = load i8, ptr %60, align 1, !tbaa !19, !range !21, !noundef !22
  %621 = trunc i8 %620 to i1
  br i1 %621, label %622, label %631

622:                                              ; preds = %619
  store i8 1, ptr %56, align 1, !tbaa !19
  %623 = load i64, ptr %57, align 8, !tbaa !33
  %624 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %623) #8
  %625 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(32) %624)
          to label %626 unwind label %606

626:                                              ; preds = %622
  %627 = getelementptr inbounds { ptr, i8 }, ptr %63, i32 0, i32 0
  %628 = extractvalue { ptr, i8 } %625, 0
  store ptr %628, ptr %627, align 8
  %629 = getelementptr inbounds { ptr, i8 }, ptr %63, i32 0, i32 1
  %630 = extractvalue { ptr, i8 } %625, 1
  store i8 %630, ptr %629, align 8
  store i32 6, ptr %25, align 4
  br label %632

631:                                              ; preds = %619
  store i32 0, ptr %25, align 4
  br label %632

632:                                              ; preds = %631, %626
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #8
  %633 = load i32, ptr %25, align 4
  switch i32 %633, label %639 [
    i32 0, label %634
  ]

634:                                              ; preds = %632
  br label %635

635:                                              ; preds = %634, %572
  %636 = load i64, ptr %57, align 8, !tbaa !33
  %637 = add i64 %636, 1
  store i64 %637, ptr %57, align 8, !tbaa !33
  br label %561, !llvm.loop !44

638:                                              ; preds = %606, %605
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #8
  br label %640

639:                                              ; preds = %632, %565
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %641

640:                                              ; preds = %638, %573
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %673

641:                                              ; preds = %639
  %642 = load i8, ptr %56, align 1, !tbaa !19, !range !21, !noundef !22
  %643 = trunc i8 %642 to i1
  br i1 %643, label %656, label %644

644:                                              ; preds = %641
  %645 = load ptr, ptr %11, align 8, !tbaa !5
  %646 = icmp ne ptr %645, null
  br i1 %646, label %647, label %655

647:                                              ; preds = %644
  %648 = load ptr, ptr %11, align 8, !tbaa !5
  %649 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %648, ptr noundef @.str.61)
          to label %650 unwind label %651

650:                                              ; preds = %647
  br label %655

651:                                              ; preds = %667, %661, %647
  %652 = landingpad { ptr, i32 }
          cleanup
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %20, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %21, align 4
  br label %673

655:                                              ; preds = %650, %644
  br label %672

656:                                              ; preds = %641
  %657 = load ptr, ptr %8, align 8, !tbaa !5
  %658 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %657, i32 0, i32 6
  %659 = load ptr, ptr %658, align 8, !tbaa !45
  %660 = icmp ne ptr %659, null
  br i1 %660, label %661, label %671

661:                                              ; preds = %656
  %662 = load ptr, ptr %8, align 8, !tbaa !5
  %663 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %662, i32 0, i32 6
  %664 = load ptr, ptr %663, align 8, !tbaa !45
  %665 = load ptr, ptr %9, align 8, !tbaa !5
  %666 = invoke noundef nonnull align 8 dereferenceable(1864) ptr @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0)
          to label %667 unwind label %651

667:                                              ; preds = %661
  %668 = call noundef i64 @_ZNKSt6vectorIN7tinyobj10material_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %669 = trunc i64 %668 to i32
  invoke void %664(ptr noundef %665, ptr noundef %666, i32 noundef %669)
          to label %670 unwind label %651

670:                                              ; preds = %667
  br label %671

671:                                              ; preds = %670, %656
  br label %672

672:                                              ; preds = %671, %655
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  br label %674

673:                                              ; preds = %651, %640
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  br label %675

674:                                              ; preds = %672, %559
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  br label %676

675:                                              ; preds = %673, %555, %554
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  br label %846

676:                                              ; preds = %674, %529
  store i32 2, ptr %25, align 4
  br label %843, !llvm.loop !12

677:                                              ; preds = %523, %513
  %678 = load ptr, ptr %24, align 8, !tbaa !5
  %679 = getelementptr inbounds i8, ptr %678, i64 0
  %680 = load i8, ptr %679, align 1, !tbaa !11
  %681 = sext i8 %680 to i32
  %682 = icmp eq i32 %681, 103
  br i1 %682, label %683, label %784

683:                                              ; preds = %677
  %684 = load ptr, ptr %24, align 8, !tbaa !5
  %685 = getelementptr inbounds i8, ptr %684, i64 1
  %686 = load i8, ptr %685, align 1, !tbaa !11
  %687 = sext i8 %686 to i32
  %688 = icmp eq i32 %687, 32
  br i1 %688, label %695, label %689

689:                                              ; preds = %683
  %690 = load ptr, ptr %24, align 8, !tbaa !5
  %691 = getelementptr inbounds i8, ptr %690, i64 1
  %692 = load i8, ptr %691, align 1, !tbaa !11
  %693 = sext i8 %692 to i32
  %694 = icmp eq i32 %693, 9
  br i1 %694, label %695, label %784

695:                                              ; preds = %689, %683
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %696

696:                                              ; preds = %719, %695
  %697 = load ptr, ptr %24, align 8, !tbaa !5
  %698 = getelementptr inbounds i8, ptr %697, i64 0
  %699 = load i8, ptr %698, align 1, !tbaa !11
  %700 = sext i8 %699 to i32
  %701 = icmp eq i32 %700, 13
  br i1 %701, label %714, label %702

702:                                              ; preds = %696
  %703 = load ptr, ptr %24, align 8, !tbaa !5
  %704 = getelementptr inbounds i8, ptr %703, i64 0
  %705 = load i8, ptr %704, align 1, !tbaa !11
  %706 = sext i8 %705 to i32
  %707 = icmp eq i32 %706, 10
  br i1 %707, label %714, label %708

708:                                              ; preds = %702
  %709 = load ptr, ptr %24, align 8, !tbaa !5
  %710 = getelementptr inbounds i8, ptr %709, i64 0
  %711 = load i8, ptr %710, align 1, !tbaa !11
  %712 = sext i8 %711 to i32
  %713 = icmp eq i32 %712, 0
  br label %714

714:                                              ; preds = %708, %702, %696
  %715 = phi i1 [ true, %702 ], [ true, %696 ], [ %713, %708 ]
  %716 = xor i1 %715, true
  br i1 %716, label %717, label %733

717:                                              ; preds = %714
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #8
  invoke void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %64, ptr noundef %24)
          to label %718 unwind label %724

718:                                              ; preds = %717
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %719 unwind label %728

719:                                              ; preds = %718
  %720 = load ptr, ptr %24, align 8, !tbaa !5
  %721 = call i64 @strspn(ptr noundef %720, ptr noundef @.str.12) #9
  %722 = load ptr, ptr %24, align 8, !tbaa !5
  %723 = getelementptr inbounds i8, ptr %722, i64 %721
  store ptr %723, ptr %24, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #8
  br label %696, !llvm.loop !46

724:                                              ; preds = %717
  %725 = landingpad { ptr, i32 }
          cleanup
  %726 = extractvalue { ptr, i32 } %725, 0
  store ptr %726, ptr %20, align 8
  %727 = extractvalue { ptr, i32 } %725, 1
  store i32 %727, ptr %21, align 4
  br label %732

728:                                              ; preds = %718
  %729 = landingpad { ptr, i32 }
          cleanup
  %730 = extractvalue { ptr, i32 } %729, 0
  store ptr %730, ptr %20, align 8
  %731 = extractvalue { ptr, i32 } %729, 1
  store i32 %731, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #8
  br label %732

732:                                              ; preds = %728, %724
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #8
  br label %846

733:                                              ; preds = %714
  %734 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %735 = icmp ugt i64 %734, 0
  br i1 %735, label %736, label %737

736:                                              ; preds = %733
  br label %739

737:                                              ; preds = %733
  call void @__assert_fail(ptr noundef @.str.71, ptr noundef @.str.16, i32 noundef 3369, ptr noundef @__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_) #10
  unreachable

738:                                              ; No predecessors!
  br label %739

739:                                              ; preds = %738, %736
  %740 = load ptr, ptr %8, align 8, !tbaa !5
  %741 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %740, i32 0, i32 7
  %742 = load ptr, ptr %741, align 8, !tbaa !47
  %743 = icmp ne ptr %742, null
  br i1 %743, label %744, label %783

744:                                              ; preds = %739
  %745 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %746 = icmp ugt i64 %745, 1
  br i1 %746, label %747, label %776

747:                                              ; preds = %744
  %748 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %749 = sub i64 %748, 1
  invoke void @_ZNSt6vectorIPKcSaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %749)
          to label %750 unwind label %400

750:                                              ; preds = %747
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #8
  store i64 0, ptr %65, align 8, !tbaa !33
  br label %751

751:                                              ; preds = %763, %750
  %752 = load i64, ptr %65, align 8, !tbaa !33
  %753 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %754 = icmp ult i64 %752, %753
  br i1 %754, label %756, label %755

755:                                              ; preds = %751
  store i32 11, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  br label %766

756:                                              ; preds = %751
  %757 = load i64, ptr %65, align 8, !tbaa !33
  %758 = add i64 %757, 1
  %759 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %758) #8
  %760 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %759) #8
  %761 = load i64, ptr %65, align 8, !tbaa !33
  %762 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %761) #8
  store ptr %760, ptr %762, align 8, !tbaa !5
  br label %763

763:                                              ; preds = %756
  %764 = load i64, ptr %65, align 8, !tbaa !33
  %765 = add i64 %764, 1
  store i64 %765, ptr %65, align 8, !tbaa !33
  br label %751, !llvm.loop !48

766:                                              ; preds = %755
  %767 = load ptr, ptr %8, align 8, !tbaa !5
  %768 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %767, i32 0, i32 7
  %769 = load ptr, ptr %768, align 8, !tbaa !47
  %770 = load ptr, ptr %9, align 8, !tbaa !5
  %771 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0)
          to label %772 unwind label %400

772:                                              ; preds = %766
  %773 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  %774 = trunc i64 %773 to i32
  invoke void %769(ptr noundef %770, ptr noundef %771, i32 noundef %774)
          to label %775 unwind label %400

775:                                              ; preds = %772
  br label %782

776:                                              ; preds = %744
  %777 = load ptr, ptr %8, align 8, !tbaa !5
  %778 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %777, i32 0, i32 7
  %779 = load ptr, ptr %778, align 8, !tbaa !47
  %780 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void %779(ptr noundef %780, ptr noundef null, i32 noundef 0)
          to label %781 unwind label %400

781:                                              ; preds = %776
  br label %782

782:                                              ; preds = %781, %775
  br label %783

783:                                              ; preds = %782, %739
  store i32 2, ptr %25, align 4
  br label %843, !llvm.loop !12

784:                                              ; preds = %689, %677
  %785 = load ptr, ptr %24, align 8, !tbaa !5
  %786 = getelementptr inbounds i8, ptr %785, i64 0
  %787 = load i8, ptr %786, align 1, !tbaa !11
  %788 = sext i8 %787 to i32
  %789 = icmp eq i32 %788, 111
  br i1 %789, label %790, label %842

790:                                              ; preds = %784
  %791 = load ptr, ptr %24, align 8, !tbaa !5
  %792 = getelementptr inbounds i8, ptr %791, i64 1
  %793 = load i8, ptr %792, align 1, !tbaa !11
  %794 = sext i8 %793 to i32
  %795 = icmp eq i32 %794, 32
  br i1 %795, label %802, label %796

796:                                              ; preds = %790
  %797 = load ptr, ptr %24, align 8, !tbaa !5
  %798 = getelementptr inbounds i8, ptr %797, i64 1
  %799 = load i8, ptr %798, align 1, !tbaa !11
  %800 = sext i8 %799 to i32
  %801 = icmp eq i32 %800, 9
  br i1 %801, label %802, label %842

802:                                              ; preds = %796, %790
  %803 = load ptr, ptr %24, align 8, !tbaa !5
  %804 = getelementptr inbounds i8, ptr %803, i64 2
  store ptr %804, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 392, ptr %66) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %66)
          to label %805 unwind label %822

805:                                              ; preds = %802
  %806 = getelementptr inbounds i8, ptr %66, i64 16
  %807 = load ptr, ptr %24, align 8, !tbaa !5
  %808 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %806, ptr noundef %807)
          to label %809 unwind label %826

809:                                              ; preds = %805
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %67, ptr noundef nonnull align 8 dereferenceable(128) %66)
          to label %810 unwind label %830

810:                                              ; preds = %809
  %811 = load ptr, ptr %8, align 8, !tbaa !5
  %812 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %811, i32 0, i32 8
  %813 = load ptr, ptr %812, align 8, !tbaa !49
  %814 = icmp ne ptr %813, null
  br i1 %814, label %815, label %838

815:                                              ; preds = %810
  %816 = load ptr, ptr %8, align 8, !tbaa !5
  %817 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %816, i32 0, i32 8
  %818 = load ptr, ptr %817, align 8, !tbaa !49
  %819 = load ptr, ptr %9, align 8, !tbaa !5
  %820 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  invoke void %818(ptr noundef %819, ptr noundef %820)
          to label %821 unwind label %834

821:                                              ; preds = %815
  br label %838

822:                                              ; preds = %802
  %823 = landingpad { ptr, i32 }
          cleanup
  %824 = extractvalue { ptr, i32 } %823, 0
  store ptr %824, ptr %20, align 8
  %825 = extractvalue { ptr, i32 } %823, 1
  store i32 %825, ptr %21, align 4
  br label %841

826:                                              ; preds = %805
  %827 = landingpad { ptr, i32 }
          cleanup
  %828 = extractvalue { ptr, i32 } %827, 0
  store ptr %828, ptr %20, align 8
  %829 = extractvalue { ptr, i32 } %827, 1
  store i32 %829, ptr %21, align 4
  br label %840

830:                                              ; preds = %809
  %831 = landingpad { ptr, i32 }
          cleanup
  %832 = extractvalue { ptr, i32 } %831, 0
  store ptr %832, ptr %20, align 8
  %833 = extractvalue { ptr, i32 } %831, 1
  store i32 %833, ptr %21, align 4
  br label %839

834:                                              ; preds = %815
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %20, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  br label %839

838:                                              ; preds = %821, %810
  store i32 2, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %66) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %66) #8
  br label %843

839:                                              ; preds = %834, %830
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #8
  br label %840

840:                                              ; preds = %839, %826
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %66) #8
  br label %841

841:                                              ; preds = %840, %822
  call void @llvm.lifetime.end.p0(i64 392, ptr %66) #8
  br label %846

842:                                              ; preds = %796, %784
  store i32 0, ptr %25, align 4
  br label %843

843:                                              ; preds = %842, %838, %783, %676, %508, %404, %308, %262, %215, %147, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  %844 = load i32, ptr %25, align 4
  switch i32 %844, label %872 [
    i32 0, label %845
    i32 2, label %70
  ]

845:                                              ; preds = %843
  br label %70, !llvm.loop !12

846:                                              ; preds = %841, %732, %675, %512, %400, %381, %304, %258, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %865

847:                                              ; preds = %73
  %848 = load ptr, ptr %12, align 8, !tbaa !5
  %849 = icmp ne ptr %848, null
  br i1 %849, label %850, label %864

850:                                              ; preds = %847
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %68, ptr noundef nonnull align 8 dereferenceable(128) %13)
          to label %851 unwind label %855

851:                                              ; preds = %850
  %852 = load ptr, ptr %12, align 8, !tbaa !5
  %853 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %852, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %854 unwind label %859

854:                                              ; preds = %851
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #8
  br label %864

855:                                              ; preds = %850
  %856 = landingpad { ptr, i32 }
          cleanup
  %857 = extractvalue { ptr, i32 } %856, 0
  store ptr %857, ptr %20, align 8
  %858 = extractvalue { ptr, i32 } %856, 1
  store i32 %858, ptr %21, align 4
  br label %863

859:                                              ; preds = %851
  %860 = landingpad { ptr, i32 }
          cleanup
  %861 = extractvalue { ptr, i32 } %860, 0
  store ptr %861, ptr %20, align 8
  %862 = extractvalue { ptr, i32 } %860, 1
  store i32 %862, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  br label %863

863:                                              ; preds = %859, %855
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #8
  br label %865

864:                                              ; preds = %854, %847
  store i32 1, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #8
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %13) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %13) #8
  ret i1 true

865:                                              ; preds = %863, %846, %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #8
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #8
  br label %866

866:                                              ; preds = %865, %94
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #8
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #8
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %13) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %13) #8
  br label %867

867:                                              ; preds = %866
  %868 = load ptr, ptr %20, align 8
  %869 = load i32, ptr %21, align 4
  %870 = insertvalue { ptr, i32 } poison, ptr %868, 0
  %871 = insertvalue { ptr, i32 } %870, i32 %869, 1
  resume { ptr, i32 } %871

872:                                              ; preds = %843
  unreachable
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden { i64, i32 } @_ZN7tinyobjL14parseRawTripleEPPKc(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(1864) ptr @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = { 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 #5 = { "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 = { noreturn 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { noreturn 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTSN7tinyobj10callback_tE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!15, !6, i64 8}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!15, !6, i64 16}
!24 = !{!15, !6, i64 24}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTSN7tinyobj14vertex_index_tE", !10, i64 0, !10, i64 4, !10, i64 8}
!27 = !{!28, !10, i64 0}
!28 = !{!"_ZTSN7tinyobj7index_tE", !10, i64 0, !10, i64 4, !10, i64 8}
!29 = !{!26, !10, i64 8}
!30 = !{!28, !10, i64 4}
!31 = !{!26, !10, i64 4}
!32 = !{!28, !10, i64 8}
!33 = !{!34, !34, i64 0}
!34 = !{!"long", !7, i64 0}
!35 = distinct !{!35, !13}
!36 = !{!15, !6, i64 32}
!37 = !{!38, !10, i64 32}
!38 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiE", !39, i64 0, !10, i64 32}
!39 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !40, i64 0, !34, i64 8, !7, i64 16}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!41 = !{!15, !6, i64 40}
!42 = !{!43, !43, i64 0}
!43 = !{!"vtable pointer", !8, i64 0}
!44 = distinct !{!44, !13}
!45 = !{!15, !6, i64 48}
!46 = distinct !{!46, !13}
!47 = !{!15, !6, i64 56}
!48 = distinct !{!48, !13}
!49 = !{!15, !6, i64 64}


; 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.std::set" = type { %"class.std::_Rb_tree.61" }
%"class.std::_Rb_tree.61" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, 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 }
%"class.std::map.3" = type { %"class.std::_Rb_tree.4" }
%"class.std::_Rb_tree.4" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, 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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl" }
%"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tinyobj::index_t, std::allocator<tinyobj::index_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl" }
%"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tinyobj::material_t, std::allocator<tinyobj::material_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tinyobj::index_t" = type { i32, i32, i32 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [56 x i8], align 1
@__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_ = external hidden unnamed_addr constant [126 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #4 align 2

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

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

declare noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(16) ptr @_ZN7tinyobjL11safeGetlineERSiRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #4 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 #1 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

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

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

; 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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN7tinyobjL20parseVertexWithColorEPfS0_S0_S0_S0_S0_PPKcddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7tinyobjL11SplitStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEccRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i8 noundef signext, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(72) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %8 = alloca %"class.std::set", align 8
  %9 = alloca %"class.std::map.3", align 8
  %10 = alloca %"class.std::vector.65", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector.20", align 8
  %13 = alloca %"class.std::vector.97", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca %"struct.tinyobj::index_t", align 4
  %29 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %33 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::vector.20", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator", align 1
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 2)
          to label %48 unwind label %77

48:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %49 = getelementptr inbounds i8, ptr %28, i64 4
  %50 = getelementptr inbounds i8, ptr %28, i64 8
  %51 = getelementptr inbounds i8, ptr %1, i64 32
  %52 = getelementptr inbounds i8, ptr %1, i64 8
  %53 = getelementptr inbounds i8, ptr %1, i64 16
  %54 = getelementptr inbounds i8, ptr %1, i64 24
  %55 = getelementptr inbounds i8, ptr %29, i64 16
  %.not159 = icmp ne ptr %4, null
  %56 = getelementptr inbounds i8, ptr %1, i64 40
  %.not141 = icmp eq ptr %3, null
  %.not147 = icmp eq ptr %4, null
  %.not148 = icmp eq ptr %5, null
  %57 = getelementptr inbounds i8, ptr %1, i64 48
  %58 = getelementptr inbounds i8, ptr %45, i64 16
  %59 = getelementptr inbounds i8, ptr %1, i64 64
  %60 = getelementptr inbounds i8, ptr %1, i64 56
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %48
  %61 = invoke noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %62 unwind label %79

62:                                               ; preds = %.outer
  %.not = icmp eq i32 %61, -1
  br i1 %.not, label %392, label %63

63:                                               ; preds = %62
  %64 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7tinyobjL11safeGetlineERSiRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %65 unwind label %79

65:                                               ; preds = %63
  %66 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %.not129 = icmp eq i64 %66, 0
  br i1 %.not129, label %81, label %67

67:                                               ; preds = %65
  %68 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %69 = add i64 %68, -1
  %70 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %69)
  %71 = load i8, ptr %70, align 1, !tbaa !5
  %72 = icmp eq i8 %71, 10
  br i1 %72, label %73, label %81

73:                                               ; preds = %67
  %74 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %75 = add i64 %74, -1
  %76 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %75, i64 noundef -1)
          to label %81 unwind label %79

77:                                               ; preds = %6
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %404

79:                                               ; preds = %89, %73, %63, %.outer
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %403

81:                                               ; preds = %67, %73, %65
  %82 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %.not130 = icmp eq i64 %82, 0
  br i1 %.not130, label %93, label %83

83:                                               ; preds = %81
  %84 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %85 = add i64 %84, -1
  %86 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %85)
  %87 = load i8, ptr %86, align 1, !tbaa !5
  %88 = icmp eq i8 %87, 13
  br i1 %88, label %89, label %93

89:                                               ; preds = %83
  %90 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  %91 = add i64 %90, -1
  %92 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef %91, i64 noundef -1)
          to label %93 unwind label %79

93:                                               ; preds = %83, %89, %81
  %94 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br i1 %94, label %.outer.backedge, label %95

.outer.backedge:                                  ; preds = %93, %.thread190
  br label %.outer, !llvm.loop !8

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %96 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  store ptr %96, ptr %15, align 8, !tbaa !10
  %97 = call i64 @strspn(ptr noundef %96, ptr noundef nonnull @.str) #8
  %98 = getelementptr inbounds i8, ptr %96, i64 %97
  store ptr %98, ptr %15, align 8, !tbaa !10
  %.not131 = icmp eq ptr %96, null
  br i1 %.not131, label %99, label %100

99:                                               ; preds = %95
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, i32 noundef 3198, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_) #9
  unreachable

100:                                              ; preds = %95
  %101 = load i8, ptr %98, align 1, !tbaa !5
  switch i8 %101, label %.thread189 [
    i8 0, label %.thread190
    i8 35, label %.thread190
    i8 118, label %102
    i8 102, label %159
  ]

102:                                              ; preds = %100
  %103 = getelementptr inbounds i8, ptr %98, i64 1
  %104 = load i8, ptr %103, align 1, !tbaa !5
  switch i8 %104, label %.thread189 [
    i8 32, label %105
    i8 9, label %105
    i8 110, label %131
    i8 116, label %145
  ]

105:                                              ; preds = %102, %102
  %106 = getelementptr inbounds i8, ptr %98, i64 2
  store ptr %106, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  %107 = invoke noundef i32 @_ZN7tinyobjL20parseVertexWithColorEPfS0_S0_S0_S0_S0_PPKcddd(ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %15, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %108 unwind label %115

108:                                              ; preds = %105
  %109 = load ptr, ptr %1, align 8, !tbaa !12
  %.not177 = icmp eq ptr %109, null
  br i1 %.not177, label %117, label %110

110:                                              ; preds = %108
  %111 = load float, ptr %16, align 4, !tbaa !14
  %112 = load float, ptr %17, align 4, !tbaa !14
  %113 = load float, ptr %18, align 4, !tbaa !14
  %114 = load float, ptr %19, align 4, !tbaa !14
  invoke void %109(ptr noundef %2, float noundef %111, float noundef %112, float noundef %113, float noundef %114)
          to label %117 unwind label %115

115:                                              ; preds = %110, %105
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %130

117:                                              ; preds = %110, %108
  %118 = load ptr, ptr %52, align 8, !tbaa !16
  %.not178 = icmp eq ptr %118, null
  br i1 %.not178, label %129, label %119

119:                                              ; preds = %117
  %120 = icmp eq i32 %107, 6
  %121 = load float, ptr %16, align 4, !tbaa !14
  %122 = load float, ptr %17, align 4, !tbaa !14
  %123 = load float, ptr %18, align 4, !tbaa !14
  %124 = load float, ptr %19, align 4, !tbaa !14
  %125 = load float, ptr %20, align 4, !tbaa !14
  %126 = load float, ptr %21, align 4, !tbaa !14
  invoke void %118(ptr noundef %2, float noundef %121, float noundef %122, float noundef %123, float noundef %124, float noundef %125, float noundef %126, i1 noundef zeroext %120)
          to label %129 unwind label %127

127:                                              ; preds = %119
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %130

129:                                              ; preds = %119, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %.thread190

130:                                              ; preds = %127, %115
  %.pn179 = phi { ptr, i32 } [ %128, %127 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %391

131:                                              ; preds = %102
  %132 = getelementptr inbounds i8, ptr %98, i64 2
  %133 = load i8, ptr %132, align 1, !tbaa !5
  switch i8 %133, label %.thread189 [
    i8 32, label %134
    i8 9, label %134
  ]

134:                                              ; preds = %131, %131
  %135 = getelementptr inbounds i8, ptr %98, i64 3
  store ptr %135, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #7
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %15, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %136 unwind label %142

136:                                              ; preds = %134
  %137 = load ptr, ptr %53, align 8, !tbaa !17
  %.not176 = icmp eq ptr %137, null
  br i1 %.not176, label %144, label %138

138:                                              ; preds = %136
  %139 = load float, ptr %22, align 4, !tbaa !14
  %140 = load float, ptr %23, align 4, !tbaa !14
  %141 = load float, ptr %24, align 4, !tbaa !14
  invoke void %137(ptr noundef %2, float noundef %139, float noundef %140, float noundef %141)
          to label %144 unwind label %142

142:                                              ; preds = %138, %134
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  br label %391

144:                                              ; preds = %138, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  br label %.thread190

145:                                              ; preds = %102
  %146 = getelementptr inbounds i8, ptr %98, i64 2
  %147 = load i8, ptr %146, align 1, !tbaa !5
  switch i8 %147, label %.thread189 [
    i8 32, label %148
    i8 9, label %148
  ]

148:                                              ; preds = %145, %145
  %149 = getelementptr inbounds i8, ptr %98, i64 3
  store ptr %149, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #7
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %27, ptr noundef nonnull %15, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %150 unwind label %156

150:                                              ; preds = %148
  %151 = load ptr, ptr %54, align 8, !tbaa !18
  %.not175 = icmp eq ptr %151, null
  br i1 %.not175, label %158, label %152

152:                                              ; preds = %150
  %153 = load float, ptr %25, align 4, !tbaa !14
  %154 = load float, ptr %26, align 4, !tbaa !14
  %155 = load float, ptr %27, align 4, !tbaa !14
  invoke void %151(ptr noundef %2, float noundef %153, float noundef %154, float noundef %155)
          to label %158 unwind label %156

156:                                              ; preds = %152, %148
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  br label %391

158:                                              ; preds = %152, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  br label %.thread190

159:                                              ; preds = %100
  %160 = getelementptr inbounds i8, ptr %98, i64 1
  %161 = load i8, ptr %160, align 1, !tbaa !5
  switch i8 %161, label %.thread189 [
    i8 32, label %162
    i8 9, label %162
  ]

162:                                              ; preds = %159, %159
  %163 = getelementptr inbounds i8, ptr %98, i64 2
  store ptr %163, ptr %15, align 8, !tbaa !10
  %164 = call i64 @strspn(ptr noundef nonnull %163, ptr noundef nonnull @.str) #8
  %165 = getelementptr inbounds i8, ptr %163, i64 %164
  store ptr %165, ptr %15, align 8, !tbaa !10
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %.pre = load ptr, ptr %15, align 8, !tbaa !10
  br label %166

166:                                              ; preds = %172, %162
  %167 = phi ptr [ %175, %172 ], [ %.pre, %162 ]
  %168 = load i8, ptr %167, align 1, !tbaa !5
  switch i8 %168, label %169 [
    i8 13, label %.critedge
    i8 10, label %.critedge
    i8 0, label %.critedge
  ]

169:                                              ; preds = %166
  %170 = invoke { i64, i32 } @_ZN7tinyobjL14parseRawTripleEPPKc(ptr noundef nonnull %15)
          to label %171 unwind label %176

171:                                              ; preds = %169
  %.fca.0.extract = extractvalue { i64, i32 } %170, 0
  %.fca.1.extract = extractvalue { i64, i32 } %170, 1
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #7
  %.sroa.015.0.extract.trunc = trunc i64 %.fca.0.extract to i32
  store i32 %.sroa.015.0.extract.trunc, ptr %28, align 4, !tbaa !19
  store i32 %.fca.1.extract, ptr %49, align 4, !tbaa !22
  %.sroa.015.4.extract.shift = lshr i64 %.fca.0.extract, 32
  %.sroa.015.4.extract.trunc = trunc nuw i64 %.sroa.015.4.extract.shift to i32
  store i32 %.sroa.015.4.extract.trunc, ptr %50, align 4, !tbaa !23
  invoke void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(12) %28)
          to label %172 unwind label %178

172:                                              ; preds = %171
  %173 = load ptr, ptr %15, align 8, !tbaa !10
  %174 = call i64 @strspn(ptr noundef %173, ptr noundef nonnull @.str.12) #8
  %175 = getelementptr inbounds i8, ptr %173, i64 %174
  store ptr %175, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #7
  br label %166, !llvm.loop !24

176:                                              ; preds = %169
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %391

178:                                              ; preds = %171
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #7
  br label %391

.critedge:                                        ; preds = %166, %166, %166
  %180 = load ptr, ptr %51, align 8, !tbaa !25
  %.not171 = icmp eq ptr %180, null
  br i1 %.not171, label %.thread190, label %181, !llvm.loop !8

181:                                              ; preds = %.critedge
  %182 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %.not172 = icmp eq i64 %182, 0
  br i1 %.not172, label %.thread190, label %183, !llvm.loop !8

183:                                              ; preds = %181
  %184 = load ptr, ptr %51, align 8, !tbaa !25
  %185 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0)
          to label %186 unwind label %188

186:                                              ; preds = %183
  %187 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %.invoke

188:                                              ; preds = %.invoke, %364, %._crit_edge198, %347, %183
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %391

.thread189:                                       ; preds = %102, %131, %100, %145, %159
  %190 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %98, ptr noundef nonnull dereferenceable(1) @.str.56, i64 noundef 6) #8
  %191 = icmp eq i32 %190, 0
  br i1 %191, label %192, label %244

192:                                              ; preds = %.thread189
  %193 = getelementptr inbounds i8, ptr %98, i64 6
  %194 = load i8, ptr %193, align 1, !tbaa !5
  switch i8 %194, label %244 [
    i8 32, label %195
    i8 9, label %195
  ]

195:                                              ; preds = %192, %192
  %196 = getelementptr inbounds i8, ptr %98, i64 7
  store ptr %196, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %29) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29)
          to label %197 unwind label %210

197:                                              ; preds = %195
  %198 = load ptr, ptr %15, align 8, !tbaa !10
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef %198)
          to label %200 unwind label %212

200:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef nonnull align 8 dereferenceable(128) %29)
          to label %201 unwind label %214

201:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #7
  %202 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %203 unwind label %216

203:                                              ; preds = %201
  store ptr %202, ptr %32, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  %204 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  store ptr %204, ptr %34, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  %205 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEESB_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  br i1 %205, label %206, label %218

206:                                              ; preds = %203
  %207 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %208 = getelementptr inbounds i8, ptr %207, i64 32
  %209 = load i32, ptr %208, align 8, !tbaa !26
  br label %thread-pre-split

210:                                              ; preds = %195
  %211 = landingpad { ptr, i32 }
          cleanup
  br label %243

212:                                              ; preds = %197
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %242

214:                                              ; preds = %200
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %241

216:                                              ; preds = %201
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  br label %240

218:                                              ; preds = %203
  %219 = load ptr, ptr %56, align 8
  %.not160 = icmp eq ptr %219, null
  %or.cond = select i1 %.not159, i1 %.not160, i1 false
  br i1 %or.cond, label %220, label %233

220:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #7
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull @.str.68, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %221 unwind label %225

221:                                              ; preds = %220
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull @.str.69)
          to label %222 unwind label %227

222:                                              ; preds = %221
  %223 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %224 unwind label %229

224:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  br label %thread-pre-split

225:                                              ; preds = %220
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %232

227:                                              ; preds = %221
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %231

229:                                              ; preds = %222
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %231

231:                                              ; preds = %229, %227
  %.pn161 = phi { ptr, i32 } [ %230, %229 ], [ %228, %227 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  br label %232

232:                                              ; preds = %231, %225
  %.pn161.pn = phi { ptr, i32 } [ %.pn161, %231 ], [ %226, %225 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  br label %240

thread-pre-split:                                 ; preds = %206, %224
  %.099.ph = phi i32 [ -1, %224 ], [ %209, %206 ]
  %.pr = load ptr, ptr %56, align 8, !tbaa !31
  br label %233

233:                                              ; preds = %thread-pre-split, %218
  %234 = phi ptr [ %.pr, %thread-pre-split ], [ %219, %218 ]
  %.099 = phi i32 [ %.099.ph, %thread-pre-split ], [ -1, %218 ]
  %.not165 = icmp eq ptr %234, null
  br i1 %.not165, label %239, label %235

235:                                              ; preds = %233
  %236 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  invoke void %234(ptr noundef %2, ptr noundef %236, i32 noundef %.099)
          to label %239 unwind label %237

237:                                              ; preds = %235
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %240

239:                                              ; preds = %235, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %29) #7
  br label %.thread190

240:                                              ; preds = %237, %232, %216
  %.pn166 = phi { ptr, i32 } [ %238, %237 ], [ %.pn161.pn, %232 ], [ %217, %216 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %241

241:                                              ; preds = %240, %214
  %.pn166.pn = phi { ptr, i32 } [ %.pn166, %240 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #7
  br label %242

242:                                              ; preds = %241, %212
  %.pn166.pn.pn = phi { ptr, i32 } [ %.pn166.pn, %241 ], [ %213, %212 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %29) #7
  br label %243

243:                                              ; preds = %242, %210
  %.pn166.pn.pn.pn = phi { ptr, i32 } [ %.pn166.pn.pn, %242 ], [ %211, %210 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %29) #7
  br label %391

244:                                              ; preds = %192, %.thread189
  %245 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %98, ptr noundef nonnull dereferenceable(1) @.str.59, i64 noundef 6) #8
  %246 = icmp eq i32 %245, 0
  br i1 %246, label %247, label %321

247:                                              ; preds = %244
  %248 = getelementptr inbounds i8, ptr %98, i64 6
  %249 = load i8, ptr %248, align 1, !tbaa !5
  switch i8 %249, label %321 [
    i8 32, label %250
    i8 9, label %250
  ]

250:                                              ; preds = %247, %247
  br i1 %.not141, label %.thread190, label %251, !llvm.loop !8

251:                                              ; preds = %250
  %252 = getelementptr inbounds i8, ptr %98, i64 7
  store ptr %252, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #7
  %253 = load ptr, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef %253, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %254 unwind label %261

254:                                              ; preds = %251
  invoke void @_ZN7tinyobjL11SplitStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEccRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32) %38, i8 noundef signext 32, i8 noundef signext 92, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %255 unwind label %263

255:                                              ; preds = %254
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #7
  %256 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  br i1 %256, label %258, label %.preheader191

.preheader191:                                    ; preds = %255
  %257 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %.not200 = icmp eq i64 %257, 0
  br i1 %.not200, label %.critedge199, label %.lr.ph

258:                                              ; preds = %255
  br i1 %.not147, label %319, label %259

259:                                              ; preds = %258
  %260 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.70)
          to label %319 unwind label %266

261:                                              ; preds = %251
  %262 = landingpad { ptr, i32 }
          cleanup
  br label %265

263:                                              ; preds = %254
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br label %265

265:                                              ; preds = %263, %261
  %.pn142 = phi { ptr, i32 } [ %264, %263 ], [ %262, %261 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #7
  br label %320

266:                                              ; preds = %259
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %320

.lr.ph:                                           ; preds = %.preheader191, %303
  %.094193 = phi i64 [ %304, %303 ], [ 0, %.preheader191 ]
  %.095192 = phi i1 [ %.297, %303 ], [ false, %.preheader191 ]
  %268 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %.094193) #7
  %269 = invoke noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5countERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(32) %268)
          to label %270 unwind label %271

270:                                              ; preds = %.lr.ph
  %.not144 = icmp eq i64 %269, 0
  br i1 %.not144, label %273, label %303

271:                                              ; preds = %.lr.ph
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %320

273:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %41) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #7
  %274 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %.094193) #7
  %275 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %274) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %43) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef %275, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %276 unwind label %286

276:                                              ; preds = %273
  %277 = load ptr, ptr %3, align 8, !tbaa !32
  %278 = getelementptr inbounds i8, ptr %277, i64 16
  %279 = load ptr, ptr %278, align 8
  %280 = invoke noundef zeroext i1 %279(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull %11, ptr noundef nonnull %9, ptr noundef nonnull %40, ptr noundef nonnull %41)
          to label %281 unwind label %288

281:                                              ; preds = %276
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #7
  br i1 %.not147, label %293, label %282

282:                                              ; preds = %281
  %283 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  br i1 %283, label %293, label %284

284:                                              ; preds = %282
  %285 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %293 unwind label %291

286:                                              ; preds = %273
  %287 = landingpad { ptr, i32 }
          cleanup
  br label %290

288:                                              ; preds = %276
  %289 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  br label %290

290:                                              ; preds = %288, %286
  %.pn145 = phi { ptr, i32 } [ %289, %288 ], [ %287, %286 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #7
  br label %307

291:                                              ; preds = %299, %296, %284
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %307

293:                                              ; preds = %284, %282, %281
  br i1 %.not148, label %298, label %294

294:                                              ; preds = %293
  %295 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  br i1 %295, label %298, label %296

296:                                              ; preds = %294
  %297 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %298 unwind label %291

298:                                              ; preds = %296, %294, %293
  br i1 %280, label %299, label %302

299:                                              ; preds = %298
  %300 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %.094193) #7
  %301 = invoke { ptr, i8 } @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE6insertERKS5_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(32) %300)
          to label %302 unwind label %291

302:                                              ; preds = %298, %299
  %.196 = phi i1 [ true, %299 ], [ %.095192, %298 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #7
  br i1 %280, label %._crit_edge, label %303

303:                                              ; preds = %270, %302
  %.297 = phi i1 [ %.196, %302 ], [ true, %270 ]
  %304 = add nuw i64 %.094193, 1
  %305 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %306 = icmp ult i64 %304, %305
  br i1 %306, label %.lr.ph, label %._crit_edge, !llvm.loop !34

307:                                              ; preds = %291, %290
  %.pn149 = phi { ptr, i32 } [ %292, %291 ], [ %.pn145, %290 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #7
  br label %320

._crit_edge:                                      ; preds = %302, %303
  %.398 = phi i1 [ %.297, %303 ], [ %.196, %302 ]
  br i1 %.398, label %312, label %.critedge199

.critedge199:                                     ; preds = %.preheader191, %._crit_edge
  br i1 %.not147, label %319, label %308

308:                                              ; preds = %.critedge199
  %309 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.61)
          to label %319 unwind label %310

310:                                              ; preds = %316, %314, %308
  %311 = landingpad { ptr, i32 }
          cleanup
  br label %320

312:                                              ; preds = %._crit_edge
  %313 = load ptr, ptr %57, align 8, !tbaa !35
  %.not153 = icmp eq ptr %313, null
  br i1 %.not153, label %319, label %314

314:                                              ; preds = %312
  %315 = invoke noundef nonnull align 8 dereferenceable(1864) ptr @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0)
          to label %316 unwind label %310

316:                                              ; preds = %314
  %317 = call noundef i64 @_ZNKSt6vectorIN7tinyobj10material_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %318 = trunc i64 %317 to i32
  invoke void %313(ptr noundef %2, ptr noundef nonnull %315, i32 noundef %318)
          to label %319 unwind label %310

319:                                              ; preds = %308, %.critedge199, %316, %312, %258, %259
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #7
  br label %.thread190, !llvm.loop !8

320:                                              ; preds = %310, %307, %271, %266, %265
  %.pn157 = phi { ptr, i32 } [ %267, %266 ], [ %.pn142, %265 ], [ %311, %310 ], [ %.pn149, %307 ], [ %272, %271 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #7
  br label %391

321:                                              ; preds = %247, %244
  switch i8 %101, label %.thread190 [
    i8 103, label %322
    i8 111, label %366
  ]

322:                                              ; preds = %321
  %323 = getelementptr inbounds i8, ptr %98, i64 1
  %324 = load i8, ptr %323, align 1, !tbaa !5
  switch i8 %324, label %.thread190 [
    i8 32, label %325
    i8 9, label %325
  ]

325:                                              ; preds = %322, %322
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br label %326

326:                                              ; preds = %331, %325
  %327 = load ptr, ptr %15, align 8, !tbaa !10
  %328 = load i8, ptr %327, align 1, !tbaa !5
  switch i8 %328, label %329 [
    i8 13, label %.critedge187
    i8 10, label %.critedge187
    i8 0, label %.critedge187
  ]

329:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #7
  invoke void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %44, ptr noundef nonnull %15)
          to label %330 unwind label %335

330:                                              ; preds = %329
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %331 unwind label %337

331:                                              ; preds = %330
  %332 = load ptr, ptr %15, align 8, !tbaa !10
  %333 = call i64 @strspn(ptr noundef %332, ptr noundef nonnull @.str.12) #8
  %334 = getelementptr inbounds i8, ptr %332, i64 %333
  store ptr %334, ptr %15, align 8, !tbaa !10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #7
  br label %326, !llvm.loop !36

335:                                              ; preds = %329
  %336 = landingpad { ptr, i32 }
          cleanup
  br label %339

337:                                              ; preds = %330
  %338 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  br label %339

339:                                              ; preds = %337, %335
  %.pn139 = phi { ptr, i32 } [ %338, %337 ], [ %336, %335 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #7
  br label %391

.critedge187:                                     ; preds = %326, %326, %326
  %340 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %.not137 = icmp eq i64 %340, 0
  br i1 %.not137, label %341, label %342

341:                                              ; preds = %.critedge187
  call void @__assert_fail(ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.16, i32 noundef 3369, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_) #9
  unreachable

342:                                              ; preds = %.critedge187
  %343 = load ptr, ptr %60, align 8, !tbaa !37
  %.not138 = icmp eq ptr %343, null
  br i1 %.not138, label %.thread190, label %344, !llvm.loop !8

344:                                              ; preds = %342
  %345 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %346 = icmp ugt i64 %345, 1
  br i1 %346, label %347, label %364

347:                                              ; preds = %344
  %348 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %349 = add i64 %348, -1
  invoke void @_ZNSt6vectorIPKcSaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %349)
          to label %.preheader unwind label %188

.preheader:                                       ; preds = %347
  %350 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %.not201 = icmp eq i64 %350, 0
  br i1 %.not201, label %._crit_edge198, label %.lr.ph197

._crit_edge198:                                   ; preds = %.lr.ph197, %.preheader
  %351 = load ptr, ptr %60, align 8, !tbaa !37
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0)
          to label %359 unwind label %188

.lr.ph197:                                        ; preds = %.preheader, %.lr.ph197
  %.0196 = phi i64 [ %353, %.lr.ph197 ], [ 0, %.preheader ]
  %353 = add nuw i64 %.0196, 1
  %354 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %353) #7
  %355 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %354) #7
  %356 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %.0196) #7
  store ptr %355, ptr %356, align 8, !tbaa !10
  %357 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %358 = icmp ult i64 %353, %357
  br i1 %358, label %.lr.ph197, label %._crit_edge198, !llvm.loop !38

359:                                              ; preds = %._crit_edge198
  %360 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %.invoke

.invoke:                                          ; preds = %186, %359
  %.sink = phi i64 [ %187, %186 ], [ %360, %359 ]
  %361 = phi ptr [ %185, %186 ], [ %352, %359 ]
  %362 = phi ptr [ %184, %186 ], [ %351, %359 ]
  %363 = trunc i64 %.sink to i32
  invoke void %362(ptr noundef %2, ptr noundef nonnull %361, i32 noundef %363)
          to label %.thread190 unwind label %188, !llvm.loop !8

364:                                              ; preds = %344
  %365 = load ptr, ptr %60, align 8, !tbaa !37
  invoke void %365(ptr noundef %2, ptr noundef null, i32 noundef 0)
          to label %.thread190 unwind label %188, !llvm.loop !8

366:                                              ; preds = %321
  %367 = getelementptr inbounds i8, ptr %98, i64 1
  %368 = load i8, ptr %367, align 1, !tbaa !5
  switch i8 %368, label %.thread190 [
    i8 32, label %369
    i8 9, label %369
  ]

369:                                              ; preds = %366, %366
  %370 = getelementptr inbounds i8, ptr %98, i64 2
  store ptr %370, ptr %15, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %45) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %45)
          to label %371 unwind label %379

371:                                              ; preds = %369
  %372 = load ptr, ptr %15, align 8, !tbaa !10
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef %372)
          to label %374 unwind label %381

374:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %46, ptr noundef nonnull align 8 dereferenceable(128) %45)
          to label %375 unwind label %383

375:                                              ; preds = %374
  %376 = load ptr, ptr %59, align 8, !tbaa !39
  %.not132 = icmp eq ptr %376, null
  br i1 %.not132, label %387, label %377

377:                                              ; preds = %375
  %378 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  invoke void %376(ptr noundef %2, ptr noundef %378)
          to label %387 unwind label %385

379:                                              ; preds = %369
  %380 = landingpad { ptr, i32 }
          cleanup
  br label %390

381:                                              ; preds = %371
  %382 = landingpad { ptr, i32 }
          cleanup
  br label %389

383:                                              ; preds = %374
  %384 = landingpad { ptr, i32 }
          cleanup
  br label %388

385:                                              ; preds = %377
  %386 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  br label %388

387:                                              ; preds = %377, %375
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %45) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %45) #7
  br label %.thread190

388:                                              ; preds = %385, %383
  %.pn133 = phi { ptr, i32 } [ %386, %385 ], [ %384, %383 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #7
  br label %389

389:                                              ; preds = %388, %381
  %.pn133.pn = phi { ptr, i32 } [ %.pn133, %388 ], [ %382, %381 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %45) #7
  br label %390

390:                                              ; preds = %389, %379
  %.pn133.pn.pn = phi { ptr, i32 } [ %.pn133.pn, %389 ], [ %380, %379 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %45) #7
  br label %391

.thread190:                                       ; preds = %.invoke, %321, %100, %100, %322, %366, %342, %364, %250, %319, %.critedge, %181, %387, %239, %158, %144, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %.outer.backedge

391:                                              ; preds = %176, %178, %390, %339, %320, %243, %188, %156, %142, %130
  %.pn179.pn = phi { ptr, i32 } [ %.pn179, %130 ], [ %143, %142 ], [ %157, %156 ], [ %189, %188 ], [ %.pn166.pn.pn.pn, %243 ], [ %.pn157, %320 ], [ %.pn139, %339 ], [ %.pn133.pn.pn, %390 ], [ %179, %178 ], [ %177, %176 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %403

392:                                              ; preds = %62
  br i1 %.not148, label %402, label %393

393:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %47, ptr noundef nonnull align 8 dereferenceable(128) %7)
          to label %394 unwind label %397

394:                                              ; preds = %393
  %395 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %396 unwind label %399

396:                                              ; preds = %394
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  br label %402

397:                                              ; preds = %393
  %398 = landingpad { ptr, i32 }
          cleanup
  br label %401

399:                                              ; preds = %394
  %400 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  br label %401

401:                                              ; preds = %399, %397
  %.pn = phi { ptr, i32 } [ %400, %399 ], [ %398, %397 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  br label %403

402:                                              ; preds = %396, %392
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %7) #7
  ret i1 true

403:                                              ; preds = %401, %391, %79
  %.pn179.pn.pn = phi { ptr, i32 } [ %.pn179.pn, %391 ], [ %80, %79 ], [ %.pn, %401 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br label %404

404:                                              ; preds = %403, %77
  %.pn179.pn.pn.pn = phi { ptr, i32 } [ %.pn179.pn.pn, %403 ], [ %78, %77 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %7) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn179.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden { i64, i32 } @_ZN7tinyobjL14parseRawTripleEPPKc(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(1864) ptr @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPKcSaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #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 = { 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 #5 = { "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 = { noreturn 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { noreturn 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"_ZTSN7tinyobj10callback_tE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !6, i64 0}
!16 = !{!13, !11, i64 8}
!17 = !{!13, !11, i64 16}
!18 = !{!13, !11, i64 24}
!19 = !{!20, !21, i64 0}
!20 = !{!"_ZTSN7tinyobj7index_tE", !21, i64 0, !21, i64 4, !21, i64 8}
!21 = !{!"int", !6, i64 0}
!22 = !{!20, !21, i64 4}
!23 = !{!20, !21, i64 8}
!24 = distinct !{!24, !9}
!25 = !{!13, !11, i64 32}
!26 = !{!27, !21, i64 32}
!27 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiE", !28, i64 0, !21, i64 32}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !30, i64 8, !6, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!30 = !{!"long", !6, i64 0}
!31 = !{!13, !11, i64 40}
!32 = !{!33, !33, i64 0}
!33 = !{!"vtable pointer", !7, i64 0}
!34 = distinct !{!34, !9}
!35 = !{!13, !11, i64 48}
!36 = distinct !{!36, !9}
!37 = !{!13, !11, i64 56}
!38 = distinct !{!38, !9}
!39 = !{!13, !11, i64 64}


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