; LLVM IR from CerebusOSS/CereLink :: cbhwlib/CCFUtilsBinary.ll (ZN14CCFUtilsBinary21ReadCCFData_cb2005_36EP8_IO_FILE)

; 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.ccf::cbPKT_CHANINFO_CB2005_36" = type { i32, i16, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"struct.ccf::cbSCALING_30", %"struct.ccf::cbFILTDESC_10", %"struct.ccf::cbSCALING_30", %"struct.ccf::cbFILTDESC_10", [16 x i8], i32, [4 x i32], %"struct.ccf::cbSCALING_30", %"struct.ccf::cbSCALING_30", i32, i32, i32, i32, %union.anon.4, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i32, [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], [5 x [4 x %"struct.ccf::cbHOOP_10"]] }
%"struct.ccf::cbFILTDESC_10" = type { [16 x i8], i32, i32, i32, i32, i32, i32 }
%"struct.ccf::cbSCALING_30" = type { i16, i16, i32, i32, i32, [8 x i8] }
%union.anon.4 = type { %struct.anon.5 }
%struct.anon.5 = type { i32, i32 }
%"struct.ccf::cbMANUALUNITMAPPING_36" = type { i32, [3 x float], [3 x [3 x float]], float, i32 }
%"struct.ccf::cbHOOP_10" = type { i16, i16, i16, i16 }
%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 }

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, 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

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, 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: mustprogress uwtable
define dso_local noundef i32 @_ZN14CCFUtilsBinary21ReadCCFData_cb2005_36EP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.ccf::cbPKT_CHANINFO_CB2005_36", align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 804, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %11

11:                                               ; preds = %434, %2
  %12 = load i32, ptr %6, align 4, !tbaa !9
  %13 = icmp slt i32 %12, 160
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %437

15:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %16 = getelementptr inbounds %class.CCFUtilsBinary, ptr %10, i32 0, i32 2
  %17 = getelementptr inbounds %"struct.ccf::ccfBinaryData", ptr %16, i32 0, i32 0
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [160 x %struct.cbPKT_CHANINFO], ptr %17, i64 0, i64 %19
  store ptr %20, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN14CCFUtilsBinary18SetChannelDefaultsER14cbPKT_CHANINFO(ptr noundef nonnull align 8 dereferenceable(189696) %10, ptr noundef nonnull align 1 dereferenceable(680) %21)
  call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 804, i1 false)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call i64 @fread(ptr noundef %5, i64 noundef 1, i64 noundef 804, ptr noundef %22)
  %24 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 4
  %25 = load i32, ptr %24, align 4, !tbaa !11
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %433

27:                                               ; preds = %15
  %28 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 4
  %29 = load i32, ptr %28, align 4, !tbaa !11
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %30, i32 0, i32 1
  store i32 %29, ptr %31, align 1, !tbaa !16
  %32 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 5
  %33 = load i32, ptr %32, align 4, !tbaa !22
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %34, i32 0, i32 2
  store i32 %33, ptr %35, align 1, !tbaa !23
  %36 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 6
  %37 = load i32, ptr %36, align 4, !tbaa !24
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %38, i32 0, i32 3
  store i32 %37, ptr %39, align 1, !tbaa !25
  %40 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 7
  %41 = load i32, ptr %40, align 4, !tbaa !26
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %42, i32 0, i32 4
  store i32 %41, ptr %43, align 1, !tbaa !27
  %44 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 8
  %45 = load i32, ptr %44, align 4, !tbaa !28
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %46, i32 0, i32 5
  store i32 %45, ptr %47, align 1, !tbaa !29
  %48 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 9
  %49 = load i32, ptr %48, align 4, !tbaa !30
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %50, i32 0, i32 6
  store i32 %49, ptr %51, align 1, !tbaa !31
  %52 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 10
  %53 = load i32, ptr %52, align 4, !tbaa !32
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %54, i32 0, i32 7
  store i32 %53, ptr %55, align 1, !tbaa !33
  %56 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 11
  %57 = load i32, ptr %56, align 4, !tbaa !34
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %58, i32 0, i32 8
  store i32 %57, ptr %59, align 1, !tbaa !35
  %60 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 12
  %61 = load i32, ptr %60, align 4, !tbaa !36
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %62, i32 0, i32 9
  store i32 %61, ptr %63, align 1, !tbaa !37
  %64 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 13
  %65 = load i32, ptr %64, align 4, !tbaa !38
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %66, i32 0, i32 10
  store i32 %65, ptr %67, align 1, !tbaa !39
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %68, i32 0, i32 11
  %70 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %69, ptr align 4 %70, i64 24, i1 false)
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %71, i32 0, i32 12
  %73 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %72, ptr align 4 %73, i64 40, i1 false)
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %74, i32 0, i32 13
  %76 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %75, ptr align 4 %76, i64 40, i1 false)
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %77, i32 0, i32 14
  %79 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %78, ptr align 4 %79, i64 40, i1 false)
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %80, i32 0, i32 15
  %82 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %81, ptr align 4 %82, i64 16, i1 false)
  %83 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 19
  %84 = load i32, ptr %83, align 4, !tbaa !40
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %85, i32 0, i32 16
  store i32 %84, ptr %86, align 1, !tbaa !41
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %87, i32 0, i32 17
  %89 = getelementptr inbounds [4 x i32], ptr %88, i64 0, i64 0
  %90 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 20
  %91 = getelementptr inbounds [4 x i32], ptr %90, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %89, ptr align 4 %91, i64 16, i1 false)
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %92, i32 0, i32 18
  %94 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 21
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %93, ptr align 4 %94, i64 24, i1 false)
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %95, i32 0, i32 19
  %97 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 22
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %96, ptr align 4 %97, i64 24, i1 false)
  %98 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 23
  %99 = load i32, ptr %98, align 4, !tbaa !42
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %100, i32 0, i32 20
  store i32 %99, ptr %101, align 1, !tbaa !43
  %102 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 24
  %103 = load i32, ptr %102, align 4, !tbaa !44
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %104, i32 0, i32 21
  store i32 %103, ptr %105, align 1, !tbaa !45
  %106 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 25
  %107 = load i32, ptr %106, align 4, !tbaa !46
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %108, i32 0, i32 22
  store i32 %107, ptr %109, align 1, !tbaa !47
  %110 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 26
  %111 = load i32, ptr %110, align 4, !tbaa !48
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %112, i32 0, i32 23
  store i32 %111, ptr %113, align 1, !tbaa !49
  %114 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 27
  %115 = getelementptr inbounds %struct.anon.5, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 4, !tbaa !50
  %117 = and i32 %116, 65535
  %118 = trunc i32 %117 to i16
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %119, i32 0, i32 24
  %121 = getelementptr inbounds %struct.anon, ptr %120, i32 0, i32 0
  store i16 %118, ptr %121, align 1, !tbaa !50
  %122 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 27
  %123 = getelementptr inbounds %struct.anon.5, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 4, !tbaa !50
  %125 = lshr i32 %124, 16
  %126 = and i32 %125, 65535
  %127 = trunc i32 %126 to i16
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %128, i32 0, i32 24
  %130 = getelementptr inbounds %struct.anon, ptr %129, i32 0, i32 1
  store i16 %127, ptr %130, align 1, !tbaa !50
  %131 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 27
  %132 = getelementptr inbounds %struct.anon.5, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %132, align 4, !tbaa !50
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %134, i32 0, i32 24
  %136 = getelementptr inbounds %struct.anon, ptr %135, i32 0, i32 2
  store i32 %133, ptr %136, align 1, !tbaa !50
  %137 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 28
  %138 = load i32, ptr %137, align 4, !tbaa !51
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %139, i32 0, i32 30
  store i32 %138, ptr %140, align 1, !tbaa !52
  %141 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 29
  %142 = load i32, ptr %141, align 4, !tbaa !53
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %143, i32 0, i32 31
  store i32 %142, ptr %144, align 1, !tbaa !54
  %145 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 30
  %146 = load i32, ptr %145, align 4, !tbaa !55
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %147, i32 0, i32 32
  store i32 %146, ptr %148, align 1, !tbaa !56
  %149 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 31
  %150 = load i32, ptr %149, align 4, !tbaa !57
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %151, i32 0, i32 33
  store i32 %150, ptr %152, align 1, !tbaa !58
  %153 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 32
  %154 = load i32, ptr %153, align 4, !tbaa !59
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %155, i32 0, i32 34
  store i32 %154, ptr %156, align 1, !tbaa !60
  %157 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 33
  %158 = load i32, ptr %157, align 4, !tbaa !61
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %159, i32 0, i32 35
  store i32 %158, ptr %160, align 1, !tbaa !62
  %161 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 34
  %162 = load i32, ptr %161, align 4, !tbaa !63
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %163, i32 0, i32 36
  store i32 %162, ptr %164, align 1, !tbaa !64
  %165 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 35
  %166 = load i32, ptr %165, align 4, !tbaa !65
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %167, i32 0, i32 37
  store i32 %166, ptr %168, align 1, !tbaa !66
  %169 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 37
  %170 = load i32, ptr %169, align 4, !tbaa !67
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %171, i32 0, i32 39
  store i32 %170, ptr %172, align 1, !tbaa !68
  %173 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 38
  %174 = load i32, ptr %173, align 4, !tbaa !69
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %175, i32 0, i32 40
  store i32 %174, ptr %176, align 1, !tbaa !70
  %177 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 39
  %178 = load i32, ptr %177, align 4, !tbaa !71
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %179, i32 0, i32 41
  store i32 %178, ptr %180, align 1, !tbaa !72
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %181, i32 0, i32 47
  %183 = getelementptr inbounds [5 x [4 x %struct.cbHOOP]], ptr %182, i64 0, i64 0
  %184 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 45
  %185 = getelementptr inbounds [5 x [4 x %"struct.ccf::cbHOOP_10"]], ptr %184, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %183, ptr align 4 %185, i64 160, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %429, %27
  %187 = load i32, ptr %9, align 4, !tbaa !9
  %188 = icmp slt i32 %187, 5
  br i1 %188, label %190, label %189

189:                                              ; preds = %186
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %432

190:                                              ; preds = %186
  %191 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %191, i64 0, i64 %193
  %195 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 4, !tbaa !73
  %197 = trunc i32 %196 to i16
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %198, i32 0, i32 46
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %199, i64 0, i64 %201
  %203 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %202, i32 0, i32 0
  store i16 %197, ptr %203, align 1, !tbaa !76
  %204 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %205 = load i32, ptr %9, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %204, i64 0, i64 %206
  %208 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %207, i32 0, i32 1
  %209 = getelementptr inbounds [3 x float], ptr %208, i64 0, i64 0
  %210 = load float, ptr %209, align 4, !tbaa !78
  %211 = fptosi float %210 to i16
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %212, i32 0, i32 46
  %214 = load i32, ptr %9, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %213, i64 0, i64 %215
  %217 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %216, i32 0, i32 1
  %218 = getelementptr inbounds [3 x i16], ptr %217, i64 0, i64 0
  store i16 %211, ptr %218, align 1, !tbaa !79
  %219 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %220 = load i32, ptr %9, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %219, i64 0, i64 %221
  %223 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %222, i32 0, i32 1
  %224 = getelementptr inbounds [3 x float], ptr %223, i64 0, i64 1
  %225 = load float, ptr %224, align 4, !tbaa !78
  %226 = fptosi float %225 to i16
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %227, i32 0, i32 46
  %229 = load i32, ptr %9, align 4, !tbaa !9
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %228, i64 0, i64 %230
  %232 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %231, i32 0, i32 1
  %233 = getelementptr inbounds [3 x i16], ptr %232, i64 0, i64 1
  store i16 %226, ptr %233, align 1, !tbaa !79
  %234 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %235 = load i32, ptr %9, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %234, i64 0, i64 %236
  %238 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %237, i32 0, i32 1
  %239 = getelementptr inbounds [3 x float], ptr %238, i64 0, i64 2
  %240 = load float, ptr %239, align 4, !tbaa !78
  %241 = fptosi float %240 to i16
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %242, i32 0, i32 46
  %244 = load i32, ptr %9, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %243, i64 0, i64 %245
  %247 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %246, i32 0, i32 1
  %248 = getelementptr inbounds [3 x i16], ptr %247, i64 0, i64 2
  store i16 %241, ptr %248, align 1, !tbaa !79
  %249 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %250 = load i32, ptr %9, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %249, i64 0, i64 %251
  %253 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %252, i32 0, i32 2
  %254 = getelementptr inbounds [3 x [3 x float]], ptr %253, i64 0, i64 0
  %255 = getelementptr inbounds [3 x float], ptr %254, i64 0, i64 0
  %256 = load float, ptr %255, align 4, !tbaa !78
  %257 = fptosi float %256 to i16
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %258, i32 0, i32 46
  %260 = load i32, ptr %9, align 4, !tbaa !9
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %259, i64 0, i64 %261
  %263 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %262, i32 0, i32 2
  %264 = getelementptr inbounds [3 x [3 x i16]], ptr %263, i64 0, i64 0
  %265 = getelementptr inbounds [3 x i16], ptr %264, i64 0, i64 0
  store i16 %257, ptr %265, align 1, !tbaa !79
  %266 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %267 = load i32, ptr %9, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %266, i64 0, i64 %268
  %270 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %269, i32 0, i32 2
  %271 = getelementptr inbounds [3 x [3 x float]], ptr %270, i64 0, i64 0
  %272 = getelementptr inbounds [3 x float], ptr %271, i64 0, i64 1
  %273 = load float, ptr %272, align 4, !tbaa !78
  %274 = fptosi float %273 to i16
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %275, i32 0, i32 46
  %277 = load i32, ptr %9, align 4, !tbaa !9
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %276, i64 0, i64 %278
  %280 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %279, i32 0, i32 2
  %281 = getelementptr inbounds [3 x [3 x i16]], ptr %280, i64 0, i64 0
  %282 = getelementptr inbounds [3 x i16], ptr %281, i64 0, i64 1
  store i16 %274, ptr %282, align 1, !tbaa !79
  %283 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %284 = load i32, ptr %9, align 4, !tbaa !9
  %285 = sext i32 %284 to i64
  %286 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %283, i64 0, i64 %285
  %287 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %286, i32 0, i32 2
  %288 = getelementptr inbounds [3 x [3 x float]], ptr %287, i64 0, i64 0
  %289 = getelementptr inbounds [3 x float], ptr %288, i64 0, i64 2
  %290 = load float, ptr %289, align 4, !tbaa !78
  %291 = fptosi float %290 to i16
  %292 = load ptr, ptr %8, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %292, i32 0, i32 46
  %294 = load i32, ptr %9, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %293, i64 0, i64 %295
  %297 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %296, i32 0, i32 2
  %298 = getelementptr inbounds [3 x [3 x i16]], ptr %297, i64 0, i64 0
  %299 = getelementptr inbounds [3 x i16], ptr %298, i64 0, i64 2
  store i16 %291, ptr %299, align 1, !tbaa !79
  %300 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %301 = load i32, ptr %9, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %300, i64 0, i64 %302
  %304 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %303, i32 0, i32 2
  %305 = getelementptr inbounds [3 x [3 x float]], ptr %304, i64 0, i64 1
  %306 = getelementptr inbounds [3 x float], ptr %305, i64 0, i64 0
  %307 = load float, ptr %306, align 4, !tbaa !78
  %308 = fptosi float %307 to i16
  %309 = load ptr, ptr %8, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %309, i32 0, i32 46
  %311 = load i32, ptr %9, align 4, !tbaa !9
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %310, i64 0, i64 %312
  %314 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %313, i32 0, i32 2
  %315 = getelementptr inbounds [3 x [3 x i16]], ptr %314, i64 0, i64 1
  %316 = getelementptr inbounds [3 x i16], ptr %315, i64 0, i64 0
  store i16 %308, ptr %316, align 1, !tbaa !79
  %317 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %318 = load i32, ptr %9, align 4, !tbaa !9
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %317, i64 0, i64 %319
  %321 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %320, i32 0, i32 2
  %322 = getelementptr inbounds [3 x [3 x float]], ptr %321, i64 0, i64 1
  %323 = getelementptr inbounds [3 x float], ptr %322, i64 0, i64 1
  %324 = load float, ptr %323, align 4, !tbaa !78
  %325 = fptosi float %324 to i16
  %326 = load ptr, ptr %8, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %326, i32 0, i32 46
  %328 = load i32, ptr %9, align 4, !tbaa !9
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %327, i64 0, i64 %329
  %331 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %330, i32 0, i32 2
  %332 = getelementptr inbounds [3 x [3 x i16]], ptr %331, i64 0, i64 1
  %333 = getelementptr inbounds [3 x i16], ptr %332, i64 0, i64 1
  store i16 %325, ptr %333, align 1, !tbaa !79
  %334 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %335 = load i32, ptr %9, align 4, !tbaa !9
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %334, i64 0, i64 %336
  %338 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %337, i32 0, i32 2
  %339 = getelementptr inbounds [3 x [3 x float]], ptr %338, i64 0, i64 1
  %340 = getelementptr inbounds [3 x float], ptr %339, i64 0, i64 2
  %341 = load float, ptr %340, align 4, !tbaa !78
  %342 = fptosi float %341 to i16
  %343 = load ptr, ptr %8, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %343, i32 0, i32 46
  %345 = load i32, ptr %9, align 4, !tbaa !9
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %344, i64 0, i64 %346
  %348 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %347, i32 0, i32 2
  %349 = getelementptr inbounds [3 x [3 x i16]], ptr %348, i64 0, i64 1
  %350 = getelementptr inbounds [3 x i16], ptr %349, i64 0, i64 2
  store i16 %342, ptr %350, align 1, !tbaa !79
  %351 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %352 = load i32, ptr %9, align 4, !tbaa !9
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %351, i64 0, i64 %353
  %355 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %354, i32 0, i32 2
  %356 = getelementptr inbounds [3 x [3 x float]], ptr %355, i64 0, i64 2
  %357 = getelementptr inbounds [3 x float], ptr %356, i64 0, i64 0
  %358 = load float, ptr %357, align 4, !tbaa !78
  %359 = fptosi float %358 to i16
  %360 = load ptr, ptr %8, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %360, i32 0, i32 46
  %362 = load i32, ptr %9, align 4, !tbaa !9
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %361, i64 0, i64 %363
  %365 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %364, i32 0, i32 2
  %366 = getelementptr inbounds [3 x [3 x i16]], ptr %365, i64 0, i64 2
  %367 = getelementptr inbounds [3 x i16], ptr %366, i64 0, i64 0
  store i16 %359, ptr %367, align 1, !tbaa !79
  %368 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %369 = load i32, ptr %9, align 4, !tbaa !9
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %368, i64 0, i64 %370
  %372 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %371, i32 0, i32 2
  %373 = getelementptr inbounds [3 x [3 x float]], ptr %372, i64 0, i64 2
  %374 = getelementptr inbounds [3 x float], ptr %373, i64 0, i64 1
  %375 = load float, ptr %374, align 4, !tbaa !78
  %376 = fptosi float %375 to i16
  %377 = load ptr, ptr %8, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %377, i32 0, i32 46
  %379 = load i32, ptr %9, align 4, !tbaa !9
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %378, i64 0, i64 %380
  %382 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %381, i32 0, i32 2
  %383 = getelementptr inbounds [3 x [3 x i16]], ptr %382, i64 0, i64 2
  %384 = getelementptr inbounds [3 x i16], ptr %383, i64 0, i64 1
  store i16 %376, ptr %384, align 1, !tbaa !79
  %385 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %386 = load i32, ptr %9, align 4, !tbaa !9
  %387 = sext i32 %386 to i64
  %388 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %385, i64 0, i64 %387
  %389 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %388, i32 0, i32 2
  %390 = getelementptr inbounds [3 x [3 x float]], ptr %389, i64 0, i64 2
  %391 = getelementptr inbounds [3 x float], ptr %390, i64 0, i64 2
  %392 = load float, ptr %391, align 4, !tbaa !78
  %393 = fptosi float %392 to i16
  %394 = load ptr, ptr %8, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %394, i32 0, i32 46
  %396 = load i32, ptr %9, align 4, !tbaa !9
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %395, i64 0, i64 %397
  %399 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %398, i32 0, i32 2
  %400 = getelementptr inbounds [3 x [3 x i16]], ptr %399, i64 0, i64 2
  %401 = getelementptr inbounds [3 x i16], ptr %400, i64 0, i64 2
  store i16 %393, ptr %401, align 1, !tbaa !79
  %402 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %403 = load i32, ptr %9, align 4, !tbaa !9
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %402, i64 0, i64 %404
  %406 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %405, i32 0, i32 3
  %407 = load float, ptr %406, align 4, !tbaa !80
  %408 = fptosi float %407 to i16
  %409 = load ptr, ptr %8, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %409, i32 0, i32 46
  %411 = load i32, ptr %9, align 4, !tbaa !9
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %410, i64 0, i64 %412
  %414 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %413, i32 0, i32 3
  store i16 %408, ptr %414, align 1, !tbaa !81
  %415 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_36", ptr %5, i32 0, i32 44
  %416 = load i32, ptr %9, align 4, !tbaa !9
  %417 = sext i32 %416 to i64
  %418 = getelementptr inbounds [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], ptr %415, i64 0, i64 %417
  %419 = getelementptr inbounds %"struct.ccf::cbMANUALUNITMAPPING_36", ptr %418, i32 0, i32 4
  %420 = load i32, ptr %419, align 4, !tbaa !82
  %421 = trunc i32 %420 to i16
  %422 = sext i16 %421 to i32
  %423 = load ptr, ptr %8, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.cbPKT_CHANINFO, ptr %423, i32 0, i32 46
  %425 = load i32, ptr %9, align 4, !tbaa !9
  %426 = sext i32 %425 to i64
  %427 = getelementptr inbounds [5 x %struct.cbMANUALUNITMAPPING], ptr %424, i64 0, i64 %426
  %428 = getelementptr inbounds %struct.cbMANUALUNITMAPPING, ptr %427, i32 0, i32 4
  store i32 %422, ptr %428, align 1, !tbaa !83
  br label %429

429:                                              ; preds = %190
  %430 = load i32, ptr %9, align 4, !tbaa !9
  %431 = add nsw i32 %430, 1
  store i32 %431, ptr %9, align 4, !tbaa !9
  br label %186, !llvm.loop !84

432:                                              ; preds = %189
  br label %433

433:                                              ; preds = %432, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %434

434:                                              ; preds = %433
  %435 = load i32, ptr %6, align 4, !tbaa !9
  %436 = add nsw i32 %435, 1
  store i32 %436, ptr %6, align 4, !tbaa !9
  br label %11, !llvm.loop !86

437:                                              ; preds = %14
  %438 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN14CCFUtilsBinary13ReadAsPacketsEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696) %10, ptr noundef %438)
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 804, ptr %5) #6
  ret i32 0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14CCFUtilsBinary18SetChannelDefaultsER14cbPKT_CHANINFO(ptr noundef nonnull align 8 dereferenceable(189696), ptr noundef nonnull align 1 dereferenceable(680)) #4 align 2

; 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) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14CCFUtilsBinary13ReadAsPacketsEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696), ptr noundef) #3 align 2

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN3ccf24cbPKT_CHANINFO_CB2005_36E", !10, i64 0, !13, i64 4, !7, i64 6, !7, i64 7, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !14, i64 48, !15, i64 72, !14, i64 112, !15, i64 136, !7, i64 176, !10, i64 192, !7, i64 196, !14, i64 212, !14, i64 236, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !7, i64 276, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !13, i64 336, !13, i64 338, !10, i64 340, !7, i64 344, !7, i64 644}
!13 = !{!"short", !7, i64 0}
!14 = !{!"_ZTSN3ccf12cbSCALING_30E", !13, i64 0, !13, i64 2, !10, i64 4, !10, i64 8, !10, i64 12, !7, i64 16}
!15 = !{!"_ZTSN3ccf13cbFILTDESC_10E", !7, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!16 = !{!17, !10, i64 16}
!17 = !{!"_ZTS14cbPKT_CHANINFO", !18, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !20, i64 56, !21, i64 80, !20, i64 120, !21, i64 144, !7, i64 184, !10, i64 200, !7, i64 204, !20, i64 220, !20, i64 244, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !7, i64 284, !7, i64 292, !7, i64 293, !7, i64 295, !13, i64 296, !13, i64 298, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !13, i64 352, !13, i64 354, !10, i64 356, !7, i64 360, !7, i64 520}
!18 = !{!"_ZTS12cbPKT_HEADER", !19, i64 0, !13, i64 8, !13, i64 10, !13, i64 12, !7, i64 14, !7, i64 15}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTS9cbSCALING", !13, i64 0, !13, i64 2, !10, i64 4, !10, i64 8, !10, i64 12, !7, i64 16}
!21 = !{!"_ZTS10cbFILTDESC", !7, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!22 = !{!12, !10, i64 12}
!23 = !{!17, !10, i64 20}
!24 = !{!12, !10, i64 16}
!25 = !{!17, !10, i64 24}
!26 = !{!12, !10, i64 20}
!27 = !{!17, !10, i64 28}
!28 = !{!12, !10, i64 24}
!29 = !{!17, !10, i64 32}
!30 = !{!12, !10, i64 28}
!31 = !{!17, !10, i64 36}
!32 = !{!12, !10, i64 32}
!33 = !{!17, !10, i64 40}
!34 = !{!12, !10, i64 36}
!35 = !{!17, !10, i64 44}
!36 = !{!12, !10, i64 40}
!37 = !{!17, !10, i64 48}
!38 = !{!12, !10, i64 44}
!39 = !{!17, !10, i64 52}
!40 = !{!12, !10, i64 192}
!41 = !{!17, !10, i64 200}
!42 = !{!12, !10, i64 260}
!43 = !{!17, !10, i64 268}
!44 = !{!12, !10, i64 264}
!45 = !{!17, !10, i64 272}
!46 = !{!12, !10, i64 268}
!47 = !{!17, !10, i64 276}
!48 = !{!12, !10, i64 272}
!49 = !{!17, !10, i64 280}
!50 = !{!7, !7, i64 0}
!51 = !{!12, !10, i64 284}
!52 = !{!17, !10, i64 300}
!53 = !{!12, !10, i64 288}
!54 = !{!17, !10, i64 304}
!55 = !{!12, !10, i64 292}
!56 = !{!17, !10, i64 308}
!57 = !{!12, !10, i64 296}
!58 = !{!17, !10, i64 312}
!59 = !{!12, !10, i64 300}
!60 = !{!17, !10, i64 316}
!61 = !{!12, !10, i64 304}
!62 = !{!17, !10, i64 320}
!63 = !{!12, !10, i64 308}
!64 = !{!17, !10, i64 324}
!65 = !{!12, !10, i64 312}
!66 = !{!17, !10, i64 328}
!67 = !{!12, !10, i64 320}
!68 = !{!17, !10, i64 336}
!69 = !{!12, !10, i64 324}
!70 = !{!17, !10, i64 340}
!71 = !{!12, !10, i64 328}
!72 = !{!17, !10, i64 344}
!73 = !{!74, !10, i64 0}
!74 = !{!"_ZTSN3ccf22cbMANUALUNITMAPPING_36E", !10, i64 0, !7, i64 4, !7, i64 16, !75, i64 52, !10, i64 56}
!75 = !{!"float", !7, i64 0}
!76 = !{!77, !13, i64 0}
!77 = !{!"_ZTS19cbMANUALUNITMAPPING", !13, i64 0, !7, i64 2, !7, i64 8, !13, i64 26, !10, i64 28}
!78 = !{!75, !75, i64 0}
!79 = !{!13, !13, i64 0}
!80 = !{!74, !75, i64 52}
!81 = !{!77, !13, i64 26}
!82 = !{!74, !10, i64 56}
!83 = !{!77, !10, i64 28}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}
!86 = distinct !{!86, !85}


; 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.ccf::cbPKT_CHANINFO_CB2005_36" = type { i32, i16, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"struct.ccf::cbSCALING_30", %"struct.ccf::cbFILTDESC_10", %"struct.ccf::cbSCALING_30", %"struct.ccf::cbFILTDESC_10", [16 x i8], i32, [4 x i32], %"struct.ccf::cbSCALING_30", %"struct.ccf::cbSCALING_30", i32, i32, i32, i32, %union.anon.4, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i32, [5 x %"struct.ccf::cbMANUALUNITMAPPING_36"], [5 x [4 x %"struct.ccf::cbHOOP_10"]] }
%"struct.ccf::cbFILTDESC_10" = type { [16 x i8], i32, i32, i32, i32, i32, i32 }
%"struct.ccf::cbSCALING_30" = type { i16, i16, i32, i32, i32, [8 x i8] }
%union.anon.4 = type { %struct.anon.5 }
%struct.anon.5 = type { i32, i32 }
%"struct.ccf::cbMANUALUNITMAPPING_36" = type { i32, [3 x float], [3 x [3 x float]], float, i32 }
%"struct.ccf::cbHOOP_10" = type { i16, i16, i16, i16 }
%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 }

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

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

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN14CCFUtilsBinary21ReadCCFData_cb2005_36EP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696) %0, ptr noundef %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"struct.ccf::cbPKT_CHANINFO_CB2005_36", align 4
  call void @llvm.lifetime.start.p0(i64 804, ptr nonnull %3) #6
  %4 = getelementptr inbounds i8, ptr %0, i64 76
  %5 = getelementptr inbounds i8, ptr %3, i64 8
  %6 = getelementptr inbounds i8, ptr %3, i64 12
  %7 = getelementptr inbounds i8, ptr %3, i64 28
  %8 = getelementptr inbounds i8, ptr %3, i64 44
  %9 = getelementptr inbounds i8, ptr %3, i64 48
  %10 = getelementptr inbounds i8, ptr %3, i64 72
  %11 = getelementptr inbounds i8, ptr %3, i64 112
  %12 = getelementptr inbounds i8, ptr %3, i64 136
  %13 = getelementptr inbounds i8, ptr %3, i64 176
  %14 = getelementptr inbounds i8, ptr %3, i64 192
  %15 = getelementptr inbounds i8, ptr %3, i64 196
  %16 = getelementptr inbounds i8, ptr %3, i64 212
  %17 = getelementptr inbounds i8, ptr %3, i64 236
  %18 = getelementptr inbounds i8, ptr %3, i64 260
  %19 = getelementptr inbounds i8, ptr %3, i64 276
  %20 = getelementptr inbounds i8, ptr %3, i64 280
  %21 = getelementptr inbounds i8, ptr %3, i64 284
  %22 = getelementptr inbounds i8, ptr %3, i64 300
  %23 = getelementptr inbounds i8, ptr %3, i64 320
  %24 = getelementptr inbounds i8, ptr %3, i64 328
  %25 = getelementptr inbounds i8, ptr %3, i64 644
  %26 = getelementptr inbounds i8, ptr %3, i64 344
  %27 = getelementptr inbounds i8, ptr %3, i64 348
  %28 = getelementptr inbounds i8, ptr %3, i64 380
  %29 = getelementptr inbounds i8, ptr %3, i64 396
  %30 = getelementptr inbounds i8, ptr %3, i64 400
  %31 = getelementptr inbounds i8, ptr %3, i64 404
  %32 = getelementptr inbounds i8, ptr %3, i64 408
  %33 = getelementptr inbounds i8, ptr %3, i64 440
  %34 = getelementptr inbounds i8, ptr %3, i64 456
  %35 = getelementptr inbounds i8, ptr %3, i64 460
  %36 = getelementptr inbounds i8, ptr %3, i64 464
  %37 = getelementptr inbounds i8, ptr %3, i64 468
  %38 = getelementptr inbounds i8, ptr %3, i64 500
  %39 = getelementptr inbounds i8, ptr %3, i64 516
  %40 = getelementptr inbounds i8, ptr %3, i64 520
  %41 = getelementptr inbounds i8, ptr %3, i64 524
  %42 = getelementptr inbounds i8, ptr %3, i64 528
  %43 = getelementptr inbounds i8, ptr %3, i64 560
  %44 = getelementptr inbounds i8, ptr %3, i64 576
  %45 = getelementptr inbounds i8, ptr %3, i64 580
  %46 = getelementptr inbounds i8, ptr %3, i64 584
  %47 = getelementptr inbounds i8, ptr %3, i64 588
  %48 = getelementptr inbounds i8, ptr %3, i64 620
  %49 = getelementptr inbounds i8, ptr %3, i64 636
  %50 = getelementptr inbounds i8, ptr %3, i64 640
  br label %52

51:                                               ; preds = %.loopexit
  tail call void @_ZN14CCFUtilsBinary13ReadAsPacketsEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696) %0, ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 804, ptr nonnull %3) #6
  ret i32 0

52:                                               ; preds = %2, %.loopexit
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %.loopexit ]
  %53 = getelementptr inbounds [160 x %struct.cbPKT_CHANINFO], ptr %4, i64 0, i64 %indvars.iv
  tail call void @_ZN14CCFUtilsBinary18SetChannelDefaultsER14cbPKT_CHANINFO(ptr noundef nonnull align 8 dereferenceable(189696) %0, ptr noundef nonnull align 1 dereferenceable(680) %53)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(804) %3, i8 0, i64 804, i1 false)
  %54 = call i64 @fread(ptr noundef nonnull %3, i64 noundef 1, i64 noundef 804, ptr noundef %1)
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %.not = icmp eq i32 %55, 0
  br i1 %.not, label %.loopexit, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %52
  %56 = getelementptr inbounds i8, ptr %53, i64 16
  store i32 %55, ptr %56, align 4, !tbaa !13
  %57 = getelementptr inbounds i8, ptr %53, i64 20
  %58 = load <4 x i32>, ptr %6, align 4, !tbaa !19
  store <4 x i32> %58, ptr %57, align 8, !tbaa !19
  %59 = getelementptr inbounds i8, ptr %53, i64 36
  %60 = load <4 x i32>, ptr %7, align 4, !tbaa !19
  store <4 x i32> %60, ptr %59, align 8, !tbaa !19
  %61 = load i32, ptr %8, align 4, !tbaa !20
  %62 = getelementptr inbounds i8, ptr %53, i64 52
  store i32 %61, ptr %62, align 8, !tbaa !21
  %63 = getelementptr inbounds i8, ptr %53, i64 56
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(24) %9, i64 24, i1 false)
  %64 = getelementptr inbounds i8, ptr %53, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %64, ptr noundef nonnull align 4 dereferenceable(40) %10, i64 40, i1 false)
  %65 = getelementptr inbounds i8, ptr %53, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %65, ptr noundef nonnull align 4 dereferenceable(40) %11, i64 24, i1 false)
  %66 = getelementptr inbounds i8, ptr %53, i64 144
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %66, ptr noundef nonnull align 4 dereferenceable(40) %12, i64 40, i1 false)
  %67 = getelementptr inbounds i8, ptr %53, i64 184
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %67, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false)
  %68 = load i32, ptr %14, align 4, !tbaa !22
  %69 = getelementptr inbounds i8, ptr %53, i64 200
  store i32 %68, ptr %69, align 4, !tbaa !23
  %70 = getelementptr inbounds i8, ptr %53, i64 204
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 4 dereferenceable(16) %15, i64 16, i1 false)
  %71 = getelementptr inbounds i8, ptr %53, i64 220
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 4 dereferenceable(24) %16, i64 24, i1 false)
  %72 = getelementptr inbounds i8, ptr %53, i64 244
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(24) %17, i64 24, i1 false)
  %73 = getelementptr inbounds i8, ptr %53, i64 268
  %74 = load <4 x i32>, ptr %18, align 4, !tbaa !19
  store <4 x i32> %74, ptr %73, align 8, !tbaa !19
  %75 = load i32, ptr %19, align 4, !tbaa !24
  %76 = trunc i32 %75 to i16
  %77 = getelementptr inbounds i8, ptr %53, i64 284
  store i16 %76, ptr %77, align 8, !tbaa !24
  %78 = lshr i32 %75, 16
  %79 = trunc nuw i32 %78 to i16
  %80 = getelementptr inbounds i8, ptr %53, i64 286
  store i16 %79, ptr %80, align 2, !tbaa !24
  %81 = load i32, ptr %20, align 4, !tbaa !24
  %82 = getelementptr inbounds i8, ptr %53, i64 288
  store i32 %81, ptr %82, align 4, !tbaa !24
  %83 = getelementptr inbounds i8, ptr %53, i64 300
  %84 = load <4 x i32>, ptr %21, align 4, !tbaa !19
  store <4 x i32> %84, ptr %83, align 8, !tbaa !19
  %85 = getelementptr inbounds i8, ptr %53, i64 316
  %86 = load <4 x i32>, ptr %22, align 4, !tbaa !19
  store <4 x i32> %86, ptr %85, align 8, !tbaa !19
  %87 = getelementptr inbounds i8, ptr %53, i64 336
  %88 = load <2 x i32>, ptr %23, align 4, !tbaa !19
  store <2 x i32> %88, ptr %87, align 4, !tbaa !19
  %89 = load i32, ptr %24, align 4, !tbaa !25
  %90 = getelementptr inbounds i8, ptr %53, i64 344
  store i32 %89, ptr %90, align 4, !tbaa !26
  %91 = getelementptr inbounds i8, ptr %53, i64 520
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(160) %91, ptr noundef nonnull align 4 dereferenceable(160) %25, i64 160, i1 false)
  %92 = getelementptr inbounds i8, ptr %53, i64 360
  %93 = load i32, ptr %26, align 4, !tbaa !27
  %94 = trunc i32 %93 to i16
  store i16 %94, ptr %92, align 4, !tbaa !30
  %95 = getelementptr inbounds i8, ptr %53, i64 362
  %96 = load <8 x float>, ptr %27, align 4, !tbaa !32
  %97 = fptosi <8 x float> %96 to <8 x i16>
  store <8 x i16> %97, ptr %95, align 2, !tbaa !33
  %98 = getelementptr inbounds i8, ptr %53, i64 378
  %99 = load <4 x float>, ptr %28, align 4, !tbaa !32
  %100 = fptosi <4 x float> %99 to <4 x i16>
  store <4 x i16> %100, ptr %98, align 2, !tbaa !33
  %101 = load float, ptr %29, align 4, !tbaa !34
  %102 = fptosi float %101 to i16
  %103 = getelementptr inbounds i8, ptr %53, i64 386
  store i16 %102, ptr %103, align 2, !tbaa !35
  %104 = load i32, ptr %30, align 4, !tbaa !36
  %sext = shl i32 %104, 16
  %105 = ashr exact i32 %sext, 16
  %106 = getelementptr inbounds i8, ptr %53, i64 388
  store i32 %105, ptr %106, align 8, !tbaa !37
  %107 = load i32, ptr %31, align 4, !tbaa !27
  %108 = trunc i32 %107 to i16
  %109 = getelementptr inbounds i8, ptr %53, i64 392
  store i16 %108, ptr %109, align 4, !tbaa !30
  %110 = getelementptr inbounds i8, ptr %53, i64 394
  %111 = load <8 x float>, ptr %32, align 4, !tbaa !32
  %112 = fptosi <8 x float> %111 to <8 x i16>
  store <8 x i16> %112, ptr %110, align 2, !tbaa !33
  %113 = getelementptr inbounds i8, ptr %53, i64 410
  %114 = load <4 x float>, ptr %33, align 4, !tbaa !32
  %115 = fptosi <4 x float> %114 to <4 x i16>
  store <4 x i16> %115, ptr %113, align 2, !tbaa !33
  %116 = load float, ptr %34, align 4, !tbaa !34
  %117 = fptosi float %116 to i16
  %118 = getelementptr inbounds i8, ptr %53, i64 418
  store i16 %117, ptr %118, align 2, !tbaa !35
  %119 = load i32, ptr %35, align 4, !tbaa !36
  %sext.1 = shl i32 %119, 16
  %120 = ashr exact i32 %sext.1, 16
  %121 = getelementptr inbounds i8, ptr %53, i64 420
  store i32 %120, ptr %121, align 8, !tbaa !37
  %122 = load i32, ptr %36, align 4, !tbaa !27
  %123 = trunc i32 %122 to i16
  %124 = getelementptr inbounds i8, ptr %53, i64 424
  store i16 %123, ptr %124, align 4, !tbaa !30
  %125 = getelementptr inbounds i8, ptr %53, i64 426
  %126 = load <8 x float>, ptr %37, align 4, !tbaa !32
  %127 = fptosi <8 x float> %126 to <8 x i16>
  store <8 x i16> %127, ptr %125, align 2, !tbaa !33
  %128 = getelementptr inbounds i8, ptr %53, i64 442
  %129 = load <4 x float>, ptr %38, align 4, !tbaa !32
  %130 = fptosi <4 x float> %129 to <4 x i16>
  store <4 x i16> %130, ptr %128, align 2, !tbaa !33
  %131 = load float, ptr %39, align 4, !tbaa !34
  %132 = fptosi float %131 to i16
  %133 = getelementptr inbounds i8, ptr %53, i64 450
  store i16 %132, ptr %133, align 2, !tbaa !35
  %134 = load i32, ptr %40, align 4, !tbaa !36
  %sext.2 = shl i32 %134, 16
  %135 = ashr exact i32 %sext.2, 16
  %136 = getelementptr inbounds i8, ptr %53, i64 452
  store i32 %135, ptr %136, align 8, !tbaa !37
  %137 = load i32, ptr %41, align 4, !tbaa !27
  %138 = trunc i32 %137 to i16
  %139 = getelementptr inbounds i8, ptr %53, i64 456
  store i16 %138, ptr %139, align 4, !tbaa !30
  %140 = getelementptr inbounds i8, ptr %53, i64 458
  %141 = load <8 x float>, ptr %42, align 4, !tbaa !32
  %142 = fptosi <8 x float> %141 to <8 x i16>
  store <8 x i16> %142, ptr %140, align 2, !tbaa !33
  %143 = getelementptr inbounds i8, ptr %53, i64 474
  %144 = load <4 x float>, ptr %43, align 4, !tbaa !32
  %145 = fptosi <4 x float> %144 to <4 x i16>
  store <4 x i16> %145, ptr %143, align 2, !tbaa !33
  %146 = load float, ptr %44, align 4, !tbaa !34
  %147 = fptosi float %146 to i16
  %148 = getelementptr inbounds i8, ptr %53, i64 482
  store i16 %147, ptr %148, align 2, !tbaa !35
  %149 = load i32, ptr %45, align 4, !tbaa !36
  %sext.3 = shl i32 %149, 16
  %150 = ashr exact i32 %sext.3, 16
  %151 = getelementptr inbounds i8, ptr %53, i64 484
  store i32 %150, ptr %151, align 8, !tbaa !37
  %152 = load i32, ptr %46, align 4, !tbaa !27
  %153 = trunc i32 %152 to i16
  %154 = getelementptr inbounds i8, ptr %53, i64 488
  store i16 %153, ptr %154, align 4, !tbaa !30
  %155 = getelementptr inbounds i8, ptr %53, i64 490
  %156 = load <8 x float>, ptr %47, align 4, !tbaa !32
  %157 = fptosi <8 x float> %156 to <8 x i16>
  store <8 x i16> %157, ptr %155, align 2, !tbaa !33
  %158 = getelementptr inbounds i8, ptr %53, i64 506
  %159 = load <4 x float>, ptr %48, align 4, !tbaa !32
  %160 = fptosi <4 x float> %159 to <4 x i16>
  store <4 x i16> %160, ptr %158, align 2, !tbaa !33
  %161 = load float, ptr %49, align 4, !tbaa !34
  %162 = fptosi float %161 to i16
  %163 = getelementptr inbounds i8, ptr %53, i64 514
  store i16 %162, ptr %163, align 2, !tbaa !35
  %164 = load i32, ptr %50, align 4, !tbaa !36
  %sext.4 = shl i32 %164, 16
  %165 = ashr exact i32 %sext.4, 16
  %166 = getelementptr inbounds i8, ptr %53, i64 516
  store i32 %165, ptr %166, align 8, !tbaa !37
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %52
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 160
  br i1 %exitcond.not, label %51, label %52, !llvm.loop !38
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN14CCFUtilsBinary18SetChannelDefaultsER14cbPKT_CHANINFO(ptr noundef nonnull align 8 dereferenceable(189696), ptr noundef nonnull align 1 dereferenceable(680)) local_unnamed_addr #4 align 2

; 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) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14CCFUtilsBinary13ReadAsPacketsEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696), ptr noundef) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 8}
!6 = !{!"_ZTSN3ccf24cbPKT_CHANINFO_CB2005_36E", !7, i64 0, !10, i64 4, !8, i64 6, !8, i64 7, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !11, i64 48, !12, i64 72, !11, i64 112, !12, i64 136, !8, i64 176, !7, i64 192, !8, i64 196, !11, i64 212, !11, i64 236, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !8, i64 276, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !10, i64 336, !10, i64 338, !7, i64 340, !8, i64 344, !8, i64 644}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"_ZTSN3ccf12cbSCALING_30E", !10, i64 0, !10, i64 2, !7, i64 4, !7, i64 8, !7, i64 12, !8, i64 16}
!12 = !{!"_ZTSN3ccf13cbFILTDESC_10E", !8, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!13 = !{!14, !7, i64 16}
!14 = !{!"_ZTS14cbPKT_CHANINFO", !15, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !17, i64 56, !18, i64 80, !17, i64 120, !18, i64 144, !8, i64 184, !7, i64 200, !8, i64 204, !17, i64 220, !17, i64 244, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !8, i64 284, !8, i64 292, !8, i64 293, !8, i64 295, !10, i64 296, !10, i64 298, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !10, i64 352, !10, i64 354, !7, i64 356, !8, i64 360, !8, i64 520}
!15 = !{!"_ZTS12cbPKT_HEADER", !16, i64 0, !10, i64 8, !10, i64 10, !10, i64 12, !8, i64 14, !8, i64 15}
!16 = !{!"long", !8, i64 0}
!17 = !{!"_ZTS9cbSCALING", !10, i64 0, !10, i64 2, !7, i64 4, !7, i64 8, !7, i64 12, !8, i64 16}
!18 = !{!"_ZTS10cbFILTDESC", !8, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!19 = !{!7, !7, i64 0}
!20 = !{!6, !7, i64 44}
!21 = !{!14, !7, i64 52}
!22 = !{!6, !7, i64 192}
!23 = !{!14, !7, i64 200}
!24 = !{!8, !8, i64 0}
!25 = !{!6, !7, i64 328}
!26 = !{!14, !7, i64 344}
!27 = !{!28, !7, i64 0}
!28 = !{!"_ZTSN3ccf22cbMANUALUNITMAPPING_36E", !7, i64 0, !8, i64 4, !8, i64 16, !29, i64 52, !7, i64 56}
!29 = !{!"float", !8, i64 0}
!30 = !{!31, !10, i64 0}
!31 = !{!"_ZTS19cbMANUALUNITMAPPING", !10, i64 0, !8, i64 2, !8, i64 8, !10, i64 26, !7, i64 28}
!32 = !{!29, !29, i64 0}
!33 = !{!10, !10, i64 0}
!34 = !{!28, !29, i64 52}
!35 = !{!31, !10, i64 26}
!36 = !{!28, !7, i64 56}
!37 = !{!31, !7, i64 28}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass