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

; 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.modulation_type_s = type { ptr, ptr, i32, i32 }
%struct.div_t = type { i32, i32 }
%struct.ofdmflexframegen_s = type { i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, i32, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ofdmflexframegenprops_s, %struct.ofdmflexframegenprops_s }
%struct.ofdmflexframegenprops_s = type { i32, i32, i32, i32 }

@modulation_types = external constant [53 x %struct.modulation_type_s], align 16

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

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

declare i32 @packetizer_get_enc_msg_len(ptr noundef) #1

declare ptr @modemcf_create(i32 noundef) #1

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

declare i32 @packetizer_destroy(ptr noundef) #1

declare i32 @modemcf_destroy(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @ofdmflexframegen_set_header_len(ptr noundef %0, i32 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.div_t, align 4
  %7 = alloca %struct.div_t, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %8 = load i32, ptr %4, align 4, !tbaa !9
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %9, i32 0, i32 21
  store i32 %8, ptr %10, align 8, !tbaa !11
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %11, i32 0, i32 21
  %13 = load i32, ptr %12, align 8, !tbaa !11
  %14 = add i32 6, %13
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %15, i32 0, i32 22
  store i32 %14, ptr %16, align 4, !tbaa !14
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %17, i32 0, i32 18
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %20, i32 0, i32 22
  %22 = load i32, ptr %21, align 4, !tbaa !14
  %23 = zext i32 %22 to i64
  %24 = mul i64 %23, 1
  %25 = call ptr @realloc(ptr noundef %19, i64 noundef %24) #5
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %26, i32 0, i32 18
  store ptr %25, ptr %27, align 8, !tbaa !15
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %28, i32 0, i32 17
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %37

32:                                               ; preds = %2
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %33, i32 0, i32 17
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %36 = call i32 @packetizer_destroy(ptr noundef %35)
  br label %37

37:                                               ; preds = %32, %2
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %38, i32 0, i32 22
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %41, i32 0, i32 39
  %43 = getelementptr inbounds %struct.ofdmflexframegenprops_s, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !17
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %45, i32 0, i32 39
  %47 = getelementptr inbounds %struct.ofdmflexframegenprops_s, ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 4, !tbaa !18
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %49, i32 0, i32 39
  %51 = getelementptr inbounds %struct.ofdmflexframegenprops_s, ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 8, !tbaa !19
  %53 = call ptr @packetizer_create(i32 noundef %40, i32 noundef %44, i32 noundef %48, i32 noundef %52)
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %54, i32 0, i32 17
  store ptr %53, ptr %55, align 8, !tbaa !16
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %56, i32 0, i32 17
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  %59 = call i32 @packetizer_get_enc_msg_len(ptr noundef %58)
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %60, i32 0, i32 23
  store i32 %59, ptr %61, align 8, !tbaa !20
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %62, i32 0, i32 19
  %64 = load ptr, ptr %63, align 8, !tbaa !21
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %65, i32 0, i32 23
  %67 = load i32, ptr %66, align 8, !tbaa !20
  %68 = zext i32 %67 to i64
  %69 = mul i64 %68, 1
  %70 = call ptr @realloc(ptr noundef %64, i64 noundef %69) #5
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %71, i32 0, i32 19
  store ptr %70, ptr %72, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %73, i32 0, i32 39
  %75 = getelementptr inbounds %struct.ofdmflexframegenprops_s, ptr %74, i32 0, i32 3
  %76 = load i32, ptr %75, align 4, !tbaa !22
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds [53 x %struct.modulation_type_s], ptr @modulation_types, i64 0, i64 %77
  %79 = getelementptr inbounds %struct.modulation_type_s, ptr %78, i32 0, i32 3
  %80 = load i32, ptr %79, align 4, !tbaa !23
  store i32 %80, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %81, i32 0, i32 23
  %83 = load i32, ptr %82, align 8, !tbaa !20
  %84 = mul i32 %83, 8
  %85 = load i32, ptr %5, align 4, !tbaa !9
  %86 = call i64 @div(i32 noundef %84, i32 noundef %85) #7
  store i64 %86, ptr %6, align 4
  %87 = getelementptr inbounds %struct.div_t, ptr %6, i32 0, i32 0
  %88 = load i32, ptr %87, align 4, !tbaa !25
  %89 = getelementptr inbounds %struct.div_t, ptr %6, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !27
  %91 = icmp ne i32 %90, 0
  %92 = zext i1 %91 to i64
  %93 = select i1 %91, i32 1, i32 0
  %94 = add nsw i32 %88, %93
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %95, i32 0, i32 24
  store i32 %94, ptr %96, align 4, !tbaa !28
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %97, i32 0, i32 20
  %99 = load ptr, ptr %98, align 8, !tbaa !29
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %100, i32 0, i32 24
  %102 = load i32, ptr %101, align 4, !tbaa !28
  %103 = zext i32 %102 to i64
  %104 = mul i64 %103, 1
  %105 = call ptr @realloc(ptr noundef %99, i64 noundef %104) #5
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %106, i32 0, i32 20
  store ptr %105, ptr %107, align 8, !tbaa !29
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %108, i32 0, i32 16
  %110 = load ptr, ptr %109, align 8, !tbaa !30
  %111 = icmp ne ptr %110, null
  br i1 %111, label %112, label %117

112:                                              ; preds = %37
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %113, i32 0, i32 16
  %115 = load ptr, ptr %114, align 8, !tbaa !30
  %116 = call i32 @modemcf_destroy(ptr noundef %115)
  br label %117

117:                                              ; preds = %112, %37
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %118, i32 0, i32 39
  %120 = getelementptr inbounds %struct.ofdmflexframegenprops_s, ptr %119, i32 0, i32 3
  %121 = load i32, ptr %120, align 4, !tbaa !22
  %122 = call ptr @modemcf_create(i32 noundef %121)
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %123, i32 0, i32 16
  store ptr %122, ptr %124, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %125, i32 0, i32 24
  %127 = load i32, ptr %126, align 4, !tbaa !28
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %129, align 8, !tbaa !31
  %131 = call i64 @div(i32 noundef %127, i32 noundef %130) #7
  store i64 %131, ptr %7, align 4
  %132 = getelementptr inbounds %struct.div_t, ptr %7, i32 0, i32 0
  %133 = load i32, ptr %132, align 4, !tbaa !25
  %134 = getelementptr inbounds %struct.div_t, ptr %7, i32 0, i32 1
  %135 = load i32, ptr %134, align 4, !tbaa !27
  %136 = icmp ne i32 %135, 0
  %137 = zext i1 %136 to i64
  %138 = select i1 %136, i32 1, i32 0
  %139 = add nsw i32 %133, %138
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ofdmflexframegen_s, ptr %140, i32 0, i32 14
  store i32 %139, ptr %141, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret i32 0
}

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) #4

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 allocsize(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 #4 = { nounwind willreturn memory(none) "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 allocsize(1) }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }

!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 128}
!12 = !{!"ofdmflexframegen_s", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !6, i64 144, !10, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !13, i64 216, !13, i64 232}
!13 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!14 = !{!12, !10, i64 132}
!15 = !{!12, !6, i64 104}
!16 = !{!12, !6, i64 96}
!17 = !{!12, !10, i64 232}
!18 = !{!12, !10, i64 236}
!19 = !{!12, !10, i64 240}
!20 = !{!12, !10, i64 136}
!21 = !{!12, !6, i64 112}
!22 = !{!12, !10, i64 244}
!23 = !{!24, !10, i64 20}
!24 = !{!"modulation_type_s", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20}
!25 = !{!26, !10, i64 0}
!26 = !{!"", !10, i64 0, !10, i64 4}
!27 = !{!26, !10, i64 4}
!28 = !{!12, !10, i64 140}
!29 = !{!12, !6, i64 120}
!30 = !{!12, !6, i64 88}
!31 = !{!12, !10, i64 32}
!32 = !{!12, !10, i64 80}


; 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.modulation_type_s = type { ptr, ptr, i32, i32 }

@modulation_types = external local_unnamed_addr constant [53 x %struct.modulation_type_s], align 16

declare ptr @packetizer_create(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @packetizer_get_enc_msg_len(ptr noundef) local_unnamed_addr #0

declare ptr @modemcf_create(i32 noundef) local_unnamed_addr #0

declare i32 @packetizer_destroy(ptr noundef) local_unnamed_addr #0

declare i32 @modemcf_destroy(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ofdmflexframegen_set_header_len(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 %1, ptr %3, align 8, !tbaa !5
  %4 = add i32 %1, 6
  %5 = getelementptr inbounds i8, ptr %0, i64 132
  store i32 %4, ptr %5, align 4, !tbaa !12
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  %7 = load ptr, ptr %6, align 8, !tbaa !13
  %8 = zext i32 %4 to i64
  %9 = tail call ptr @realloc(ptr noundef %7, i64 noundef %8) #4
  store ptr %9, ptr %6, align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %0, i64 96
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %14, label %12

12:                                               ; preds = %2
  %13 = tail call i32 @packetizer_destroy(ptr noundef nonnull %11) #5
  br label %14

14:                                               ; preds = %12, %2
  %15 = load i32, ptr %5, align 4, !tbaa !12
  %16 = getelementptr inbounds i8, ptr %0, i64 232
  %17 = load i32, ptr %16, align 8, !tbaa !15
  %18 = getelementptr inbounds i8, ptr %0, i64 236
  %19 = load i32, ptr %18, align 4, !tbaa !16
  %20 = getelementptr inbounds i8, ptr %0, i64 240
  %21 = load i32, ptr %20, align 8, !tbaa !17
  %22 = tail call ptr @packetizer_create(i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21) #5
  store ptr %22, ptr %10, align 8, !tbaa !14
  %23 = tail call i32 @packetizer_get_enc_msg_len(ptr noundef %22) #5
  %24 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 %23, ptr %24, align 8, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %0, i64 112
  %26 = load ptr, ptr %25, align 8, !tbaa !19
  %27 = zext i32 %23 to i64
  %28 = tail call ptr @realloc(ptr noundef %26, i64 noundef %27) #4
  store ptr %28, ptr %25, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %0, i64 244
  %30 = load i32, ptr %29, align 4, !tbaa !20
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds [53 x %struct.modulation_type_s], ptr @modulation_types, i64 0, i64 %31, i32 3
  %33 = load i32, ptr %32, align 4, !tbaa !21
  %34 = load i32, ptr %24, align 8, !tbaa !18
  %35 = shl i32 %34, 3
  %36 = tail call i64 @div(i32 noundef %35, i32 noundef %33) #6
  %.sroa.01.0.extract.trunc = trunc i64 %36 to i32
  %.not35 = icmp ugt i64 %36, 4294967295
  %37 = zext i1 %.not35 to i32
  %38 = add nsw i32 %37, %.sroa.01.0.extract.trunc
  %39 = getelementptr inbounds i8, ptr %0, i64 140
  store i32 %38, ptr %39, align 4, !tbaa !23
  %40 = getelementptr inbounds i8, ptr %0, i64 120
  %41 = load ptr, ptr %40, align 8, !tbaa !24
  %42 = zext i32 %38 to i64
  %43 = tail call ptr @realloc(ptr noundef %41, i64 noundef %42) #4
  store ptr %43, ptr %40, align 8, !tbaa !24
  %44 = getelementptr inbounds i8, ptr %0, i64 88
  %45 = load ptr, ptr %44, align 8, !tbaa !25
  %.not36 = icmp eq ptr %45, null
  br i1 %.not36, label %48, label %46

46:                                               ; preds = %14
  %47 = tail call i32 @modemcf_destroy(ptr noundef nonnull %45) #5
  br label %48

48:                                               ; preds = %46, %14
  %49 = load i32, ptr %29, align 4, !tbaa !20
  %50 = tail call ptr @modemcf_create(i32 noundef %49) #5
  store ptr %50, ptr %44, align 8, !tbaa !25
  %51 = load i32, ptr %39, align 4, !tbaa !23
  %52 = getelementptr inbounds i8, ptr %0, i64 32
  %53 = load i32, ptr %52, align 8, !tbaa !26
  %54 = tail call i64 @div(i32 noundef %51, i32 noundef %53) #6
  %.sroa.0.0.extract.trunc = trunc i64 %54 to i32
  %.not37 = icmp ugt i64 %54, 4294967295
  %55 = zext i1 %.not37 to i32
  %56 = add nsw i32 %55, %.sroa.0.0.extract.trunc
  %57 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 %56, ptr %57, align 8, !tbaa !27
  ret i32 0
}

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) local_unnamed_addr #3

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 = { 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 nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 allocsize(1) }
attributes #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(none) }

!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 128}
!6 = !{!"ofdmflexframegen_s", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !10, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !7, i64 84, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !11, i64 216, !11, i64 232}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!6, !7, i64 132}
!13 = !{!6, !10, i64 104}
!14 = !{!6, !10, i64 96}
!15 = !{!6, !7, i64 232}
!16 = !{!6, !7, i64 236}
!17 = !{!6, !7, i64 240}
!18 = !{!6, !7, i64 136}
!19 = !{!6, !10, i64 112}
!20 = !{!6, !7, i64 244}
!21 = !{!22, !7, i64 20}
!22 = !{!"modulation_type_s", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 20}
!23 = !{!6, !7, i64 140}
!24 = !{!6, !10, i64 120}
!25 = !{!6, !10, i64 88}
!26 = !{!6, !7, i64 32}
!27 = !{!6, !7, i64 80}


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