; LLVM IR from goldest-star/seawave-animation :: src/vcl/shape/mesh/mesh_loader/obj (obj)

; 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"

%"struct.vcl::mesh" = type { %"struct.vcl::buffer", %"struct.vcl::buffer", %"struct.vcl::buffer.0", %"struct.vcl::buffer.6", %"struct.vcl::buffer.12" }
%"struct.vcl::buffer" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.0" = type { %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.6" = type { %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.12" = type { %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::allocator.24" = type { i8 }
%"struct.vcl::buffer.27" = type { %"class.std::vector.28" }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.33" = type { %"class.std::vector.34" }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::array<int, 3>, std::pair<const std::array<int, 3>, int>, std::_Select1st<std::pair<const std::array<int, 3>, int>>, vcl::comparator_int3>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::array<int, 3>, std::pair<const std::array<int, 3>, int>, std::_Select1st<std::pair<const std::array<int, 3>, int>>, vcl::comparator_int3>::_Rb_tree_impl" = type { %"struct.std::_Rb_tree_key_compare", %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_key_compare" = type { %"struct.vcl::comparator_int3" }
%"struct.vcl::comparator_int3" = type { i64 }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.vcl::mesh", %"class.std::map" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.42", %"struct.std::_Head_base.43" }
%"struct.std::_Tuple_impl.42" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.43" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.44" = type { %"struct.std::array", i32 }
%"struct.std::array" = type { [3 x i32] }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [107 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vcl18mesh_load_file_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_6bufferINS8_IiEEEE = external hidden unnamed_addr constant [73 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 uwtable
define dso_local void @_ZN3vcl18mesh_load_file_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_6bufferINS8_IiEEEE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::mesh") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.vcl::buffer", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.vcl::buffer.6", align 8
  %12 = alloca %"class.std::vector.7", align 8
  %13 = alloca %"struct.vcl::buffer", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.24", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.24", align 1
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.24", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"struct.vcl::buffer.27", align 8
  %27 = alloca %"struct.vcl::buffer.33", align 8
  %28 = alloca i1, align 1
  %29 = alloca %"class.std::map", align 8
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca %"class.std::tuple", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vcl17assert_file_existERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %38)
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3vcl6loader18obj_read_positionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %39)
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ERKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %40 unwind label %62

40:                                               ; preds = %3
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN3vcl6loader19obj_read_texture_uvERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector.7") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %42 unwind label %66

42:                                               ; preds = %40
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEEC2ERKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %43 unwind label %70

43:                                               ; preds = %42
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN3vcl6loader16obj_read_normalsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %45 unwind label %75

45:                                               ; preds = %43
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ERKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %46 unwind label %79

46:                                               ; preds = %45
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  %47 = invoke noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %48 unwind label %84

48:                                               ; preds = %46
  %49 = icmp ugt i64 %47, 0
  %50 = zext i1 %49 to i32
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %52, label %127

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %53 unwind label %88

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  invoke void @_ZN3vcl3strIA6_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 1 dereferenceable(6) @.str.1)
          to label %54 unwind label %92

54:                                               ; preds = %53
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %56 unwind label %96

56:                                               ; preds = %54
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.2)
          to label %57 unwind label %100

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %58 unwind label %104

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @__PRETTY_FUNCTION__._ZN3vcl18mesh_load_file_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_6bufferINS8_IiEEEE, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %59 unwind label %108

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #7
  invoke void @_ZN3vcl9backtraceB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %24, i32 noundef 1)
          to label %60 unwind label %112

60:                                               ; preds = %59
  invoke void @_ZN3vcl10call_errorENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_iRKS5_(ptr noundef %15, ptr noundef %17, ptr noundef %20, ptr noundef %22, i32 noundef 60, ptr noundef nonnull align 8 dereferenceable(32) %24) #8
          to label %61 unwind label %116

61:                                               ; preds = %60
  unreachable

62:                                               ; preds = %3
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %9, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %10, align 4
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  br label %232

66:                                               ; preds = %40
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %9, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %10, align 4
  br label %74

70:                                               ; preds = %42
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %9, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %10, align 4
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br label %74

74:                                               ; preds = %70, %66
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  br label %231

75:                                               ; preds = %43
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  br label %83

79:                                               ; preds = %45
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %9, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %10, align 4
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %83

83:                                               ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  br label %230

84:                                               ; preds = %46
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %9, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %10, align 4
  br label %229

88:                                               ; preds = %52
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %9, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %10, align 4
  br label %126

92:                                               ; preds = %53
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  br label %125

96:                                               ; preds = %54
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  br label %124

100:                                              ; preds = %56
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  br label %123

104:                                              ; preds = %57
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %9, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %10, align 4
  br label %122

108:                                              ; preds = %58
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %9, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %10, align 4
  br label %121

112:                                              ; preds = %59
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %9, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %10, align 4
  br label %120

116:                                              ; preds = %60
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %9, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %120

120:                                              ; preds = %116, %112
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %121

121:                                              ; preds = %120, %108
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %122

122:                                              ; preds = %121, %104
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %123

123:                                              ; preds = %122, %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %124

124:                                              ; preds = %123, %96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %125

125:                                              ; preds = %124, %92
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %126

126:                                              ; preds = %125, %88
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %229

127:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !9
  %128 = invoke noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm2EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %129 unwind label %136

129:                                              ; preds = %127
  %130 = icmp ugt i64 %128, 0
  br i1 %130, label %131, label %140

131:                                              ; preds = %129
  %132 = invoke noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %133 unwind label %136

133:                                              ; preds = %131
  %134 = icmp ugt i64 %132, 0
  br i1 %134, label %135, label %140

135:                                              ; preds = %133
  store i32 2, ptr %25, align 4, !tbaa !9
  br label %152

136:                                              ; preds = %145, %140, %131, %127
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %9, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %10, align 4
  br label %228

140:                                              ; preds = %133, %129
  %141 = invoke noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm2EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %142 unwind label %136

142:                                              ; preds = %140
  %143 = icmp ugt i64 %141, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %142
  store i32 1, ptr %25, align 4, !tbaa !9
  br label %151

145:                                              ; preds = %142
  %146 = invoke noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %147 unwind label %136

147:                                              ; preds = %145
  %148 = icmp ugt i64 %146, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %147
  store i32 3, ptr %25, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %149, %147
  br label %151

151:                                              ; preds = %150, %144
  br label %152

152:                                              ; preds = %151, %135
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = load i32, ptr %25, align 4, !tbaa !9
  invoke void @_ZN3vcl6loader14obj_read_facesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8obj_typeE(ptr dead_on_unwind writable sret(%"struct.vcl::buffer.33") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %153, i32 noundef %154)
          to label %155 unwind label %175

155:                                              ; preds = %152
  invoke void @_ZN3vclL17triangulate_facesENS_6bufferINS0_ISt5arrayIiLm3EEEEEE(ptr dead_on_unwind writable sret(%"struct.vcl::buffer.27") align 8 %26, ptr noundef %27)
          to label %156 unwind label %179

156:                                              ; preds = %155
  call void @_ZN3vcl6bufferINS0_ISt5arrayIiLm3EEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  store i1 false, ptr %28, align 1
  invoke void @_ZN3vcl4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %157 unwind label %183

157:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #7
  invoke void @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %158 unwind label %187

158:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 168, ptr %30) #7
  %159 = load i32, ptr %25, align 4, !tbaa !9
  invoke void @_ZN3vclL31make_unique_parameter_per_valueERKNS_6bufferINS_12buffer_stackIfLm3EEEEERKNS0_INS1_IfLm2EEEEES5_RKNS0_INS1_ISt5arrayIiLm3EELm3EEEEENS_6loader8obj_typeE(ptr dead_on_unwind writable sret(%"struct.std::pair") align 8 %30, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %159)
          to label %160 unwind label %191

160:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  call void @_ZSt3tieIJN3vcl4meshESt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS4_iEEEEESt5tupleIJDpRT_EESE_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 8 %31, ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  %161 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN3vcl4meshERSt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS5_iEEEEEaSIS1_SB_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSD_E4typeEOS7_ISG_SH_E(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(168) %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  call void @_ZNSt4pairIN3vcl4meshESt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaIS_IKS4_iEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %30) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %30) #7
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = invoke noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %164 unwind label %195

164:                                              ; preds = %160
  invoke void @_ZN3vcl6bufferINS0_IiEEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %163)
          to label %165 unwind label %195

165:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  store ptr %29, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %166 = load ptr, ptr %32, align 8, !tbaa !5
  %167 = call ptr @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %166) #7
  %168 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %33, i32 0, i32 0
  store ptr %167, ptr %168, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %169 = load ptr, ptr %32, align 8, !tbaa !5
  %170 = call ptr @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %169) #7
  %171 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %34, i32 0, i32 0
  store ptr %170, ptr %171, align 8
  br label %172

172:                                              ; preds = %214, %165
  %173 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEES7_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br i1 %173, label %199, label %174

174:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %220

175:                                              ; preds = %152
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %9, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %10, align 4
  br label %227

179:                                              ; preds = %155
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %9, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %10, align 4
  call void @_ZN3vcl6bufferINS0_ISt5arrayIiLm3EEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  br label %227

183:                                              ; preds = %156
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %9, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %10, align 4
  br label %226

187:                                              ; preds = %157
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %9, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %10, align 4
  br label %223

191:                                              ; preds = %158
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %9, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 168, ptr %30) #7
  br label %222

195:                                              ; preds = %164, %160
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %9, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %10, align 4
  br label %222

199:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %200 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  store ptr %200, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  %201 = load ptr, ptr %35, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.std::pair.44", ptr %201, i32 0, i32 0
  %203 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %202, i64 noundef 0) #7
  %204 = load i32, ptr %203, align 4, !tbaa !11
  store i32 %204, ptr %36, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %205 = load ptr, ptr %35, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.std::pair.44", ptr %205, i32 0, i32 1
  %207 = load i32, ptr %206, align 4, !tbaa !13
  store i32 %207, ptr %37, align 4, !tbaa !11
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = load i32, ptr %36, align 4, !tbaa !11
  %210 = sext i32 %209 to i64
  %211 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS0_IiEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %210)
          to label %212 unwind label %216

212:                                              ; preds = %199
  invoke void @_ZN3vcl6bufferIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %211, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %213 unwind label %216

213:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %214

214:                                              ; preds = %213
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br label %172

216:                                              ; preds = %212, %199
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %9, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %222

220:                                              ; preds = %174
  store i1 true, ptr %28, align 1
  call void @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  %221 = load i1, ptr %28, align 1
  br i1 %221, label %225, label %224

222:                                              ; preds = %216, %195, %191
  call void @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  br label %223

223:                                              ; preds = %222, %187
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  call void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  br label %226

224:                                              ; preds = %220
  call void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  br label %225

225:                                              ; preds = %224, %220
  call void @_ZN3vcl6bufferINS_12buffer_stackISt5arrayIiLm3EELm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  ret void

226:                                              ; preds = %223, %183
  call void @_ZN3vcl6bufferINS_12buffer_stackISt5arrayIiLm3EELm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %227

227:                                              ; preds = %226, %179, %175
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %228

228:                                              ; preds = %227, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %229

229:                                              ; preds = %228, %126, %84
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %230

230:                                              ; preds = %229, %83
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %231

231:                                              ; preds = %230, %74
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %232

232:                                              ; preds = %231, %62
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %233

233:                                              ; preds = %232
  %234 = load ptr, ptr %9, align 8
  %235 = load i32, ptr %10, align 4
  %236 = insertvalue { ptr, i32 } poison, ptr %234, 0
  %237 = insertvalue { ptr, i32 } %236, i32 %235, 1
  resume { ptr, i32 } %237
}

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN3vcl17assert_file_existERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vcl6loader19obj_read_texture_uvERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.7") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1

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

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

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

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

; Function Attrs: noreturn
declare void @_ZN3vcl10call_errorENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_iRKS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

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

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

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

declare void @_ZN3vcl9backtraceB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vclL17triangulate_facesENS_6bufferINS0_ISt5arrayIiLm3EEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::buffer.27") align 8, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vcl6loader14obj_read_facesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8obj_typeE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::buffer.33") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #1

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vclL31make_unique_parameter_per_valueERKNS_6bufferINS_12buffer_stackIfLm3EEEEERKNS0_INS1_IfLm2EEEEES5_RKNS0_INS1_ISt5arrayIiLm3EELm3EEEEENS_6loader8obj_typeE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJN3vcl4meshESt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS4_iEEEEESt5tupleIJDpRT_EESE_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(48)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN3vcl4meshERSt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS5_iEEEEEaSIS1_SB_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSD_E4typeEOS7_ISG_SH_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(168)) #4 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!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 = !{!"_ZTSN3vcl6loader8obj_typeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 12}
!14 = !{!"_ZTSSt4pairIKSt5arrayIiLm3EEiE", !15, i64 0, !12, i64 12}
!15 = !{!"_ZTSSt5arrayIiLm3EE", !7, i64 0}


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

%"struct.vcl::mesh" = type { %"struct.vcl::buffer", %"struct.vcl::buffer", %"struct.vcl::buffer.0", %"struct.vcl::buffer.6", %"struct.vcl::buffer.12" }
%"struct.vcl::buffer" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.0" = type { %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.6" = type { %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.12" = type { %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::allocator.24" = type { i8 }
%"struct.vcl::buffer.27" = type { %"class.std::vector.28" }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<std::array<int, 3>, 3>, std::allocator<vcl::buffer_stack<std::array<int, 3>, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.33" = type { %"class.std::vector.34" }
%"class.std::vector.34" = type { %"struct.std::_Vector_base.35" }
%"struct.std::_Vector_base.35" = type { %"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer<std::array<int, 3>>, std::allocator<vcl::buffer<std::array<int, 3>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::array<int, 3>, std::pair<const std::array<int, 3>, int>, std::_Select1st<std::pair<const std::array<int, 3>, int>>, vcl::comparator_int3>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::array<int, 3>, std::pair<const std::array<int, 3>, int>, std::_Select1st<std::pair<const std::array<int, 3>, int>>, vcl::comparator_int3>::_Rb_tree_impl" = type { %"struct.std::_Rb_tree_key_compare", %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_key_compare" = type { %"struct.vcl::comparator_int3" }
%"struct.vcl::comparator_int3" = type { i64 }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.vcl::mesh", %"class.std::map" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.42", %"struct.std::_Head_base.43" }
%"struct.std::_Tuple_impl.42" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { ptr }
%"struct.std::_Head_base.43" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [107 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vcl18mesh_load_file_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_6bufferINS8_IiEEEE = external hidden unnamed_addr constant [73 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 uwtable
define dso_local void @_ZN3vcl18mesh_load_file_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_6bufferINS8_IiEEEE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::mesh") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.vcl::buffer", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"struct.vcl::buffer.6", align 8
  %7 = alloca %"class.std::vector.7", align 8
  %8 = alloca %"struct.vcl::buffer", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.24", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.24", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.24", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"struct.vcl::buffer.27", align 8
  %21 = alloca %"struct.vcl::buffer.33", align 8
  %22 = alloca %"class.std::map", align 8
  %23 = alloca %"struct.std::pair", align 8
  %24 = alloca %"class.std::tuple", align 8
  %25 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %26 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %27 = alloca i32, align 4
  tail call void @_ZN3vcl17assert_file_existERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZN3vcl6loader18obj_read_positionsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %1)
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ERKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %28 unwind label %43

28:                                               ; preds = %3
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  invoke void @_ZN3vcl6loader19obj_read_texture_uvERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.7") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %29 unwind label %45

29:                                               ; preds = %28
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEEC2ERKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %30 unwind label %47

30:                                               ; preds = %29
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  invoke void @_ZN3vcl6loader16obj_read_normalsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %31 unwind label %50

31:                                               ; preds = %30
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ERKSt6vectorIS2_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %32 unwind label %52

32:                                               ; preds = %31
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  %33 = call noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %.not = icmp eq i64 %33, 0
  br i1 %.not, label %34, label %78

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %35 unwind label %55

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  invoke void @_ZN3vcl3strIA6_cEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 1 dereferenceable(6) @.str.1)
          to label %36 unwind label %57

36:                                               ; preds = %35
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %37 unwind label %59

37:                                               ; preds = %36
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.2)
          to label %38 unwind label %61

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %39 unwind label %63

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vcl18mesh_load_file_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_6bufferINS8_IiEEEE, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %40 unwind label %65

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #7
  invoke void @_ZN3vcl9backtraceB5cxx11Ei(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %19, i32 noundef 1)
          to label %41 unwind label %67

41:                                               ; preds = %40
  invoke void @_ZN3vcl10call_errorENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_iRKS5_(ptr noundef nonnull %10, ptr noundef nonnull %12, ptr noundef nonnull %15, ptr noundef nonnull %17, i32 noundef 60, ptr noundef nonnull align 8 dereferenceable(32) %19) #8
          to label %42 unwind label %69

42:                                               ; preds = %41
  unreachable

43:                                               ; preds = %3
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %130

45:                                               ; preds = %28
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %49

47:                                               ; preds = %29
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm2EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %49

49:                                               ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %129

50:                                               ; preds = %30
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %31
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3vcl12buffer_stackIfLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %54

54:                                               ; preds = %52, %50
  %.pn36 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  br label %128

55:                                               ; preds = %34
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %77

57:                                               ; preds = %35
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %76

59:                                               ; preds = %36
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %75

61:                                               ; preds = %37
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %74

63:                                               ; preds = %38
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %73

65:                                               ; preds = %39
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %72

67:                                               ; preds = %40
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %41
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %71

71:                                               ; preds = %69, %67
  %.pn47 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %72

72:                                               ; preds = %71, %65
  %.pn47.pn = phi { ptr, i32 } [ %.pn47, %71 ], [ %66, %65 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %73

73:                                               ; preds = %72, %63
  %.pn47.pn.pn = phi { ptr, i32 } [ %.pn47.pn, %72 ], [ %64, %63 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %74

74:                                               ; preds = %73, %61
  %.pn47.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn, %73 ], [ %62, %61 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %75

75:                                               ; preds = %74, %59
  %.pn47.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn, %74 ], [ %60, %59 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %76

76:                                               ; preds = %75, %57
  %.pn47.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn.pn, %75 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %77

77:                                               ; preds = %76, %55
  %.pn47.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn.pn.pn, %76 ], [ %56, %55 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %127

78:                                               ; preds = %32
  %79 = call noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm2EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
  %.not38 = icmp eq i64 %79, 0
  br i1 %.not38, label %82, label %80

80:                                               ; preds = %78
  %81 = call noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %.not39 = icmp eq i64 %81, 0
  br i1 %.not39, label %82, label %86

82:                                               ; preds = %80, %78
  %83 = call noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm2EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
  %.not40 = icmp eq i64 %83, 0
  br i1 %.not40, label %84, label %86

84:                                               ; preds = %82
  %85 = call noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %.not41 = icmp eq i64 %85, 0
  %spec.select = select i1 %.not41, i32 0, i32 3
  br label %86

86:                                               ; preds = %84, %82, %80
  %.034 = phi i32 [ 2, %80 ], [ 1, %82 ], [ %spec.select, %84 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  invoke void @_ZN3vcl6loader14obj_read_facesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8obj_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.vcl::buffer.33") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.034)
          to label %87 unwind label %98

87:                                               ; preds = %86
  invoke void @_ZN3vclL17triangulate_facesENS_6bufferINS0_ISt5arrayIiLm3EEEEEE(ptr dead_on_unwind nonnull writable sret(%"struct.vcl::buffer.27") align 8 %20, ptr noundef nonnull %21)
          to label %88 unwind label %100

88:                                               ; preds = %87
  call void @_ZN3vcl6bufferINS0_ISt5arrayIiLm3EEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  invoke void @_ZN3vcl4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %89 unwind label %102

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #7
  invoke void @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %90 unwind label %104

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %23) #7
  invoke void @_ZN3vclL31make_unique_parameter_per_valueERKNS_6bufferINS_12buffer_stackIfLm3EEEEERKNS0_INS1_IfLm2EEEEES5_RKNS0_INS1_ISt5arrayIiLm3EELm3EEEEENS_6loader8obj_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %20, i32 noundef %.034)
          to label %91 unwind label %106

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @_ZSt3tieIJN3vcl4meshESt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS4_iEEEEESt5tupleIJDpRT_EESE_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 8 %24, ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN3vcl4meshERSt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS5_iEEEEEaSIS1_SB_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSD_E4typeEOS7_ISG_SH_E(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(168) %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @_ZNSt4pairIN3vcl4meshESt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaIS_IKS4_iEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %23) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %23) #7
  %93 = call noundef i64 @_ZNK3vcl6bufferINS_12buffer_stackIfLm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  invoke void @_ZN3vcl6bufferINS0_IiEEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %93)
          to label %94 unwind label %108

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %95 = call ptr @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  store ptr %95, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %96 = call ptr @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  store ptr %96, ptr %26, align 8
  %97 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %97, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %118, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackISt5arrayIiLm3EELm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  ret void

98:                                               ; preds = %86
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %126

100:                                              ; preds = %87
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3vcl6bufferINS0_ISt5arrayIiLm3EEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  br label %126

102:                                              ; preds = %88
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %125

104:                                              ; preds = %89
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %124

106:                                              ; preds = %90
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %23) #7
  br label %123

108:                                              ; preds = %91
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %123

.lr.ph:                                           ; preds = %94, %118
  %110 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm3EEixEm(ptr noundef nonnull align 4 dereferenceable(12) %110, i64 noundef 0) #7
  %112 = load i32, ptr %111, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #7
  %113 = getelementptr inbounds i8, ptr %110, i64 12
  %114 = load i32, ptr %113, align 4, !tbaa !9
  store i32 %114, ptr %27, align 4, !tbaa !5
  %115 = sext i32 %112 to i64
  %116 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS0_IiEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %115)
          to label %117 unwind label %121

117:                                              ; preds = %.lr.ph
  invoke void @_ZN3vcl6bufferIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %116, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %118 unwind label %121

118:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %120 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt5arrayIiLm3EEiEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %120, label %.lr.ph, label %._crit_edge

121:                                              ; preds = %117, %.lr.ph
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %123

123:                                              ; preds = %121, %108, %106
  %.pn42 = phi { ptr, i32 } [ %122, %121 ], [ %109, %108 ], [ %107, %106 ]
  call void @_ZNSt3mapISt5arrayIiLm3EEiN3vcl15comparator_int3ESaISt4pairIKS1_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  br label %124

124:                                              ; preds = %123, %104
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %123 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #7
  call void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  br label %125

125:                                              ; preds = %124, %102
  %.pn42.pn.pn = phi { ptr, i32 } [ %.pn42.pn, %124 ], [ %103, %102 ]
  call void @_ZN3vcl6bufferINS_12buffer_stackISt5arrayIiLm3EELm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  br label %126

126:                                              ; preds = %125, %100, %98
  %.pn42.pn.pn.pn = phi { ptr, i32 } [ %.pn42.pn.pn, %125 ], [ %101, %100 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %127

127:                                              ; preds = %126, %77
  %.pn47.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn.pn.pn.pn, %77 ], [ %.pn42.pn.pn.pn, %126 ]
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %128

128:                                              ; preds = %127, %54
  %.pn47.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn.pn.pn.pn.pn, %127 ], [ %.pn36, %54 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %129

129:                                              ; preds = %128, %49
  %.pn47.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn.pn.pn.pn.pn.pn, %128 ], [ %.pn, %49 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br label %130

130:                                              ; preds = %129, %43
  %.pn47.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn47.pn.pn.pn.pn.pn.pn.pn.pn.pn, %129 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn47.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN3vcl17assert_file_existERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vcl6loader19obj_read_texture_uvERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.7") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

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

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

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

; Function Attrs: noreturn
declare void @_ZN3vcl10call_errorENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_iRKS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

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

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

declare void @_ZN3vcl9backtraceB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 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 #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vclL17triangulate_facesENS_6bufferINS0_ISt5arrayIiLm3EEEEEE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::buffer.27") align 8, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vcl6loader14obj_read_facesERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_8obj_typeE(ptr dead_on_unwind noalias writable sret(%"struct.vcl::buffer.33") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3vclL31make_unique_parameter_per_valueERKNS_6bufferINS_12buffer_stackIfLm3EEEEERKNS0_INS1_IfLm2EEEEES5_RKNS0_INS1_ISt5arrayIiLm3EELm3EEEEENS_6loader8obj_typeE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt3tieIJN3vcl4meshESt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS4_iEEEEESt5tupleIJDpRT_EESE_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 8, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5tupleIJRN3vcl4meshERSt3mapISt5arrayIiLm3EEiNS0_15comparator_int3ESaISt4pairIKS5_iEEEEEaSIS1_SB_EENSt9enable_ifIXcl12__assignableIT_T0_EEERSD_E4typeEOS7_ISG_SH_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 12}
!10 = !{!"_ZTSSt4pairIKSt5arrayIiLm3EEiE", !11, i64 0, !6, i64 12}
!11 = !{!"_ZTSSt5arrayIiLm3EE", !7, i64 0}


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