; LLVM IR from CerebusOSS/CereLink :: cbhwlib/CCFUtilsBinary.ll (ZN14CCFUtilsBinary21ReadCCFData_cb2005_37EP8_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_37" = 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.7, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i32, [5 x %"struct.ccf::cbMANUALUNITMAPPING_37"], [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.7 = type { %struct.anon.8 }
%struct.anon.8 = type { i32, i32 }
%"struct.ccf::cbMANUALUNITMAPPING_37" = type { i16, [3 x i16], [3 x [3 x i16]], i16, 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] }

; 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_37EP8_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_37", 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 664, 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 = %420, %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 %423

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 664, i1 false)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call i64 @fread(ptr noundef %5, i64 noundef 1, i64 noundef 664, ptr noundef %22)
  %24 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_37", 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 %419

27:                                               ; preds = %15
  %28 = getelementptr inbounds %"struct.ccf::cbPKT_CHANINFO_CB2005_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", ptr %5, i32 0, i32 27
  %115 = getelementptr inbounds %struct.anon.8, 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_37", ptr %5, i32 0, i32 27
  %123 = getelementptr inbounds %struct.anon.8, 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_37", ptr %5, i32 0, i32 27
  %132 = getelementptr inbounds %struct.anon.8, 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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_37", 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 = %415, %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 %418

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

415:                                              ; preds = %190
  %416 = load i32, ptr %9, align 4, !tbaa !9
  %417 = add nsw i32 %416, 1
  store i32 %417, ptr %9, align 4, !tbaa !9
  br label %186, !llvm.loop !82

418:                                              ; preds = %189
  br label %419

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

420:                                              ; preds = %419
  %421 = load i32, ptr %6, align 4, !tbaa !9
  %422 = add nsw i32 %421, 1
  store i32 %422, ptr %6, align 4, !tbaa !9
  br label %11, !llvm.loop !84

423:                                              ; preds = %14
  %424 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN14CCFUtilsBinary13ReadAsPacketsEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(189696) %10, ptr noundef %424)
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 664, 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_37E", !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 504}
!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, !13, i64 0}
!74 = !{!"_ZTSN3ccf22cbMANUALUNITMAPPING_37E", !13, i64 0, !7, i64 2, !7, i64 8, !13, i64 26, !10, i64 28}
!75 = !{!76, !13, i64 0}
!76 = !{!"_ZTS19cbMANUALUNITMAPPING", !13, i64 0, !7, i64 2, !7, i64 8, !13, i64 26, !10, i64 28}
!77 = !{!13, !13, i64 0}
!78 = !{!74, !13, i64 26}
!79 = !{!76, !13, i64 26}
!80 = !{!74, !10, i64 28}
!81 = !{!76, !10, i64 28}
!82 = distinct !{!82, !83}
!83 = !{!"llvm.loop.mustprogress"}
!84 = distinct !{!84, !83}


; 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_37" = 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.7, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i32, [5 x %"struct.ccf::cbMANUALUNITMAPPING_37"], [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.7 = type { %struct.anon.8 }
%struct.anon.8 = type { i32, i32 }
%"struct.ccf::cbMANUALUNITMAPPING_37" = type { i16, [3 x i16], [3 x [3 x i16]], i16, 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_37EP8_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_37", align 4
  call void @llvm.lifetime.start.p0(i64 664, 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 504
  %26 = getelementptr inbounds i8, ptr %3, i64 344
  %27 = getelementptr inbounds i8, ptr %3, i64 360
  %28 = getelementptr inbounds i8, ptr %3, i64 368
  %29 = getelementptr inbounds i8, ptr %3, i64 372
  %30 = getelementptr inbounds i8, ptr %3, i64 376
  %31 = getelementptr inbounds i8, ptr %3, i64 392
  %32 = getelementptr inbounds i8, ptr %3, i64 400
  %33 = getelementptr inbounds i8, ptr %3, i64 404
  %34 = getelementptr inbounds i8, ptr %3, i64 408
  %35 = getelementptr inbounds i8, ptr %3, i64 424
  %36 = getelementptr inbounds i8, ptr %3, i64 432
  %37 = getelementptr inbounds i8, ptr %3, i64 436
  %38 = getelementptr inbounds i8, ptr %3, i64 440
  %39 = getelementptr inbounds i8, ptr %3, i64 456
  %40 = getelementptr inbounds i8, ptr %3, i64 464
  %41 = getelementptr inbounds i8, ptr %3, i64 468
  %42 = getelementptr inbounds i8, ptr %3, i64 472
  %43 = getelementptr inbounds i8, ptr %3, i64 488
  %44 = getelementptr inbounds i8, ptr %3, i64 496
  %45 = getelementptr inbounds i8, ptr %3, i64 500
  br label %47

46:                                               ; 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 664, ptr nonnull %3) #6
  ret i32 0

47:                                               ; preds = %2, %.loopexit
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %.loopexit ]
  %48 = 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) %48)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(664) %3, i8 0, i64 664, i1 false)
  %49 = call i64 @fread(ptr noundef nonnull %3, i64 noundef 1, i64 noundef 664, ptr noundef %1)
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %.loopexit, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %47
  %51 = getelementptr inbounds i8, ptr %48, i64 16
  store i32 %50, ptr %51, align 4, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %48, i64 20
  %53 = load <4 x i32>, ptr %6, align 4, !tbaa !19
  store <4 x i32> %53, ptr %52, align 8, !tbaa !19
  %54 = getelementptr inbounds i8, ptr %48, i64 36
  %55 = load <4 x i32>, ptr %7, align 4, !tbaa !19
  store <4 x i32> %55, ptr %54, align 8, !tbaa !19
  %56 = load i32, ptr %8, align 4, !tbaa !20
  %57 = getelementptr inbounds i8, ptr %48, i64 52
  store i32 %56, ptr %57, align 8, !tbaa !21
  %58 = getelementptr inbounds i8, ptr %48, i64 56
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %58, ptr noundef nonnull align 4 dereferenceable(24) %9, i64 24, i1 false)
  %59 = getelementptr inbounds i8, ptr %48, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %59, ptr noundef nonnull align 4 dereferenceable(40) %10, i64 40, i1 false)
  %60 = getelementptr inbounds i8, ptr %48, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %60, ptr noundef nonnull align 4 dereferenceable(40) %11, i64 24, i1 false)
  %61 = getelementptr inbounds i8, ptr %48, i64 144
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %61, ptr noundef nonnull align 4 dereferenceable(40) %12, i64 40, i1 false)
  %62 = getelementptr inbounds i8, ptr %48, i64 184
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %62, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false)
  %63 = load i32, ptr %14, align 4, !tbaa !22
  %64 = getelementptr inbounds i8, ptr %48, i64 200
  store i32 %63, ptr %64, align 4, !tbaa !23
  %65 = getelementptr inbounds i8, ptr %48, i64 204
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull align 4 dereferenceable(16) %15, i64 16, i1 false)
  %66 = getelementptr inbounds i8, ptr %48, i64 220
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 4 dereferenceable(24) %16, i64 24, i1 false)
  %67 = getelementptr inbounds i8, ptr %48, i64 244
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 4 dereferenceable(24) %17, i64 24, i1 false)
  %68 = getelementptr inbounds i8, ptr %48, i64 268
  %69 = load <4 x i32>, ptr %18, align 4, !tbaa !19
  store <4 x i32> %69, ptr %68, align 8, !tbaa !19
  %70 = load i32, ptr %19, align 4, !tbaa !24
  %71 = trunc i32 %70 to i16
  %72 = getelementptr inbounds i8, ptr %48, i64 284
  store i16 %71, ptr %72, align 8, !tbaa !24
  %73 = lshr i32 %70, 16
  %74 = trunc nuw i32 %73 to i16
  %75 = getelementptr inbounds i8, ptr %48, i64 286
  store i16 %74, ptr %75, align 2, !tbaa !24
  %76 = load i32, ptr %20, align 4, !tbaa !24
  %77 = getelementptr inbounds i8, ptr %48, i64 288
  store i32 %76, ptr %77, align 4, !tbaa !24
  %78 = getelementptr inbounds i8, ptr %48, i64 300
  %79 = load <4 x i32>, ptr %21, align 4, !tbaa !19
  store <4 x i32> %79, ptr %78, align 8, !tbaa !19
  %80 = getelementptr inbounds i8, ptr %48, i64 316
  %81 = load <4 x i32>, ptr %22, align 4, !tbaa !19
  store <4 x i32> %81, ptr %80, align 8, !tbaa !19
  %82 = getelementptr inbounds i8, ptr %48, i64 336
  %83 = load <2 x i32>, ptr %23, align 4, !tbaa !19
  store <2 x i32> %83, ptr %82, align 4, !tbaa !19
  %84 = load i32, ptr %24, align 4, !tbaa !25
  %85 = getelementptr inbounds i8, ptr %48, i64 344
  store i32 %84, ptr %85, align 4, !tbaa !26
  %86 = getelementptr inbounds i8, ptr %48, i64 520
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(160) %86, ptr noundef nonnull align 4 dereferenceable(160) %25, i64 160, i1 false)
  %87 = getelementptr inbounds i8, ptr %48, i64 360
  %88 = load <8 x i16>, ptr %26, align 4, !tbaa !27
  store <8 x i16> %88, ptr %87, align 4, !tbaa !27
  %89 = getelementptr inbounds i8, ptr %48, i64 376
  %90 = load <4 x i16>, ptr %27, align 4, !tbaa !27
  store <4 x i16> %90, ptr %89, align 4, !tbaa !27
  %91 = getelementptr inbounds i8, ptr %48, i64 384
  %92 = load <2 x i16>, ptr %28, align 4, !tbaa !27
  store <2 x i16> %92, ptr %91, align 4, !tbaa !27
  %93 = load i32, ptr %29, align 4, !tbaa !28
  %sext = shl i32 %93, 16
  %94 = ashr exact i32 %sext, 16
  %95 = getelementptr inbounds i8, ptr %48, i64 388
  store i32 %94, ptr %95, align 8, !tbaa !30
  %96 = getelementptr inbounds i8, ptr %48, i64 392
  %97 = load <8 x i16>, ptr %30, align 4, !tbaa !27
  store <8 x i16> %97, ptr %96, align 4, !tbaa !27
  %98 = getelementptr inbounds i8, ptr %48, i64 408
  %99 = load <4 x i16>, ptr %31, align 4, !tbaa !27
  store <4 x i16> %99, ptr %98, align 4, !tbaa !27
  %100 = getelementptr inbounds i8, ptr %48, i64 416
  %101 = load <2 x i16>, ptr %32, align 4, !tbaa !27
  store <2 x i16> %101, ptr %100, align 4, !tbaa !27
  %102 = load i32, ptr %33, align 4, !tbaa !28
  %sext.1 = shl i32 %102, 16
  %103 = ashr exact i32 %sext.1, 16
  %104 = getelementptr inbounds i8, ptr %48, i64 420
  store i32 %103, ptr %104, align 8, !tbaa !30
  %105 = getelementptr inbounds i8, ptr %48, i64 424
  %106 = load <8 x i16>, ptr %34, align 4, !tbaa !27
  store <8 x i16> %106, ptr %105, align 4, !tbaa !27
  %107 = getelementptr inbounds i8, ptr %48, i64 440
  %108 = load <4 x i16>, ptr %35, align 4, !tbaa !27
  store <4 x i16> %108, ptr %107, align 4, !tbaa !27
  %109 = getelementptr inbounds i8, ptr %48, i64 448
  %110 = load <2 x i16>, ptr %36, align 4, !tbaa !27
  store <2 x i16> %110, ptr %109, align 4, !tbaa !27
  %111 = load i32, ptr %37, align 4, !tbaa !28
  %sext.2 = shl i32 %111, 16
  %112 = ashr exact i32 %sext.2, 16
  %113 = getelementptr inbounds i8, ptr %48, i64 452
  store i32 %112, ptr %113, align 8, !tbaa !30
  %114 = getelementptr inbounds i8, ptr %48, i64 456
  %115 = load <8 x i16>, ptr %38, align 4, !tbaa !27
  store <8 x i16> %115, ptr %114, align 4, !tbaa !27
  %116 = getelementptr inbounds i8, ptr %48, i64 472
  %117 = load <4 x i16>, ptr %39, align 4, !tbaa !27
  store <4 x i16> %117, ptr %116, align 4, !tbaa !27
  %118 = getelementptr inbounds i8, ptr %48, i64 480
  %119 = load <2 x i16>, ptr %40, align 4, !tbaa !27
  store <2 x i16> %119, ptr %118, align 4, !tbaa !27
  %120 = load i32, ptr %41, align 4, !tbaa !28
  %sext.3 = shl i32 %120, 16
  %121 = ashr exact i32 %sext.3, 16
  %122 = getelementptr inbounds i8, ptr %48, i64 484
  store i32 %121, ptr %122, align 8, !tbaa !30
  %123 = getelementptr inbounds i8, ptr %48, i64 488
  %124 = load <8 x i16>, ptr %42, align 4, !tbaa !27
  store <8 x i16> %124, ptr %123, align 4, !tbaa !27
  %125 = getelementptr inbounds i8, ptr %48, i64 504
  %126 = load <4 x i16>, ptr %43, align 4, !tbaa !27
  store <4 x i16> %126, ptr %125, align 4, !tbaa !27
  %127 = getelementptr inbounds i8, ptr %48, i64 512
  %128 = load <2 x i16>, ptr %44, align 4, !tbaa !27
  store <2 x i16> %128, ptr %127, align 4, !tbaa !27
  %129 = load i32, ptr %45, align 4, !tbaa !28
  %sext.4 = shl i32 %129, 16
  %130 = ashr exact i32 %sext.4, 16
  %131 = getelementptr inbounds i8, ptr %48, i64 516
  store i32 %130, ptr %131, align 8, !tbaa !30
  br label %.loopexit

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

; 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_37E", !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 504}
!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 = !{!10, !10, i64 0}
!28 = !{!29, !7, i64 28}
!29 = !{!"_ZTSN3ccf22cbMANUALUNITMAPPING_37E", !10, i64 0, !8, i64 2, !8, i64 8, !10, i64 26, !7, i64 28}
!30 = !{!31, !7, i64 28}
!31 = !{!"_ZTS19cbMANUALUNITMAPPING", !10, i64 0, !8, i64 2, !8, i64 8, !10, i64 26, !7, i64 28}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


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