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

; 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.FDCAN_RxHeaderTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.can_t = type { [32 x i8], [32 x i8], %struct.FDCAN_HandleTypeDef, ptr, ptr, i32, i32, i32, i32, i32, i32, %struct.can_private_t }
%struct.FDCAN_HandleTypeDef = type { ptr, ptr, %struct.FDCAN_InitTypeDef, %struct.FDCAN_MsgRamAddressTypeDef, i32, i32, i32, i32 }
%struct.FDCAN_InitTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.FDCAN_MsgRamAddressTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.can_private_t = type { i32, i32, ptr, ptr, ptr, ptr, i32, i8, i32, [32 x ptr], ptr, ptr }
%struct.can_header_t = type { i32, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = 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

declare i64 @xQueueSemaphoreTake(ptr noundef, i32 noundef) #1

; 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 @can_print_info(ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @printf_(ptr noundef, ...) #1

declare i64 @xQueueGenericSend(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @can_receive(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.FDCAN_RxHeaderTypeDef, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = icmp eq ptr %11, null
  br i1 %12, label %19, label %13

13:                                               ; preds = %3
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %19, label %16

16:                                               ; preds = %13
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %16, %13, %3
  store i32 22, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %121

20:                                               ; preds = %16
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.can_t, ptr %21, i32 0, i32 11
  %23 = getelementptr inbounds %struct.can_private_t, ptr %22, i32 0, i32 5
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.can_t, ptr %25, i32 0, i32 6
  %27 = load i32, ptr %26, align 4, !tbaa !18
  %28 = mul i32 %27, 1000
  %29 = udiv i32 %28, 1000
  %30 = call i64 @xQueueSemaphoreTake(ptr noundef %24, i32 noundef %29)
  %31 = icmp ne i64 %30, 0
  br i1 %31, label %33, label %32

32:                                               ; preds = %20
  store i32 116, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %121

33:                                               ; preds = %20
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.can_t, ptr %34, i32 0, i32 11
  %36 = getelementptr inbounds %struct.can_private_t, ptr %35, i32 0, i32 6
  store i32 2, ptr %36, align 8, !tbaa !19
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.can_t, ptr %37, i32 0, i32 11
  %39 = getelementptr inbounds %struct.can_private_t, ptr %38, i32 0, i32 3
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.can_t, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %42, align 4, !tbaa !18
  %44 = mul i32 %43, 1000
  %45 = udiv i32 %44, 1000
  %46 = call i64 @xQueueSemaphoreTake(ptr noundef %40, i32 noundef %45)
  %47 = icmp ne i64 %46, 0
  br i1 %47, label %63, label %48

48:                                               ; preds = %33
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.can_t, ptr %49, i32 0, i32 10
  %51 = load i32, ptr %50, align 4, !tbaa !21
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %53, label %62

53:                                               ; preds = %48
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.can_t, ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds [32 x i8], ptr %55, i64 0, i64 0
  %57 = call i32 (ptr, ...) @printf_(ptr noundef @.str.1, ptr noundef %56)
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.can_t, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %59, align 4, !tbaa !18
  %61 = call i32 (ptr, ...) @printf_(ptr noundef @.str.3, i32 noundef %60)
  br label %62

62:                                               ; preds = %53, %48
  store i32 116, ptr %8, align 4, !tbaa !9
  br label %111

63:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #3
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.can_t, ptr %64, i32 0, i32 2
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = call i32 @HAL_FDCAN_GetRxMessage(ptr noundef %65, i32 noundef 64, ptr noundef %10, ptr noundef %66)
  store i32 %67, ptr %8, align 4, !tbaa !9
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %94

70:                                               ; preds = %63
  %71 = getelementptr inbounds %struct.FDCAN_RxHeaderTypeDef, ptr %10, i32 0, i32 0
  %72 = load i32, ptr %71, align 4, !tbaa !22
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.can_header_t, ptr %73, i32 0, i32 0
  store i32 %72, ptr %74, align 4, !tbaa !23
  %75 = getelementptr inbounds %struct.FDCAN_RxHeaderTypeDef, ptr %10, i32 0, i32 2
  %76 = load i32, ptr %75, align 4, !tbaa !25
  %77 = call i32 @can_frame_type_from_hal(i32 noundef %76)
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.can_header_t, ptr %78, i32 0, i32 1
  store i32 %77, ptr %79, align 4, !tbaa !26
  %80 = getelementptr inbounds %struct.FDCAN_RxHeaderTypeDef, ptr %10, i32 0, i32 3
  %81 = load i32, ptr %80, align 4, !tbaa !27
  %82 = call i32 @can_length_from_hal(i32 noundef %81)
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.can_header_t, ptr %83, i32 0, i32 2
  store i32 %82, ptr %84, align 4, !tbaa !28
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.can_t, ptr %85, i32 0, i32 10
  %87 = load i32, ptr %86, align 4, !tbaa !21
  %88 = icmp eq i32 %87, 2
  br i1 %88, label %89, label %93

89:                                               ; preds = %70
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  call void @can_print_info(ptr noundef %90, ptr noundef %91, ptr noundef %92)
  br label %93

93:                                               ; preds = %89, %70
  br label %110

94:                                               ; preds = %63
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.can_t, ptr %95, i32 0, i32 10
  %97 = load i32, ptr %96, align 4, !tbaa !21
  %98 = icmp sgt i32 %97, 0
  br i1 %98, label %99, label %109

99:                                               ; preds = %94
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.can_t, ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds [32 x i8], ptr %101, i64 0, i64 0
  %103 = call i32 (ptr, ...) @printf_(ptr noundef @.str.1, ptr noundef %102)
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.can_t, ptr %104, i32 0, i32 2
  %106 = getelementptr inbounds %struct.FDCAN_HandleTypeDef, ptr %105, i32 0, i32 7
  %107 = load volatile i32, ptr %106, align 8, !tbaa !29
  %108 = call i32 (ptr, ...) @printf_(ptr noundef @.str.4, i32 noundef %107)
  br label %109

109:                                              ; preds = %99, %94
  br label %110

110:                                              ; preds = %109, %93
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #3
  br label %111

111:                                              ; preds = %110, %62
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.can_t, ptr %112, i32 0, i32 11
  %114 = getelementptr inbounds %struct.can_private_t, ptr %113, i32 0, i32 6
  store i32 0, ptr %114, align 8, !tbaa !19
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.can_t, ptr %115, i32 0, i32 11
  %117 = getelementptr inbounds %struct.can_private_t, ptr %116, i32 0, i32 5
  %118 = load ptr, ptr %117, align 8, !tbaa !11
  %119 = call i64 @xQueueGenericSend(ptr noundef %118, ptr noundef null, i32 noundef 0, i64 noundef 0)
  %120 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %120, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %121

121:                                              ; preds = %111, %32, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %122 = load i32, ptr %4, align 4
  ret i32 %122
}

declare i32 @HAL_FDCAN_GetRxMessage(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @can_frame_type_from_hal(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @can_length_from_hal(i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 320}
!12 = !{!"", !7, i64 0, !7, i64 32, !13, i64 64, !6, i64 248, !6, i64 256, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !16, i64 288}
!13 = !{!"", !6, i64 0, !6, i64 8, !14, i64 16, !15, i64 124, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176}
!14 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104}
!15 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!16 = !{!"", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !17, i64 44, !10, i64 48, !7, i64 56, !6, i64 312, !6, i64 320}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{!12, !10, i64 268}
!19 = !{!12, !10, i64 328}
!20 = !{!12, !6, i64 304}
!21 = !{!12, !10, i64 284}
!22 = !{!15, !10, i64 0}
!23 = !{!24, !10, i64 0}
!24 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8}
!25 = !{!15, !10, i64 8}
!26 = !{!24, !10, i64 4}
!27 = !{!15, !10, i64 12}
!28 = !{!24, !10, i64 8}
!29 = !{!12, !10, i64 240}


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

%struct.FDCAN_RxHeaderTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = 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

declare i64 @xQueueSemaphoreTake(ptr noundef, i32 noundef) local_unnamed_addr #1

; 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 @can_print_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @printf_(ptr noundef, ...) local_unnamed_addr #1

declare i64 @xQueueGenericSend(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @can_receive(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca %struct.FDCAN_RxHeaderTypeDef, align 4
  %5 = icmp eq ptr %0, null
  %6 = icmp eq ptr %2, null
  %or.cond = or i1 %5, %6
  %7 = icmp eq ptr %1, null
  %or.cond3 = or i1 %7, %or.cond
  br i1 %or.cond3, label %63, label %8

8:                                                ; preds = %3
  %9 = getelementptr inbounds i8, ptr %0, i64 320
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 268
  %12 = load i32, ptr %11, align 4, !tbaa !16
  %13 = mul i32 %12, 1000
  %14 = udiv i32 %13, 1000
  %15 = tail call i64 @xQueueSemaphoreTake(ptr noundef %10, i32 noundef %14) #3
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %63, label %16

16:                                               ; preds = %8
  %17 = getelementptr inbounds i8, ptr %0, i64 328
  store i32 2, ptr %17, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %0, i64 304
  %19 = load ptr, ptr %18, align 8, !tbaa !18
  %20 = load i32, ptr %11, align 4, !tbaa !16
  %21 = mul i32 %20, 1000
  %22 = udiv i32 %21, 1000
  %23 = tail call i64 @xQueueSemaphoreTake(ptr noundef %19, i32 noundef %22) #3
  %.not34 = icmp eq i64 %23, 0
  br i1 %.not34, label %24, label %32

24:                                               ; preds = %16
  %25 = getelementptr inbounds i8, ptr %0, i64 284
  %26 = load i32, ptr %25, align 4, !tbaa !19
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %28, label %60

28:                                               ; preds = %24
  %29 = tail call i32 (ptr, ...) @printf_(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #3
  %30 = load i32, ptr %11, align 4, !tbaa !16
  %31 = tail call i32 (ptr, ...) @printf_(ptr noundef nonnull @.str.3, i32 noundef %30) #3
  br label %60

32:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #3
  %33 = getelementptr inbounds i8, ptr %0, i64 64
  %34 = call i32 @HAL_FDCAN_GetRxMessage(ptr noundef nonnull %33, i32 noundef 64, ptr noundef nonnull %4, ptr noundef nonnull %2) #3
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %50

36:                                               ; preds = %32
  %37 = load i32, ptr %4, align 4, !tbaa !20
  store i32 %37, ptr %1, align 4, !tbaa !21
  %38 = getelementptr inbounds i8, ptr %4, i64 8
  %39 = load i32, ptr %38, align 4, !tbaa !23
  %40 = call i32 @can_frame_type_from_hal(i32 noundef %39)
  %41 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 %40, ptr %41, align 4, !tbaa !24
  %42 = getelementptr inbounds i8, ptr %4, i64 12
  %43 = load i32, ptr %42, align 4, !tbaa !25
  %44 = call i32 @can_length_from_hal(i32 noundef %43)
  %45 = getelementptr inbounds i8, ptr %1, i64 8
  store i32 %44, ptr %45, align 4, !tbaa !26
  %46 = getelementptr inbounds i8, ptr %0, i64 284
  %47 = load i32, ptr %46, align 4, !tbaa !19
  %48 = icmp eq i32 %47, 2
  br i1 %48, label %49, label %59

49:                                               ; preds = %36
  call void @can_print_info(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2)
  br label %59

50:                                               ; preds = %32
  %51 = getelementptr inbounds i8, ptr %0, i64 284
  %52 = load i32, ptr %51, align 4, !tbaa !19
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %54, label %59

54:                                               ; preds = %50
  %55 = call i32 (ptr, ...) @printf_(ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #3
  %56 = getelementptr inbounds i8, ptr %0, i64 240
  %57 = load volatile i32, ptr %56, align 8, !tbaa !27
  %58 = call i32 (ptr, ...) @printf_(ptr noundef nonnull @.str.4, i32 noundef %57) #3
  br label %59

59:                                               ; preds = %50, %54, %36, %49
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
  br label %60

60:                                               ; preds = %24, %28, %59
  %.0 = phi i32 [ %34, %59 ], [ 116, %28 ], [ 116, %24 ]
  store i32 0, ptr %17, align 8, !tbaa !17
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = call i64 @xQueueGenericSend(ptr noundef %61, ptr noundef null, i32 noundef 0, i64 noundef 0) #3
  br label %63

63:                                               ; preds = %8, %3, %60
  %.030 = phi i32 [ %.0, %60 ], [ 22, %3 ], [ 116, %8 ]
  ret i32 %.030
}

declare i32 @HAL_FDCAN_GetRxMessage(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @can_frame_type_from_hal(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @can_length_from_hal(i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 320}
!6 = !{!"", !7, i64 0, !7, i64 32, !9, i64 64, !10, i64 248, !10, i64 256, !12, i64 264, !12, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !14, i64 288}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"", !10, i64 0, !10, i64 8, !11, i64 16, !13, i64 124, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!"", !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, !12, i64 60, !12, i64 64, !12, i64 68, !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}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !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}
!14 = !{!"", !12, i64 0, !12, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !12, i64 40, !15, i64 44, !12, i64 48, !7, i64 56, !10, i64 312, !10, i64 320}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!6, !12, i64 268}
!17 = !{!6, !12, i64 328}
!18 = !{!6, !10, i64 304}
!19 = !{!6, !12, i64 284}
!20 = !{!13, !12, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8}
!23 = !{!13, !12, i64 8}
!24 = !{!22, !12, i64 4}
!25 = !{!13, !12, i64 12}
!26 = !{!22, !12, i64 8}
!27 = !{!6, !12, i64 240}


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