; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Vehicle (WheeledVehicleController)

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

%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::WheelWV" = type { %"class.JPH::Wheel.base", float, float, float, float, float, [8 x i8] }
%"class.JPH::Wheel.base" = type <{ ptr, %"class.JPH::RefConst", %"class.JPH::BodyID", %"class.JPH::SubShapeID", ptr, float, [12 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, float, float, %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart", %"class.JPH::AxisConstraintPart" }>
%"class.JPH::RefConst" = type { ptr }
%"class.JPH::BodyID" = type { i32 }
%"class.JPH::SubShapeID" = type { i32 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::AxisConstraintPart" = type { %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float3", %"class.JPH::Float3", float, %"class.JPH::SpringPart", float }
%"class.JPH::Float3" = type { float, float, float }
%"class.JPH::SpringPart" = type { float, float }
%"class.JPH::WheelSettingsWV" = type { %"class.JPH::WheelSettings.base", float, float, float, %"class.JPH::LinearCurve", %"class.JPH::LinearCurve", float, float, [8 x i8] }
%"class.JPH::WheelSettings.base" = type <{ %"class.JPH::SerializableObject", %"class.JPH::RefTarget.12", [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, %"class.JPH::SpringSettings", float, float, i8 }>
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.12" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::SpringSettings" = type { i8, %union.anon.13, float }
%union.anon.13 = type { float }
%"class.JPH::LinearCurve" = type { %"class.JPH::Array" }
%"class.JPH::Array" = type { i64, i64, ptr }

@_ZTVN3JPH7WheelWVE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH7WheelWVC2ERKNS_15WheelSettingsWVE(ptr noundef nonnull align 16 dereferenceable(424) %0, ptr noundef nonnull align 16 dereferenceable(216) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.JPH::AssertLastParam", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.JPH::AssertLastParam", align 1
  %9 = alloca %"struct.JPH::AssertLastParam", align 1
  %10 = alloca %"struct.JPH::AssertLastParam", align 1
  %11 = alloca %"struct.JPH::AssertLastParam", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3JPH5WheelC2ERKNS_13WheelSettingsE(ptr noundef nonnull align 16 dereferenceable(404) %12, ptr noundef nonnull align 16 dereferenceable(145) %13)
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN3JPH7WheelWVE, i32 0, i32 0, i32 2), ptr %12, align 16, !tbaa !9
  %14 = getelementptr inbounds %"class.JPH::WheelWV", ptr %12, i32 0, i32 1
  store float 0.000000e+00, ptr %14, align 4, !tbaa !11
  %15 = getelementptr inbounds %"class.JPH::WheelWV", ptr %12, i32 0, i32 2
  store float 0.000000e+00, ptr %15, align 8, !tbaa !23
  %16 = getelementptr inbounds %"class.JPH::WheelWV", ptr %12, i32 0, i32 3
  store float 0.000000e+00, ptr %16, align 4, !tbaa !24
  %17 = getelementptr inbounds %"class.JPH::WheelWV", ptr %12, i32 0, i32 4
  store float 0.000000e+00, ptr %17, align 16, !tbaa !25
  %18 = getelementptr inbounds %"class.JPH::WheelWV", ptr %12, i32 0, i32 5
  store float 0.000000e+00, ptr %18, align 4, !tbaa !26
  br label %19

19:                                               ; preds = %2
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.JPH::WheelSettingsWV", ptr %20, i32 0, i32 1
  %22 = load float, ptr %21, align 4, !tbaa !27
  %23 = fcmp oge float %22, 0.000000e+00
  br i1 %23, label %32, label %24

24:                                               ; preds = %19
  %25 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 81)
          to label %26 unwind label %28

26:                                               ; preds = %24
  br i1 %25, label %27, label %32

27:                                               ; preds = %26
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !40
  br label %32

28:                                               ; preds = %78, %66, %54, %47, %40, %24
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = extractvalue { ptr, i32 } %29, 0
  store ptr %30, ptr %6, align 8
  %31 = extractvalue { ptr, i32 } %29, 1
  store i32 %31, ptr %7, align 4
  call void @_ZN3JPH5WheelD2Ev(ptr noundef nonnull align 16 dereferenceable(404) %12) #5
  br label %85

32:                                               ; preds = %27, %26, %19
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.JPH::WheelSettingsWV", ptr %36, i32 0, i32 2
  %38 = load float, ptr %37, align 8, !tbaa !41
  %39 = fcmp oge float %38, 0.000000e+00
  br i1 %39, label %44, label %40

40:                                               ; preds = %35
  %41 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 82)
          to label %42 unwind label %28

42:                                               ; preds = %40
  br i1 %41, label %43, label %44

43:                                               ; preds = %42
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !42
  br label %44

44:                                               ; preds = %43, %42, %35
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.JPH::WheelSettingsWV", ptr %48, i32 0, i32 3
  %50 = load float, ptr %49, align 4, !tbaa !43
  %51 = invoke noundef float @_ZSt3absf(float noundef %50)
          to label %52 unwind label %28

52:                                               ; preds = %47
  %53 = fcmp ole float %51, 0x3FF921FB60000000
  br i1 %53, label %58, label %54

54:                                               ; preds = %52
  %55 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 83)
          to label %56 unwind label %28

56:                                               ; preds = %54
  br i1 %55, label %57, label %58

57:                                               ; preds = %56
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !44
  br label %58

58:                                               ; preds = %57, %56, %52
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.JPH::WheelSettingsWV", ptr %62, i32 0, i32 6
  %64 = load float, ptr %63, align 16, !tbaa !45
  %65 = fcmp oge float %64, 0.000000e+00
  br i1 %65, label %70, label %66

66:                                               ; preds = %61
  %67 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.6, ptr noundef @.str.3, i32 noundef 84)
          to label %68 unwind label %28

68:                                               ; preds = %66
  br i1 %67, label %69, label %70

69:                                               ; preds = %68
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !46
  br label %70

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

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.JPH::WheelSettingsWV", ptr %74, i32 0, i32 7
  %76 = load float, ptr %75, align 4, !tbaa !47
  %77 = fcmp oge float %76, 0.000000e+00
  br i1 %77, label %82, label %78

78:                                               ; preds = %73
  %79 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 85)
          to label %80 unwind label %28

80:                                               ; preds = %78
  br i1 %79, label %81, label %82

81:                                               ; preds = %80
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !48
  br label %82

82:                                               ; preds = %81, %80, %73
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83
  ret void

85:                                               ; preds = %28
  %86 = load ptr, ptr %6, align 8
  %87 = load i32, ptr %7, align 4
  %88 = insertvalue { ptr, i32 } poison, ptr %86, 0
  %89 = insertvalue { ptr, i32 } %88, i32 %87, 1
  resume { ptr, i32 } %89
}

declare void @_ZN3JPH5WheelC2ERKNS_13WheelSettingsE(ptr noundef nonnull align 16 dereferenceable(404), ptr noundef nonnull align 16 dereferenceable(145)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) #3

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

attributes #0 = { 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 #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 = { 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 = { 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, !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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !18, i64 404}
!12 = !{!"_ZTSN3JPH7WheelWVE", !13, i64 0, !18, i64 404, !18, i64 408, !18, i64 412, !18, i64 416, !18, i64 420}
!13 = !{!"_ZTSN3JPH5WheelE", !14, i64 8, !15, i64 16, !17, i64 20, !6, i64 24, !18, i64 32, !19, i64 48, !19, i64 64, !19, i64 80, !19, i64 96, !19, i64 112, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !20, i64 148, !20, i64 212, !20, i64 276, !20, i64 340}
!14 = !{!"_ZTSN3JPH8RefConstINS_13WheelSettingsEEE", !6, i64 0}
!15 = !{!"_ZTSN3JPH6BodyIDE", !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN3JPH10SubShapeIDE", !16, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!20 = !{!"_ZTSN3JPH18AxisConstraintPartE", !21, i64 0, !21, i64 12, !21, i64 24, !21, i64 36, !18, i64 48, !22, i64 52, !18, i64 60}
!21 = !{!"_ZTSN3JPH6Float3E", !18, i64 0, !18, i64 4, !18, i64 8}
!22 = !{!"_ZTSN3JPH10SpringPartE", !18, i64 0, !18, i64 4}
!23 = !{!12, !18, i64 408}
!24 = !{!12, !18, i64 412}
!25 = !{!12, !18, i64 416}
!26 = !{!12, !18, i64 420}
!27 = !{!28, !18, i64 148}
!28 = !{!"_ZTSN3JPH15WheelSettingsWVE", !29, i64 0, !18, i64 148, !18, i64 152, !18, i64 156, !37, i64 160, !37, i64 184, !18, i64 208, !18, i64 212}
!29 = !{!"_ZTSN3JPH13WheelSettingsE", !30, i64 0, !31, i64 8, !19, i64 16, !19, i64 32, !19, i64 48, !19, i64 64, !19, i64 80, !19, i64 96, !18, i64 112, !18, i64 116, !18, i64 120, !34, i64 124, !18, i64 136, !18, i64 140, !36, i64 144}
!30 = !{!"_ZTSN3JPH18SerializableObjectE"}
!31 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !32, i64 0}
!32 = !{!"_ZTSSt6atomicIjE", !33, i64 0}
!33 = !{!"_ZTSSt13__atomic_baseIjE", !16, i64 0}
!34 = !{!"_ZTSN3JPH14SpringSettingsE", !35, i64 0, !7, i64 4, !18, i64 8}
!35 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTSN3JPH11LinearCurveE", !38, i64 0}
!38 = !{!"_ZTSN3JPH5ArrayINS_11LinearCurve5PointENS_12STLAllocatorIS2_EEEE", !39, i64 0, !39, i64 8, !6, i64 16}
!39 = !{!"long", !7, i64 0}
!40 = !{i64 2159643378}
!41 = !{!28, !18, i64 152}
!42 = !{i64 2159643755}
!43 = !{!28, !18, i64 156}
!44 = !{i64 2159644158}
!45 = !{!28, !18, i64 208}
!46 = !{i64 2159644535}
!47 = !{!28, !18, i64 212}
!48 = !{i64 2159644920}


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

@_ZTVN3JPH7WheelWVE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH7WheelWVC2ERKNS_15WheelSettingsWVE(ptr noundef nonnull align 16 dereferenceable(424) %0, ptr noundef nonnull align 16 dereferenceable(216) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN3JPH5WheelC2ERKNS_13WheelSettingsE(ptr noundef nonnull align 16 dereferenceable(404) %0, ptr noundef nonnull align 16 dereferenceable(145) %1)
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN3JPH7WheelWVE, i64 16), ptr %0, align 16, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 404
  %4 = getelementptr inbounds i8, ptr %1, i64 148
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %3, i8 0, i64 20, i1 false)
  %5 = load float, ptr %4, align 4, !tbaa !8
  %6 = fcmp ult float %5, 0.000000e+00
  br i1 %6, label %7, label %13

7:                                                ; preds = %2
  %8 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 81)
          to label %9 unwind label %11

9:                                                ; preds = %7
  br i1 %8, label %10, label %13

10:                                               ; preds = %9
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !26
  br label %13

11:                                               ; preds = %42, %34, %26, %17, %7
  %12 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN3JPH5WheelD2Ev(ptr noundef nonnull align 16 dereferenceable(404) %0) #6
  resume { ptr, i32 } %12

13:                                               ; preds = %2, %9, %10
  %14 = getelementptr inbounds i8, ptr %1, i64 152
  %15 = load float, ptr %14, align 8, !tbaa !27
  %16 = fcmp ult float %15, 0.000000e+00
  br i1 %16, label %17, label %21

17:                                               ; preds = %13
  %18 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 82)
          to label %19 unwind label %11

19:                                               ; preds = %17
  br i1 %18, label %20, label %21

20:                                               ; preds = %19
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !28
  br label %21

21:                                               ; preds = %13, %19, %20
  %22 = getelementptr inbounds i8, ptr %1, i64 156
  %23 = load float, ptr %22, align 4, !tbaa !29
  %24 = tail call noundef float @_ZSt3absf(float noundef %23)
  %25 = fcmp ugt float %24, 0x3FF921FB60000000
  br i1 %25, label %26, label %30

26:                                               ; preds = %21
  %27 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 83)
          to label %28 unwind label %11

28:                                               ; preds = %26
  br i1 %27, label %29, label %30

29:                                               ; preds = %28
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !30
  br label %30

30:                                               ; preds = %21, %28, %29
  %31 = getelementptr inbounds i8, ptr %1, i64 208
  %32 = load float, ptr %31, align 16, !tbaa !31
  %33 = fcmp ult float %32, 0.000000e+00
  br i1 %33, label %34, label %38

34:                                               ; preds = %30
  %35 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, i32 noundef 84)
          to label %36 unwind label %11

36:                                               ; preds = %34
  br i1 %35, label %37, label %38

37:                                               ; preds = %36
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !32
  br label %38

38:                                               ; preds = %30, %36, %37
  %39 = getelementptr inbounds i8, ptr %1, i64 212
  %40 = load float, ptr %39, align 4, !tbaa !33
  %41 = fcmp ult float %40, 0.000000e+00
  br i1 %41, label %42, label %46

42:                                               ; preds = %38
  %43 = invoke noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 85)
          to label %44 unwind label %11

44:                                               ; preds = %42
  br i1 %43, label %45, label %46

45:                                               ; preds = %44
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #6, !srcloc !34
  br label %46

46:                                               ; preds = %45, %44, %38
  ret void
}

declare void @_ZN3JPH5WheelC2ERKNS_13WheelSettingsE(ptr noundef nonnull align 16 dereferenceable(404), ptr noundef nonnull align 16 dereferenceable(145)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3absf(float noundef) local_unnamed_addr #3

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { 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 #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 = { 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !18, i64 148}
!9 = !{!"_ZTSN3JPH15WheelSettingsWVE", !10, i64 0, !18, i64 148, !18, i64 152, !18, i64 156, !22, i64 160, !22, i64 184, !18, i64 208, !18, i64 212}
!10 = !{!"_ZTSN3JPH13WheelSettingsE", !11, i64 0, !12, i64 8, !17, i64 16, !17, i64 32, !17, i64 48, !17, i64 64, !17, i64 80, !17, i64 96, !18, i64 112, !18, i64 116, !18, i64 120, !19, i64 124, !18, i64 136, !18, i64 140, !21, i64 144}
!11 = !{!"_ZTSN3JPH18SerializableObjectE"}
!12 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !13, i64 0}
!13 = !{!"_ZTSSt6atomicIjE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIjE", !15, i64 0}
!15 = !{!"int", !16, i64 0}
!16 = !{!"omnipotent char", !7, i64 0}
!17 = !{!"_ZTSN3JPH4Vec3E", !16, i64 0}
!18 = !{!"float", !16, i64 0}
!19 = !{!"_ZTSN3JPH14SpringSettingsE", !20, i64 0, !16, i64 4, !18, i64 8}
!20 = !{!"_ZTSN3JPH11ESpringModeE", !16, i64 0}
!21 = !{!"bool", !16, i64 0}
!22 = !{!"_ZTSN3JPH11LinearCurveE", !23, i64 0}
!23 = !{!"_ZTSN3JPH5ArrayINS_11LinearCurve5PointENS_12STLAllocatorIS2_EEEE", !24, i64 0, !24, i64 8, !25, i64 16}
!24 = !{!"long", !16, i64 0}
!25 = !{!"any pointer", !16, i64 0}
!26 = !{i64 2159643378}
!27 = !{!9, !18, i64 152}
!28 = !{i64 2159643755}
!29 = !{!9, !18, i64 156}
!30 = !{i64 2159644158}
!31 = !{!9, !18, i64 208}
!32 = !{i64 2159644535}
!33 = !{!9, !18, i64 212}
!34 = !{i64 2159644920}


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