; LLVM IR from ARM-software/Arm-2D :: Helper/Source (arm_2d_helper)

; 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.arm_2d_helper_pi_slider_t = type { %struct.anon.0 }
%struct.anon.0 = type { i32, i32, i32, i32, i32, i64, i32 }

@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__.arm_2d_helper_pi_slider = external hidden unnamed_addr constant [79 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

declare i64 @arm_2d_helper_get_system_timestamp() #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @reinterpret_q16_s16(i16 noundef signext) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @reinterpret_q16_f32(float noundef) #3

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

16:                                               ; preds = %3
  br label %18

17:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 475, ptr noundef @__PRETTY_FUNCTION__.arm_2d_helper_pi_slider) #6
  unreachable

18:                                               ; preds = %16
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = icmp ne ptr null, %19
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  br label %23

22:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 476, ptr noundef @__PRETTY_FUNCTION__.arm_2d_helper_pi_slider) #6
  unreachable

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 0, ptr %8, align 1, !tbaa !13
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %struct.anon.0, ptr %25, i32 0, i32 5
  %27 = load i64, ptr %26, align 8, !tbaa !15
  %28 = icmp eq i64 0, %27
  br i1 %28, label %29, label %37

29:                                               ; preds = %23
  %30 = load i64, ptr %7, align 8, !tbaa !11
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds %struct.anon.0, ptr %32, i32 0, i32 5
  store i64 %30, ptr %33, align 8, !tbaa !15
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds %struct.anon.0, ptr %35, i32 0, i32 3
  store i32 0, ptr %36, align 4, !tbaa !19
  br label %37

37:                                               ; preds = %29, %23
  br label %38

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %39 = load i64, ptr %7, align 8, !tbaa !11
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds %struct.anon.0, ptr %41, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !15
  %44 = sub nsw i64 %39, %43
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %45, i32 0, i32 0
  %47 = getelementptr inbounds %struct.anon.0, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %47, align 8, !tbaa !20
  %49 = sext i32 %48 to i64
  %50 = add nsw i64 %44, %49
  store i64 %50, ptr %9, align 8, !tbaa !11
  %51 = load i64, ptr %7, align 8, !tbaa !11
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %52, i32 0, i32 0
  %54 = getelementptr inbounds %struct.anon.0, ptr %53, i32 0, i32 5
  store i64 %51, ptr %54, align 8, !tbaa !15
  br label %55

55:                                               ; preds = %130, %38
  %56 = load i64, ptr %9, align 8, !tbaa !11
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %struct.anon.0, ptr %58, i32 0, i32 4
  %60 = load i32, ptr %59, align 8, !tbaa !21
  %61 = sext i32 %60 to i64
  %62 = icmp sge i64 %56, %61
  br i1 %62, label %63, label %131

63:                                               ; preds = %55
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %64, i32 0, i32 0
  %66 = getelementptr inbounds %struct.anon.0, ptr %65, i32 0, i32 4
  %67 = load i32, ptr %66, align 8, !tbaa !21
  %68 = sext i32 %67 to i64
  %69 = load i64, ptr %9, align 8, !tbaa !11
  %70 = sub nsw i64 %69, %68
  store i64 %70, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %71 = load i16, ptr %5, align 2, !tbaa !9
  %72 = call i32 @reinterpret_q16_s16(i16 noundef signext %71)
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %struct.anon.0, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !22
  %77 = sub nsw i32 %72, %76
  store i32 %77, ptr %10, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %78 = load i32, ptr %10, align 4, !tbaa !23
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds %struct.anon.0, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8, !tbaa !24
  %83 = call i32 @mul_q16(i32 noundef %78, i32 noundef %82)
  store i32 %83, ptr %11, align 4, !tbaa !23
  %84 = load i32, ptr %10, align 4, !tbaa !23
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %85, i32 0, i32 0
  %87 = getelementptr inbounds %struct.anon.0, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !25
  %89 = call i32 @mul_q16(i32 noundef %84, i32 noundef %88)
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %90, i32 0, i32 0
  %92 = getelementptr inbounds %struct.anon.0, ptr %91, i32 0, i32 3
  %93 = load i32, ptr %92, align 4, !tbaa !19
  %94 = add nsw i32 %93, %89
  store i32 %94, ptr %92, align 4, !tbaa !19
  %95 = load i32, ptr %11, align 4, !tbaa !23
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %96, i32 0, i32 0
  %98 = getelementptr inbounds %struct.anon.0, ptr %97, i32 0, i32 3
  %99 = load i32, ptr %98, align 4, !tbaa !19
  %100 = add nsw i32 %95, %99
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds %struct.anon.0, ptr %102, i32 0, i32 2
  %104 = load i32, ptr %103, align 8, !tbaa !22
  %105 = add nsw i32 %104, %100
  store i32 %105, ptr %103, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %106 = load i32, ptr %11, align 4, !tbaa !23
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %struct.anon.0, ptr %108, i32 0, i32 3
  %110 = load i32, ptr %109, align 4, !tbaa !19
  %111 = add nsw i32 %106, %110
  %112 = call i32 @abs_q16(i32 noundef %111)
  store i32 %112, ptr %12, align 4, !tbaa !23
  %113 = load i32, ptr %12, align 4, !tbaa !23
  %114 = call i32 @reinterpret_q16_f32(float noundef 0x3FA99999A0000000)
  %115 = icmp sle i32 %113, %114
  br i1 %115, label %116, label %130

116:                                              ; preds = %63
  %117 = load i32, ptr %10, align 4, !tbaa !23
  %118 = call i32 @abs_q16(i32 noundef %117)
  %119 = call i32 @reinterpret_q16_f32(float noundef 1.000000e+00)
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %121, label %130

121:                                              ; preds = %116
  %122 = load i16, ptr %5, align 2, !tbaa !9
  %123 = call i32 @reinterpret_q16_s16(i16 noundef signext %122)
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %124, i32 0, i32 0
  %126 = getelementptr inbounds %struct.anon.0, ptr %125, i32 0, i32 2
  store i32 %123, ptr %126, align 8, !tbaa !22
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds %struct.anon.0, ptr %128, i32 0, i32 3
  store i32 0, ptr %129, align 4, !tbaa !19
  store i8 1, ptr %8, align 1, !tbaa !13
  br label %130

130:                                              ; preds = %121, %116, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %55, !llvm.loop !26

131:                                              ; preds = %55
  %132 = load i64, ptr %9, align 8, !tbaa !11
  %133 = trunc i64 %132 to i32
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds %struct.anon.0, ptr %135, i32 0, i32 6
  store i32 %133, ptr %136, align 8, !tbaa !20
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.arm_2d_helper_pi_slider_t, ptr %137, i32 0, i32 0
  %139 = getelementptr inbounds %struct.anon.0, ptr %138, i32 0, i32 2
  %140 = load i32, ptr %139, align 8, !tbaa !22
  %141 = call signext i16 @reinterpret_s16_q16(i32 noundef %140)
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  store i16 %141, ptr %142, align 2, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %143

143:                                              ; preds = %131
  br label %144

144:                                              ; preds = %143
  %145 = load i8, ptr %8, align 1, !tbaa !13, !range !28, !noundef !29
  %146 = trunc i8 %145 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  ret i1 %146
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @abs_q16(i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden signext i16 @reinterpret_s16_q16(i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_Bool", !7, i64 0}
!15 = !{!16, !12, i64 24}
!16 = !{!"arm_2d_helper_pi_slider_t", !17, i64 0}
!17 = !{!"", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"int", !7, i64 0}
!19 = !{!16, !18, i64 12}
!20 = !{!16, !18, i64 32}
!21 = !{!16, !18, i64 16}
!22 = !{!16, !18, i64 8}
!23 = !{!18, !18, i64 0}
!24 = !{!16, !18, i64 0}
!25 = !{!16, !18, i64 4}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{i8 0, i8 2}
!29 = !{}


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

declare i64 @arm_2d_helper_get_system_timestamp() local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @reinterpret_q16_s16(i16 noundef signext) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @reinterpret_q16_f32(float noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @arm_2d_helper_pi_slider(ptr nocapture noundef nonnull %0, i16 noundef signext %1, ptr nocapture noundef nonnull writeonly %2) local_unnamed_addr #2 {
  %4 = tail call i64 @arm_2d_helper_get_system_timestamp() #3
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %8, label %10

8:                                                ; preds = %3
  %9 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 0, ptr %9, align 4, !tbaa !12
  br label %10

10:                                               ; preds = %3, %8
  %11 = phi i64 [ %6, %3 ], [ %4, %8 ]
  %12 = sub i64 %4, %11
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load i32, ptr %13, align 8, !tbaa !13
  %15 = sext i32 %14 to i64
  %16 = add nsw i64 %12, %15
  store i64 %4, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i32, ptr %17, align 8, !tbaa !14
  %19 = sext i32 %18 to i64
  %.not39 = icmp slt i64 %16, %19
  br i1 %.not39, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %10
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = getelementptr inbounds i8, ptr %0, i64 4
  %22 = getelementptr inbounds i8, ptr %0, i64 12
  br label %23

23:                                               ; preds = %.lr.ph, %46
  %24 = phi i64 [ %19, %.lr.ph ], [ %48, %46 ]
  %.041 = phi i1 [ false, %.lr.ph ], [ %.1, %46 ]
  %.03640 = phi i64 [ %16, %.lr.ph ], [ %25, %46 ]
  %25 = sub nsw i64 %.03640, %24
  %26 = tail call i32 @reinterpret_q16_s16(i16 noundef signext %1)
  %27 = load i32, ptr %20, align 8, !tbaa !15
  %28 = sub nsw i32 %26, %27
  %29 = load i32, ptr %0, align 8, !tbaa !16
  %30 = tail call i32 @mul_q16(i32 noundef %28, i32 noundef %29)
  %31 = load i32, ptr %21, align 4, !tbaa !17
  %32 = tail call i32 @mul_q16(i32 noundef %28, i32 noundef %31)
  %33 = load i32, ptr %22, align 4, !tbaa !12
  %34 = add nsw i32 %33, %32
  store i32 %34, ptr %22, align 4, !tbaa !12
  %35 = add nsw i32 %34, %30
  %36 = load i32, ptr %20, align 8, !tbaa !15
  %37 = add nsw i32 %36, %35
  store i32 %37, ptr %20, align 8, !tbaa !15
  %38 = tail call i32 @abs_q16(i32 noundef %35)
  %39 = tail call i32 @reinterpret_q16_f32(float noundef 0x3FA99999A0000000)
  %.not38 = icmp sgt i32 %38, %39
  br i1 %.not38, label %46, label %40

40:                                               ; preds = %23
  %41 = tail call i32 @abs_q16(i32 noundef %28)
  %42 = tail call i32 @reinterpret_q16_f32(float noundef 1.000000e+00)
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %44, label %46

44:                                               ; preds = %40
  %45 = tail call i32 @reinterpret_q16_s16(i16 noundef signext %1)
  store i32 %45, ptr %20, align 8, !tbaa !15
  store i32 0, ptr %22, align 4, !tbaa !12
  br label %46

46:                                               ; preds = %44, %40, %23
  %.1 = phi i1 [ true, %44 ], [ %.041, %40 ], [ %.041, %23 ]
  %47 = load i32, ptr %17, align 8, !tbaa !14
  %48 = sext i32 %47 to i64
  %.not = icmp slt i64 %25, %48
  br i1 %.not, label %._crit_edge, label %23, !llvm.loop !18

._crit_edge:                                      ; preds = %46, %10
  %.036.lcssa = phi i64 [ %16, %10 ], [ %25, %46 ]
  %.0.lcssa = phi i1 [ false, %10 ], [ %.1, %46 ]
  %49 = trunc i64 %.036.lcssa to i32
  store i32 %49, ptr %13, align 8, !tbaa !13
  %50 = getelementptr inbounds i8, ptr %0, i64 8
  %51 = load i32, ptr %50, align 8, !tbaa !15
  %52 = tail call signext i16 @reinterpret_s16_q16(i32 noundef %51)
  store i16 %52, ptr %2, align 2, !tbaa !20
  ret i1 %.0.lcssa
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @mul_q16(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @abs_q16(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden signext i16 @reinterpret_s16_q16(i32 noundef) local_unnamed_addr #1

attributes #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 = { 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 #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, !11, i64 24}
!6 = !{!"arm_2d_helper_pi_slider_t", !7, i64 0}
!7 = !{!"", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !8, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!6, !8, i64 12}
!13 = !{!6, !8, i64 32}
!14 = !{!6, !8, i64 16}
!15 = !{!6, !8, i64 8}
!16 = !{!6, !8, i64 0}
!17 = !{!6, !8, i64 4}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"short", !9, i64 0}


; Effective O3 passes: AggressiveInstCombinePass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass