; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/tinyobjloader (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::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" }
%"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::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = 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.94" = type { %"struct.std::_Vector_base.95" }
%"struct.std::_Vector_base.95" = 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.tinyobj::callback_t" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.std::pair.91" = 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 [98 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.56 = 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.63 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.66 = 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: 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 @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; 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: 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 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_traitsIcESaIcEEEcRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32), 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 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: 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 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(64) %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::map.3", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector.61", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector.20", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.94", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca float, 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 float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca %"struct.tinyobj::vertex_index_t", align 4
  %36 = alloca { i64, i32 }, align 8
  %37 = alloca %"struct.tinyobj::index_t", align 4
  %38 = alloca i64, align 8
  %39 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca i32, align 4
  %42 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %43 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %44 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %45 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::vector.20", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator", align 1
  %51 = alloca i8, align 1
  %52 = alloca i64, align 8
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca i8, align 1
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator", align 1
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca i64, align 8
  %60 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = 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 @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 -1, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2)
          to label %63 unwind label %88

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

64:                                               ; preds = %791, %789, %116, %63
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = invoke noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16) %65)
          to label %67 unwind label %92

67:                                               ; preds = %64
  %68 = icmp ne i32 %66, -1
  br i1 %68, label %69, label %793

69:                                               ; preds = %67
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7tinyobjL11safeGetlineERSiRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %72 unwind label %92

72:                                               ; preds = %69
  %73 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %74 = icmp ugt i64 %73, 0
  br i1 %74, label %75, label %97

75:                                               ; preds = %72
  %76 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %77 = sub i64 %76, 1
  %78 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %22, i64 noundef %77)
          to label %79 unwind label %92

79:                                               ; preds = %75
  %80 = load i8, ptr %78, align 1, !tbaa !11
  %81 = sext i8 %80 to i32
  %82 = icmp eq i32 %81, 10
  br i1 %82, label %83, label %96

83:                                               ; preds = %79
  %84 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %85 = sub i64 %84, 1
  %86 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %22, i64 noundef %85, i64 noundef -1)
          to label %87 unwind label %92

87:                                               ; preds = %83
  br label %96

88:                                               ; preds = %6
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %19, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %20, align 4
  br label %812

92:                                               ; preds = %108, %100, %83, %75, %69, %64
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %19, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %20, align 4
  br label %811

96:                                               ; preds = %87, %79
  br label %97

97:                                               ; preds = %96, %72
  %98 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %99 = icmp ugt i64 %98, 0
  br i1 %99, label %100, label %114

100:                                              ; preds = %97
  %101 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %102 = sub i64 %101, 1
  %103 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %22, i64 noundef %102)
          to label %104 unwind label %92

104:                                              ; preds = %100
  %105 = load i8, ptr %103, align 1, !tbaa !11
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %106, 13
  br i1 %107, label %108, label %113

108:                                              ; preds = %104
  %109 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  %110 = sub i64 %109, 1
  %111 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %22, i64 noundef %110, i64 noundef -1)
          to label %112 unwind label %92

112:                                              ; preds = %108
  br label %113

113:                                              ; preds = %112, %104
  br label %114

114:                                              ; preds = %113, %97
  %115 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br i1 %115, label %116, label %117

116:                                              ; preds = %114
  br label %64, !llvm.loop !12

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %118 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  store ptr %118, ptr %23, align 8, !tbaa !5
  %119 = load ptr, ptr %23, align 8, !tbaa !5
  %120 = call i64 @strspn(ptr noundef %119, ptr noundef @.str) #9
  %121 = load ptr, ptr %23, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 %120
  store ptr %122, ptr %23, align 8, !tbaa !5
  %123 = load ptr, ptr %23, align 8, !tbaa !5
  %124 = icmp ne ptr %123, null
  br i1 %124, label %125, label %126

125:                                              ; preds = %117
  br label %128

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

127:                                              ; No predecessors!
  br label %128

128:                                              ; preds = %127, %125
  %129 = load ptr, ptr %23, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %129, i64 0
  %131 = load i8, ptr %130, align 1, !tbaa !11
  %132 = sext i8 %131 to i32
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %134, label %135

134:                                              ; preds = %128
  store i32 2, ptr %24, align 4
  br label %789, !llvm.loop !12

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

141:                                              ; preds = %135
  store i32 2, ptr %24, align 4
  br label %789, !llvm.loop !12

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

148:                                              ; preds = %142
  %149 = load ptr, ptr %23, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %149, i64 1
  %151 = load i8, ptr %150, align 1, !tbaa !11
  %152 = sext i8 %151 to i32
  %153 = icmp eq i32 %152, 32
  br i1 %153, label %160, label %154

154:                                              ; preds = %148
  %155 = load ptr, ptr %23, 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, 9
  br i1 %159, label %160, label %183

160:                                              ; preds = %154, %148
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i64 2
  store ptr %162, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  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
  invoke void @_ZN7tinyobjL6parseVEPfS0_S0_S0_PPKcdddd(ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %23, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
          to label %163 unwind label %178

163:                                              ; preds = %160
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %164, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8, !tbaa !14
  %167 = icmp ne ptr %166, null
  br i1 %167, label %168, label %182

168:                                              ; preds = %163
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %169, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !14
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = load float, ptr %25, align 4, !tbaa !16
  %174 = load float, ptr %26, align 4, !tbaa !16
  %175 = load float, ptr %27, align 4, !tbaa !16
  %176 = load float, ptr %28, align 4, !tbaa !16
  invoke void %171(ptr noundef %172, float noundef %173, float noundef %174, float noundef %175, float noundef %176)
          to label %177 unwind label %178

177:                                              ; preds = %168
  br label %182

178:                                              ; preds = %168, %160
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %19, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %20, align 4
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %792

182:                                              ; preds = %177, %163
  store i32 2, ptr %24, align 4
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %789

183:                                              ; preds = %154, %142
  %184 = load ptr, ptr %23, align 8, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %184, i64 0
  %186 = load i8, ptr %185, align 1, !tbaa !11
  %187 = sext i8 %186 to i32
  %188 = icmp eq i32 %187, 118
  br i1 %188, label %189, label %229

189:                                              ; preds = %183
  %190 = load ptr, ptr %23, align 8, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %190, i64 1
  %192 = load i8, ptr %191, align 1, !tbaa !11
  %193 = sext i8 %192 to i32
  %194 = icmp eq i32 %193, 110
  br i1 %194, label %195, label %229

195:                                              ; preds = %189
  %196 = load ptr, ptr %23, align 8, !tbaa !5
  %197 = getelementptr inbounds i8, ptr %196, i64 2
  %198 = load i8, ptr %197, align 1, !tbaa !11
  %199 = sext i8 %198 to i32
  %200 = icmp eq i32 %199, 32
  br i1 %200, label %207, label %201

201:                                              ; preds = %195
  %202 = load ptr, ptr %23, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 2
  %204 = load i8, ptr %203, align 1, !tbaa !11
  %205 = sext i8 %204 to i32
  %206 = icmp eq i32 %205, 9
  br i1 %206, label %207, label %229

207:                                              ; preds = %201, %195
  %208 = load ptr, ptr %23, align 8, !tbaa !5
  %209 = getelementptr inbounds i8, ptr %208, i64 3
  store ptr %209, ptr %23, align 8, !tbaa !5
  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
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %23, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %210 unwind label %224

210:                                              ; preds = %207
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %211, i32 0, i32 1
  %213 = load ptr, ptr %212, align 8, !tbaa !18
  %214 = icmp ne ptr %213, null
  br i1 %214, label %215, label %228

215:                                              ; preds = %210
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %216, i32 0, i32 1
  %218 = load ptr, ptr %217, align 8, !tbaa !18
  %219 = load ptr, ptr %9, align 8, !tbaa !5
  %220 = load float, ptr %29, align 4, !tbaa !16
  %221 = load float, ptr %30, align 4, !tbaa !16
  %222 = load float, ptr %31, align 4, !tbaa !16
  invoke void %218(ptr noundef %219, float noundef %220, float noundef %221, float noundef %222)
          to label %223 unwind label %224

223:                                              ; preds = %215
  br label %228

224:                                              ; preds = %215, %207
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %19, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %20, align 4
  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
  br label %792

228:                                              ; preds = %223, %210
  store i32 2, ptr %24, align 4
  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
  br label %789

229:                                              ; preds = %201, %189, %183
  %230 = load ptr, ptr %23, align 8, !tbaa !5
  %231 = getelementptr inbounds i8, ptr %230, i64 0
  %232 = load i8, ptr %231, align 1, !tbaa !11
  %233 = sext i8 %232 to i32
  %234 = icmp eq i32 %233, 118
  br i1 %234, label %235, label %275

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

241:                                              ; preds = %235
  %242 = load ptr, ptr %23, align 8, !tbaa !5
  %243 = getelementptr inbounds i8, ptr %242, i64 2
  %244 = load i8, ptr %243, align 1, !tbaa !11
  %245 = sext i8 %244 to i32
  %246 = icmp eq i32 %245, 32
  br i1 %246, label %253, label %247

247:                                              ; preds = %241
  %248 = load ptr, ptr %23, align 8, !tbaa !5
  %249 = getelementptr inbounds i8, ptr %248, i64 2
  %250 = load i8, ptr %249, align 1, !tbaa !11
  %251 = sext i8 %250 to i32
  %252 = icmp eq i32 %251, 9
  br i1 %252, label %253, label %275

253:                                              ; preds = %247, %241
  %254 = load ptr, ptr %23, align 8, !tbaa !5
  %255 = getelementptr inbounds i8, ptr %254, i64 3
  store ptr %255, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %23, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %256 unwind label %270

256:                                              ; preds = %253
  %257 = load ptr, ptr %8, align 8, !tbaa !5
  %258 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %257, i32 0, i32 2
  %259 = load ptr, ptr %258, align 8, !tbaa !19
  %260 = icmp ne ptr %259, null
  br i1 %260, label %261, label %274

261:                                              ; preds = %256
  %262 = load ptr, ptr %8, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %262, i32 0, i32 2
  %264 = load ptr, ptr %263, align 8, !tbaa !19
  %265 = load ptr, ptr %9, align 8, !tbaa !5
  %266 = load float, ptr %32, align 4, !tbaa !16
  %267 = load float, ptr %33, align 4, !tbaa !16
  %268 = load float, ptr %34, align 4, !tbaa !16
  invoke void %264(ptr noundef %265, float noundef %266, float noundef %267, float noundef %268)
          to label %269 unwind label %270

269:                                              ; preds = %261
  br label %274

270:                                              ; preds = %261, %253
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %19, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %792

274:                                              ; preds = %269, %256
  store i32 2, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %789

275:                                              ; preds = %247, %235, %229
  %276 = load ptr, ptr %23, align 8, !tbaa !5
  %277 = getelementptr inbounds i8, ptr %276, i64 0
  %278 = load i8, ptr %277, align 1, !tbaa !11
  %279 = sext i8 %278 to i32
  %280 = icmp eq i32 %279, 102
  br i1 %280, label %281, label %371

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

287:                                              ; preds = %281
  %288 = load ptr, ptr %23, align 8, !tbaa !5
  %289 = getelementptr inbounds i8, ptr %288, i64 1
  %290 = load i8, ptr %289, align 1, !tbaa !11
  %291 = sext i8 %290 to i32
  %292 = icmp eq i32 %291, 9
  br i1 %292, label %293, label %371

293:                                              ; preds = %287, %281
  %294 = load ptr, ptr %23, align 8, !tbaa !5
  %295 = getelementptr inbounds i8, ptr %294, i64 2
  store ptr %295, ptr %23, align 8, !tbaa !5
  %296 = load ptr, ptr %23, align 8, !tbaa !5
  %297 = call i64 @strspn(ptr noundef %296, ptr noundef @.str) #9
  %298 = load ptr, ptr %23, align 8, !tbaa !5
  %299 = getelementptr inbounds i8, ptr %298, i64 %297
  store ptr %299, ptr %23, align 8, !tbaa !5
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %300

300:                                              ; preds = %333, %293
  %301 = load ptr, ptr %23, align 8, !tbaa !5
  %302 = getelementptr inbounds i8, ptr %301, i64 0
  %303 = load i8, ptr %302, align 1, !tbaa !11
  %304 = sext i8 %303 to i32
  %305 = icmp eq i32 %304, 13
  br i1 %305, label %318, label %306

306:                                              ; preds = %300
  %307 = load ptr, ptr %23, align 8, !tbaa !5
  %308 = getelementptr inbounds i8, ptr %307, i64 0
  %309 = load i8, ptr %308, align 1, !tbaa !11
  %310 = sext i8 %309 to i32
  %311 = icmp eq i32 %310, 10
  br i1 %311, label %318, label %312

312:                                              ; preds = %306
  %313 = load ptr, ptr %23, align 8, !tbaa !5
  %314 = getelementptr inbounds i8, ptr %313, i64 0
  %315 = load i8, ptr %314, align 1, !tbaa !11
  %316 = sext i8 %315 to i32
  %317 = icmp eq i32 %316, 0
  br label %318

318:                                              ; preds = %312, %306, %300
  %319 = phi i1 [ true, %306 ], [ true, %300 ], [ %317, %312 ]
  %320 = xor i1 %319, true
  br i1 %320, label %321, label %348

321:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #8
  %322 = invoke { i64, i32 } @_ZN7tinyobjL14parseRawTripleEPPKc(ptr noundef %23)
          to label %323 unwind label %339

323:                                              ; preds = %321
  store { i64, i32 } %322, ptr %36, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 8 %36, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #8
  %324 = getelementptr inbounds %"struct.tinyobj::vertex_index_t", ptr %35, i32 0, i32 0
  %325 = load i32, ptr %324, align 4, !tbaa !20
  %326 = getelementptr inbounds %"struct.tinyobj::index_t", ptr %37, i32 0, i32 0
  store i32 %325, ptr %326, align 4, !tbaa !22
  %327 = getelementptr inbounds %"struct.tinyobj::vertex_index_t", ptr %35, i32 0, i32 2
  %328 = load i32, ptr %327, align 4, !tbaa !24
  %329 = getelementptr inbounds %"struct.tinyobj::index_t", ptr %37, i32 0, i32 1
  store i32 %328, ptr %329, align 4, !tbaa !25
  %330 = getelementptr inbounds %"struct.tinyobj::vertex_index_t", ptr %35, i32 0, i32 1
  %331 = load i32, ptr %330, align 4, !tbaa !26
  %332 = getelementptr inbounds %"struct.tinyobj::index_t", ptr %37, i32 0, i32 2
  store i32 %331, ptr %332, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(12) %37)
          to label %333 unwind label %343

333:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %334 = load ptr, ptr %23, align 8, !tbaa !5
  %335 = call i64 @strspn(ptr noundef %334, ptr noundef @.str.12) #9
  store i64 %335, ptr %38, align 8, !tbaa !28
  %336 = load i64, ptr %38, align 8, !tbaa !28
  %337 = load ptr, ptr %23, align 8, !tbaa !5
  %338 = getelementptr inbounds i8, ptr %337, i64 %336
  store ptr %338, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #8
  br label %300, !llvm.loop !30

339:                                              ; preds = %321
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %19, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %20, align 4
  br label %347

343:                                              ; preds = %323
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %19, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #8
  br label %347

347:                                              ; preds = %343, %339
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #8
  br label %792

348:                                              ; preds = %318
  %349 = load ptr, ptr %8, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %349, i32 0, i32 3
  %351 = load ptr, ptr %350, align 8, !tbaa !31
  %352 = icmp ne ptr %351, null
  br i1 %352, label %353, label %370

353:                                              ; preds = %348
  %354 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %355 = icmp ugt i64 %354, 0
  br i1 %355, label %356, label %370

356:                                              ; preds = %353
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %357, i32 0, i32 3
  %359 = load ptr, ptr %358, align 8, !tbaa !31
  %360 = load ptr, ptr %9, align 8, !tbaa !5
  %361 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0)
          to label %362 unwind label %366

362:                                              ; preds = %356
  %363 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  %364 = trunc i64 %363 to i32
  invoke void %359(ptr noundef %360, ptr noundef %361, i32 noundef %364)
          to label %365 unwind label %366

365:                                              ; preds = %362
  br label %370

366:                                              ; preds = %722, %718, %712, %693, %362, %356
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %19, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %20, align 4
  br label %792

370:                                              ; preds = %365, %353, %348
  store i32 2, ptr %24, align 4
  br label %789, !llvm.loop !12

371:                                              ; preds = %287, %275
  %372 = load ptr, ptr %23, align 8, !tbaa !5
  %373 = call i32 @strncmp(ptr noundef %372, ptr noundef @.str.51, i64 noundef 6) #9
  %374 = icmp eq i32 0, %373
  br i1 %374, label %375, label %479

375:                                              ; preds = %371
  %376 = load ptr, ptr %23, align 8, !tbaa !5
  %377 = getelementptr inbounds i8, ptr %376, i64 6
  %378 = load i8, ptr %377, align 1, !tbaa !11
  %379 = sext i8 %378 to i32
  %380 = icmp eq i32 %379, 32
  br i1 %380, label %387, label %381

381:                                              ; preds = %375
  %382 = load ptr, ptr %23, align 8, !tbaa !5
  %383 = getelementptr inbounds i8, ptr %382, i64 6
  %384 = load i8, ptr %383, align 1, !tbaa !11
  %385 = sext i8 %384 to i32
  %386 = icmp eq i32 %385, 9
  br i1 %386, label %387, label %479

387:                                              ; preds = %381, %375
  %388 = load ptr, ptr %23, align 8, !tbaa !5
  %389 = getelementptr inbounds i8, ptr %388, i64 7
  store ptr %389, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 392, ptr %39) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %39)
          to label %390 unwind label %406

390:                                              ; preds = %387
  %391 = getelementptr inbounds i8, ptr %39, i64 16
  %392 = load ptr, ptr %23, align 8, !tbaa !5
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %391, ptr noundef %392)
          to label %394 unwind label %410

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

395:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 -1, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %396 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %397 unwind label %418

397:                                              ; preds = %395
  %398 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %43, i32 0, i32 0
  store ptr %396, ptr %398, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %399 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  %400 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %45, i32 0, i32 0
  store ptr %399, ptr %400, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  %401 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEESB_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br i1 %401, label %402, label %422

402:                                              ; preds = %397
  %403 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  %404 = getelementptr inbounds %"struct.std::pair.91", ptr %403, i32 0, i32 1
  %405 = load i32, ptr %404, align 8, !tbaa !32
  store i32 %405, ptr %41, align 4, !tbaa !9
  br label %451

406:                                              ; preds = %387
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %19, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %20, align 4
  br label %478

410:                                              ; preds = %390
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %19, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %20, align 4
  br label %477

414:                                              ; preds = %394
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %19, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %20, align 4
  br label %476

418:                                              ; preds = %395
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %19, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %475

422:                                              ; preds = %397
  %423 = load ptr, ptr %11, align 8, !tbaa !5
  %424 = icmp ne ptr %423, null
  br i1 %424, label %425, label %450

425:                                              ; preds = %422
  %426 = load ptr, ptr %8, align 8, !tbaa !5
  %427 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %426, i32 0, i32 4
  %428 = load ptr, ptr %427, align 8, !tbaa !36
  %429 = icmp ne ptr %428, null
  br i1 %429, label %450, label %430

430:                                              ; preds = %425
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #8
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %47, ptr noundef @.str.63, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %431 unwind label %436

431:                                              ; preds = %430
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %46, ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.64)
          to label %432 unwind label %440

432:                                              ; preds = %431
  %433 = load ptr, ptr %11, align 8, !tbaa !5
  %434 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %433, ptr noundef nonnull align 8 dereferenceable(32) %46)
          to label %435 unwind label %444

435:                                              ; preds = %432
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #8
  br label %450

436:                                              ; preds = %430
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %19, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %20, align 4
  br label %449

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

444:                                              ; preds = %432
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %19, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  br label %448

448:                                              ; preds = %444, %440
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  br label %449

449:                                              ; preds = %448, %436
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #8
  br label %475

450:                                              ; preds = %435, %425, %422
  br label %451

451:                                              ; preds = %450, %402
  %452 = load i32, ptr %41, align 4, !tbaa !9
  %453 = load i32, ptr %15, align 4, !tbaa !9
  %454 = icmp ne i32 %452, %453
  br i1 %454, label %455, label %457

455:                                              ; preds = %451
  %456 = load i32, ptr %41, align 4, !tbaa !9
  store i32 %456, ptr %15, align 4, !tbaa !9
  br label %457

457:                                              ; preds = %455, %451
  %458 = load ptr, ptr %8, align 8, !tbaa !5
  %459 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %458, i32 0, i32 4
  %460 = load ptr, ptr %459, align 8, !tbaa !36
  %461 = icmp ne ptr %460, null
  br i1 %461, label %462, label %474

462:                                              ; preds = %457
  %463 = load ptr, ptr %8, align 8, !tbaa !5
  %464 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %463, i32 0, i32 4
  %465 = load ptr, ptr %464, align 8, !tbaa !36
  %466 = load ptr, ptr %9, align 8, !tbaa !5
  %467 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  %468 = load i32, ptr %15, align 4, !tbaa !9
  invoke void %465(ptr noundef %466, ptr noundef %467, i32 noundef %468)
          to label %469 unwind label %470

469:                                              ; preds = %462
  br label %474

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

474:                                              ; preds = %469, %457
  store i32 2, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %39) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %39) #8
  br label %789

475:                                              ; preds = %470, %449, %418
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %476

476:                                              ; preds = %475, %414
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %477

477:                                              ; preds = %476, %410
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %39) #8
  br label %478

478:                                              ; preds = %477, %406
  call void @llvm.lifetime.end.p0(i64 392, ptr %39) #8
  br label %792

479:                                              ; preds = %381, %371
  %480 = load ptr, ptr %23, align 8, !tbaa !5
  %481 = call i32 @strncmp(ptr noundef %480, ptr noundef @.str.54, i64 noundef 6) #9
  %482 = icmp eq i32 0, %481
  br i1 %482, label %483, label %623

483:                                              ; preds = %479
  %484 = load ptr, ptr %23, align 8, !tbaa !5
  %485 = getelementptr inbounds i8, ptr %484, i64 6
  %486 = load i8, ptr %485, align 1, !tbaa !11
  %487 = sext i8 %486 to i32
  %488 = icmp eq i32 %487, 32
  br i1 %488, label %495, label %489

489:                                              ; preds = %483
  %490 = load ptr, ptr %23, align 8, !tbaa !5
  %491 = getelementptr inbounds i8, ptr %490, i64 6
  %492 = load i8, ptr %491, align 1, !tbaa !11
  %493 = sext i8 %492 to i32
  %494 = icmp eq i32 %493, 9
  br i1 %494, label %495, label %623

495:                                              ; preds = %489, %483
  %496 = load ptr, ptr %10, align 8, !tbaa !5
  %497 = icmp ne ptr %496, null
  br i1 %497, label %498, label %622

498:                                              ; preds = %495
  %499 = load ptr, ptr %23, align 8, !tbaa !5
  %500 = getelementptr inbounds i8, ptr %499, i64 7
  store ptr %500, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #8
  %501 = load ptr, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef %501, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %502 unwind label %512

502:                                              ; preds = %498
  invoke void @_ZN7tinyobjL11SplitStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32) %49, i8 noundef signext 32, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %503 unwind label %516

503:                                              ; preds = %502
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #8
  %504 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  br i1 %504, label %505, label %526

505:                                              ; preds = %503
  %506 = load ptr, ptr %11, align 8, !tbaa !5
  %507 = icmp ne ptr %506, null
  br i1 %507, label %508, label %525

508:                                              ; preds = %505
  %509 = load ptr, ptr %11, align 8, !tbaa !5
  %510 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %509, ptr noundef @.str.65)
          to label %511 unwind label %521

511:                                              ; preds = %508
  br label %525

512:                                              ; preds = %498
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %19, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %20, align 4
  br label %520

516:                                              ; preds = %502
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %19, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #8
  br label %520

520:                                              ; preds = %516, %512
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #8
  br label %621

521:                                              ; preds = %508
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %19, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %20, align 4
  br label %621

525:                                              ; preds = %511, %505
  br label %620

526:                                              ; preds = %503
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #8
  store i8 0, ptr %51, align 1, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  store i64 0, ptr %52, align 8, !tbaa !28
  br label %527

527:                                              ; preds = %582, %526
  %528 = load i64, ptr %52, align 8, !tbaa !28
  %529 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  %530 = icmp ult i64 %528, %529
  br i1 %530, label %532, label %531

531:                                              ; preds = %527
  store i32 6, ptr %24, align 4
  br label %586

532:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %55) #8
  %533 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #8
  %534 = load i64, ptr %52, align 8, !tbaa !28
  %535 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %534) #8
  %536 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %535) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef %536, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %537 unwind label %552

537:                                              ; preds = %532
  %538 = load ptr, ptr %533, align 8, !tbaa !39
  %539 = getelementptr inbounds ptr, ptr %538, i64 2
  %540 = load ptr, ptr %539, align 8
  %541 = invoke noundef zeroext i1 %540(ptr noundef nonnull align 8 dereferenceable(8) %533, ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef %17, ptr noundef %14, ptr noundef %53, ptr noundef %54)
          to label %542 unwind label %556

542:                                              ; preds = %537
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  %543 = zext i1 %541 to i8
  store i8 %543, ptr %55, align 1, !tbaa !37
  %544 = load ptr, ptr %11, align 8, !tbaa !5
  %545 = icmp ne ptr %544, null
  br i1 %545, label %546, label %565

546:                                              ; preds = %542
  %547 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  br i1 %547, label %565, label %548

548:                                              ; preds = %546
  %549 = load ptr, ptr %11, align 8, !tbaa !5
  %550 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %549, ptr noundef nonnull align 8 dereferenceable(32) %53)
          to label %551 unwind label %561

551:                                              ; preds = %548
  br label %565

552:                                              ; preds = %532
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %19, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %20, align 4
  br label %560

556:                                              ; preds = %537
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %19, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  br label %560

560:                                              ; preds = %556, %552
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  br label %585

561:                                              ; preds = %570, %548
  %562 = landingpad { ptr, i32 }
          cleanup
  %563 = extractvalue { ptr, i32 } %562, 0
  store ptr %563, ptr %19, align 8
  %564 = extractvalue { ptr, i32 } %562, 1
  store i32 %564, ptr %20, align 4
  br label %585

565:                                              ; preds = %551, %546, %542
  %566 = load ptr, ptr %12, align 8, !tbaa !5
  %567 = icmp ne ptr %566, null
  br i1 %567, label %568, label %574

568:                                              ; preds = %565
  %569 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  br i1 %569, label %574, label %570

570:                                              ; preds = %568
  %571 = load ptr, ptr %12, align 8, !tbaa !5
  %572 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %571, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %573 unwind label %561

573:                                              ; preds = %570
  br label %574

574:                                              ; preds = %573, %568, %565
  %575 = load i8, ptr %55, align 1, !tbaa !37, !range !41, !noundef !42
  %576 = trunc i8 %575 to i1
  br i1 %576, label %577, label %578

577:                                              ; preds = %574
  store i8 1, ptr %51, align 1, !tbaa !37
  store i32 6, ptr %24, align 4
  br label %579

578:                                              ; preds = %574
  store i32 0, ptr %24, align 4
  br label %579

579:                                              ; preds = %578, %577
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #8
  %580 = load i32, ptr %24, align 4
  switch i32 %580, label %586 [
    i32 0, label %581
  ]

581:                                              ; preds = %579
  br label %582

582:                                              ; preds = %581
  %583 = load i64, ptr %52, align 8, !tbaa !28
  %584 = add i64 %583, 1
  store i64 %584, ptr %52, align 8, !tbaa !28
  br label %527, !llvm.loop !43

585:                                              ; preds = %561, %560
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  br label %619

586:                                              ; preds = %579, %531
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  br label %587

587:                                              ; preds = %586
  %588 = load i8, ptr %51, align 1, !tbaa !37, !range !41, !noundef !42
  %589 = trunc i8 %588 to i1
  br i1 %589, label %602, label %590

590:                                              ; preds = %587
  %591 = load ptr, ptr %11, align 8, !tbaa !5
  %592 = icmp ne ptr %591, null
  br i1 %592, label %593, label %601

593:                                              ; preds = %590
  %594 = load ptr, ptr %11, align 8, !tbaa !5
  %595 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %594, ptr noundef @.str.56)
          to label %596 unwind label %597

596:                                              ; preds = %593
  br label %601

597:                                              ; preds = %613, %607, %593
  %598 = landingpad { ptr, i32 }
          cleanup
  %599 = extractvalue { ptr, i32 } %598, 0
  store ptr %599, ptr %19, align 8
  %600 = extractvalue { ptr, i32 } %598, 1
  store i32 %600, ptr %20, align 4
  br label %619

601:                                              ; preds = %596, %590
  br label %618

602:                                              ; preds = %587
  %603 = load ptr, ptr %8, align 8, !tbaa !5
  %604 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %603, i32 0, i32 5
  %605 = load ptr, ptr %604, align 8, !tbaa !44
  %606 = icmp ne ptr %605, null
  br i1 %606, label %607, label %617

607:                                              ; preds = %602
  %608 = load ptr, ptr %8, align 8, !tbaa !5
  %609 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %608, i32 0, i32 5
  %610 = load ptr, ptr %609, align 8, !tbaa !44
  %611 = load ptr, ptr %9, align 8, !tbaa !5
  %612 = invoke noundef nonnull align 8 dereferenceable(1864) ptr @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0)
          to label %613 unwind label %597

613:                                              ; preds = %607
  %614 = call noundef i64 @_ZNKSt6vectorIN7tinyobj10material_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %615 = trunc i64 %614 to i32
  invoke void %610(ptr noundef %611, ptr noundef %612, i32 noundef %615)
          to label %616 unwind label %597

616:                                              ; preds = %613
  br label %617

617:                                              ; preds = %616, %602
  br label %618

618:                                              ; preds = %617, %601
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  br label %620

619:                                              ; preds = %597, %585
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  br label %621

620:                                              ; preds = %618, %525
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #8
  br label %622

621:                                              ; preds = %619, %521, %520
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #8
  br label %792

622:                                              ; preds = %620, %495
  store i32 2, ptr %24, align 4
  br label %789, !llvm.loop !12

623:                                              ; preds = %489, %479
  %624 = load ptr, ptr %23, align 8, !tbaa !5
  %625 = getelementptr inbounds i8, ptr %624, i64 0
  %626 = load i8, ptr %625, align 1, !tbaa !11
  %627 = sext i8 %626 to i32
  %628 = icmp eq i32 %627, 103
  br i1 %628, label %629, label %730

629:                                              ; preds = %623
  %630 = load ptr, ptr %23, align 8, !tbaa !5
  %631 = getelementptr inbounds i8, ptr %630, i64 1
  %632 = load i8, ptr %631, align 1, !tbaa !11
  %633 = sext i8 %632 to i32
  %634 = icmp eq i32 %633, 32
  br i1 %634, label %641, label %635

635:                                              ; preds = %629
  %636 = load ptr, ptr %23, align 8, !tbaa !5
  %637 = getelementptr inbounds i8, ptr %636, i64 1
  %638 = load i8, ptr %637, align 1, !tbaa !11
  %639 = sext i8 %638 to i32
  %640 = icmp eq i32 %639, 9
  br i1 %640, label %641, label %730

641:                                              ; preds = %635, %629
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  br label %642

642:                                              ; preds = %665, %641
  %643 = load ptr, ptr %23, align 8, !tbaa !5
  %644 = getelementptr inbounds i8, ptr %643, i64 0
  %645 = load i8, ptr %644, align 1, !tbaa !11
  %646 = sext i8 %645 to i32
  %647 = icmp eq i32 %646, 13
  br i1 %647, label %660, label %648

648:                                              ; preds = %642
  %649 = load ptr, ptr %23, align 8, !tbaa !5
  %650 = getelementptr inbounds i8, ptr %649, i64 0
  %651 = load i8, ptr %650, align 1, !tbaa !11
  %652 = sext i8 %651 to i32
  %653 = icmp eq i32 %652, 10
  br i1 %653, label %660, label %654

654:                                              ; preds = %648
  %655 = load ptr, ptr %23, align 8, !tbaa !5
  %656 = getelementptr inbounds i8, ptr %655, i64 0
  %657 = load i8, ptr %656, align 1, !tbaa !11
  %658 = sext i8 %657 to i32
  %659 = icmp eq i32 %658, 0
  br label %660

660:                                              ; preds = %654, %648, %642
  %661 = phi i1 [ true, %648 ], [ true, %642 ], [ %659, %654 ]
  %662 = xor i1 %661, true
  br i1 %662, label %663, label %679

663:                                              ; preds = %660
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #8
  invoke void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %58, ptr noundef %23)
          to label %664 unwind label %670

664:                                              ; preds = %663
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(32) %58)
          to label %665 unwind label %674

665:                                              ; preds = %664
  %666 = load ptr, ptr %23, align 8, !tbaa !5
  %667 = call i64 @strspn(ptr noundef %666, ptr noundef @.str.12) #9
  %668 = load ptr, ptr %23, align 8, !tbaa !5
  %669 = getelementptr inbounds i8, ptr %668, i64 %667
  store ptr %669, ptr %23, align 8, !tbaa !5
  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 %642, !llvm.loop !45

670:                                              ; preds = %663
  %671 = landingpad { ptr, i32 }
          cleanup
  %672 = extractvalue { ptr, i32 } %671, 0
  store ptr %672, ptr %19, align 8
  %673 = extractvalue { ptr, i32 } %671, 1
  store i32 %673, ptr %20, align 4
  br label %678

674:                                              ; preds = %664
  %675 = landingpad { ptr, i32 }
          cleanup
  %676 = extractvalue { ptr, i32 } %675, 0
  store ptr %676, ptr %19, align 8
  %677 = extractvalue { ptr, i32 } %675, 1
  store i32 %677, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  br label %678

678:                                              ; preds = %674, %670
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #8
  br label %792

679:                                              ; preds = %660
  %680 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %681 = icmp ugt i64 %680, 0
  br i1 %681, label %682, label %683

682:                                              ; preds = %679
  br label %685

683:                                              ; preds = %679
  call void @__assert_fail(ptr noundef @.str.66, ptr noundef @.str.16, i32 noundef 3377, ptr noundef @__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_) #10
  unreachable

684:                                              ; No predecessors!
  br label %685

685:                                              ; preds = %684, %682
  %686 = load ptr, ptr %8, align 8, !tbaa !5
  %687 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %686, i32 0, i32 6
  %688 = load ptr, ptr %687, align 8, !tbaa !46
  %689 = icmp ne ptr %688, null
  br i1 %689, label %690, label %729

690:                                              ; preds = %685
  %691 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %692 = icmp ugt i64 %691, 1
  br i1 %692, label %693, label %722

693:                                              ; preds = %690
  %694 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %695 = sub i64 %694, 1
  invoke void @_ZNSt6vectorIPKcSaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %695)
          to label %696 unwind label %366

696:                                              ; preds = %693
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  store i64 0, ptr %59, align 8, !tbaa !28
  br label %697

697:                                              ; preds = %709, %696
  %698 = load i64, ptr %59, align 8, !tbaa !28
  %699 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %700 = icmp ult i64 %698, %699
  br i1 %700, label %702, label %701

701:                                              ; preds = %697
  store i32 11, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %712

702:                                              ; preds = %697
  %703 = load i64, ptr %59, align 8, !tbaa !28
  %704 = add i64 %703, 1
  %705 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %704) #8
  %706 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %705) #8
  %707 = load i64, ptr %59, align 8, !tbaa !28
  %708 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %707) #8
  store ptr %706, ptr %708, align 8, !tbaa !5
  br label %709

709:                                              ; preds = %702
  %710 = load i64, ptr %59, align 8, !tbaa !28
  %711 = add i64 %710, 1
  store i64 %711, ptr %59, align 8, !tbaa !28
  br label %697, !llvm.loop !47

712:                                              ; preds = %701
  %713 = load ptr, ptr %8, align 8, !tbaa !5
  %714 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %713, i32 0, i32 6
  %715 = load ptr, ptr %714, align 8, !tbaa !46
  %716 = load ptr, ptr %9, align 8, !tbaa !5
  %717 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0)
          to label %718 unwind label %366

718:                                              ; preds = %712
  %719 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %720 = trunc i64 %719 to i32
  invoke void %715(ptr noundef %716, ptr noundef %717, i32 noundef %720)
          to label %721 unwind label %366

721:                                              ; preds = %718
  br label %728

722:                                              ; preds = %690
  %723 = load ptr, ptr %8, align 8, !tbaa !5
  %724 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %723, i32 0, i32 6
  %725 = load ptr, ptr %724, align 8, !tbaa !46
  %726 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void %725(ptr noundef %726, ptr noundef null, i32 noundef 0)
          to label %727 unwind label %366

727:                                              ; preds = %722
  br label %728

728:                                              ; preds = %727, %721
  br label %729

729:                                              ; preds = %728, %685
  store i32 2, ptr %24, align 4
  br label %789, !llvm.loop !12

730:                                              ; preds = %635, %623
  %731 = load ptr, ptr %23, align 8, !tbaa !5
  %732 = getelementptr inbounds i8, ptr %731, i64 0
  %733 = load i8, ptr %732, align 1, !tbaa !11
  %734 = sext i8 %733 to i32
  %735 = icmp eq i32 %734, 111
  br i1 %735, label %736, label %788

736:                                              ; preds = %730
  %737 = load ptr, ptr %23, align 8, !tbaa !5
  %738 = getelementptr inbounds i8, ptr %737, i64 1
  %739 = load i8, ptr %738, align 1, !tbaa !11
  %740 = sext i8 %739 to i32
  %741 = icmp eq i32 %740, 32
  br i1 %741, label %748, label %742

742:                                              ; preds = %736
  %743 = load ptr, ptr %23, align 8, !tbaa !5
  %744 = getelementptr inbounds i8, ptr %743, i64 1
  %745 = load i8, ptr %744, align 1, !tbaa !11
  %746 = sext i8 %745 to i32
  %747 = icmp eq i32 %746, 9
  br i1 %747, label %748, label %788

748:                                              ; preds = %742, %736
  %749 = load ptr, ptr %23, align 8, !tbaa !5
  %750 = getelementptr inbounds i8, ptr %749, i64 2
  store ptr %750, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 392, ptr %60) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %60)
          to label %751 unwind label %768

751:                                              ; preds = %748
  %752 = getelementptr inbounds i8, ptr %60, i64 16
  %753 = load ptr, ptr %23, align 8, !tbaa !5
  %754 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %752, ptr noundef %753)
          to label %755 unwind label %772

755:                                              ; preds = %751
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %61, ptr noundef nonnull align 8 dereferenceable(128) %60)
          to label %756 unwind label %776

756:                                              ; preds = %755
  %757 = load ptr, ptr %8, align 8, !tbaa !5
  %758 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %757, i32 0, i32 7
  %759 = load ptr, ptr %758, align 8, !tbaa !48
  %760 = icmp ne ptr %759, null
  br i1 %760, label %761, label %784

761:                                              ; preds = %756
  %762 = load ptr, ptr %8, align 8, !tbaa !5
  %763 = getelementptr inbounds %"struct.tinyobj::callback_t", ptr %762, i32 0, i32 7
  %764 = load ptr, ptr %763, align 8, !tbaa !48
  %765 = load ptr, ptr %9, align 8, !tbaa !5
  %766 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %61) #8
  invoke void %764(ptr noundef %765, ptr noundef %766)
          to label %767 unwind label %780

767:                                              ; preds = %761
  br label %784

768:                                              ; preds = %748
  %769 = landingpad { ptr, i32 }
          cleanup
  %770 = extractvalue { ptr, i32 } %769, 0
  store ptr %770, ptr %19, align 8
  %771 = extractvalue { ptr, i32 } %769, 1
  store i32 %771, ptr %20, align 4
  br label %787

772:                                              ; preds = %751
  %773 = landingpad { ptr, i32 }
          cleanup
  %774 = extractvalue { ptr, i32 } %773, 0
  store ptr %774, ptr %19, align 8
  %775 = extractvalue { ptr, i32 } %773, 1
  store i32 %775, ptr %20, align 4
  br label %786

776:                                              ; preds = %755
  %777 = landingpad { ptr, i32 }
          cleanup
  %778 = extractvalue { ptr, i32 } %777, 0
  store ptr %778, ptr %19, align 8
  %779 = extractvalue { ptr, i32 } %777, 1
  store i32 %779, ptr %20, align 4
  br label %785

780:                                              ; preds = %761
  %781 = landingpad { ptr, i32 }
          cleanup
  %782 = extractvalue { ptr, i32 } %781, 0
  store ptr %782, ptr %19, align 8
  %783 = extractvalue { ptr, i32 } %781, 1
  store i32 %783, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #8
  br label %785

784:                                              ; preds = %767, %756
  store i32 2, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %60) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %60) #8
  br label %789

785:                                              ; preds = %780, %776
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #8
  br label %786

786:                                              ; preds = %785, %772
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %60) #8
  br label %787

787:                                              ; preds = %786, %768
  call void @llvm.lifetime.end.p0(i64 392, ptr %60) #8
  br label %792

788:                                              ; preds = %742, %730
  store i32 0, ptr %24, align 4
  br label %789

789:                                              ; preds = %788, %784, %729, %622, %474, %370, %274, %228, %182, %141, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  %790 = load i32, ptr %24, align 4
  switch i32 %790, label %818 [
    i32 0, label %791
    i32 2, label %64
  ]

791:                                              ; preds = %789
  br label %64, !llvm.loop !12

792:                                              ; preds = %787, %678, %621, %478, %366, %347, %270, %224, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %811

793:                                              ; preds = %67
  %794 = load ptr, ptr %12, align 8, !tbaa !5
  %795 = icmp ne ptr %794, null
  br i1 %795, label %796, label %810

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

797:                                              ; preds = %796
  %798 = load ptr, ptr %12, align 8, !tbaa !5
  %799 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %798, ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %800 unwind label %805

800:                                              ; preds = %797
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #8
  br label %810

801:                                              ; preds = %796
  %802 = landingpad { ptr, i32 }
          cleanup
  %803 = extractvalue { ptr, i32 } %802, 0
  store ptr %803, ptr %19, align 8
  %804 = extractvalue { ptr, i32 } %802, 1
  store i32 %804, ptr %20, align 4
  br label %809

805:                                              ; preds = %797
  %806 = landingpad { ptr, i32 }
          cleanup
  %807 = extractvalue { ptr, i32 } %806, 0
  store ptr %807, ptr %19, align 8
  %808 = extractvalue { ptr, i32 } %806, 1
  store i32 %808, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  br label %809

809:                                              ; preds = %805, %801
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #8
  br label %811

810:                                              ; preds = %800, %793
  store i32 1, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(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

811:                                              ; preds = %809, %792, %92
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  br label %812

812:                                              ; preds = %811, %88
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  call void @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(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 %813

813:                                              ; preds = %812
  %814 = load ptr, ptr %19, align 8
  %815 = load i32, ptr %20, align 4
  %816 = insertvalue { ptr, i32 } poison, ptr %814, 0
  %817 = insertvalue { ptr, i32 } %816, i32 %815, 1
  resume { ptr, i32 } %817

818:                                              ; preds = %789
  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: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL6parseVEPfS0_S0_S0_PPKcdddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #3

; 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}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!15, !6, i64 8}
!19 = !{!15, !6, i64 16}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTSN7tinyobj14vertex_index_tE", !10, i64 0, !10, i64 4, !10, i64 8}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTSN7tinyobj7index_tE", !10, i64 0, !10, i64 4, !10, i64 8}
!24 = !{!21, !10, i64 8}
!25 = !{!23, !10, i64 4}
!26 = !{!21, !10, i64 4}
!27 = !{!23, !10, i64 8}
!28 = !{!29, !29, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = distinct !{!30, !13}
!31 = !{!15, !6, i64 24}
!32 = !{!33, !10, i64 32}
!33 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiE", !34, i64 0, !10, i64 32}
!34 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !35, i64 0, !29, i64 8, !7, i64 16}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!36 = !{!15, !6, i64 32}
!37 = !{!38, !38, i64 0}
!38 = !{!"bool", !7, i64 0}
!39 = !{!40, !40, i64 0}
!40 = !{!"vtable pointer", !8, i64 0}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = distinct !{!43, !13}
!44 = !{!15, !6, i64 40}
!45 = distinct !{!45, !13}
!46 = !{!15, !6, i64 48}
!47 = distinct !{!47, !13}
!48 = !{!15, !6, i64 56}


; 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::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" }
%"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::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = 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.94" = type { %"struct.std::_Vector_base.95" }
%"struct.std::_Vector_base.95" = 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 [98 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.56 = 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.63 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.66 = 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: 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 @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; 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: 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 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_traitsIcESaIcEEEcRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32), 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 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: 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 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(64) %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::map.3", align 8
  %9 = alloca %"class.std::vector.61", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector.20", align 8
  %12 = alloca %"class.std::vector.94", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca float, align 4
  %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 %"struct.tinyobj::index_t", align 4
  %26 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %31 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::vector.20", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator", align 1
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = 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 @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN7tinyobj10material_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 @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 2)
          to label %45 unwind label %73

45:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  %46 = getelementptr inbounds i8, ptr %25, i64 4
  %47 = getelementptr inbounds i8, ptr %25, i64 8
  %48 = getelementptr inbounds i8, ptr %1, i64 24
  %49 = getelementptr inbounds i8, ptr %1, i64 8
  %50 = getelementptr inbounds i8, ptr %1, i64 16
  %51 = getelementptr inbounds i8, ptr %26, i64 16
  %.not145 = icmp ne ptr %4, null
  %52 = getelementptr inbounds i8, ptr %1, i64 32
  %.not129 = icmp eq ptr %3, null
  %.not134 = icmp eq ptr %4, null
  %.not135 = icmp eq ptr %5, null
  %53 = getelementptr inbounds i8, ptr %1, i64 40
  %54 = getelementptr inbounds i8, ptr %42, i64 16
  %55 = getelementptr inbounds i8, ptr %1, i64 56
  %56 = getelementptr inbounds i8, ptr %1, i64 48
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %45
  %57 = invoke noundef i32 @_ZNSi4peekEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %58 unwind label %75

58:                                               ; preds = %.outer
  %.not = icmp eq i32 %57, -1
  br i1 %.not, label %364, label %59

59:                                               ; preds = %58
  %60 = 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) %13)
          to label %61 unwind label %75

61:                                               ; preds = %59
  %62 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  %.not117 = icmp eq i64 %62, 0
  br i1 %.not117, label %77, label %63

63:                                               ; preds = %61
  %64 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  %65 = add i64 %64, -1
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %65)
  %67 = load i8, ptr %66, align 1, !tbaa !5
  %68 = icmp eq i8 %67, 10
  br i1 %68, label %69, label %77

69:                                               ; preds = %63
  %70 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  %71 = add i64 %70, -1
  %72 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %71, i64 noundef -1)
          to label %77 unwind label %75

73:                                               ; preds = %6
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %376

75:                                               ; preds = %85, %69, %59, %.outer
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %375

77:                                               ; preds = %63, %69, %61
  %78 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  %.not118 = icmp eq i64 %78, 0
  br i1 %.not118, label %89, label %79

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

85:                                               ; preds = %79
  %86 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  %87 = add i64 %86, -1
  %88 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5eraseEmm(ptr noundef nonnull align 8 dereferenceable(32) %13, i64 noundef %87, i64 noundef -1)
          to label %89 unwind label %75

89:                                               ; preds = %79, %85, %77
  %90 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br i1 %90, label %.outer.backedge, label %91

.outer.backedge:                                  ; preds = %89, %.thread174
  br label %.outer, !llvm.loop !8

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %92 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  store ptr %92, ptr %14, align 8, !tbaa !10
  %93 = call i64 @strspn(ptr noundef %92, ptr noundef nonnull @.str) #8
  %94 = getelementptr inbounds i8, ptr %92, i64 %93
  store ptr %94, ptr %14, align 8, !tbaa !10
  %.not119 = icmp eq ptr %92, null
  br i1 %.not119, label %95, label %96

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

96:                                               ; preds = %91
  %97 = load i8, ptr %94, align 1, !tbaa !5
  switch i8 %97, label %.thread173 [
    i8 0, label %.thread174
    i8 35, label %.thread174
    i8 118, label %98
    i8 102, label %141
  ]

98:                                               ; preds = %96
  %99 = getelementptr inbounds i8, ptr %94, i64 1
  %100 = load i8, ptr %99, align 1, !tbaa !5
  switch i8 %100, label %.thread173 [
    i8 32, label %101
    i8 9, label %101
    i8 110, label %113
    i8 116, label %127
  ]

101:                                              ; preds = %98, %98
  %102 = getelementptr inbounds i8, ptr %94, i64 2
  store ptr %102, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  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
  invoke void @_ZN7tinyobjL6parseVEPfS0_S0_S0_PPKcdddd(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %14, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
          to label %103 unwind label %110

103:                                              ; preds = %101
  %104 = load ptr, ptr %1, align 8, !tbaa !12
  %.not163 = icmp eq ptr %104, null
  br i1 %.not163, label %112, label %105

105:                                              ; preds = %103
  %106 = load float, ptr %15, align 4, !tbaa !14
  %107 = load float, ptr %16, align 4, !tbaa !14
  %108 = load float, ptr %17, align 4, !tbaa !14
  %109 = load float, ptr %18, align 4, !tbaa !14
  invoke void %104(ptr noundef %2, float noundef %106, float noundef %107, float noundef %108, float noundef %109)
          to label %112 unwind label %110

110:                                              ; preds = %105, %101
  %111 = landingpad { ptr, i32 }
          cleanup
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %363

112:                                              ; preds = %105, %103
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  br label %.thread174

113:                                              ; preds = %98
  %114 = getelementptr inbounds i8, ptr %94, i64 2
  %115 = load i8, ptr %114, align 1, !tbaa !5
  switch i8 %115, label %.thread173 [
    i8 32, label %116
    i8 9, label %116
  ]

116:                                              ; preds = %113, %113
  %117 = getelementptr inbounds i8, ptr %94, i64 3
  store ptr %117, ptr %14, align 8, !tbaa !10
  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
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %14, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %118 unwind label %124

118:                                              ; preds = %116
  %119 = load ptr, ptr %49, align 8, !tbaa !16
  %.not162 = icmp eq ptr %119, null
  br i1 %.not162, label %126, label %120

120:                                              ; preds = %118
  %121 = load float, ptr %19, align 4, !tbaa !14
  %122 = load float, ptr %20, align 4, !tbaa !14
  %123 = load float, ptr %21, align 4, !tbaa !14
  invoke void %119(ptr noundef %2, float noundef %121, float noundef %122, float noundef %123)
          to label %126 unwind label %124

124:                                              ; preds = %120, %116
  %125 = landingpad { ptr, i32 }
          cleanup
  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
  br label %363

126:                                              ; preds = %120, %118
  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
  br label %.thread174

127:                                              ; preds = %98
  %128 = getelementptr inbounds i8, ptr %94, i64 2
  %129 = load i8, ptr %128, align 1, !tbaa !5
  switch i8 %129, label %.thread173 [
    i8 32, label %130
    i8 9, label %130
  ]

130:                                              ; preds = %127, %127
  %131 = getelementptr inbounds i8, ptr %94, i64 3
  store ptr %131, ptr %14, 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 %14, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %132 unwind label %138

132:                                              ; preds = %130
  %133 = load ptr, ptr %50, align 8, !tbaa !17
  %.not161 = icmp eq ptr %133, null
  br i1 %.not161, label %140, label %134

134:                                              ; preds = %132
  %135 = load float, ptr %22, align 4, !tbaa !14
  %136 = load float, ptr %23, align 4, !tbaa !14
  %137 = load float, ptr %24, align 4, !tbaa !14
  invoke void %133(ptr noundef %2, float noundef %135, float noundef %136, float noundef %137)
          to label %140 unwind label %138

138:                                              ; preds = %134, %130
  %139 = 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 %363

140:                                              ; preds = %134, %132
  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 %.thread174

141:                                              ; preds = %96
  %142 = getelementptr inbounds i8, ptr %94, i64 1
  %143 = load i8, ptr %142, align 1, !tbaa !5
  switch i8 %143, label %.thread173 [
    i8 32, label %144
    i8 9, label %144
  ]

144:                                              ; preds = %141, %141
  %145 = getelementptr inbounds i8, ptr %94, i64 2
  store ptr %145, ptr %14, align 8, !tbaa !10
  %146 = call i64 @strspn(ptr noundef nonnull %145, ptr noundef nonnull @.str) #8
  %147 = getelementptr inbounds i8, ptr %145, i64 %146
  store ptr %147, ptr %14, align 8, !tbaa !10
  call void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %.pre = load ptr, ptr %14, align 8, !tbaa !10
  br label %148

148:                                              ; preds = %154, %144
  %149 = phi ptr [ %157, %154 ], [ %.pre, %144 ]
  %150 = load i8, ptr %149, align 1, !tbaa !5
  switch i8 %150, label %151 [
    i8 13, label %.critedge
    i8 10, label %.critedge
    i8 0, label %.critedge
  ]

151:                                              ; preds = %148
  %152 = invoke { i64, i32 } @_ZN7tinyobjL14parseRawTripleEPPKc(ptr noundef nonnull %14)
          to label %153 unwind label %158

153:                                              ; preds = %151
  %.fca.0.extract = extractvalue { i64, i32 } %152, 0
  %.fca.1.extract = extractvalue { i64, i32 } %152, 1
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #7
  %.sroa.012.0.extract.trunc = trunc i64 %.fca.0.extract to i32
  store i32 %.sroa.012.0.extract.trunc, ptr %25, align 4, !tbaa !18
  store i32 %.fca.1.extract, ptr %46, align 4, !tbaa !21
  %.sroa.012.4.extract.shift = lshr i64 %.fca.0.extract, 32
  %.sroa.012.4.extract.trunc = trunc nuw i64 %.sroa.012.4.extract.shift to i32
  store i32 %.sroa.012.4.extract.trunc, ptr %47, align 4, !tbaa !22
  invoke void @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %154 unwind label %160

154:                                              ; preds = %153
  %155 = load ptr, ptr %14, align 8, !tbaa !10
  %156 = call i64 @strspn(ptr noundef %155, ptr noundef nonnull @.str.12) #8
  %157 = getelementptr inbounds i8, ptr %155, i64 %156
  store ptr %157, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #7
  br label %148, !llvm.loop !23

158:                                              ; preds = %151
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %363

160:                                              ; preds = %153
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #7
  br label %363

.critedge:                                        ; preds = %148, %148, %148
  %162 = load ptr, ptr %48, align 8, !tbaa !24
  %.not157 = icmp eq ptr %162, null
  br i1 %.not157, label %.thread174, label %163, !llvm.loop !8

163:                                              ; preds = %.critedge
  %164 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %.not158 = icmp eq i64 %164, 0
  br i1 %.not158, label %.thread174, label %165, !llvm.loop !8

165:                                              ; preds = %163
  %166 = load ptr, ptr %48, align 8, !tbaa !24
  %167 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0)
          to label %168 unwind label %170

168:                                              ; preds = %165
  %169 = call noundef i64 @_ZNKSt6vectorIN7tinyobj7index_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %.invoke

170:                                              ; preds = %.invoke, %336, %._crit_edge, %319, %165
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %363

.thread173:                                       ; preds = %98, %113, %96, %127, %141
  %172 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %94, ptr noundef nonnull dereferenceable(1) @.str.51, i64 noundef 6) #8
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %174, label %226

174:                                              ; preds = %.thread173
  %175 = getelementptr inbounds i8, ptr %94, i64 6
  %176 = load i8, ptr %175, align 1, !tbaa !5
  switch i8 %176, label %226 [
    i8 32, label %177
    i8 9, label %177
  ]

177:                                              ; preds = %174, %174
  %178 = getelementptr inbounds i8, ptr %94, i64 7
  store ptr %178, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %26) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %26)
          to label %179 unwind label %192

179:                                              ; preds = %177
  %180 = load ptr, ptr %14, align 8, !tbaa !10
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef %180)
          to label %182 unwind label %194

182:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %27, ptr noundef nonnull align 8 dereferenceable(128) %26)
          to label %183 unwind label %196

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #7
  %184 = invoke ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %185 unwind label %198

185:                                              ; preds = %183
  store ptr %184, ptr %29, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  %186 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  store ptr %186, ptr %31, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEC2ERKSt17_Rb_tree_iteratorIS8_E(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %187 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEESB_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br i1 %187, label %188, label %200

188:                                              ; preds = %185
  %189 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  %190 = getelementptr inbounds i8, ptr %189, i64 32
  %191 = load i32, ptr %190, align 8, !tbaa !25
  br label %thread-pre-split

192:                                              ; preds = %177
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %225

194:                                              ; preds = %179
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %224

196:                                              ; preds = %182
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %223

198:                                              ; preds = %183
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  br label %222

200:                                              ; preds = %185
  %201 = load ptr, ptr %52, align 8
  %.not146 = icmp eq ptr %201, null
  %or.cond = select i1 %.not145, i1 %.not146, i1 false
  br i1 %or.cond, label %202, label %215

202:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #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 %33, ptr noundef nonnull @.str.63, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %203 unwind label %207

203:                                              ; preds = %202
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.64)
          to label %204 unwind label %209

204:                                              ; preds = %203
  %205 = 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) %32)
          to label %206 unwind label %211

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

207:                                              ; preds = %202
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %214

209:                                              ; preds = %203
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %213

211:                                              ; preds = %204
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %213

213:                                              ; preds = %211, %209
  %.pn147 = phi { ptr, i32 } [ %212, %211 ], [ %210, %209 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %214

214:                                              ; preds = %213, %207
  %.pn147.pn = phi { ptr, i32 } [ %.pn147, %213 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #7
  br label %222

thread-pre-split:                                 ; preds = %188, %206
  %.065.ph = phi i32 [ -1, %206 ], [ %191, %188 ]
  %.pr = load ptr, ptr %52, align 8, !tbaa !30
  br label %215

215:                                              ; preds = %thread-pre-split, %200
  %216 = phi ptr [ %.pr, %thread-pre-split ], [ %201, %200 ]
  %.065 = phi i32 [ %.065.ph, %thread-pre-split ], [ -1, %200 ]
  %.not151 = icmp eq ptr %216, null
  br i1 %.not151, label %221, label %217

217:                                              ; preds = %215
  %218 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  invoke void %216(ptr noundef %2, ptr noundef %218, i32 noundef %.065)
          to label %221 unwind label %219

219:                                              ; preds = %217
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %222

221:                                              ; preds = %217, %215
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %26) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %26) #7
  br label %.thread174

222:                                              ; preds = %219, %214, %198
  %.pn152 = phi { ptr, i32 } [ %220, %219 ], [ %.pn147.pn, %214 ], [ %199, %198 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %223

223:                                              ; preds = %222, %196
  %.pn152.pn = phi { ptr, i32 } [ %.pn152, %222 ], [ %197, %196 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  br label %224

224:                                              ; preds = %223, %194
  %.pn152.pn.pn = phi { ptr, i32 } [ %.pn152.pn, %223 ], [ %195, %194 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %26) #7
  br label %225

225:                                              ; preds = %224, %192
  %.pn152.pn.pn.pn = phi { ptr, i32 } [ %.pn152.pn.pn, %224 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %26) #7
  br label %363

226:                                              ; preds = %174, %.thread173
  %227 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %94, ptr noundef nonnull dereferenceable(1) @.str.54, i64 noundef 6) #8
  %228 = icmp eq i32 %227, 0
  br i1 %228, label %229, label %293

229:                                              ; preds = %226
  %230 = getelementptr inbounds i8, ptr %94, i64 6
  %231 = load i8, ptr %230, align 1, !tbaa !5
  switch i8 %231, label %293 [
    i8 32, label %232
    i8 9, label %232
  ]

232:                                              ; preds = %229, %229
  br i1 %.not129, label %.thread174, label %233, !llvm.loop !8

233:                                              ; preds = %232
  %234 = getelementptr inbounds i8, ptr %94, i64 7
  store ptr %234, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #7
  %235 = load ptr, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef %235, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %236 unwind label %243

236:                                              ; preds = %233
  invoke void @_ZN7tinyobjL11SplitStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcRSt6vectorIS5_SaIS5_EE(ptr noundef nonnull align 8 dereferenceable(32) %35, i8 noundef signext 32, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %237 unwind label %245

237:                                              ; preds = %236
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  %238 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  br i1 %238, label %240, label %.preheader177

.preheader177:                                    ; preds = %237
  %239 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  %.not181 = icmp eq i64 %239, 0
  br i1 %.not181, label %.critedge176, label %.lr.ph

240:                                              ; preds = %237
  br i1 %.not134, label %291, label %241

241:                                              ; preds = %240
  %242 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.65)
          to label %291 unwind label %248

243:                                              ; preds = %233
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %247

245:                                              ; preds = %236
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %247

247:                                              ; preds = %245, %243
  %.pn130 = phi { ptr, i32 } [ %246, %245 ], [ %244, %243 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  br label %292

248:                                              ; preds = %241
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %292

250:                                              ; preds = %278
  %251 = add nuw i64 %.061178, 1
  %252 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  %253 = icmp ult i64 %251, %252
  br i1 %253, label %.lr.ph, label %.critedge176, !llvm.loop !31

.lr.ph:                                           ; preds = %.preheader177, %250
  %.061178 = phi i64 [ %251, %250 ], [ 0, %.preheader177 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #7
  %254 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.061178) #7
  %255 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %254) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef %255, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %256 unwind label %266

256:                                              ; preds = %.lr.ph
  %257 = load ptr, ptr %3, align 8, !tbaa !32
  %258 = getelementptr inbounds i8, ptr %257, i64 16
  %259 = load ptr, ptr %258, align 8
  %260 = invoke noundef zeroext i1 %259(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %37, ptr noundef nonnull %38)
          to label %261 unwind label %268

261:                                              ; preds = %256
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #7
  br i1 %.not134, label %273, label %262

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

264:                                              ; preds = %262
  %265 = 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) %37)
          to label %273 unwind label %271

266:                                              ; preds = %.lr.ph
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %270

268:                                              ; preds = %256
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br label %270

270:                                              ; preds = %268, %266
  %.pn132 = phi { ptr, i32 } [ %269, %268 ], [ %267, %266 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #7
  br label %279

271:                                              ; preds = %276, %264
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %279

273:                                              ; preds = %264, %262, %261
  br i1 %.not135, label %278, label %274

274:                                              ; preds = %273
  %275 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br i1 %275, label %278, label %276

276:                                              ; preds = %274
  %277 = 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) %38)
          to label %278 unwind label %271

278:                                              ; preds = %276, %274, %273
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #7
  br i1 %260, label %284, label %250

279:                                              ; preds = %271, %270
  %.pn136 = phi { ptr, i32 } [ %272, %271 ], [ %.pn132, %270 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #7
  br label %292

.critedge176:                                     ; preds = %250, %.preheader177
  br i1 %.not134, label %291, label %280

280:                                              ; preds = %.critedge176
  %281 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.56)
          to label %291 unwind label %282

282:                                              ; preds = %288, %286, %280
  %283 = landingpad { ptr, i32 }
          cleanup
  br label %292

284:                                              ; preds = %278
  %285 = load ptr, ptr %53, align 8, !tbaa !34
  %.not139 = icmp eq ptr %285, null
  br i1 %.not139, label %291, label %286

286:                                              ; preds = %284
  %287 = invoke noundef nonnull align 8 dereferenceable(1864) ptr @_ZNSt6vectorIN7tinyobj10material_tESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0)
          to label %288 unwind label %282

288:                                              ; preds = %286
  %289 = call noundef i64 @_ZNKSt6vectorIN7tinyobj10material_tESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %290 = trunc i64 %289 to i32
  invoke void %285(ptr noundef %2, ptr noundef nonnull %287, i32 noundef %290)
          to label %291 unwind label %282

291:                                              ; preds = %280, %.critedge176, %288, %284, %240, %241
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  br label %.thread174, !llvm.loop !8

292:                                              ; preds = %279, %282, %248, %247
  %.pn143 = phi { ptr, i32 } [ %249, %248 ], [ %.pn130, %247 ], [ %283, %282 ], [ %.pn136, %279 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  br label %363

293:                                              ; preds = %229, %226
  switch i8 %97, label %.thread174 [
    i8 103, label %294
    i8 111, label %338
  ]

294:                                              ; preds = %293
  %295 = getelementptr inbounds i8, ptr %94, i64 1
  %296 = load i8, ptr %295, align 1, !tbaa !5
  switch i8 %296, label %.thread174 [
    i8 32, label %297
    i8 9, label %297
  ]

297:                                              ; preds = %294, %294
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %298

298:                                              ; preds = %303, %297
  %299 = load ptr, ptr %14, align 8, !tbaa !10
  %300 = load i8, ptr %299, align 1, !tbaa !5
  switch i8 %300, label %301 [
    i8 13, label %.critedge171
    i8 10, label %.critedge171
    i8 0, label %.critedge171
  ]

301:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %41) #7
  invoke void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef nonnull %14)
          to label %302 unwind label %307

302:                                              ; preds = %301
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %303 unwind label %309

303:                                              ; preds = %302
  %304 = load ptr, ptr %14, align 8, !tbaa !10
  %305 = call i64 @strspn(ptr noundef %304, ptr noundef nonnull @.str.12) #8
  %306 = getelementptr inbounds i8, ptr %304, i64 %305
  store ptr %306, ptr %14, align 8, !tbaa !10
  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
  br label %298, !llvm.loop !35

307:                                              ; preds = %301
  %308 = landingpad { ptr, i32 }
          cleanup
  br label %311

309:                                              ; preds = %302
  %310 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  br label %311

311:                                              ; preds = %309, %307
  %.pn127 = phi { ptr, i32 } [ %310, %309 ], [ %308, %307 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #7
  br label %363

.critedge171:                                     ; preds = %298, %298, %298
  %312 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %.not125 = icmp eq i64 %312, 0
  br i1 %.not125, label %313, label %314

313:                                              ; preds = %.critedge171
  call void @__assert_fail(ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.16, i32 noundef 3377, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7tinyobj19LoadObjWithCallbackERSiRKNS_10callback_tEPvPNS_14MaterialReaderEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_) #9
  unreachable

314:                                              ; preds = %.critedge171
  %315 = load ptr, ptr %56, align 8, !tbaa !36
  %.not126 = icmp eq ptr %315, null
  br i1 %.not126, label %.thread174, label %316, !llvm.loop !8

316:                                              ; preds = %314
  %317 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %318 = icmp ugt i64 %317, 1
  br i1 %318, label %319, label %336

319:                                              ; preds = %316
  %320 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %321 = add i64 %320, -1
  invoke void @_ZNSt6vectorIPKcSaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %321)
          to label %.preheader unwind label %170

.preheader:                                       ; preds = %319
  %322 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %.not182 = icmp eq i64 %322, 0
  br i1 %.not182, label %._crit_edge, label %.lr.ph180

._crit_edge:                                      ; preds = %.lr.ph180, %.preheader
  %323 = load ptr, ptr %56, align 8, !tbaa !36
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0)
          to label %331 unwind label %170

.lr.ph180:                                        ; preds = %.preheader, %.lr.ph180
  %.0179 = phi i64 [ %325, %.lr.ph180 ], [ 0, %.preheader ]
  %325 = add nuw i64 %.0179, 1
  %326 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %325) #7
  %327 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %326) #7
  %328 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKcSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.0179) #7
  store ptr %327, ptr %328, align 8, !tbaa !10
  %329 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %330 = icmp ult i64 %325, %329
  br i1 %330, label %.lr.ph180, label %._crit_edge, !llvm.loop !37

331:                                              ; preds = %._crit_edge
  %332 = call noundef i64 @_ZNKSt6vectorIPKcSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br label %.invoke

.invoke:                                          ; preds = %168, %331
  %.sink = phi i64 [ %169, %168 ], [ %332, %331 ]
  %333 = phi ptr [ %167, %168 ], [ %324, %331 ]
  %334 = phi ptr [ %166, %168 ], [ %323, %331 ]
  %335 = trunc i64 %.sink to i32
  invoke void %334(ptr noundef %2, ptr noundef nonnull %333, i32 noundef %335)
          to label %.thread174 unwind label %170, !llvm.loop !8

336:                                              ; preds = %316
  %337 = load ptr, ptr %56, align 8, !tbaa !36
  invoke void %337(ptr noundef %2, ptr noundef null, i32 noundef 0)
          to label %.thread174 unwind label %170, !llvm.loop !8

338:                                              ; preds = %293
  %339 = getelementptr inbounds i8, ptr %94, i64 1
  %340 = load i8, ptr %339, align 1, !tbaa !5
  switch i8 %340, label %.thread174 [
    i8 32, label %341
    i8 9, label %341
  ]

341:                                              ; preds = %338, %338
  %342 = getelementptr inbounds i8, ptr %94, i64 2
  store ptr %342, ptr %14, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %42) #7
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %42)
          to label %343 unwind label %351

343:                                              ; preds = %341
  %344 = load ptr, ptr %14, align 8, !tbaa !10
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef %344)
          to label %346 unwind label %353

346:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %43, ptr noundef nonnull align 8 dereferenceable(128) %42)
          to label %347 unwind label %355

347:                                              ; preds = %346
  %348 = load ptr, ptr %55, align 8, !tbaa !38
  %.not120 = icmp eq ptr %348, null
  br i1 %.not120, label %359, label %349

349:                                              ; preds = %347
  %350 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  invoke void %348(ptr noundef %2, ptr noundef %350)
          to label %359 unwind label %357

351:                                              ; preds = %341
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %362

353:                                              ; preds = %343
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %361

355:                                              ; preds = %346
  %356 = landingpad { ptr, i32 }
          cleanup
  br label %360

357:                                              ; preds = %349
  %358 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  br label %360

359:                                              ; preds = %349, %347
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %42) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %42) #7
  br label %.thread174

360:                                              ; preds = %357, %355
  %.pn121 = phi { ptr, i32 } [ %358, %357 ], [ %356, %355 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #7
  br label %361

361:                                              ; preds = %360, %353
  %.pn121.pn = phi { ptr, i32 } [ %.pn121, %360 ], [ %354, %353 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %42) #7
  br label %362

362:                                              ; preds = %361, %351
  %.pn121.pn.pn = phi { ptr, i32 } [ %.pn121.pn, %361 ], [ %352, %351 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %42) #7
  br label %363

.thread174:                                       ; preds = %.invoke, %293, %96, %96, %294, %338, %314, %336, %232, %291, %.critedge, %163, %359, %221, %140, %126, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %.outer.backedge

363:                                              ; preds = %158, %160, %362, %311, %292, %225, %170, %138, %124, %110
  %.pn164 = phi { ptr, i32 } [ %111, %110 ], [ %125, %124 ], [ %139, %138 ], [ %171, %170 ], [ %.pn152.pn.pn.pn, %225 ], [ %.pn143, %292 ], [ %.pn127, %311 ], [ %.pn121.pn.pn, %362 ], [ %161, %160 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %375

364:                                              ; preds = %58
  br i1 %.not135, label %374, label %365

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

366:                                              ; preds = %365
  %367 = 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) %44)
          to label %368 unwind label %371

368:                                              ; preds = %366
  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 %374

369:                                              ; preds = %365
  %370 = landingpad { ptr, i32 }
          cleanup
  br label %373

371:                                              ; preds = %366
  %372 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  br label %373

373:                                              ; preds = %371, %369
  %.pn = phi { ptr, i32 } [ %372, %371 ], [ %370, %369 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #7
  br label %375

374:                                              ; preds = %368, %364
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN7tinyobj10material_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 @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(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

375:                                              ; preds = %373, %363, %75
  %.pn164.pn = phi { ptr, i32 } [ %.pn164, %363 ], [ %76, %75 ], [ %.pn, %373 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt6vectorIPKcSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %376

376:                                              ; preds = %375, %73
  %.pn164.pn.pn = phi { ptr, i32 } [ %.pn164.pn, %375 ], [ %74, %73 ]
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN7tinyobj10material_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 @_ZNSt6vectorIN7tinyobj7index_tESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEED2Ev(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 } %.pn164.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: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL6parseVEPfS0_S0_S0_PPKcdddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #3

; 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}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !6, i64 0}
!16 = !{!13, !11, i64 8}
!17 = !{!13, !11, i64 16}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTSN7tinyobj7index_tE", !20, i64 0, !20, i64 4, !20, i64 8}
!20 = !{!"int", !6, i64 0}
!21 = !{!19, !20, i64 4}
!22 = !{!19, !20, i64 8}
!23 = distinct !{!23, !9}
!24 = !{!13, !11, i64 24}
!25 = !{!26, !20, i64 32}
!26 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiE", !27, i64 0, !20, i64 32}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !29, i64 8, !6, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!29 = !{!"long", !6, i64 0}
!30 = !{!13, !11, i64 32}
!31 = distinct !{!31, !9}
!32 = !{!33, !33, i64 0}
!33 = !{!"vtable pointer", !7, i64 0}
!34 = !{!13, !11, i64 40}
!35 = distinct !{!35, !9}
!36 = !{!13, !11, i64 48}
!37 = distinct !{!37, !9}
!38 = !{!13, !11, i64 56}


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