; LLVM IR from clausecker/24puzzle :: cmd (genpdb)

; 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 [8 x i8], align 1
@optarg = external global ptr, align 8
@pdb_jobs = external global i32, align 4
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 231, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store ptr null, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store ptr null, ptr %11, align 8, !tbaa !9
  br label %13

13:                                               ; preds = %49, %2
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = load ptr, ptr %5, align 8, !tbaa !9
  %16 = call i32 @__posix_getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str) #6
  store i32 %16, ptr %8, align 4, !tbaa !5
  %17 = load i32, ptr %8, align 4, !tbaa !5
  %18 = icmp ne i32 %17, -1
  br i1 %18, label %19, label %50

19:                                               ; preds = %13
  %20 = load i32, ptr %8, align 4, !tbaa !5
  switch i32 %20, label %49 [
    i32 102, label %21
    i32 106, label %23
    i32 116, label %35
    i32 113, label %44
    i32 63, label %45
    i32 58, label %45
  ]

21:                                               ; preds = %19
  %22 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %22, ptr %10, align 8, !tbaa !9
  br label %49

23:                                               ; preds = %19
  %24 = load ptr, ptr @optarg, align 8, !tbaa !9
  %25 = call i32 @atoi(ptr noundef %24) #7
  store i32 %25, ptr @pdb_jobs, align 4, !tbaa !5
  %26 = load i32, ptr @pdb_jobs, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 1
  br i1 %27, label %31, label %28

28:                                               ; preds = %23
  %29 = load i32, ptr @pdb_jobs, align 4, !tbaa !5
  %30 = icmp sgt i32 %29, 256
  br i1 %30, label %31, label %34

31:                                               ; preds = %28, %23
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.1, i32 noundef 256) #6
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

34:                                               ; preds = %28
  br label %49

35:                                               ; preds = %19
  %36 = load ptr, ptr @optarg, align 8, !tbaa !9
  %37 = call i32 @tileset_parse(ptr noundef %7, ptr noundef %36)
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %43

39:                                               ; preds = %35
  %40 = load ptr, ptr @stderr, align 8, !tbaa !9
  %41 = load ptr, ptr @optarg, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.2, ptr noundef %41) #6
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

43:                                               ; preds = %35
  br label %49

44:                                               ; preds = %19
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %49

45:                                               ; preds = %19, %19
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 0
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  call void @usage(ptr noundef %48)
  br label %49

49:                                               ; preds = %45, %44, %43, %34, %21, %19
  br label %13, !llvm.loop !11

50:                                               ; preds = %13
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = call i32 @tileset_count(i32 noundef %51)
  %53 = icmp uge i32 %52, 16
  br i1 %53, label %54, label %59

54:                                               ; preds = %50
  %55 = load ptr, ptr @stderr, align 8, !tbaa !9
  %56 = load i32, ptr %7, align 4, !tbaa !5
  %57 = call i32 @tileset_count(i32 noundef %56)
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.3, i32 noundef %57) #6
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

59:                                               ; preds = %50
  %60 = load ptr, ptr %10, align 8, !tbaa !9
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %69

62:                                               ; preds = %59
  %63 = load ptr, ptr %10, align 8, !tbaa !9
  %64 = call noalias ptr @fopen(ptr noundef %63, ptr noundef @.str.4)
  store ptr %64, ptr %11, align 8, !tbaa !9
  %65 = load ptr, ptr %11, align 8, !tbaa !9
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %68

67:                                               ; preds = %62
  call void @perror(ptr noundef @.str.5)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

68:                                               ; preds = %62
  br label %69

69:                                               ; preds = %68, %59
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = call ptr @pdb_allocate(i32 noundef %70)
  store ptr %71, ptr %6, align 8, !tbaa !9
  %72 = load ptr, ptr %6, align 8, !tbaa !9
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %75

74:                                               ; preds = %69
  call void @perror(ptr noundef @.str.6)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

75:                                               ; preds = %69
  %76 = load ptr, ptr %6, align 8, !tbaa !9
  %77 = load i32, ptr %9, align 4, !tbaa !5
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %81

79:                                               ; preds = %75
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  br label %82

81:                                               ; preds = %75
  br label %82

82:                                               ; preds = %81, %79
  %83 = phi ptr [ %80, %79 ], [ null, %81 ]
  %84 = call i32 @pdb_generate(ptr noundef %76, ptr noundef %83)
  %85 = load ptr, ptr %11, align 8, !tbaa !9
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %93

87:                                               ; preds = %82
  %88 = load ptr, ptr %11, align 8, !tbaa !9
  %89 = load ptr, ptr %6, align 8, !tbaa !9
  %90 = call i32 @pdb_store(ptr noundef %88, ptr noundef %89)
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %87
  call void @perror(ptr noundef @.str.7)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

93:                                               ; preds = %87, %82
  %94 = load ptr, ptr %11, align 8, !tbaa !9
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %101

96:                                               ; preds = %93
  %97 = load ptr, ptr %11, align 8, !tbaa !9
  %98 = call i32 @fclose(ptr noundef %97)
  %99 = icmp eq i32 %98, -1
  br i1 %99, label %100, label %101

100:                                              ; preds = %96
  call void @perror(ptr noundef @.str.8)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

101:                                              ; preds = %96, %93
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %102

102:                                              ; preds = %101, %100, %92, %74, %67, %54, %39, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %103 = load i32, ptr %3, align 4
  ret i32 %103
}

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

; Function Attrs: nounwind
declare i32 @__posix_getopt(i32 noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

declare i32 @tileset_parse(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden void @usage(ptr noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @tileset_count(i32 noundef) #5

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

declare void @perror(ptr noundef) #4

declare ptr @pdb_allocate(i32 noundef) #4

declare i32 @pdb_generate(ptr noundef, ptr noundef) #4

declare i32 @pdb_store(ptr noundef, ptr noundef) #4

declare i32 @fclose(ptr noundef) #4

; 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 "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 = { 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 #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 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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 = distinct !{!11, !12}
!12 = !{!"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 [8 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@pdb_jobs = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store i32 231, ptr %3, align 4, !tbaa !5
  br label %.outer

.outer:                                           ; preds = %4, %2
  %.not25 = phi i1 [ false, %2 ], [ true, %4 ]
  %.017.ph = phi ptr [ null, %2 ], [ %.017.ph46, %4 ]
  br label %.outer45

.outer45:                                         ; preds = %.outer, %6
  %.017.ph46 = phi ptr [ %.017.ph, %.outer ], [ %7, %6 ]
  br label %4

4:                                                ; preds = %.backedge, %.outer45
  %5 = call i32 @__posix_getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #7
  switch i32 %5, label %.backedge [
    i32 -1, label %24
    i32 102, label %6
    i32 106, label %8
    i32 116, label %15
    i32 113, label %.outer
    i32 63, label %22
    i32 58, label %22
  ], !llvm.loop !9

.backedge:                                        ; preds = %4, %15, %8, %22
  br label %4, !llvm.loop !9

6:                                                ; preds = %4
  %7 = load ptr, ptr @optarg, align 8, !tbaa !11
  br label %.outer45, !llvm.loop !9

8:                                                ; preds = %4
  %9 = load ptr, ptr @optarg, align 8, !tbaa !11
  %10 = call i32 @atoi(ptr nocapture noundef %9) #8
  store i32 %10, ptr @pdb_jobs, align 4, !tbaa !5
  %11 = add i32 %10, -257
  %or.cond = icmp ult i32 %11, -256
  br i1 %or.cond, label %12, label %.backedge

12:                                               ; preds = %8
  %13 = load ptr, ptr @stderr, align 8, !tbaa !11
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str.1, i32 noundef 256) #9
  br label %.critedge

15:                                               ; preds = %4
  %16 = load ptr, ptr @optarg, align 8, !tbaa !11
  %17 = call i32 @tileset_parse(ptr noundef nonnull %3, ptr noundef %16) #7
  %.not28 = icmp eq i32 %17, 0
  br i1 %.not28, label %.backedge, label %18

18:                                               ; preds = %15
  %19 = load ptr, ptr @stderr, align 8, !tbaa !11
  %20 = load ptr, ptr @optarg, align 8, !tbaa !11
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.2, ptr noundef %20) #9
  br label %.critedge

22:                                               ; preds = %4, %4
  %23 = load ptr, ptr %1, align 8, !tbaa !11
  call void @usage(ptr noundef %23)
  br label %.backedge

24:                                               ; preds = %4
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = call i32 @tileset_count(i32 noundef %25)
  %27 = icmp ugt i32 %26, 15
  br i1 %27, label %28, label %33

28:                                               ; preds = %24
  %29 = load ptr, ptr @stderr, align 8, !tbaa !11
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = call i32 @tileset_count(i32 noundef %30)
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.3, i32 noundef %31) #9
  br label %.critedge

33:                                               ; preds = %24
  %.not24 = icmp eq ptr %.017.ph46, null
  br i1 %.not24, label %38, label %34

34:                                               ; preds = %33
  %35 = call noalias ptr @fopen(ptr noundef nonnull %.017.ph46, ptr noundef nonnull @.str.4)
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  call void @perror(ptr noundef nonnull @.str.5) #10
  br label %.critedge

38:                                               ; preds = %34, %33
  %.0 = phi ptr [ %35, %34 ], [ null, %33 ]
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = call ptr @pdb_allocate(i32 noundef %39) #7
  %41 = icmp eq ptr %40, null
  br i1 %41, label %42, label %43

42:                                               ; preds = %38
  call void @perror(ptr noundef nonnull @.str.6) #10
  br label %.critedge

43:                                               ; preds = %38
  %44 = load ptr, ptr @stderr, align 8
  %45 = select i1 %.not25, ptr null, ptr %44
  %46 = call i32 @pdb_generate(ptr noundef nonnull %40, ptr noundef %45) #7
  %.not26 = icmp eq ptr %.0, null
  br i1 %.not26, label %.critedge, label %47

47:                                               ; preds = %43
  %48 = call i32 @pdb_store(ptr noundef nonnull %.0, ptr noundef nonnull %40) #7
  %.not27 = icmp eq i32 %48, 0
  br i1 %.not27, label %50, label %49

49:                                               ; preds = %47
  call void @perror(ptr noundef nonnull @.str.7) #10
  br label %.critedge

50:                                               ; preds = %47
  %51 = call i32 @fclose(ptr noundef nonnull %.0)
  %52 = icmp eq i32 %51, -1
  br i1 %52, label %53, label %.critedge

53:                                               ; preds = %50
  call void @perror(ptr noundef nonnull @.str.8) #10
  br label %.critedge

.critedge:                                        ; preds = %50, %43, %53, %49, %42, %37, %28, %18, %12
  %.020 = phi i32 [ 1, %18 ], [ 1, %12 ], [ 1, %28 ], [ 1, %37 ], [ 1, %42 ], [ 1, %49 ], [ 1, %53 ], [ 0, %43 ], [ 0, %50 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  ret i32 %.020
}

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

; Function Attrs: nounwind
declare i32 @__posix_getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

declare i32 @tileset_parse(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare hidden void @usage(ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @tileset_count(i32 noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #4

declare ptr @pdb_allocate(i32 noundef) local_unnamed_addr #5

declare i32 @pdb_generate(ptr noundef, ptr noundef) local_unnamed_addr #5

declare i32 @pdb_store(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4

; 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 = { 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 #3 = { 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 #4 = { nofree 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 = { "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 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { cold nounwind }
attributes #10 = { cold }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}


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