; LLVM IR from HiroIshida/tinyfk :: urdf_parser/src/link.ll (ZN4urdf13parseGeometryEP12TiXmlElement)

; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4urdf8parseBoxERNS_3BoxEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4urdf13parseCylinderERNS_8CylinderEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4urdf9parseMeshERNS_4MeshEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4urdf13parseGeometryEP12TiXmlElement(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::shared_ptr", align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %18, label %17

17:                                               ; preds = %2
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %159

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = invoke noundef ptr @_ZN9TiXmlNode17FirstChildElementEv(ptr noundef nonnull align 8 dereferenceable(104) %19)
          to label %21 unwind label %25

21:                                               ; preds = %18
  store ptr %20, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = icmp ne ptr %22, null
  br i1 %23, label %29, label %24

24:                                               ; preds = %21
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %157

25:                                               ; preds = %18
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %8, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %9, align 4
  br label %158

29:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TiXmlNode8ValueStrB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(104) %30)
          to label %32 unwind label %47

32:                                               ; preds = %29
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %33 unwind label %47

33:                                               ; preds = %32
  %34 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.12)
          to label %35 unwind label %51

35:                                               ; preds = %33
  br i1 %34, label %36, label %68

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %37 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #7
          to label %38 unwind label %55

38:                                               ; preds = %36
  invoke void @_ZN4urdf6SphereC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %39 unwind label %59

39:                                               ; preds = %38
  store ptr %37, ptr %11, align 8, !tbaa !5
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_6SphereEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %40)
          to label %41 unwind label %55

41:                                               ; preds = %39
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = invoke noundef zeroext i1 @_ZN4urdf11parseSphereERNS_6SphereEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef %43)
          to label %45 unwind label %55

45:                                               ; preds = %41
  br i1 %44, label %46, label %63

46:                                               ; preds = %45
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %64

47:                                               ; preds = %32, %29
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %8, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %9, align 4
  br label %156

51:                                               ; preds = %122, %95, %68, %33
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %8, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %9, align 4
  br label %155

55:                                               ; preds = %41, %39, %36
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %8, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %9, align 4
  br label %67

59:                                               ; preds = %38
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %37, i64 noundef 24) #8
  br label %67

63:                                               ; preds = %45
  store i32 0, ptr %6, align 4
  br label %64

64:                                               ; preds = %63, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %65 = load i32, ptr %6, align 4
  switch i32 %65, label %154 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  br label %153

67:                                               ; preds = %59, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %155

68:                                               ; preds = %35
  %69 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.13)
          to label %70 unwind label %51

70:                                               ; preds = %68
  br i1 %69, label %71, label %95

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %72 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #7
          to label %73 unwind label %82

73:                                               ; preds = %71
  invoke void @_ZN4urdf3BoxC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %72)
          to label %74 unwind label %86

74:                                               ; preds = %73
  store ptr %72, ptr %12, align 8, !tbaa !5
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_3BoxEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %75)
          to label %76 unwind label %82

76:                                               ; preds = %74
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = invoke noundef zeroext i1 @_ZN4urdf8parseBoxERNS_3BoxEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(40) %77, ptr noundef %78)
          to label %80 unwind label %82

80:                                               ; preds = %76
  br i1 %79, label %81, label %90

81:                                               ; preds = %80
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %91

82:                                               ; preds = %76, %74, %71
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %8, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %9, align 4
  br label %94

86:                                               ; preds = %73
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %8, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %72, i64 noundef 40) #8
  br label %94

90:                                               ; preds = %80
  store i32 0, ptr %6, align 4
  br label %91

91:                                               ; preds = %90, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %92 = load i32, ptr %6, align 4
  switch i32 %92, label %154 [
    i32 0, label %93
  ]

93:                                               ; preds = %91
  br label %152

94:                                               ; preds = %86, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %155

95:                                               ; preds = %70
  %96 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.14)
          to label %97 unwind label %51

97:                                               ; preds = %95
  br i1 %96, label %98, label %122

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %99 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #7
          to label %100 unwind label %109

100:                                              ; preds = %98
  invoke void @_ZN4urdf8CylinderC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99)
          to label %101 unwind label %113

101:                                              ; preds = %100
  store ptr %99, ptr %13, align 8, !tbaa !5
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_8CylinderEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %102)
          to label %103 unwind label %109

103:                                              ; preds = %101
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = invoke noundef zeroext i1 @_ZN4urdf13parseCylinderERNS_8CylinderEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef %105)
          to label %107 unwind label %109

107:                                              ; preds = %103
  br i1 %106, label %108, label %117

108:                                              ; preds = %107
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %118

109:                                              ; preds = %103, %101, %98
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  br label %121

113:                                              ; preds = %100
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %8, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %99, i64 noundef 32) #8
  br label %121

117:                                              ; preds = %107
  store i32 0, ptr %6, align 4
  br label %118

118:                                              ; preds = %117, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  %119 = load i32, ptr %6, align 4
  switch i32 %119, label %154 [
    i32 0, label %120
  ]

120:                                              ; preds = %118
  br label %151

121:                                              ; preds = %113, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %155

122:                                              ; preds = %97
  %123 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.15)
          to label %124 unwind label %51

124:                                              ; preds = %122
  br i1 %123, label %125, label %149

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %126 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 72) #7
          to label %127 unwind label %136

127:                                              ; preds = %125
  invoke void @_ZN4urdf4MeshC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %126)
          to label %128 unwind label %140

128:                                              ; preds = %127
  store ptr %126, ptr %14, align 8, !tbaa !5
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_4MeshEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %129)
          to label %130 unwind label %136

130:                                              ; preds = %128
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = invoke noundef zeroext i1 @_ZN4urdf9parseMeshERNS_4MeshEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(72) %131, ptr noundef %132)
          to label %134 unwind label %136

134:                                              ; preds = %130
  br i1 %133, label %135, label %144

135:                                              ; preds = %134
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %145

136:                                              ; preds = %130, %128, %125
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %8, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %9, align 4
  br label %148

140:                                              ; preds = %127
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %8, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %126, i64 noundef 72) #8
  br label %148

144:                                              ; preds = %134
  store i32 0, ptr %6, align 4
  br label %145

145:                                              ; preds = %144, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %146 = load i32, ptr %6, align 4
  switch i32 %146, label %154 [
    i32 0, label %147
  ]

147:                                              ; preds = %145
  br label %150

148:                                              ; preds = %140, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %155

149:                                              ; preds = %124
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  store i32 1, ptr %6, align 4
  br label %154

150:                                              ; preds = %147
  br label %151

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

152:                                              ; preds = %151, %93
  br label %153

153:                                              ; preds = %152, %66
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  store i32 1, ptr %6, align 4
  br label %154

154:                                              ; preds = %153, %149, %145, %118, %91, %64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  br label %157

155:                                              ; preds = %148, %121, %94, %67, %51
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %156

156:                                              ; preds = %155, %47
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  br label %158

157:                                              ; preds = %154, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %159

158:                                              ; preds = %156, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  br label %160

159:                                              ; preds = %157, %17
  call void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  ret void

160:                                              ; preds = %158
  %161 = load ptr, ptr %8, align 8
  %162 = load i32, ptr %9, align 4
  %163 = insertvalue { ptr, i32 } poison, ptr %161, 0
  %164 = insertvalue { ptr, i32 } %163, i32 %162, 1
  resume { ptr, i32 } %164
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9TiXmlNode17FirstChildElementEv(ptr noundef nonnull align 8 dereferenceable(104)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; 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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4urdf8parseBoxERNS_3BoxEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4urdf13parseCylinderERNS_8CylinderEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4urdf9parseMeshERNS_4MeshEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4urdf13parseGeometryEP12TiXmlElement(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8 %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::shared_ptr", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %5, label %6

5:                                                ; preds = %2
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %71

6:                                                ; preds = %2
  %7 = invoke noundef ptr @_ZN9TiXmlNode17FirstChildElementEv(ptr noundef nonnull align 8 dereferenceable(104) %1)
          to label %8 unwind label %10

8:                                                ; preds = %6
  %.not35 = icmp eq ptr %7, null
  br i1 %.not35, label %9, label %12

9:                                                ; preds = %8
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %71

10:                                               ; preds = %6
  %11 = landingpad { ptr, i32 }
          cleanup
  br label %70

12:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %13 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TiXmlNode8ValueStrB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(104) %7)
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %14 unwind label %23

14:                                               ; preds = %12
  %15 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.12)
  br i1 %15, label %16, label %27

16:                                               ; preds = %14
  %17 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #7
          to label %18 unwind label %25

18:                                               ; preds = %16
  call void @_ZN4urdf6SphereC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17)
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_6SphereEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %17)
          to label %19 unwind label %25

19:                                               ; preds = %18
  %20 = invoke noundef zeroext i1 @_ZN4urdf11parseSphereERNS_6SphereEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull %7)
          to label %21 unwind label %25

21:                                               ; preds = %19
  br i1 %20, label %22, label %.critedge

22:                                               ; preds = %21
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %67

23:                                               ; preds = %12
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %69

25:                                               ; preds = %19, %18, %16
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %68

27:                                               ; preds = %14
  %28 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.13)
  br i1 %28, label %29, label %41

29:                                               ; preds = %27
  %30 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #7
          to label %31 unwind label %37

31:                                               ; preds = %29
  invoke void @_ZN4urdf3BoxC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %32 unwind label %39

32:                                               ; preds = %31
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_3BoxEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %30)
          to label %33 unwind label %37

33:                                               ; preds = %32
  %34 = invoke noundef zeroext i1 @_ZN4urdf8parseBoxERNS_3BoxEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef nonnull %7)
          to label %35 unwind label %37

35:                                               ; preds = %33
  br i1 %34, label %36, label %.critedge

36:                                               ; preds = %35
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %67

37:                                               ; preds = %33, %32, %29
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %68

39:                                               ; preds = %31
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %30, i64 noundef 40) #8
  br label %68

41:                                               ; preds = %27
  %42 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.14)
  br i1 %42, label %43, label %52

43:                                               ; preds = %41
  %44 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #7
          to label %45 unwind label %50

45:                                               ; preds = %43
  call void @_ZN4urdf8CylinderC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44)
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_8CylinderEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %44)
          to label %46 unwind label %50

46:                                               ; preds = %45
  %47 = invoke noundef zeroext i1 @_ZN4urdf13parseCylinderERNS_8CylinderEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull %7)
          to label %48 unwind label %50

48:                                               ; preds = %46
  br i1 %47, label %49, label %.critedge

49:                                               ; preds = %48
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %67

50:                                               ; preds = %46, %45, %43
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %68

52:                                               ; preds = %41
  %53 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.15)
  br i1 %53, label %54, label %66

54:                                               ; preds = %52
  %55 = invoke noalias noundef nonnull dereferenceable(72) ptr @_Znwm(i64 noundef 72) #7
          to label %56 unwind label %62

56:                                               ; preds = %54
  invoke void @_ZN4urdf4MeshC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %55)
          to label %57 unwind label %64

57:                                               ; preds = %56
  invoke void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_4MeshEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %55)
          to label %58 unwind label %62

58:                                               ; preds = %57
  %59 = invoke noundef zeroext i1 @_ZN4urdf9parseMeshERNS_4MeshEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(72) %55, ptr noundef nonnull %7)
          to label %60 unwind label %62

60:                                               ; preds = %58
  br i1 %59, label %61, label %.critedge

61:                                               ; preds = %60
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %67

62:                                               ; preds = %58, %57, %54
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %68

64:                                               ; preds = %56
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %55, i64 noundef 72) #8
  br label %68

66:                                               ; preds = %52
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %67

.critedge:                                        ; preds = %60, %48, %35, %21
  call void @_ZNSt10shared_ptrIN4urdf8GeometryEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  br label %67

67:                                               ; preds = %61, %49, %36, %22, %.critedge, %66
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %71

68:                                               ; preds = %62, %64, %37, %39, %50, %25
  %.pn39 = phi { ptr, i32 } [ %26, %25 ], [ %51, %50 ], [ %38, %37 ], [ %40, %39 ], [ %63, %62 ], [ %65, %64 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %69

69:                                               ; preds = %68, %23
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %68 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %70

70:                                               ; preds = %69, %10
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %69 ], [ %11, %10 ]
  call void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn39.pn.pn

71:                                               ; preds = %9, %67, %5
  call void @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret void
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TiXmlNode8ValueStrB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 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 #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4urdf6SphereC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 @_ZNSt12__shared_ptrIN4urdf8GeometryELN9__gnu_cxx12_Lock_policyE2EE5resetINS0_6SphereEEENSt9enable_ifIXsr21__sp_is_constructibleIS1_T_EE5valueEvE4typeEPS8_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass