; LLVM IR from Discngine/fpocket :: src (utils)

; 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.tab_str = type { ptr, i32 }

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

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

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

15:                                               ; preds = %28, %2
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = load i8, ptr %16, align 1, !tbaa !11
  %18 = icmp ne i8 %17, 0
  br i1 %18, label %19, label %31

19:                                               ; preds = %15
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = load i8, ptr %20, align 1, !tbaa !11
  %22 = sext i8 %21 to i32
  %23 = load i32, ptr %4, align 4, !tbaa !9
  %24 = icmp eq i32 %22, %23
  br i1 %24, label %25, label %28

25:                                               ; preds = %19
  %26 = load i32, ptr %7, align 4, !tbaa !9
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %7, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %25, %19
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i32 1
  store ptr %30, ptr %6, align 8, !tbaa !5
  br label %15, !llvm.loop !12

31:                                               ; preds = %15
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.tab_str, ptr %33, i32 0, i32 1
  store i32 %32, ptr %34, align 8, !tbaa !14
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = call ptr @my_calloc(i64 noundef %36, i64 noundef 8)
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.tab_str, ptr %38, i32 0, i32 0
  store ptr %37, ptr %39, align 8, !tbaa !16
  %40 = load i32, ptr %7, align 4, !tbaa !9
  %41 = icmp sgt i32 %40, 1
  br i1 %41, label %42, label %119

42:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.tab_str, ptr %43, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !16
  store ptr %45, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %46, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 1, ptr %12, align 8, !tbaa !17
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %47, ptr %6, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %90, %42
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = load i8, ptr %49, align 1, !tbaa !11
  %51 = icmp ne i8 %50, 0
  br i1 %51, label %52, label %95

52:                                               ; preds = %48
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load i8, ptr %53, align 1, !tbaa !11
  %55 = sext i8 %54 to i32
  %56 = load i32, ptr %4, align 4, !tbaa !9
  %57 = icmp eq i32 %55, %56
  br i1 %57, label %58, label %90

58:                                               ; preds = %52
  %59 = load i64, ptr %12, align 8, !tbaa !17
  %60 = call ptr @my_calloc(i64 noundef %59, i64 noundef 1)
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load i64, ptr %11, align 8, !tbaa !17
  %63 = getelementptr inbounds ptr, ptr %61, i64 %62
  store ptr %60, ptr %63, align 8, !tbaa !5
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = load i64, ptr %11, align 8, !tbaa !17
  %66 = getelementptr inbounds ptr, ptr %64, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  store ptr %67, ptr %9, align 8, !tbaa !5
  br label %68

68:                                               ; preds = %76, %58
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = load i8, ptr %69, align 1, !tbaa !11
  %71 = sext i8 %70 to i32
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = load i8, ptr %72, align 1, !tbaa !11
  %74 = sext i8 %73 to i32
  %75 = icmp ne i32 %71, %74
  br i1 %75, label %76, label %84

76:                                               ; preds = %68
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = load i8, ptr %77, align 1, !tbaa !11
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 %78, ptr %79, align 1, !tbaa !11
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i32 1
  store ptr %81, ptr %9, align 8, !tbaa !5
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %82, i32 1
  store ptr %83, ptr %10, align 8, !tbaa !5
  br label %68, !llvm.loop !19

84:                                               ; preds = %68
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %85, align 1, !tbaa !11
  store i64 0, ptr %12, align 8, !tbaa !17
  %86 = load i64, ptr %11, align 8, !tbaa !17
  %87 = add i64 %86, 1
  store i64 %87, ptr %11, align 8, !tbaa !17
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i32 1
  store ptr %89, ptr %10, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %84, %52
  %91 = load i64, ptr %12, align 8, !tbaa !17
  %92 = add i64 %91, 1
  store i64 %92, ptr %12, align 8, !tbaa !17
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i32 1
  store ptr %94, ptr %6, align 8, !tbaa !5
  br label %48, !llvm.loop !20

95:                                               ; preds = %48
  %96 = load i64, ptr %12, align 8, !tbaa !17
  %97 = call ptr @my_calloc(i64 noundef %96, i64 noundef 1)
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = load i64, ptr %11, align 8, !tbaa !17
  %100 = getelementptr inbounds ptr, ptr %98, i64 %99
  store ptr %97, ptr %100, align 8, !tbaa !5
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load i64, ptr %11, align 8, !tbaa !17
  %103 = getelementptr inbounds ptr, ptr %101, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  store ptr %104, ptr %9, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %109, %95
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = load i8, ptr %106, align 1, !tbaa !11
  %108 = icmp ne i8 %107, 0
  br i1 %108, label %109, label %117

109:                                              ; preds = %105
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = load i8, ptr %110, align 1, !tbaa !11
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 %111, ptr %112, align 1, !tbaa !11
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i32 1
  store ptr %114, ptr %9, align 8, !tbaa !5
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %115, i32 1
  store ptr %116, ptr %10, align 8, !tbaa !5
  br label %105, !llvm.loop !21

117:                                              ; preds = %105
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %118, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %134

119:                                              ; preds = %31
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = call i64 @strlen(ptr noundef %120) #6
  %122 = call ptr @my_calloc(i64 noundef %121, i64 noundef 1)
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.tab_str, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !16
  %126 = getelementptr inbounds ptr, ptr %125, i64 0
  store ptr %122, ptr %126, align 8, !tbaa !5
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.tab_str, ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8, !tbaa !16
  %130 = getelementptr inbounds ptr, ptr %129, i64 0
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = call ptr @strcpy(ptr noundef %131, ptr noundef %132) #5
  br label %134

134:                                              ; preds = %119, %117
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret ptr %135
}

declare ptr @my_calloc(i64 noundef, i64 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #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 }
attributes #6 = { 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 = !{!"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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !10, i64 8}
!15 = !{!"tab_str", !6, i64 0, !10, i64 8}
!16 = !{!15, !6, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}


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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @str_split(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #2 {
  %3 = tail call ptr @my_calloc(i64 noundef 1, i64 noundef 16) #4
  %4 = load i8, ptr %0, align 1, !tbaa !5
  %.not64 = icmp eq i8 %4, 0
  br i1 %.not64, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %.lr.ph
  %5 = phi i8 [ %10, %.lr.ph ], [ %4, %2 ]
  %.05466 = phi ptr [ %9, %.lr.ph ], [ %0, %2 ]
  %.05665 = phi i32 [ %spec.select, %.lr.ph ], [ 1, %2 ]
  %6 = sext i8 %5 to i32
  %7 = icmp eq i32 %6, %1
  %8 = zext i1 %7 to i32
  %spec.select = add nuw nsw i32 %.05665, %8
  %9 = getelementptr inbounds i8, ptr %.05466, i64 1
  %10 = load i8, ptr %9, align 1, !tbaa !5
  %.not = icmp eq i8 %10, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

._crit_edge:                                      ; preds = %.lr.ph, %2
  %.056.lcssa = phi i32 [ 1, %2 ], [ %spec.select, %.lr.ph ]
  %11 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 %.056.lcssa, ptr %11, align 8, !tbaa !10
  %12 = zext nneg i32 %.056.lcssa to i64
  %13 = tail call ptr @my_calloc(i64 noundef %12, i64 noundef 8) #4
  store ptr %13, ptr %3, align 8, !tbaa !14
  %14 = icmp ugt i32 %.056.lcssa, 1
  br i1 %14, label %.preheader, label %42

.preheader:                                       ; preds = %._crit_edge
  %15 = load i8, ptr %0, align 1, !tbaa !5
  %.not6175 = icmp eq i8 %15, 0
  br i1 %.not6175, label %._crit_edge81, label %.lr.ph80

.lr.ph80:                                         ; preds = %.preheader, %31
  %16 = phi i8 [ %34, %31 ], [ %15, %.preheader ]
  %.079 = phi i64 [ %32, %31 ], [ 1, %.preheader ]
  %.04878 = phi i64 [ %.149, %31 ], [ 0, %.preheader ]
  %.05077 = phi ptr [ %.2, %31 ], [ %0, %.preheader ]
  %.15576 = phi ptr [ %33, %31 ], [ %0, %.preheader ]
  %17 = sext i8 %16 to i32
  %18 = icmp eq i32 %17, %1
  br i1 %18, label %19, label %31

19:                                               ; preds = %.lr.ph80
  %20 = tail call ptr @my_calloc(i64 noundef %.079, i64 noundef 1) #4
  %21 = getelementptr inbounds ptr, ptr %13, i64 %.04878
  store ptr %20, ptr %21, align 8, !tbaa !15
  %22 = load i8, ptr %.05077, align 1, !tbaa !5
  %23 = load i8, ptr %.15576, align 1, !tbaa !5
  %.not6367 = icmp eq i8 %22, %23
  br i1 %.not6367, label %._crit_edge72, label %.lr.ph71

.lr.ph71:                                         ; preds = %19, %.lr.ph71
  %24 = phi i8 [ %27, %.lr.ph71 ], [ %22, %19 ]
  %.15169 = phi ptr [ %26, %.lr.ph71 ], [ %.05077, %19 ]
  %.05268 = phi ptr [ %25, %.lr.ph71 ], [ %20, %19 ]
  store i8 %24, ptr %.05268, align 1, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %.05268, i64 1
  %26 = getelementptr inbounds i8, ptr %.15169, i64 1
  %27 = load i8, ptr %26, align 1, !tbaa !5
  %28 = load i8, ptr %.15576, align 1, !tbaa !5
  %.not63 = icmp eq i8 %27, %28
  br i1 %.not63, label %._crit_edge72, label %.lr.ph71, !llvm.loop !16

._crit_edge72:                                    ; preds = %.lr.ph71, %19
  %.052.lcssa = phi ptr [ %20, %19 ], [ %25, %.lr.ph71 ]
  %.151.lcssa = phi ptr [ %.05077, %19 ], [ %26, %.lr.ph71 ]
  store i8 0, ptr %.052.lcssa, align 1, !tbaa !5
  %29 = add i64 %.04878, 1
  %30 = getelementptr inbounds i8, ptr %.151.lcssa, i64 1
  br label %31

31:                                               ; preds = %._crit_edge72, %.lr.ph80
  %.2 = phi ptr [ %30, %._crit_edge72 ], [ %.05077, %.lr.ph80 ]
  %.149 = phi i64 [ %29, %._crit_edge72 ], [ %.04878, %.lr.ph80 ]
  %.1 = phi i64 [ 0, %._crit_edge72 ], [ %.079, %.lr.ph80 ]
  %32 = add i64 %.1, 1
  %33 = getelementptr inbounds i8, ptr %.15576, i64 1
  %34 = load i8, ptr %33, align 1, !tbaa !5
  %.not61 = icmp eq i8 %34, 0
  br i1 %.not61, label %._crit_edge81, label %.lr.ph80, !llvm.loop !17

._crit_edge81:                                    ; preds = %31, %.preheader
  %.050.lcssa = phi ptr [ %0, %.preheader ], [ %.2, %31 ]
  %.048.lcssa = phi i64 [ 0, %.preheader ], [ %.149, %31 ]
  %.0.lcssa = phi i64 [ 1, %.preheader ], [ %32, %31 ]
  %35 = tail call ptr @my_calloc(i64 noundef %.0.lcssa, i64 noundef 1) #4
  %36 = getelementptr inbounds ptr, ptr %13, i64 %.048.lcssa
  store ptr %35, ptr %36, align 8, !tbaa !15
  %37 = load i8, ptr %.050.lcssa, align 1, !tbaa !5
  %.not6285 = icmp eq i8 %37, 0
  br i1 %.not6285, label %._crit_edge90, label %.lr.ph89

.lr.ph89:                                         ; preds = %._crit_edge81, %.lr.ph89
  %38 = phi i8 [ %41, %.lr.ph89 ], [ %37, %._crit_edge81 ]
  %.387 = phi ptr [ %40, %.lr.ph89 ], [ %.050.lcssa, %._crit_edge81 ]
  %.15386 = phi ptr [ %39, %.lr.ph89 ], [ %35, %._crit_edge81 ]
  store i8 %38, ptr %.15386, align 1, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %.15386, i64 1
  %40 = getelementptr inbounds i8, ptr %.387, i64 1
  %41 = load i8, ptr %40, align 1, !tbaa !5
  %.not62 = icmp eq i8 %41, 0
  br i1 %.not62, label %._crit_edge90, label %.lr.ph89, !llvm.loop !18

._crit_edge90:                                    ; preds = %.lr.ph89, %._crit_edge81
  %.153.lcssa = phi ptr [ %35, %._crit_edge81 ], [ %39, %.lr.ph89 ]
  store i8 0, ptr %.153.lcssa, align 1, !tbaa !5
  br label %49

42:                                               ; preds = %._crit_edge
  %43 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #5
  %44 = tail call ptr @my_calloc(i64 noundef %43, i64 noundef 1) #4
  %45 = load ptr, ptr %3, align 8, !tbaa !14
  store ptr %44, ptr %45, align 8, !tbaa !15
  %46 = load ptr, ptr %3, align 8, !tbaa !14
  %47 = load ptr, ptr %46, align 8, !tbaa !15
  %48 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %47, ptr noundef nonnull dereferenceable(1) %0) #4
  br label %49

49:                                               ; preds = %42, %._crit_edge90
  ret ptr %3
}

declare ptr @my_calloc(i64 noundef, i64 noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #2 = { 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 #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 }
attributes #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !13, i64 8}
!11 = !{!"tab_str", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !6, i64 0}
!13 = !{!"int", !6, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !9}
!17 = distinct !{!17, !9}
!18 = distinct !{!18, !9}


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