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

; 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.ETHER_HEAD = type { [6 x i8], [6 x i8], i16 }
%struct._EFI_SIMPLE_NETWORK_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.EFI_BOOT_SERVICES = type { %struct.EFI_TABLE_HEADER, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_TABLE_HEADER = type { i64, i32, i32, i32, i32 }

@gBS = external global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local ptr @SyslogLocateSnp() #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 i64 @SyslogSendPacket(ptr noundef %0, i32 noundef %1) #0 {
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %12 = call ptr @SyslogLocateSnp()
  store ptr %12, ptr %6, align 8, !tbaa !5
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  store i64 -9223372036854775801, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %105

16:                                               ; preds = %2
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %17, ptr %7, align 8, !tbaa !5
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.ETHER_HEAD, ptr %18, i32 0, i32 1
  %20 = getelementptr inbounds [6 x i8], ptr %19, i64 0, i64 0
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %21, i32 0, i32 15
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %23, i32 0, i32 11
  %25 = getelementptr inbounds %struct.EFI_MAC_ADDRESS, ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  %27 = call ptr @CopyMem(ptr noundef %20, ptr noundef %26, i64 noundef 6)
  %28 = load ptr, ptr @gBS, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %28, i32 0, i32 8
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = call i64 %30(i32 noundef -2147483648, i64 noundef 16, ptr noundef null, ptr noundef null, ptr noundef %9)
  store i64 %31, ptr %8, align 8, !tbaa !17
  %32 = load i64, ptr %8, align 8, !tbaa !17
  %33 = icmp slt i64 %32, 0
  br i1 %33, label %34, label %36

34:                                               ; preds = %16
  %35 = load i64, ptr %8, align 8, !tbaa !17
  store i64 %35, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %105

36:                                               ; preds = %16
  %37 = load ptr, ptr @gBS, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %37, i32 0, i32 9
  %39 = load ptr, ptr %38, align 8, !tbaa !18
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = call i64 %39(ptr noundef %40, i32 noundef 2, i64 noundef 5000000)
  store i64 %41, ptr %8, align 8, !tbaa !17
  %42 = load i64, ptr %8, align 8, !tbaa !17
  %43 = icmp slt i64 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %36
  br label %98

45:                                               ; preds = %36
  br label %46

46:                                               ; preds = %86, %45
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %47, i32 0, i32 12
  %49 = load ptr, ptr %48, align 8, !tbaa !19
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = load i32, ptr %5, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = call i64 %49(ptr noundef %50, i64 noundef 0, i64 noundef %52, ptr noundef %53, ptr noundef null, ptr noundef null, ptr noundef null)
  store i64 %54, ptr %8, align 8, !tbaa !17
  %55 = load i64, ptr %8, align 8, !tbaa !17
  %56 = icmp ne i64 %55, 0
  br i1 %56, label %57, label %61

57:                                               ; preds = %46
  %58 = load i64, ptr %8, align 8, !tbaa !17
  %59 = icmp ne i64 %58, -9223372036854775802
  br i1 %59, label %60, label %61

60:                                               ; preds = %57
  store i64 -9223372036854775801, ptr %8, align 8, !tbaa !17
  br label %92

61:                                               ; preds = %57, %46
  store ptr null, ptr %10, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %76, %61
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %63, i32 0, i32 11
  %65 = load ptr, ptr %64, align 8, !tbaa !20
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = call i64 %65(ptr noundef %66, ptr noundef null, ptr noundef %10)
  %68 = load ptr, ptr @gBS, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %68, i32 0, i32 13
  %70 = load ptr, ptr %69, align 8, !tbaa !21
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = call i64 %70(ptr noundef %71)
  %73 = icmp slt i64 %72, 0
  br i1 %73, label %75, label %74

74:                                               ; preds = %62
  store i64 -9223372036854775790, ptr %8, align 8, !tbaa !17
  br label %79

75:                                               ; preds = %62
  br label %76

76:                                               ; preds = %75
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = icmp eq ptr %77, null
  br i1 %78, label %62, label %79, !llvm.loop !22

79:                                               ; preds = %76, %74
  %80 = load i64, ptr %8, align 8, !tbaa !17
  %81 = icmp eq i64 %80, 0
  br i1 %81, label %85, label %82

82:                                               ; preds = %79
  %83 = load i64, ptr %8, align 8, !tbaa !17
  %84 = icmp eq i64 %83, -9223372036854775790
  br i1 %84, label %85, label %86

85:                                               ; preds = %82, %79
  br label %92

86:                                               ; preds = %82
  %87 = load ptr, ptr @gBS, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %87, i32 0, i32 9
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = call i64 %89(ptr noundef %90, i32 noundef 2, i64 noundef 5000000)
  br label %46

92:                                               ; preds = %85, %60
  %93 = load ptr, ptr @gBS, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %93, i32 0, i32 9
  %95 = load ptr, ptr %94, align 8, !tbaa !18
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = call i64 %95(ptr noundef %96, i32 noundef 0, i64 noundef 0)
  br label %98

98:                                               ; preds = %92, %44
  %99 = load ptr, ptr @gBS, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %99, i32 0, i32 12
  %101 = load ptr, ptr %100, align 8, !tbaa !24
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = call i64 %101(ptr noundef %102)
  %104 = load i64, ptr %8, align 8, !tbaa !17
  store i64 %104, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %105

105:                                              ; preds = %98, %34, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %106 = load i64, ptr %3, align 8
  ret i64 %106
}

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 noundef) #2

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 = { "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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 120}
!12 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!13 = !{!"long long", !7, i64 0}
!14 = !{!15, !6, i64 80}
!15 = !{!"", !16, i64 0, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!16 = !{!"", !13, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!17 = !{!13, !13, i64 0}
!18 = !{!15, !6, i64 88}
!19 = !{!12, !6, i64 96}
!20 = !{!12, !6, i64 88}
!21 = !{!15, !6, i64 120}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!15, !6, i64 112}


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

@gBS = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local ptr @SyslogLocateSnp() local_unnamed_addr #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: mustprogress 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 i64 @SyslogSendPacket(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %5 = tail call ptr @SyslogLocateSnp()
  %6 = icmp eq ptr %5, null
  br i1 %6, label %62, label %7

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 6
  %9 = getelementptr inbounds i8, ptr %5, i64 120
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 552
  %12 = tail call ptr @CopyMem(ptr noundef nonnull %8, ptr noundef nonnull %11, i64 noundef 6) #3
  %13 = load ptr, ptr @gBS, align 8, !tbaa !11
  %14 = getelementptr inbounds i8, ptr %13, i64 80
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  %16 = call i64 %15(i32 noundef -2147483648, i64 noundef 16, ptr noundef null, ptr noundef null, ptr noundef nonnull %3) #3
  %17 = icmp slt i64 %16, 0
  br i1 %17, label %62, label %18

18:                                               ; preds = %7
  %19 = load ptr, ptr @gBS, align 8, !tbaa !11
  %20 = getelementptr inbounds i8, ptr %19, i64 88
  %21 = load ptr, ptr %20, align 8, !tbaa !16
  %22 = load ptr, ptr %3, align 8, !tbaa !11
  %23 = call i64 %21(ptr noundef %22, i32 noundef 2, i64 noundef 5000000) #3
  %24 = icmp slt i64 %23, 0
  br i1 %24, label %56, label %.preheader

.preheader:                                       ; preds = %18
  %25 = getelementptr inbounds i8, ptr %5, i64 96
  %26 = zext i32 %1 to i64
  %27 = getelementptr inbounds i8, ptr %5, i64 88
  br label %28

28:                                               ; preds = %.preheader, %45
  %29 = load ptr, ptr %25, align 8, !tbaa !17
  %30 = call i64 %29(ptr noundef nonnull %5, i64 noundef 0, i64 noundef %26, ptr noundef %0, ptr noundef null, ptr noundef null, ptr noundef null) #3
  switch i64 %30, label %.thread [
    i64 -9223372036854775802, label %31
    i64 0, label %31
  ]

31:                                               ; preds = %28, %28
  store ptr null, ptr %4, align 8, !tbaa !11
  br label %32

32:                                               ; preds = %41, %31
  %33 = load ptr, ptr %27, align 8, !tbaa !18
  %34 = call i64 %33(ptr noundef nonnull %5, ptr noundef null, ptr noundef nonnull %4) #3
  %35 = load ptr, ptr @gBS, align 8, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %35, i64 120
  %37 = load ptr, ptr %36, align 8, !tbaa !19
  %38 = load ptr, ptr %3, align 8, !tbaa !11
  %39 = call i64 %37(ptr noundef %38) #3
  %40 = icmp slt i64 %39, 0
  br i1 %40, label %41, label %.thread

41:                                               ; preds = %32
  %42 = load ptr, ptr %4, align 8, !tbaa !11
  %43 = icmp eq ptr %42, null
  br i1 %43, label %32, label %44, !llvm.loop !20

44:                                               ; preds = %41
  switch i64 %30, label %45 [
    i64 -9223372036854775790, label %.thread
    i64 0, label %.thread
  ]

45:                                               ; preds = %44
  %46 = load ptr, ptr @gBS, align 8, !tbaa !11
  %47 = getelementptr inbounds i8, ptr %46, i64 88
  %48 = load ptr, ptr %47, align 8, !tbaa !16
  %49 = load ptr, ptr %3, align 8, !tbaa !11
  %50 = call i64 %48(ptr noundef %49, i32 noundef 2, i64 noundef 5000000) #3
  br label %28

.thread:                                          ; preds = %44, %44, %28, %32
  %.1 = phi i64 [ -9223372036854775790, %32 ], [ %30, %44 ], [ -9223372036854775801, %28 ], [ %30, %44 ]
  %51 = load ptr, ptr @gBS, align 8, !tbaa !11
  %52 = getelementptr inbounds i8, ptr %51, i64 88
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = load ptr, ptr %3, align 8, !tbaa !11
  %55 = call i64 %53(ptr noundef %54, i32 noundef 0, i64 noundef 0) #3
  br label %56

56:                                               ; preds = %18, %.thread
  %.2 = phi i64 [ %23, %18 ], [ %.1, %.thread ]
  %57 = load ptr, ptr @gBS, align 8, !tbaa !11
  %58 = getelementptr inbounds i8, ptr %57, i64 112
  %59 = load ptr, ptr %58, align 8, !tbaa !22
  %60 = load ptr, ptr %3, align 8, !tbaa !11
  %61 = call i64 %59(ptr noundef %60) #3
  br label %62

62:                                               ; preds = %7, %2, %56
  %.021 = phi i64 [ %.2, %56 ], [ -9223372036854775801, %2 ], [ %16, %7 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret i64 %.021
}

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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 = { mustprogress 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 = { 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, !10, i64 120}
!6 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !10, i64 80}
!13 = !{!"", !14, i64 0, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368}
!14 = !{!"", !7, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20}
!15 = !{!"int", !8, i64 0}
!16 = !{!13, !10, i64 88}
!17 = !{!6, !10, i64 96}
!18 = !{!6, !10, i64 88}
!19 = !{!13, !10, i64 120}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!13, !10, i64 112}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass