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

; 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.flexframegen_s = type { i32, i32, float, ptr, [2 x { float, float }], %struct.flexframegenprops_s, %struct.flexframegenprops_s, ptr, ptr, i32, i32, ptr, i32, ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, i32, i32, i32, i32 }
%struct.flexframegenprops_s = type { i32, i32, i32, i32 }

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframegen_reset(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframegen_reconfigure(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @flexframegen_assemble(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 {
  %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
  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
  store i32 %3, ptr %8, align 4, !tbaa !9
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  %11 = call i32 @flexframegen_reset(ptr noundef %10)
  %12 = load i32, ptr %8, align 4, !tbaa !9
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.flexframegen_s, ptr %13, i32 0, i32 17
  store i32 %12, ptr %14, align 8, !tbaa !11
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %17, label %26

17:                                               ; preds = %4
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.flexframegen_s, ptr %18, i32 0, i32 8
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.flexframegen_s, ptr %21, i32 0, i32 9
  %23 = load i32, ptr %22, align 8, !tbaa !16
  %24 = zext i32 %23 to i64
  %25 = mul i64 %24, 1
  call void @llvm.memset.p0.i64(ptr align 1 %20, i8 0, i64 %25, i1 false)
  br label %36

26:                                               ; preds = %4
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.flexframegen_s, ptr %27, i32 0, i32 8
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.flexframegen_s, ptr %31, i32 0, i32 9
  %33 = load i32, ptr %32, align 8, !tbaa !16
  %34 = zext i32 %33 to i64
  %35 = mul i64 %34, 1
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %29, ptr align 1 %30, i64 %35, i1 false)
  br label %36

36:                                               ; preds = %26, %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.flexframegen_s, ptr %37, i32 0, i32 9
  %39 = load i32, ptr %38, align 8, !tbaa !16
  store i32 %39, ptr %9, align 4, !tbaa !9
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.flexframegen_s, ptr %40, i32 0, i32 8
  %42 = load ptr, ptr %41, align 8, !tbaa !15
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = add i32 %43, 0
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %42, i64 %45
  store i8 102, ptr %46, align 1, !tbaa !17
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.flexframegen_s, ptr %47, i32 0, i32 17
  %49 = load i32, ptr %48, align 8, !tbaa !11
  %50 = lshr i32 %49, 8
  %51 = and i32 %50, 255
  %52 = trunc i32 %51 to i8
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.flexframegen_s, ptr %53, i32 0, i32 8
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = load i32, ptr %9, align 4, !tbaa !9
  %57 = add i32 %56, 1
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr %55, i64 %58
  store i8 %52, ptr %59, align 1, !tbaa !17
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.flexframegen_s, ptr %60, i32 0, i32 17
  %62 = load i32, ptr %61, align 8, !tbaa !11
  %63 = and i32 %62, 255
  %64 = trunc i32 %63 to i8
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.flexframegen_s, ptr %65, i32 0, i32 8
  %67 = load ptr, ptr %66, align 8, !tbaa !15
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = add i32 %68, 2
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds i8, ptr %67, i64 %70
  store i8 %64, ptr %71, align 1, !tbaa !17
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.flexframegen_s, ptr %72, i32 0, i32 5
  %74 = getelementptr inbounds %struct.flexframegenprops_s, ptr %73, i32 0, i32 3
  %75 = load i32, ptr %74, align 4, !tbaa !18
  %76 = trunc i32 %75 to i8
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.flexframegen_s, ptr %77, i32 0, i32 8
  %79 = load ptr, ptr %78, align 8, !tbaa !15
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = add i32 %80, 3
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds i8, ptr %79, i64 %82
  store i8 %76, ptr %83, align 1, !tbaa !17
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.flexframegen_s, ptr %84, i32 0, i32 5
  %86 = getelementptr inbounds %struct.flexframegenprops_s, ptr %85, i32 0, i32 0
  %87 = load i32, ptr %86, align 8, !tbaa !19
  %88 = and i32 %87, 7
  %89 = shl i32 %88, 5
  %90 = trunc i32 %89 to i8
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.flexframegen_s, ptr %91, i32 0, i32 8
  %93 = load ptr, ptr %92, align 8, !tbaa !15
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = add i32 %94, 4
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds i8, ptr %93, i64 %96
  store i8 %90, ptr %97, align 1, !tbaa !17
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.flexframegen_s, ptr %98, i32 0, i32 5
  %100 = getelementptr inbounds %struct.flexframegenprops_s, ptr %99, i32 0, i32 1
  %101 = load i32, ptr %100, align 4, !tbaa !20
  %102 = and i32 %101, 31
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.flexframegen_s, ptr %103, i32 0, i32 8
  %105 = load ptr, ptr %104, align 8, !tbaa !15
  %106 = load i32, ptr %9, align 4, !tbaa !9
  %107 = add i32 %106, 4
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds i8, ptr %105, i64 %108
  %110 = load i8, ptr %109, align 1, !tbaa !17
  %111 = zext i8 %110 to i32
  %112 = or i32 %111, %102
  %113 = trunc i32 %112 to i8
  store i8 %113, ptr %109, align 1, !tbaa !17
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.flexframegen_s, ptr %114, i32 0, i32 5
  %116 = getelementptr inbounds %struct.flexframegenprops_s, ptr %115, i32 0, i32 2
  %117 = load i32, ptr %116, align 8, !tbaa !21
  %118 = and i32 %117, 31
  %119 = trunc i32 %118 to i8
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.flexframegen_s, ptr %120, i32 0, i32 8
  %122 = load ptr, ptr %121, align 8, !tbaa !15
  %123 = load i32, ptr %9, align 4, !tbaa !9
  %124 = add i32 %123, 5
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %122, i64 %125
  store i8 %119, ptr %126, align 1, !tbaa !17
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.flexframegen_s, ptr %127, i32 0, i32 11
  %129 = load ptr, ptr %128, align 8, !tbaa !22
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.flexframegen_s, ptr %130, i32 0, i32 8
  %132 = load ptr, ptr %131, align 8, !tbaa !15
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.flexframegen_s, ptr %133, i32 0, i32 13
  %135 = load ptr, ptr %134, align 8, !tbaa !23
  %136 = call i32 @qpacketmodem_encode(ptr noundef %129, ptr noundef %132, ptr noundef %135)
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.flexframegen_s, ptr %137, i32 0, i32 14
  %139 = load ptr, ptr %138, align 8, !tbaa !24
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.flexframegen_s, ptr %140, i32 0, i32 13
  %142 = load ptr, ptr %141, align 8, !tbaa !23
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.flexframegen_s, ptr %143, i32 0, i32 16
  %145 = load ptr, ptr %144, align 8, !tbaa !25
  %146 = call i32 @qpilotgen_execute(ptr noundef %139, ptr noundef %142, ptr noundef %145)
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = call i32 @flexframegen_reconfigure(ptr noundef %147)
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.flexframegen_s, ptr %149, i32 0, i32 18
  %151 = load ptr, ptr %150, align 8, !tbaa !26
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.flexframegen_s, ptr %153, i32 0, i32 20
  %155 = load ptr, ptr %154, align 8, !tbaa !27
  %156 = call i32 @qpacketmodem_encode(ptr noundef %151, ptr noundef %152, ptr noundef %155)
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.flexframegen_s, ptr %157, i32 0, i32 23
  store i32 1, ptr %158, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 0
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare i32 @qpacketmodem_encode(ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @qpilotgen_execute(ptr noundef, ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "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 144}
!12 = !{!"flexframegen_s", !10, i64 0, !10, i64 4, !13, i64 8, !6, i64 16, !7, i64 24, !14, i64 40, !14, i64 56, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !6, i64 96, !10, i64 104, !6, i64 112, !6, i64 120, !10, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192}
!13 = !{!"float", !7, i64 0}
!14 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!15 = !{!12, !6, i64 80}
!16 = !{!12, !10, i64 88}
!17 = !{!7, !7, i64 0}
!18 = !{!12, !10, i64 52}
!19 = !{!12, !10, i64 40}
!20 = !{!12, !10, i64 44}
!21 = !{!12, !10, i64 48}
!22 = !{!12, !6, i64 96}
!23 = !{!12, !6, i64 112}
!24 = !{!12, !6, i64 120}
!25 = !{!12, !6, i64 136}
!26 = !{!12, !6, i64 152}
!27 = !{!12, !6, i64 168}
!28 = !{!12, !10, i64 184}


; 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @flexframegen_assemble(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = tail call i32 @flexframegen_reset(ptr noundef %0)
  %6 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 %3, ptr %6, align 8, !tbaa !5
  %7 = icmp eq ptr %1, null
  %8 = getelementptr inbounds i8, ptr %0, i64 80
  %9 = load ptr, ptr %8, align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  %11 = load i32, ptr %10, align 8, !tbaa !14
  %12 = zext i32 %11 to i64
  br i1 %7, label %13, label %14

13:                                               ; preds = %4
  tail call void @llvm.memset.p0.i64(ptr align 1 %9, i8 0, i64 %12, i1 false)
  br label %15

14:                                               ; preds = %4
  tail call void @llvm.memmove.p0.p0.i64(ptr align 1 %9, ptr nonnull align 1 %1, i64 %12, i1 false)
  br label %15

15:                                               ; preds = %14, %13
  %16 = getelementptr inbounds i8, ptr %0, i64 88
  %17 = load i32, ptr %16, align 8, !tbaa !14
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  %19 = load ptr, ptr %18, align 8, !tbaa !13
  %20 = zext i32 %17 to i64
  %21 = getelementptr inbounds i8, ptr %19, i64 %20
  store i8 102, ptr %21, align 1, !tbaa !15
  %22 = load i32, ptr %6, align 8, !tbaa !5
  %23 = lshr i32 %22, 8
  %24 = trunc i32 %23 to i8
  %25 = load ptr, ptr %18, align 8, !tbaa !13
  %26 = add i32 %17, 1
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds i8, ptr %25, i64 %27
  store i8 %24, ptr %28, align 1, !tbaa !15
  %29 = load i32, ptr %6, align 8, !tbaa !5
  %30 = trunc i32 %29 to i8
  %31 = load ptr, ptr %18, align 8, !tbaa !13
  %32 = add i32 %17, 2
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds i8, ptr %31, i64 %33
  store i8 %30, ptr %34, align 1, !tbaa !15
  %35 = getelementptr inbounds i8, ptr %0, i64 40
  %36 = getelementptr inbounds i8, ptr %0, i64 52
  %37 = load i32, ptr %36, align 4, !tbaa !16
  %38 = trunc i32 %37 to i8
  %39 = load ptr, ptr %18, align 8, !tbaa !13
  %40 = add i32 %17, 3
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %39, i64 %41
  store i8 %38, ptr %42, align 1, !tbaa !15
  %43 = load i32, ptr %35, align 8, !tbaa !17
  %.tr = trunc i32 %43 to i8
  %44 = shl i8 %.tr, 5
  %45 = load ptr, ptr %18, align 8, !tbaa !13
  %46 = add i32 %17, 4
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds i8, ptr %45, i64 %47
  store i8 %44, ptr %48, align 1, !tbaa !15
  %49 = getelementptr inbounds i8, ptr %0, i64 44
  %50 = load i32, ptr %49, align 4, !tbaa !18
  %51 = load ptr, ptr %18, align 8, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %51, i64 %47
  %53 = load i8, ptr %52, align 1, !tbaa !15
  %54 = trunc i32 %50 to i8
  %55 = and i8 %54, 31
  %56 = or i8 %55, %53
  store i8 %56, ptr %52, align 1, !tbaa !15
  %57 = getelementptr inbounds i8, ptr %0, i64 48
  %58 = load i32, ptr %57, align 8, !tbaa !19
  %59 = trunc i32 %58 to i8
  %60 = and i8 %59, 31
  %61 = load ptr, ptr %18, align 8, !tbaa !13
  %62 = add i32 %17, 5
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds i8, ptr %61, i64 %63
  store i8 %60, ptr %64, align 1, !tbaa !15
  %65 = getelementptr inbounds i8, ptr %0, i64 96
  %66 = load ptr, ptr %65, align 8, !tbaa !20
  %67 = load ptr, ptr %18, align 8, !tbaa !13
  %68 = getelementptr inbounds i8, ptr %0, i64 112
  %69 = load ptr, ptr %68, align 8, !tbaa !21
  %70 = tail call i32 @qpacketmodem_encode(ptr noundef %66, ptr noundef %67, ptr noundef %69) #4
  %71 = getelementptr inbounds i8, ptr %0, i64 120
  %72 = load ptr, ptr %71, align 8, !tbaa !22
  %73 = load ptr, ptr %68, align 8, !tbaa !21
  %74 = getelementptr inbounds i8, ptr %0, i64 136
  %75 = load ptr, ptr %74, align 8, !tbaa !23
  %76 = tail call i32 @qpilotgen_execute(ptr noundef %72, ptr noundef %73, ptr noundef %75) #4
  %77 = tail call i32 @flexframegen_reconfigure(ptr noundef nonnull %0)
  %78 = getelementptr inbounds i8, ptr %0, i64 152
  %79 = load ptr, ptr %78, align 8, !tbaa !24
  %80 = getelementptr inbounds i8, ptr %0, i64 168
  %81 = load ptr, ptr %80, align 8, !tbaa !25
  %82 = tail call i32 @qpacketmodem_encode(ptr noundef %79, ptr noundef %2, ptr noundef %81) #4
  %83 = getelementptr inbounds i8, ptr %0, i64 184
  store i32 1, ptr %83, align 8, !tbaa !26
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare i32 @qpacketmodem_encode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @qpilotgen_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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, !7, i64 144}
!6 = !{!"flexframegen_s", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !8, i64 24, !12, i64 40, !12, i64 56, !11, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !11, i64 96, !7, i64 104, !11, i64 112, !11, i64 120, !7, i64 128, !11, i64 136, !7, i64 144, !11, i64 152, !7, i64 160, !11, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!13 = !{!6, !11, i64 80}
!14 = !{!6, !7, i64 88}
!15 = !{!8, !8, i64 0}
!16 = !{!6, !7, i64 52}
!17 = !{!6, !7, i64 40}
!18 = !{!6, !7, i64 44}
!19 = !{!6, !7, i64 48}
!20 = !{!6, !11, i64 96}
!21 = !{!6, !11, i64 112}
!22 = !{!6, !11, i64 120}
!23 = !{!6, !11, i64 136}
!24 = !{!6, !11, i64 152}
!25 = !{!6, !11, i64 168}
!26 = !{!6, !7, i64 184}


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