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

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

@.str.77 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.78 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.79 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.80 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.81 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.82 = external hidden unnamed_addr constant [15 x i32], align 4
@.str.83 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.84 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.85 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.86 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.87 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.88 = external hidden unnamed_addr constant [12 x i32], align 4
@.str.89 = external hidden unnamed_addr constant [22 x i32], align 4
@.str.90 = external hidden unnamed_addr constant [40 x i32], align 4
@.str.91 = external hidden unnamed_addr constant [30 x i32], align 4
@.str.92 = external hidden unnamed_addr constant [38 x i32], align 4
@.str.93 = external hidden unnamed_addr constant [35 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 @DevPathToTextUsbClass(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 i8, align 1
  %11 = alloca i32, align 4
  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 1, ptr %10) #2
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %12, ptr %9, align 8, !tbaa !5
  store i8 1, ptr %10, align 1, !tbaa !9
  %13 = load ptr, ptr %9, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %13, i32 0, i32 3
  %15 = load i8, ptr %14, align 1, !tbaa !10
  %16 = zext i8 %15 to i32
  switch i32 %16, label %53 [
    i32 1, label %17
    i32 2, label %20
    i32 3, label %23
    i32 6, label %26
    i32 7, label %29
    i32 8, label %32
    i32 9, label %35
    i32 10, label %38
    i32 11, label %41
    i32 14, label %44
    i32 220, label %47
    i32 224, label %50
  ]

17:                                               ; preds = %4
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %18, ptr noundef @.str.77)
  br label %54

20:                                               ; preds = %4
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %21, ptr noundef @.str.78)
  br label %54

23:                                               ; preds = %4
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %24, ptr noundef @.str.79)
  br label %54

26:                                               ; preds = %4
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %27, ptr noundef @.str.80)
  br label %54

29:                                               ; preds = %4
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %30, ptr noundef @.str.81)
  br label %54

32:                                               ; preds = %4
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %33, ptr noundef @.str.82)
  br label %54

35:                                               ; preds = %4
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %36, ptr noundef @.str.83)
  br label %54

38:                                               ; preds = %4
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %39, ptr noundef @.str.84)
  br label %54

41:                                               ; preds = %4
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %42, ptr noundef @.str.85)
  br label %54

44:                                               ; preds = %4
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %45, ptr noundef @.str.86)
  br label %54

47:                                               ; preds = %4
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %48, ptr noundef @.str.87)
  br label %54

50:                                               ; preds = %4
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %51, ptr noundef @.str.88)
  br label %54

53:                                               ; preds = %4
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %54

54:                                               ; preds = %53, %50, %47, %44, %41, %38, %35, %32, %29, %26, %23, %20, %17
  %55 = load i8, ptr %10, align 1, !tbaa !9
  %56 = icmp ne i8 %55, 0
  br i1 %56, label %57, label %76

57:                                               ; preds = %54
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %59, i32 0, i32 1
  %61 = load i16, ptr %60, align 1, !tbaa !14
  %62 = zext i16 %61 to i32
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %63, i32 0, i32 2
  %65 = load i16, ptr %64, align 1, !tbaa !15
  %66 = zext i16 %65 to i32
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %67, i32 0, i32 4
  %69 = load i8, ptr %68, align 1, !tbaa !16
  %70 = zext i8 %69 to i32
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %71, i32 0, i32 5
  %73 = load i8, ptr %72, align 1, !tbaa !17
  %74 = zext i8 %73 to i32
  %75 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %58, ptr noundef @.str.89, i32 noundef %62, i32 noundef %66, i32 noundef %70, i32 noundef %74)
  store i32 1, ptr %11, align 4
  br label %171

76:                                               ; preds = %54
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %77, i32 0, i32 3
  %79 = load i8, ptr %78, align 1, !tbaa !10
  %80 = zext i8 %79 to i32
  %81 = icmp eq i32 %80, 254
  br i1 %81, label %82, label %148

82:                                               ; preds = %76
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %83, i32 0, i32 4
  %85 = load i8, ptr %84, align 1, !tbaa !16
  %86 = zext i8 %85 to i32
  %87 = icmp eq i32 %86, 1
  br i1 %87, label %88, label %103

88:                                               ; preds = %82
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %90, i32 0, i32 1
  %92 = load i16, ptr %91, align 1, !tbaa !14
  %93 = zext i16 %92 to i32
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %94, i32 0, i32 2
  %96 = load i16, ptr %95, align 1, !tbaa !15
  %97 = zext i16 %96 to i32
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %98, i32 0, i32 5
  %100 = load i8, ptr %99, align 1, !tbaa !17
  %101 = zext i8 %100 to i32
  %102 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %89, ptr noundef @.str.90, i32 noundef %93, i32 noundef %97, i32 noundef %101)
  store i32 1, ptr %11, align 4
  br label %171

103:                                              ; preds = %82
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %104, i32 0, i32 4
  %106 = load i8, ptr %105, align 1, !tbaa !16
  %107 = zext i8 %106 to i32
  %108 = icmp eq i32 %107, 2
  br i1 %108, label %109, label %124

109:                                              ; preds = %103
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %111, i32 0, i32 1
  %113 = load i16, ptr %112, align 1, !tbaa !14
  %114 = zext i16 %113 to i32
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %115, i32 0, i32 2
  %117 = load i16, ptr %116, align 1, !tbaa !15
  %118 = zext i16 %117 to i32
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %119, i32 0, i32 5
  %121 = load i8, ptr %120, align 1, !tbaa !17
  %122 = zext i8 %121 to i32
  %123 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %110, ptr noundef @.str.91, i32 noundef %114, i32 noundef %118, i32 noundef %122)
  store i32 1, ptr %11, align 4
  br label %171

124:                                              ; preds = %103
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %125, i32 0, i32 4
  %127 = load i8, ptr %126, align 1, !tbaa !16
  %128 = zext i8 %127 to i32
  %129 = icmp eq i32 %128, 3
  br i1 %129, label %130, label %145

130:                                              ; preds = %124
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %132, i32 0, i32 1
  %134 = load i16, ptr %133, align 1, !tbaa !14
  %135 = zext i16 %134 to i32
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %136, i32 0, i32 2
  %138 = load i16, ptr %137, align 1, !tbaa !15
  %139 = zext i16 %138 to i32
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %140, i32 0, i32 5
  %142 = load i8, ptr %141, align 1, !tbaa !17
  %143 = zext i8 %142 to i32
  %144 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %131, ptr noundef @.str.92, i32 noundef %135, i32 noundef %139, i32 noundef %143)
  store i32 1, ptr %11, align 4
  br label %171

145:                                              ; preds = %124
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147, %76
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %150, i32 0, i32 1
  %152 = load i16, ptr %151, align 1, !tbaa !14
  %153 = zext i16 %152 to i32
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %154, i32 0, i32 2
  %156 = load i16, ptr %155, align 1, !tbaa !15
  %157 = zext i16 %156 to i32
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %158, i32 0, i32 3
  %160 = load i8, ptr %159, align 1, !tbaa !10
  %161 = zext i8 %160 to i32
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %162, i32 0, i32 4
  %164 = load i8, ptr %163, align 1, !tbaa !16
  %165 = zext i8 %164 to i32
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.USB_CLASS_DEVICE_PATH, ptr %166, i32 0, i32 5
  %168 = load i8, ptr %167, align 1, !tbaa !17
  %169 = zext i8 %168 to i32
  %170 = call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %149, ptr noundef @.str.93, i32 noundef %153, i32 noundef %157, i32 noundef %161, i32 noundef %165, i32 noundef %169)
  store i32 0, ptr %11, align 4
  br label %171

171:                                              ; preds = %148, %130, %109, %88, %57
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  %172 = load i32, ptr %11, align 4
  switch i32 %172, label %174 [
    i32 0, label %173
    i32 1, label %173
  ]

173:                                              ; preds = %171, %171
  ret void

174:                                              ; preds = %171
  unreachable
}

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, !7, i64 8}
!11 = !{!"", !12, i64 0, !13, i64 4, !13, i64 6, !7, i64 8, !7, i64 9, !7, i64 10}
!12 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2}
!13 = !{!"short", !7, i64 0}
!14 = !{!11, !13, i64 4}
!15 = !{!11, !13, i64 6}
!16 = !{!11, !7, i64 9}
!17 = !{!11, !7, i64 10}


; 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.77 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.78 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.79 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.80 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.81 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.82 = external hidden unnamed_addr constant [15 x i32], align 4
@.str.83 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.84 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.85 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.86 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.87 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.88 = external hidden unnamed_addr constant [12 x i32], align 4
@.str.89 = external hidden unnamed_addr constant [22 x i32], align 4
@.str.90 = external hidden unnamed_addr constant [40 x i32], align 4
@.str.91 = external hidden unnamed_addr constant [30 x i32], align 4
@.str.92 = external hidden unnamed_addr constant [38 x i32], align 4
@.str.93 = external hidden unnamed_addr constant [35 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 @DevPathToTextUsbClass(ptr noundef %0, ptr nocapture noundef readonly %1, i8 noundef zeroext %2, i8 noundef zeroext %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = load i8, ptr %5, align 1, !tbaa !5
  switch i8 %6, label %._crit_edge [
    i8 1, label %.critedge
    i8 2, label %7
    i8 3, label %8
    i8 6, label %9
    i8 7, label %10
    i8 8, label %11
    i8 9, label %12
    i8 10, label %13
    i8 11, label %14
    i8 14, label %15
    i8 -36, label %16
    i8 -32, label %17
    i8 -2, label %32
  ]

._crit_edge:                                      ; preds = %4
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 9
  %.pre = load i8, ptr %.phi.trans.insert, align 1, !tbaa !11
  br label %68

7:                                                ; preds = %4
  br label %.critedge

8:                                                ; preds = %4
  br label %.critedge

9:                                                ; preds = %4
  br label %.critedge

10:                                               ; preds = %4
  br label %.critedge

11:                                               ; preds = %4
  br label %.critedge

12:                                               ; preds = %4
  br label %.critedge

13:                                               ; preds = %4
  br label %.critedge

14:                                               ; preds = %4
  br label %.critedge

15:                                               ; preds = %4
  br label %.critedge

16:                                               ; preds = %4
  br label %.critedge

17:                                               ; preds = %4
  br label %.critedge

.critedge:                                        ; preds = %4, %7, %8, %9, %10, %11, %12, %13, %14, %15, %16, %17
  %.str.77.sink = phi ptr [ @.str.78, %7 ], [ @.str.79, %8 ], [ @.str.80, %9 ], [ @.str.81, %10 ], [ @.str.82, %11 ], [ @.str.83, %12 ], [ @.str.84, %13 ], [ @.str.85, %14 ], [ @.str.86, %15 ], [ @.str.87, %16 ], [ @.str.88, %17 ], [ @.str.77, %4 ]
  %18 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull %.str.77.sink)
  %19 = getelementptr inbounds i8, ptr %1, i64 4
  %20 = load i16, ptr %19, align 1, !tbaa !12
  %21 = zext i16 %20 to i32
  %22 = getelementptr inbounds i8, ptr %1, i64 6
  %23 = load i16, ptr %22, align 1, !tbaa !13
  %24 = zext i16 %23 to i32
  %25 = getelementptr inbounds i8, ptr %1, i64 9
  %26 = load i8, ptr %25, align 1, !tbaa !11
  %27 = zext i8 %26 to i32
  %28 = getelementptr inbounds i8, ptr %1, i64 10
  %29 = load i8, ptr %28, align 1, !tbaa !14
  %30 = zext i8 %29 to i32
  %31 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.89, i32 noundef %21, i32 noundef %24, i32 noundef %27, i32 noundef %30)
  br label %82

32:                                               ; preds = %4
  %33 = getelementptr inbounds i8, ptr %1, i64 9
  %34 = load i8, ptr %33, align 1, !tbaa !11
  switch i8 %34, label %68 [
    i8 1, label %35
    i8 2, label %46
    i8 3, label %57
  ]

35:                                               ; preds = %32
  %36 = getelementptr inbounds i8, ptr %1, i64 4
  %37 = load i16, ptr %36, align 1, !tbaa !12
  %38 = zext i16 %37 to i32
  %39 = getelementptr inbounds i8, ptr %1, i64 6
  %40 = load i16, ptr %39, align 1, !tbaa !13
  %41 = zext i16 %40 to i32
  %42 = getelementptr inbounds i8, ptr %1, i64 10
  %43 = load i8, ptr %42, align 1, !tbaa !14
  %44 = zext i8 %43 to i32
  %45 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.90, i32 noundef %38, i32 noundef %41, i32 noundef %44)
  br label %82

46:                                               ; preds = %32
  %47 = getelementptr inbounds i8, ptr %1, i64 4
  %48 = load i16, ptr %47, align 1, !tbaa !12
  %49 = zext i16 %48 to i32
  %50 = getelementptr inbounds i8, ptr %1, i64 6
  %51 = load i16, ptr %50, align 1, !tbaa !13
  %52 = zext i16 %51 to i32
  %53 = getelementptr inbounds i8, ptr %1, i64 10
  %54 = load i8, ptr %53, align 1, !tbaa !14
  %55 = zext i8 %54 to i32
  %56 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.91, i32 noundef %49, i32 noundef %52, i32 noundef %55)
  br label %82

57:                                               ; preds = %32
  %58 = getelementptr inbounds i8, ptr %1, i64 4
  %59 = load i16, ptr %58, align 1, !tbaa !12
  %60 = zext i16 %59 to i32
  %61 = getelementptr inbounds i8, ptr %1, i64 6
  %62 = load i16, ptr %61, align 1, !tbaa !13
  %63 = zext i16 %62 to i32
  %64 = getelementptr inbounds i8, ptr %1, i64 10
  %65 = load i8, ptr %64, align 1, !tbaa !14
  %66 = zext i8 %65 to i32
  %67 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.92, i32 noundef %60, i32 noundef %63, i32 noundef %66)
  br label %82

68:                                               ; preds = %._crit_edge, %32
  %69 = phi i8 [ %.pre, %._crit_edge ], [ %34, %32 ]
  %70 = getelementptr inbounds i8, ptr %1, i64 4
  %71 = load i16, ptr %70, align 1, !tbaa !12
  %72 = zext i16 %71 to i32
  %73 = getelementptr inbounds i8, ptr %1, i64 6
  %74 = load i16, ptr %73, align 1, !tbaa !13
  %75 = zext i16 %74 to i32
  %76 = zext i8 %6 to i32
  %77 = zext i8 %69 to i32
  %78 = getelementptr inbounds i8, ptr %1, i64 10
  %79 = load i8, ptr %78, align 1, !tbaa !14
  %80 = zext i8 %79 to i32
  %81 = tail call ptr (ptr, ptr, ...) @UefiDevicePathLibCatPrint(ptr noundef %0, ptr noundef nonnull @.str.93, i32 noundef %72, i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef %80)
  br label %82

82:                                               ; preds = %68, %57, %46, %35, %.critedge
  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, !8, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 4, !10, i64 6, !8, i64 8, !8, i64 9, !8, i64 10}
!7 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!6, !8, i64 9}
!12 = !{!6, !10, i64 4}
!13 = !{!6, !10, i64 6}
!14 = !{!6, !8, i64 10}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass