; LLVM IR from niessner/Matterport :: code/gaps/apps/mpview/mp.ll (ZN7MPHouse14ReadObjectFileEPKc)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.RNMap.33 = type { ptr }
%class.RNMap.34 = type { ptr }
%"class.std::allocator" = type { i8 }
%class.RNMap.22 = type { ptr }
%"class.Json::Value" = type { %"union.Json::Value::ValueHolder", i16, ptr, i64, i64 }
%"union.Json::Value::ValueHolder" = type { i64 }
%"class.Json::Reader" = type <{ %"class.std::stack", %"class.std::deque.27", %"class.std::__cxx11::basic_string", ptr, ptr, ptr, ptr, ptr, %"class.std::__cxx11::basic_string", %"class.Json::Features", i8, [3 x i8] }>
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl" }
%"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl" = type { %"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::deque.27" = type { %"class.std::_Deque_base.28" }
%"class.std::_Deque_base.28" = type { %"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl" }
%"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl" = type { %"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.32", %"struct.std::_Deque_iterator.32" }
%"struct.std::_Deque_iterator.32" = type { ptr, ptr, ptr, ptr }
%"class.Json::Features" = type { i8, i8, i8, i8 }
%class.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }
%class.RNArray.35 = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }
%class.R3OrientedBox = type { %class.R3Solid, %class.R3CoordSystem, [3 x double] }
%class.R3Solid = type { %class.R3Shape }
%class.R3Shape = type { ptr }
%class.R3CoordSystem = type { %class.R3Point, %class.R3Triad }
%class.R3Triad = type { [3 x %class.R3Vector] }
%struct.MPHouse = type { %class.RNArray.0, %class.RNArray.1, %class.RNArray.2, %class.RNArray.3, %class.RNArray.4, %class.RNArray.5, %class.RNArray.6, %class.RNArray.7, %class.RNArray.8, %class.RNArray.9, %class.RGBDConfiguration, ptr, ptr, %class.R3Box, ptr, ptr }
%class.RNArray.0 = type { %class.RNVArray }
%class.RNArray.1 = type { %class.RNVArray }
%class.RNArray.2 = type { %class.RNVArray }
%class.RNArray.3 = type { %class.RNVArray }
%class.RNArray.4 = type { %class.RNVArray }
%class.RNArray.5 = type { %class.RNVArray }
%class.RNArray.6 = type { %class.RNVArray }
%class.RNArray.7 = type { %class.RNVArray }
%class.RNArray.8 = type { %class.RNVArray }
%class.RNArray.9 = type { %class.RNVArray }
%class.RGBDConfiguration = type { ptr, %class.RNArray.10, %class.RNArray.11, ptr, ptr, ptr, ptr, %class.R3Box }
%class.RNArray.10 = type { %class.RNVArray }
%class.RNArray.11 = type { %class.RNVArray }
%class.R3Box = type { %class.R3Solid, %class.R3Point, %class.R3Point }
%struct.MPCategory = type { ptr, i32, %class.RNArray.4, i32, ptr, i32, ptr }
%struct.MPSegment = type <{ ptr, i32, [4 x i8], ptr, i32, [4 x i8], ptr, %class.RNArray.12, double, %class.R3Point, %class.R3Box, i32, [4 x i8] }>
%class.RNArray.12 = type { %class.RNVArray }
%struct.MPObject = type { ptr, i32, ptr, i32, ptr, i32, %class.RNArray.3, %class.R3Point, %class.R3OrientedBox }

@stderr = external global ptr, align 8
@.str.75 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [15 x i8], align 1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6R3Mesh12VertexOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #1 align 2

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

declare void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN7R3SolidD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8MPObject13InsertSegmentEP9MPSegment(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10MPCategory12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8MPRegion12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP8MPObjectE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7R3PointixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7MPHouse12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(376), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP10MPCategoryE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7MPHouse10FindRegionERK7R3Pointd(ptr noundef nonnull align 8 dereferenceable(376), ptr noundef nonnull align 8 dereferenceable(24), double noundef) #3 align 2

declare noalias ptr @fopen(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

declare i32 @fclose(ptr noundef) #0

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZN13R3OrientedBoxaSERKS_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK5RNMapIiP9MPSegmentE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #9

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

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #0

declare i64 @ftell(ptr noundef) #0

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

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #0

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #5

declare void @_ZN4Json5ValueC1ENS_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) unnamed_addr #0

declare void @_ZN4Json6ReaderC1Ev(ptr noundef nonnull align 8 dereferenceable(269)) unnamed_addr #0

declare noundef zeroext i1 @_ZN4Json6Reader5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_5ValueEb(ptr noundef nonnull align 8 dereferenceable(269), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) #0

declare noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #0

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #0

declare void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0

declare noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #0

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #0

declare void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #1 align 2

; Function Attrs: nounwind
declare void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7MPHouse14ReadObjectFileEPKc(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca %class.RNMap.33, align 8
  %15 = alloca %class.RNMap.34, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca %class.RNMap.22, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"class.Json::Value", align 8
  %24 = alloca %"class.Json::Reader", align 8
  %25 = alloca %"class.Json::Value", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.Json::Value", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.Json::Value", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.Json::Value", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.Json::Value", align 8
  %38 = alloca i32, align 4
  %39 = alloca %"class.Json::Value", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca ptr, align 8
  %43 = alloca %"class.Json::Value", align 8
  %44 = alloca %class.R3Point, align 8
  %45 = alloca %"class.Json::Value", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"class.Json::Value", align 8
  %48 = alloca %class.R3Vector, align 8
  %49 = alloca %"class.Json::Value", align 8
  %50 = alloca i32, align 4
  %51 = alloca %"class.Json::Value", align 8
  %52 = alloca [3 x %class.R3Vector], align 16
  %53 = alloca %"class.Json::Value", align 8
  %54 = alloca i32, align 4
  %55 = alloca %"class.Json::Value", align 8
  %56 = alloca ptr, align 8
  %57 = alloca %class.R3Point, align 8
  %58 = alloca i32, align 4
  %59 = alloca ptr, align 8
  %60 = alloca ptr, align 8
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca ptr, align 8
  %65 = alloca i32, align 4
  %66 = alloca ptr, align 8
  %67 = alloca i32, align 4
  %68 = alloca ptr, align 8
  %69 = alloca %class.RNArray.35, align 8
  %70 = alloca i32, align 4
  %71 = alloca ptr, align 8
  %72 = alloca i32, align 4
  %73 = alloca ptr, align 8
  %74 = alloca i32, align 4
  %75 = alloca ptr, align 8
  %76 = alloca %class.R3OrientedBox, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %77 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = call noalias ptr @fopen(ptr noundef %78, ptr noundef @.str.75)
  store ptr %79, ptr %6, align 8, !tbaa !5
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %86, label %82

82:                                               ; preds = %2
  %83 = load ptr, ptr @stderr, align 8, !tbaa !5
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.76, ptr noundef %84) #10
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %929

86:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = invoke i32 @fseek(ptr noundef %87, i64 noundef 0, i32 noundef 2)
          to label %89 unwind label %112

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = invoke i64 @ftell(ptr noundef %90)
          to label %92 unwind label %116

92:                                               ; preds = %89
  store i64 %91, ptr %11, align 8, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = invoke i32 @fseek(ptr noundef %93, i64 noundef 0, i32 noundef 0)
          to label %95 unwind label %116

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %96 = load i64, ptr %11, align 8, !tbaa !9
  %97 = add nsw i64 %96, 1
  %98 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %97) #11
          to label %99 unwind label %120

99:                                               ; preds = %95
  store ptr %98, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %100 = load i64, ptr %11, align 8, !tbaa !9
  store i64 %100, ptr %13, align 8, !tbaa !9
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = load i64, ptr %13, align 8, !tbaa !9
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = invoke i64 @fread(ptr noundef %101, i64 noundef 1, i64 noundef %102, ptr noundef %103)
          to label %105 unwind label %124

105:                                              ; preds = %99
  %106 = load i64, ptr %13, align 8, !tbaa !9
  %107 = icmp ne i64 %104, %106
  br i1 %107, label %108, label %128

108:                                              ; preds = %105
  %109 = load ptr, ptr @stderr, align 8, !tbaa !5
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str.77, ptr noundef %110) #10
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %924

112:                                              ; preds = %86
  %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 %928

116:                                              ; preds = %92, %89
  %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
  br label %927

120:                                              ; preds = %95
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %9, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %10, align 4
  br label %926

124:                                              ; preds = %139, %128, %99
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %9, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %10, align 4
  br label %925

128:                                              ; preds = %105
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = load i64, ptr %11, align 8, !tbaa !9
  %131 = getelementptr inbounds i8, ptr %129, i64 %130
  store i8 0, ptr %131, align 1, !tbaa !11
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %132)
          to label %134 unwind label %124

134:                                              ; preds = %128
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = icmp eq ptr %136, null
  br i1 %137, label %139, label %138

138:                                              ; preds = %135
  call void @_ZdaPv(ptr noundef %136) #12
  br label %139

139:                                              ; preds = %138, %135
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = invoke i32 @fclose(ptr noundef %140)
          to label %142 unwind label %124

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  invoke void @_ZN5RNMapIiP10MPCategoryEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %143 unwind label %152

143:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  invoke void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %144 unwind label %156

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  store i32 0, ptr %16, align 4, !tbaa !12
  br label %145

145:                                              ; preds = %180, %144
  %146 = load i32, ptr %16, align 4, !tbaa !12
  %147 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 2
  %148 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %147)
          to label %149 unwind label %160

149:                                              ; preds = %145
  %150 = icmp slt i32 %146, %148
  br i1 %150, label %164, label %151

151:                                              ; preds = %149
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %198

152:                                              ; preds = %142
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %9, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %10, align 4
  br label %923

156:                                              ; preds = %143
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %9, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %10, align 4
  br label %922

160:                                              ; preds = %145
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %9, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %10, align 4
  br label %197

164:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %165 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 2
  %166 = load i32, ptr %16, align 4, !tbaa !12
  %167 = invoke noundef ptr @_ZNK7RNArrayIP10MPCategoryE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %165, i32 noundef %166)
          to label %168 unwind label %183

168:                                              ; preds = %164
  store ptr %167, ptr %17, align 8, !tbaa !5
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.MPCategory, ptr %169, i32 0, i32 3
  %171 = load i32, ptr %170, align 8, !tbaa !14
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN5RNMapIiP10MPCategoryE6InsertEiS1_(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef %171, ptr noundef %172)
          to label %173 unwind label %183

173:                                              ; preds = %168
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.MPCategory, ptr %174, i32 0, i32 4
  %176 = load ptr, ptr %175, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %176, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %177 unwind label %187

177:                                              ; preds = %173
  %178 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE6InsertES5_S7_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef %18, ptr noundef %178)
          to label %179 unwind label %191

179:                                              ; preds = %177
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %16, align 4, !tbaa !12
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %16, align 4, !tbaa !12
  br label %145, !llvm.loop !19

183:                                              ; preds = %168, %164
  %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 %196

187:                                              ; preds = %173
  %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 %195

191:                                              ; preds = %177
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  br label %195

195:                                              ; preds = %191, %187
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #10
  br label %196

196:                                              ; preds = %195, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  br label %197

197:                                              ; preds = %196, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %921

198:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  invoke void @_ZN5RNMapIiP9MPSegmentEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %199 unwind label %207

199:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  store i32 0, ptr %21, align 4, !tbaa !12
  br label %200

200:                                              ; preds = %225, %199
  %201 = load i32, ptr %21, align 4, !tbaa !12
  %202 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 3
  %203 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %202)
          to label %204 unwind label %211

204:                                              ; preds = %200
  %205 = icmp slt i32 %201, %203
  br i1 %205, label %215, label %206

206:                                              ; preds = %204
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %233

207:                                              ; preds = %198
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %9, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %10, align 4
  br label %920

211:                                              ; preds = %200
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %9, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %10, align 4
  br label %232

215:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %216 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 3
  %217 = load i32, ptr %21, align 4, !tbaa !12
  %218 = invoke noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %216, i32 noundef %217)
          to label %219 unwind label %228

219:                                              ; preds = %215
  store ptr %218, ptr %22, align 8, !tbaa !5
  %220 = load ptr, ptr %22, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.MPSegment, ptr %220, i32 0, i32 11
  %222 = load i32, ptr %221, align 8, !tbaa !21
  %223 = load ptr, ptr %22, align 8, !tbaa !5
  invoke void @_ZN5RNMapIiP9MPSegmentE6InsertEiS1_(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef %222, ptr noundef %223)
          to label %224 unwind label %228

224:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %21, align 4, !tbaa !12
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %21, align 4, !tbaa !12
  br label %200, !llvm.loop !29

228:                                              ; preds = %219, %215
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %9, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %232

232:                                              ; preds = %228, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %919

233:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #10
  invoke void @_ZN4Json5ValueC1ENS_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(40) %23, i32 noundef 0)
          to label %234 unwind label %242

234:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 272, ptr %24) #10
  invoke void @_ZN4Json6ReaderC1Ev(ptr noundef nonnull align 8 dereferenceable(269) %24)
          to label %235 unwind label %246

235:                                              ; preds = %234
  %236 = invoke noundef zeroext i1 @_ZN4Json6Reader5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_5ValueEb(ptr noundef nonnull align 8 dereferenceable(269) %24, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(40) %23, i1 noundef zeroext false)
          to label %237 unwind label %250

237:                                              ; preds = %235
  br i1 %236, label %254, label %238

238:                                              ; preds = %237
  %239 = load ptr, ptr @stderr, align 8, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.78, ptr noundef %240) #10
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %915

242:                                              ; preds = %233
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %9, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %10, align 4
  br label %918

246:                                              ; preds = %234
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %9, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %10, align 4
  br label %917

250:                                              ; preds = %254, %235
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %9, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %10, align 4
  br label %916

254:                                              ; preds = %237
  %255 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef @.str.81)
          to label %256 unwind label %250

256:                                              ; preds = %254
  br i1 %255, label %261, label %257

257:                                              ; preds = %256
  %258 = load ptr, ptr @stderr, align 8, !tbaa !5
  %259 = load ptr, ptr %5, align 8, !tbaa !5
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.82, ptr noundef %259) #10
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %915

261:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #10
  %262 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef @.str.81)
          to label %263 unwind label %271

263:                                              ; preds = %261
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(40) %262)
          to label %264 unwind label %271

264:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  store i32 0, ptr %26, align 4, !tbaa !12
  br label %265

265:                                              ; preds = %653, %264
  %266 = load i32, ptr %26, align 4, !tbaa !12
  %267 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %268 unwind label %275

268:                                              ; preds = %265
  %269 = icmp ult i32 %266, %267
  br i1 %269, label %279, label %270

270:                                              ; preds = %268
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  br label %660

271:                                              ; preds = %263, %261
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %9, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %10, align 4
  br label %914

275:                                              ; preds = %265
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %9, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %10, align 4
  br label %659

279:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #10
  %280 = load i32, ptr %26, align 4, !tbaa !12
  %281 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEj(ptr noundef nonnull align 8 dereferenceable(40) %25, i32 noundef %280)
          to label %282 unwind label %302

282:                                              ; preds = %279
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 8 dereferenceable(40) %281)
          to label %283 unwind label %302

283:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %284 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 216) #11
          to label %285 unwind label %306

285:                                              ; preds = %283
  invoke void @_ZN8MPObjectC1Ev(ptr noundef nonnull align 8 dereferenceable(216) %284)
          to label %286 unwind label %310

286:                                              ; preds = %285
  store ptr %284, ptr %28, align 8, !tbaa !5
  %287 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.83)
          to label %288 unwind label %306

288:                                              ; preds = %286
  br i1 %287, label %289, label %334

289:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #10
  %290 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.83)
          to label %291 unwind label %314

291:                                              ; preds = %289
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 8 dereferenceable(40) %290)
          to label %292 unwind label %314

292:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #10
  invoke void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %293 unwind label %318

293:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  store ptr null, ptr %31, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %294 unwind label %322

294:                                              ; preds = %293
  %295 = invoke noundef i32 @_ZNK5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE4FindES5_PS7_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef %32, ptr noundef %31)
          to label %296 unwind label %326

296:                                              ; preds = %294
  %297 = icmp ne i32 %295, 0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  br i1 %297, label %298, label %330

298:                                              ; preds = %296
  %299 = load ptr, ptr %31, align 8, !tbaa !5
  %300 = load ptr, ptr %28, align 8, !tbaa !5
  invoke void @_ZN10MPCategory12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(64) %299, ptr noundef %300)
          to label %301 unwind label %322

301:                                              ; preds = %298
  br label %330

302:                                              ; preds = %282, %279
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %9, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %10, align 4
  br label %658

306:                                              ; preds = %426, %368, %334, %286, %283
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %9, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %10, align 4
  br label %657

310:                                              ; preds = %285
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %9, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %284, i64 noundef 216) #12
  br label %657

314:                                              ; preds = %291, %289
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %9, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %10, align 4
  br label %333

318:                                              ; preds = %292
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %9, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %10, align 4
  br label %332

322:                                              ; preds = %298, %293
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %9, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %10, align 4
  br label %331

326:                                              ; preds = %294
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %9, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #10
  br label %331

330:                                              ; preds = %301, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #10
  br label %368

331:                                              ; preds = %326, %322
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  br label %332

332:                                              ; preds = %331, %318
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #10
  br label %333

333:                                              ; preds = %332, %314
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #10
  br label %657

334:                                              ; preds = %288
  %335 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.84)
          to label %336 unwind label %306

336:                                              ; preds = %334
  br i1 %335, label %337, label %367

337:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #10
  %338 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.84)
          to label %339 unwind label %352

339:                                              ; preds = %337
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %338)
          to label %340 unwind label %352

340:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #10
  invoke void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %341 unwind label %356

341:                                              ; preds = %340
  %342 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  %343 = call i32 @atoi(ptr noundef %342) #13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #10
  store i32 %343, ptr %34, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  store ptr null, ptr %36, align 8, !tbaa !5
  %344 = load i32, ptr %34, align 4, !tbaa !12
  %345 = invoke noundef i32 @_ZNK5RNMapIiP10MPCategoryE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef %344, ptr noundef %36)
          to label %346 unwind label %360

346:                                              ; preds = %341
  %347 = icmp ne i32 %345, 0
  br i1 %347, label %348, label %364

348:                                              ; preds = %346
  %349 = load ptr, ptr %36, align 8, !tbaa !5
  %350 = load ptr, ptr %28, align 8, !tbaa !5
  invoke void @_ZN10MPCategory12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(64) %349, ptr noundef %350)
          to label %351 unwind label %360

351:                                              ; preds = %348
  br label %364

352:                                              ; preds = %339, %337
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %9, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %10, align 4
  br label %366

356:                                              ; preds = %340
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %9, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #10
  br label %365

360:                                              ; preds = %348, %341
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %9, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  br label %365

364:                                              ; preds = %351, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #10
  br label %367

365:                                              ; preds = %360, %356
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #10
  br label %366

366:                                              ; preds = %365, %352
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #10
  br label %657

367:                                              ; preds = %364, %336
  br label %368

368:                                              ; preds = %367, %330
  %369 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.85)
          to label %370 unwind label %306

370:                                              ; preds = %368
  br i1 %369, label %371, label %426

371:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #10
  %372 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.85)
          to label %373 unwind label %381

373:                                              ; preds = %371
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %37, ptr noundef nonnull align 8 dereferenceable(40) %372)
          to label %374 unwind label %381

374:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  store i32 0, ptr %38, align 4, !tbaa !12
  br label %375

375:                                              ; preds = %418, %374
  %376 = load i32, ptr %38, align 4, !tbaa !12
  %377 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %37)
          to label %378 unwind label %385

378:                                              ; preds = %375
  %379 = icmp ult i32 %376, %377
  br i1 %379, label %389, label %380

380:                                              ; preds = %378
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  br label %424

381:                                              ; preds = %373, %371
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %9, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %10, align 4
  br label %425

385:                                              ; preds = %375
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %9, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %10, align 4
  br label %423

389:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #10
  %390 = load i32, ptr %38, align 4, !tbaa !12
  %391 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEj(ptr noundef nonnull align 8 dereferenceable(40) %37, i32 noundef %390)
          to label %392 unwind label %405

392:                                              ; preds = %389
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %39, ptr noundef nonnull align 8 dereferenceable(40) %391)
          to label %393 unwind label %405

393:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #10
  invoke void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef nonnull align 8 dereferenceable(40) %39)
          to label %394 unwind label %409

394:                                              ; preds = %393
  %395 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  %396 = call i32 @atoi(ptr noundef %395) #13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #10
  store i32 %396, ptr %40, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  store ptr null, ptr %42, align 8, !tbaa !5
  %397 = load i32, ptr %40, align 4, !tbaa !12
  %398 = invoke noundef i32 @_ZNK5RNMapIiP9MPSegmentE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef %397, ptr noundef %42)
          to label %399 unwind label %413

399:                                              ; preds = %394
  %400 = icmp ne i32 %398, 0
  br i1 %400, label %401, label %417

401:                                              ; preds = %399
  %402 = load ptr, ptr %28, align 8, !tbaa !5
  %403 = load ptr, ptr %42, align 8, !tbaa !5
  invoke void @_ZN8MPObject13InsertSegmentEP9MPSegment(ptr noundef nonnull align 8 dereferenceable(216) %402, ptr noundef %403)
          to label %404 unwind label %413

404:                                              ; preds = %401
  br label %417

405:                                              ; preds = %392, %389
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %9, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %10, align 4
  br label %422

409:                                              ; preds = %393
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %9, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #10
  br label %421

413:                                              ; preds = %401, %394
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %9, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  br label %421

417:                                              ; preds = %404, %399
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %39) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #10
  br label %418

418:                                              ; preds = %417
  %419 = load i32, ptr %38, align 4, !tbaa !12
  %420 = add i32 %419, 1
  store i32 %420, ptr %38, align 4, !tbaa !12
  br label %375, !llvm.loop !30

421:                                              ; preds = %413, %409
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %39) #10
  br label %422

422:                                              ; preds = %421, %405
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #10
  br label %423

423:                                              ; preds = %422, %385
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #10
  br label %425

424:                                              ; preds = %380
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #10
  br label %426

425:                                              ; preds = %423, %381
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #10
  br label %657

426:                                              ; preds = %424, %370
  %427 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.86)
          to label %428 unwind label %306

428:                                              ; preds = %426
  br i1 %427, label %429, label %630

429:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #10
  %430 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef @.str.86)
          to label %431 unwind label %448

431:                                              ; preds = %429
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef nonnull align 8 dereferenceable(40) %430)
          to label %432 unwind label %448

432:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #10
  invoke void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %44, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %433 unwind label %452

433:                                              ; preds = %432
  %434 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @.str.87)
          to label %435 unwind label %452

435:                                              ; preds = %433
  br i1 %434, label %436, label %490

436:                                              ; preds = %435
  call void @llvm.lifetime.start.p0(i64 40, ptr %45) #10
  %437 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @.str.87)
          to label %438 unwind label %456

438:                                              ; preds = %436
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef nonnull align 8 dereferenceable(40) %437)
          to label %439 unwind label %456

439:                                              ; preds = %438
  %440 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %45)
          to label %441 unwind label %460

441:                                              ; preds = %439
  %442 = icmp uge i32 %440, 3
  br i1 %442, label %443, label %487

443:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #10
  store i32 0, ptr %46, align 4, !tbaa !12
  br label %444

444:                                              ; preds = %474, %443
  %445 = load i32, ptr %46, align 4, !tbaa !12
  %446 = icmp slt i32 %445, 3
  br i1 %446, label %464, label %447

447:                                              ; preds = %444
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %486

448:                                              ; preds = %431, %429
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %9, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %10, align 4
  br label %629

452:                                              ; preds = %433, %432
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %9, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %10, align 4
  br label %628

456:                                              ; preds = %438, %436
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %9, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %10, align 4
  br label %489

460:                                              ; preds = %439
  %461 = landingpad { ptr, i32 }
          cleanup
  %462 = extractvalue { ptr, i32 } %461, 0
  store ptr %462, ptr %9, align 8
  %463 = extractvalue { ptr, i32 } %461, 1
  store i32 %463, ptr %10, align 4
  br label %488

464:                                              ; preds = %444
  call void @llvm.lifetime.start.p0(i64 40, ptr %47) #10
  %465 = load i32, ptr %46, align 4, !tbaa !12
  %466 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %45, i32 noundef %465)
          to label %467 unwind label %477

467:                                              ; preds = %464
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %47, ptr noundef nonnull align 8 dereferenceable(40) %466)
          to label %468 unwind label %477

468:                                              ; preds = %467
  %469 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %47)
          to label %470 unwind label %481

470:                                              ; preds = %468
  %471 = load i32, ptr %46, align 4, !tbaa !12
  %472 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7R3PointixEi(ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %471)
          to label %473 unwind label %481

473:                                              ; preds = %470
  store double %469, ptr %472, align 8, !tbaa !31
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %47) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %47) #10
  br label %474

474:                                              ; preds = %473
  %475 = load i32, ptr %46, align 4, !tbaa !12
  %476 = add nsw i32 %475, 1
  store i32 %476, ptr %46, align 4, !tbaa !12
  br label %444, !llvm.loop !32

477:                                              ; preds = %467, %464
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %9, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %10, align 4
  br label %485

481:                                              ; preds = %470, %468
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %9, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %10, align 4
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %47) #10
  br label %485

485:                                              ; preds = %481, %477
  call void @llvm.lifetime.end.p0(i64 40, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %488

486:                                              ; preds = %447
  br label %487

487:                                              ; preds = %486, %441
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #10
  br label %490

488:                                              ; preds = %485, %460
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #10
  br label %489

489:                                              ; preds = %488, %456
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #10
  br label %628

490:                                              ; preds = %487, %435
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #10
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %48, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %491 unwind label %506

491:                                              ; preds = %490
  %492 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @.str.88)
          to label %493 unwind label %506

493:                                              ; preds = %491
  br i1 %492, label %494, label %544

494:                                              ; preds = %493
  call void @llvm.lifetime.start.p0(i64 40, ptr %49) #10
  %495 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @.str.88)
          to label %496 unwind label %510

496:                                              ; preds = %494
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 8 dereferenceable(40) %495)
          to label %497 unwind label %510

497:                                              ; preds = %496
  %498 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %49)
          to label %499 unwind label %514

499:                                              ; preds = %497
  %500 = icmp uge i32 %498, 3
  br i1 %500, label %501, label %541

501:                                              ; preds = %499
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #10
  store i32 0, ptr %50, align 4, !tbaa !12
  br label %502

502:                                              ; preds = %528, %501
  %503 = load i32, ptr %50, align 4, !tbaa !12
  %504 = icmp slt i32 %503, 3
  br i1 %504, label %518, label %505

505:                                              ; preds = %502
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  br label %540

506:                                              ; preds = %491, %490
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %9, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %10, align 4
  br label %627

510:                                              ; preds = %496, %494
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %9, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %10, align 4
  br label %543

514:                                              ; preds = %497
  %515 = landingpad { ptr, i32 }
          cleanup
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %9, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %10, align 4
  br label %542

518:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 40, ptr %51) #10
  %519 = load i32, ptr %50, align 4, !tbaa !12
  %520 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %49, i32 noundef %519)
          to label %521 unwind label %531

521:                                              ; preds = %518
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %51, ptr noundef nonnull align 8 dereferenceable(40) %520)
          to label %522 unwind label %531

522:                                              ; preds = %521
  %523 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %51)
          to label %524 unwind label %535

524:                                              ; preds = %522
  %525 = load i32, ptr %50, align 4, !tbaa !12
  %526 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %48, i32 noundef %525)
          to label %527 unwind label %535

527:                                              ; preds = %524
  store double %523, ptr %526, align 8, !tbaa !31
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #10
  br label %528

528:                                              ; preds = %527
  %529 = load i32, ptr %50, align 4, !tbaa !12
  %530 = add nsw i32 %529, 1
  store i32 %530, ptr %50, align 4, !tbaa !12
  br label %502, !llvm.loop !33

531:                                              ; preds = %521, %518
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %9, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %10, align 4
  br label %539

535:                                              ; preds = %524, %522
  %536 = landingpad { ptr, i32 }
          cleanup
  %537 = extractvalue { ptr, i32 } %536, 0
  store ptr %537, ptr %9, align 8
  %538 = extractvalue { ptr, i32 } %536, 1
  store i32 %538, ptr %10, align 4
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %51) #10
  br label %539

539:                                              ; preds = %535, %531
  call void @llvm.lifetime.end.p0(i64 40, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #10
  br label %542

540:                                              ; preds = %505
  br label %541

541:                                              ; preds = %540, %499
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #10
  br label %544

542:                                              ; preds = %539, %514
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %49) #10
  br label %543

543:                                              ; preds = %542, %510
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #10
  br label %627

544:                                              ; preds = %541, %493
  call void @llvm.lifetime.start.p0(i64 72, ptr %52) #10
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %52, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %545 unwind label %564

545:                                              ; preds = %544
  %546 = getelementptr inbounds %class.R3Vector, ptr %52, i64 1
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %546, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %547 unwind label %564

547:                                              ; preds = %545
  %548 = getelementptr inbounds %class.R3Vector, ptr %52, i64 2
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %548, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %549 unwind label %564

549:                                              ; preds = %547
  %550 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @.str.89)
          to label %551 unwind label %564

551:                                              ; preds = %549
  br i1 %550, label %552, label %607

552:                                              ; preds = %551
  call void @llvm.lifetime.start.p0(i64 40, ptr %53) #10
  %553 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @.str.89)
          to label %554 unwind label %568

554:                                              ; preds = %552
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %53, ptr noundef nonnull align 8 dereferenceable(40) %553)
          to label %555 unwind label %568

555:                                              ; preds = %554
  %556 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %53)
          to label %557 unwind label %572

557:                                              ; preds = %555
  %558 = icmp uge i32 %556, 9
  br i1 %558, label %559, label %604

559:                                              ; preds = %557
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #10
  store i32 0, ptr %54, align 4, !tbaa !12
  br label %560

560:                                              ; preds = %591, %559
  %561 = load i32, ptr %54, align 4, !tbaa !12
  %562 = icmp slt i32 %561, 9
  br i1 %562, label %576, label %563

563:                                              ; preds = %560
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  br label %603

564:                                              ; preds = %623, %620, %617, %611, %607, %549, %547, %545, %544
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %9, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %10, align 4
  br label %626

568:                                              ; preds = %554, %552
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %9, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %10, align 4
  br label %606

572:                                              ; preds = %555
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %9, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %10, align 4
  br label %605

576:                                              ; preds = %560
  call void @llvm.lifetime.start.p0(i64 40, ptr %55) #10
  %577 = load i32, ptr %54, align 4, !tbaa !12
  %578 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %53, i32 noundef %577)
          to label %579 unwind label %594

579:                                              ; preds = %576
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %55, ptr noundef nonnull align 8 dereferenceable(40) %578)
          to label %580 unwind label %594

580:                                              ; preds = %579
  %581 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %55)
          to label %582 unwind label %598

582:                                              ; preds = %580
  %583 = load i32, ptr %54, align 4, !tbaa !12
  %584 = sdiv i32 %583, 3
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds [3 x %class.R3Vector], ptr %52, i64 0, i64 %585
  %587 = load i32, ptr %54, align 4, !tbaa !12
  %588 = srem i32 %587, 3
  %589 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %586, i32 noundef %588)
          to label %590 unwind label %598

590:                                              ; preds = %582
  store double %581, ptr %589, align 8, !tbaa !31
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %55) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %55) #10
  br label %591

591:                                              ; preds = %590
  %592 = load i32, ptr %54, align 4, !tbaa !12
  %593 = add nsw i32 %592, 1
  store i32 %593, ptr %54, align 4, !tbaa !12
  br label %560, !llvm.loop !34

594:                                              ; preds = %579, %576
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %9, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %10, align 4
  br label %602

598:                                              ; preds = %582, %580
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %9, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %10, align 4
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %55) #10
  br label %602

602:                                              ; preds = %598, %594
  call void @llvm.lifetime.end.p0(i64 40, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  br label %605

603:                                              ; preds = %563
  br label %604

604:                                              ; preds = %603, %557
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %53) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %53) #10
  br label %607

605:                                              ; preds = %602, %572
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %53) #10
  br label %606

606:                                              ; preds = %605, %568
  call void @llvm.lifetime.end.p0(i64 40, ptr %53) #10
  br label %626

607:                                              ; preds = %604, %551
  %608 = load ptr, ptr %28, align 8, !tbaa !5
  %609 = getelementptr inbounds %struct.MPObject, ptr %608, i32 0, i32 7
  %610 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %609, ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %611 unwind label %564

611:                                              ; preds = %607
  %612 = load ptr, ptr %28, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.MPObject, ptr %612, i32 0, i32 8
  %614 = getelementptr inbounds [3 x %class.R3Vector], ptr %52, i64 0, i64 0
  %615 = getelementptr inbounds [3 x %class.R3Vector], ptr %52, i64 0, i64 1
  %616 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %48, i32 noundef 0)
          to label %617 unwind label %564

617:                                              ; preds = %611
  %618 = load double, ptr %616, align 8, !tbaa !31
  %619 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %48, i32 noundef 1)
          to label %620 unwind label %564

620:                                              ; preds = %617
  %621 = load double, ptr %619, align 8, !tbaa !31
  %622 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %48, i32 noundef 2)
          to label %623 unwind label %564

623:                                              ; preds = %620
  %624 = load double, ptr %622, align 8, !tbaa !31
  invoke void @_ZN13R3OrientedBox5ResetERK7R3PointRK8R3VectorS5_ddd(ptr noundef nonnull align 8 dereferenceable(128) %613, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %614, ptr noundef nonnull align 8 dereferenceable(24) %615, double noundef %618, double noundef %621, double noundef %624)
          to label %625 unwind label %564

625:                                              ; preds = %623
  call void @llvm.lifetime.end.p0(i64 72, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #10
  br label %630

626:                                              ; preds = %606, %564
  call void @llvm.lifetime.end.p0(i64 72, ptr %52) #10
  br label %627

627:                                              ; preds = %626, %543, %506
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #10
  br label %628

628:                                              ; preds = %627, %489, %452
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #10
  br label %629

629:                                              ; preds = %628, %448
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #10
  br label %657

630:                                              ; preds = %625, %428
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #10
  %631 = load ptr, ptr %28, align 8, !tbaa !5
  %632 = getelementptr inbounds %struct.MPObject, ptr %631, i32 0, i32 8
  invoke void @_ZNK13R3OrientedBox8CentroidEv(ptr dead_on_unwind writable sret(%class.R3Point) align 8 %57, ptr noundef nonnull align 8 dereferenceable(128) %632)
          to label %633 unwind label %642

633:                                              ; preds = %630
  %634 = invoke noundef ptr @_ZNK7MPHouse10FindRegionERK7R3Pointd(ptr noundef nonnull align 8 dereferenceable(376) %77, ptr noundef nonnull align 8 dereferenceable(24) %57, double noundef 1.000000e+00)
          to label %635 unwind label %642

635:                                              ; preds = %633
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #10
  store ptr %634, ptr %56, align 8, !tbaa !5
  %636 = load ptr, ptr %56, align 8, !tbaa !5
  %637 = icmp ne ptr %636, null
  br i1 %637, label %638, label %650

638:                                              ; preds = %635
  %639 = load ptr, ptr %56, align 8, !tbaa !5
  %640 = load ptr, ptr %28, align 8, !tbaa !5
  invoke void @_ZN8MPRegion12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(192) %639, ptr noundef %640)
          to label %641 unwind label %646

641:                                              ; preds = %638
  br label %650

642:                                              ; preds = %633, %630
  %643 = landingpad { ptr, i32 }
          cleanup
  %644 = extractvalue { ptr, i32 } %643, 0
  store ptr %644, ptr %9, align 8
  %645 = extractvalue { ptr, i32 } %643, 1
  store i32 %645, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #10
  br label %656

646:                                              ; preds = %650, %638
  %647 = landingpad { ptr, i32 }
          cleanup
  %648 = extractvalue { ptr, i32 } %647, 0
  store ptr %648, ptr %9, align 8
  %649 = extractvalue { ptr, i32 } %647, 1
  store i32 %649, ptr %10, align 4
  br label %656

650:                                              ; preds = %641, %635
  %651 = load ptr, ptr %28, align 8, !tbaa !5
  invoke void @_ZN7MPHouse12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(376) %77, ptr noundef %651)
          to label %652 unwind label %646

652:                                              ; preds = %650
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #10
  br label %653

653:                                              ; preds = %652
  %654 = load i32, ptr %26, align 4, !tbaa !12
  %655 = add i32 %654, 1
  store i32 %655, ptr %26, align 4, !tbaa !12
  br label %265, !llvm.loop !35

656:                                              ; preds = %646, %642
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  br label %657

657:                                              ; preds = %656, %629, %425, %366, %333, %310, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #10
  br label %658

658:                                              ; preds = %657, %302
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #10
  br label %659

659:                                              ; preds = %658, %275
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  br label %913

660:                                              ; preds = %270
  %661 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 12
  %662 = load ptr, ptr %661, align 8, !tbaa !36
  %663 = icmp ne ptr %662, null
  br i1 %663, label %664, label %912

664:                                              ; preds = %660
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #10
  store i32 0, ptr %58, align 4, !tbaa !12
  br label %665

665:                                              ; preds = %770, %664
  %666 = load i32, ptr %58, align 4, !tbaa !12
  %667 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 4
  %668 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %667)
          to label %669 unwind label %672

669:                                              ; preds = %665
  %670 = icmp slt i32 %666, %668
  br i1 %670, label %676, label %671

671:                                              ; preds = %669
  store i32 23, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #10
  br label %775

672:                                              ; preds = %665
  %673 = landingpad { ptr, i32 }
          cleanup
  %674 = extractvalue { ptr, i32 } %673, 0
  store ptr %674, ptr %9, align 8
  %675 = extractvalue { ptr, i32 } %673, 1
  store i32 %675, ptr %10, align 4
  br label %774

676:                                              ; preds = %669
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #10
  %677 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 4
  %678 = load i32, ptr %58, align 4, !tbaa !12
  %679 = invoke noundef ptr @_ZNK7RNArrayIP8MPObjectE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %677, i32 noundef %678)
          to label %680 unwind label %702

680:                                              ; preds = %676
  store ptr %679, ptr %59, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #10
  %681 = load ptr, ptr %59, align 8, !tbaa !5
  %682 = getelementptr inbounds %struct.MPObject, ptr %681, i32 0, i32 4
  %683 = load ptr, ptr %682, align 8, !tbaa !50
  store ptr %683, ptr %60, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #10
  %684 = load i32, ptr %58, align 4, !tbaa !12
  store i32 %684, ptr %61, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #10
  %685 = load ptr, ptr %60, align 8, !tbaa !5
  %686 = icmp ne ptr %685, null
  br i1 %686, label %687, label %691

687:                                              ; preds = %680
  %688 = load ptr, ptr %60, align 8, !tbaa !5
  %689 = getelementptr inbounds %struct.MPCategory, ptr %688, i32 0, i32 3
  %690 = load i32, ptr %689, align 8, !tbaa !14
  br label %692

691:                                              ; preds = %680
  br label %692

692:                                              ; preds = %691, %687
  %693 = phi i32 [ %690, %687 ], [ -1, %691 ]
  store i32 %693, ptr %62, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #10
  store i32 0, ptr %63, align 4, !tbaa !12
  br label %694

694:                                              ; preds = %764, %692
  %695 = load i32, ptr %63, align 4, !tbaa !12
  %696 = load ptr, ptr %59, align 8, !tbaa !5
  %697 = getelementptr inbounds %struct.MPObject, ptr %696, i32 0, i32 6
  %698 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %697)
          to label %699 unwind label %706

699:                                              ; preds = %694
  %700 = icmp slt i32 %695, %698
  br i1 %700, label %710, label %701

701:                                              ; preds = %699
  store i32 26, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #10
  br label %769

702:                                              ; preds = %676
  %703 = landingpad { ptr, i32 }
          cleanup
  %704 = extractvalue { ptr, i32 } %703, 0
  store ptr %704, ptr %9, align 8
  %705 = extractvalue { ptr, i32 } %703, 1
  store i32 %705, ptr %10, align 4
  br label %773

706:                                              ; preds = %694
  %707 = landingpad { ptr, i32 }
          cleanup
  %708 = extractvalue { ptr, i32 } %707, 0
  store ptr %708, ptr %9, align 8
  %709 = extractvalue { ptr, i32 } %707, 1
  store i32 %709, ptr %10, align 4
  br label %768

710:                                              ; preds = %699
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #10
  %711 = load ptr, ptr %59, align 8, !tbaa !5
  %712 = getelementptr inbounds %struct.MPObject, ptr %711, i32 0, i32 6
  %713 = load i32, ptr %63, align 4, !tbaa !12
  %714 = invoke noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %712, i32 noundef %713)
          to label %715 unwind label %724

715:                                              ; preds = %710
  store ptr %714, ptr %64, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #10
  store i32 0, ptr %65, align 4, !tbaa !12
  br label %716

716:                                              ; preds = %755, %715
  %717 = load i32, ptr %65, align 4, !tbaa !12
  %718 = load ptr, ptr %64, align 8, !tbaa !5
  %719 = getelementptr inbounds %struct.MPSegment, ptr %718, i32 0, i32 7
  %720 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %719)
          to label %721 unwind label %728

721:                                              ; preds = %716
  %722 = icmp slt i32 %717, %720
  br i1 %722, label %732, label %723

723:                                              ; preds = %721
  store i32 29, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #10
  br label %763

724:                                              ; preds = %710
  %725 = landingpad { ptr, i32 }
          cleanup
  %726 = extractvalue { ptr, i32 } %725, 0
  store ptr %726, ptr %9, align 8
  %727 = extractvalue { ptr, i32 } %725, 1
  store i32 %727, ptr %10, align 4
  br label %767

728:                                              ; preds = %716
  %729 = landingpad { ptr, i32 }
          cleanup
  %730 = extractvalue { ptr, i32 } %729, 0
  store ptr %730, ptr %9, align 8
  %731 = extractvalue { ptr, i32 } %729, 1
  store i32 %731, ptr %10, align 4
  br label %762

732:                                              ; preds = %721
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #10
  %733 = load ptr, ptr %64, align 8, !tbaa !5
  %734 = getelementptr inbounds %struct.MPSegment, ptr %733, i32 0, i32 7
  %735 = load i32, ptr %65, align 4, !tbaa !12
  %736 = invoke noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %734, i32 noundef %735)
          to label %737 unwind label %758

737:                                              ; preds = %732
  store ptr %736, ptr %66, align 8, !tbaa !5
  %738 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 12
  %739 = load ptr, ptr %738, align 8, !tbaa !36
  %740 = load ptr, ptr %66, align 8, !tbaa !5
  %741 = load ptr, ptr %64, align 8, !tbaa !5
  %742 = getelementptr inbounds %struct.MPSegment, ptr %741, i32 0, i32 11
  %743 = load i32, ptr %742, align 8, !tbaa !21
  invoke void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %739, ptr noundef %740, i32 noundef %743)
          to label %744 unwind label %758

744:                                              ; preds = %737
  %745 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 12
  %746 = load ptr, ptr %745, align 8, !tbaa !36
  %747 = load ptr, ptr %66, align 8, !tbaa !5
  %748 = load i32, ptr %61, align 4, !tbaa !12
  invoke void @_ZN6R3Mesh14SetFaceSegmentEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %746, ptr noundef %747, i32 noundef %748)
          to label %749 unwind label %758

749:                                              ; preds = %744
  %750 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 12
  %751 = load ptr, ptr %750, align 8, !tbaa !36
  %752 = load ptr, ptr %66, align 8, !tbaa !5
  %753 = load i32, ptr %62, align 4, !tbaa !12
  invoke void @_ZN6R3Mesh15SetFaceCategoryEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %751, ptr noundef %752, i32 noundef %753)
          to label %754 unwind label %758

754:                                              ; preds = %749
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  br label %755

755:                                              ; preds = %754
  %756 = load i32, ptr %65, align 4, !tbaa !12
  %757 = add nsw i32 %756, 1
  store i32 %757, ptr %65, align 4, !tbaa !12
  br label %716, !llvm.loop !55

758:                                              ; preds = %749, %744, %737, %732
  %759 = landingpad { ptr, i32 }
          cleanup
  %760 = extractvalue { ptr, i32 } %759, 0
  store ptr %760, ptr %9, align 8
  %761 = extractvalue { ptr, i32 } %759, 1
  store i32 %761, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  br label %762

762:                                              ; preds = %758, %728
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #10
  br label %767

763:                                              ; preds = %723
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  br label %764

764:                                              ; preds = %763
  %765 = load i32, ptr %63, align 4, !tbaa !12
  %766 = add nsw i32 %765, 1
  store i32 %766, ptr %63, align 4, !tbaa !12
  br label %694, !llvm.loop !56

767:                                              ; preds = %762, %724
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  br label %768

768:                                              ; preds = %767, %706
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  br label %773

769:                                              ; preds = %701
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  br label %770

770:                                              ; preds = %769
  %771 = load i32, ptr %58, align 4, !tbaa !12
  %772 = add nsw i32 %771, 1
  store i32 %772, ptr %58, align 4, !tbaa !12
  br label %665, !llvm.loop !57

773:                                              ; preds = %768, %702
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  br label %774

774:                                              ; preds = %773, %672
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #10
  br label %913

775:                                              ; preds = %671
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #10
  store i32 0, ptr %67, align 4, !tbaa !12
  br label %776

776:                                              ; preds = %906, %775
  %777 = load i32, ptr %67, align 4, !tbaa !12
  %778 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 4
  %779 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %778)
          to label %780 unwind label %783

780:                                              ; preds = %776
  %781 = icmp slt i32 %777, %779
  br i1 %781, label %787, label %782

782:                                              ; preds = %780
  store i32 32, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #10
  br label %911

783:                                              ; preds = %776
  %784 = landingpad { ptr, i32 }
          cleanup
  %785 = extractvalue { ptr, i32 } %784, 0
  store ptr %785, ptr %9, align 8
  %786 = extractvalue { ptr, i32 } %784, 1
  store i32 %786, ptr %10, align 4
  br label %910

787:                                              ; preds = %780
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  %788 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 4
  %789 = load i32, ptr %67, align 4, !tbaa !12
  %790 = invoke noundef ptr @_ZNK7RNArrayIP8MPObjectE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %788, i32 noundef %789)
          to label %791 unwind label %807

791:                                              ; preds = %787
  store ptr %790, ptr %68, align 8, !tbaa !5
  %792 = load ptr, ptr %68, align 8, !tbaa !5
  %793 = getelementptr inbounds %struct.MPObject, ptr %792, i32 0, i32 8
  %794 = invoke noundef double @_ZNK13R3OrientedBox9MaxRadiusEv(ptr noundef nonnull align 8 dereferenceable(128) %793)
          to label %795 unwind label %807

795:                                              ; preds = %791
  %796 = fcmp ole double %794, 0.000000e+00
  br i1 %796, label %797, label %905

797:                                              ; preds = %795
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #10
  invoke void @_ZN7RNArrayIP7R3PointEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %798 unwind label %811

798:                                              ; preds = %797
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #10
  store i32 0, ptr %70, align 4, !tbaa !12
  br label %799

799:                                              ; preds = %883, %798
  %800 = load i32, ptr %70, align 4, !tbaa !12
  %801 = load ptr, ptr %68, align 8, !tbaa !5
  %802 = getelementptr inbounds %struct.MPObject, ptr %801, i32 0, i32 6
  %803 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %802)
          to label %804 unwind label %815

804:                                              ; preds = %799
  %805 = icmp slt i32 %800, %803
  br i1 %805, label %819, label %806

806:                                              ; preds = %804
  store i32 35, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #10
  br label %888

807:                                              ; preds = %791, %787
  %808 = landingpad { ptr, i32 }
          cleanup
  %809 = extractvalue { ptr, i32 } %808, 0
  store ptr %809, ptr %9, align 8
  %810 = extractvalue { ptr, i32 } %808, 1
  store i32 %810, ptr %10, align 4
  br label %909

811:                                              ; preds = %797
  %812 = landingpad { ptr, i32 }
          cleanup
  %813 = extractvalue { ptr, i32 } %812, 0
  store ptr %813, ptr %9, align 8
  %814 = extractvalue { ptr, i32 } %812, 1
  store i32 %814, ptr %10, align 4
  br label %904

815:                                              ; preds = %799
  %816 = landingpad { ptr, i32 }
          cleanup
  %817 = extractvalue { ptr, i32 } %816, 0
  store ptr %817, ptr %9, align 8
  %818 = extractvalue { ptr, i32 } %816, 1
  store i32 %818, ptr %10, align 4
  br label %887

819:                                              ; preds = %804
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #10
  %820 = load ptr, ptr %68, align 8, !tbaa !5
  %821 = getelementptr inbounds %struct.MPObject, ptr %820, i32 0, i32 6
  %822 = load i32, ptr %70, align 4, !tbaa !12
  %823 = invoke noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %821, i32 noundef %822)
          to label %824 unwind label %833

824:                                              ; preds = %819
  store ptr %823, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #10
  store i32 0, ptr %72, align 4, !tbaa !12
  br label %825

825:                                              ; preds = %877, %824
  %826 = load i32, ptr %72, align 4, !tbaa !12
  %827 = load ptr, ptr %71, align 8, !tbaa !5
  %828 = getelementptr inbounds %struct.MPSegment, ptr %827, i32 0, i32 7
  %829 = invoke noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %828)
          to label %830 unwind label %837

830:                                              ; preds = %825
  %831 = icmp slt i32 %826, %829
  br i1 %831, label %841, label %832

832:                                              ; preds = %830
  store i32 38, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  br label %882

833:                                              ; preds = %819
  %834 = landingpad { ptr, i32 }
          cleanup
  %835 = extractvalue { ptr, i32 } %834, 0
  store ptr %835, ptr %9, align 8
  %836 = extractvalue { ptr, i32 } %834, 1
  store i32 %836, ptr %10, align 4
  br label %886

837:                                              ; preds = %825
  %838 = landingpad { ptr, i32 }
          cleanup
  %839 = extractvalue { ptr, i32 } %838, 0
  store ptr %839, ptr %9, align 8
  %840 = extractvalue { ptr, i32 } %838, 1
  store i32 %840, ptr %10, align 4
  br label %881

841:                                              ; preds = %830
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #10
  %842 = load ptr, ptr %71, align 8, !tbaa !5
  %843 = getelementptr inbounds %struct.MPSegment, ptr %842, i32 0, i32 7
  %844 = load i32, ptr %72, align 4, !tbaa !12
  %845 = invoke noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %843, i32 noundef %844)
          to label %846 unwind label %851

846:                                              ; preds = %841
  store ptr %845, ptr %73, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #10
  store i32 0, ptr %74, align 4, !tbaa !12
  br label %847

847:                                              ; preds = %869, %846
  %848 = load i32, ptr %74, align 4, !tbaa !12
  %849 = icmp slt i32 %848, 3
  br i1 %849, label %855, label %850

850:                                              ; preds = %847
  store i32 41, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #10
  br label %876

851:                                              ; preds = %841
  %852 = landingpad { ptr, i32 }
          cleanup
  %853 = extractvalue { ptr, i32 } %852, 0
  store ptr %853, ptr %9, align 8
  %854 = extractvalue { ptr, i32 } %852, 1
  store i32 %854, ptr %10, align 4
  br label %880

855:                                              ; preds = %847
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #10
  %856 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 12
  %857 = load ptr, ptr %856, align 8, !tbaa !36
  %858 = load ptr, ptr %73, align 8, !tbaa !5
  %859 = load i32, ptr %74, align 4, !tbaa !12
  %860 = invoke noundef ptr @_ZNK6R3Mesh12VertexOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %857, ptr noundef %858, i32 noundef %859)
          to label %861 unwind label %872

861:                                              ; preds = %855
  store ptr %860, ptr %75, align 8, !tbaa !5
  %862 = getelementptr inbounds %struct.MPHouse, ptr %77, i32 0, i32 12
  %863 = load ptr, ptr %862, align 8, !tbaa !36
  %864 = load ptr, ptr %75, align 8, !tbaa !5
  %865 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %863, ptr noundef %864)
          to label %866 unwind label %872

866:                                              ; preds = %861
  %867 = invoke noundef ptr @_ZN7RNArrayIP7R3PointE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef %865)
          to label %868 unwind label %872

868:                                              ; preds = %866
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #10
  br label %869

869:                                              ; preds = %868
  %870 = load i32, ptr %74, align 4, !tbaa !12
  %871 = add nsw i32 %870, 1
  store i32 %871, ptr %74, align 4, !tbaa !12
  br label %847, !llvm.loop !58

872:                                              ; preds = %866, %861, %855
  %873 = landingpad { ptr, i32 }
          cleanup
  %874 = extractvalue { ptr, i32 } %873, 0
  store ptr %874, ptr %9, align 8
  %875 = extractvalue { ptr, i32 } %873, 1
  store i32 %875, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #10
  br label %880

876:                                              ; preds = %850
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #10
  br label %877

877:                                              ; preds = %876
  %878 = load i32, ptr %72, align 4, !tbaa !12
  %879 = add nsw i32 %878, 1
  store i32 %879, ptr %72, align 4, !tbaa !12
  br label %825, !llvm.loop !59

880:                                              ; preds = %872, %851
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #10
  br label %881

881:                                              ; preds = %880, %837
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #10
  br label %886

882:                                              ; preds = %832
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  br label %883

883:                                              ; preds = %882
  %884 = load i32, ptr %70, align 4, !tbaa !12
  %885 = add nsw i32 %884, 1
  store i32 %885, ptr %70, align 4, !tbaa !12
  br label %799, !llvm.loop !60

886:                                              ; preds = %881, %833
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  br label %887

887:                                              ; preds = %886, %815
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #10
  br label %903

888:                                              ; preds = %806
  call void @llvm.lifetime.start.p0(i64 128, ptr %76) #10
  invoke void @_ZN13R3OrientedBoxC1ERK7RNArrayIP7R3PointE(ptr noundef nonnull align 8 dereferenceable(128) %76, ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %889 unwind label %894

889:                                              ; preds = %888
  %890 = load ptr, ptr %68, align 8, !tbaa !5
  %891 = getelementptr inbounds %struct.MPObject, ptr %890, i32 0, i32 8
  %892 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZN13R3OrientedBoxaSERKS_(ptr noundef nonnull align 8 dereferenceable(128) %891, ptr noundef nonnull align 8 dereferenceable(128) %76)
          to label %893 unwind label %898

893:                                              ; preds = %889
  call void @_ZN7R3SolidD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %76) #10
  call void @llvm.lifetime.end.p0(i64 128, ptr %76) #10
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %69) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #10
  br label %905

894:                                              ; preds = %888
  %895 = landingpad { ptr, i32 }
          cleanup
  %896 = extractvalue { ptr, i32 } %895, 0
  store ptr %896, ptr %9, align 8
  %897 = extractvalue { ptr, i32 } %895, 1
  store i32 %897, ptr %10, align 4
  br label %902

898:                                              ; preds = %889
  %899 = landingpad { ptr, i32 }
          cleanup
  %900 = extractvalue { ptr, i32 } %899, 0
  store ptr %900, ptr %9, align 8
  %901 = extractvalue { ptr, i32 } %899, 1
  store i32 %901, ptr %10, align 4
  call void @_ZN7R3SolidD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %76) #10
  br label %902

902:                                              ; preds = %898, %894
  call void @llvm.lifetime.end.p0(i64 128, ptr %76) #10
  br label %903

903:                                              ; preds = %902, %887
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %69) #10
  br label %904

904:                                              ; preds = %903, %811
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #10
  br label %909

905:                                              ; preds = %893, %795
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  br label %906

906:                                              ; preds = %905
  %907 = load i32, ptr %67, align 4, !tbaa !12
  %908 = add nsw i32 %907, 1
  store i32 %908, ptr %67, align 4, !tbaa !12
  br label %776, !llvm.loop !61

909:                                              ; preds = %904, %807
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  br label %910

910:                                              ; preds = %909, %783
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #10
  br label %913

911:                                              ; preds = %782
  br label %912

912:                                              ; preds = %911, %660
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #10
  br label %915

913:                                              ; preds = %910, %774, %659
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #10
  br label %914

914:                                              ; preds = %913, %271
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #10
  br label %916

915:                                              ; preds = %912, %257, %238
  call void @_ZN4Json6ReaderD2Ev(ptr noundef nonnull align 8 dereferenceable(269) %24) #10
  call void @llvm.lifetime.end.p0(i64 272, ptr %24) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #10
  call void @_ZN5RNMapIiP9MPSegmentED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @_ZN5RNMapIiP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %924

916:                                              ; preds = %914, %250
  call void @_ZN4Json6ReaderD2Ev(ptr noundef nonnull align 8 dereferenceable(269) %24) #10
  br label %917

917:                                              ; preds = %916, %246
  call void @llvm.lifetime.end.p0(i64 272, ptr %24) #10
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #10
  br label %918

918:                                              ; preds = %917, %242
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #10
  br label %919

919:                                              ; preds = %918, %232
  call void @_ZN5RNMapIiP9MPSegmentED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  br label %920

920:                                              ; preds = %919, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %921

921:                                              ; preds = %920, %197
  call void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  br label %922

922:                                              ; preds = %921, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @_ZN5RNMapIiP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %923

923:                                              ; preds = %922, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %925

924:                                              ; preds = %915, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #10
  br label %929

925:                                              ; preds = %923, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %926

926:                                              ; preds = %925, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %927

927:                                              ; preds = %926, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %928

928:                                              ; preds = %927, %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  br label %931

929:                                              ; preds = %924, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  %930 = load i32, ptr %3, align 4
  ret i32 %930

931:                                              ; preds = %928
  %932 = load ptr, ptr %9, align 8
  %933 = load i32, ptr %10, align 4
  %934 = insertvalue { ptr, i32 } poison, ptr %932, 0
  %935 = insertvalue { ptr, i32 } %934, i32 %933, 1
  resume { ptr, i32 } %935
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE6InsertES5_S7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE4FindES5_PS7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK5RNMapIiP10MPCategoryE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #3 align 2

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #0

declare noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40)) #0

declare void @_ZN13R3OrientedBox5ResetERK7R3PointRK8R3VectorS5_ddd(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #0

declare void @_ZNK13R3OrientedBox8CentroidEv(ptr dead_on_unwind writable sret(%class.R3Point) align 8, ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh14SetFaceSegmentEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh15SetFaceCategoryEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK13R3OrientedBox9MaxRadiusEv(ptr noundef nonnull align 8 dereferenceable(128)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RNArrayIP7R3PointEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7RNArrayIP7R3PointE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #3 align 2

declare void @_ZN13R3OrientedBoxC1ERK7RNArrayIP7R3PointE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

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

declare void @_ZN8MPObjectC1Ev(ptr)

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 32}
!15 = !{!"_ZTS10MPCategory", !6, i64 0, !13, i64 8, !16, i64 16, !13, i64 32, !6, i64 40, !13, i64 48, !6, i64 56}
!16 = !{!"_ZTS7RNArrayIP8MPObjectE", !17, i64 0}
!17 = !{!"_ZTS8RNVArray", !6, i64 0, !13, i64 8, !13, i64 12}
!18 = !{!15, !6, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !13, i64 144}
!22 = !{!"_ZTS9MPSegment", !6, i64 0, !13, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !23, i64 40, !24, i64 56, !25, i64 64, !26, i64 88, !13, i64 144}
!23 = !{!"_ZTS7RNArrayIP10R3MeshFaceE", !17, i64 0}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS7R3Point", !7, i64 0}
!26 = !{!"_ZTS5R3Box", !27, i64 0, !25, i64 8, !25, i64 32}
!27 = !{!"_ZTS7R3Solid", !28, i64 0}
!28 = !{!"_ZTS7R3Shape"}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = !{!24, !24, i64 0}
!32 = distinct !{!32, !20}
!33 = distinct !{!33, !20}
!34 = distinct !{!34, !20}
!35 = distinct !{!35, !20}
!36 = !{!37, !6, i64 296}
!37 = !{!"_ZTS7MPHouse", !38, i64 0, !39, i64 16, !40, i64 32, !41, i64 48, !16, i64 64, !42, i64 80, !43, i64 96, !44, i64 112, !45, i64 128, !46, i64 144, !47, i64 160, !6, i64 288, !6, i64 296, !26, i64 304, !6, i64 360, !6, i64 368}
!38 = !{!"_ZTS7RNArrayIP7MPImageE", !17, i64 0}
!39 = !{!"_ZTS7RNArrayIP10MPPanoramaE", !17, i64 0}
!40 = !{!"_ZTS7RNArrayIP10MPCategoryE", !17, i64 0}
!41 = !{!"_ZTS7RNArrayIP9MPSegmentE", !17, i64 0}
!42 = !{!"_ZTS7RNArrayIP8MPVertexE", !17, i64 0}
!43 = !{!"_ZTS7RNArrayIP9MPSurfaceE", !17, i64 0}
!44 = !{!"_ZTS7RNArrayIP8MPRegionE", !17, i64 0}
!45 = !{!"_ZTS7RNArrayIP8MPPortalE", !17, i64 0}
!46 = !{!"_ZTS7RNArrayIP7MPLevelE", !17, i64 0}
!47 = !{!"_ZTS17RGBDConfiguration", !48, i64 8, !49, i64 24, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !26, i64 72}
!48 = !{!"_ZTS7RNArrayIP9RGBDImageE", !17, i64 0}
!49 = !{!"_ZTS7RNArrayIP11RGBDSurfaceE", !17, i64 0}
!50 = !{!51, !6, i64 32}
!51 = !{!"_ZTS8MPObject", !6, i64 0, !13, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !13, i64 40, !41, i64 48, !25, i64 64, !52, i64 88}
!52 = !{!"_ZTS13R3OrientedBox", !27, i64 0, !53, i64 8, !7, i64 104}
!53 = !{!"_ZTS13R3CoordSystem", !25, i64 0, !54, i64 24}
!54 = !{!"_ZTS7R3Triad", !7, i64 0}
!55 = distinct !{!55, !20}
!56 = distinct !{!56, !20}
!57 = distinct !{!57, !20}
!58 = distinct !{!58, !20}
!59 = distinct !{!59, !20}
!60 = distinct !{!60, !20}
!61 = distinct !{!61, !20}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.RNMap.33 = type { ptr }
%class.RNMap.34 = type { ptr }
%"class.std::allocator" = type { i8 }
%class.RNMap.22 = type { ptr }
%"class.Json::Value" = type { %"union.Json::Value::ValueHolder", i16, ptr, i64, i64 }
%"union.Json::Value::ValueHolder" = type { i64 }
%"class.Json::Reader" = type <{ %"class.std::stack", %"class.std::deque.27", %"class.std::__cxx11::basic_string", ptr, ptr, ptr, ptr, ptr, %"class.std::__cxx11::basic_string", %"class.Json::Features", i8, [3 x i8] }>
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl" }
%"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl" = type { %"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Json::Value *, std::allocator<Json::Value *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::deque.27" = type { %"class.std::_Deque_base.28" }
%"class.std::_Deque_base.28" = type { %"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl" }
%"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl" = type { %"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Json::Reader::ErrorInfo, std::allocator<Json::Reader::ErrorInfo>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.32", %"struct.std::_Deque_iterator.32" }
%"struct.std::_Deque_iterator.32" = type { ptr, ptr, ptr, ptr }
%"class.Json::Features" = type { i8, i8, i8, i8 }
%class.R3Point = type { [3 x double] }
%class.R3Vector = type { [3 x double] }
%class.RNArray.35 = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }
%class.R3OrientedBox = type { %class.R3Solid, %class.R3CoordSystem, [3 x double] }
%class.R3Solid = type { %class.R3Shape }
%class.R3Shape = type { ptr }
%class.R3CoordSystem = type { %class.R3Point, %class.R3Triad }
%class.R3Triad = type { [3 x %class.R3Vector] }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.75 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [15 x i8], align 1

declare i32 @__gxx_personality_v0(...)

declare void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6R3Mesh12VertexOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

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

declare void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN7R3SolidD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8MPObject13InsertSegmentEP9MPSegment(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10MPCategory12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8MPRegion12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP8MPObjectE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7R3PointixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7MPHouse12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(376), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP10MPCategoryE3KthEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7MPHouse10FindRegionERK7R3Pointd(ptr noundef nonnull align 8 dereferenceable(376), ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #7

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZN13R3OrientedBoxaSERKS_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK5RNMapIiP9MPSegmentE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #10

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

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #7

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

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #7

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

declare void @_ZN4Json5ValueC1ENS_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) unnamed_addr #0

declare void @_ZN4Json6ReaderC1Ev(ptr noundef nonnull align 8 dereferenceable(269)) unnamed_addr #0

declare noundef zeroext i1 @_ZN4Json6Reader5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_5ValueEb(ptr noundef nonnull align 8 dereferenceable(269), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) local_unnamed_addr #0

declare noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #0

declare void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0

declare noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #0

declare void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: nounwind
declare void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN7MPHouse14ReadObjectFileEPKc(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %class.RNMap.33, align 8
  %5 = alloca %class.RNMap.34, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %class.RNMap.22, align 8
  %9 = alloca %"class.Json::Value", align 8
  %10 = alloca %"class.Json::Reader", align 8
  %11 = alloca %"class.Json::Value", align 8
  %12 = alloca %"class.Json::Value", align 8
  %13 = alloca %"class.Json::Value", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.Json::Value", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.Json::Value", align 8
  %21 = alloca %"class.Json::Value", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.Json::Value", align 8
  %25 = alloca %class.R3Point, align 8
  %26 = alloca %"class.Json::Value", align 8
  %27 = alloca %"class.Json::Value", align 8
  %28 = alloca %class.R3Vector, align 8
  %29 = alloca %"class.Json::Value", align 8
  %30 = alloca %"class.Json::Value", align 8
  %31 = alloca [3 x %class.R3Vector], align 16
  %32 = alloca %"class.Json::Value", align 8
  %33 = alloca %"class.Json::Value", align 8
  %34 = alloca %class.R3Point, align 8
  %35 = alloca %class.RNArray.35, align 8
  %36 = alloca %class.R3OrientedBox, align 8
  %37 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.75)
  %.not = icmp eq ptr %37, null
  br i1 %.not, label %38, label %41

38:                                               ; preds = %2
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.76, ptr noundef %1) #11
  br label %559

41:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #12
  %42 = call i32 @fseek(ptr noundef nonnull %37, i64 noundef 0, i32 noundef 2)
  %43 = call i64 @ftell(ptr noundef nonnull %37)
  %44 = call i32 @fseek(ptr noundef nonnull %37, i64 noundef 0, i32 noundef 0)
  %45 = add nsw i64 %43, 1
  %46 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %45) #13
          to label %47 unwind label %52

47:                                               ; preds = %41
  %48 = call i64 @fread(ptr noundef nonnull %46, i64 noundef 1, i64 noundef %43, ptr noundef nonnull %37)
  %.not178 = icmp eq i64 %48, %43
  br i1 %.not178, label %56, label %49

49:                                               ; preds = %47
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.77, ptr noundef %1) #11
  br label %557

52:                                               ; preds = %41
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %558

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

56:                                               ; preds = %47
  %57 = getelementptr inbounds i8, ptr %46, i64 %43
  store i8 0, ptr %57, align 1, !tbaa !9
  %58 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull %46)
          to label %59 unwind label %54

59:                                               ; preds = %56
  call void @_ZdaPv(ptr noundef nonnull %46) #14
  %60 = call i32 @fclose(ptr noundef nonnull %37)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #12
  invoke void @_ZN5RNMapIiP10MPCategoryEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %61 unwind label %68

61:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #12
  invoke void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %.preheader260 unwind label %70

.preheader260:                                    ; preds = %61
  %62 = getelementptr inbounds i8, ptr %0, i64 32
  %63 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %62)
  %64 = icmp sgt i32 %63, 0
  br i1 %64, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %80, %.preheader260
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #12
  invoke void @_ZN5RNMapIiP9MPSegmentEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %.preheader259 unwind label %91

.preheader259:                                    ; preds = %._crit_edge
  %65 = getelementptr inbounds i8, ptr %0, i64 48
  %66 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %65)
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph297, label %._crit_edge298

68:                                               ; preds = %59
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %556

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %555

.lr.ph:                                           ; preds = %.preheader260, %80
  %.0164295 = phi i32 [ %81, %80 ], [ 0, %.preheader260 ]
  %72 = invoke noundef ptr @_ZNK7RNArrayIP10MPCategoryE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %62, i32 noundef %.0164295)
          to label %73 unwind label %84

73:                                               ; preds = %.lr.ph
  %74 = getelementptr inbounds i8, ptr %72, i64 32
  %75 = load i32, ptr %74, align 8, !tbaa !10
  invoke void @_ZN5RNMapIiP10MPCategoryE6InsertEiS1_(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %75, ptr noundef nonnull %72)
          to label %76 unwind label %84

76:                                               ; preds = %73
  %77 = getelementptr inbounds i8, ptr %72, i64 40
  %78 = load ptr, ptr %77, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #12
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %78, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %79 unwind label %86

79:                                               ; preds = %76
  invoke void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE6InsertES5_S7_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %6, ptr noundef nonnull %72)
          to label %80 unwind label %88

80:                                               ; preds = %79
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #12
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #12
  %81 = add nuw nsw i32 %.0164295, 1
  %82 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %62)
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %.lr.ph, label %._crit_edge, !llvm.loop !16

84:                                               ; preds = %73, %.lr.ph
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %554

86:                                               ; preds = %76
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %90

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #12
  br label %90

90:                                               ; preds = %88, %86
  %.pn236 = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #12
  br label %554

._crit_edge298:                                   ; preds = %97, %.preheader259
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #12
  invoke void @_ZN4Json5ValueC1ENS_9ValueTypeE(ptr noundef nonnull align 8 dereferenceable(40) %9, i32 noundef 0)
          to label %103 unwind label %110

91:                                               ; preds = %._crit_edge
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %553

.lr.ph297:                                        ; preds = %.preheader259, %97
  %.0166296 = phi i32 [ %98, %97 ], [ 0, %.preheader259 ]
  %93 = invoke noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %65, i32 noundef %.0166296)
          to label %94 unwind label %101

94:                                               ; preds = %.lr.ph297
  %95 = getelementptr inbounds i8, ptr %93, i64 144
  %96 = load i32, ptr %95, align 8, !tbaa !18
  invoke void @_ZN5RNMapIiP9MPSegmentE6InsertEiS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %96, ptr noundef nonnull %93)
          to label %97 unwind label %101

97:                                               ; preds = %94
  %98 = add nuw nsw i32 %.0166296, 1
  %99 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %65)
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %.lr.ph297, label %._crit_edge298, !llvm.loop !26

101:                                              ; preds = %94, %.lr.ph297
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %552

103:                                              ; preds = %._crit_edge298
  call void @llvm.lifetime.start.p0(i64 272, ptr nonnull %10) #12
  invoke void @_ZN4Json6ReaderC1Ev(ptr noundef nonnull align 8 dereferenceable(269) %10)
          to label %104 unwind label %112

104:                                              ; preds = %103
  %105 = invoke noundef zeroext i1 @_ZN4Json6Reader5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_5ValueEb(ptr noundef nonnull align 8 dereferenceable(269) %10, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(40) %9, i1 noundef zeroext false)
          to label %106 unwind label %114

106:                                              ; preds = %104
  br i1 %105, label %116, label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr @stderr, align 8, !tbaa !5
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.78, ptr noundef %1) #11
  br label %548

110:                                              ; preds = %._crit_edge298
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %551

112:                                              ; preds = %103
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %550

114:                                              ; preds = %116, %104
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %549

116:                                              ; preds = %106
  %117 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull @.str.81)
          to label %118 unwind label %114

118:                                              ; preds = %116
  br i1 %117, label %122, label %119

119:                                              ; preds = %118
  %120 = load ptr, ptr @stderr, align 8, !tbaa !5
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef nonnull @.str.82, ptr noundef %1) #11
  br label %548

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #12
  %123 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull @.str.81)
          to label %124 unwind label %137

124:                                              ; preds = %122
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(40) %123)
          to label %.preheader258 unwind label %137

.preheader258:                                    ; preds = %124
  %125 = getelementptr inbounds i8, ptr %31, i64 24
  %126 = getelementptr inbounds i8, ptr %31, i64 48
  br label %127

127:                                              ; preds = %.preheader258, %440
  %.0168 = phi i32 [ %441, %440 ], [ 0, %.preheader258 ]
  %128 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %129 unwind label %139

129:                                              ; preds = %127
  %130 = icmp ult i32 %.0168, %128
  br i1 %130, label %141, label %131

131:                                              ; preds = %129
  %132 = getelementptr inbounds i8, ptr %0, i64 296
  %133 = load ptr, ptr %132, align 8, !tbaa !27
  %.not179 = icmp eq ptr %133, null
  br i1 %.not179, label %.loopexit, label %.preheader250

.preheader250:                                    ; preds = %131
  %134 = getelementptr inbounds i8, ptr %0, i64 64
  %135 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %134)
  %136 = icmp sgt i32 %135, 0
  br i1 %136, label %.lr.ph310, label %.preheader248

137:                                              ; preds = %124, %122
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %547

139:                                              ; preds = %127
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %546

141:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #12
  %142 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEj(ptr noundef nonnull align 8 dereferenceable(40) %11, i32 noundef %.0168)
          to label %143 unwind label %160

143:                                              ; preds = %141
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 8 dereferenceable(40) %142)
          to label %144 unwind label %160

144:                                              ; preds = %143
  %145 = invoke noalias noundef nonnull dereferenceable(216) ptr @_Znwm(i64 noundef 216) #13
          to label %146 unwind label %162

146:                                              ; preds = %144
  invoke void @_ZN8MPObjectC1Ev(ptr noundef nonnull align 8 dereferenceable(216) %145)
          to label %147 unwind label %164

147:                                              ; preds = %146
  %148 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.83)
          to label %149 unwind label %162

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

150:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #12
  %151 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.83)
          to label %152 unwind label %166

152:                                              ; preds = %150
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(40) %151)
          to label %153 unwind label %166

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #12
  invoke void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %154 unwind label %168

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #12
  store ptr null, ptr %15, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %155 unwind label %170

155:                                              ; preds = %154
  %156 = invoke noundef i32 @_ZNK5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE4FindES5_PS7_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %16, ptr noundef nonnull %15)
          to label %157 unwind label %172

157:                                              ; preds = %155
  %.not195 = icmp eq i32 %156, 0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #12
  br i1 %.not195, label %174, label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN10MPCategory12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(64) %159, ptr noundef nonnull %145)
          to label %174 unwind label %170

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

162:                                              ; preds = %238, %201, %178, %147, %144
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %442

164:                                              ; preds = %146
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %145, i64 noundef 216) #14
  br label %442

166:                                              ; preds = %152, %150
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %177

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

170:                                              ; preds = %158, %154
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %175

172:                                              ; preds = %155
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #12
  br label %175

174:                                              ; preds = %158, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #12
  br label %201

175:                                              ; preds = %172, %170
  %.pn196 = phi { ptr, i32 } [ %171, %170 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #12
  br label %176

176:                                              ; preds = %175, %168
  %.pn196.pn = phi { ptr, i32 } [ %.pn196, %175 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #12
  br label %177

177:                                              ; preds = %176, %166
  %.pn196.pn.pn = phi { ptr, i32 } [ %.pn196.pn, %176 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #12
  br label %442

178:                                              ; preds = %149
  %179 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.84)
          to label %180 unwind label %162

180:                                              ; preds = %178
  br i1 %179, label %181, label %201

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #12
  %182 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.84)
          to label %183 unwind label %192

183:                                              ; preds = %181
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %182)
          to label %184 unwind label %192

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #12
  invoke void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %185 unwind label %194

185:                                              ; preds = %184
  %186 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  %187 = call i32 @atoi(ptr nocapture noundef %186) #15
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #12
  store ptr null, ptr %19, align 8, !tbaa !5
  %188 = invoke noundef i32 @_ZNK5RNMapIiP10MPCategoryE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %187, ptr noundef nonnull %19)
          to label %189 unwind label %196

189:                                              ; preds = %185
  %.not191 = icmp eq i32 %188, 0
  br i1 %.not191, label %198, label %190

190:                                              ; preds = %189
  %191 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN10MPCategory12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(64) %191, ptr noundef nonnull %145)
          to label %198 unwind label %196

192:                                              ; preds = %183, %181
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %200

194:                                              ; preds = %184
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #12
  br label %199

196:                                              ; preds = %190, %185
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  br label %199

198:                                              ; preds = %190, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #12
  br label %201

199:                                              ; preds = %196, %194
  %.pn192 = phi { ptr, i32 } [ %197, %196 ], [ %195, %194 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #12
  br label %200

200:                                              ; preds = %199, %192
  %.pn192.pn = phi { ptr, i32 } [ %.pn192, %199 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #12
  br label %442

201:                                              ; preds = %180, %198, %174
  %202 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.85)
          to label %203 unwind label %162

203:                                              ; preds = %201
  br i1 %202, label %204, label %238

204:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #12
  %205 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.85)
          to label %206 unwind label %211

206:                                              ; preds = %204
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef nonnull align 8 dereferenceable(40) %205)
          to label %.preheader257 unwind label %211

.preheader257:                                    ; preds = %206, %232
  %.0169 = phi i32 [ %233, %232 ], [ 0, %206 ]
  %207 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %208 unwind label %213

208:                                              ; preds = %.preheader257
  %209 = icmp ult i32 %.0169, %207
  br i1 %209, label %215, label %210

210:                                              ; preds = %208
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #12
  br label %238

211:                                              ; preds = %206, %204
  %212 = landingpad { ptr, i32 }
          cleanup
  br label %237

213:                                              ; preds = %.preheader257
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %236

215:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #12
  %216 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEj(ptr noundef nonnull align 8 dereferenceable(40) %20, i32 noundef %.0169)
          to label %217 unwind label %226

217:                                              ; preds = %215
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %21, ptr noundef nonnull align 8 dereferenceable(40) %216)
          to label %218 unwind label %226

218:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #12
  invoke void @_ZNK4Json5Value8asStringB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %219 unwind label %228

219:                                              ; preds = %218
  %220 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #12
  %221 = call i32 @atoi(ptr nocapture noundef %220) #15
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #12
  store ptr null, ptr %23, align 8, !tbaa !5
  %222 = invoke noundef i32 @_ZNK5RNMapIiP9MPSegmentE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %221, ptr noundef nonnull %23)
          to label %223 unwind label %230

223:                                              ; preds = %219
  %.not219 = icmp eq i32 %222, 0
  br i1 %.not219, label %232, label %224

224:                                              ; preds = %223
  %225 = load ptr, ptr %23, align 8, !tbaa !5
  invoke void @_ZN8MPObject13InsertSegmentEP9MPSegment(ptr noundef nonnull align 8 dereferenceable(216) %145, ptr noundef %225)
          to label %232 unwind label %230

226:                                              ; preds = %217, %215
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %235

228:                                              ; preds = %218
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #12
  br label %234

230:                                              ; preds = %224, %219
  %231 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #12
  br label %234

232:                                              ; preds = %224, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #12
  %233 = add nuw i32 %.0169, 1
  br label %.preheader257, !llvm.loop !41

234:                                              ; preds = %230, %228
  %.pn220 = phi { ptr, i32 } [ %231, %230 ], [ %229, %228 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #12
  br label %235

235:                                              ; preds = %234, %226
  %.pn220.pn = phi { ptr, i32 } [ %.pn220, %234 ], [ %227, %226 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #12
  br label %236

236:                                              ; preds = %235, %213
  %.pn220.pn.pn = phi { ptr, i32 } [ %.pn220.pn, %235 ], [ %214, %213 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #12
  br label %237

237:                                              ; preds = %236, %211
  %.pn220.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn, %236 ], [ %212, %211 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #12
  br label %442

238:                                              ; preds = %210, %203
  %239 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.86)
          to label %240 unwind label %162

240:                                              ; preds = %238
  br i1 %239, label %241, label %429

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %24) #12
  %242 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull @.str.86)
          to label %243 unwind label %256

243:                                              ; preds = %241
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %242)
          to label %244 unwind label %256

244:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #12
  invoke void @_ZN7R3PointC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %25, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %245 unwind label %258

245:                                              ; preds = %244
  %246 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull @.str.87)
          to label %247 unwind label %258

247:                                              ; preds = %245
  br i1 %246, label %248, label %288

248:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %26) #12
  %249 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull @.str.87)
          to label %250 unwind label %260

250:                                              ; preds = %248
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef nonnull align 8 dereferenceable(40) %249)
          to label %251 unwind label %260

251:                                              ; preds = %250
  %252 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %253 unwind label %262

253:                                              ; preds = %251
  %254 = icmp ugt i32 %252, 2
  br i1 %254, label %.preheader255.preheader, label %.loopexit256

.preheader255.preheader:                          ; preds = %253
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #12
  %255 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %26, i32 noundef 0)
          to label %264 unwind label %281

256:                                              ; preds = %243, %241
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %428

258:                                              ; preds = %245, %244
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %427

260:                                              ; preds = %250, %248
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %287

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

264:                                              ; preds = %.preheader255.preheader
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 8 dereferenceable(40) %255)
          to label %265 unwind label %281

265:                                              ; preds = %264
  %266 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %267 unwind label %283

267:                                              ; preds = %265
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7R3PointixEi(ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef 0)
          to label %.preheader255.1 unwind label %283

.preheader255.1:                                  ; preds = %267
  store double %266, ptr %268, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #12
  %269 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %26, i32 noundef 1)
          to label %270 unwind label %281

270:                                              ; preds = %.preheader255.1
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 8 dereferenceable(40) %269)
          to label %271 unwind label %281

271:                                              ; preds = %270
  %272 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %273 unwind label %283

273:                                              ; preds = %271
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7R3PointixEi(ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef 1)
          to label %.preheader255.2 unwind label %283

.preheader255.2:                                  ; preds = %273
  store double %272, ptr %274, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %27) #12
  %275 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %26, i32 noundef 2)
          to label %276 unwind label %281

276:                                              ; preds = %.preheader255.2
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 8 dereferenceable(40) %275)
          to label %277 unwind label %281

277:                                              ; preds = %276
  %278 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %279 unwind label %283

279:                                              ; preds = %277
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7R3PointixEi(ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef 2)
          to label %.loopexit256.loopexit unwind label %283

.loopexit256.loopexit:                            ; preds = %279
  store double %278, ptr %280, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #12
  br label %.loopexit256

281:                                              ; preds = %276, %.preheader255.2, %270, %.preheader255.1, %264, %.preheader255.preheader
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %285

283:                                              ; preds = %279, %277, %273, %271, %267, %265
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #12
  br label %285

285:                                              ; preds = %283, %281
  %.pn213 = phi { ptr, i32 } [ %284, %283 ], [ %282, %281 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %27) #12
  br label %286

.loopexit256:                                     ; preds = %.loopexit256.loopexit, %253
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #12
  br label %288

286:                                              ; preds = %285, %262
  %.pn213.pn = phi { ptr, i32 } [ %.pn213, %285 ], [ %263, %262 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #12
  br label %287

287:                                              ; preds = %286, %260
  %.pn213.pn.pn = phi { ptr, i32 } [ %.pn213.pn, %286 ], [ %261, %260 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %26) #12
  br label %427

288:                                              ; preds = %.loopexit256, %247
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #12
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %28, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %289 unwind label %300

289:                                              ; preds = %288
  %290 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull @.str.88)
          to label %291 unwind label %300

291:                                              ; preds = %289
  br i1 %290, label %292, label %330

292:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #12
  %293 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull @.str.88)
          to label %294 unwind label %302

294:                                              ; preds = %292
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 8 dereferenceable(40) %293)
          to label %295 unwind label %302

295:                                              ; preds = %294
  %296 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %297 unwind label %304

297:                                              ; preds = %295
  %298 = icmp ugt i32 %296, 2
  br i1 %298, label %.preheader253.preheader, label %.loopexit254

.preheader253.preheader:                          ; preds = %297
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #12
  %299 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %29, i32 noundef 0)
          to label %306 unwind label %323

300:                                              ; preds = %289, %288
  %301 = landingpad { ptr, i32 }
          cleanup
  br label %426

302:                                              ; preds = %294, %292
  %303 = landingpad { ptr, i32 }
          cleanup
  br label %329

304:                                              ; preds = %295
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %328

306:                                              ; preds = %.preheader253.preheader
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef nonnull align 8 dereferenceable(40) %299)
          to label %307 unwind label %323

307:                                              ; preds = %306
  %308 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %309 unwind label %325

309:                                              ; preds = %307
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 0)
          to label %.preheader253.1 unwind label %325

.preheader253.1:                                  ; preds = %309
  store double %308, ptr %310, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #12
  %311 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %29, i32 noundef 1)
          to label %312 unwind label %323

312:                                              ; preds = %.preheader253.1
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef nonnull align 8 dereferenceable(40) %311)
          to label %313 unwind label %323

313:                                              ; preds = %312
  %314 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %315 unwind label %325

315:                                              ; preds = %313
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 1)
          to label %.preheader253.2 unwind label %325

.preheader253.2:                                  ; preds = %315
  store double %314, ptr %316, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %30) #12
  %317 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %29, i32 noundef 2)
          to label %318 unwind label %323

318:                                              ; preds = %.preheader253.2
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef nonnull align 8 dereferenceable(40) %317)
          to label %319 unwind label %323

319:                                              ; preds = %318
  %320 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %321 unwind label %325

321:                                              ; preds = %319
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 2)
          to label %.loopexit254.loopexit unwind label %325

.loopexit254.loopexit:                            ; preds = %321
  store double %320, ptr %322, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #12
  br label %.loopexit254

323:                                              ; preds = %318, %.preheader253.2, %312, %.preheader253.1, %306, %.preheader253.preheader
  %324 = landingpad { ptr, i32 }
          cleanup
  br label %327

325:                                              ; preds = %321, %319, %315, %313, %309, %307
  %326 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #12
  br label %327

327:                                              ; preds = %325, %323
  %.pn208 = phi { ptr, i32 } [ %326, %325 ], [ %324, %323 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %30) #12
  br label %328

.loopexit254:                                     ; preds = %.loopexit254.loopexit, %297
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #12
  br label %330

328:                                              ; preds = %327, %304
  %.pn208.pn = phi { ptr, i32 } [ %.pn208, %327 ], [ %305, %304 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #12
  br label %329

329:                                              ; preds = %328, %302
  %.pn208.pn.pn = phi { ptr, i32 } [ %.pn208.pn, %328 ], [ %303, %302 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #12
  br label %426

330:                                              ; preds = %.loopexit254, %291
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %31) #12
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %31, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %331 unwind label %344

331:                                              ; preds = %330
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %125, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %332 unwind label %344

332:                                              ; preds = %331
  invoke void @_ZN8R3VectorC1Eddd(ptr noundef nonnull align 8 dereferenceable(24) %126, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %333 unwind label %344

333:                                              ; preds = %332
  %334 = invoke noundef zeroext i1 @_ZNK4Json5Value8isMemberEPKc(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull @.str.89)
          to label %335 unwind label %344

335:                                              ; preds = %333
  br i1 %334, label %336, label %410

336:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %32) #12
  %337 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEPKc(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull @.str.89)
          to label %338 unwind label %346

338:                                              ; preds = %336
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %32, ptr noundef nonnull align 8 dereferenceable(40) %337)
          to label %339 unwind label %346

339:                                              ; preds = %338
  %340 = invoke noundef i32 @_ZNK4Json5Value4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %341 unwind label %348

341:                                              ; preds = %339
  %342 = icmp ugt i32 %340, 8
  br i1 %342, label %.preheader251.preheader, label %.loopexit252

.preheader251.preheader:                          ; preds = %341
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %343 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 0)
          to label %350 unwind label %403

344:                                              ; preds = %422, %419, %416, %413, %410, %333, %332, %331, %330
  %345 = landingpad { ptr, i32 }
          cleanup
  br label %425

346:                                              ; preds = %338, %336
  %347 = landingpad { ptr, i32 }
          cleanup
  br label %409

348:                                              ; preds = %339
  %349 = landingpad { ptr, i32 }
          cleanup
  br label %408

350:                                              ; preds = %.preheader251.preheader
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %343)
          to label %351 unwind label %403

351:                                              ; preds = %350
  %352 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %353 unwind label %405

353:                                              ; preds = %351
  %354 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef 0)
          to label %.preheader251.1 unwind label %405

.preheader251.1:                                  ; preds = %353
  store double %352, ptr %354, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %355 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 1)
          to label %356 unwind label %403

356:                                              ; preds = %.preheader251.1
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %355)
          to label %357 unwind label %403

357:                                              ; preds = %356
  %358 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %359 unwind label %405

359:                                              ; preds = %357
  %360 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef 1)
          to label %.preheader251.2 unwind label %405

.preheader251.2:                                  ; preds = %359
  store double %358, ptr %360, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %361 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 2)
          to label %362 unwind label %403

362:                                              ; preds = %.preheader251.2
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %361)
          to label %363 unwind label %403

363:                                              ; preds = %362
  %364 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %365 unwind label %405

365:                                              ; preds = %363
  %366 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef 2)
          to label %.preheader251.3 unwind label %405

.preheader251.3:                                  ; preds = %365
  store double %364, ptr %366, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %367 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 3)
          to label %368 unwind label %403

368:                                              ; preds = %.preheader251.3
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %367)
          to label %369 unwind label %403

369:                                              ; preds = %368
  %370 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %371 unwind label %405

371:                                              ; preds = %369
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %125, i32 noundef 0)
          to label %.preheader251.4 unwind label %405

.preheader251.4:                                  ; preds = %371
  store double %370, ptr %372, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %373 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 4)
          to label %374 unwind label %403

374:                                              ; preds = %.preheader251.4
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %373)
          to label %375 unwind label %403

375:                                              ; preds = %374
  %376 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %377 unwind label %405

377:                                              ; preds = %375
  %378 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %125, i32 noundef 1)
          to label %.preheader251.5 unwind label %405

.preheader251.5:                                  ; preds = %377
  store double %376, ptr %378, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %379 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 5)
          to label %380 unwind label %403

380:                                              ; preds = %.preheader251.5
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %379)
          to label %381 unwind label %403

381:                                              ; preds = %380
  %382 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %383 unwind label %405

383:                                              ; preds = %381
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %125, i32 noundef 2)
          to label %.preheader251.6 unwind label %405

.preheader251.6:                                  ; preds = %383
  store double %382, ptr %384, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %385 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 6)
          to label %386 unwind label %403

386:                                              ; preds = %.preheader251.6
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %385)
          to label %387 unwind label %403

387:                                              ; preds = %386
  %388 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %389 unwind label %405

389:                                              ; preds = %387
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %126, i32 noundef 0)
          to label %.preheader251.7 unwind label %405

.preheader251.7:                                  ; preds = %389
  store double %388, ptr %390, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %391 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 7)
          to label %392 unwind label %403

392:                                              ; preds = %.preheader251.7
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %391)
          to label %393 unwind label %403

393:                                              ; preds = %392
  %394 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %395 unwind label %405

395:                                              ; preds = %393
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %126, i32 noundef 1)
          to label %.preheader251.8 unwind label %405

.preheader251.8:                                  ; preds = %395
  store double %394, ptr %396, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %33) #12
  %397 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef 8)
          to label %398 unwind label %403

398:                                              ; preds = %.preheader251.8
  invoke void @_ZN4Json5ValueC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %397)
          to label %399 unwind label %403

399:                                              ; preds = %398
  %400 = invoke noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %401 unwind label %405

401:                                              ; preds = %399
  %402 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %126, i32 noundef 2)
          to label %.loopexit252.loopexit unwind label %405

.loopexit252.loopexit:                            ; preds = %401
  store double %400, ptr %402, align 8, !tbaa !42
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  br label %.loopexit252

403:                                              ; preds = %398, %.preheader251.8, %392, %.preheader251.7, %386, %.preheader251.6, %380, %.preheader251.5, %374, %.preheader251.4, %368, %.preheader251.3, %362, %.preheader251.2, %356, %.preheader251.1, %350, %.preheader251.preheader
  %404 = landingpad { ptr, i32 }
          cleanup
  br label %407

405:                                              ; preds = %401, %399, %395, %393, %389, %387, %383, %381, %377, %375, %371, %369, %365, %363, %359, %357, %353, %351
  %406 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #12
  br label %407

407:                                              ; preds = %405, %403
  %.pn203 = phi { ptr, i32 } [ %406, %405 ], [ %404, %403 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %33) #12
  br label %408

.loopexit252:                                     ; preds = %.loopexit252.loopexit, %341
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #12
  br label %410

408:                                              ; preds = %407, %348
  %.pn203.pn = phi { ptr, i32 } [ %.pn203, %407 ], [ %349, %348 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %32) #12
  br label %409

409:                                              ; preds = %408, %346
  %.pn203.pn.pn = phi { ptr, i32 } [ %.pn203.pn, %408 ], [ %347, %346 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %32) #12
  br label %425

410:                                              ; preds = %.loopexit252, %335
  %411 = getelementptr inbounds i8, ptr %145, i64 64
  %412 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7R3PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %411, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %413 unwind label %344

413:                                              ; preds = %410
  %414 = getelementptr inbounds i8, ptr %145, i64 88
  %415 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 0)
          to label %416 unwind label %344

416:                                              ; preds = %413
  %417 = load double, ptr %415, align 8, !tbaa !42
  %418 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 1)
          to label %419 unwind label %344

419:                                              ; preds = %416
  %420 = load double, ptr %418, align 8, !tbaa !42
  %421 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8R3VectorixEi(ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef 2)
          to label %422 unwind label %344

422:                                              ; preds = %419
  %423 = load double, ptr %421, align 8, !tbaa !42
  invoke void @_ZN13R3OrientedBox5ResetERK7R3PointRK8R3VectorS5_ddd(ptr noundef nonnull align 8 dereferenceable(128) %414, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %125, double noundef %417, double noundef %420, double noundef %423)
          to label %424 unwind label %344

424:                                              ; preds = %422
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %31) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #12
  br label %429

425:                                              ; preds = %409, %344
  %.pn203.pn.pn.pn = phi { ptr, i32 } [ %.pn203.pn.pn, %409 ], [ %345, %344 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %31) #12
  br label %426

426:                                              ; preds = %425, %329, %300
  %.pn208.pn.pn.pn = phi { ptr, i32 } [ %.pn208.pn.pn, %329 ], [ %.pn203.pn.pn.pn, %425 ], [ %301, %300 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #12
  br label %427

427:                                              ; preds = %426, %287, %258
  %.pn213.pn.pn.pn = phi { ptr, i32 } [ %.pn213.pn.pn, %287 ], [ %.pn208.pn.pn.pn, %426 ], [ %259, %258 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #12
  br label %428

428:                                              ; preds = %427, %256
  %.pn213.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn213.pn.pn.pn, %427 ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %24) #12
  br label %442

429:                                              ; preds = %424, %240
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #12
  %430 = getelementptr inbounds i8, ptr %145, i64 88
  invoke void @_ZNK13R3OrientedBox8CentroidEv(ptr dead_on_unwind nonnull writable sret(%class.R3Point) align 8 %34, ptr noundef nonnull align 8 dereferenceable(128) %430)
          to label %431 unwind label %435

431:                                              ; preds = %429
  %432 = invoke noundef ptr @_ZNK7MPHouse10FindRegionERK7R3Pointd(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr noundef nonnull align 8 dereferenceable(24) %34, double noundef 1.000000e+00)
          to label %433 unwind label %435

433:                                              ; preds = %431
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #12
  %.not200 = icmp eq ptr %432, null
  br i1 %.not200, label %439, label %434

434:                                              ; preds = %433
  invoke void @_ZN8MPRegion12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(192) %432, ptr noundef nonnull %145)
          to label %439 unwind label %437

435:                                              ; preds = %431, %429
  %436 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #12
  br label %442

437:                                              ; preds = %439, %434
  %438 = landingpad { ptr, i32 }
          cleanup
  br label %442

439:                                              ; preds = %434, %433
  invoke void @_ZN7MPHouse12InsertObjectEP8MPObject(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr noundef nonnull %145)
          to label %440 unwind label %437

440:                                              ; preds = %439
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #12
  %441 = add i32 %.0168, 1
  br label %127, !llvm.loop !43

442:                                              ; preds = %435, %437, %428, %237, %200, %177, %164, %162
  %.pn220.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn, %237 ], [ %.pn213.pn.pn.pn.pn, %428 ], [ %163, %162 ], [ %.pn196.pn.pn, %177 ], [ %.pn192.pn, %200 ], [ %165, %164 ], [ %438, %437 ], [ %436, %435 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #12
  br label %443

443:                                              ; preds = %442, %160
  %.pn220.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn.pn, %442 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #12
  br label %546

.preheader248:                                    ; preds = %._crit_edge308, %.preheader250
  %444 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %134)
  %445 = icmp sgt i32 %444, 0
  br i1 %445, label %.lr.ph319, label %.loopexit

.lr.ph310:                                        ; preds = %.preheader250, %._crit_edge308
  %.0172309 = phi i32 [ %458, %._crit_edge308 ], [ 0, %.preheader250 ]
  %446 = invoke noundef ptr @_ZNK7RNArrayIP8MPObjectE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %134, i32 noundef %.0172309)
          to label %447 unwind label %461

447:                                              ; preds = %.lr.ph310
  %448 = getelementptr inbounds i8, ptr %446, i64 32
  %449 = load ptr, ptr %448, align 8, !tbaa !44
  %.not187 = icmp eq ptr %449, null
  br i1 %.not187, label %453, label %450

450:                                              ; preds = %447
  %451 = getelementptr inbounds i8, ptr %449, i64 32
  %452 = load i32, ptr %451, align 8, !tbaa !10
  br label %453

453:                                              ; preds = %447, %450
  %454 = phi i32 [ %452, %450 ], [ -1, %447 ]
  %455 = getelementptr inbounds i8, ptr %446, i64 48
  %456 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %455)
  %457 = icmp sgt i32 %456, 0
  br i1 %457, label %.lr.ph307, label %._crit_edge308

._crit_edge308:                                   ; preds = %._crit_edge304, %453
  %458 = add nuw nsw i32 %.0172309, 1
  %459 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %134)
  %460 = icmp slt i32 %458, %459
  br i1 %460, label %.lr.ph310, label %.preheader248, !llvm.loop !49

461:                                              ; preds = %.lr.ph310
  %462 = landingpad { ptr, i32 }
          cleanup
  br label %546

.lr.ph307:                                        ; preds = %453, %._crit_edge304
  %.0167305 = phi i32 [ %468, %._crit_edge304 ], [ 0, %453 ]
  %463 = invoke noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %455, i32 noundef %.0167305)
          to label %.preheader249 unwind label %471

.preheader249:                                    ; preds = %.lr.ph307
  %464 = getelementptr inbounds i8, ptr %463, i64 40
  %465 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %464)
  %466 = icmp sgt i32 %465, 0
  br i1 %466, label %.lr.ph303, label %._crit_edge304

.lr.ph303:                                        ; preds = %.preheader249
  %467 = getelementptr inbounds i8, ptr %463, i64 144
  br label %473

._crit_edge304:                                   ; preds = %475, %.preheader249
  %468 = add nuw nsw i32 %.0167305, 1
  %469 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %455)
  %470 = icmp slt i32 %468, %469
  br i1 %470, label %.lr.ph307, label %._crit_edge308, !llvm.loop !50

471:                                              ; preds = %.lr.ph307
  %472 = landingpad { ptr, i32 }
          cleanup
  br label %546

473:                                              ; preds = %.lr.ph303, %475
  %.0165302 = phi i32 [ 0, %.lr.ph303 ], [ %480, %475 ]
  %474 = invoke noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %464, i32 noundef %.0165302)
          to label %475 unwind label %483

475:                                              ; preds = %473
  %476 = load ptr, ptr %132, align 8, !tbaa !27
  %477 = load i32, ptr %467, align 8, !tbaa !18
  call void @_ZN6R3Mesh15SetFaceMaterialEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %476, ptr noundef %474, i32 noundef %477)
  %478 = load ptr, ptr %132, align 8, !tbaa !27
  call void @_ZN6R3Mesh14SetFaceSegmentEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %478, ptr noundef %474, i32 noundef %.0172309)
  %479 = load ptr, ptr %132, align 8, !tbaa !27
  call void @_ZN6R3Mesh15SetFaceCategoryEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %479, ptr noundef %474, i32 noundef %454)
  %480 = add nuw nsw i32 %.0165302, 1
  %481 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %464)
  %482 = icmp slt i32 %480, %481
  br i1 %482, label %473, label %._crit_edge304, !llvm.loop !51

483:                                              ; preds = %473
  %484 = landingpad { ptr, i32 }
          cleanup
  br label %546

.lr.ph319:                                        ; preds = %.preheader248, %542
  %.0163318 = phi i32 [ %543, %542 ], [ 0, %.preheader248 ]
  %485 = invoke noundef ptr @_ZNK7RNArrayIP8MPObjectE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %134, i32 noundef %.0163318)
          to label %486 unwind label %495

486:                                              ; preds = %.lr.ph319
  %487 = getelementptr inbounds i8, ptr %485, i64 88
  %488 = invoke noundef double @_ZNK13R3OrientedBox9MaxRadiusEv(ptr noundef nonnull align 8 dereferenceable(128) %487)
          to label %489 unwind label %495

489:                                              ; preds = %486
  %490 = fcmp ugt double %488, 0.000000e+00
  br i1 %490, label %542, label %491

491:                                              ; preds = %489
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #12
  invoke void @_ZN7RNArrayIP7R3PointEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %.preheader247 unwind label %497

.preheader247:                                    ; preds = %491
  %492 = getelementptr inbounds i8, ptr %485, i64 48
  %493 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %492)
  %494 = icmp sgt i32 %493, 0
  br i1 %494, label %.lr.ph316, label %._crit_edge317

._crit_edge317:                                   ; preds = %._crit_edge314, %.preheader247
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %36) #12
  invoke void @_ZN13R3OrientedBoxC1ERK7RNArrayIP7R3PointE(ptr noundef nonnull align 8 dereferenceable(128) %36, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %532 unwind label %535

495:                                              ; preds = %486, %.lr.ph319
  %496 = landingpad { ptr, i32 }
          cleanup
  br label %546

497:                                              ; preds = %491
  %498 = landingpad { ptr, i32 }
          cleanup
  br label %541

.lr.ph316:                                        ; preds = %.preheader247, %._crit_edge314
  %.0114315 = phi i32 [ %503, %._crit_edge314 ], [ 0, %.preheader247 ]
  %499 = invoke noundef ptr @_ZNK7RNArrayIP9MPSegmentE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %492, i32 noundef %.0114315)
          to label %.preheader246 unwind label %506

.preheader246:                                    ; preds = %.lr.ph316
  %500 = getelementptr inbounds i8, ptr %499, i64 40
  %501 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %500)
  %502 = icmp sgt i32 %501, 0
  br i1 %502, label %.lr.ph313, label %._crit_edge314

._crit_edge314:                                   ; preds = %526, %.preheader246
  %503 = add nuw nsw i32 %.0114315, 1
  %504 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %492)
  %505 = icmp slt i32 %503, %504
  br i1 %505, label %.lr.ph316, label %._crit_edge317, !llvm.loop !52

506:                                              ; preds = %.lr.ph316
  %507 = landingpad { ptr, i32 }
          cleanup
  br label %540

.lr.ph313:                                        ; preds = %.preheader246, %526
  %.0110312 = phi i32 [ %527, %526 ], [ 0, %.preheader246 ]
  %508 = invoke noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE3KthEi(ptr noundef nonnull align 8 dereferenceable(16) %500, i32 noundef %.0110312)
          to label %.preheader.preheader unwind label %514

.preheader.preheader:                             ; preds = %.lr.ph313
  %509 = load ptr, ptr %132, align 8, !tbaa !27
  %510 = call noundef ptr @_ZNK6R3Mesh12VertexOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %509, ptr noundef %508, i32 noundef 0)
  %511 = load ptr, ptr %132, align 8, !tbaa !27
  %512 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %511, ptr noundef %510)
  %513 = invoke noundef ptr @_ZN7RNArrayIP7R3PointE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull %512)
          to label %.preheader.1 unwind label %530

514:                                              ; preds = %.lr.ph313
  %515 = landingpad { ptr, i32 }
          cleanup
  br label %540

.preheader.1:                                     ; preds = %.preheader.preheader
  %516 = load ptr, ptr %132, align 8, !tbaa !27
  %517 = call noundef ptr @_ZNK6R3Mesh12VertexOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %516, ptr noundef %508, i32 noundef 1)
  %518 = load ptr, ptr %132, align 8, !tbaa !27
  %519 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %518, ptr noundef %517)
  %520 = invoke noundef ptr @_ZN7RNArrayIP7R3PointE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull %519)
          to label %.preheader.2 unwind label %530

.preheader.2:                                     ; preds = %.preheader.1
  %521 = load ptr, ptr %132, align 8, !tbaa !27
  %522 = call noundef ptr @_ZNK6R3Mesh12VertexOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %521, ptr noundef %508, i32 noundef 2)
  %523 = load ptr, ptr %132, align 8, !tbaa !27
  %524 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6R3Mesh14VertexPositionEPK12R3MeshVertex(ptr noundef nonnull align 8 dereferenceable(272) %523, ptr noundef %522)
  %525 = invoke noundef ptr @_ZN7RNArrayIP7R3PointE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull %524)
          to label %526 unwind label %530

526:                                              ; preds = %.preheader.2
  %527 = add nuw nsw i32 %.0110312, 1
  %528 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %500)
  %529 = icmp slt i32 %527, %528
  br i1 %529, label %.lr.ph313, label %._crit_edge314, !llvm.loop !53

530:                                              ; preds = %.preheader.2, %.preheader.1, %.preheader.preheader
  %531 = landingpad { ptr, i32 }
          cleanup
  br label %540

532:                                              ; preds = %._crit_edge317
  %533 = invoke noundef nonnull align 8 dereferenceable(128) ptr @_ZN13R3OrientedBoxaSERKS_(ptr noundef nonnull align 8 dereferenceable(128) %487, ptr noundef nonnull align 8 dereferenceable(128) %36)
          to label %534 unwind label %537

534:                                              ; preds = %532
  call void @_ZN7R3SolidD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %36) #12
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %36) #12
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #12
  br label %542

535:                                              ; preds = %._crit_edge317
  %536 = landingpad { ptr, i32 }
          cleanup
  br label %539

537:                                              ; preds = %532
  %538 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7R3SolidD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %36) #12
  br label %539

539:                                              ; preds = %537, %535
  %.pn = phi { ptr, i32 } [ %538, %537 ], [ %536, %535 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %36) #12
  br label %540

540:                                              ; preds = %506, %530, %514, %539
  %.pn181.pn.pn = phi { ptr, i32 } [ %.pn, %539 ], [ %507, %506 ], [ %531, %530 ], [ %515, %514 ]
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #12
  br label %541

541:                                              ; preds = %540, %497
  %.pn181.pn.pn.pn = phi { ptr, i32 } [ %.pn181.pn.pn, %540 ], [ %498, %497 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #12
  br label %546

542:                                              ; preds = %534, %489
  %543 = add nuw nsw i32 %.0163318, 1
  %544 = call noundef i32 @_ZNK8RNVArray8NEntriesEv(ptr noundef nonnull align 8 dereferenceable(16) %134)
  %545 = icmp slt i32 %543, %544
  br i1 %545, label %.lr.ph319, label %.loopexit, !llvm.loop !54

.loopexit:                                        ; preds = %542, %.preheader248, %131
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #12
  br label %548

546:                                              ; preds = %495, %541, %461, %483, %471, %139, %443
  %.pn220.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn.pn.pn, %443 ], [ %140, %139 ], [ %462, %461 ], [ %484, %483 ], [ %472, %471 ], [ %.pn181.pn.pn.pn, %541 ], [ %496, %495 ]
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #12
  br label %547

547:                                              ; preds = %546, %137
  %.pn220.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn.pn.pn.pn.pn, %546 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #12
  br label %549

548:                                              ; preds = %.loopexit, %119, %107
  %.0 = phi i32 [ 1, %.loopexit ], [ 0, %119 ], [ 0, %107 ]
  call void @_ZN4Json6ReaderD2Ev(ptr noundef nonnull align 8 dereferenceable(269) %10) #12
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %10) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #12
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #12
  call void @_ZN5RNMapIiP9MPSegmentED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #12
  call void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #12
  call void @_ZN5RNMapIiP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  br label %557

549:                                              ; preds = %547, %114
  %.pn220.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn.pn.pn.pn.pn.pn, %547 ], [ %115, %114 ]
  call void @_ZN4Json6ReaderD2Ev(ptr noundef nonnull align 8 dereferenceable(269) %10) #12
  br label %550

550:                                              ; preds = %549, %112
  %.pn220.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn.pn.pn.pn.pn.pn.pn, %549 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %10) #12
  call void @_ZN4Json5ValueD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #12
  br label %551

551:                                              ; preds = %550, %110
  %.pn220.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn220.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %550 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #12
  br label %552

552:                                              ; preds = %551, %101
  %.pn233 = phi { ptr, i32 } [ %102, %101 ], [ %.pn220.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %551 ]
  call void @_ZN5RNMapIiP9MPSegmentED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #12
  br label %553

553:                                              ; preds = %552, %91
  %.pn233.pn = phi { ptr, i32 } [ %.pn233, %552 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #12
  br label %554

554:                                              ; preds = %84, %90, %553
  %.pn236.pn.pn = phi { ptr, i32 } [ %.pn233.pn, %553 ], [ %.pn236, %90 ], [ %85, %84 ]
  call void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #12
  br label %555

555:                                              ; preds = %554, %70
  %.pn236.pn.pn.pn = phi { ptr, i32 } [ %.pn236.pn.pn, %554 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #12
  call void @_ZN5RNMapIiP10MPCategoryED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #12
  br label %556

556:                                              ; preds = %555, %68
  %.pn236.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn236.pn.pn.pn, %555 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  br label %558

557:                                              ; preds = %548, %49
  %.1 = phi i32 [ 0, %49 ], [ %.0, %548 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #12
  br label %559

558:                                              ; preds = %54, %556, %52
  %.pn236.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %53, %52 ], [ %.pn236.pn.pn.pn.pn, %556 ], [ %55, %54 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #12
  resume { ptr, i32 } %.pn236.pn.pn.pn.pn.pn.pn

559:                                              ; preds = %557, %38
  %.2 = phi i32 [ %.1, %557 ], [ 0, %38 ]
  ret i32 %.2
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE6InsertES5_S7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK5RNMapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP10MPCategoryE4FindES5_PS7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK5RNMapIiP10MPCategoryE4FindEiPS1_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json5ValueixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #0

declare noundef double @_ZNK4Json5Value8asDoubleEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0

declare void @_ZN13R3OrientedBox5ResetERK7R3PointRK8R3VectorS5_ddd(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #0

declare void @_ZNK13R3OrientedBox8CentroidEv(ptr dead_on_unwind writable sret(%class.R3Point) align 8, ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh14SetFaceSegmentEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh15SetFaceCategoryEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK13R3OrientedBox9MaxRadiusEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RNArrayIP7R3PointEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7RNArrayIP7R3PointE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #3 align 2

declare void @_ZN13R3OrientedBoxC1ERK7RNArrayIP7R3PointE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

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

declare void @_ZN8MPObjectC1Ev(ptr) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 32}
!11 = !{!"_ZTS10MPCategory", !6, i64 0, !12, i64 8, !13, i64 16, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS7RNArrayIP8MPObjectE", !14, i64 0}
!14 = !{!"_ZTS8RNVArray", !6, i64 0, !12, i64 8, !12, i64 12}
!15 = !{!11, !6, i64 40}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !12, i64 144}
!19 = !{!"_ZTS9MPSegment", !6, i64 0, !12, i64 8, !6, i64 16, !12, i64 24, !6, i64 32, !20, i64 40, !21, i64 56, !22, i64 64, !23, i64 88, !12, i64 144}
!20 = !{!"_ZTS7RNArrayIP10R3MeshFaceE", !14, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS7R3Point", !7, i64 0}
!23 = !{!"_ZTS5R3Box", !24, i64 0, !22, i64 8, !22, i64 32}
!24 = !{!"_ZTS7R3Solid", !25, i64 0}
!25 = !{!"_ZTS7R3Shape"}
!26 = distinct !{!26, !17}
!27 = !{!28, !6, i64 296}
!28 = !{!"_ZTS7MPHouse", !29, i64 0, !30, i64 16, !31, i64 32, !32, i64 48, !13, i64 64, !33, i64 80, !34, i64 96, !35, i64 112, !36, i64 128, !37, i64 144, !38, i64 160, !6, i64 288, !6, i64 296, !23, i64 304, !6, i64 360, !6, i64 368}
!29 = !{!"_ZTS7RNArrayIP7MPImageE", !14, i64 0}
!30 = !{!"_ZTS7RNArrayIP10MPPanoramaE", !14, i64 0}
!31 = !{!"_ZTS7RNArrayIP10MPCategoryE", !14, i64 0}
!32 = !{!"_ZTS7RNArrayIP9MPSegmentE", !14, i64 0}
!33 = !{!"_ZTS7RNArrayIP8MPVertexE", !14, i64 0}
!34 = !{!"_ZTS7RNArrayIP9MPSurfaceE", !14, i64 0}
!35 = !{!"_ZTS7RNArrayIP8MPRegionE", !14, i64 0}
!36 = !{!"_ZTS7RNArrayIP8MPPortalE", !14, i64 0}
!37 = !{!"_ZTS7RNArrayIP7MPLevelE", !14, i64 0}
!38 = !{!"_ZTS17RGBDConfiguration", !39, i64 8, !40, i64 24, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !23, i64 72}
!39 = !{!"_ZTS7RNArrayIP9RGBDImageE", !14, i64 0}
!40 = !{!"_ZTS7RNArrayIP11RGBDSurfaceE", !14, i64 0}
!41 = distinct !{!41, !17}
!42 = !{!21, !21, i64 0}
!43 = distinct !{!43, !17}
!44 = !{!45, !6, i64 32}
!45 = !{!"_ZTS8MPObject", !6, i64 0, !12, i64 8, !6, i64 16, !12, i64 24, !6, i64 32, !12, i64 40, !32, i64 48, !22, i64 64, !46, i64 88}
!46 = !{!"_ZTS13R3OrientedBox", !24, i64 0, !47, i64 8, !7, i64 104}
!47 = !{!"_ZTS13R3CoordSystem", !22, i64 0, !48, i64 24}
!48 = !{!"_ZTS7R3Triad", !7, i64 0}
!49 = distinct !{!49, !17}
!50 = distinct !{!50, !17}
!51 = distinct !{!51, !17}
!52 = distinct !{!52, !17}
!53 = distinct !{!53, !17}
!54 = distinct !{!54, !17}


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