; LLVM IR from Tencent-RoboticsX/jbdl :: src/jbdl/experimental/qpoases/src/Options.ll (ZN7qpOASES7Options17ensureConsistencyEv)

; 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.qpOASES::Options" = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, double, double, double, i32, i32, i32, i32, i32, [4 x i8] }>

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [102 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES7Options17ensureConsistencyEv(ptr noundef nonnull align 8 dereferenceable(220) %0) #0 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !9
  %7 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 7
  %8 = load i32, ptr %7, align 4, !tbaa !11
  %9 = icmp slt i32 %8, 0
  br i1 %9, label %10, label %12

10:                                               ; preds = %1
  %11 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 7
  store i32 0, ptr %11, align 4, !tbaa !11
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %10, %1
  %13 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 8
  %14 = load i32, ptr %13, align 8, !tbaa !17
  %15 = icmp slt i32 %14, 0
  br i1 %15, label %16, label %18

16:                                               ; preds = %12
  %17 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 8
  store i32 0, ptr %17, align 8, !tbaa !17
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %16, %12
  %19 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 10
  %20 = load double, ptr %19, align 8, !tbaa !18
  %21 = fcmp ole double %20, 0.000000e+00
  br i1 %21, label %22, label %24

22:                                               ; preds = %18
  %23 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 10
  store double 2.221000e-16, ptr %23, align 8, !tbaa !18
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %24

24:                                               ; preds = %22, %18
  %25 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 29
  %26 = load double, ptr %25, align 8, !tbaa !19
  %27 = fcmp ole double %26, 0.000000e+00
  br i1 %27, label %28, label %30

28:                                               ; preds = %24
  %29 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 29
  store double 2.221000e-16, ptr %29, align 8, !tbaa !19
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %28, %24
  %31 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 26
  %32 = load double, ptr %31, align 8, !tbaa !20
  %33 = fcmp ole double %32, 0.000000e+00
  br i1 %33, label %34, label %36

34:                                               ; preds = %30
  %35 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 26
  store double 2.221000e-16, ptr %35, align 8, !tbaa !20
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %34, %30
  %37 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 11
  %38 = load double, ptr %37, align 8, !tbaa !21
  %39 = fcmp ole double %38, 0.000000e+00
  br i1 %39, label %40, label %42

40:                                               ; preds = %36
  %41 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 11
  store double 2.221000e-16, ptr %41, align 8, !tbaa !21
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %40, %36
  %43 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 12
  %44 = load double, ptr %43, align 8, !tbaa !22
  %45 = fcmp ole double %44, 0.000000e+00
  br i1 %45, label %46, label %48

46:                                               ; preds = %42
  %47 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 12
  store double 2.221000e-16, ptr %47, align 8, !tbaa !22
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %46, %42
  %49 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 15
  %50 = load double, ptr %49, align 8, !tbaa !23
  %51 = fcmp ole double %50, 0.000000e+00
  br i1 %51, label %52, label %54

52:                                               ; preds = %48
  %53 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 15
  store double 2.221000e-16, ptr %53, align 8, !tbaa !23
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %52, %48
  %55 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 16
  %56 = load double, ptr %55, align 8, !tbaa !24
  %57 = fcmp ole double %56, 0.000000e+00
  br i1 %57, label %58, label %60

58:                                               ; preds = %54
  %59 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 16
  store double 2.221000e-16, ptr %59, align 8, !tbaa !24
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %58, %54
  %61 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 17
  %62 = load double, ptr %61, align 8, !tbaa !25
  %63 = fcmp olt double %62, 0.000000e+00
  br i1 %63, label %64, label %66

64:                                               ; preds = %60
  %65 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 17
  store double 0.000000e+00, ptr %65, align 8, !tbaa !25
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %64, %60
  %67 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 18
  %68 = load double, ptr %67, align 8, !tbaa !26
  %69 = fcmp olt double %68, 0.000000e+00
  br i1 %69, label %70, label %72

70:                                               ; preds = %66
  %71 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 18
  store double 0.000000e+00, ptr %71, align 8, !tbaa !26
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %70, %66
  %73 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 19
  %74 = load double, ptr %73, align 8, !tbaa !27
  %75 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 12
  %76 = load double, ptr %75, align 8, !tbaa !22
  %77 = fcmp ole double %74, %76
  br i1 %77, label %78, label %83

78:                                               ; preds = %72
  %79 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 12
  %80 = load double, ptr %79, align 8, !tbaa !22
  %81 = fadd double %80, 2.221000e-16
  %82 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 19
  store double %81, ptr %82, align 8, !tbaa !27
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %78, %72
  %84 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 20
  %85 = load double, ptr %84, align 8, !tbaa !28
  %86 = fcmp olt double %85, 1.100000e+00
  br i1 %86, label %87, label %89

87:                                               ; preds = %83
  %88 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 20
  store double 1.100000e+00, ptr %88, align 8, !tbaa !28
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %87, %83
  %90 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 23
  %91 = load double, ptr %90, align 8, !tbaa !29
  %92 = fcmp ole double %91, 0.000000e+00
  br i1 %92, label %93, label %95

93:                                               ; preds = %89
  %94 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 23
  store double 2.221000e-16, ptr %94, align 8, !tbaa !29
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %93, %89
  %96 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 24
  %97 = load i32, ptr %96, align 8, !tbaa !30
  %98 = icmp slt i32 %97, 0
  br i1 %98, label %99, label %101

99:                                               ; preds = %95
  %100 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 24
  store i32 0, ptr %100, align 8, !tbaa !30
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %99, %95
  %102 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 26
  %103 = load double, ptr %102, align 8, !tbaa !20
  %104 = fcmp olt double %103, 0.000000e+00
  br i1 %104, label %105, label %107

105:                                              ; preds = %101
  %106 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 26
  store double 2.221000e-16, ptr %106, align 8, !tbaa !20
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %105, %101
  %108 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 27
  %109 = load i32, ptr %108, align 8, !tbaa !31
  %110 = icmp slt i32 %109, 0
  br i1 %110, label %111, label %113

111:                                              ; preds = %107
  %112 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 27
  store i32 0, ptr %112, align 8, !tbaa !31
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %111, %107
  %114 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 29
  %115 = load double, ptr %114, align 8, !tbaa !19
  %116 = fcmp olt double %115, 0.000000e+00
  br i1 %116, label %117, label %119

117:                                              ; preds = %113
  %118 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 29
  store double 2.221000e-16, ptr %118, align 8, !tbaa !19
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %117, %113
  %120 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 30
  %121 = load double, ptr %120, align 8, !tbaa !32
  %122 = fcmp olt double %121, 0.000000e+00
  br i1 %122, label %123, label %125

123:                                              ; preds = %119
  %124 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 30
  store double 2.221000e-16, ptr %124, align 8, !tbaa !32
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %123, %119
  %126 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 31
  %127 = load double, ptr %126, align 8, !tbaa !33
  %128 = fcmp olt double %127, 0.000000e+00
  br i1 %128, label %129, label %131

129:                                              ; preds = %125
  %130 = getelementptr inbounds %"class.qpOASES::Options", ptr %6, i32 0, i32 31
  store double 2.221000e-16, ptr %130, align 8, !tbaa !33
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %129, %125
  %132 = load i32, ptr %4, align 4, !tbaa !9
  %133 = icmp eq i32 %132, 1
  br i1 %133, label %134, label %137

134:                                              ; preds = %131
  %135 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %136 = call noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %135, i32 noundef 131, ptr noundef null, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 366, i32 noundef 1)
  store i32 %136, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %138

137:                                              ; preds = %131
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %138

138:                                              ; preds = %137, %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  %139 = load i32, ptr %2, align 4
  ret i32 %139
}

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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() #2

declare noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #2

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 }

!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 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!11 = !{!12, !14, i64 28}
!12 = !{!"_ZTSN7qpOASES7OptionsE", !13, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !14, i64 28, !14, i64 32, !10, i64 36, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !15, i64 120, !16, i64 128, !15, i64 136, !14, i64 144, !15, i64 152, !14, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !10, i64 200, !10, i64 204, !14, i64 208, !14, i64 212, !14, i64 216}
!13 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!17 = !{!12, !14, i64 32}
!18 = !{!12, !15, i64 40}
!19 = !{!12, !15, i64 168}
!20 = !{!12, !15, i64 152}
!21 = !{!12, !15, i64 48}
!22 = !{!12, !15, i64 56}
!23 = !{!12, !15, i64 80}
!24 = !{!12, !15, i64 88}
!25 = !{!12, !15, i64 96}
!26 = !{!12, !15, i64 104}
!27 = !{!12, !15, i64 112}
!28 = !{!12, !15, i64 120}
!29 = !{!12, !15, i64 136}
!30 = !{!12, !14, i64 144}
!31 = !{!12, !14, i64 160}
!32 = !{!12, !15, i64 176}
!33 = !{!12, !15, i64 184}


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

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [102 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES7Options17ensureConsistencyEv(ptr nocapture noundef nonnull align 8 dereferenceable(220) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 28
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %4 = icmp slt i32 %3, 0
  br i1 %4, label %5, label %6

5:                                                ; preds = %1
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %5, %1
  %.0 = phi i32 [ 1, %5 ], [ 0, %1 ]
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = load i32, ptr %7, align 8, !tbaa !14
  %9 = icmp slt i32 %8, 0
  br i1 %9, label %10, label %11

10:                                               ; preds = %6
  store i32 0, ptr %7, align 8, !tbaa !14
  br label %11

11:                                               ; preds = %10, %6
  %.1 = phi i32 [ 1, %10 ], [ %.0, %6 ]
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = load double, ptr %12, align 8, !tbaa !15
  %14 = fcmp ugt double %13, 0.000000e+00
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  store double 2.221000e-16, ptr %12, align 8, !tbaa !15
  br label %16

16:                                               ; preds = %15, %11
  %.2 = phi i32 [ 1, %15 ], [ %.1, %11 ]
  %17 = getelementptr inbounds i8, ptr %0, i64 168
  %18 = load double, ptr %17, align 8, !tbaa !16
  %19 = fcmp ugt double %18, 0.000000e+00
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  store double 2.221000e-16, ptr %17, align 8, !tbaa !16
  br label %21

21:                                               ; preds = %20, %16
  %22 = phi double [ 2.221000e-16, %20 ], [ %18, %16 ]
  %.3 = phi i32 [ 1, %20 ], [ %.2, %16 ]
  %23 = getelementptr inbounds i8, ptr %0, i64 152
  %24 = load double, ptr %23, align 8, !tbaa !17
  %25 = fcmp ugt double %24, 0.000000e+00
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  store double 2.221000e-16, ptr %23, align 8, !tbaa !17
  br label %27

27:                                               ; preds = %26, %21
  %28 = phi double [ 2.221000e-16, %26 ], [ %24, %21 ]
  %.4 = phi i32 [ 1, %26 ], [ %.3, %21 ]
  %29 = getelementptr inbounds i8, ptr %0, i64 48
  %30 = load double, ptr %29, align 8, !tbaa !18
  %31 = fcmp ugt double %30, 0.000000e+00
  br i1 %31, label %33, label %32

32:                                               ; preds = %27
  store double 2.221000e-16, ptr %29, align 8, !tbaa !18
  br label %33

33:                                               ; preds = %32, %27
  %.5 = phi i32 [ 1, %32 ], [ %.4, %27 ]
  %34 = getelementptr inbounds i8, ptr %0, i64 56
  %35 = load double, ptr %34, align 8, !tbaa !19
  %36 = fcmp ugt double %35, 0.000000e+00
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  store double 2.221000e-16, ptr %34, align 8, !tbaa !19
  br label %38

38:                                               ; preds = %37, %33
  %39 = phi double [ 2.221000e-16, %37 ], [ %35, %33 ]
  %.6 = phi i32 [ 1, %37 ], [ %.5, %33 ]
  %40 = getelementptr inbounds i8, ptr %0, i64 80
  %41 = load double, ptr %40, align 8, !tbaa !20
  %42 = fcmp ugt double %41, 0.000000e+00
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  store double 2.221000e-16, ptr %40, align 8, !tbaa !20
  br label %44

44:                                               ; preds = %43, %38
  %.7 = phi i32 [ 1, %43 ], [ %.6, %38 ]
  %45 = getelementptr inbounds i8, ptr %0, i64 88
  %46 = load double, ptr %45, align 8, !tbaa !21
  %47 = fcmp ugt double %46, 0.000000e+00
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  store double 2.221000e-16, ptr %45, align 8, !tbaa !21
  br label %49

49:                                               ; preds = %48, %44
  %.8 = phi i32 [ 1, %48 ], [ %.7, %44 ]
  %50 = getelementptr inbounds i8, ptr %0, i64 96
  %51 = load double, ptr %50, align 8, !tbaa !22
  %52 = fcmp olt double %51, 0.000000e+00
  br i1 %52, label %53, label %54

53:                                               ; preds = %49
  store double 0.000000e+00, ptr %50, align 8, !tbaa !22
  br label %54

54:                                               ; preds = %53, %49
  %.9 = phi i32 [ 1, %53 ], [ %.8, %49 ]
  %55 = getelementptr inbounds i8, ptr %0, i64 104
  %56 = load double, ptr %55, align 8, !tbaa !23
  %57 = fcmp olt double %56, 0.000000e+00
  br i1 %57, label %58, label %59

58:                                               ; preds = %54
  store double 0.000000e+00, ptr %55, align 8, !tbaa !23
  br label %59

59:                                               ; preds = %58, %54
  %.10 = phi i32 [ 1, %58 ], [ %.9, %54 ]
  %60 = getelementptr inbounds i8, ptr %0, i64 112
  %61 = load double, ptr %60, align 8, !tbaa !24
  %62 = fcmp ugt double %61, %39
  br i1 %62, label %65, label %63

63:                                               ; preds = %59
  %64 = fadd double %39, 2.221000e-16
  store double %64, ptr %60, align 8, !tbaa !24
  br label %65

65:                                               ; preds = %63, %59
  %.11 = phi i32 [ 1, %63 ], [ %.10, %59 ]
  %66 = getelementptr inbounds i8, ptr %0, i64 120
  %67 = load double, ptr %66, align 8, !tbaa !25
  %68 = fcmp olt double %67, 1.100000e+00
  br i1 %68, label %69, label %70

69:                                               ; preds = %65
  store double 1.100000e+00, ptr %66, align 8, !tbaa !25
  br label %70

70:                                               ; preds = %69, %65
  %.12 = phi i32 [ 1, %69 ], [ %.11, %65 ]
  %71 = getelementptr inbounds i8, ptr %0, i64 136
  %72 = load double, ptr %71, align 8, !tbaa !26
  %73 = fcmp ugt double %72, 0.000000e+00
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store double 2.221000e-16, ptr %71, align 8, !tbaa !26
  br label %75

75:                                               ; preds = %74, %70
  %.13 = phi i32 [ 1, %74 ], [ %.12, %70 ]
  %76 = getelementptr inbounds i8, ptr %0, i64 144
  %77 = load i32, ptr %76, align 8, !tbaa !27
  %78 = icmp slt i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %75
  store i32 0, ptr %76, align 8, !tbaa !27
  br label %80

80:                                               ; preds = %79, %75
  %.14 = phi i32 [ 1, %79 ], [ %.13, %75 ]
  %81 = fcmp olt double %28, 0.000000e+00
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  store double 2.221000e-16, ptr %23, align 8, !tbaa !17
  br label %83

83:                                               ; preds = %82, %80
  %.15 = phi i32 [ 1, %82 ], [ %.14, %80 ]
  %84 = getelementptr inbounds i8, ptr %0, i64 160
  %85 = load i32, ptr %84, align 8, !tbaa !28
  %86 = icmp slt i32 %85, 0
  br i1 %86, label %87, label %88

87:                                               ; preds = %83
  store i32 0, ptr %84, align 8, !tbaa !28
  br label %88

88:                                               ; preds = %87, %83
  %.16 = phi i32 [ 1, %87 ], [ %.15, %83 ]
  %89 = fcmp olt double %22, 0.000000e+00
  br i1 %89, label %90, label %91

90:                                               ; preds = %88
  store double 2.221000e-16, ptr %17, align 8, !tbaa !16
  br label %91

91:                                               ; preds = %90, %88
  %.17 = phi i32 [ 1, %90 ], [ %.16, %88 ]
  %92 = getelementptr inbounds i8, ptr %0, i64 176
  %93 = load double, ptr %92, align 8, !tbaa !29
  %94 = fcmp olt double %93, 0.000000e+00
  br i1 %94, label %.thread5, label %95

95:                                               ; preds = %91
  %96 = getelementptr inbounds i8, ptr %0, i64 184
  %97 = load double, ptr %96, align 8, !tbaa !30
  %98 = fcmp olt double %97, 0.000000e+00
  br i1 %98, label %.thread, label %103

.thread5:                                         ; preds = %91
  store double 2.221000e-16, ptr %92, align 8, !tbaa !29
  %99 = getelementptr inbounds i8, ptr %0, i64 184
  %100 = load double, ptr %99, align 8, !tbaa !30
  %101 = fcmp olt double %100, 0.000000e+00
  br i1 %101, label %.thread, label %.thread8

.thread:                                          ; preds = %.thread5, %95
  %102 = phi ptr [ %99, %.thread5 ], [ %96, %95 ]
  store double 2.221000e-16, ptr %102, align 8, !tbaa !30
  br label %.thread8

103:                                              ; preds = %95
  %104 = icmp eq i32 %.17, 1
  br i1 %104, label %.thread8, label %107

.thread8:                                         ; preds = %.thread5, %.thread, %103
  %105 = tail call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %106 = tail call noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %105, i32 noundef 131, ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef 366, i32 noundef 1)
  br label %107

107:                                              ; preds = %103, %.thread8
  %.02 = phi i32 [ %106, %.thread8 ], [ 0, %103 ]
  ret i32 %.02
}

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() local_unnamed_addr #1

declare noundef i32 @_ZN7qpOASES15MessageHandling12throwWarningENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

!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, !11, i64 28}
!6 = !{!"_ZTSN7qpOASES7OptionsE", !7, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 32, !10, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !13, i64 128, !12, i64 136, !11, i64 144, !12, i64 152, !11, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !10, i64 200, !10, i64 204, !11, i64 208, !11, i64 212, !11, i64 216}
!7 = !{!"_ZTSN7qpOASES10PrintLevelE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7qpOASES11BooleanTypeE", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !8, i64 0}
!14 = !{!6, !11, i64 32}
!15 = !{!6, !12, i64 40}
!16 = !{!6, !12, i64 168}
!17 = !{!6, !12, i64 152}
!18 = !{!6, !12, i64 48}
!19 = !{!6, !12, i64 56}
!20 = !{!6, !12, i64 80}
!21 = !{!6, !12, i64 88}
!22 = !{!6, !12, i64 96}
!23 = !{!6, !12, i64 104}
!24 = !{!6, !12, i64 112}
!25 = !{!6, !12, i64 120}
!26 = !{!6, !12, i64 136}
!27 = !{!6, !11, i64 144}
!28 = !{!6, !11, i64 160}
!29 = !{!6, !12, i64 176}
!30 = !{!6, !12, i64 184}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass