; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg (SetupCBlink)

; 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.s_data_instance = type { i16, i16, i8, i8, i16, i16, i16, i16, i16, [32 x i8], [32 x i8], [32 x i8], [64 x i32], [128 x i32], i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i32, i32, i16, i16, [2 x i16], i8, i8, i16, i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, [64 x i64], i16, i16, i16, i16, i8, i8, i8, i8, i8, [3 x i8], %struct.mc, i64, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.mc = type { [3 x i16], i16, [8 x [32 x i8]] }
%struct.s_TxCB = type { %struct.CB_Header, i32, i16, i8, i8, [64 x i8], [16 x %struct.TBD], i32, i32, ptr, ptr, i64 }
%struct.CB_Header = type { i16, i16, i32 }
%struct.TBD = type { i32, i32 }

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

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @SetupCBlink(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.s_data_instance, ptr %8, i32 0, i32 36
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  %11 = getelementptr inbounds %struct.s_TxCB, ptr %10, i64 0
  store ptr %11, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.s_TxCB, ptr %12, i32 0, i32 6
  %14 = ptrtoint ptr %13 to i64
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = ptrtoint ptr %15 to i64
  %17 = sub i64 %14, %16
  store i64 %17, ptr %7, align 8, !tbaa !15
  store i32 0, ptr %6, align 4, !tbaa !16
  br label %18

18:                                               ; preds = %129, %1
  %19 = load i32, ptr %6, align 4, !tbaa !16
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.s_data_instance, ptr %20, i32 0, i32 22
  %22 = load i16, ptr %21, align 8, !tbaa !17
  %23 = zext i16 %22 to i32
  %24 = icmp slt i32 %19, %23
  br i1 %24, label %25, label %132

25:                                               ; preds = %18
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = load i32, ptr %6, align 4, !tbaa !16
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds %struct.s_TxCB, ptr %26, i64 %28
  %30 = getelementptr inbounds %struct.s_TxCB, ptr %29, i32 0, i32 0
  %31 = getelementptr inbounds %struct.CB_Header, ptr %30, i32 0, i32 0
  store i16 0, ptr %31, align 1, !tbaa !18
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load i32, ptr %6, align 4, !tbaa !16
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds %struct.s_TxCB, ptr %32, i64 %34
  %36 = getelementptr inbounds %struct.s_TxCB, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %struct.CB_Header, ptr %36, i32 0, i32 1
  store i16 0, ptr %37, align 1, !tbaa !21
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.s_data_instance, ptr %38, i32 0, i32 42
  %40 = load i64, ptr %39, align 8, !tbaa !22
  %41 = trunc i64 %40 to i32
  %42 = zext i32 %41 to i64
  %43 = load i32, ptr %6, align 4, !tbaa !16
  %44 = sext i32 %43 to i64
  %45 = mul i64 %44, 240
  %46 = add i64 %42, %45
  %47 = trunc i64 %46 to i32
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load i32, ptr %6, align 4, !tbaa !16
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds %struct.s_TxCB, ptr %48, i64 %50
  %52 = getelementptr inbounds %struct.s_TxCB, ptr %51, i32 0, i32 8
  store i32 %47, ptr %52, align 1, !tbaa !23
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = load i32, ptr %6, align 4, !tbaa !16
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds %struct.s_TxCB, ptr %53, i64 %55
  %57 = getelementptr inbounds %struct.s_TxCB, ptr %56, i32 0, i32 8
  %58 = load i32, ptr %57, align 1, !tbaa !23
  %59 = zext i32 %58 to i64
  %60 = load i64, ptr %7, align 8, !tbaa !15
  %61 = add i64 %59, %60
  %62 = trunc i64 %61 to i32
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = load i32, ptr %6, align 4, !tbaa !16
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %struct.s_TxCB, ptr %63, i64 %65
  %67 = getelementptr inbounds %struct.s_TxCB, ptr %66, i32 0, i32 7
  store i32 %62, ptr %67, align 1, !tbaa !24
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !16
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %struct.s_TxCB, ptr %68, i64 %70
  %72 = getelementptr inbounds %struct.s_TxCB, ptr %71, i32 0, i32 8
  %73 = load i32, ptr %72, align 1, !tbaa !23
  %74 = zext i32 %73 to i64
  %75 = load i64, ptr %7, align 8, !tbaa !15
  %76 = add i64 %74, %75
  %77 = trunc i64 %76 to i32
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = load i32, ptr %6, align 4, !tbaa !16
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds %struct.s_TxCB, ptr %78, i64 %80
  %82 = getelementptr inbounds %struct.s_TxCB, ptr %81, i32 0, i32 1
  store i32 %77, ptr %82, align 1, !tbaa !25
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.s_TxCB, ptr %83, i32 0, i32 11
  store i64 0, ptr %84, align 1, !tbaa !26
  %85 = load i32, ptr %6, align 4, !tbaa !16
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.s_data_instance, ptr %86, i32 0, i32 22
  %88 = load i16, ptr %87, align 8, !tbaa !17
  %89 = zext i16 %88 to i32
  %90 = sub nsw i32 %89, 1
  %91 = icmp slt i32 %85, %90
  br i1 %91, label %92, label %128

92:                                               ; preds = %25
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = load i32, ptr %6, align 4, !tbaa !16
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds %struct.s_TxCB, ptr %93, i64 %95
  %97 = getelementptr inbounds %struct.s_TxCB, ptr %96, i32 0, i32 8
  %98 = load i32, ptr %97, align 1, !tbaa !23
  %99 = zext i32 %98 to i64
  %100 = add i64 %99, 240
  %101 = trunc i64 %100 to i32
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = load i32, ptr %6, align 4, !tbaa !16
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds %struct.s_TxCB, ptr %102, i64 %104
  %106 = getelementptr inbounds %struct.s_TxCB, ptr %105, i32 0, i32 0
  %107 = getelementptr inbounds %struct.CB_Header, ptr %106, i32 0, i32 2
  store i32 %101, ptr %107, align 1, !tbaa !27
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load i32, ptr %6, align 4, !tbaa !16
  %110 = add nsw i32 %109, 1
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds %struct.s_TxCB, ptr %108, i64 %111
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load i32, ptr %6, align 4, !tbaa !16
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %struct.s_TxCB, ptr %113, i64 %115
  %117 = getelementptr inbounds %struct.s_TxCB, ptr %116, i32 0, i32 9
  store ptr %112, ptr %117, align 1, !tbaa !28
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load i32, ptr %6, align 4, !tbaa !16
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds %struct.s_TxCB, ptr %118, i64 %120
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load i32, ptr %6, align 4, !tbaa !16
  %124 = add nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %struct.s_TxCB, ptr %122, i64 %125
  %127 = getelementptr inbounds %struct.s_TxCB, ptr %126, i32 0, i32 10
  store ptr %121, ptr %127, align 1, !tbaa !29
  br label %128

128:                                              ; preds = %92, %25
  br label %129

129:                                              ; preds = %128
  %130 = load i32, ptr %6, align 4, !tbaa !16
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %6, align 4, !tbaa !16
  br label %18, !llvm.loop !30

132:                                              ; preds = %18
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.s_TxCB, ptr %133, i64 0
  store ptr %134, ptr %3, align 8, !tbaa !5
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.s_data_instance, ptr %136, i32 0, i32 22
  %138 = load i16, ptr %137, align 8, !tbaa !17
  %139 = zext i16 %138 to i32
  %140 = sub nsw i32 %139, 1
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %struct.s_TxCB, ptr %135, i64 %141
  store ptr %142, ptr %4, align 8, !tbaa !5
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.s_TxCB, ptr %143, i32 0, i32 8
  %145 = load i32, ptr %144, align 1, !tbaa !23
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.s_TxCB, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %struct.CB_Header, ptr %147, i32 0, i32 2
  store i32 %145, ptr %148, align 1, !tbaa !27
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.s_TxCB, ptr %150, i32 0, i32 9
  store ptr %149, ptr %151, align 1, !tbaa !28
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.s_TxCB, ptr %153, i32 0, i32 10
  store ptr %152, ptr %154, align 1, !tbaa !29
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.s_data_instance, ptr %155, i32 0, i32 22
  %157 = load i16, ptr %156, align 8, !tbaa !17
  %158 = load ptr, ptr %2, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.s_data_instance, ptr %158, i32 0, i32 50
  store i16 %157, ptr %159, align 2, !tbaa !32
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.s_data_instance, ptr %161, i32 0, i32 38
  store ptr %160, ptr %162, align 8, !tbaa !33
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.s_data_instance, ptr %164, i32 0, i32 39
  store ptr %163, ptr %165, align 8, !tbaa !34
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.s_data_instance, ptr %166, i32 0, i32 48
  store i16 0, ptr %167, align 2, !tbaa !35
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.s_data_instance, ptr %168, i32 0, i32 47
  store i16 0, ptr %169, align 8, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #2
  ret i8 0
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 936}
!10 = !{!"s_data_instance", !11, i64 0, !11, i64 2, !7, i64 4, !7, i64 5, !11, i64 6, !11, i64 8, !11, i64 10, !11, i64 12, !11, i64 14, !7, i64 16, !7, i64 48, !7, i64 80, !7, i64 112, !7, i64 368, !12, i64 880, !12, i64 884, !11, i64 888, !11, i64 890, !7, i64 892, !7, i64 893, !7, i64 894, !7, i64 895, !11, i64 896, !11, i64 898, !11, i64 900, !11, i64 902, !12, i64 904, !12, i64 908, !11, i64 912, !11, i64 914, !7, i64 916, !7, i64 920, !7, i64 921, !11, i64 922, !12, i64 924, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !13, i64 976, !13, i64 984, !13, i64 992, !13, i64 1000, !13, i64 1008, !7, i64 1016, !11, i64 1528, !11, i64 1530, !11, i64 1532, !11, i64 1534, !7, i64 1536, !7, i64 1537, !7, i64 1538, !7, i64 1539, !7, i64 1540, !7, i64 1541, !14, i64 1544, !13, i64 1808, !6, i64 1816, !13, i64 1824, !6, i64 1832, !6, i64 1840, !6, i64 1848, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !6, i64 1904, !6, i64 1912}
!11 = !{!"short", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"mc", !7, i64 0, !11, i64 6, !7, i64 8}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !11, i64 896}
!18 = !{!19, !11, i64 0}
!19 = !{!"s_TxCB", !20, i64 0, !12, i64 8, !11, i64 12, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 80, !12, i64 208, !12, i64 212, !6, i64 216, !6, i64 224, !13, i64 232}
!20 = !{!"CB_Header", !11, i64 0, !11, i64 2, !12, i64 4}
!21 = !{!19, !11, i64 2}
!22 = !{!10, !13, i64 984}
!23 = !{!19, !12, i64 212}
!24 = !{!19, !12, i64 208}
!25 = !{!19, !12, i64 8}
!26 = !{!19, !13, i64 232}
!27 = !{!19, !12, i64 4}
!28 = !{!19, !6, i64 216}
!29 = !{!19, !6, i64 224}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !11, i64 1534}
!33 = !{!10, !6, i64 952}
!34 = !{!10, !6, i64 960}
!35 = !{!10, !11, i64 1530}
!36 = !{!10, !11, i64 1528}


; 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.s_TxCB = type { %struct.CB_Header, i32, i16, i8, i8, [64 x i8], [16 x %struct.TBD], i32, i32, ptr, ptr, i64 }
%struct.CB_Header = type { i16, i16, i32 }
%struct.TBD = type { i32, i32 }

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef zeroext i8 @SetupCBlink(ptr nocapture noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 936
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 896
  %5 = load i16, ptr %4, align 8, !tbaa !14
  %.not = icmp eq i16 %5, 0
  br i1 %.not, label %30, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %6 = zext i16 %5 to i64
  %7 = getelementptr inbounds i8, ptr %0, i64 984
  %8 = load i64, ptr %7, align 8, !tbaa !15
  %9 = add nuw nsw i64 %6, 4294967295
  %10 = and i64 %9, 4294967295
  %wide.trip.count = zext i16 %5 to i64
  br label %11

11:                                               ; preds = %.lr.ph, %28
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %28 ]
  %12 = getelementptr inbounds %struct.s_TxCB, ptr %3, i64 %indvars.iv
  store i16 0, ptr %12, align 1, !tbaa !16
  %13 = getelementptr inbounds i8, ptr %12, i64 2
  store i16 0, ptr %13, align 1, !tbaa !19
  %14 = mul nuw nsw i64 %indvars.iv, 240
  %15 = add i64 %8, %14
  %16 = trunc i64 %15 to i32
  %17 = getelementptr inbounds i8, ptr %12, i64 212
  store i32 %16, ptr %17, align 1, !tbaa !20
  %18 = add i32 %16, 80
  %19 = getelementptr inbounds i8, ptr %12, i64 208
  store i32 %18, ptr %19, align 1, !tbaa !21
  %20 = getelementptr inbounds i8, ptr %12, i64 8
  store i32 %18, ptr %20, align 1, !tbaa !22
  %21 = icmp ult i64 %indvars.iv, %10
  br i1 %21, label %22, label %28

22:                                               ; preds = %11
  %23 = add i32 %16, 240
  %24 = getelementptr inbounds i8, ptr %12, i64 4
  store i32 %23, ptr %24, align 1, !tbaa !23
  %25 = getelementptr inbounds i8, ptr %12, i64 240
  %26 = getelementptr inbounds i8, ptr %12, i64 216
  store ptr %25, ptr %26, align 1, !tbaa !24
  %27 = getelementptr inbounds i8, ptr %12, i64 464
  store ptr %12, ptr %27, align 1, !tbaa !25
  br label %28

28:                                               ; preds = %11, %22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %11, !llvm.loop !26

._crit_edge:                                      ; preds = %28
  %29 = getelementptr inbounds i8, ptr %3, i64 232
  store i64 0, ptr %29, align 1, !tbaa !28
  br label %30

30:                                               ; preds = %._crit_edge, %1
  %31 = zext i16 %5 to i64
  %32 = getelementptr %struct.s_TxCB, ptr %3, i64 %31
  %33 = getelementptr i8, ptr %32, i64 -240
  %34 = getelementptr inbounds i8, ptr %3, i64 212
  %35 = load i32, ptr %34, align 1, !tbaa !20
  %36 = getelementptr i8, ptr %32, i64 -236
  store i32 %35, ptr %36, align 1, !tbaa !23
  %37 = getelementptr i8, ptr %32, i64 -24
  store ptr %3, ptr %37, align 1, !tbaa !24
  %38 = getelementptr inbounds i8, ptr %3, i64 224
  store ptr %33, ptr %38, align 1, !tbaa !25
  %39 = getelementptr inbounds i8, ptr %0, i64 1534
  store i16 %5, ptr %39, align 2, !tbaa !29
  %40 = getelementptr inbounds i8, ptr %0, i64 952
  store ptr %3, ptr %40, align 8, !tbaa !30
  %41 = getelementptr inbounds i8, ptr %0, i64 960
  store ptr %33, ptr %41, align 8, !tbaa !31
  %42 = getelementptr inbounds i8, ptr %0, i64 1530
  store i16 0, ptr %42, align 2, !tbaa !32
  %43 = getelementptr inbounds i8, ptr %0, i64 1528
  store i16 0, ptr %43, align 8, !tbaa !33
  ret i8 0
}

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 936}
!6 = !{!"s_data_instance", !7, i64 0, !7, i64 2, !8, i64 4, !8, i64 5, !7, i64 6, !7, i64 8, !7, i64 10, !7, i64 12, !7, i64 14, !8, i64 16, !8, i64 48, !8, i64 80, !8, i64 112, !8, i64 368, !10, i64 880, !10, i64 884, !7, i64 888, !7, i64 890, !8, i64 892, !8, i64 893, !8, i64 894, !8, i64 895, !7, i64 896, !7, i64 898, !7, i64 900, !7, i64 902, !10, i64 904, !10, i64 908, !7, i64 912, !7, i64 914, !8, i64 916, !8, i64 920, !8, i64 921, !7, i64 922, !10, i64 924, !11, i64 928, !11, i64 936, !11, i64 944, !11, i64 952, !11, i64 960, !11, i64 968, !12, i64 976, !12, i64 984, !12, i64 992, !12, i64 1000, !12, i64 1008, !8, i64 1016, !7, i64 1528, !7, i64 1530, !7, i64 1532, !7, i64 1534, !8, i64 1536, !8, i64 1537, !8, i64 1538, !8, i64 1539, !8, i64 1540, !8, i64 1541, !13, i64 1544, !12, i64 1808, !11, i64 1816, !12, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !11, i64 1872, !11, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !11, i64 1912}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"mc", !8, i64 0, !7, i64 6, !8, i64 8}
!14 = !{!6, !7, i64 896}
!15 = !{!6, !12, i64 984}
!16 = !{!17, !7, i64 0}
!17 = !{!"s_TxCB", !18, i64 0, !10, i64 8, !7, i64 12, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 80, !10, i64 208, !10, i64 212, !11, i64 216, !11, i64 224, !12, i64 232}
!18 = !{!"CB_Header", !7, i64 0, !7, i64 2, !10, i64 4}
!19 = !{!17, !7, i64 2}
!20 = !{!17, !10, i64 212}
!21 = !{!17, !10, i64 208}
!22 = !{!17, !10, i64 8}
!23 = !{!17, !10, i64 4}
!24 = !{!17, !11, i64 216}
!25 = !{!17, !11, i64 224}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!17, !12, i64 232}
!29 = !{!6, !7, i64 1534}
!30 = !{!6, !11, i64 952}
!31 = !{!6, !11, i64 960}
!32 = !{!6, !7, i64 1530}
!33 = !{!6, !7, i64 1528}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass