; LLVM IR from CerebusOSS/CereLink :: cbhwlib/CCFUtils.ll (ZN8CCFUtils12ReadCCFOfNSPEv)

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

%class.CCFUtils = type <{ ptr, ptr, i8, [7 x i8], ptr, i8, [7 x i8], ptr, i32, i32, i32, [4 x i8], ptr, i8, i8, [6 x i8] }>
%class.CCFUtilsXml_v1 = type { %class.CCFUtilsBinary, %struct.cbCCF }
%class.CCFUtilsBinary = type { %class.CCFUtils.base, [2 x i8], %"struct.ccf::ccfBinaryData" }
%class.CCFUtils.base = type <{ ptr, ptr, i8, [7 x i8], ptr, i8, [7 x i8], ptr, i32, i32, i32, [4 x i8], ptr, i8, i8 }>
%"struct.ccf::ccfBinaryData" = type <{ [160 x %struct.cbPKT_CHANINFO], %"struct.ccf::cbPKT_ADAPTFILTINFO_CB2005_37", %"struct.ccf::cbPKT_SS_DETECT_CB2005_37", %"struct.ccf::cbPKT_SS_ARTIF_REJECT_CB2005_37", [144 x %"struct.ccf::cbPKT_SS_NOISE_BOUNDARY_CB2005_37_type"], %"struct.ccf::cbPKT_SS_STATISTICS_CB2005_37_type", %"struct.ccf::cbPKT_SS_STATUS_CB2005_37", %"struct.ccf::cbPKT_SYSINFO_CB2005_37", [72 x %"struct.ccf::cbPKT_NTRODEINFO_CB2005_37"] }>
%struct.cbPKT_CHANINFO = type { %struct.cbPKT_HEADER, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.cbSCALING, %struct.cbFILTDESC, %struct.cbSCALING, %struct.cbFILTDESC, [16 x i8], i32, [4 x i32], %struct.cbSCALING, %struct.cbSCALING, i32, i32, i32, i32, %union.anon, i8, [2 x i8], i8, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i32, [5 x %struct.cbMANUALUNITMAPPING], [5 x [4 x %struct.cbHOOP]] }
%struct.cbPKT_HEADER = type { i64, i16, i16, i16, i8, i8 }
%struct.cbFILTDESC = type { [16 x i8], i32, i32, i32, i32, i32, i32 }
%struct.cbSCALING = type { i16, i16, i32, i32, i32, [8 x i8] }
%union.anon = type { %struct.anon }
%struct.anon = type { i16, i16, i32 }
%struct.cbMANUALUNITMAPPING = type { i16, [3 x i16], [3 x [3 x i16]], i16, i32 }
%struct.cbHOOP = type { i16, i16, i16, i16 }
%"struct.ccf::cbPKT_ADAPTFILTINFO_CB2005_37" = type { i32, i16, i8, i8, i32, i32, float, i32, i32 }
%"struct.ccf::cbPKT_SS_DETECT_CB2005_37" = type { i32, i16, i8, i8, float, float }
%"struct.ccf::cbPKT_SS_ARTIF_REJECT_CB2005_37" = type { i32, i16, i8, i8, i32, i32 }
%"struct.ccf::cbPKT_SS_NOISE_BOUNDARY_CB2005_37_type" = type { i32, i16, i8, i8, i32, [3 x float], [3 x [3 x float]] }
%"struct.ccf::cbPKT_SS_STATISTICS_CB2005_37_type" = type { i32, i16, i8, i8, i32, i32, i32, float, float, float, float, float, float, float, i32, i32 }
%"struct.ccf::cbPKT_SS_STATUS_CB2005_37" = type { i32, i16, i8, i8, %"struct.ccf::cbAdaptControl_37", %"struct.ccf::cbAdaptControl_37" }
%"struct.ccf::cbAdaptControl_37" = type { i32, float, float }
%"struct.ccf::cbPKT_SYSINFO_CB2005_37" = type { i32, i16, i8, i8, i32, i32, i32, i32, i32, i32 }
%"struct.ccf::cbPKT_NTRODEINFO_CB2005_37" = type { i32, i16, i8, i8, i32, [16 x i8], [6 x [5 x %"struct.ccf::cbMANUALUNITMAPPING_37"]], i16, i16, [4 x i16] }
%"struct.ccf::cbMANUALUNITMAPPING_37" = type { i16, [3 x i16], [3 x [3 x i16]], i16, i32 }
%struct.cbCCF = type <{ [596 x %struct.cbPKT_CHANINFO], %struct.cbPKT_ADAPTFILTINFO, %struct.cbPKT_SS_DETECT, %struct.cbPKT_SS_ARTIF_REJECT, [560 x %struct.cbPKT_SS_NOISE_BOUNDARY], %struct.cbPKT_SS_STATISTICS, %struct.cbPKT_SS_STATUS, %struct.cbPKT_SYSINFO, [280 x %struct.cbPKT_NTRODEINFO], [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], [4 x %struct.cbPKT_FILTINFO], %struct.cbPKT_LNC }>
%struct.cbPKT_ADAPTFILTINFO = type <{ %struct.cbPKT_HEADER, i32, i32, float, i32, i32 }>
%struct.cbPKT_SS_DETECT = type { %struct.cbPKT_HEADER, float, float }
%struct.cbPKT_SS_ARTIF_REJECT = type { %struct.cbPKT_HEADER, i32, i32 }
%struct.cbPKT_SS_NOISE_BOUNDARY = type <{ %struct.cbPKT_HEADER, i32, [3 x float], [3 x [3 x float]] }>
%struct.cbPKT_SS_STATISTICS = type { %struct.cbPKT_HEADER, i32, i32, i32, float, float, float, float, float, float, float, i32, i32 }
%struct.cbPKT_SS_STATUS = type { %struct.cbPKT_HEADER, %struct.cbAdaptControl, %struct.cbAdaptControl }
%struct.cbAdaptControl = type { i32, float, float }
%struct.cbPKT_SYSINFO = type { %struct.cbPKT_HEADER, i32, i32, i32, i32, i32, i32 }
%struct.cbPKT_NTRODEINFO = type { %struct.cbPKT_HEADER, i32, [16 x i8], [6 x [5 x %struct.cbMANUALUNITMAPPING]], i16, i16, [4 x i16] }
%struct.cbPKT_AOUT_WAVEFORM = type { %struct.cbPKT_HEADER, i16, i16, i32, i8, i8, i16, i16, i8, i8, %struct.cbWaveformData }
%struct.cbWaveformData = type { i16, %union.anon.1 }
%union.anon.1 = type { %struct.anon.3 }
%struct.anon.3 = type { i16, i16, i16, [246 x i16], [246 x i16] }
%struct.cbPKT_FILTINFO = type { %struct.cbPKT_HEADER, i32, i32, [16 x i8], i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double }
%struct.cbPKT_LNC = type <{ %struct.cbPKT_HEADER, i32, i32, i32 }>
%struct.cbCFGBUFF = type <{ i32, i32, %struct.cbOPTIONTABLE, %struct.cbCOLORTABLE, %struct.cbPKT_SYSINFO, [3 x %struct.cbPKT_PROCINFO], [3 x [22 x %struct.cbPKT_BANKINFO]], [3 x [8 x %struct.cbPKT_GROUPINFO]], [3 x [32 x %struct.cbPKT_FILTINFO]], [3 x %struct.cbPKT_ADAPTFILTINFO], [3 x %struct.cbPKT_REFELECFILTINFO], [596 x %struct.cbPKT_CHANINFO], %struct.cbSPIKE_SORTING, [280 x %struct.cbPKT_NTRODEINFO], [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], [3 x %struct.cbPKT_LNC], %struct.cbPKT_NPLAY, [1 x %struct.cbVIDEOSOURCE], [20 x %struct.cbTRACKOBJ], %struct.cbPKT_FILECFG, ptr }>
%struct.cbOPTIONTABLE = type { float, [31 x i32] }
%struct.cbCOLORTABLE = type { [48 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x i32], i32, [3 x i32], [5 x i32], [14 x i32] }
%struct.cbPKT_PROCINFO = type { %struct.cbPKT_HEADER, i32, i32, [64 x i8], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.cbPKT_BANKINFO = type <{ %struct.cbPKT_HEADER, i32, i32, i32, [64 x i8], [16 x i8], i32, i32 }>
%struct.cbPKT_GROUPINFO = type { %struct.cbPKT_HEADER, i32, i32, [16 x i8], i32, i32, [560 x i16] }
%struct.cbPKT_REFELECFILTINFO = type <{ %struct.cbPKT_HEADER, i32, i32, i32 }>
%struct.cbSPIKE_SORTING = type { [596 x %struct.cbPKT_FS_BASIS], [596 x [7 x %struct.cbPKT_SS_MODELSET]], %struct.cbPKT_SS_DETECT, %struct.cbPKT_SS_ARTIF_REJECT, [596 x %struct.cbPKT_SS_NOISE_BOUNDARY], %struct.cbPKT_SS_STATISTICS, %struct.cbPKT_SS_STATUS }
%struct.cbPKT_FS_BASIS = type <{ %struct.cbPKT_HEADER, i32, i32, i32, [128 x [3 x float]] }>
%struct.cbPKT_SS_MODELSET = type <{ %struct.cbPKT_HEADER, i32, i32, i32, i32, i32, [2 x float], [2 x [2 x float]], float, [2 x [2 x float]], float, float, float, float, float }>
%struct.cbPKT_NPLAY = type { %struct.cbPKT_HEADER, %union.anon.4, i64, i64, i64, i16, i16, float, [968 x i8] }
%union.anon.4 = type { i64 }
%struct.cbVIDEOSOURCE = type { [16 x i8], float }
%struct.cbTRACKOBJ = type { [16 x i8], i16, i16 }
%struct.cbPKT_FILECFG = type { %struct.cbPKT_HEADER, i32, i32, i32, i32, [256 x i8], %union.anon.5, [256 x i8] }
%union.anon.5 = type { [256 x i8] }

@_ZTI14CCFUtilsXml_v1 = external constant ptr
@_ZTI8CCFUtils = external dso_local constant { ptr, ptr }, align 8
@cb_pc_status_buffer_ptr = external global [4 x ptr], align 16
@cb_library_index = external global [4 x i32], align 16
@cb_cfg_buffer_ptr = external global [4 x ptr], align 16

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #0

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN10cbPcStatus19cbGetNumAnalogChansEv(ptr noundef nonnull align 1 dereferenceable(6160)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8CCFUtils12ReadCCFOfNSPEv(ptr noundef nonnull align 8 dereferenceable(74) %0) #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %13 = getelementptr inbounds %class.CCFUtils, ptr %12, i32 0, i32 10
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [4 x i32], ptr @cb_library_index, i64 0, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !13
  store i32 %17, ptr %3, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %18 = getelementptr inbounds %class.CCFUtils, ptr %12, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = icmp eq ptr %19, null
  br i1 %20, label %23, label %21

21:                                               ; preds = %1
  %22 = call ptr @__dynamic_cast(ptr %19, ptr @_ZTI8CCFUtils, ptr @_ZTI14CCFUtilsXml_v1, i64 0) #5
  br label %24

23:                                               ; preds = %1
  br label %24

24:                                               ; preds = %23, %21
  %25 = phi ptr [ %22, %21 ], [ null, %23 ]
  %26 = getelementptr inbounds %class.CCFUtilsXml_v1, ptr %25, i32 0, i32 1
  store ptr %26, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !13
  br label %27

27:                                               ; preds = %48, %24
  %28 = load i32, ptr %5, align 4, !tbaa !13
  %29 = icmp slt i32 %28, 4
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %51

31:                                               ; preds = %27
  %32 = load i32, ptr %3, align 4, !tbaa !13
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.cbCFGBUFF, ptr %35, i32 0, i32 8
  %37 = getelementptr inbounds [3 x [32 x %struct.cbPKT_FILTINFO]], ptr %36, i64 0, i64 0
  %38 = load i32, ptr %5, align 4, !tbaa !13
  %39 = add nsw i32 13, %38
  %40 = sub nsw i32 %39, 1
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [32 x %struct.cbPKT_FILTINFO], ptr %37, i64 0, i64 %41
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.cbCCF, ptr %43, i32 0, i32 10
  %45 = load i32, ptr %5, align 4, !tbaa !13
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [4 x %struct.cbPKT_FILTINFO], ptr %44, i64 0, i64 %46
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %47, ptr align 1 %42, i64 136, i1 false), !tbaa.struct !15
  br label %48

48:                                               ; preds = %31
  %49 = load i32, ptr %5, align 4, !tbaa !13
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %5, align 4, !tbaa !13
  br label %27, !llvm.loop !23

51:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %52

52:                                               ; preds = %70, %51
  %53 = load i32, ptr %6, align 4, !tbaa !13
  %54 = icmp slt i32 %53, 596
  br i1 %54, label %56, label %55

55:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %73

56:                                               ; preds = %52
  %57 = load i32, ptr %3, align 4, !tbaa !13
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %58
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.cbCFGBUFF, ptr %60, i32 0, i32 11
  %62 = load i32, ptr %6, align 4, !tbaa !13
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [596 x %struct.cbPKT_CHANINFO], ptr %61, i64 0, i64 %63
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.cbCCF, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %6, align 4, !tbaa !13
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [596 x %struct.cbPKT_CHANINFO], ptr %66, i64 0, i64 %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %69, ptr align 1 %64, i64 680, i1 false), !tbaa.struct !25
  br label %70

70:                                               ; preds = %56
  %71 = load i32, ptr %6, align 4, !tbaa !13
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %6, align 4, !tbaa !13
  br label %52, !llvm.loop !26

73:                                               ; preds = %55
  %74 = load i32, ptr %3, align 4, !tbaa !13
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %75
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.cbCFGBUFF, ptr %77, i32 0, i32 9
  %79 = getelementptr inbounds [3 x %struct.cbPKT_ADAPTFILTINFO], ptr %78, i64 0, i64 1
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.cbCCF, ptr %80, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %81, ptr align 1 %79, i64 36, i1 false), !tbaa.struct !27
  %82 = load i32, ptr %3, align 4, !tbaa !13
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %83
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.cbCFGBUFF, ptr %85, i32 0, i32 12
  %87 = getelementptr inbounds %struct.cbSPIKE_SORTING, ptr %86, i32 0, i32 2
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.cbCCF, ptr %88, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %89, ptr align 1 %87, i64 24, i1 false), !tbaa.struct !30
  %90 = load i32, ptr %3, align 4, !tbaa !13
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.cbCFGBUFF, ptr %93, i32 0, i32 12
  %95 = getelementptr inbounds %struct.cbSPIKE_SORTING, ptr %94, i32 0, i32 3
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.cbCCF, ptr %96, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %97, ptr align 1 %95, i64 24, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %98

98:                                               ; preds = %119, %73
  %99 = load i32, ptr %7, align 4, !tbaa !13
  %100 = load ptr, ptr @cb_pc_status_buffer_ptr, align 16, !tbaa !5
  %101 = call noundef i32 @_ZN10cbPcStatus19cbGetNumAnalogChansEv(ptr noundef nonnull align 1 dereferenceable(6160) %100)
  %102 = icmp ult i32 %99, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %122

104:                                              ; preds = %98
  %105 = load i32, ptr %3, align 4, !tbaa !13
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.cbCFGBUFF, ptr %108, i32 0, i32 12
  %110 = getelementptr inbounds %struct.cbSPIKE_SORTING, ptr %109, i32 0, i32 4
  %111 = load i32, ptr %7, align 4, !tbaa !13
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds [596 x %struct.cbPKT_SS_NOISE_BOUNDARY], ptr %110, i64 0, i64 %112
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.cbCCF, ptr %114, i32 0, i32 4
  %116 = load i32, ptr %7, align 4, !tbaa !13
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds [560 x %struct.cbPKT_SS_NOISE_BOUNDARY], ptr %115, i64 0, i64 %117
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %118, ptr align 1 %113, i64 68, i1 false), !tbaa.struct !32
  br label %119

119:                                              ; preds = %104
  %120 = load i32, ptr %7, align 4, !tbaa !13
  %121 = add i32 %120, 1
  store i32 %121, ptr %7, align 4, !tbaa !13
  br label %98, !llvm.loop !33

122:                                              ; preds = %103
  %123 = load i32, ptr %3, align 4, !tbaa !13
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %124
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.cbCFGBUFF, ptr %126, i32 0, i32 12
  %128 = getelementptr inbounds %struct.cbSPIKE_SORTING, ptr %127, i32 0, i32 5
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.cbCCF, ptr %129, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %130, ptr align 1 %128, i64 64, i1 false), !tbaa.struct !34
  %131 = load i32, ptr %3, align 4, !tbaa !13
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %132
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.cbCFGBUFF, ptr %134, i32 0, i32 12
  %136 = getelementptr inbounds %struct.cbSPIKE_SORTING, ptr %135, i32 0, i32 6
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.cbCCF, ptr %137, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %138, ptr align 1 %136, i64 40, i1 false), !tbaa.struct !35
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.cbCCF, ptr %139, i32 0, i32 6
  %141 = getelementptr inbounds %struct.cbPKT_SS_STATUS, ptr %140, i32 0, i32 2
  %142 = getelementptr inbounds %struct.cbAdaptControl, ptr %141, i32 0, i32 2
  store float 9.900000e+01, ptr %142, align 1, !tbaa !36
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.cbCCF, ptr %143, i32 0, i32 6
  %145 = getelementptr inbounds %struct.cbPKT_SS_STATUS, ptr %144, i32 0, i32 1
  %146 = getelementptr inbounds %struct.cbAdaptControl, ptr %145, i32 0, i32 2
  store float 9.900000e+01, ptr %146, align 1, !tbaa !47
  %147 = load i32, ptr %3, align 4, !tbaa !13
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %148
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.cbCFGBUFF, ptr %150, i32 0, i32 4
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.cbCCF, ptr %152, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %153, ptr align 1 %151, i64 40, i1 false), !tbaa.struct !48
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.cbCCF, ptr %154, i32 0, i32 7
  %156 = getelementptr inbounds %struct.cbPKT_SYSINFO, ptr %155, i32 0, i32 0
  %157 = getelementptr inbounds %struct.cbPKT_HEADER, ptr %156, i32 0, i32 2
  store i16 145, ptr %157, align 1, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %158

158:                                              ; preds = %176, %122
  %159 = load i32, ptr %8, align 4, !tbaa !13
  %160 = icmp slt i32 %159, 280
  br i1 %160, label %162, label %161

161:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %179

162:                                              ; preds = %158
  %163 = load i32, ptr %3, align 4, !tbaa !13
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.cbCFGBUFF, ptr %166, i32 0, i32 13
  %168 = load i32, ptr %8, align 4, !tbaa !13
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [280 x %struct.cbPKT_NTRODEINFO], ptr %167, i64 0, i64 %169
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.cbCCF, ptr %171, i32 0, i32 8
  %173 = load i32, ptr %8, align 4, !tbaa !13
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [280 x %struct.cbPKT_NTRODEINFO], ptr %172, i64 0, i64 %174
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %175, ptr align 1 %170, i64 1008, i1 false), !tbaa.struct !50
  br label %176

176:                                              ; preds = %162
  %177 = load i32, ptr %8, align 4, !tbaa !13
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %8, align 4, !tbaa !13
  br label %158, !llvm.loop !51

179:                                              ; preds = %161
  %180 = load i32, ptr %3, align 4, !tbaa !13
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %181
  %183 = load ptr, ptr %182, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.cbCFGBUFF, ptr %183, i32 0, i32 15
  %185 = getelementptr inbounds [3 x %struct.cbPKT_LNC], ptr %184, i64 0, i64 1
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.cbCCF, ptr %186, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %187, ptr align 1 %185, i64 28, i1 false), !tbaa.struct !52
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !13
  br label %188

188:                                              ; preds = %230, %179
  %189 = load i32, ptr %9, align 4, !tbaa !13
  %190 = icmp slt i32 %189, 18
  br i1 %190, label %192, label %191

191:                                              ; preds = %188
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %233

192:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %193

193:                                              ; preds = %226, %192
  %194 = load i32, ptr %11, align 4, !tbaa !13
  %195 = icmp slt i32 %194, 5
  br i1 %195, label %197, label %196

196:                                              ; preds = %193
  store i32 17, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %229

197:                                              ; preds = %193
  %198 = load i32, ptr %3, align 4, !tbaa !13
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %199
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.cbCFGBUFF, ptr %201, i32 0, i32 14
  %203 = load i32, ptr %9, align 4, !tbaa !13
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %202, i64 0, i64 %204
  %206 = load i32, ptr %11, align 4, !tbaa !13
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [5 x %struct.cbPKT_AOUT_WAVEFORM], ptr %205, i64 0, i64 %207
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.cbCCF, ptr %209, i32 0, i32 9
  %211 = load i32, ptr %9, align 4, !tbaa !13
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %210, i64 0, i64 %212
  %214 = load i32, ptr %11, align 4, !tbaa !13
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [5 x %struct.cbPKT_AOUT_WAVEFORM], ptr %213, i64 0, i64 %215
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %216, ptr align 1 %208, i64 1024, i1 false), !tbaa.struct !53
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.cbCCF, ptr %217, i32 0, i32 9
  %219 = load i32, ptr %9, align 4, !tbaa !13
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %218, i64 0, i64 %220
  %222 = load i32, ptr %11, align 4, !tbaa !13
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [5 x %struct.cbPKT_AOUT_WAVEFORM], ptr %221, i64 0, i64 %223
  %225 = getelementptr inbounds %struct.cbPKT_AOUT_WAVEFORM, ptr %224, i32 0, i32 9
  store i8 0, ptr %225, align 1, !tbaa !54
  br label %226

226:                                              ; preds = %197
  %227 = load i32, ptr %11, align 4, !tbaa !13
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %11, align 4, !tbaa !13
  br label %193, !llvm.loop !57

229:                                              ; preds = %196
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %9, align 4, !tbaa !13
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %9, align 4, !tbaa !13
  br label %188, !llvm.loop !58

233:                                              ; preds = %191
  %234 = getelementptr inbounds %class.CCFUtils, ptr %12, i32 0, i32 7
  %235 = load ptr, ptr %234, align 8, !tbaa !59
  %236 = icmp ne ptr %235, null
  br i1 %236, label %237, label %249

237:                                              ; preds = %233
  %238 = getelementptr inbounds %class.CCFUtils, ptr %12, i32 0, i32 1
  %239 = load ptr, ptr %238, align 8, !tbaa !14
  %240 = icmp eq ptr %239, null
  br i1 %240, label %243, label %241

241:                                              ; preds = %237
  %242 = call ptr @__dynamic_cast(ptr %239, ptr @_ZTI8CCFUtils, ptr @_ZTI14CCFUtilsXml_v1, i64 0) #5
  br label %244

243:                                              ; preds = %237
  br label %244

244:                                              ; preds = %243, %241
  %245 = phi ptr [ %242, %241 ], [ null, %243 ]
  %246 = getelementptr inbounds %class.CCFUtilsXml_v1, ptr %245, i32 0, i32 1
  %247 = getelementptr inbounds %class.CCFUtils, ptr %12, i32 0, i32 7
  %248 = load ptr, ptr %247, align 8, !tbaa !59
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %248, ptr align 8 %246, i64 818560, i1 false), !tbaa.struct !60
  br label %249

249:                                              ; preds = %244, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

attributes #0 = { nounwind willreturn memory(read) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { mustprogress 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++ TBAA"}
!9 = !{!10, !12, i64 56}
!10 = !{!"_ZTS8CCFUtils", !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !6, i64 64, !11, i64 72, !11, i64 73}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !6, i64 8}
!15 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 16, !20, i64 40, i64 4, !13, i64 44, i64 4, !13, i64 48, i64 4, !13, i64 52, i64 4, !13, i64 56, i64 4, !13, i64 60, i64 4, !13, i64 64, i64 8, !21, i64 72, i64 8, !21, i64 80, i64 8, !21, i64 88, i64 8, !21, i64 96, i64 8, !21, i64 104, i64 8, !21, i64 112, i64 8, !21, i64 120, i64 8, !21, i64 128, i64 8, !21}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 4, !13, i64 28, i64 4, !13, i64 32, i64 4, !13, i64 36, i64 4, !13, i64 40, i64 4, !13, i64 44, i64 4, !13, i64 48, i64 4, !13, i64 52, i64 4, !13, i64 56, i64 2, !18, i64 58, i64 2, !18, i64 60, i64 4, !13, i64 64, i64 4, !13, i64 68, i64 4, !13, i64 72, i64 8, !20, i64 80, i64 16, !20, i64 96, i64 4, !13, i64 100, i64 4, !13, i64 104, i64 4, !13, i64 108, i64 4, !13, i64 112, i64 4, !13, i64 116, i64 4, !13, i64 120, i64 2, !18, i64 122, i64 2, !18, i64 124, i64 4, !13, i64 128, i64 4, !13, i64 132, i64 4, !13, i64 136, i64 8, !20, i64 144, i64 16, !20, i64 160, i64 4, !13, i64 164, i64 4, !13, i64 168, i64 4, !13, i64 172, i64 4, !13, i64 176, i64 4, !13, i64 180, i64 4, !13, i64 184, i64 16, !20, i64 200, i64 4, !13, i64 204, i64 16, !20, i64 220, i64 2, !18, i64 222, i64 2, !18, i64 224, i64 4, !13, i64 228, i64 4, !13, i64 232, i64 4, !13, i64 236, i64 8, !20, i64 244, i64 2, !18, i64 246, i64 2, !18, i64 248, i64 4, !13, i64 252, i64 4, !13, i64 256, i64 4, !13, i64 260, i64 8, !20, i64 268, i64 4, !13, i64 272, i64 4, !13, i64 276, i64 4, !13, i64 280, i64 4, !13, i64 284, i64 8, !20, i64 292, i64 1, !20, i64 293, i64 2, !20, i64 295, i64 1, !20, i64 296, i64 2, !18, i64 298, i64 2, !18, i64 300, i64 4, !13, i64 304, i64 4, !13, i64 308, i64 4, !13, i64 312, i64 4, !13, i64 316, i64 4, !13, i64 320, i64 4, !13, i64 324, i64 4, !13, i64 328, i64 4, !13, i64 332, i64 4, !13, i64 336, i64 4, !13, i64 340, i64 4, !13, i64 344, i64 4, !13, i64 348, i64 4, !13, i64 352, i64 2, !18, i64 354, i64 2, !18, i64 356, i64 4, !13, i64 360, i64 160, !20, i64 520, i64 160, !20}
!26 = distinct !{!26, !24}
!27 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 4, !28, i64 28, i64 4, !13, i64 32, i64 4, !13}
!28 = !{!29, !29, i64 0}
!29 = !{!"float", !7, i64 0}
!30 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !28, i64 20, i64 4, !28}
!31 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13}
!32 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 12, !20, i64 32, i64 36, !20}
!33 = distinct !{!33, !24}
!34 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 4, !13, i64 28, i64 4, !28, i64 32, i64 4, !28, i64 36, i64 4, !28, i64 40, i64 4, !28, i64 44, i64 4, !28, i64 48, i64 4, !28, i64 52, i64 4, !28, i64 56, i64 4, !13, i64 60, i64 4, !13}
!35 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !28, i64 24, i64 4, !28, i64 28, i64 4, !13, i64 32, i64 4, !28, i64 36, i64 4, !28}
!36 = !{!37, !29, i64 443544}
!37 = !{!"_ZTS5cbCCF", !7, i64 0, !38, i64 405280, !40, i64 405316, !41, i64 405340, !7, i64 405364, !42, i64 443444, !43, i64 443508, !45, i64 443548, !7, i64 443588, !7, i64 725828, !7, i64 817988, !46, i64 818532}
!38 = !{!"_ZTS19cbPKT_ADAPTFILTINFO", !39, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !12, i64 28, !12, i64 32}
!39 = !{!"_ZTS12cbPKT_HEADER", !17, i64 0, !19, i64 8, !19, i64 10, !19, i64 12, !7, i64 14, !7, i64 15}
!40 = !{!"_ZTS15cbPKT_SS_DETECT", !39, i64 0, !29, i64 16, !29, i64 20}
!41 = !{!"_ZTS21cbPKT_SS_ARTIF_REJECT", !39, i64 0, !12, i64 16, !12, i64 20}
!42 = !{!"_ZTS19cbPKT_SS_STATISTICS", !39, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !29, i64 28, !29, i64 32, !29, i64 36, !29, i64 40, !29, i64 44, !29, i64 48, !29, i64 52, !12, i64 56, !12, i64 60}
!43 = !{!"_ZTS15cbPKT_SS_STATUS", !39, i64 0, !44, i64 16, !44, i64 28}
!44 = !{!"_ZTS14cbAdaptControl", !12, i64 0, !29, i64 4, !29, i64 8}
!45 = !{!"_ZTS13cbPKT_SYSINFO", !39, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36}
!46 = !{!"_ZTS9cbPKT_LNC", !39, i64 0, !12, i64 16, !12, i64 20, !12, i64 24}
!47 = !{!37, !29, i64 443532}
!48 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 4, !13, i64 28, i64 4, !13, i64 32, i64 4, !13, i64 36, i64 4, !13}
!49 = !{!37, !19, i64 443558}
!50 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 16, !20, i64 36, i64 960, !20, i64 996, i64 2, !18, i64 998, i64 2, !18, i64 1000, i64 8, !20}
!51 = distinct !{!51, !24}
!52 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 4, !13}
!53 = !{i64 0, i64 8, !16, i64 8, i64 2, !18, i64 10, i64 2, !18, i64 12, i64 2, !18, i64 14, i64 1, !20, i64 15, i64 1, !20, i64 16, i64 2, !18, i64 18, i64 2, !18, i64 20, i64 4, !13, i64 24, i64 1, !20, i64 25, i64 1, !20, i64 26, i64 2, !18, i64 28, i64 2, !18, i64 30, i64 1, !20, i64 31, i64 1, !20, i64 32, i64 2, !18, i64 34, i64 990, !20}
!54 = !{!55, !7, i64 31}
!55 = !{!"_ZTS19cbPKT_AOUT_WAVEFORM", !39, i64 0, !19, i64 16, !19, i64 18, !12, i64 20, !7, i64 24, !7, i64 25, !19, i64 26, !19, i64 28, !7, i64 30, !7, i64 31, !56, i64 32}
!56 = !{!"_ZTS14cbWaveformData", !19, i64 0, !7, i64 2}
!57 = distinct !{!57, !24}
!58 = distinct !{!58, !24}
!59 = !{!10, !6, i64 40}
!60 = !{i64 0, i64 405280, !20, i64 405280, i64 8, !16, i64 405288, i64 2, !18, i64 405290, i64 2, !18, i64 405292, i64 2, !18, i64 405294, i64 1, !20, i64 405295, i64 1, !20, i64 405296, i64 4, !13, i64 405300, i64 4, !13, i64 405304, i64 4, !28, i64 405308, i64 4, !13, i64 405312, i64 4, !13, i64 405316, i64 8, !16, i64 405324, i64 2, !18, i64 405326, i64 2, !18, i64 405328, i64 2, !18, i64 405330, i64 1, !20, i64 405331, i64 1, !20, i64 405332, i64 4, !28, i64 405336, i64 4, !28, i64 405340, i64 8, !16, i64 405348, i64 2, !18, i64 405350, i64 2, !18, i64 405352, i64 2, !18, i64 405354, i64 1, !20, i64 405355, i64 1, !20, i64 405356, i64 4, !13, i64 405360, i64 4, !13, i64 405364, i64 38080, !20, i64 443444, i64 8, !16, i64 443452, i64 2, !18, i64 443454, i64 2, !18, i64 443456, i64 2, !18, i64 443458, i64 1, !20, i64 443459, i64 1, !20, i64 443460, i64 4, !13, i64 443464, i64 4, !13, i64 443468, i64 4, !13, i64 443472, i64 4, !28, i64 443476, i64 4, !28, i64 443480, i64 4, !28, i64 443484, i64 4, !28, i64 443488, i64 4, !28, i64 443492, i64 4, !28, i64 443496, i64 4, !28, i64 443500, i64 4, !13, i64 443504, i64 4, !13, i64 443508, i64 8, !16, i64 443516, i64 2, !18, i64 443518, i64 2, !18, i64 443520, i64 2, !18, i64 443522, i64 1, !20, i64 443523, i64 1, !20, i64 443524, i64 4, !13, i64 443528, i64 4, !28, i64 443532, i64 4, !28, i64 443536, i64 4, !13, i64 443540, i64 4, !28, i64 443544, i64 4, !28, i64 443548, i64 8, !16, i64 443556, i64 2, !18, i64 443558, i64 2, !18, i64 443560, i64 2, !18, i64 443562, i64 1, !20, i64 443563, i64 1, !20, i64 443564, i64 4, !13, i64 443568, i64 4, !13, i64 443572, i64 4, !13, i64 443576, i64 4, !13, i64 443580, i64 4, !13, i64 443584, i64 4, !13, i64 443588, i64 282240, !20, i64 725828, i64 92160, !20, i64 817988, i64 544, !20, i64 818532, i64 8, !16, i64 818540, i64 2, !18, i64 818542, i64 2, !18, i64 818544, i64 2, !18, i64 818546, i64 1, !20, i64 818547, i64 1, !20, i64 818548, i64 4, !13, i64 818552, i64 4, !13, i64 818556, i64 4, !13}


; 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.cbPKT_CHANINFO = type { %struct.cbPKT_HEADER, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.cbSCALING, %struct.cbFILTDESC, %struct.cbSCALING, %struct.cbFILTDESC, [16 x i8], i32, [4 x i32], %struct.cbSCALING, %struct.cbSCALING, i32, i32, i32, i32, %union.anon, i8, [2 x i8], i8, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i32, [5 x %struct.cbMANUALUNITMAPPING], [5 x [4 x %struct.cbHOOP]] }
%struct.cbPKT_HEADER = type { i64, i16, i16, i16, i8, i8 }
%struct.cbFILTDESC = type { [16 x i8], i32, i32, i32, i32, i32, i32 }
%struct.cbSCALING = type { i16, i16, i32, i32, i32, [8 x i8] }
%union.anon = type { %struct.anon }
%struct.anon = type { i16, i16, i32 }
%struct.cbMANUALUNITMAPPING = type { i16, [3 x i16], [3 x [3 x i16]], i16, i32 }
%struct.cbHOOP = type { i16, i16, i16, i16 }
%struct.cbPKT_SS_NOISE_BOUNDARY = type <{ %struct.cbPKT_HEADER, i32, [3 x float], [3 x [3 x float]] }>
%struct.cbPKT_NTRODEINFO = type { %struct.cbPKT_HEADER, i32, [16 x i8], [6 x [5 x %struct.cbMANUALUNITMAPPING]], i16, i16, [4 x i16] }
%struct.cbPKT_AOUT_WAVEFORM = type { %struct.cbPKT_HEADER, i16, i16, i32, i8, i8, i16, i16, i8, i8, %struct.cbWaveformData }
%struct.cbWaveformData = type { i16, %union.anon.1 }
%union.anon.1 = type { %struct.anon.3 }
%struct.anon.3 = type { i16, i16, i16, [246 x i16], [246 x i16] }

@_ZTI14CCFUtilsXml_v1 = external constant ptr
@_ZTI8CCFUtils = external dso_local constant { ptr, ptr }, align 8
@cb_pc_status_buffer_ptr = external local_unnamed_addr global [4 x ptr], align 16
@cb_library_index = external local_unnamed_addr global [4 x i32], align 16
@cb_cfg_buffer_ptr = external local_unnamed_addr global [4 x ptr], align 16

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN10cbPcStatus19cbGetNumAnalogChansEv(ptr noundef nonnull align 1 dereferenceable(6160)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8CCFUtils12ReadCCFOfNSPEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(74) %0) local_unnamed_addr #2 align 2 {
.preheader61:
  %1 = getelementptr inbounds i8, ptr %0, i64 56
  %2 = load i32, ptr %1, align 8, !tbaa !5
  %3 = sext i32 %2 to i64
  %4 = getelementptr inbounds [4 x i32], ptr @cb_library_index, i64 0, i64 %3
  %5 = load i32, ptr %4, align 4, !tbaa !12
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !13, !nonnull !14, !noundef !14
  %8 = tail call ptr @__dynamic_cast(ptr nonnull %7, ptr nonnull @_ZTI8CCFUtils, ptr nonnull @_ZTI14CCFUtilsXml_v1, i64 0) #3
  %9 = zext i32 %5 to i64
  %10 = getelementptr inbounds [4 x ptr], ptr @cb_cfg_buffer_ptr, i64 0, i64 %9
  %11 = getelementptr inbounds i8, ptr %8, i64 1007684
  %12 = load ptr, ptr %10, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %12, i64 38264
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(136) %11, ptr noundef nonnull align 1 dereferenceable(136) %13, i64 136, i1 false), !tbaa.struct !16
  %14 = load ptr, ptr %10, align 8, !tbaa !15
  %15 = getelementptr inbounds i8, ptr %14, i64 38400
  %16 = getelementptr inbounds i8, ptr %8, i64 1007820
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(136) %16, ptr noundef nonnull align 1 dereferenceable(136) %15, i64 136, i1 false), !tbaa.struct !16
  %17 = load ptr, ptr %10, align 8, !tbaa !15
  %18 = getelementptr inbounds i8, ptr %17, i64 38536
  %19 = getelementptr inbounds i8, ptr %8, i64 1007956
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(136) %19, ptr noundef nonnull align 1 dereferenceable(136) %18, i64 136, i1 false), !tbaa.struct !16
  %20 = load ptr, ptr %10, align 8, !tbaa !15
  %21 = getelementptr inbounds i8, ptr %20, i64 38672
  %22 = getelementptr inbounds i8, ptr %8, i64 1008092
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(136) %22, ptr noundef nonnull align 1 dereferenceable(136) %21, i64 136, i1 false), !tbaa.struct !16
  %23 = getelementptr inbounds i8, ptr %8, i64 189696
  br label %37

24:                                               ; preds = %37
  %25 = load ptr, ptr %10, align 8, !tbaa !15
  %26 = getelementptr inbounds i8, ptr %25, i64 49724
  %27 = getelementptr inbounds i8, ptr %8, i64 594976
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(36) %27, ptr noundef nonnull align 1 dereferenceable(36) %26, i64 36, i1 false), !tbaa.struct !24
  %28 = load ptr, ptr %10, align 8, !tbaa !15
  %29 = getelementptr inbounds i8, ptr %28, i64 1804504
  %30 = getelementptr inbounds i8, ptr %8, i64 595012
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(24) %30, ptr noundef nonnull align 1 dereferenceable(24) %29, i64 24, i1 false), !tbaa.struct !27
  %31 = load ptr, ptr %10, align 8, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %31, i64 1804528
  %33 = getelementptr inbounds i8, ptr %8, i64 595036
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(24) %33, ptr noundef nonnull align 1 dereferenceable(24) %32, i64 24, i1 false), !tbaa.struct !28
  %34 = load ptr, ptr @cb_pc_status_buffer_ptr, align 16, !tbaa !15
  %35 = tail call noundef i32 @_ZN10cbPcStatus19cbGetNumAnalogChansEv(ptr noundef nonnull align 1 dereferenceable(6160) %34)
  %.not68 = icmp eq i32 %35, 0
  br i1 %.not68, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %24
  %36 = getelementptr inbounds i8, ptr %8, i64 595060
  br label %59

37:                                               ; preds = %37, %.preheader61
  %indvars.iv = phi i64 [ 0, %.preheader61 ], [ %indvars.iv.next.1, %37 ]
  %38 = load ptr, ptr %10, align 8, !tbaa !15
  %39 = getelementptr inbounds i8, ptr %38, i64 49880
  %40 = getelementptr inbounds [596 x %struct.cbPKT_CHANINFO], ptr %39, i64 0, i64 %indvars.iv
  %41 = getelementptr inbounds [596 x %struct.cbPKT_CHANINFO], ptr %23, i64 0, i64 %indvars.iv
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(680) %41, ptr noundef nonnull align 1 dereferenceable(680) %40, i64 680, i1 false), !tbaa.struct !29
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %42 = load ptr, ptr %10, align 8, !tbaa !15
  %43 = getelementptr inbounds i8, ptr %42, i64 49880
  %44 = getelementptr inbounds [596 x %struct.cbPKT_CHANINFO], ptr %43, i64 0, i64 %indvars.iv.next
  %45 = getelementptr inbounds [596 x %struct.cbPKT_CHANINFO], ptr %23, i64 0, i64 %indvars.iv.next
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(680) %45, ptr noundef nonnull align 1 dereferenceable(680) %44, i64 680, i1 false), !tbaa.struct !29
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 596
  br i1 %exitcond.not.1, label %24, label %37, !llvm.loop !30

._crit_edge:                                      ; preds = %59, %24
  %46 = load ptr, ptr %10, align 8, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %46, i64 1845080
  %48 = getelementptr inbounds i8, ptr %8, i64 633140
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(64) %48, ptr noundef nonnull align 1 dereferenceable(64) %47, i64 64, i1 false), !tbaa.struct !32
  %49 = load ptr, ptr %10, align 8, !tbaa !15
  %50 = getelementptr inbounds i8, ptr %49, i64 1845144
  %51 = getelementptr inbounds i8, ptr %8, i64 633204
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(40) %51, ptr noundef nonnull align 1 dereferenceable(40) %50, i64 36, i1 false), !tbaa.struct !33
  %52 = getelementptr inbounds i8, ptr %8, i64 633240
  store float 9.900000e+01, ptr %52, align 1, !tbaa !34
  %53 = getelementptr inbounds i8, ptr %8, i64 633228
  store float 9.900000e+01, ptr %53, align 1, !tbaa !45
  %54 = load ptr, ptr %10, align 8, !tbaa !15
  %55 = getelementptr inbounds i8, ptr %54, i64 520
  %56 = getelementptr inbounds i8, ptr %8, i64 633244
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(40) %56, ptr noundef nonnull align 1 dereferenceable(40) %55, i64 40, i1 false), !tbaa.struct !46
  %57 = getelementptr inbounds i8, ptr %8, i64 633254
  store i16 145, ptr %57, align 1, !tbaa !47
  %58 = getelementptr inbounds i8, ptr %8, i64 633284
  br label %73

59:                                               ; preds = %.lr.ph, %59
  %indvars.iv71 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next72, %59 ]
  %60 = load ptr, ptr %10, align 8, !tbaa !15
  %61 = getelementptr inbounds i8, ptr %60, i64 1804552
  %62 = getelementptr inbounds [596 x %struct.cbPKT_SS_NOISE_BOUNDARY], ptr %61, i64 0, i64 %indvars.iv71
  %63 = getelementptr inbounds [560 x %struct.cbPKT_SS_NOISE_BOUNDARY], ptr %36, i64 0, i64 %indvars.iv71
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(68) %63, ptr noundef nonnull align 1 dereferenceable(68) %62, i64 68, i1 false), !tbaa.struct !48
  %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71, 1
  %64 = load ptr, ptr @cb_pc_status_buffer_ptr, align 16, !tbaa !15
  %65 = tail call noundef i32 @_ZN10cbPcStatus19cbGetNumAnalogChansEv(ptr noundef nonnull align 1 dereferenceable(6160) %64)
  %66 = zext i32 %65 to i64
  %67 = icmp ult i64 %indvars.iv.next72, %66
  br i1 %67, label %59, label %._crit_edge, !llvm.loop !49

68:                                               ; preds = %73
  %69 = load ptr, ptr %10, align 8, !tbaa !15
  %70 = getelementptr inbounds i8, ptr %69, i64 2219612
  %71 = getelementptr inbounds i8, ptr %8, i64 1008228
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(28) %71, ptr noundef nonnull align 1 dereferenceable(28) %70, i64 28, i1 false), !tbaa.struct !50
  %72 = getelementptr inbounds i8, ptr %8, i64 915524
  br label %.preheader

73:                                               ; preds = %73, %._crit_edge
  %indvars.iv74 = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next75.1, %73 ]
  %74 = load ptr, ptr %10, align 8, !tbaa !15
  %75 = getelementptr inbounds i8, ptr %74, i64 1845184
  %76 = getelementptr inbounds [280 x %struct.cbPKT_NTRODEINFO], ptr %75, i64 0, i64 %indvars.iv74
  %77 = getelementptr inbounds [280 x %struct.cbPKT_NTRODEINFO], ptr %58, i64 0, i64 %indvars.iv74
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1008) %77, ptr noundef nonnull align 1 dereferenceable(1008) %76, i64 1008, i1 false), !tbaa.struct !51
  %indvars.iv.next75 = or disjoint i64 %indvars.iv74, 1
  %78 = load ptr, ptr %10, align 8, !tbaa !15
  %79 = getelementptr inbounds i8, ptr %78, i64 1845184
  %80 = getelementptr inbounds [280 x %struct.cbPKT_NTRODEINFO], ptr %79, i64 0, i64 %indvars.iv.next75
  %81 = getelementptr inbounds [280 x %struct.cbPKT_NTRODEINFO], ptr %58, i64 0, i64 %indvars.iv.next75
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1008) %81, ptr noundef nonnull align 1 dereferenceable(1008) %80, i64 1008, i1 false), !tbaa.struct !51
  %indvars.iv.next75.1 = add nuw nsw i64 %indvars.iv74, 2
  %exitcond77.not.1 = icmp eq i64 %indvars.iv.next75.1, 280
  br i1 %exitcond77.not.1, label %68, label %73, !llvm.loop !52

.preheader:                                       ; preds = %68, %.preheader
  %indvars.iv82 = phi i64 [ 0, %68 ], [ %indvars.iv.next83, %.preheader ]
  %82 = load ptr, ptr %10, align 8, !tbaa !15
  %83 = getelementptr inbounds i8, ptr %82, i64 2127424
  %84 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %83, i64 0, i64 %indvars.iv82, i64 0
  %85 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %72, i64 0, i64 %indvars.iv82, i64 0
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %85, ptr noundef nonnull align 1 dereferenceable(1024) %84, i64 1024, i1 false), !tbaa.struct !53
  %86 = getelementptr inbounds i8, ptr %85, i64 31
  store i8 0, ptr %86, align 1, !tbaa !54
  %87 = load ptr, ptr %10, align 8, !tbaa !15
  %88 = getelementptr inbounds i8, ptr %87, i64 2127424
  %89 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %88, i64 0, i64 %indvars.iv82, i64 1
  %90 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %72, i64 0, i64 %indvars.iv82, i64 1
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %90, ptr noundef nonnull align 1 dereferenceable(1024) %89, i64 1024, i1 false), !tbaa.struct !53
  %91 = getelementptr inbounds i8, ptr %90, i64 31
  store i8 0, ptr %91, align 1, !tbaa !54
  %92 = load ptr, ptr %10, align 8, !tbaa !15
  %93 = getelementptr inbounds i8, ptr %92, i64 2127424
  %94 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %93, i64 0, i64 %indvars.iv82, i64 2
  %95 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %72, i64 0, i64 %indvars.iv82, i64 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %95, ptr noundef nonnull align 1 dereferenceable(1024) %94, i64 1024, i1 false), !tbaa.struct !53
  %96 = getelementptr inbounds i8, ptr %95, i64 31
  store i8 0, ptr %96, align 1, !tbaa !54
  %97 = load ptr, ptr %10, align 8, !tbaa !15
  %98 = getelementptr inbounds i8, ptr %97, i64 2127424
  %99 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %98, i64 0, i64 %indvars.iv82, i64 3
  %100 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %72, i64 0, i64 %indvars.iv82, i64 3
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %100, ptr noundef nonnull align 1 dereferenceable(1024) %99, i64 1024, i1 false), !tbaa.struct !53
  %101 = getelementptr inbounds i8, ptr %100, i64 31
  store i8 0, ptr %101, align 1, !tbaa !54
  %102 = load ptr, ptr %10, align 8, !tbaa !15
  %103 = getelementptr inbounds i8, ptr %102, i64 2127424
  %104 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %103, i64 0, i64 %indvars.iv82, i64 4
  %105 = getelementptr inbounds [18 x [5 x %struct.cbPKT_AOUT_WAVEFORM]], ptr %72, i64 0, i64 %indvars.iv82, i64 4
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %105, ptr noundef nonnull align 1 dereferenceable(1024) %104, i64 1024, i1 false), !tbaa.struct !53
  %106 = getelementptr inbounds i8, ptr %105, i64 31
  store i8 0, ptr %106, align 1, !tbaa !54
  %indvars.iv.next83 = add nuw nsw i64 %indvars.iv82, 1
  %exitcond85.not = icmp eq i64 %indvars.iv.next83, 18
  br i1 %exitcond85.not, label %107, label %.preheader, !llvm.loop !57

107:                                              ; preds = %.preheader
  %108 = getelementptr inbounds i8, ptr %0, i64 40
  %109 = load ptr, ptr %108, align 8, !tbaa !58
  %.not = icmp eq ptr %109, null
  br i1 %.not, label %114, label %110

110:                                              ; preds = %107
  %111 = load ptr, ptr %6, align 8, !tbaa !13, !nonnull !14, !noundef !14
  %112 = tail call ptr @__dynamic_cast(ptr nonnull %111, ptr nonnull @_ZTI8CCFUtils, ptr nonnull @_ZTI14CCFUtilsXml_v1, i64 0) #3
  %113 = getelementptr inbounds i8, ptr %112, i64 189696
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(818560) %109, ptr noundef nonnull align 8 dereferenceable(818560) %113, i64 818560, i1 false), !tbaa.struct !59
  br label %114

114:                                              ; preds = %110, %107
  ret void
}

attributes #0 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 56}
!6 = !{!"_ZTS8CCFUtils", !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !7, i64 64, !10, i64 72, !10, i64 73}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{}
!15 = !{!7, !7, i64 0}
!16 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 16, !21, i64 40, i64 4, !12, i64 44, i64 4, !12, i64 48, i64 4, !12, i64 52, i64 4, !12, i64 56, i64 4, !12, i64 60, i64 4, !12, i64 64, i64 8, !22, i64 72, i64 8, !22, i64 80, i64 8, !22, i64 88, i64 8, !22, i64 96, i64 8, !22, i64 104, i64 8, !22, i64 112, i64 8, !22, i64 120, i64 8, !22, i64 128, i64 8, !22}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"short", !8, i64 0}
!21 = !{!8, !8, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !8, i64 0}
!24 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !25, i64 28, i64 4, !12, i64 32, i64 4, !12}
!25 = !{!26, !26, i64 0}
!26 = !{!"float", !8, i64 0}
!27 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !25, i64 20, i64 4, !25}
!28 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12}
!29 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !12, i64 28, i64 4, !12, i64 32, i64 4, !12, i64 36, i64 4, !12, i64 40, i64 4, !12, i64 44, i64 4, !12, i64 48, i64 4, !12, i64 52, i64 4, !12, i64 56, i64 2, !19, i64 58, i64 2, !19, i64 60, i64 4, !12, i64 64, i64 4, !12, i64 68, i64 4, !12, i64 72, i64 8, !21, i64 80, i64 16, !21, i64 96, i64 4, !12, i64 100, i64 4, !12, i64 104, i64 4, !12, i64 108, i64 4, !12, i64 112, i64 4, !12, i64 116, i64 4, !12, i64 120, i64 2, !19, i64 122, i64 2, !19, i64 124, i64 4, !12, i64 128, i64 4, !12, i64 132, i64 4, !12, i64 136, i64 8, !21, i64 144, i64 16, !21, i64 160, i64 4, !12, i64 164, i64 4, !12, i64 168, i64 4, !12, i64 172, i64 4, !12, i64 176, i64 4, !12, i64 180, i64 4, !12, i64 184, i64 16, !21, i64 200, i64 4, !12, i64 204, i64 16, !21, i64 220, i64 2, !19, i64 222, i64 2, !19, i64 224, i64 4, !12, i64 228, i64 4, !12, i64 232, i64 4, !12, i64 236, i64 8, !21, i64 244, i64 2, !19, i64 246, i64 2, !19, i64 248, i64 4, !12, i64 252, i64 4, !12, i64 256, i64 4, !12, i64 260, i64 8, !21, i64 268, i64 4, !12, i64 272, i64 4, !12, i64 276, i64 4, !12, i64 280, i64 4, !12, i64 284, i64 8, !21, i64 292, i64 1, !21, i64 293, i64 2, !21, i64 295, i64 1, !21, i64 296, i64 2, !19, i64 298, i64 2, !19, i64 300, i64 4, !12, i64 304, i64 4, !12, i64 308, i64 4, !12, i64 312, i64 4, !12, i64 316, i64 4, !12, i64 320, i64 4, !12, i64 324, i64 4, !12, i64 328, i64 4, !12, i64 332, i64 4, !12, i64 336, i64 4, !12, i64 340, i64 4, !12, i64 344, i64 4, !12, i64 348, i64 4, !12, i64 352, i64 2, !19, i64 354, i64 2, !19, i64 356, i64 4, !12, i64 360, i64 160, !21, i64 520, i64 160, !21}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !12, i64 28, i64 4, !25, i64 32, i64 4, !25, i64 36, i64 4, !25, i64 40, i64 4, !25, i64 44, i64 4, !25, i64 48, i64 4, !25, i64 52, i64 4, !25, i64 56, i64 4, !12, i64 60, i64 4, !12}
!33 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !25, i64 24, i64 4, !25, i64 28, i64 4, !12, i64 32, i64 4, !25, i64 36, i64 4, !25}
!34 = !{!35, !26, i64 443544}
!35 = !{!"_ZTS5cbCCF", !8, i64 0, !36, i64 405280, !38, i64 405316, !39, i64 405340, !8, i64 405364, !40, i64 443444, !41, i64 443508, !43, i64 443548, !8, i64 443588, !8, i64 725828, !8, i64 817988, !44, i64 818532}
!36 = !{!"_ZTS19cbPKT_ADAPTFILTINFO", !37, i64 0, !11, i64 16, !11, i64 20, !26, i64 24, !11, i64 28, !11, i64 32}
!37 = !{!"_ZTS12cbPKT_HEADER", !18, i64 0, !20, i64 8, !20, i64 10, !20, i64 12, !8, i64 14, !8, i64 15}
!38 = !{!"_ZTS15cbPKT_SS_DETECT", !37, i64 0, !26, i64 16, !26, i64 20}
!39 = !{!"_ZTS21cbPKT_SS_ARTIF_REJECT", !37, i64 0, !11, i64 16, !11, i64 20}
!40 = !{!"_ZTS19cbPKT_SS_STATISTICS", !37, i64 0, !11, i64 16, !11, i64 20, !11, i64 24, !26, i64 28, !26, i64 32, !26, i64 36, !26, i64 40, !26, i64 44, !26, i64 48, !26, i64 52, !11, i64 56, !11, i64 60}
!41 = !{!"_ZTS15cbPKT_SS_STATUS", !37, i64 0, !42, i64 16, !42, i64 28}
!42 = !{!"_ZTS14cbAdaptControl", !11, i64 0, !26, i64 4, !26, i64 8}
!43 = !{!"_ZTS13cbPKT_SYSINFO", !37, i64 0, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36}
!44 = !{!"_ZTS9cbPKT_LNC", !37, i64 0, !11, i64 16, !11, i64 20, !11, i64 24}
!45 = !{!35, !26, i64 443532}
!46 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !12, i64 28, i64 4, !12, i64 32, i64 4, !12, i64 36, i64 4, !12}
!47 = !{!35, !20, i64 443558}
!48 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 12, !21, i64 32, i64 36, !21}
!49 = distinct !{!49, !31}
!50 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 4, !12, i64 24, i64 4, !12}
!51 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 4, !12, i64 20, i64 16, !21, i64 36, i64 960, !21, i64 996, i64 2, !19, i64 998, i64 2, !19, i64 1000, i64 8, !21}
!52 = distinct !{!52, !31}
!53 = !{i64 0, i64 8, !17, i64 8, i64 2, !19, i64 10, i64 2, !19, i64 12, i64 2, !19, i64 14, i64 1, !21, i64 15, i64 1, !21, i64 16, i64 2, !19, i64 18, i64 2, !19, i64 20, i64 4, !12, i64 24, i64 1, !21, i64 25, i64 1, !21, i64 26, i64 2, !19, i64 28, i64 2, !19, i64 30, i64 1, !21, i64 31, i64 1, !21, i64 32, i64 2, !19, i64 34, i64 990, !21}
!54 = !{!55, !8, i64 31}
!55 = !{!"_ZTS19cbPKT_AOUT_WAVEFORM", !37, i64 0, !20, i64 16, !20, i64 18, !11, i64 20, !8, i64 24, !8, i64 25, !20, i64 26, !20, i64 28, !8, i64 30, !8, i64 31, !56, i64 32}
!56 = !{!"_ZTS14cbWaveformData", !20, i64 0, !8, i64 2}
!57 = distinct !{!57, !31}
!58 = !{!6, !7, i64 40}
!59 = !{i64 0, i64 405280, !21, i64 405280, i64 8, !17, i64 405288, i64 2, !19, i64 405290, i64 2, !19, i64 405292, i64 2, !19, i64 405294, i64 1, !21, i64 405295, i64 1, !21, i64 405296, i64 4, !12, i64 405300, i64 4, !12, i64 405304, i64 4, !25, i64 405308, i64 4, !12, i64 405312, i64 4, !12, i64 405316, i64 8, !17, i64 405324, i64 2, !19, i64 405326, i64 2, !19, i64 405328, i64 2, !19, i64 405330, i64 1, !21, i64 405331, i64 1, !21, i64 405332, i64 4, !25, i64 405336, i64 4, !25, i64 405340, i64 8, !17, i64 405348, i64 2, !19, i64 405350, i64 2, !19, i64 405352, i64 2, !19, i64 405354, i64 1, !21, i64 405355, i64 1, !21, i64 405356, i64 4, !12, i64 405360, i64 4, !12, i64 405364, i64 38080, !21, i64 443444, i64 8, !17, i64 443452, i64 2, !19, i64 443454, i64 2, !19, i64 443456, i64 2, !19, i64 443458, i64 1, !21, i64 443459, i64 1, !21, i64 443460, i64 4, !12, i64 443464, i64 4, !12, i64 443468, i64 4, !12, i64 443472, i64 4, !25, i64 443476, i64 4, !25, i64 443480, i64 4, !25, i64 443484, i64 4, !25, i64 443488, i64 4, !25, i64 443492, i64 4, !25, i64 443496, i64 4, !25, i64 443500, i64 4, !12, i64 443504, i64 4, !12, i64 443508, i64 8, !17, i64 443516, i64 2, !19, i64 443518, i64 2, !19, i64 443520, i64 2, !19, i64 443522, i64 1, !21, i64 443523, i64 1, !21, i64 443524, i64 4, !12, i64 443528, i64 4, !25, i64 443532, i64 4, !25, i64 443536, i64 4, !12, i64 443540, i64 4, !25, i64 443544, i64 4, !25, i64 443548, i64 8, !17, i64 443556, i64 2, !19, i64 443558, i64 2, !19, i64 443560, i64 2, !19, i64 443562, i64 1, !21, i64 443563, i64 1, !21, i64 443564, i64 4, !12, i64 443568, i64 4, !12, i64 443572, i64 4, !12, i64 443576, i64 4, !12, i64 443580, i64 4, !12, i64 443584, i64 4, !12, i64 443588, i64 282240, !21, i64 725828, i64 92160, !21, i64 817988, i64 544, !21, i64 818532, i64 8, !17, i64 818540, i64 2, !19, i64 818542, i64 2, !19, i64 818544, i64 2, !19, i64 818546, i64 1, !21, i64 818547, i64 1, !21, i64 818548, i64 4, !12, i64 818552, i64 4, !12, i64 818556, i64 4, !12}


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