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

; 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.DHCP_PARAMETER = type { i32, i32, i8, i8, i32, i32, i32, i32 }
%struct.DHCP_OPTION = type { i8, i16, ptr }
%struct.DHCP_OPTION_FORMAT = type { i8, i64, i64, i64, i8 }

@.str = external hidden unnamed_addr constant [155 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @DhcpFindOptionFormat(i8 noundef zeroext) #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
declare dso_local zeroext i8 @DhcpOptionIsValid(ptr noundef, ptr noundef, i64 noundef) #0

declare zeroext i8 @DebugAssertEnabled() #2

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @DhcpGetParameter(i8 noundef zeroext, i64 noundef, ptr noundef, ptr noundef) #0

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

declare void @FreePool(ptr noundef) #2

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

17:                                               ; preds = %2
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr null, ptr %18, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %17, %2
  store ptr null, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = call i64 @DhcpParseOption(ptr noundef %20, ptr noundef %12, ptr noundef %8)
  store i64 %21, ptr %10, align 8, !tbaa !9
  %22 = load i64, ptr %10, align 8, !tbaa !9
  %23 = icmp slt i64 %22, 0
  br i1 %23, label %27, label %24

24:                                               ; preds = %19
  %25 = load i64, ptr %12, align 8, !tbaa !9
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %27, label %29

27:                                               ; preds = %24, %19
  %28 = load i64, ptr %10, align 8, !tbaa !9
  store i64 %28, ptr %3, align 8
  store i32 1, ptr %14, align 4
  br label %117

29:                                               ; preds = %24
  br label %30

30:                                               ; preds = %29
  %31 = call zeroext i8 @DebugAssertEnabled()
  %32 = icmp ne i8 %31, 0
  br i1 %32, label %33, label %38

33:                                               ; preds = %30
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @DebugAssert(ptr noundef @.str, i64 noundef 677, ptr noundef @.str.3)
  br label %37

37:                                               ; preds = %36, %33
  br label %38

38:                                               ; preds = %37, %30
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  store i8 0, ptr %11, align 1, !tbaa !11
  %41 = call ptr @ZeroMem(ptr noundef %6, i64 noundef 28)
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %42

42:                                               ; preds = %95, %40
  %43 = load i64, ptr %13, align 8, !tbaa !9
  %44 = load i64, ptr %12, align 8, !tbaa !9
  %45 = icmp slt i64 %43, %44
  br i1 %45, label %46, label %98

46:                                               ; preds = %42
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = load i64, ptr %13, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.DHCP_OPTION, ptr %47, i64 %48
  store ptr %49, ptr %9, align 8, !tbaa !5
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.DHCP_OPTION, ptr %50, i32 0, i32 0
  %52 = load i8, ptr %51, align 8, !tbaa !12
  %53 = call ptr @DhcpFindOptionFormat(i8 noundef zeroext %52)
  store ptr %53, ptr %7, align 8, !tbaa !5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = icmp eq ptr %54, null
  br i1 %55, label %56, label %57

56:                                               ; preds = %46
  br label %95

57:                                               ; preds = %46
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.DHCP_OPTION, ptr %59, i32 0, i32 2
  %61 = load ptr, ptr %60, align 8, !tbaa !15
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.DHCP_OPTION, ptr %62, i32 0, i32 1
  %64 = load i16, ptr %63, align 2, !tbaa !16
  %65 = zext i16 %64 to i64
  %66 = call zeroext i8 @DhcpOptionIsValid(ptr noundef %58, ptr noundef %61, i64 noundef %65)
  %67 = icmp ne i8 %66, 0
  br i1 %67, label %69, label %68

68:                                               ; preds = %57
  store i64 -9223372036854775806, ptr %10, align 8, !tbaa !9
  br label %114

69:                                               ; preds = %57
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.DHCP_OPTION_FORMAT, ptr %70, i32 0, i32 4
  %72 = load i8, ptr %71, align 8, !tbaa !17
  %73 = zext i8 %72 to i32
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %94

75:                                               ; preds = %69
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %94

78:                                               ; preds = %75
  store i8 1, ptr %11, align 1, !tbaa !11
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.DHCP_OPTION, ptr %79, i32 0, i32 0
  %81 = load i8, ptr %80, align 8, !tbaa !12
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.DHCP_OPTION, ptr %82, i32 0, i32 1
  %84 = load i16, ptr %83, align 2, !tbaa !16
  %85 = zext i16 %84 to i64
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.DHCP_OPTION, ptr %86, i32 0, i32 2
  %88 = load ptr, ptr %87, align 8, !tbaa !15
  %89 = call i64 @DhcpGetParameter(i8 noundef zeroext %81, i64 noundef %85, ptr noundef %88, ptr noundef %6)
  store i64 %89, ptr %10, align 8, !tbaa !9
  %90 = load i64, ptr %10, align 8, !tbaa !9
  %91 = icmp slt i64 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %78
  br label %114

93:                                               ; preds = %78
  br label %94

94:                                               ; preds = %93, %75, %69
  br label %95

95:                                               ; preds = %94, %56
  %96 = load i64, ptr %13, align 8, !tbaa !9
  %97 = add nsw i64 %96, 1
  store i64 %97, ptr %13, align 8, !tbaa !9
  br label %42, !llvm.loop !19

98:                                               ; preds = %42
  %99 = load i8, ptr %11, align 1, !tbaa !11
  %100 = zext i8 %99 to i32
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %113

102:                                              ; preds = %98
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %113

105:                                              ; preds = %102
  %106 = call ptr @AllocateCopyPool(i64 noundef 28, ptr noundef %6)
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %106, ptr %107, align 8, !tbaa !5
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = icmp eq ptr %109, null
  br i1 %110, label %111, label %112

111:                                              ; preds = %105
  store i64 -9223372036854775799, ptr %10, align 8, !tbaa !9
  br label %114

112:                                              ; preds = %105
  br label %113

113:                                              ; preds = %112, %102, %98
  br label %114

114:                                              ; preds = %113, %111, %92, %68
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  call void @FreePool(ptr noundef %115)
  %116 = load i64, ptr %10, align 8, !tbaa !9
  store i64 %116, ptr %3, align 8
  store i32 1, ptr %14, align 4
  br label %117

117:                                              ; preds = %114, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  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 28, ptr %6) #3
  %118 = load i64, ptr %3, align 8
  ret i64 %118
}

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

declare ptr @AllocateCopyPool(i64 noundef, ptr 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 = !{!"long long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"", !7, i64 0, !14, i64 2, !6, i64 8}
!14 = !{!"short", !7, i64 0}
!15 = !{!13, !6, i64 8}
!16 = !{!13, !14, i64 2}
!17 = !{!18, !7, i64 32}
!18 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; 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.DHCP_PARAMETER = type { i32, i32, i8, i8, i32, i32, i32, i32 }
%struct.DHCP_OPTION = type { i8, i16, ptr }

@.str = external hidden unnamed_addr constant [155 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @DhcpFindOptionFormat(i8 noundef zeroext) 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
declare dso_local zeroext i8 @DhcpOptionIsValid(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #2

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @DhcpGetParameter(i8 noundef zeroext, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

declare void @FreePool(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i64 @DhcpValidateOptions(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.DHCP_PARAMETER, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %6 = icmp ne ptr %1, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %2
  store ptr null, ptr %1, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %7, %2
  store ptr null, ptr %4, align 8, !tbaa !5
  %9 = call i64 @DhcpParseOption(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %4)
  %10 = icmp slt i64 %9, 0
  %11 = load i64, ptr %5, align 8
  %12 = icmp eq i64 %11, 0
  %or.cond = select i1 %10, i1 true, i1 %12
  br i1 %or.cond, label %70, label %13

13:                                               ; preds = %8
  %14 = call zeroext i8 @DebugAssertEnabled() #3
  %15 = icmp eq i8 %14, 0
  %16 = load ptr, ptr %4, align 8
  %17 = icmp ne ptr %16, null
  %or.cond7 = select i1 %15, i1 true, i1 %17
  br i1 %or.cond7, label %19, label %18

18:                                               ; preds = %13
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 677, ptr noundef nonnull @.str.3) #3
  br label %19

19:                                               ; preds = %18, %13
  %20 = call ptr @ZeroMem(ptr noundef nonnull %3, i64 noundef 28) #3
  %21 = load i64, ptr %5, align 8, !tbaa !9
  %22 = icmp sgt i64 %21, 0
  br i1 %22, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %19
  br i1 %6, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph, %35
  %.045.us = phi i64 [ %36, %35 ], [ 0, %.lr.ph ]
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.DHCP_OPTION, ptr %23, i64 %.045.us
  %25 = load i8, ptr %24, align 8, !tbaa !11
  %26 = call ptr @DhcpFindOptionFormat(i8 noundef zeroext %25)
  %27 = icmp eq ptr %26, null
  br i1 %27, label %35, label %28

28:                                               ; preds = %.lr.ph.split.us
  %29 = getelementptr inbounds i8, ptr %24, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %24, i64 2
  %32 = load i16, ptr %31, align 2, !tbaa !15
  %33 = zext i16 %32 to i64
  %34 = call zeroext i8 @DhcpOptionIsValid(ptr noundef nonnull %26, ptr noundef %30, i64 noundef %33)
  %.not.us = icmp eq i8 %34, 0
  br i1 %.not.us, label %.loopexit, label %35

35:                                               ; preds = %28, %.lr.ph.split.us
  %36 = add nuw nsw i64 %.045.us, 1
  %37 = load i64, ptr %5, align 8, !tbaa !9
  %38 = icmp slt i64 %36, %37
  br i1 %38, label %.lr.ph.split.us, label %.loopexit, !llvm.loop !16

.lr.ph.split:                                     ; preds = %.lr.ph, %61
  %.045 = phi i64 [ %62, %61 ], [ 0, %.lr.ph ]
  %.03144 = phi i8 [ %.1, %61 ], [ 0, %.lr.ph ]
  %.03243 = phi i64 [ %.133, %61 ], [ %9, %.lr.ph ]
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.DHCP_OPTION, ptr %39, i64 %.045
  %41 = load i8, ptr %40, align 8, !tbaa !11
  %42 = call ptr @DhcpFindOptionFormat(i8 noundef zeroext %41)
  %43 = icmp eq ptr %42, null
  br i1 %43, label %61, label %44

44:                                               ; preds = %.lr.ph.split
  %45 = getelementptr inbounds i8, ptr %40, i64 8
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  %47 = getelementptr inbounds i8, ptr %40, i64 2
  %48 = load i16, ptr %47, align 2, !tbaa !15
  %49 = zext i16 %48 to i64
  %50 = call zeroext i8 @DhcpOptionIsValid(ptr noundef nonnull %42, ptr noundef %46, i64 noundef %49)
  %.not = icmp eq i8 %50, 0
  br i1 %.not, label %.loopexit, label %51

51:                                               ; preds = %44
  %52 = getelementptr inbounds i8, ptr %42, i64 32
  %53 = load i8, ptr %52, align 8, !tbaa !18
  %.not49 = icmp eq i8 %53, 0
  br i1 %.not49, label %61, label %54

54:                                               ; preds = %51
  %55 = load i8, ptr %40, align 8, !tbaa !11
  %56 = load i16, ptr %47, align 2, !tbaa !15
  %57 = zext i16 %56 to i64
  %58 = load ptr, ptr %45, align 8, !tbaa !14
  %59 = call i64 @DhcpGetParameter(i8 noundef zeroext %55, i64 noundef %57, ptr noundef %58, ptr noundef nonnull %3)
  %60 = icmp slt i64 %59, 0
  br i1 %60, label %.loopexit, label %61

61:                                               ; preds = %51, %54, %.lr.ph.split
  %.133 = phi i64 [ %.03243, %.lr.ph.split ], [ %59, %54 ], [ %.03243, %51 ]
  %.1 = phi i8 [ %.03144, %.lr.ph.split ], [ 1, %54 ], [ %.03144, %51 ]
  %62 = add nuw nsw i64 %.045, 1
  %63 = load i64, ptr %5, align 8, !tbaa !9
  %64 = icmp slt i64 %62, %63
  br i1 %64, label %.lr.ph.split, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %61
  %65 = icmp ne i8 %.1, 0
  %or.cond5 = and i1 %6, %65
  br i1 %or.cond5, label %66, label %.loopexit

66:                                               ; preds = %._crit_edge
  %67 = call ptr @AllocateCopyPool(i64 noundef 28, ptr noundef nonnull %3) #3
  store ptr %67, ptr %1, align 8, !tbaa !5
  %68 = icmp eq ptr %67, null
  %spec.select = select i1 %68, i64 -9223372036854775799, i64 %.133
  br label %.loopexit

.loopexit:                                        ; preds = %35, %28, %54, %44, %19, %66, %._crit_edge
  %.2 = phi i64 [ %.133, %._crit_edge ], [ %spec.select, %66 ], [ %9, %19 ], [ -9223372036854775806, %44 ], [ %59, %54 ], [ %9, %35 ], [ -9223372036854775806, %28 ]
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  call void @FreePool(ptr noundef %69) #3
  br label %70

70:                                               ; preds = %8, %.loopexit
  %.034 = phi i64 [ %.2, %.loopexit ], [ %9, %8 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %3) #3
  ret i64 %.034
}

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

declare ptr @AllocateCopyPool(i64 noundef, ptr 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, !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 = !{!"long long", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"", !7, i64 0, !13, i64 2, !6, i64 8}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !13, i64 2}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !7, i64 32}
!19 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass