; LLVM IR from FrancesoM/Bisc8FX :: sdk_projects/bisc8_platform/ps7_cortexa9_0/standalone_domain/bsp/ps7_cortexa9_0_ (CfgInitialize)

; 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.XGpioPs = type { %struct.XGpioPs_Config, i32, ptr, ptr, i32, i32, i8, i32 }
%struct.XGpioPs_Config = type { i16, i64 }

@Xil_AssertStatus = external global i32, align 4
@.str = external hidden unnamed_addr constant [164 x i8], align 1

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

13:                                               ; preds = %3
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %15

14:                                               ; preds = %3
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 82)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %155

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

18:                                               ; preds = %15
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %20

19:                                               ; preds = %15
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 83)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %155

20:                                               ; preds = %18
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %20
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %25

24:                                               ; preds = %20
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 84)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %155

25:                                               ; preds = %23
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.XGpioPs, ptr %26, i32 0, i32 1
  store i32 0, ptr %27, align 8, !tbaa !11
  %28 = load i32, ptr %7, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.XGpioPs, ptr %30, i32 0, i32 0
  %32 = getelementptr inbounds %struct.XGpioPs_Config, ptr %31, i32 0, i32 1
  store i64 %29, ptr %32, align 8, !tbaa !16
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.XGpioPs_Config, ptr %33, i32 0, i32 0
  %35 = load i16, ptr %34, align 8, !tbaa !17
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.XGpioPs, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %struct.XGpioPs_Config, ptr %37, i32 0, i32 0
  store i16 %35, ptr %38, align 8, !tbaa !18
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.XGpioPs, ptr %39, i32 0, i32 2
  store ptr @StubHandler, ptr %40, align 8, !tbaa !19
  %41 = call i32 @XGetPlatform_Info()
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.XGpioPs, ptr %42, i32 0, i32 4
  store i32 %41, ptr %43, align 8, !tbaa !20
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.XGpioPs, ptr %44, i32 0, i32 4
  %46 = load i32, ptr %45, align 8, !tbaa !20
  %47 = icmp eq i32 %46, 1
  br i1 %47, label %48, label %53

48:                                               ; preds = %25
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.XGpioPs, ptr %49, i32 0, i32 5
  store i32 174, ptr %50, align 4, !tbaa !21
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.XGpioPs, ptr %51, i32 0, i32 6
  store i8 6, ptr %52, align 8, !tbaa !22
  br label %80

53:                                               ; preds = %25
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.XGpioPs, ptr %54, i32 0, i32 4
  %56 = load i32, ptr %55, align 8, !tbaa !20
  %57 = icmp eq i32 %56, 6
  br i1 %57, label %58, label %74

58:                                               ; preds = %53
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.XGpioPs, ptr %59, i32 0, i32 7
  %61 = load i32, ptr %60, align 4, !tbaa !23
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %63, label %68

63:                                               ; preds = %58
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.XGpioPs, ptr %64, i32 0, i32 5
  store i32 58, ptr %65, align 4, !tbaa !21
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.XGpioPs, ptr %66, i32 0, i32 6
  store i8 4, ptr %67, align 8, !tbaa !22
  br label %73

68:                                               ; preds = %58
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.XGpioPs, ptr %69, i32 0, i32 5
  store i32 116, ptr %70, align 4, !tbaa !21
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.XGpioPs, ptr %71, i32 0, i32 6
  store i8 5, ptr %72, align 8, !tbaa !22
  br label %73

73:                                               ; preds = %68, %63
  br label %79

74:                                               ; preds = %53
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.XGpioPs, ptr %75, i32 0, i32 5
  store i32 118, ptr %76, align 4, !tbaa !21
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.XGpioPs, ptr %77, i32 0, i32 6
  store i8 4, ptr %78, align 8, !tbaa !22
  br label %79

79:                                               ; preds = %74, %73
  br label %80

80:                                               ; preds = %79, %48
  store i8 0, ptr %9, align 1, !tbaa !24
  br label %81

81:                                               ; preds = %148, %80
  %82 = load i8, ptr %9, align 1, !tbaa !24
  %83 = zext i8 %82 to i32
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.XGpioPs, ptr %84, i32 0, i32 6
  %86 = load i8, ptr %85, align 8, !tbaa !22
  %87 = zext i8 %86 to i32
  %88 = icmp slt i32 %83, %87
  br i1 %88, label %89, label %151

89:                                               ; preds = %81
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.XGpioPs, ptr %90, i32 0, i32 4
  %92 = load i32, ptr %91, align 8, !tbaa !20
  %93 = icmp eq i32 %92, 6
  br i1 %93, label %94, label %136

94:                                               ; preds = %89
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.XGpioPs, ptr %95, i32 0, i32 7
  %97 = load i32, ptr %96, align 4, !tbaa !23
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %119

99:                                               ; preds = %94
  %100 = load i8, ptr %9, align 1, !tbaa !24
  %101 = zext i8 %100 to i32
  %102 = icmp eq i32 %101, 1
  br i1 %102, label %107, label %103

103:                                              ; preds = %99
  %104 = load i8, ptr %9, align 1, !tbaa !24
  %105 = zext i8 %104 to i32
  %106 = icmp eq i32 %105, 2
  br i1 %106, label %107, label %108

107:                                              ; preds = %103, %99
  br label %148

108:                                              ; preds = %103
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.XGpioPs, ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds %struct.XGpioPs_Config, ptr %110, i32 0, i32 1
  %112 = load i64, ptr %111, align 8, !tbaa !16
  %113 = load i8, ptr %9, align 1, !tbaa !24
  %114 = zext i8 %113 to i32
  %115 = mul i32 %114, 64
  %116 = add i32 %115, 532
  %117 = zext i32 %116 to i64
  %118 = add i64 %112, %117
  call void @Xil_Out32(i64 noundef %118, i32 noundef -1)
  br label %135

119:                                              ; preds = %94
  %120 = load i8, ptr %9, align 1, !tbaa !24
  %121 = zext i8 %120 to i32
  %122 = icmp eq i32 %121, 2
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  br label %148

124:                                              ; preds = %119
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.XGpioPs, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds %struct.XGpioPs_Config, ptr %126, i32 0, i32 1
  %128 = load i64, ptr %127, align 8, !tbaa !16
  %129 = load i8, ptr %9, align 1, !tbaa !24
  %130 = zext i8 %129 to i32
  %131 = mul i32 %130, 64
  %132 = add i32 %131, 532
  %133 = zext i32 %132 to i64
  %134 = add i64 %128, %133
  call void @Xil_Out32(i64 noundef %134, i32 noundef -1)
  br label %135

135:                                              ; preds = %124, %108
  br label %147

136:                                              ; preds = %89
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.XGpioPs, ptr %137, i32 0, i32 0
  %139 = getelementptr inbounds %struct.XGpioPs_Config, ptr %138, i32 0, i32 1
  %140 = load i64, ptr %139, align 8, !tbaa !16
  %141 = load i8, ptr %9, align 1, !tbaa !24
  %142 = zext i8 %141 to i32
  %143 = mul i32 %142, 64
  %144 = add i32 %143, 532
  %145 = zext i32 %144 to i64
  %146 = add i64 %140, %145
  call void @Xil_Out32(i64 noundef %146, i32 noundef -1)
  br label %147

147:                                              ; preds = %136, %135
  br label %148

148:                                              ; preds = %147, %123, %107
  %149 = load i8, ptr %9, align 1, !tbaa !24
  %150 = add i8 %149, 1
  store i8 %150, ptr %9, align 1, !tbaa !24
  br label %81, !llvm.loop !25

151:                                              ; preds = %81
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.XGpioPs, ptr %152, i32 0, i32 1
  store i32 286331153, ptr %153, align 8, !tbaa !11
  %154 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %154, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %155

155:                                              ; preds = %151, %24, %19, %14
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %156 = load i32, ptr %4, align 4
  ret i32 %156
}

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

declare void @Xil_Assert(ptr noundef, i32 noundef) #2

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

declare i32 @XGetPlatform_Info() #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) #3

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

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" }
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 = { inlinehint 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 #4 = { 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, !10, i64 16}
!12 = !{!"", !13, i64 0, !10, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !7, i64 48, !10, i64 52}
!13 = !{!"", !14, i64 0, !15, i64 8}
!14 = !{!"short", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!12, !15, i64 8}
!17 = !{!13, !14, i64 0}
!18 = !{!12, !14, i64 0}
!19 = !{!12, !6, i64 24}
!20 = !{!12, !10, i64 40}
!21 = !{!12, !10, i64 44}
!22 = !{!12, !7, i64 48}
!23 = !{!12, !10, i64 52}
!24 = !{!7, !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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

@Xil_AssertStatus = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [164 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @XGpioPs_CfgInitialize(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %5, label %4

4:                                                ; preds = %3
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !5
  %.not45 = icmp eq ptr %1, null
  br i1 %.not45, label %7, label %6

5:                                                ; preds = %3
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef 82) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %58

6:                                                ; preds = %4
  %.not46 = icmp eq i32 %2, 0
  br i1 %.not46, label %16, label %8

7:                                                ; preds = %4
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef 83) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %58

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 0, ptr %9, align 8, !tbaa !9
  %10 = zext i32 %2 to i64
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %10, ptr %11, align 8, !tbaa !15
  %12 = load i16, ptr %1, align 8, !tbaa !16
  store i16 %12, ptr %0, align 8, !tbaa !17
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr @StubHandler, ptr %13, align 8, !tbaa !18
  %14 = tail call i32 @XGetPlatform_Info() #3
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %14, ptr %15, align 8, !tbaa !19
  switch i32 %14, label %23 [
    i32 1, label %24
    i32 6, label %17
  ]

16:                                               ; preds = %6
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef 84) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %58

17:                                               ; preds = %8
  %18 = getelementptr inbounds i8, ptr %0, i64 52
  %19 = load i32, ptr %18, align 4, !tbaa !20
  %20 = icmp eq i32 %19, 0
  %21 = getelementptr inbounds i8, ptr %0, i64 44
  %22 = getelementptr inbounds i8, ptr %0, i64 48
  %. = select i1 %20, i32 58, i32 116
  %.82 = select i1 %20, i8 4, i8 5
  store i32 %., ptr %21, align 4, !tbaa !21
  store i8 %.82, ptr %22, align 8, !tbaa !22
  br label %27

23:                                               ; preds = %8
  br label %24

24:                                               ; preds = %8, %23
  %.sink70 = phi i32 [ 118, %23 ], [ 174, %8 ]
  %.sink = phi i8 [ 4, %23 ], [ 6, %8 ]
  %25 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 %.sink70, ptr %25, align 4, !tbaa !21
  %26 = getelementptr inbounds i8, ptr %0, i64 48
  store i8 %.sink, ptr %26, align 8, !tbaa !22
  br label %27

27:                                               ; preds = %17, %24
  %28 = getelementptr inbounds i8, ptr %0, i64 48
  %29 = getelementptr inbounds i8, ptr %0, i64 52
  %30 = load i64, ptr %11, align 8, !tbaa !15
  %31 = add i64 %30, 532
  tail call void @Xil_Out32(i64 noundef %31, i32 noundef -1)
  %32 = load i8, ptr %28, align 8, !tbaa !22
  %33 = icmp ugt i8 %32, 1
  br i1 %33, label %.peel.next, label %._crit_edge

.peel.next:                                       ; preds = %27
  %34 = load i32, ptr %15, align 8, !tbaa !19
  %35 = icmp eq i32 %34, 6
  br i1 %35, label %36, label %.sink.split

36:                                               ; preds = %.peel.next
  %37 = load i32, ptr %29, align 4, !tbaa !20
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %41, label %.sink.split

.sink.split:                                      ; preds = %36, %.peel.next
  %39 = load i64, ptr %11, align 8, !tbaa !15
  %40 = add i64 %39, 596
  tail call void @Xil_Out32(i64 noundef %40, i32 noundef -1)
  br label %41

41:                                               ; preds = %.sink.split, %36
  %42 = load i8, ptr %28, align 8, !tbaa !22
  %43 = icmp ugt i8 %42, 2
  br i1 %43, label %.peel.next52, label %._crit_edge

.peel.next52:                                     ; preds = %41
  %44 = load i32, ptr %15, align 8, !tbaa !19
  %45 = icmp eq i32 %44, 6
  br i1 %45, label %49, label %46

46:                                               ; preds = %.peel.next52
  %47 = load i64, ptr %11, align 8, !tbaa !15
  %48 = add i64 %47, 660
  tail call void @Xil_Out32(i64 noundef %48, i32 noundef -1)
  %.pre = load i8, ptr %28, align 8, !tbaa !22
  br label %49

49:                                               ; preds = %.peel.next52, %46
  %.pre-phi.in = phi i8 [ %.pre, %46 ], [ %42, %.peel.next52 ]
  %50 = icmp ugt i8 %.pre-phi.in, 3
  br i1 %50, label %.peel.next57, label %._crit_edge

.peel.next57:                                     ; preds = %49, %.peel.next57
  %indvars.iv49 = phi i32 [ %indvars.iv.next50, %.peel.next57 ], [ 3, %49 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %.peel.next57 ], [ 3, %49 ]
  %51 = load i64, ptr %11, align 8, !tbaa !15
  %52 = shl nuw nsw i64 %indvars.iv, 6
  %53 = add nuw nsw i64 %52, 532
  %54 = add i64 %51, %53
  tail call void @Xil_Out32(i64 noundef %54, i32 noundef -1)
  %indvars.iv.next50 = add nuw nsw i32 %indvars.iv49, 1
  %55 = load i8, ptr %28, align 8, !tbaa !22
  %56 = zext i8 %55 to i32
  %57 = icmp ult i32 %indvars.iv.next50, %56
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %57, label %.peel.next57, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %.peel.next57, %27, %41, %49
  store i32 286331153, ptr %9, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %._crit_edge, %16, %7, %5
  ret i32 0
}

declare void @Xil_Assert(ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare i32 @XGetPlatform_Info() local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) local_unnamed_addr #2

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" }
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 = { inlinehint 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"", !11, i64 0, !6, i64 16, !14, i64 24, !14, i64 32, !6, i64 40, !6, i64 44, !7, i64 48, !6, i64 52}
!11 = !{!"", !12, i64 0, !13, i64 8}
!12 = !{!"short", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!10, !13, i64 8}
!16 = !{!11, !12, i64 0}
!17 = !{!10, !12, i64 0}
!18 = !{!10, !14, i64 24}
!19 = !{!10, !6, i64 40}
!20 = !{!10, !6, i64 52}
!21 = !{!10, !6, i64 44}
!22 = !{!10, !7, i64 48}
!23 = distinct !{!23, !24, !25}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.peeled.count", i32 3}


; Effective O3 passes: ADCEPass,BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass