; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library (DevPathToTextSasEx)

; 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.SASEX_DEVICE_PATH = type { %struct.EFI_DEVICE_PATH_PROTOCOL, [8 x i8], [8 x i8], i16, i16 }
%struct.EFI_DEVICE_PATH_PROTOCOL = type { i8, i8, [2 x i8] }

@.str.17 = external hidden unnamed_addr constant [10 x i32], align 4
@.str.18 = external hidden unnamed_addr constant [5 x i32], align 4
@.str.19 = external hidden unnamed_addr constant [4 x i32], align 4
@.str.20 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.21 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.22 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.23 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.33 = external hidden unnamed_addr constant [5 x i32], align 4
@.str.34 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.63 = external hidden unnamed_addr constant [4 x i32], align 4
@.str.64 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.65 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.66 = external hidden unnamed_addr constant [17 x i32], align 4
@.str.67 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.68 = external hidden unnamed_addr constant [5 x i32], align 4
@.str.69 = external hidden unnamed_addr constant [11 x i32], align 4

; Function Attrs: nounwind uwtable
declare dso_local ptr @UefiDevicePathLibCatPrint(ptr noundef, ptr noundef, ...) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @DevPathToTextSasEx(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i8 %2, ptr %7, align 1, !tbaa !9
  store i8 %3, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %11 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %11, ptr %9, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %12, ptr noundef @.str.64)
  store i64 0, ptr %10, align 8, !tbaa !10
  br label %14

14:                                               ; preds = %26, %4
  %15 = load i64, ptr %10, align 8, !tbaa !10
  %16 = icmp ult i64 %15, 8
  br i1 %16, label %17, label %29

17:                                               ; preds = %14
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %19, i32 0, i32 1
  %21 = load i64, ptr %10, align 8, !tbaa !10
  %22 = getelementptr inbounds [8 x i8], ptr %20, i64 0, i64 %21
  %23 = load i8, ptr %22, align 1, !tbaa !9
  %24 = zext i8 %23 to i32
  %25 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %18, ptr noundef @.str.33, i32 noundef %24)
  br label %26

26:                                               ; preds = %17
  %27 = load i64, ptr %10, align 8, !tbaa !10
  %28 = add i64 %27, 1
  store i64 %28, ptr %10, align 8, !tbaa !10
  br label %14, !llvm.loop !12

29:                                               ; preds = %14
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %30, ptr noundef @.str.63)
  store i64 0, ptr %10, align 8, !tbaa !10
  br label %32

32:                                               ; preds = %44, %29
  %33 = load i64, ptr %10, align 8, !tbaa !10
  %34 = icmp ult i64 %33, 8
  br i1 %34, label %35, label %47

35:                                               ; preds = %32
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %37, i32 0, i32 2
  %39 = load i64, ptr %10, align 8, !tbaa !10
  %40 = getelementptr inbounds [8 x i8], ptr %38, i64 0, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !9
  %42 = zext i8 %41 to i32
  %43 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %36, ptr noundef @.str.33, i32 noundef %42)
  br label %44

44:                                               ; preds = %35
  %45 = load i64, ptr %10, align 8, !tbaa !10
  %46 = add i64 %45, 1
  store i64 %46, ptr %10, align 8, !tbaa !10
  br label %32, !llvm.loop !14

47:                                               ; preds = %32
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %49, i32 0, i32 4
  %51 = load i16, ptr %50, align 1, !tbaa !15
  %52 = zext i16 %51 to i32
  %53 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %48, ptr noundef @.str.65, i32 noundef %52)
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %54, i32 0, i32 3
  %56 = load i16, ptr %55, align 1, !tbaa !19
  %57 = zext i16 %56 to i32
  %58 = and i32 %57, 15
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %70

60:                                               ; preds = %47
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %61, i32 0, i32 3
  %63 = load i16, ptr %62, align 1, !tbaa !19
  %64 = zext i16 %63 to i32
  %65 = and i32 %64, 128
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %70

67:                                               ; preds = %60
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %68, ptr noundef @.str.66)
  br label %139

70:                                               ; preds = %60, %47
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %71, i32 0, i32 3
  %73 = load i16, ptr %72, align 1, !tbaa !19
  %74 = zext i16 %73 to i32
  %75 = and i32 %74, 15
  %76 = icmp sle i32 %75, 2
  br i1 %76, label %77, label %131

77:                                               ; preds = %70
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %78, i32 0, i32 3
  %80 = load i16, ptr %79, align 1, !tbaa !19
  %81 = zext i16 %80 to i32
  %82 = and i32 %81, 128
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %131

84:                                               ; preds = %77
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %86, i32 0, i32 3
  %88 = load i16, ptr %87, align 1, !tbaa !19
  %89 = zext i16 %88 to i32
  %90 = and i32 %89, 16
  %91 = icmp ne i32 %90, 0
  %92 = zext i1 %91 to i64
  %93 = select i1 %91, ptr @.str.18, ptr @.str.19
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %94, i32 0, i32 3
  %96 = load i16, ptr %95, align 1, !tbaa !19
  %97 = zext i16 %96 to i32
  %98 = and i32 %97, 32
  %99 = icmp ne i32 %98, 0
  %100 = zext i1 %99 to i64
  %101 = select i1 %99, ptr @.str.20, ptr @.str.21
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %102, i32 0, i32 3
  %104 = load i16, ptr %103, align 1, !tbaa !19
  %105 = zext i16 %104 to i32
  %106 = and i32 %105, 64
  %107 = icmp ne i32 %106, 0
  %108 = zext i1 %107 to i64
  %109 = select i1 %107, ptr @.str.22, ptr @.str.23
  %110 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %85, ptr noundef @.str.17, ptr noundef %93, ptr noundef %101, ptr noundef %109)
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %111, i32 0, i32 3
  %113 = load i16, ptr %112, align 1, !tbaa !19
  %114 = zext i16 %113 to i32
  %115 = and i32 %114, 15
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %117, label %120

117:                                              ; preds = %84
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %118, ptr noundef @.str.67)
  br label %130

120:                                              ; preds = %84
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %122, i32 0, i32 3
  %124 = load i16, ptr %123, align 1, !tbaa !19
  %125 = zext i16 %124 to i32
  %126 = ashr i32 %125, 8
  %127 = and i32 %126, 255
  %128 = add nsw i32 %127, 1
  %129 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %121, ptr noundef @.str.68, i32 noundef %128)
  br label %130

130:                                              ; preds = %120, %117
  br label %138

131:                                              ; preds = %77, %70
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.SASEX_DEVICE_PATH, ptr %133, i32 0, i32 3
  %135 = load i16, ptr %134, align 1, !tbaa !19
  %136 = zext i16 %135 to i32
  %137 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %132, ptr noundef @.str.69, i32 noundef %136)
  br label %138

138:                                              ; preds = %131, %130
  br label %139

139:                                              ; preds = %138, %67
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %140, ptr noundef @.str.34)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  ret void
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !18, i64 22}
!16 = !{!"", !17, i64 0, !7, i64 4, !7, i64 12, !18, i64 20, !18, i64 22}
!17 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2}
!18 = !{!"short", !7, i64 0}
!19 = !{!16, !18, i64 20}


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

@.str.17 = external hidden unnamed_addr constant [10 x i32], align 4
@.str.18 = external hidden unnamed_addr constant [5 x i32], align 4
@.str.19 = external hidden unnamed_addr constant [4 x i32], align 4
@.str.20 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.21 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.22 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.23 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.33 = external hidden unnamed_addr constant [5 x i32], align 4
@.str.34 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.63 = external hidden unnamed_addr constant [4 x i32], align 4
@.str.64 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.65 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.66 = external hidden unnamed_addr constant [17 x i32], align 4
@.str.67 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.68 = external hidden unnamed_addr constant [5 x i32], align 4
@.str.69 = external hidden unnamed_addr constant [11 x i32], align 4

; Function Attrs: nounwind uwtable
declare dso_local ptr @UefiDevicePathLibCatPrint(ptr noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @DevPathToTextSasEx(ptr noundef %0, ptr nocapture noundef readonly %1, i8 noundef zeroext %2, i8 noundef zeroext %3) local_unnamed_addr #0 {
  %5 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.64)
  %6 = getelementptr inbounds i8, ptr %1, i64 4
  %7 = load i8, ptr %6, align 1, !tbaa !5
  %8 = zext i8 %7 to i32
  %9 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %8)
  %10 = getelementptr inbounds i8, ptr %1, i64 5
  %11 = load i8, ptr %10, align 1, !tbaa !5
  %12 = zext i8 %11 to i32
  %13 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %12)
  %14 = getelementptr inbounds i8, ptr %1, i64 6
  %15 = load i8, ptr %14, align 1, !tbaa !5
  %16 = zext i8 %15 to i32
  %17 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %16)
  %18 = getelementptr inbounds i8, ptr %1, i64 7
  %19 = load i8, ptr %18, align 1, !tbaa !5
  %20 = zext i8 %19 to i32
  %21 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %20)
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = zext i8 %23 to i32
  %25 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %24)
  %26 = getelementptr inbounds i8, ptr %1, i64 9
  %27 = load i8, ptr %26, align 1, !tbaa !5
  %28 = zext i8 %27 to i32
  %29 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %28)
  %30 = getelementptr inbounds i8, ptr %1, i64 10
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = zext i8 %31 to i32
  %33 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %32)
  %34 = getelementptr inbounds i8, ptr %1, i64 11
  %35 = load i8, ptr %34, align 1, !tbaa !5
  %36 = zext i8 %35 to i32
  %37 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %36)
  %38 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.63)
  %39 = getelementptr inbounds i8, ptr %1, i64 12
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = zext i8 %40 to i32
  %42 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %41)
  %43 = getelementptr inbounds i8, ptr %1, i64 13
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %45 = zext i8 %44 to i32
  %46 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %45)
  %47 = getelementptr inbounds i8, ptr %1, i64 14
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = zext i8 %48 to i32
  %50 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %49)
  %51 = getelementptr inbounds i8, ptr %1, i64 15
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = zext i8 %52 to i32
  %54 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %53)
  %55 = getelementptr inbounds i8, ptr %1, i64 16
  %56 = load i8, ptr %55, align 1, !tbaa !5
  %57 = zext i8 %56 to i32
  %58 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %57)
  %59 = getelementptr inbounds i8, ptr %1, i64 17
  %60 = load i8, ptr %59, align 1, !tbaa !5
  %61 = zext i8 %60 to i32
  %62 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %61)
  %63 = getelementptr inbounds i8, ptr %1, i64 18
  %64 = load i8, ptr %63, align 1, !tbaa !5
  %65 = zext i8 %64 to i32
  %66 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %65)
  %67 = getelementptr inbounds i8, ptr %1, i64 19
  %68 = load i8, ptr %67, align 1, !tbaa !5
  %69 = zext i8 %68 to i32
  %70 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.33, i32 noundef %69)
  %71 = getelementptr inbounds i8, ptr %1, i64 22
  %72 = load i16, ptr %71, align 1, !tbaa !8
  %73 = zext i16 %72 to i32
  %74 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.65, i32 noundef %73)
  %75 = getelementptr inbounds i8, ptr %1, i64 20
  %76 = load i16, ptr %75, align 1, !tbaa !12
  %77 = zext i16 %76 to i32
  %78 = and i32 %77, 143
  %or.cond = icmp eq i32 %78, 0
  br i1 %or.cond, label %79, label %81

79:                                               ; preds = %4
  %80 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.66)
  br label %106

81:                                               ; preds = %4
  %82 = and i32 %77, 128
  %83 = icmp eq i32 %82, 0
  %84 = and i32 %77, 15
  %85 = icmp ult i32 %84, 3
  %or.cond34 = and i1 %85, %83
  br i1 %or.cond34, label %86, label %104

86:                                               ; preds = %81
  %87 = and i32 %77, 16
  %.not = icmp eq i32 %87, 0
  %88 = select i1 %.not, ptr @.str.19, ptr @.str.18
  %89 = and i32 %77, 32
  %.not30 = icmp eq i32 %89, 0
  %90 = select i1 %.not30, ptr @.str.21, ptr @.str.20
  %91 = and i32 %77, 64
  %.not31 = icmp eq i32 %91, 0
  %92 = select i1 %.not31, ptr @.str.23, ptr @.str.22
  %93 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.17, ptr noundef nonnull %88, ptr noundef nonnull %90, ptr noundef nonnull %92)
  %94 = load i16, ptr %75, align 1, !tbaa !12
  %95 = zext i16 %94 to i32
  %96 = and i32 %95, 15
  %97 = icmp eq i32 %96, 1
  br i1 %97, label %98, label %100

98:                                               ; preds = %86
  %99 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.67)
  br label %106

100:                                              ; preds = %86
  %101 = lshr i32 %95, 8
  %102 = add nuw nsw i32 %101, 1
  %103 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.68, i32 noundef %102)
  br label %106

104:                                              ; preds = %81
  %105 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.69, i32 noundef %77)
  br label %106

106:                                              ; preds = %104, %100, %98, %79
  %107 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.34)
  ret void
}

attributes #0 = { 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" }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !11, i64 22}
!9 = !{!"", !10, i64 0, !6, i64 4, !6, i64 12, !11, i64 20, !11, i64 22}
!10 = !{!"", !6, i64 0, !6, i64 1, !6, i64 2}
!11 = !{!"short", !6, i64 0}
!12 = !{!9, !11, i64 20}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass