; LLVM IR from Tencent-RoboticsX/jbdl :: src/jbdl/experimental/qpoases/src (OQPinterface)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES17readOqpDimensionsEPKcRiS2_S2_S2_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; 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 @_ZN7qpOASES15MessageHandling10throwErrorENS_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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES11readOqpDataEPKcRiS2_S2_S2_PPdS4_S4_S4_S4_S4_S4_S4_S4_S4_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiiiPKdS1_S1_S1_S1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(220), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiPKdS1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(220), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES15runOqpBenchmarkEPKcNS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(220) %3, i32 noundef %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #0 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  store ptr %0, ptr %14, align 8, !tbaa !5
  store i32 %1, ptr %15, align 4, !tbaa !9
  store i32 %2, ptr %16, align 4, !tbaa !9
  store ptr %3, ptr %17, align 8, !tbaa !5
  store i32 %4, ptr %18, align 4, !tbaa !11
  store ptr %5, ptr %19, align 8, !tbaa !5
  store ptr %6, ptr %20, align 8, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !5
  store ptr %8, ptr %22, align 8, !tbaa !5
  store ptr %9, ptr %23, align 8, !tbaa !5
  store ptr %10, ptr %24, align 8, !tbaa !5
  store ptr %11, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 0, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 0, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 0, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  store i32 0, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  store ptr null, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  store ptr null, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  store ptr null, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  store ptr null, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  store ptr null, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  store ptr null, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  store ptr null, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #4
  %39 = load ptr, ptr %14, align 8, !tbaa !5
  %40 = call noundef i32 @_ZN7qpOASES17readOqpDimensionsEPKcRiS2_S2_S2_(ptr noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %45

42:                                               ; preds = %12
  %43 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %44 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %43, i32 noundef 134, ptr noundef null, ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef 608, i32 noundef 1)
  store i32 %44, ptr %13, align 4
  store i32 1, ptr %38, align 4
  br label %265

45:                                               ; preds = %12
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = call noundef i32 @_ZN7qpOASES11readOqpDataEPKcRiS2_S2_S2_PPdS4_S4_S4_S4_S4_S4_S4_S4_S4_(ptr noundef %46, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef null, ptr noundef null, ptr noundef null)
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %45
  %50 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %51 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %50, i32 noundef 134, ptr noundef null, ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef 617, i32 noundef 1)
  store i32 %51, ptr %13, align 4
  store i32 1, ptr %38, align 4
  br label %265

52:                                               ; preds = %45
  %53 = load i32, ptr %28, align 4, !tbaa !11
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %55, label %142

55:                                               ; preds = %52
  %56 = load i32, ptr %26, align 4, !tbaa !11
  %57 = load i32, ptr %27, align 4, !tbaa !11
  %58 = load i32, ptr %28, align 4, !tbaa !11
  %59 = load i32, ptr %29, align 4, !tbaa !11
  %60 = load ptr, ptr %30, align 8, !tbaa !5
  %61 = load ptr, ptr %31, align 8, !tbaa !5
  %62 = load ptr, ptr %32, align 8, !tbaa !5
  %63 = load ptr, ptr %33, align 8, !tbaa !5
  %64 = load ptr, ptr %34, align 8, !tbaa !5
  %65 = load ptr, ptr %35, align 8, !tbaa !5
  %66 = load ptr, ptr %36, align 8, !tbaa !5
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  %69 = load ptr, ptr %17, align 8, !tbaa !5
  %70 = load i32, ptr %18, align 4, !tbaa !11
  %71 = load ptr, ptr %19, align 8, !tbaa !5
  %72 = load ptr, ptr %20, align 8, !tbaa !5
  %73 = load ptr, ptr %21, align 8, !tbaa !5
  %74 = load ptr, ptr %22, align 8, !tbaa !5
  %75 = load ptr, ptr %23, align 8, !tbaa !5
  %76 = load ptr, ptr %24, align 8, !tbaa !5
  %77 = load ptr, ptr %25, align 8, !tbaa !5
  %78 = call noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiiiPKdS1_S1_S1_S1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, i32 noundef %67, i32 noundef %68, ptr noundef nonnull align 8 dereferenceable(220) %69, i32 noundef %70, ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull align 8 dereferenceable(8) %77)
  store i32 %78, ptr %37, align 4, !tbaa !13
  %79 = load i32, ptr %37, align 4, !tbaa !13
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %141

81:                                               ; preds = %55
  %82 = load ptr, ptr %30, align 8, !tbaa !5
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %89

84:                                               ; preds = %81
  %85 = load ptr, ptr %30, align 8, !tbaa !5
  %86 = icmp eq ptr %85, null
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  call void @_ZdaPv(ptr noundef %85) #5
  br label %88

88:                                               ; preds = %87, %84
  br label %89

89:                                               ; preds = %88, %81
  %90 = load ptr, ptr %31, align 8, !tbaa !5
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %97

92:                                               ; preds = %89
  %93 = load ptr, ptr %31, align 8, !tbaa !5
  %94 = icmp eq ptr %93, null
  br i1 %94, label %96, label %95

95:                                               ; preds = %92
  call void @_ZdaPv(ptr noundef %93) #5
  br label %96

96:                                               ; preds = %95, %92
  br label %97

97:                                               ; preds = %96, %89
  %98 = load ptr, ptr %32, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %105

100:                                              ; preds = %97
  %101 = load ptr, ptr %32, align 8, !tbaa !5
  %102 = icmp eq ptr %101, null
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  call void @_ZdaPv(ptr noundef %101) #5
  br label %104

104:                                              ; preds = %103, %100
  br label %105

105:                                              ; preds = %104, %97
  %106 = load ptr, ptr %33, align 8, !tbaa !5
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %113

108:                                              ; preds = %105
  %109 = load ptr, ptr %33, align 8, !tbaa !5
  %110 = icmp eq ptr %109, null
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  call void @_ZdaPv(ptr noundef %109) #5
  br label %112

112:                                              ; preds = %111, %108
  br label %113

113:                                              ; preds = %112, %105
  %114 = load ptr, ptr %34, align 8, !tbaa !5
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %121

116:                                              ; preds = %113
  %117 = load ptr, ptr %34, align 8, !tbaa !5
  %118 = icmp eq ptr %117, null
  br i1 %118, label %120, label %119

119:                                              ; preds = %116
  call void @_ZdaPv(ptr noundef %117) #5
  br label %120

120:                                              ; preds = %119, %116
  br label %121

121:                                              ; preds = %120, %113
  %122 = load ptr, ptr %35, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %129

124:                                              ; preds = %121
  %125 = load ptr, ptr %35, align 8, !tbaa !5
  %126 = icmp eq ptr %125, null
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  call void @_ZdaPv(ptr noundef %125) #5
  br label %128

128:                                              ; preds = %127, %124
  br label %129

129:                                              ; preds = %128, %121
  %130 = load ptr, ptr %36, align 8, !tbaa !5
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %137

132:                                              ; preds = %129
  %133 = load ptr, ptr %36, align 8, !tbaa !5
  %134 = icmp eq ptr %133, null
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  call void @_ZdaPv(ptr noundef %133) #5
  br label %136

136:                                              ; preds = %135, %132
  br label %137

137:                                              ; preds = %136, %129
  %138 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %139 = load i32, ptr %37, align 4, !tbaa !13
  %140 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %138, i32 noundef %139, ptr noundef null, ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef 642, i32 noundef 1)
  store i32 %140, ptr %13, align 4
  store i32 1, ptr %38, align 4
  br label %265

141:                                              ; preds = %55
  br label %208

142:                                              ; preds = %52
  %143 = load i32, ptr %26, align 4, !tbaa !11
  %144 = load i32, ptr %27, align 4, !tbaa !11
  %145 = load ptr, ptr %30, align 8, !tbaa !5
  %146 = load ptr, ptr %31, align 8, !tbaa !5
  %147 = load ptr, ptr %33, align 8, !tbaa !5
  %148 = load ptr, ptr %34, align 8, !tbaa !5
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  %152 = load i32, ptr %18, align 4, !tbaa !11
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = load ptr, ptr %20, align 8, !tbaa !5
  %155 = load ptr, ptr %21, align 8, !tbaa !5
  %156 = load ptr, ptr %22, align 8, !tbaa !5
  %157 = load ptr, ptr %23, align 8, !tbaa !5
  %158 = load ptr, ptr %24, align 8, !tbaa !5
  %159 = load ptr, ptr %25, align 8, !tbaa !5
  %160 = call noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiPKdS1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef %143, i32 noundef %144, ptr noundef %145, ptr noundef %146, ptr noundef %147, ptr noundef %148, i32 noundef %149, i32 noundef %150, ptr noundef nonnull align 8 dereferenceable(220) %151, i32 noundef %152, ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull align 8 dereferenceable(8) %159)
  store i32 %160, ptr %37, align 4, !tbaa !13
  %161 = load i32, ptr %37, align 4, !tbaa !13
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %207

163:                                              ; preds = %142
  %164 = load ptr, ptr %30, align 8, !tbaa !5
  %165 = icmp ne ptr %164, null
  br i1 %165, label %166, label %171

166:                                              ; preds = %163
  %167 = load ptr, ptr %30, align 8, !tbaa !5
  %168 = icmp eq ptr %167, null
  br i1 %168, label %170, label %169

169:                                              ; preds = %166
  call void @_ZdaPv(ptr noundef %167) #5
  br label %170

170:                                              ; preds = %169, %166
  br label %171

171:                                              ; preds = %170, %163
  %172 = load ptr, ptr %31, align 8, !tbaa !5
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %179

174:                                              ; preds = %171
  %175 = load ptr, ptr %31, align 8, !tbaa !5
  %176 = icmp eq ptr %175, null
  br i1 %176, label %178, label %177

177:                                              ; preds = %174
  call void @_ZdaPv(ptr noundef %175) #5
  br label %178

178:                                              ; preds = %177, %174
  br label %179

179:                                              ; preds = %178, %171
  %180 = load ptr, ptr %32, align 8, !tbaa !5
  %181 = icmp ne ptr %180, null
  br i1 %181, label %182, label %187

182:                                              ; preds = %179
  %183 = load ptr, ptr %32, align 8, !tbaa !5
  %184 = icmp eq ptr %183, null
  br i1 %184, label %186, label %185

185:                                              ; preds = %182
  call void @_ZdaPv(ptr noundef %183) #5
  br label %186

186:                                              ; preds = %185, %182
  br label %187

187:                                              ; preds = %186, %179
  %188 = load ptr, ptr %33, align 8, !tbaa !5
  %189 = icmp ne ptr %188, null
  br i1 %189, label %190, label %195

190:                                              ; preds = %187
  %191 = load ptr, ptr %33, align 8, !tbaa !5
  %192 = icmp eq ptr %191, null
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  call void @_ZdaPv(ptr noundef %191) #5
  br label %194

194:                                              ; preds = %193, %190
  br label %195

195:                                              ; preds = %194, %187
  %196 = load ptr, ptr %34, align 8, !tbaa !5
  %197 = icmp ne ptr %196, null
  br i1 %197, label %198, label %203

198:                                              ; preds = %195
  %199 = load ptr, ptr %34, align 8, !tbaa !5
  %200 = icmp eq ptr %199, null
  br i1 %200, label %202, label %201

201:                                              ; preds = %198
  call void @_ZdaPv(ptr noundef %199) #5
  br label %202

202:                                              ; preds = %201, %198
  br label %203

203:                                              ; preds = %202, %195
  %204 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %205 = load i32, ptr %37, align 4, !tbaa !13
  %206 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %204, i32 noundef %205, ptr noundef null, ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef 662, i32 noundef 1)
  store i32 %206, ptr %13, align 4
  store i32 1, ptr %38, align 4
  br label %265

207:                                              ; preds = %142
  br label %208

208:                                              ; preds = %207, %141
  %209 = load ptr, ptr %30, align 8, !tbaa !5
  %210 = icmp ne ptr %209, null
  br i1 %210, label %211, label %216

211:                                              ; preds = %208
  %212 = load ptr, ptr %30, align 8, !tbaa !5
  %213 = icmp eq ptr %212, null
  br i1 %213, label %215, label %214

214:                                              ; preds = %211
  call void @_ZdaPv(ptr noundef %212) #5
  br label %215

215:                                              ; preds = %214, %211
  br label %216

216:                                              ; preds = %215, %208
  %217 = load ptr, ptr %31, align 8, !tbaa !5
  %218 = icmp ne ptr %217, null
  br i1 %218, label %219, label %224

219:                                              ; preds = %216
  %220 = load ptr, ptr %31, align 8, !tbaa !5
  %221 = icmp eq ptr %220, null
  br i1 %221, label %223, label %222

222:                                              ; preds = %219
  call void @_ZdaPv(ptr noundef %220) #5
  br label %223

223:                                              ; preds = %222, %219
  br label %224

224:                                              ; preds = %223, %216
  %225 = load ptr, ptr %32, align 8, !tbaa !5
  %226 = icmp ne ptr %225, null
  br i1 %226, label %227, label %232

227:                                              ; preds = %224
  %228 = load ptr, ptr %32, align 8, !tbaa !5
  %229 = icmp eq ptr %228, null
  br i1 %229, label %231, label %230

230:                                              ; preds = %227
  call void @_ZdaPv(ptr noundef %228) #5
  br label %231

231:                                              ; preds = %230, %227
  br label %232

232:                                              ; preds = %231, %224
  %233 = load ptr, ptr %33, align 8, !tbaa !5
  %234 = icmp ne ptr %233, null
  br i1 %234, label %235, label %240

235:                                              ; preds = %232
  %236 = load ptr, ptr %33, align 8, !tbaa !5
  %237 = icmp eq ptr %236, null
  br i1 %237, label %239, label %238

238:                                              ; preds = %235
  call void @_ZdaPv(ptr noundef %236) #5
  br label %239

239:                                              ; preds = %238, %235
  br label %240

240:                                              ; preds = %239, %232
  %241 = load ptr, ptr %34, align 8, !tbaa !5
  %242 = icmp ne ptr %241, null
  br i1 %242, label %243, label %248

243:                                              ; preds = %240
  %244 = load ptr, ptr %34, align 8, !tbaa !5
  %245 = icmp eq ptr %244, null
  br i1 %245, label %247, label %246

246:                                              ; preds = %243
  call void @_ZdaPv(ptr noundef %244) #5
  br label %247

247:                                              ; preds = %246, %243
  br label %248

248:                                              ; preds = %247, %240
  %249 = load ptr, ptr %35, align 8, !tbaa !5
  %250 = icmp ne ptr %249, null
  br i1 %250, label %251, label %256

251:                                              ; preds = %248
  %252 = load ptr, ptr %35, align 8, !tbaa !5
  %253 = icmp eq ptr %252, null
  br i1 %253, label %255, label %254

254:                                              ; preds = %251
  call void @_ZdaPv(ptr noundef %252) #5
  br label %255

255:                                              ; preds = %254, %251
  br label %256

256:                                              ; preds = %255, %248
  %257 = load ptr, ptr %36, align 8, !tbaa !5
  %258 = icmp ne ptr %257, null
  br i1 %258, label %259, label %264

259:                                              ; preds = %256
  %260 = load ptr, ptr %36, align 8, !tbaa !5
  %261 = icmp eq ptr %260, null
  br i1 %261, label %263, label %262

262:                                              ; preds = %259
  call void @_ZdaPv(ptr noundef %260) #5
  br label %263

263:                                              ; preds = %262, %259
  br label %264

264:                                              ; preds = %263, %256
  store i32 0, ptr %13, align 4
  store i32 1, ptr %38, align 4
  br label %265

265:                                              ; preds = %264, %203, %137, %49, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  %266 = load i32, ptr %13, align 4
  ret i32 %266
}

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 = { 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 #4 = { nounwind }
attributes #5 = { 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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN7qpOASES11returnValueE", !7, i64 0}


; 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.1 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [107 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES17readOqpDimensionsEPKcRiS2_S2_S2_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

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

declare noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv() local_unnamed_addr #2

declare noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_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 #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES11readOqpDataEPKcRiS2_S2_S2_PPdS4_S4_S4_S4_S4_S4_S4_S4_S4_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiiiPKdS1_S1_S1_S1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(220), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiPKdS1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(220), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES15runOqpBenchmarkEPKcNS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(220) %3, i32 noundef %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) local_unnamed_addr #0 {
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  store i32 0, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  store ptr null, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  store ptr null, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  store ptr null, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  store ptr null, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  store ptr null, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  store ptr null, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  store ptr null, ptr %23, align 8, !tbaa !9
  %24 = call noundef i32 @_ZN7qpOASES17readOqpDimensionsEPKcRiS2_S2_S2_(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %28, label %25

25:                                               ; preds = %12
  %26 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %27 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %26, i32 noundef 134, ptr noundef null, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i64 noundef 608, i32 noundef 1)
  br label %117

28:                                               ; preds = %12
  %29 = call noundef i32 @_ZN7qpOASES11readOqpDataEPKcRiS2_S2_S2_PPdS4_S4_S4_S4_S4_S4_S4_S4_S4_(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef nonnull %23, ptr noundef null, ptr noundef null, ptr noundef null)
  %.not50 = icmp eq i32 %29, 0
  br i1 %.not50, label %33, label %30

30:                                               ; preds = %28
  %31 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %32 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %31, i32 noundef 134, ptr noundef null, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i64 noundef 617, i32 noundef 1)
  br label %117

33:                                               ; preds = %28
  %34 = load i32, ptr %15, align 4, !tbaa !5
  %35 = icmp sgt i32 %34, 0
  %36 = load i32, ptr %13, align 4, !tbaa !5
  %37 = load i32, ptr %14, align 4, !tbaa !5
  br i1 %35, label %38, label %72

38:                                               ; preds = %33
  %39 = load i32, ptr %16, align 4, !tbaa !5
  %40 = load ptr, ptr %17, align 8, !tbaa !9
  %41 = load ptr, ptr %18, align 8, !tbaa !9
  %42 = load ptr, ptr %19, align 8, !tbaa !9
  %43 = load ptr, ptr %20, align 8, !tbaa !9
  %44 = load ptr, ptr %21, align 8, !tbaa !9
  %45 = load ptr, ptr %22, align 8, !tbaa !9
  %46 = load ptr, ptr %23, align 8, !tbaa !9
  %47 = call noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiiiPKdS1_S1_S1_S1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef %36, i32 noundef %37, i32 noundef %34, i32 noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(220) %3, i32 noundef %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %.not57 = icmp eq i32 %47, 0
  br i1 %.not57, label %96, label %48

48:                                               ; preds = %38
  %49 = load ptr, ptr %17, align 8, !tbaa !9
  %.not65 = icmp eq ptr %49, null
  br i1 %.not65, label %51, label %50

50:                                               ; preds = %48
  call void @_ZdaPv(ptr noundef nonnull %49) #5
  br label %51

51:                                               ; preds = %50, %48
  %52 = load ptr, ptr %18, align 8, !tbaa !9
  %.not66 = icmp eq ptr %52, null
  br i1 %.not66, label %54, label %53

53:                                               ; preds = %51
  call void @_ZdaPv(ptr noundef nonnull %52) #5
  br label %54

54:                                               ; preds = %53, %51
  %55 = load ptr, ptr %19, align 8, !tbaa !9
  %.not67 = icmp eq ptr %55, null
  br i1 %.not67, label %57, label %56

56:                                               ; preds = %54
  call void @_ZdaPv(ptr noundef nonnull %55) #5
  br label %57

57:                                               ; preds = %56, %54
  %58 = load ptr, ptr %20, align 8, !tbaa !9
  %.not68 = icmp eq ptr %58, null
  br i1 %.not68, label %60, label %59

59:                                               ; preds = %57
  call void @_ZdaPv(ptr noundef nonnull %58) #5
  br label %60

60:                                               ; preds = %59, %57
  %61 = load ptr, ptr %21, align 8, !tbaa !9
  %.not69 = icmp eq ptr %61, null
  br i1 %.not69, label %63, label %62

62:                                               ; preds = %60
  call void @_ZdaPv(ptr noundef nonnull %61) #5
  br label %63

63:                                               ; preds = %62, %60
  %64 = load ptr, ptr %22, align 8, !tbaa !9
  %.not70 = icmp eq ptr %64, null
  br i1 %.not70, label %66, label %65

65:                                               ; preds = %63
  call void @_ZdaPv(ptr noundef nonnull %64) #5
  br label %66

66:                                               ; preds = %65, %63
  %67 = load ptr, ptr %23, align 8, !tbaa !9
  %.not71 = icmp eq ptr %67, null
  br i1 %.not71, label %69, label %68

68:                                               ; preds = %66
  call void @_ZdaPv(ptr noundef nonnull %67) #5
  br label %69

69:                                               ; preds = %68, %66
  %70 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %71 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %70, i32 noundef %47, ptr noundef null, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i64 noundef 642, i32 noundef 1)
  br label %117

72:                                               ; preds = %33
  %73 = load ptr, ptr %17, align 8, !tbaa !9
  %74 = load ptr, ptr %18, align 8, !tbaa !9
  %75 = load ptr, ptr %20, align 8, !tbaa !9
  %76 = load ptr, ptr %21, align 8, !tbaa !9
  %77 = call noundef i32 @_ZN7qpOASES17solveOqpBenchmarkEiiPKdS1_S1_S1_NS_11BooleanTypeES2_RKNS_7OptionsEiRdS6_S6_S6_S6_S6_S6_(i32 noundef %36, i32 noundef %37, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, i32 noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(220) %3, i32 noundef %4, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %.not51 = icmp eq i32 %77, 0
  br i1 %.not51, label %96, label %78

78:                                               ; preds = %72
  %79 = load ptr, ptr %17, align 8, !tbaa !9
  %.not52 = icmp eq ptr %79, null
  br i1 %.not52, label %81, label %80

80:                                               ; preds = %78
  call void @_ZdaPv(ptr noundef nonnull %79) #5
  br label %81

81:                                               ; preds = %80, %78
  %82 = load ptr, ptr %18, align 8, !tbaa !9
  %.not53 = icmp eq ptr %82, null
  br i1 %.not53, label %84, label %83

83:                                               ; preds = %81
  call void @_ZdaPv(ptr noundef nonnull %82) #5
  br label %84

84:                                               ; preds = %83, %81
  %85 = load ptr, ptr %19, align 8, !tbaa !9
  %.not54 = icmp eq ptr %85, null
  br i1 %.not54, label %87, label %86

86:                                               ; preds = %84
  call void @_ZdaPv(ptr noundef nonnull %85) #5
  br label %87

87:                                               ; preds = %86, %84
  %88 = load ptr, ptr %20, align 8, !tbaa !9
  %.not55 = icmp eq ptr %88, null
  br i1 %.not55, label %90, label %89

89:                                               ; preds = %87
  call void @_ZdaPv(ptr noundef nonnull %88) #5
  br label %90

90:                                               ; preds = %89, %87
  %91 = load ptr, ptr %21, align 8, !tbaa !9
  %.not56 = icmp eq ptr %91, null
  br i1 %.not56, label %93, label %92

92:                                               ; preds = %90
  call void @_ZdaPv(ptr noundef nonnull %91) #5
  br label %93

93:                                               ; preds = %92, %90
  %94 = call noundef ptr @_ZN7qpOASES23getGlobalMessageHandlerEv()
  %95 = call noundef i32 @_ZN7qpOASES15MessageHandling10throwErrorENS_11returnValueEPKcS3_S3_mNS_16VisibilityStatusE(ptr noundef nonnull align 8 dereferenceable(28) %94, i32 noundef %77, ptr noundef null, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i64 noundef 662, i32 noundef 1)
  br label %117

96:                                               ; preds = %72, %38
  %97 = load ptr, ptr %17, align 8, !tbaa !9
  %.not58 = icmp eq ptr %97, null
  br i1 %.not58, label %99, label %98

98:                                               ; preds = %96
  call void @_ZdaPv(ptr noundef nonnull %97) #5
  br label %99

99:                                               ; preds = %98, %96
  %100 = load ptr, ptr %18, align 8, !tbaa !9
  %.not59 = icmp eq ptr %100, null
  br i1 %.not59, label %102, label %101

101:                                              ; preds = %99
  call void @_ZdaPv(ptr noundef nonnull %100) #5
  br label %102

102:                                              ; preds = %101, %99
  %103 = load ptr, ptr %19, align 8, !tbaa !9
  %.not60 = icmp eq ptr %103, null
  br i1 %.not60, label %105, label %104

104:                                              ; preds = %102
  call void @_ZdaPv(ptr noundef nonnull %103) #5
  br label %105

105:                                              ; preds = %104, %102
  %106 = load ptr, ptr %20, align 8, !tbaa !9
  %.not61 = icmp eq ptr %106, null
  br i1 %.not61, label %108, label %107

107:                                              ; preds = %105
  call void @_ZdaPv(ptr noundef nonnull %106) #5
  br label %108

108:                                              ; preds = %107, %105
  %109 = load ptr, ptr %21, align 8, !tbaa !9
  %.not62 = icmp eq ptr %109, null
  br i1 %.not62, label %111, label %110

110:                                              ; preds = %108
  call void @_ZdaPv(ptr noundef nonnull %109) #5
  br label %111

111:                                              ; preds = %110, %108
  %112 = load ptr, ptr %22, align 8, !tbaa !9
  %.not63 = icmp eq ptr %112, null
  br i1 %.not63, label %114, label %113

113:                                              ; preds = %111
  call void @_ZdaPv(ptr noundef nonnull %112) #5
  br label %114

114:                                              ; preds = %113, %111
  %115 = load ptr, ptr %23, align 8, !tbaa !9
  %.not64 = icmp eq ptr %115, null
  br i1 %.not64, label %117, label %116

116:                                              ; preds = %114
  call void @_ZdaPv(ptr noundef nonnull %115) #5
  br label %117

117:                                              ; preds = %114, %116, %93, %69, %30, %25
  %.0 = phi i32 [ %27, %25 ], [ %32, %30 ], [ %71, %69 ], [ %95, %93 ], [ 0, %116 ], [ 0, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  ret i32 %.0
}

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 = { mustprogress 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 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


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