; LLVM IR from ctlst-tech/catpilot :: bsp/mcu/periph/usart/stm32 (usart)

; 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.file = type { i32, ptr, ptr }
%struct.node = type { [64 x i8], %struct.file_operations, ptr, ptr, ptr }
%struct.file_operations = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.usart_t = type { [32 x i8], [32 x i8], %struct.file_operations, %struct.__UART_HandleTypeDef, %struct.dma_t, %struct.dma_t, i32, ptr, ptr, i32, i32, i32, i32, i32, %struct.usart_private_t }
%struct.__UART_HandleTypeDef = type { ptr, %struct.UART_InitTypeDef, %struct.UART_AdvFeatureInitTypeDef, ptr, i16, i16, ptr, i16, i16, i16, i32, i16, i16, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32 }
%struct.UART_InitTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.UART_AdvFeatureInitTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.dma_t = type { %struct.__DMA_HandleTypeDef, i32, %struct.dma_private_t }
%struct.__DMA_HandleTypeDef = type { ptr, %struct.DMA_InitTypeDef, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, ptr, i32 }
%struct.DMA_InitTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.dma_private_t = type { i32 }
%struct.usart_private_t = type { i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i8, i8, i8, i8, i8 }

@FreeRTOS_errno = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @usart_open(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca [32 x i8], align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.file, ptr %9, i32 0, i32 1
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = getelementptr inbounds %struct.node, ptr %11, i32 0, i32 1
  %13 = getelementptr inbounds %struct.file_operations, ptr %12, i32 0, i32 10
  %14 = load ptr, ptr %13, align 8, !tbaa !12
  store ptr %14, ptr %6, align 8, !tbaa !5
  store i32 0, ptr @FreeRTOS_errno, align 4, !tbaa !15
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.usart_t, ptr %15, i32 0, i32 14
  %17 = getelementptr inbounds %struct.usart_private_t, ptr %16, i32 0, i32 16
  %18 = load i8, ptr %17, align 2, !tbaa !16, !range !28, !noundef !29
  %19 = trunc i8 %18 to i1
  br i1 %19, label %20, label %27

20:                                               ; preds = %2
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.usart_t, ptr %21, i32 0, i32 14
  %23 = getelementptr inbounds %struct.usart_private_t, ptr %22, i32 0, i32 18
  %24 = load i8, ptr %23, align 8, !tbaa !30, !range !28, !noundef !29
  %25 = trunc i8 %24 to i1
  br i1 %25, label %27, label %26

26:                                               ; preds = %20
  store i32 13, ptr @FreeRTOS_errno, align 4, !tbaa !15
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %84

27:                                               ; preds = %20, %2
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.usart_t, ptr %28, i32 0, i32 14
  %30 = getelementptr inbounds %struct.usart_private_t, ptr %29, i32 0, i32 15
  %31 = load i8, ptr %30, align 1, !tbaa !31, !range !28, !noundef !29
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %34

33:                                               ; preds = %27
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %84

34:                                               ; preds = %27
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.usart_t, ptr %35, i32 0, i32 9
  %37 = load i32, ptr %36, align 8, !tbaa !32
  %38 = icmp sle i32 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %34
  store i32 22, ptr @FreeRTOS_errno, align 4, !tbaa !15
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %84

40:                                               ; preds = %34
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.usart_t, ptr %41, i32 0, i32 14
  %43 = getelementptr inbounds %struct.usart_private_t, ptr %42, i32 0, i32 10
  %44 = load ptr, ptr %43, align 8, !tbaa !33
  %45 = icmp eq ptr %44, null
  br i1 %45, label %52, label %46

46:                                               ; preds = %40
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.usart_t, ptr %47, i32 0, i32 14
  %49 = getelementptr inbounds %struct.usart_private_t, ptr %48, i32 0, i32 9
  %50 = load ptr, ptr %49, align 8, !tbaa !34
  %51 = icmp eq ptr %50, null
  br i1 %51, label %52, label %53

52:                                               ; preds = %46, %40
  store i32 12, ptr @FreeRTOS_errno, align 4, !tbaa !15
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %84

53:                                               ; preds = %46
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.usart_t, ptr %54, i32 0, i32 14
  %56 = getelementptr inbounds %struct.usart_private_t, ptr %55, i32 0, i32 15
  store i8 1, ptr %56, align 1, !tbaa !31
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.usart_t, ptr %57, i32 0, i32 14
  %59 = getelementptr inbounds %struct.usart_private_t, ptr %58, i32 0, i32 16
  store i8 1, ptr %59, align 2, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #3
  %60 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.usart_t, ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds [32 x i8], ptr %62, i64 0, i64 0
  %64 = call i32 (ptr, i64, ptr, ...) @snprintf_(ptr noundef %60, i64 noundef 32, ptr noundef @.str.1, ptr noundef %63)
  %65 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.usart_t, ptr %67, i32 0, i32 12
  %69 = load i32, ptr %68, align 4, !tbaa !35
  %70 = sext i32 %69 to i64
  %71 = call i64 @xTaskCreate(ptr noundef @usart_read_task, ptr noundef %65, i16 noundef zeroext 512, ptr noundef %66, i64 noundef %70, ptr noundef null)
  %72 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.usart_t, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds [32 x i8], ptr %74, i64 0, i64 0
  %76 = call i32 (ptr, i64, ptr, ...) @snprintf_(ptr noundef %72, i64 noundef 32, ptr noundef @.str.2, ptr noundef %75)
  %77 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.usart_t, ptr %79, i32 0, i32 12
  %81 = load i32, ptr %80, align 4, !tbaa !35
  %82 = sext i32 %81 to i64
  %83 = call i64 @xTaskCreate(ptr noundef @usart_write_task, ptr noundef %77, i16 noundef zeroext 512, ptr noundef %78, i64 noundef %82, ptr noundef null)
  store i32 0, ptr @FreeRTOS_errno, align 4, !tbaa !15
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #3
  br label %84

84:                                               ; preds = %53, %52, %39, %33, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %85 = load i32, ptr %3, align 4
  ret i32 %85
}

; 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 @usart_read_task(ptr noundef) #1

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

declare i32 @snprintf_(ptr noundef, i64 noundef, ptr noundef, ...) #2

declare i64 @xTaskCreate(ptr noundef, ptr noundef, i16 noundef zeroext, ptr noundef, i64 noundef, ptr noundef) #2

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"file", !11, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 144}
!13 = !{!"node", !7, i64 0, !14, i64 64, !6, i64 152, !6, i64 160, !6, i64 168}
!14 = !{!"file_operations", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !27, i64 862}
!17 = !{!"", !7, i64 0, !7, i64 32, !14, i64 64, !18, i64 152, !22, i64 336, !22, i64 528, !11, i64 720, !6, i64 728, !6, i64 736, !11, i64 744, !11, i64 748, !11, i64 752, !11, i64 756, !11, i64 760, !26, i64 768}
!18 = !{!"__UART_HandleTypeDef", !6, i64 0, !19, i64 8, !20, i64 44, !6, i64 88, !21, i64 96, !21, i64 98, !6, i64 104, !21, i64 112, !21, i64 114, !21, i64 116, !11, i64 120, !21, i64 124, !21, i64 126, !11, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180}
!19 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!20 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36}
!21 = !{!"short", !7, i64 0}
!22 = !{!"", !23, i64 0, !11, i64 184, !25, i64 188}
!23 = !{!"__DMA_HandleTypeDef", !6, i64 0, !24, i64 8, !11, i64 56, !11, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !11, i64 120, !11, i64 124, !11, i64 128, !6, i64 136, !6, i64 144, !11, i64 152, !6, i64 160, !6, i64 168, !11, i64 176}
!24 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44}
!25 = !{!"", !11, i64 0}
!26 = !{!"", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !27, i64 92, !27, i64 93, !27, i64 94, !27, i64 95, !27, i64 96}
!27 = !{!"_Bool", !7, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!17, !27, i64 864}
!31 = !{!17, !27, i64 861}
!32 = !{!17, !11, i64 744}
!33 = !{!17, !6, i64 832}
!34 = !{!17, !6, i64 824}
!35 = !{!17, !11, i64 756}


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

@FreeRTOS_errno = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @usart_open(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1) local_unnamed_addr #1 {
  %3 = alloca [32 x i8], align 16
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 144
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  store i32 0, ptr @FreeRTOS_errno, align 4, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %7, i64 862
  %9 = load i8, ptr %8, align 2, !tbaa !15, !range !27, !noundef !28
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %16

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %7, i64 864
  %13 = load i8, ptr %12, align 8, !tbaa !29, !range !27, !noundef !28
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  store i32 13, ptr @FreeRTOS_errno, align 4, !tbaa !14
  br label %44

16:                                               ; preds = %11, %2
  %17 = getelementptr inbounds i8, ptr %7, i64 861
  %18 = load i8, ptr %17, align 1, !tbaa !30, !range !27, !noundef !28
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %44, label %20

20:                                               ; preds = %16
  %21 = getelementptr inbounds i8, ptr %7, i64 744
  %22 = load i32, ptr %21, align 8, !tbaa !31
  %23 = icmp slt i32 %22, 1
  br i1 %23, label %24, label %25

24:                                               ; preds = %20
  store i32 22, ptr @FreeRTOS_errno, align 4, !tbaa !14
  br label %44

25:                                               ; preds = %20
  %26 = getelementptr inbounds i8, ptr %7, i64 832
  %27 = load ptr, ptr %26, align 8, !tbaa !32
  %28 = icmp eq ptr %27, null
  br i1 %28, label %33, label %29

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %7, i64 824
  %31 = load ptr, ptr %30, align 8, !tbaa !33
  %32 = icmp eq ptr %31, null
  br i1 %32, label %33, label %34

33:                                               ; preds = %29, %25
  store i32 12, ptr @FreeRTOS_errno, align 4, !tbaa !14
  br label %44

34:                                               ; preds = %29
  store i8 1, ptr %17, align 1, !tbaa !30
  store i8 1, ptr %8, align 2, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
  %35 = call i32 (ptr, i64, ptr, ...) @snprintf_(ptr noundef nonnull %3, i64 noundef 32, ptr noundef nonnull @.str.1, ptr noundef nonnull %7) #3
  %36 = getelementptr inbounds i8, ptr %7, i64 756
  %37 = load i32, ptr %36, align 4, !tbaa !34
  %38 = sext i32 %37 to i64
  %39 = call i64 @xTaskCreate(ptr noundef nonnull @usart_read_task, ptr noundef nonnull %3, i16 noundef zeroext 512, ptr noundef nonnull %7, i64 noundef %38, ptr noundef null) #3
  %40 = call i32 (ptr, i64, ptr, ...) @snprintf_(ptr noundef nonnull %3, i64 noundef 32, ptr noundef nonnull @.str.2, ptr noundef nonnull %7) #3
  %41 = load i32, ptr %36, align 4, !tbaa !34
  %42 = sext i32 %41 to i64
  %43 = call i64 @xTaskCreate(ptr noundef nonnull @usart_write_task, ptr noundef nonnull %3, i16 noundef zeroext 512, ptr noundef nonnull %7, i64 noundef %42, ptr noundef null) #3
  store i32 0, ptr @FreeRTOS_errno, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  br label %44

44:                                               ; preds = %16, %34, %33, %24, %15
  %.0 = phi i32 [ -1, %24 ], [ -1, %33 ], [ 0, %34 ], [ -1, %15 ], [ 0, %16 ]
  ret i32 %.0
}

; Function Attrs: mustprogress 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 @usart_read_task(ptr noundef) #1

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

declare i32 @snprintf_(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #2

declare i64 @xTaskCreate(ptr noundef, ptr noundef, i16 noundef zeroext, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"file", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 144}
!12 = !{!"node", !8, i64 0, !13, i64 64, !10, i64 152, !10, i64 160, !10, i64 168}
!13 = !{!"file_operations", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !26, i64 862}
!16 = !{!"", !8, i64 0, !8, i64 32, !13, i64 64, !17, i64 152, !21, i64 336, !21, i64 528, !7, i64 720, !10, i64 728, !10, i64 736, !7, i64 744, !7, i64 748, !7, i64 752, !7, i64 756, !7, i64 760, !25, i64 768}
!17 = !{!"__UART_HandleTypeDef", !10, i64 0, !18, i64 8, !19, i64 44, !10, i64 88, !20, i64 96, !20, i64 98, !10, i64 104, !20, i64 112, !20, i64 114, !20, i64 116, !7, i64 120, !20, i64 124, !20, i64 126, !7, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180}
!18 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!19 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!20 = !{!"short", !8, i64 0}
!21 = !{!"", !22, i64 0, !7, i64 184, !24, i64 188}
!22 = !{!"__DMA_HandleTypeDef", !10, i64 0, !23, i64 8, !7, i64 56, !7, i64 60, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !7, i64 120, !7, i64 124, !7, i64 128, !10, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176}
!23 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44}
!24 = !{!"", !7, i64 0}
!25 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !7, i64 88, !26, i64 92, !26, i64 93, !26, i64 94, !26, i64 95, !26, i64 96}
!26 = !{!"_Bool", !8, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!16, !26, i64 864}
!30 = !{!16, !26, i64 861}
!31 = !{!16, !7, i64 744}
!32 = !{!16, !10, i64 832}
!33 = !{!16, !10, i64 824}
!34 = !{!16, !7, i64 756}


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