; LLVM IR from jgaeddert/liquid-dsp :: src/framing/src (dsssframe64sync)

; 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.dsssframe64sync_s = type { ptr, ptr, i32, float, i32, %struct.framesyncstats_s, %struct.framedatastats_s, [1024 x { float, float }], [1024 x { float, float }], [650 x { float, float }], [600 x { float, float }], [72 x i8], ptr, ptr, { float, float }, ptr, ptr, i32, i32, i32 }
%struct.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }
%struct.framedatastats_s = type { i32, i32, i32, i64 }

; Function Attrs: nounwind uwtable
define dso_local i32 @dsssframe64sync_step(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 i32, align 4
  %10 = alloca { float, float }, align 4
  %11 = alloca { float, float }, align 4
  %12 = alloca { float, float }, align 4
  %13 = alloca { float, float }, align 4
  %14 = 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) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %167, %3
  %16 = load i32, ptr %8, align 4, !tbaa !9
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = icmp ult i32 %16, %17
  br i1 %18, label %19, label %170

19:                                               ; preds = %15
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %20, i32 0, i32 17
  %22 = load i32, ptr %21, align 8, !tbaa !11
  %23 = icmp ult i32 %22, 1024
  br i1 %23, label %24, label %43

24:                                               ; preds = %19
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds { float, float }, ptr %25, i64 %27
  %29 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 0
  %30 = load float, ptr %29, align 4
  %31 = getelementptr inbounds { float, float }, ptr %28, i32 0, i32 1
  %32 = load float, ptr %31, align 4
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %33, i32 0, i32 8
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %35, i32 0, i32 17
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = add i32 %37, 1
  store i32 %38, ptr %36, align 8, !tbaa !11
  %39 = zext i32 %37 to i64
  %40 = getelementptr inbounds [1024 x { float, float }], ptr %34, i64 0, i64 %39
  %41 = getelementptr inbounds { float, float }, ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds { float, float }, ptr %40, i32 0, i32 1
  store float %30, ptr %41, align 8
  store float %32, ptr %42, align 4
  br label %167

43:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %44, i32 0, i32 13
  %46 = load ptr, ptr %45, align 8, !tbaa !17
  %47 = call i32 @msequence_generate_symbol(ptr noundef %46, i32 noundef 2)
  store i32 %47, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = uitofp i32 %48 to float
  %50 = fpext float %49 to double
  %51 = fmul double 0.000000e+00, %50
  %52 = fmul double 0x401921FB54442D18, %50
  %53 = fdiv double %51, 4.000000e+00
  %54 = fdiv double %52, 4.000000e+00
  %55 = fptrunc double %53 to float
  %56 = fptrunc double %54 to float
  %57 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %58 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  store float %55, ptr %57, align 4
  store float %56, ptr %58, align 4
  %59 = load <2 x float>, ptr %11, align 4
  %60 = call <2 x float> @cexpf(<2 x float> noundef %59) #5
  store <2 x float> %60, ptr %12, align 4
  %61 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %62 = load float, ptr %61, align 4
  %63 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  %64 = load float, ptr %63, align 4
  %65 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %66 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float %62, ptr %65, align 4
  store float %64, ptr %66, align 4
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds { float, float }, ptr %67, i64 %69
  %71 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 0
  %72 = load float, ptr %71, align 4
  %73 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 1
  %74 = load float, ptr %73, align 4
  %75 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %76 = load float, ptr %75, align 4
  %77 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  %78 = load float, ptr %77, align 4
  %79 = fneg float %78
  %80 = fmul float %72, %76
  %81 = fmul float %74, %79
  %82 = fmul float %72, %79
  %83 = fmul float %74, %76
  %84 = fsub float %80, %81
  %85 = fadd float %82, %83
  %86 = fcmp uno float %84, %84
  br i1 %86, label %87, label %95, !prof !18

87:                                               ; preds = %43
  %88 = fcmp uno float %85, %85
  br i1 %88, label %89, label %95, !prof !18

89:                                               ; preds = %87
  %90 = call <2 x float> @__mulsc3(float noundef %72, float noundef %74, float noundef %76, float noundef %79) #5
  store <2 x float> %90, ptr %13, align 4
  %91 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %92 = load float, ptr %91, align 4
  %93 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  %94 = load float, ptr %93, align 4
  br label %95

95:                                               ; preds = %89, %87, %43
  %96 = phi float [ %84, %43 ], [ %84, %87 ], [ %92, %89 ]
  %97 = phi float [ %85, %43 ], [ %85, %87 ], [ %94, %89 ]
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %98, i32 0, i32 14
  %100 = getelementptr inbounds { float, float }, ptr %99, i32 0, i32 0
  %101 = load float, ptr %100, align 8
  %102 = getelementptr inbounds { float, float }, ptr %99, i32 0, i32 1
  %103 = load float, ptr %102, align 4
  %104 = fadd float %101, %96
  %105 = fadd float %103, %97
  %106 = getelementptr inbounds { float, float }, ptr %99, i32 0, i32 0
  %107 = getelementptr inbounds { float, float }, ptr %99, i32 0, i32 1
  store float %104, ptr %106, align 8
  store float %105, ptr %107, align 4
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %108, i32 0, i32 18
  %110 = load i32, ptr %109, align 4, !tbaa !19
  %111 = add i32 %110, 1
  store i32 %111, ptr %109, align 4, !tbaa !19
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %112, i32 0, i32 18
  %114 = load i32, ptr %113, align 4, !tbaa !19
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %115, i32 0, i32 4
  %117 = load i32, ptr %116, align 8, !tbaa !20
  %118 = icmp eq i32 %114, %117
  br i1 %118, label %119, label %163

119:                                              ; preds = %95
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %120, i32 0, i32 14
  %122 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 8
  %124 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 1
  %125 = load float, ptr %124, align 4
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %126, i32 0, i32 4
  %128 = load i32, ptr %127, align 8, !tbaa !20
  %129 = uitofp i32 %128 to float
  %130 = fdiv float %123, %129
  %131 = fdiv float %125, %129
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %132, i32 0, i32 9
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %134, i32 0, i32 19
  %136 = load i32, ptr %135, align 8, !tbaa !21
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds [650 x { float, float }], ptr %133, i64 0, i64 %137
  %139 = getelementptr inbounds { float, float }, ptr %138, i32 0, i32 0
  %140 = getelementptr inbounds { float, float }, ptr %138, i32 0, i32 1
  store float %130, ptr %139, align 8
  store float %131, ptr %140, align 4
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %141, i32 0, i32 19
  %143 = load i32, ptr %142, align 8, !tbaa !21
  %144 = add i32 %143, 1
  store i32 %144, ptr %142, align 8, !tbaa !21
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %145, i32 0, i32 18
  store i32 0, ptr %146, align 4, !tbaa !19
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %147, i32 0, i32 14
  %149 = getelementptr inbounds { float, float }, ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds { float, float }, ptr %148, i32 0, i32 1
  store float 0.000000e+00, ptr %149, align 8
  store float 0.000000e+00, ptr %150, align 4
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %151, i32 0, i32 19
  %153 = load i32, ptr %152, align 8, !tbaa !21
  %154 = icmp eq i32 %153, 650
  br i1 %154, label %155, label %162

155:                                              ; preds = %119
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = call i32 @dsssframe64sync_decode(ptr noundef %156)
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.dsssframe64sync_s, ptr %158, i32 0, i32 13
  %160 = load ptr, ptr %159, align 8, !tbaa !17
  %161 = call i32 @msequence_reset(ptr noundef %160)
  store i32 1, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %164

162:                                              ; preds = %119
  br label %163

163:                                              ; preds = %162, %95
  store i32 0, ptr %14, align 4
  br label %164

164:                                              ; preds = %163, %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %165 = load i32, ptr %14, align 4
  switch i32 %165, label %171 [
    i32 0, label %166
  ]

166:                                              ; preds = %164
  br label %167

167:                                              ; preds = %166, %24
  %168 = load i32, ptr %8, align 4, !tbaa !9
  %169 = add i32 %168, 1
  store i32 %169, ptr %8, align 4, !tbaa !9
  br label %15, !llvm.loop !22

170:                                              ; preds = %15
  store i32 0, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %171

171:                                              ; preds = %170, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  %172 = load i32, ptr %4, align 4
  ret i32 %172
}

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

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

declare i32 @msequence_reset(ptr noundef) #2

declare i32 @msequence_generate_symbol(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #3

declare <2 x float> @__mulsc3(float, float, float, float)

; Function Attrs: nounwind uwtable
declare dso_local i32 @dsssframe64sync_decode(ptr noundef) #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { 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 #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 }

!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 26600}
!12 = !{!"dsssframe64sync_s", !6, i64 0, !6, i64 8, !10, i64 16, !13, i64 20, !10, i64 24, !14, i64 32, !15, i64 80, !7, i64 104, !7, i64 8296, !7, i64 16488, !7, i64 21688, !7, i64 26488, !6, i64 26560, !6, i64 26568, !7, i64 26576, !6, i64 26584, !6, i64 26592, !10, i64 26600, !10, i64 26604, !10, i64 26608}
!13 = !{!"float", !7, i64 0}
!14 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44}
!15 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !16, i64 16}
!16 = !{!"long", !7, i64 0}
!17 = !{!12, !6, i64 26568}
!18 = !{!"branch_weights", i32 1, i32 1048575}
!19 = !{!12, !10, i64 26604}
!20 = !{!12, !10, i64 24}
!21 = !{!12, !10, i64 26608}
!22 = distinct !{!22, !23}
!23 = !{!"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"

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dsssframe64sync_step(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %4 = getelementptr inbounds i8, ptr %0, i64 26600
  %5 = getelementptr inbounds i8, ptr %0, i64 26568
  %6 = getelementptr inbounds i8, ptr %0, i64 26576
  %7 = getelementptr inbounds i8, ptr %0, i64 26604
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  %9 = getelementptr inbounds i8, ptr %0, i64 16488
  %10 = getelementptr inbounds i8, ptr %0, i64 26608
  %11 = getelementptr inbounds i8, ptr %0, i64 8296
  %wide.trip.count = zext i32 %2 to i64
  br label %12

12:                                               ; preds = %.lr.ph, %72
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %72 ]
  %13 = load i32, ptr %4, align 8, !tbaa !5
  %14 = icmp ult i32 %13, 1024
  br i1 %14, label %15, label %21

15:                                               ; preds = %12
  %16 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  %17 = add nuw nsw i32 %13, 1
  %18 = zext nneg i32 %13 to i64
  %19 = getelementptr inbounds [1024 x { float, float }], ptr %11, i64 0, i64 %18
  %20 = load <2 x float>, ptr %16, align 4
  store i32 %17, ptr %4, align 8, !tbaa !5
  store <2 x float> %20, ptr %19, align 8
  br label %72

21:                                               ; preds = %12
  %22 = load ptr, ptr %5, align 8, !tbaa !15
  %23 = tail call i32 @msequence_generate_symbol(ptr noundef %22, i32 noundef 2) #4
  %24 = uitofp i32 %23 to float
  %25 = fpext float %24 to double
  %26 = fmul double %25, 0x401921FB54442D18
  %27 = fmul double %26, 2.500000e-01
  %28 = fptrunc double %27 to float
  %.sroa.02.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %28, i64 1
  %29 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.02.4.vec.insert) #4
  %.sroa.01.0.vec.extract = extractelement <2 x float> %29, i64 0
  %.sroa.01.4.vec.extract = extractelement <2 x float> %29, i64 1
  %30 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  %31 = fneg float %.sroa.01.4.vec.extract
  %32 = load <2 x float>, ptr %30, align 4
  %33 = shufflevector <2 x float> %29, <2 x float> poison, <2 x i32> zeroinitializer
  %34 = fmul <2 x float> %32, %33
  %35 = shufflevector <2 x float> %29, <2 x float> poison, <2 x i32> <i32 1, i32 1>
  %36 = fmul <2 x float> %35, %32
  %37 = shufflevector <2 x float> %36, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %38 = fadd <2 x float> %34, %37
  %39 = fsub <2 x float> %34, %37
  %40 = shufflevector <2 x float> %38, <2 x float> %39, <2 x i32> <i32 0, i32 3>
  %41 = extractelement <2 x float> %38, i64 0
  %42 = fcmp uno float %41, 0.000000e+00
  br i1 %42, label %43, label %50, !prof !16

43:                                               ; preds = %21
  %44 = extractelement <2 x float> %39, i64 1
  %45 = fcmp uno float %44, 0.000000e+00
  br i1 %45, label %46, label %50, !prof !16

46:                                               ; preds = %43
  %47 = extractelement <2 x float> %32, i64 0
  %48 = extractelement <2 x float> %32, i64 1
  %49 = tail call <2 x float> @__mulsc3(float noundef %47, float noundef %48, float noundef %.sroa.01.0.vec.extract, float noundef %31) #4
  br label %50

50:                                               ; preds = %46, %43, %21
  %51 = phi <2 x float> [ %40, %21 ], [ %40, %43 ], [ %49, %46 ]
  %52 = load <2 x float>, ptr %6, align 8
  %53 = fadd <2 x float> %51, %52
  store <2 x float> %53, ptr %6, align 8
  %54 = load i32, ptr %7, align 4, !tbaa !17
  %55 = add i32 %54, 1
  store i32 %55, ptr %7, align 4, !tbaa !17
  %56 = load i32, ptr %8, align 8, !tbaa !18
  %57 = icmp eq i32 %55, %56
  br i1 %57, label %58, label %72

58:                                               ; preds = %50
  %59 = uitofp i32 %55 to float
  %60 = load i32, ptr %10, align 8, !tbaa !19
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds [650 x { float, float }], ptr %9, i64 0, i64 %61
  %63 = insertelement <2 x float> poison, float %59, i64 0
  %64 = shufflevector <2 x float> %63, <2 x float> poison, <2 x i32> zeroinitializer
  %65 = fdiv <2 x float> %53, %64
  store <2 x float> %65, ptr %62, align 8
  %66 = load i32, ptr %10, align 8, !tbaa !19
  %67 = add i32 %66, 1
  store i32 %67, ptr %10, align 8, !tbaa !19
  store i32 0, ptr %7, align 4, !tbaa !17
  store <2 x float> zeroinitializer, ptr %6, align 8
  %68 = icmp eq i32 %67, 650
  br i1 %68, label %.critedge, label %72

.critedge:                                        ; preds = %58
  %69 = tail call i32 @dsssframe64sync_decode(ptr noundef nonnull %0)
  %70 = load ptr, ptr %5, align 8, !tbaa !15
  %71 = tail call i32 @msequence_reset(ptr noundef %70) #4
  br label %.loopexit

72:                                               ; preds = %58, %50, %15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %12, !llvm.loop !20

.loopexit:                                        ; preds = %72, %3, %.critedge
  %.3 = phi i32 [ 1, %.critedge ], [ 0, %3 ], [ 0, %72 ]
  ret i32 %.3
}

declare i32 @msequence_reset(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #2

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

; Function Attrs: nounwind uwtable
declare dso_local i32 @dsssframe64sync_decode(ptr noundef) local_unnamed_addr #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { 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 #3 = { 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, !10, i64 26600}
!6 = !{!"dsssframe64sync_s", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 20, !10, i64 24, !12, i64 32, !13, i64 80, !8, i64 104, !8, i64 8296, !8, i64 16488, !8, i64 21688, !8, i64 26488, !7, i64 26560, !7, i64 26568, !8, i64 26576, !7, i64 26584, !7, i64 26592, !10, i64 26600, !10, i64 26604, !10, i64 26608}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44}
!13 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !14, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 26568}
!16 = !{!"branch_weights", i32 1, i32 1048575}
!17 = !{!6, !10, i64 26604}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !10, i64 26608}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass