; LLVM IR from holzschu/ios_system :: shell_cmds/hexdump (hexsyntax)

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

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@optarg = external global ptr, align 8
@length = external global i32, align 4
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@skip = external dso_local global i64, align 8
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@vflag = external global i32, align 4
@.str.12 = external hidden unnamed_addr constant [32 x i8], align 1
@fshead = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@optind = external global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @newsyntax(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %8 = load ptr, ptr %4, align 8, !tbaa !9
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  store ptr %9, ptr %7, align 8, !tbaa !9
  %10 = load ptr, ptr %7, align 8, !tbaa !9
  %11 = getelementptr inbounds ptr, ptr %10, i64 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = call ptr @rindex(ptr noundef %12, i32 noundef 104) #8
  store ptr %13, ptr %6, align 8, !tbaa !9
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %20

15:                                               ; preds = %2
  %16 = load ptr, ptr %6, align 8, !tbaa !9
  %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str) #8
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %15
  call void @add(ptr noundef @.str.1)
  call void @add(ptr noundef @.str.2)
  call void @add(ptr noundef @.str.3)
  br label %20

20:                                               ; preds = %19, %15, %2
  br label %21

21:                                               ; preds = %70, %20
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !9
  %24 = call i32 @getopt(i32 noundef %22, ptr noundef %23, ptr noundef @.str.4) #7
  store i32 %24, ptr %5, align 4, !tbaa !5
  %25 = icmp ne i32 %24, -1
  br i1 %25, label %26, label %71

26:                                               ; preds = %21
  %27 = load i32, ptr %5, align 4, !tbaa !5
  switch i32 %27, label %70 [
    i32 98, label %28
    i32 99, label %29
    i32 67, label %30
    i32 100, label %31
    i32 101, label %32
    i32 102, label %34
    i32 110, label %36
    i32 111, label %43
    i32 115, label %44
    i32 118, label %67
    i32 120, label %68
    i32 63, label %69
  ]

28:                                               ; preds = %26
  call void @add(ptr noundef @.str.5)
  call void @add(ptr noundef @.str.6)
  br label %70

29:                                               ; preds = %26
  call void @add(ptr noundef @.str.5)
  call void @add(ptr noundef @.str.7)
  br label %70

30:                                               ; preds = %26
  call void @add(ptr noundef @.str.1)
  call void @add(ptr noundef @.str.2)
  call void @add(ptr noundef @.str.3)
  br label %70

31:                                               ; preds = %26
  call void @add(ptr noundef @.str.5)
  call void @add(ptr noundef @.str.8)
  br label %70

32:                                               ; preds = %26
  %33 = load ptr, ptr @optarg, align 8, !tbaa !9
  call void @add(ptr noundef %33)
  br label %70

34:                                               ; preds = %26
  %35 = load ptr, ptr @optarg, align 8, !tbaa !9
  call void @addfile(ptr noundef %35)
  br label %70

36:                                               ; preds = %26
  %37 = load ptr, ptr @optarg, align 8, !tbaa !9
  %38 = call i32 @atoi(ptr noundef %37) #8
  store i32 %38, ptr @length, align 4, !tbaa !5
  %39 = icmp slt i32 %38, 0
  br i1 %39, label %40, label %42

40:                                               ; preds = %36
  %41 = load ptr, ptr @optarg, align 8, !tbaa !9
  call void (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.9, ptr noundef %41) #9
  unreachable

42:                                               ; preds = %36
  br label %70

43:                                               ; preds = %26
  call void @add(ptr noundef @.str.5)
  call void @add(ptr noundef @.str.10)
  br label %70

44:                                               ; preds = %26
  %45 = load ptr, ptr @optarg, align 8, !tbaa !9
  %46 = call i64 @strtoll(ptr noundef %45, ptr noundef %6, i32 noundef 0) #7
  store i64 %46, ptr @skip, align 8, !tbaa !11
  %47 = icmp slt i64 %46, 0
  br i1 %47, label %48, label %50

48:                                               ; preds = %44
  %49 = load ptr, ptr @optarg, align 8, !tbaa !9
  call void (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.11, ptr noundef %49) #9
  unreachable

50:                                               ; preds = %44
  %51 = load ptr, ptr %6, align 8, !tbaa !9
  %52 = load i8, ptr %51, align 1, !tbaa !13
  %53 = sext i8 %52 to i32
  switch i32 %53, label %66 [
    i32 98, label %54
    i32 107, label %57
    i32 109, label %60
    i32 103, label %63
  ]

54:                                               ; preds = %50
  %55 = load i64, ptr @skip, align 8, !tbaa !11
  %56 = mul nsw i64 %55, 512
  store i64 %56, ptr @skip, align 8, !tbaa !11
  br label %66

57:                                               ; preds = %50
  %58 = load i64, ptr @skip, align 8, !tbaa !11
  %59 = mul nsw i64 %58, 1024
  store i64 %59, ptr @skip, align 8, !tbaa !11
  br label %66

60:                                               ; preds = %50
  %61 = load i64, ptr @skip, align 8, !tbaa !11
  %62 = mul nsw i64 %61, 1048576
  store i64 %62, ptr @skip, align 8, !tbaa !11
  br label %66

63:                                               ; preds = %50
  %64 = load i64, ptr @skip, align 8, !tbaa !11
  %65 = mul nsw i64 %64, 1073741824
  store i64 %65, ptr @skip, align 8, !tbaa !11
  br label %66

66:                                               ; preds = %63, %60, %57, %54, %50
  br label %70

67:                                               ; preds = %26
  store i32 0, ptr @vflag, align 4, !tbaa !5
  br label %70

68:                                               ; preds = %26
  call void @add(ptr noundef @.str.5)
  call void @add(ptr noundef @.str.12)
  br label %70

69:                                               ; preds = %26
  call void @usage()
  br label %70

70:                                               ; preds = %69, %68, %67, %66, %43, %42, %34, %32, %31, %30, %29, %28, %26
  br label %21, !llvm.loop !14

71:                                               ; preds = %21
  %72 = load ptr, ptr @fshead, align 8, !tbaa !9
  %73 = icmp ne ptr %72, null
  br i1 %73, label %75, label %74

74:                                               ; preds = %71
  call void @add(ptr noundef @.str.5)
  call void @add(ptr noundef @.str.13)
  br label %75

75:                                               ; preds = %74, %71
  %76 = load i32, ptr @optind, align 4, !tbaa !5
  %77 = load ptr, ptr %4, align 8, !tbaa !9
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = sext i32 %76 to i64
  %80 = getelementptr inbounds ptr, ptr %78, i64 %79
  store ptr %80, ptr %77, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret void
}

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @rindex(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

declare void @add(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #4

declare void @addfile(ptr noundef) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

; Function Attrs: noreturn
declare void @errx(i32 noundef, ptr noundef, ...) #6

; Function Attrs: nounwind
declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

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

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 willreturn memory(read) "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 = { "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 #4 = { nounwind "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 #5 = { inlinehint nounwind willreturn memory(read) 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 #6 = { noreturn "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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { noreturn }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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"

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@length = external local_unnamed_addr global i32, align 4
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@skip = external dso_local local_unnamed_addr global i64, align 8
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@vflag = external local_unnamed_addr global i32, align 4
@.str.12 = external hidden unnamed_addr constant [32 x i8], align 1
@fshead = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@optind = external local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @newsyntax(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = tail call ptr @rindex(ptr noundef %5, i32 noundef 104) #10
  store ptr %6, ptr %3, align 8, !tbaa !5
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %.preheader, label %7

7:                                                ; preds = %2
  %8 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str) #10
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %10, label %.preheader

10:                                               ; preds = %7
  tail call void @add(ptr noundef nonnull @.str.1) #9
  tail call void @add(ptr noundef nonnull @.str.2) #9
  tail call void @add(ptr noundef nonnull @.str.3) #9
  br label %.preheader

.preheader:                                       ; preds = %10, %7, %2
  br label %11

11:                                               ; preds = %.backedge, %.preheader
  %12 = tail call i32 @getopt(i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull @.str.4) #9
  switch i32 %12, label %.backedge [
    i32 -1, label %47
    i32 98, label %13
    i32 99, label %14
    i32 67, label %15
    i32 100, label %16
    i32 101, label %17
    i32 102, label %19
    i32 110, label %21
    i32 111, label %26
    i32 115, label %27
    i32 118, label %44
    i32 120, label %45
    i32 63, label %46
  ]

.backedge:                                        ; preds = %11, %33, %36, %38, %40, %42, %21, %46, %45, %44, %26, %19, %17, %16, %15, %14, %13
  br label %11, !llvm.loop !9

13:                                               ; preds = %11
  tail call void @add(ptr noundef nonnull @.str.5) #9
  tail call void @add(ptr noundef nonnull @.str.6) #9
  br label %.backedge

14:                                               ; preds = %11
  tail call void @add(ptr noundef nonnull @.str.5) #9
  tail call void @add(ptr noundef nonnull @.str.7) #9
  br label %.backedge

15:                                               ; preds = %11
  tail call void @add(ptr noundef nonnull @.str.1) #9
  tail call void @add(ptr noundef nonnull @.str.2) #9
  tail call void @add(ptr noundef nonnull @.str.3) #9
  br label %.backedge

16:                                               ; preds = %11
  tail call void @add(ptr noundef nonnull @.str.5) #9
  tail call void @add(ptr noundef nonnull @.str.8) #9
  br label %.backedge

17:                                               ; preds = %11
  %18 = load ptr, ptr @optarg, align 8, !tbaa !5
  tail call void @add(ptr noundef %18) #9
  br label %.backedge

19:                                               ; preds = %11
  %20 = load ptr, ptr @optarg, align 8, !tbaa !5
  tail call void @addfile(ptr noundef %20) #9
  br label %.backedge

21:                                               ; preds = %11
  %22 = load ptr, ptr @optarg, align 8, !tbaa !5
  %23 = tail call i32 @atoi(ptr nocapture noundef %22) #10
  store i32 %23, ptr @length, align 4, !tbaa !11
  %24 = icmp slt i32 %23, 0
  br i1 %24, label %25, label %.backedge

25:                                               ; preds = %21
  tail call void (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.9, ptr noundef nonnull %22) #11
  unreachable

26:                                               ; preds = %11
  tail call void @add(ptr noundef nonnull @.str.5) #9
  tail call void @add(ptr noundef nonnull @.str.10) #9
  br label %.backedge

27:                                               ; preds = %11
  %28 = load ptr, ptr @optarg, align 8, !tbaa !5
  %29 = call i64 @strtoll(ptr noundef %28, ptr noundef nonnull %3, i32 noundef 0) #9
  store i64 %29, ptr @skip, align 8, !tbaa !13
  %30 = icmp slt i64 %29, 0
  br i1 %30, label %31, label %33

31:                                               ; preds = %27
  %32 = load ptr, ptr @optarg, align 8, !tbaa !5
  tail call void (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef nonnull @.str.11, ptr noundef %32) #11
  unreachable

33:                                               ; preds = %27
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = load i8, ptr %34, align 1, !tbaa !15
  switch i8 %35, label %.backedge [
    i8 98, label %36
    i8 107, label %38
    i8 109, label %40
    i8 103, label %42
  ]

36:                                               ; preds = %33
  %37 = shl nsw i64 %29, 9
  store i64 %37, ptr @skip, align 8, !tbaa !13
  br label %.backedge

38:                                               ; preds = %33
  %39 = shl nsw i64 %29, 10
  store i64 %39, ptr @skip, align 8, !tbaa !13
  br label %.backedge

40:                                               ; preds = %33
  %41 = shl nsw i64 %29, 20
  store i64 %41, ptr @skip, align 8, !tbaa !13
  br label %.backedge

42:                                               ; preds = %33
  %43 = shl nsw i64 %29, 30
  store i64 %43, ptr @skip, align 8, !tbaa !13
  br label %.backedge

44:                                               ; preds = %11
  store i32 0, ptr @vflag, align 4, !tbaa !11
  br label %.backedge

45:                                               ; preds = %11
  tail call void @add(ptr noundef nonnull @.str.5) #9
  tail call void @add(ptr noundef nonnull @.str.12) #9
  br label %.backedge

46:                                               ; preds = %11
  tail call void @usage()
  br label %.backedge

47:                                               ; preds = %11
  %48 = load ptr, ptr @fshead, align 8, !tbaa !5
  %.not8 = icmp eq ptr %48, null
  br i1 %.not8, label %49, label %50

49:                                               ; preds = %47
  tail call void @add(ptr noundef nonnull @.str.5) #9
  tail call void @add(ptr noundef nonnull @.str.13) #9
  br label %50

50:                                               ; preds = %49, %47
  %51 = load i32, ptr @optind, align 4, !tbaa !11
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = sext i32 %51 to i64
  %54 = getelementptr inbounds ptr, ptr %52, i64 %53
  store ptr %54, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  ret void
}

; 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 nofree nounwind willreturn memory(read)
declare ptr @rindex(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

declare void @add(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @addfile(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #6

; Function Attrs: noreturn
declare void @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtoll(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #8

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

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

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 = { mustprogress nofree nounwind willreturn memory(read) "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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #4 = { "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 #5 = { nounwind "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 #6 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #7 = { noreturn "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 #8 = { mustprogress nofree nounwind willreturn "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 #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass