; LLVM IR from HiroIshida/tinyfk :: urdf_parser/src/joint.ll (ZN4urdf16parseJointSafetyERNS_11JointSafetyEP12TiXmlElement)

; 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.urdf::JointSafety" = type { double, double, double, double }

@_ZTISt13runtime_error = external constant ptr
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 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 noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #3

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; 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
define dso_local noundef zeroext i1 @_ZN4urdf16parseJointSafetyERNS_11JointSafetyEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4urdf11JointSafety5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %18, ptr noundef @.str.6)
  store ptr %19, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %25

22:                                               ; preds = %2
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.urdf::JointSafety", ptr %23, i32 0, i32 1
  store double 0.000000e+00, ptr %24, align 8, !tbaa !9
  br label %43

25:                                               ; preds = %2
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef %26)
          to label %28 unwind label %31

28:                                               ; preds = %25
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.urdf::JointSafety", ptr %29, i32 0, i32 1
  store double %27, ptr %30, align 8, !tbaa !9
  br label %42

31:                                               ; preds = %25
  %32 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %7, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %8, align 4
  br label %35

35:                                               ; preds = %31
  %36 = load i32, ptr %8, align 4
  %37 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt13runtime_error) #6
  %38 = icmp eq i32 %36, %37
  br i1 %38, label %39, label %128

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %40 = load ptr, ptr %7, align 8
  %41 = call ptr @__cxa_begin_catch(ptr %40) #6
  store ptr %41, ptr %9, align 8
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %126

42:                                               ; preds = %28
  br label %43

43:                                               ; preds = %42, %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %44, ptr noundef @.str.7)
  store ptr %45, ptr %11, align 8, !tbaa !5
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = icmp eq ptr %46, null
  br i1 %47, label %48, label %51

48:                                               ; preds = %43
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.urdf::JointSafety", ptr %49, i32 0, i32 0
  store double 0.000000e+00, ptr %50, align 8, !tbaa !12
  br label %69

51:                                               ; preds = %43
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef %52)
          to label %54 unwind label %57

54:                                               ; preds = %51
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.urdf::JointSafety", ptr %55, i32 0, i32 0
  store double %53, ptr %56, align 8, !tbaa !12
  br label %68

57:                                               ; preds = %51
  %58 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %7, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %8, align 4
  br label %61

61:                                               ; preds = %57
  %62 = load i32, ptr %8, align 4
  %63 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt13runtime_error) #6
  %64 = icmp eq i32 %62, %63
  br i1 %64, label %65, label %125

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %66 = load ptr, ptr %7, align 8
  %67 = call ptr @__cxa_begin_catch(ptr %66) #6
  store ptr %67, ptr %12, align 8
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %124

68:                                               ; preds = %54
  br label %69

69:                                               ; preds = %68, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %70, ptr noundef @.str.8)
  store ptr %71, ptr %13, align 8, !tbaa !5
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %77

74:                                               ; preds = %69
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.urdf::JointSafety", ptr %75, i32 0, i32 2
  store double 0.000000e+00, ptr %76, align 8, !tbaa !13
  br label %95

77:                                               ; preds = %69
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef %78)
          to label %80 unwind label %83

80:                                               ; preds = %77
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.urdf::JointSafety", ptr %81, i32 0, i32 2
  store double %79, ptr %82, align 8, !tbaa !13
  br label %94

83:                                               ; preds = %77
  %84 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  br label %87

87:                                               ; preds = %83
  %88 = load i32, ptr %8, align 4
  %89 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt13runtime_error) #6
  %90 = icmp eq i32 %88, %89
  br i1 %90, label %91, label %123

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %92 = load ptr, ptr %7, align 8
  %93 = call ptr @__cxa_begin_catch(ptr %92) #6
  store ptr %93, ptr %14, align 8
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %122

94:                                               ; preds = %80
  br label %95

95:                                               ; preds = %94, %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %96, ptr noundef @.str.9)
  store ptr %97, ptr %15, align 8, !tbaa !5
  %98 = load ptr, ptr %15, align 8, !tbaa !5
  %99 = icmp eq ptr %98, null
  br i1 %99, label %100, label %101

100:                                              ; preds = %95
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %120

101:                                              ; preds = %95
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef %102)
          to label %104 unwind label %107

104:                                              ; preds = %101
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.urdf::JointSafety", ptr %105, i32 0, i32 3
  store double %103, ptr %106, align 8, !tbaa !14
  br label %118

107:                                              ; preds = %101
  %108 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %7, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %8, align 4
  br label %111

111:                                              ; preds = %107
  %112 = load i32, ptr %8, align 4
  %113 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt13runtime_error) #6
  %114 = icmp eq i32 %112, %113
  br i1 %114, label %115, label %121

115:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %116 = load ptr, ptr %7, align 8
  %117 = call ptr @__cxa_begin_catch(ptr %116) #6
  store ptr %117, ptr %16, align 8
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %120

118:                                              ; preds = %104
  br label %119

119:                                              ; preds = %118
  store i1 true, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %120

120:                                              ; preds = %119, %115, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %122

121:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %123

122:                                              ; preds = %120, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %124

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

124:                                              ; preds = %122, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %126

125:                                              ; preds = %123, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %128

126:                                              ; preds = %124, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %127 = load i1, ptr %3, align 1
  ret i1 %127

128:                                              ; preds = %125, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %129

129:                                              ; preds = %128
  %130 = load ptr, ptr %7, align 8
  %131 = load i32, ptr %8, align 4
  %132 = insertvalue { ptr, i32 } poison, ptr %130, 0
  %133 = insertvalue { ptr, i32 } %132, i32 %131, 1
  resume { ptr, i32 } %133
}

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

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

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

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


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

@_ZTISt13runtime_error = external constant ptr
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1

declare noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #2

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4urdf16parseJointSafetyERNS_11JointSafetyEP12TiXmlElement(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN4urdf11JointSafety5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %3 = tail call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %1, ptr noundef nonnull @.str.6)
  %4 = icmp eq ptr %3, null
  br i1 %4, label %15, label %5

5:                                                ; preds = %2
  %6 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef nonnull %3)
          to label %15 unwind label %7

7:                                                ; preds = %5
  %8 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %9 = extractvalue { ptr, i32 } %8, 1
  %10 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt13runtime_error) #5
  %11 = icmp eq i32 %9, %10
  br i1 %11, label %12, label %59

12:                                               ; preds = %7
  %13 = extractvalue { ptr, i32 } %8, 0
  %14 = tail call ptr @__cxa_begin_catch(ptr %13) #5
  tail call void @__cxa_end_catch()
  br label %58

15:                                               ; preds = %5, %2
  %.sink = phi double [ 0.000000e+00, %2 ], [ %6, %5 ]
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  store double %.sink, ptr %16, align 8, !tbaa !5
  %17 = tail call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %1, ptr noundef nonnull @.str.7)
  %18 = icmp eq ptr %17, null
  br i1 %18, label %29, label %19

19:                                               ; preds = %15
  %20 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef nonnull %17)
          to label %29 unwind label %21

21:                                               ; preds = %19
  %22 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %23 = extractvalue { ptr, i32 } %22, 1
  %24 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt13runtime_error) #5
  %25 = icmp eq i32 %23, %24
  br i1 %25, label %26, label %59

26:                                               ; preds = %21
  %27 = extractvalue { ptr, i32 } %22, 0
  %28 = tail call ptr @__cxa_begin_catch(ptr %27) #5
  tail call void @__cxa_end_catch()
  br label %58

29:                                               ; preds = %19, %15
  %storemerge = phi double [ 0.000000e+00, %15 ], [ %20, %19 ]
  store double %storemerge, ptr %0, align 8, !tbaa !10
  %30 = tail call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %1, ptr noundef nonnull @.str.8)
  %31 = icmp eq ptr %30, null
  br i1 %31, label %42, label %32

32:                                               ; preds = %29
  %33 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef nonnull %30)
          to label %42 unwind label %34

34:                                               ; preds = %32
  %35 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %36 = extractvalue { ptr, i32 } %35, 1
  %37 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt13runtime_error) #5
  %38 = icmp eq i32 %36, %37
  br i1 %38, label %39, label %59

39:                                               ; preds = %34
  %40 = extractvalue { ptr, i32 } %35, 0
  %41 = tail call ptr @__cxa_begin_catch(ptr %40) #5
  tail call void @__cxa_end_catch()
  br label %58

42:                                               ; preds = %32, %29
  %.sink45 = phi double [ 0.000000e+00, %29 ], [ %33, %32 ]
  %43 = getelementptr inbounds i8, ptr %0, i64 16
  store double %.sink45, ptr %43, align 8, !tbaa !11
  %44 = tail call noundef ptr @_ZNK12TiXmlElement9AttributeEPKc(ptr noundef nonnull align 8 dereferenceable(216) %1, ptr noundef nonnull @.str.9)
  %45 = icmp eq ptr %44, null
  br i1 %45, label %58, label %46

46:                                               ; preds = %42
  %47 = invoke noundef double @_ZN4urdfL11strToDoubleEPKc(ptr noundef nonnull %44)
          to label %48 unwind label %50

48:                                               ; preds = %46
  %49 = getelementptr inbounds i8, ptr %0, i64 24
  store double %47, ptr %49, align 8, !tbaa !12
  br label %58

50:                                               ; preds = %46
  %51 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %52 = extractvalue { ptr, i32 } %51, 1
  %53 = tail call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt13runtime_error) #5
  %54 = icmp eq i32 %52, %53
  br i1 %54, label %55, label %59

55:                                               ; preds = %50
  %56 = extractvalue { ptr, i32 } %51, 0
  %57 = tail call ptr @__cxa_begin_catch(ptr %56) #5
  tail call void @__cxa_end_catch()
  br label %58

58:                                               ; preds = %26, %55, %48, %42, %39, %12
  %.3 = phi i1 [ false, %12 ], [ false, %26 ], [ false, %39 ], [ true, %48 ], [ false, %55 ], [ false, %42 ]
  ret i1 %.3

59:                                               ; preds = %21, %50, %34, %7
  %.merged = phi { ptr, i32 } [ %8, %7 ], [ %22, %21 ], [ %35, %34 ], [ %51, %50 ]
  resume { ptr, i32 } %.merged
}

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

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 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 = { nofree nosync nounwind memory(none) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !7, i64 8}
!6 = !{!"_ZTSN4urdf11JointSafetyE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 24}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass