; LLVM IR from lichen-community-systems/signaletic :: hosts/daisy/vendor/libDaisy/Drivers/STM32H7xx_HAL_Driver/Src (IRQHandler)

; 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.DFSDM_Filter_HandleTypeDef = type { ptr, %struct.DFSDM_Filter_InitTypeDef, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.DFSDM_Filter_InitTypeDef = type { %struct.DFSDM_Filter_RegularParamTypeDef, %struct.DFSDM_Filter_InjectedParamTypeDef, %struct.DFSDM_Filter_FilterParamTypeDef }
%struct.DFSDM_Filter_RegularParamTypeDef = type { i32, i32, i32 }
%struct.DFSDM_Filter_InjectedParamTypeDef = type { i32, i32, i32, i32, i32 }
%struct.DFSDM_Filter_FilterParamTypeDef = type { i32, i32, i32 }
%struct.DFSDM_Filter_TypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.DFSDM_Channel_HandleTypeDef = type { ptr, %struct.DFSDM_Channel_InitTypeDef, i32 }
%struct.DFSDM_Channel_InitTypeDef = type { %struct.DFSDM_Channel_OutputClockTypeDef, %struct.DFSDM_Channel_InputTypeDef, %struct.DFSDM_Channel_SerialInterfaceTypeDef, %struct.DFSDM_Channel_AwdTypeDef, i32, i32 }
%struct.DFSDM_Channel_OutputClockTypeDef = type { i32, i32, i32 }
%struct.DFSDM_Channel_InputTypeDef = type { i32, i32, i32 }
%struct.DFSDM_Channel_SerialInterfaceTypeDef = type { i32, i32 }
%struct.DFSDM_Channel_AwdTypeDef = type { i32, i32 }
%struct.DFSDM_Channel_TypeDef = type { i32, i32, i32, i32, i32 }

@a_dfsdm1ChannelHandle = external hidden global [8 x ptr], align 16

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_ChannelCkabCallback(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_ChannelScdCallback(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterErrorCallback(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @HAL_DFSDM_IRQHandler(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %12, i32 0, i32 0
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %14, i32 0, i32 2
  %16 = load volatile i32, ptr %15, align 4, !tbaa !15
  store i32 %16, ptr %3, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %17, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %19, i32 0, i32 1
  %21 = load volatile i32, ptr %20, align 4, !tbaa !18
  store i32 %21, ptr %4, align 4, !tbaa !17
  %22 = load i32, ptr %3, align 4, !tbaa !17
  %23 = zext i32 %22 to i64
  %24 = and i64 %23, 8
  %25 = icmp ne i64 %24, 0
  br i1 %25, label %26, label %39

26:                                               ; preds = %1
  %27 = load i32, ptr %4, align 4, !tbaa !17
  %28 = zext i32 %27 to i64
  %29 = and i64 %28, 8
  %30 = icmp ne i64 %29, 0
  br i1 %30, label %31, label %39

31:                                               ; preds = %26
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %34, i32 0, i32 3
  store volatile i32 8, ptr %35, align 4, !tbaa !19
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %36, i32 0, i32 12
  store i32 1, ptr %37, align 8, !tbaa !20
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  call void @HAL_DFSDM_FilterErrorCallback(ptr noundef %38)
  br label %347

39:                                               ; preds = %26, %1
  %40 = load i32, ptr %3, align 4, !tbaa !17
  %41 = zext i32 %40 to i64
  %42 = and i64 %41, 4
  %43 = icmp ne i64 %42, 0
  br i1 %43, label %44, label %57

44:                                               ; preds = %39
  %45 = load i32, ptr %4, align 4, !tbaa !17
  %46 = zext i32 %45 to i64
  %47 = and i64 %46, 4
  %48 = icmp ne i64 %47, 0
  br i1 %48, label %49, label %57

49:                                               ; preds = %44
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %52, i32 0, i32 3
  store volatile i32 4, ptr %53, align 4, !tbaa !19
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %54, i32 0, i32 12
  store i32 2, ptr %55, align 8, !tbaa !20
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  call void @HAL_DFSDM_FilterErrorCallback(ptr noundef %56)
  br label %346

57:                                               ; preds = %44, %39
  %58 = load i32, ptr %3, align 4, !tbaa !17
  %59 = zext i32 %58 to i64
  %60 = and i64 %59, 2
  %61 = icmp ne i64 %60, 0
  br i1 %61, label %62, label %96

62:                                               ; preds = %57
  %63 = load i32, ptr %4, align 4, !tbaa !17
  %64 = zext i32 %63 to i64
  %65 = and i64 %64, 2
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %96

67:                                               ; preds = %62
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  call void @HAL_DFSDM_FilterRegConvCpltCallback(ptr noundef %68)
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %69, i32 0, i32 4
  %71 = load i32, ptr %70, align 8, !tbaa !21
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %95

73:                                               ; preds = %67
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %74, i32 0, i32 5
  %76 = load i32, ptr %75, align 4, !tbaa !22
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %95

78:                                               ; preds = %73
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %81, i32 0, i32 1
  %83 = load volatile i32, ptr %82, align 4, !tbaa !18
  %84 = zext i32 %83 to i64
  %85 = and i64 %84, -3
  %86 = trunc i64 %85 to i32
  store volatile i32 %86, ptr %82, align 4, !tbaa !18
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %87, i32 0, i32 11
  %89 = load i32, ptr %88, align 4, !tbaa !23
  %90 = icmp eq i32 %89, 2
  %91 = zext i1 %90 to i64
  %92 = select i1 %90, i32 1, i32 3
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %93, i32 0, i32 11
  store i32 %92, ptr %94, align 4, !tbaa !23
  br label %95

95:                                               ; preds = %78, %73, %67
  br label %345

96:                                               ; preds = %62, %57
  %97 = load i32, ptr %3, align 4, !tbaa !17
  %98 = zext i32 %97 to i64
  %99 = and i64 %98, 1
  %100 = icmp ne i64 %99, 0
  br i1 %100, label %101, label %153

101:                                              ; preds = %96
  %102 = load i32, ptr %4, align 4, !tbaa !17
  %103 = zext i32 %102 to i64
  %104 = and i64 %103, 1
  %105 = icmp ne i64 %104, 0
  br i1 %105, label %106, label %153

106:                                              ; preds = %101
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  call void @HAL_DFSDM_FilterInjConvCpltCallback(ptr noundef %107)
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %108, i32 0, i32 10
  %110 = load i32, ptr %109, align 8, !tbaa !24
  %111 = add i32 %110, -1
  store i32 %111, ptr %109, align 8, !tbaa !24
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %112, i32 0, i32 10
  %114 = load i32, ptr %113, align 8, !tbaa !24
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %152

116:                                              ; preds = %106
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %118, align 8, !tbaa !25
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %138

121:                                              ; preds = %116
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %122, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %124, i32 0, i32 1
  %126 = load volatile i32, ptr %125, align 4, !tbaa !18
  %127 = zext i32 %126 to i64
  %128 = and i64 %127, -2
  %129 = trunc i64 %128 to i32
  store volatile i32 %129, ptr %125, align 4, !tbaa !18
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %130, i32 0, i32 11
  %132 = load i32, ptr %131, align 4, !tbaa !23
  %133 = icmp eq i32 %132, 3
  %134 = zext i1 %133 to i64
  %135 = select i1 %133, i32 1, i32 2
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %136, i32 0, i32 11
  store i32 %135, ptr %137, align 4, !tbaa !23
  br label %138

138:                                              ; preds = %121, %116
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %139, i32 0, i32 8
  %141 = load i32, ptr %140, align 8, !tbaa !26
  %142 = icmp eq i32 %141, 1
  br i1 %142, label %143, label %147

143:                                              ; preds = %138
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %144, i32 0, i32 9
  %146 = load i32, ptr %145, align 4, !tbaa !27
  br label %148

147:                                              ; preds = %138
  br label %148

148:                                              ; preds = %147, %143
  %149 = phi i32 [ %146, %143 ], [ 1, %147 ]
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %150, i32 0, i32 10
  store i32 %149, ptr %151, align 8, !tbaa !24
  br label %152

152:                                              ; preds = %148, %106
  br label %344

153:                                              ; preds = %101, %96
  %154 = load i32, ptr %3, align 4, !tbaa !17
  %155 = zext i32 %154 to i64
  %156 = and i64 %155, 16
  %157 = icmp ne i64 %156, 0
  br i1 %157, label %158, label %217

158:                                              ; preds = %153
  %159 = load i32, ptr %4, align 4, !tbaa !17
  %160 = zext i32 %159 to i64
  %161 = and i64 %160, 16
  %162 = icmp ne i64 %161, 0
  br i1 %162, label %163, label %217

163:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  store i32 0, ptr %7, align 4, !tbaa !17
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %164, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8, !tbaa !9
  %167 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %166, i32 0, i32 10
  %168 = load volatile i32, ptr %167, align 4, !tbaa !28
  store i32 %168, ptr %5, align 4, !tbaa !17
  %169 = load i32, ptr %5, align 4, !tbaa !17
  %170 = zext i32 %169 to i64
  %171 = and i64 %170, 255
  %172 = icmp ne i64 %171, 0
  %173 = zext i1 %172 to i64
  %174 = select i1 %172, i32 1, i32 0
  store i32 %174, ptr %6, align 4, !tbaa !17
  %175 = load i32, ptr %6, align 4, !tbaa !17
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %180

177:                                              ; preds = %163
  %178 = load i32, ptr %5, align 4, !tbaa !17
  %179 = lshr i32 %178, 8
  store i32 %179, ptr %5, align 4, !tbaa !17
  br label %180

180:                                              ; preds = %177, %163
  br label %181

181:                                              ; preds = %190, %180
  %182 = load i32, ptr %5, align 4, !tbaa !17
  %183 = and i32 %182, 1
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %185, label %188

185:                                              ; preds = %181
  %186 = load i32, ptr %7, align 4, !tbaa !17
  %187 = icmp ult i32 %186, 7
  br label %188

188:                                              ; preds = %185, %181
  %189 = phi i1 [ false, %181 ], [ %187, %185 ]
  br i1 %189, label %190, label %195

190:                                              ; preds = %188
  %191 = load i32, ptr %7, align 4, !tbaa !17
  %192 = add i32 %191, 1
  store i32 %192, ptr %7, align 4, !tbaa !17
  %193 = load i32, ptr %5, align 4, !tbaa !17
  %194 = lshr i32 %193, 1
  store i32 %194, ptr %5, align 4, !tbaa !17
  br label %181, !llvm.loop !29

195:                                              ; preds = %188
  %196 = load i32, ptr %6, align 4, !tbaa !17
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %198, label %203

198:                                              ; preds = %195
  %199 = load i32, ptr %7, align 4, !tbaa !17
  %200 = add i32 8, %199
  %201 = zext i32 %200 to i64
  %202 = shl i64 1, %201
  br label %207

203:                                              ; preds = %195
  %204 = load i32, ptr %7, align 4, !tbaa !17
  %205 = zext i32 %204 to i64
  %206 = shl i64 1, %205
  br label %207

207:                                              ; preds = %203, %198
  %208 = phi i64 [ %202, %198 ], [ %206, %203 ]
  %209 = trunc i64 %208 to i32
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %210, i32 0, i32 0
  %212 = load ptr, ptr %211, align 8, !tbaa !9
  %213 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %212, i32 0, i32 11
  store volatile i32 %209, ptr %213, align 4, !tbaa !31
  %214 = load ptr, ptr %2, align 8, !tbaa !5
  %215 = load i32, ptr %7, align 4, !tbaa !17
  %216 = load i32, ptr %6, align 4, !tbaa !17
  call void @HAL_DFSDM_FilterAwdCallback(ptr noundef %214, i32 noundef %215, i32 noundef %216)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  br label %343

217:                                              ; preds = %158, %153
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %218, i32 0, i32 0
  %220 = load ptr, ptr %219, align 8, !tbaa !9
  %221 = icmp eq ptr %220, inttoptr (i64 1073836288 to ptr)
  br i1 %221, label %222, label %288

222:                                              ; preds = %217
  %223 = load i32, ptr %3, align 4, !tbaa !17
  %224 = zext i32 %223 to i64
  %225 = and i64 %224, 16711680
  %226 = icmp ne i64 %225, 0
  br i1 %226, label %227, label %288

227:                                              ; preds = %222
  %228 = load i32, ptr %4, align 4, !tbaa !17
  %229 = zext i32 %228 to i64
  %230 = and i64 %229, 64
  %231 = icmp ne i64 %230, 0
  br i1 %231, label %232, label %288

232:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  store i32 0, ptr %9, align 4, !tbaa !17
  %233 = load ptr, ptr %2, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %233, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8, !tbaa !9
  %236 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %235, i32 0, i32 2
  %237 = load volatile i32, ptr %236, align 4, !tbaa !15
  %238 = zext i32 %237 to i64
  %239 = and i64 %238, 16711680
  %240 = lshr i64 %239, 16
  %241 = trunc i64 %240 to i32
  store i32 %241, ptr %8, align 4, !tbaa !17
  br label %242

242:                                              ; preds = %282, %232
  %243 = load i32, ptr %9, align 4, !tbaa !17
  %244 = icmp ult i32 %243, 8
  br i1 %244, label %245, label %287

245:                                              ; preds = %242
  %246 = load i32, ptr %8, align 4, !tbaa !17
  %247 = and i32 %246, 1
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %282

249:                                              ; preds = %245
  %250 = load i32, ptr %9, align 4, !tbaa !17
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds [8 x ptr], ptr @a_dfsdm1ChannelHandle, i64 0, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = icmp ne ptr %253, null
  br i1 %254, label %255, label %282

255:                                              ; preds = %249
  %256 = load i32, ptr %9, align 4, !tbaa !17
  %257 = zext i32 %256 to i64
  %258 = getelementptr inbounds [8 x ptr], ptr @a_dfsdm1ChannelHandle, i64 0, i64 %257
  %259 = load ptr, ptr %258, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.DFSDM_Channel_HandleTypeDef, ptr %259, i32 0, i32 0
  %261 = load ptr, ptr %260, align 8, !tbaa !32
  %262 = getelementptr inbounds %struct.DFSDM_Channel_TypeDef, ptr %261, i32 0, i32 0
  %263 = load volatile i32, ptr %262, align 4, !tbaa !36
  %264 = zext i32 %263 to i64
  %265 = and i64 %264, 64
  %266 = icmp ne i64 %265, 0
  br i1 %266, label %267, label %281

267:                                              ; preds = %255
  %268 = load i32, ptr %9, align 4, !tbaa !17
  %269 = add i32 16, %268
  %270 = zext i32 %269 to i64
  %271 = shl i64 1, %270
  %272 = trunc i64 %271 to i32
  %273 = load ptr, ptr %2, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %273, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %275, i32 0, i32 3
  store volatile i32 %272, ptr %276, align 4, !tbaa !19
  %277 = load i32, ptr %9, align 4, !tbaa !17
  %278 = zext i32 %277 to i64
  %279 = getelementptr inbounds [8 x ptr], ptr @a_dfsdm1ChannelHandle, i64 0, i64 %278
  %280 = load ptr, ptr %279, align 8, !tbaa !5
  call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef %280)
  br label %281

281:                                              ; preds = %267, %255
  br label %282

282:                                              ; preds = %281, %249, %245
  %283 = load i32, ptr %9, align 4, !tbaa !17
  %284 = add i32 %283, 1
  store i32 %284, ptr %9, align 4, !tbaa !17
  %285 = load i32, ptr %8, align 4, !tbaa !17
  %286 = lshr i32 %285, 1
  store i32 %286, ptr %8, align 4, !tbaa !17
  br label %242, !llvm.loop !37

287:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  br label %342

288:                                              ; preds = %227, %222, %217
  %289 = load ptr, ptr %2, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %289, i32 0, i32 0
  %291 = load ptr, ptr %290, align 8, !tbaa !9
  %292 = icmp eq ptr %291, inttoptr (i64 1073836288 to ptr)
  br i1 %292, label %293, label %341

293:                                              ; preds = %288
  %294 = load i32, ptr %3, align 4, !tbaa !17
  %295 = zext i32 %294 to i64
  %296 = and i64 %295, 4278190080
  %297 = icmp ne i64 %296, 0
  br i1 %297, label %298, label %341

298:                                              ; preds = %293
  %299 = load i32, ptr %4, align 4, !tbaa !17
  %300 = zext i32 %299 to i64
  %301 = and i64 %300, 32
  %302 = icmp ne i64 %301, 0
  br i1 %302, label %303, label %341

303:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  store i32 0, ptr %11, align 4, !tbaa !17
  %304 = load ptr, ptr %2, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %304, i32 0, i32 0
  %306 = load ptr, ptr %305, align 8, !tbaa !9
  %307 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %306, i32 0, i32 2
  %308 = load volatile i32, ptr %307, align 4, !tbaa !15
  %309 = zext i32 %308 to i64
  %310 = and i64 %309, 4278190080
  %311 = lshr i64 %310, 24
  %312 = trunc i64 %311 to i32
  store i32 %312, ptr %10, align 4, !tbaa !17
  br label %313

313:                                              ; preds = %322, %303
  %314 = load i32, ptr %10, align 4, !tbaa !17
  %315 = and i32 %314, 1
  %316 = icmp eq i32 %315, 0
  br i1 %316, label %317, label %320

317:                                              ; preds = %313
  %318 = load i32, ptr %11, align 4, !tbaa !17
  %319 = icmp ult i32 %318, 7
  br label %320

320:                                              ; preds = %317, %313
  %321 = phi i1 [ false, %313 ], [ %319, %317 ]
  br i1 %321, label %322, label %327

322:                                              ; preds = %320
  %323 = load i32, ptr %11, align 4, !tbaa !17
  %324 = add i32 %323, 1
  store i32 %324, ptr %11, align 4, !tbaa !17
  %325 = load i32, ptr %10, align 4, !tbaa !17
  %326 = lshr i32 %325, 1
  store i32 %326, ptr %10, align 4, !tbaa !17
  br label %313, !llvm.loop !38

327:                                              ; preds = %320
  %328 = load i32, ptr %11, align 4, !tbaa !17
  %329 = add i32 24, %328
  %330 = zext i32 %329 to i64
  %331 = shl i64 1, %330
  %332 = trunc i64 %331 to i32
  %333 = load ptr, ptr %2, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.DFSDM_Filter_HandleTypeDef, ptr %333, i32 0, i32 0
  %335 = load ptr, ptr %334, align 8, !tbaa !9
  %336 = getelementptr inbounds %struct.DFSDM_Filter_TypeDef, ptr %335, i32 0, i32 3
  store volatile i32 %332, ptr %336, align 4, !tbaa !19
  %337 = load i32, ptr %11, align 4, !tbaa !17
  %338 = zext i32 %337 to i64
  %339 = getelementptr inbounds [8 x ptr], ptr @a_dfsdm1ChannelHandle, i64 0, i64 %338
  %340 = load ptr, ptr %339, align 8, !tbaa !5
  call void @HAL_DFSDM_ChannelScdCallback(ptr noundef %340)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  br label %341

341:                                              ; preds = %327, %298, %293, %288
  br label %342

342:                                              ; preds = %341, %287
  br label %343

343:                                              ; preds = %342, %207
  br label %344

344:                                              ; preds = %343, %152
  br label %345

345:                                              ; preds = %344, %95
  br label %346

346:                                              ; preds = %345, %49
  br label %347

347:                                              ; preds = %346, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterRegConvCpltCallback(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterInjConvCpltCallback(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterAwdCallback(ptr noundef, i32 noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"", !6, i64 0, !11, i64 8, !6, i64 56, !6, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104}
!11 = !{!"", !12, i64 0, !14, i64 12, !12, i64 32}
!12 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!15 = !{!16, !13, i64 8}
!16 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56}
!17 = !{!13, !13, i64 0}
!18 = !{!16, !13, i64 4}
!19 = !{!16, !13, i64 12}
!20 = !{!10, !13, i64 104}
!21 = !{!10, !13, i64 72}
!22 = !{!10, !13, i64 76}
!23 = !{!10, !13, i64 100}
!24 = !{!10, !13, i64 96}
!25 = !{!10, !13, i64 80}
!26 = !{!10, !13, i64 88}
!27 = !{!10, !13, i64 92}
!28 = !{!16, !13, i64 40}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!16, !13, i64 44}
!32 = !{!33, !6, i64 0}
!33 = !{!"", !6, i64 0, !34, i64 8, !13, i64 56}
!34 = !{!"", !12, i64 0, !12, i64 12, !35, i64 24, !35, i64 32, !13, i64 40, !13, i64 44}
!35 = !{!"", !13, i64 0, !13, i64 4}
!36 = !{!14, !13, i64 0}
!37 = distinct !{!37, !30}
!38 = distinct !{!38, !30}


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

@a_dfsdm1ChannelHandle = external hidden local_unnamed_addr global [8 x ptr], align 16

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_ChannelCkabCallback(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_ChannelScdCallback(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterErrorCallback(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @HAL_DFSDM_IRQHandler(ptr noundef %0) local_unnamed_addr #0 {
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 8
  %4 = load volatile i32, ptr %3, align 4, !tbaa !14
  %5 = getelementptr inbounds i8, ptr %2, i64 4
  %6 = load volatile i32, ptr %5, align 4, !tbaa !16
  %7 = zext i32 %4 to i64
  %8 = and i64 %7, 8
  %.not = icmp eq i64 %8, 0
  %9 = and i32 %6, 8
  %.not80 = icmp eq i32 %9, 0
  %or.cond = select i1 %.not, i1 true, i1 %.not80
  br i1 %or.cond, label %13, label %10

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %2, i64 12
  store volatile i32 8, ptr %11, align 4, !tbaa !17
  %12 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 1, ptr %12, align 8, !tbaa !18
  tail call void @HAL_DFSDM_FilterErrorCallback(ptr noundef nonnull %0)
  br label %.loopexit

13:                                               ; preds = %1
  %14 = and i64 %7, 4
  %.not81 = icmp eq i64 %14, 0
  %15 = and i32 %6, 4
  %.not82 = icmp eq i32 %15, 0
  %or.cond97 = select i1 %.not81, i1 true, i1 %.not82
  br i1 %or.cond97, label %19, label %16

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %2, i64 12
  store volatile i32 4, ptr %17, align 4, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 2, ptr %18, align 8, !tbaa !18
  tail call void @HAL_DFSDM_FilterErrorCallback(ptr noundef nonnull %0)
  br label %.loopexit

19:                                               ; preds = %13
  %20 = and i64 %7, 2
  %.not83 = icmp eq i64 %20, 0
  %21 = and i32 %6, 2
  %.not84 = icmp eq i32 %21, 0
  %or.cond98 = select i1 %.not83, i1 true, i1 %.not84
  br i1 %or.cond98, label %39, label %22

22:                                               ; preds = %19
  tail call void @HAL_DFSDM_FilterRegConvCpltCallback(ptr noundef nonnull %0)
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  %24 = load i32, ptr %23, align 8, !tbaa !19
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %.loopexit

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %0, i64 76
  %28 = load i32, ptr %27, align 4, !tbaa !20
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %.loopexit

30:                                               ; preds = %26
  %31 = load ptr, ptr %0, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 4
  %33 = load volatile i32, ptr %32, align 4, !tbaa !16
  %34 = and i32 %33, -3
  store volatile i32 %34, ptr %32, align 4, !tbaa !16
  %35 = getelementptr inbounds i8, ptr %0, i64 100
  %36 = load i32, ptr %35, align 4, !tbaa !21
  %37 = icmp eq i32 %36, 2
  %38 = select i1 %37, i32 1, i32 3
  store i32 %38, ptr %35, align 4, !tbaa !21
  br label %.loopexit

39:                                               ; preds = %19
  %40 = and i64 %7, 1
  %.not85 = icmp eq i64 %40, 0
  %41 = and i32 %6, 1
  %.not86 = icmp eq i32 %41, 0
  %or.cond99 = select i1 %.not85, i1 true, i1 %.not86
  br i1 %or.cond99, label %69, label %42

42:                                               ; preds = %39
  tail call void @HAL_DFSDM_FilterInjConvCpltCallback(ptr noundef nonnull %0)
  %43 = getelementptr inbounds i8, ptr %0, i64 96
  %44 = load i32, ptr %43, align 8, !tbaa !22
  %45 = add i32 %44, -1
  store i32 %45, ptr %43, align 8, !tbaa !22
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %.loopexit

47:                                               ; preds = %42
  %48 = getelementptr inbounds i8, ptr %0, i64 80
  %49 = load i32, ptr %48, align 8, !tbaa !23
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %60

51:                                               ; preds = %47
  %52 = load ptr, ptr %0, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 4
  %54 = load volatile i32, ptr %53, align 4, !tbaa !16
  %55 = and i32 %54, -2
  store volatile i32 %55, ptr %53, align 4, !tbaa !16
  %56 = getelementptr inbounds i8, ptr %0, i64 100
  %57 = load i32, ptr %56, align 4, !tbaa !21
  %58 = icmp eq i32 %57, 3
  %59 = select i1 %58, i32 1, i32 2
  store i32 %59, ptr %56, align 4, !tbaa !21
  br label %60

60:                                               ; preds = %51, %47
  %61 = getelementptr inbounds i8, ptr %0, i64 88
  %62 = load i32, ptr %61, align 8, !tbaa !24
  %63 = icmp eq i32 %62, 1
  br i1 %63, label %64, label %67

64:                                               ; preds = %60
  %65 = getelementptr inbounds i8, ptr %0, i64 92
  %66 = load i32, ptr %65, align 4, !tbaa !25
  br label %67

67:                                               ; preds = %60, %64
  %68 = phi i32 [ %66, %64 ], [ 1, %60 ]
  store i32 %68, ptr %43, align 8, !tbaa !22
  br label %.loopexit

69:                                               ; preds = %39
  %70 = and i64 %7, 16
  %.not87 = icmp eq i64 %70, 0
  %71 = and i32 %6, 16
  %.not88 = icmp eq i32 %71, 0
  %or.cond100 = select i1 %.not87, i1 true, i1 %.not88
  br i1 %or.cond100, label %96, label %72

72:                                               ; preds = %69
  %73 = getelementptr inbounds i8, ptr %2, i64 40
  %74 = load volatile i32, ptr %73, align 4, !tbaa !26
  %75 = and i32 %74, 255
  %.not96 = icmp ne i32 %75, 0
  %76 = zext i1 %.not96 to i32
  %77 = lshr exact i32 %74, 8
  %spec.select = select i1 %.not96, i32 %74, i32 %77
  %78 = and i32 %spec.select, 1
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %72
  %80 = and i32 %spec.select, 2
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %.lr.ph.1, label %._crit_edge, !llvm.loop !27

.lr.ph.1:                                         ; preds = %.lr.ph
  %82 = and i32 %spec.select, 4
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %.lr.ph.2, label %._crit_edge, !llvm.loop !27

.lr.ph.2:                                         ; preds = %.lr.ph.1
  %84 = and i32 %spec.select, 8
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %.lr.ph.3, label %._crit_edge, !llvm.loop !27

.lr.ph.3:                                         ; preds = %.lr.ph.2
  %86 = and i32 %spec.select, 16
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %.lr.ph.4, label %._crit_edge, !llvm.loop !27

.lr.ph.4:                                         ; preds = %.lr.ph.3
  %88 = and i32 %spec.select, 32
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %.lr.ph.5, label %._crit_edge, !llvm.loop !27

.lr.ph.5:                                         ; preds = %.lr.ph.4
  %90 = and i32 %spec.select, 64
  %91 = icmp eq i32 %90, 0
  %spec.select120 = select i1 %91, i32 7, i32 6
  br label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %.lr.ph.5, %.lr.ph, %.lr.ph.1, %.lr.ph.2, %.lr.ph.3, %.lr.ph.4, %72
  %.075.lcssa = phi i32 [ 0, %72 ], [ 1, %.lr.ph ], [ 2, %.lr.ph.1 ], [ 3, %.lr.ph.2 ], [ 4, %.lr.ph.3 ], [ 5, %.lr.ph.4 ], [ %spec.select120, %.lr.ph.5 ]
  %92 = add nuw nsw i32 %.075.lcssa, 8
  %.pn.in = select i1 %.not96, i32 %.075.lcssa, i32 %92
  %.pn = zext nneg i32 %.pn.in to i64
  %93 = shl nuw nsw i64 1, %.pn
  %94 = trunc i64 %93 to i32
  %95 = getelementptr inbounds i8, ptr %2, i64 44
  store volatile i32 %94, ptr %95, align 4, !tbaa !29
  tail call void @HAL_DFSDM_FilterAwdCallback(ptr noundef nonnull %0, i32 noundef %.075.lcssa, i32 noundef %76)
  br label %.loopexit

96:                                               ; preds = %69
  %97 = icmp ne ptr %2, inttoptr (i64 1073836288 to ptr)
  %98 = and i64 %7, 16711680
  %.not89 = icmp eq i64 %98, 0
  %or.cond101 = or i1 %97, %.not89
  %99 = and i32 %6, 64
  %.not90 = icmp eq i32 %99, 0
  %or.cond102 = select i1 %or.cond101, i1 true, i1 %.not90
  br i1 %or.cond102, label %188, label %100

100:                                              ; preds = %96
  %101 = load volatile i32, ptr inttoptr (i64 1073836296 to ptr), align 8, !tbaa !14
  %102 = and i32 %101, 65536
  %.not93 = icmp eq i32 %102, 0
  br i1 %.not93, label %111, label %103

103:                                              ; preds = %100
  %104 = load ptr, ptr @a_dfsdm1ChannelHandle, align 16, !tbaa !30
  %.not94 = icmp eq ptr %104, null
  br i1 %.not94, label %111, label %105

105:                                              ; preds = %103
  %106 = load ptr, ptr %104, align 8, !tbaa !31
  %107 = load volatile i32, ptr %106, align 4, !tbaa !35
  %108 = and i32 %107, 64
  %.not95 = icmp eq i32 %108, 0
  br i1 %.not95, label %111, label %109

109:                                              ; preds = %105
  %110 = getelementptr inbounds i8, ptr %2, i64 12
  store volatile i32 65536, ptr %110, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %104)
  br label %111

111:                                              ; preds = %105, %109, %103, %100
  %112 = and i32 %101, 131072
  %.not93.1 = icmp eq i32 %112, 0
  br i1 %.not93.1, label %122, label %113

113:                                              ; preds = %111
  %114 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 8), align 8, !tbaa !30
  %.not94.1 = icmp eq ptr %114, null
  br i1 %.not94.1, label %122, label %115

115:                                              ; preds = %113
  %116 = load ptr, ptr %114, align 8, !tbaa !31
  %117 = load volatile i32, ptr %116, align 4, !tbaa !35
  %118 = and i32 %117, 64
  %.not95.1 = icmp eq i32 %118, 0
  br i1 %.not95.1, label %122, label %119

119:                                              ; preds = %115
  %120 = load ptr, ptr %0, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 12
  store volatile i32 131072, ptr %121, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %114)
  br label %122

122:                                              ; preds = %119, %115, %113, %111
  %123 = and i32 %101, 262144
  %.not93.2 = icmp eq i32 %123, 0
  br i1 %.not93.2, label %133, label %124

124:                                              ; preds = %122
  %125 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 16), align 16, !tbaa !30
  %.not94.2 = icmp eq ptr %125, null
  br i1 %.not94.2, label %133, label %126

126:                                              ; preds = %124
  %127 = load ptr, ptr %125, align 8, !tbaa !31
  %128 = load volatile i32, ptr %127, align 4, !tbaa !35
  %129 = and i32 %128, 64
  %.not95.2 = icmp eq i32 %129, 0
  br i1 %.not95.2, label %133, label %130

130:                                              ; preds = %126
  %131 = load ptr, ptr %0, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 12
  store volatile i32 262144, ptr %132, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %125)
  br label %133

133:                                              ; preds = %130, %126, %124, %122
  %134 = and i32 %101, 524288
  %.not93.3 = icmp eq i32 %134, 0
  br i1 %.not93.3, label %144, label %135

135:                                              ; preds = %133
  %136 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 24), align 8, !tbaa !30
  %.not94.3 = icmp eq ptr %136, null
  br i1 %.not94.3, label %144, label %137

137:                                              ; preds = %135
  %138 = load ptr, ptr %136, align 8, !tbaa !31
  %139 = load volatile i32, ptr %138, align 4, !tbaa !35
  %140 = and i32 %139, 64
  %.not95.3 = icmp eq i32 %140, 0
  br i1 %.not95.3, label %144, label %141

141:                                              ; preds = %137
  %142 = load ptr, ptr %0, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 12
  store volatile i32 524288, ptr %143, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %136)
  br label %144

144:                                              ; preds = %141, %137, %135, %133
  %145 = and i32 %101, 1048576
  %.not93.4 = icmp eq i32 %145, 0
  br i1 %.not93.4, label %155, label %146

146:                                              ; preds = %144
  %147 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 32), align 16, !tbaa !30
  %.not94.4 = icmp eq ptr %147, null
  br i1 %.not94.4, label %155, label %148

148:                                              ; preds = %146
  %149 = load ptr, ptr %147, align 8, !tbaa !31
  %150 = load volatile i32, ptr %149, align 4, !tbaa !35
  %151 = and i32 %150, 64
  %.not95.4 = icmp eq i32 %151, 0
  br i1 %.not95.4, label %155, label %152

152:                                              ; preds = %148
  %153 = load ptr, ptr %0, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 12
  store volatile i32 1048576, ptr %154, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %147)
  br label %155

155:                                              ; preds = %152, %148, %146, %144
  %156 = and i32 %101, 2097152
  %.not93.5 = icmp eq i32 %156, 0
  br i1 %.not93.5, label %166, label %157

157:                                              ; preds = %155
  %158 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 40), align 8, !tbaa !30
  %.not94.5 = icmp eq ptr %158, null
  br i1 %.not94.5, label %166, label %159

159:                                              ; preds = %157
  %160 = load ptr, ptr %158, align 8, !tbaa !31
  %161 = load volatile i32, ptr %160, align 4, !tbaa !35
  %162 = and i32 %161, 64
  %.not95.5 = icmp eq i32 %162, 0
  br i1 %.not95.5, label %166, label %163

163:                                              ; preds = %159
  %164 = load ptr, ptr %0, align 8, !tbaa !5
  %165 = getelementptr inbounds i8, ptr %164, i64 12
  store volatile i32 2097152, ptr %165, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %158)
  br label %166

166:                                              ; preds = %163, %159, %157, %155
  %167 = and i32 %101, 4194304
  %.not93.6 = icmp eq i32 %167, 0
  br i1 %.not93.6, label %177, label %168

168:                                              ; preds = %166
  %169 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 48), align 16, !tbaa !30
  %.not94.6 = icmp eq ptr %169, null
  br i1 %.not94.6, label %177, label %170

170:                                              ; preds = %168
  %171 = load ptr, ptr %169, align 8, !tbaa !31
  %172 = load volatile i32, ptr %171, align 4, !tbaa !35
  %173 = and i32 %172, 64
  %.not95.6 = icmp eq i32 %173, 0
  br i1 %.not95.6, label %177, label %174

174:                                              ; preds = %170
  %175 = load ptr, ptr %0, align 8, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %175, i64 12
  store volatile i32 4194304, ptr %176, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %169)
  br label %177

177:                                              ; preds = %174, %170, %168, %166
  %178 = and i32 %101, 8388608
  %.not93.7 = icmp eq i32 %178, 0
  br i1 %.not93.7, label %.loopexit, label %179

179:                                              ; preds = %177
  %180 = load ptr, ptr getelementptr inbounds (i8, ptr @a_dfsdm1ChannelHandle, i64 56), align 8, !tbaa !30
  %.not94.7 = icmp eq ptr %180, null
  br i1 %.not94.7, label %.loopexit, label %181

181:                                              ; preds = %179
  %182 = load ptr, ptr %180, align 8, !tbaa !31
  %183 = load volatile i32, ptr %182, align 4, !tbaa !35
  %184 = and i32 %183, 64
  %.not95.7 = icmp eq i32 %184, 0
  br i1 %.not95.7, label %.loopexit, label %185

185:                                              ; preds = %181
  %186 = load ptr, ptr %0, align 8, !tbaa !5
  %187 = getelementptr inbounds i8, ptr %186, i64 12
  store volatile i32 8388608, ptr %187, align 4, !tbaa !17
  tail call void @HAL_DFSDM_ChannelCkabCallback(ptr noundef nonnull %180)
  br label %.loopexit

188:                                              ; preds = %96
  %.not91 = icmp ult i32 %4, 16777216
  %or.cond103 = or i1 %97, %.not91
  %189 = and i32 %6, 32
  %.not92 = icmp eq i32 %189, 0
  %or.cond104 = select i1 %or.cond103, i1 true, i1 %.not92
  br i1 %or.cond104, label %.loopexit, label %190

190:                                              ; preds = %188
  %191 = load volatile i32, ptr inttoptr (i64 1073836296 to ptr), align 8, !tbaa !14
  %192 = and i32 %191, 16777216
  %193 = icmp eq i32 %192, 0
  br i1 %193, label %.lr.ph112, label %._crit_edge113

.lr.ph112:                                        ; preds = %190
  %194 = and i32 %191, 33554432
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %.lr.ph112.1, label %._crit_edge113, !llvm.loop !36

.lr.ph112.1:                                      ; preds = %.lr.ph112
  %196 = and i32 %191, 67108864
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %.lr.ph112.2, label %._crit_edge113, !llvm.loop !36

.lr.ph112.2:                                      ; preds = %.lr.ph112.1
  %198 = and i32 %191, 134217728
  %199 = icmp eq i32 %198, 0
  br i1 %199, label %.lr.ph112.3, label %._crit_edge113, !llvm.loop !36

.lr.ph112.3:                                      ; preds = %.lr.ph112.2
  %200 = and i32 %191, 268435456
  %201 = icmp eq i32 %200, 0
  br i1 %201, label %.lr.ph112.4, label %._crit_edge113, !llvm.loop !36

.lr.ph112.4:                                      ; preds = %.lr.ph112.3
  %202 = and i32 %191, 536870912
  %203 = icmp eq i32 %202, 0
  br i1 %203, label %.lr.ph112.5, label %._crit_edge113, !llvm.loop !36

.lr.ph112.5:                                      ; preds = %.lr.ph112.4
  %204 = and i32 %191, 1073741824
  %205 = icmp eq i32 %204, 0
  %spec.select121 = select i1 %205, i32 7, i32 6
  br label %._crit_edge113, !llvm.loop !36

._crit_edge113:                                   ; preds = %.lr.ph112.5, %.lr.ph112, %.lr.ph112.1, %.lr.ph112.2, %.lr.ph112.3, %.lr.ph112.4, %190
  %.0.lcssa = phi i32 [ 0, %190 ], [ 1, %.lr.ph112 ], [ 2, %.lr.ph112.1 ], [ 3, %.lr.ph112.2 ], [ 4, %.lr.ph112.3 ], [ 5, %.lr.ph112.4 ], [ %spec.select121, %.lr.ph112.5 ]
  %206 = add nuw nsw i32 %.0.lcssa, 24
  %207 = zext nneg i32 %206 to i64
  %208 = shl nuw nsw i64 1, %207
  %209 = trunc i64 %208 to i32
  %210 = getelementptr inbounds i8, ptr %2, i64 12
  store volatile i32 %209, ptr %210, align 4, !tbaa !17
  %211 = zext nneg i32 %.0.lcssa to i64
  %212 = getelementptr inbounds [8 x ptr], ptr @a_dfsdm1ChannelHandle, i64 0, i64 %211
  %213 = load ptr, ptr %212, align 8, !tbaa !30
  tail call void @HAL_DFSDM_ChannelScdCallback(ptr noundef %213)
  br label %.loopexit

.loopexit:                                        ; preds = %177, %179, %181, %185, %16, %67, %42, %._crit_edge113, %188, %._crit_edge, %22, %26, %30, %10
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterRegConvCpltCallback(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterInjConvCpltCallback(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @HAL_DFSDM_FilterAwdCallback(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #0 = { 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" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !7, i64 56, !7, i64 64, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !13, i64 12, !11, i64 32}
!11 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!14 = !{!15, !12, i64 8}
!15 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56}
!16 = !{!15, !12, i64 4}
!17 = !{!15, !12, i64 12}
!18 = !{!6, !12, i64 104}
!19 = !{!6, !12, i64 72}
!20 = !{!6, !12, i64 76}
!21 = !{!6, !12, i64 100}
!22 = !{!6, !12, i64 96}
!23 = !{!6, !12, i64 80}
!24 = !{!6, !12, i64 88}
!25 = !{!6, !12, i64 92}
!26 = !{!15, !12, i64 40}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!15, !12, i64 44}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !7, i64 0}
!32 = !{!"", !7, i64 0, !33, i64 8, !12, i64 56}
!33 = !{!"", !11, i64 0, !11, i64 12, !34, i64 24, !34, i64 32, !12, i64 40, !12, i64 44}
!34 = !{!"", !12, i64 0, !12, i64 4}
!35 = !{!13, !12, i64 0}
!36 = distinct !{!36, !28}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass