; LLVM IR from NOAA-PMEL/Ferret :: fmt/src (string_array_init)

; 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.String_Array_Header = type { i32, i32, i32, ptr, ptr, ptr, ptr }
%struct.List_Node = type { i32, ptr, ptr }

@.str = external hidden unnamed_addr constant [78 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @string_array_init_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %14 = call ptr @FerMem_Malloc(i64 noundef 48, ptr noundef @.str, i32 noundef 58)
  store ptr %14, ptr %12, align 8, !tbaa !5
  %15 = load ptr, ptr %12, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %15, ptr %16, align 8, !tbaa !5
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = load ptr, ptr %12, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.String_Array_Header, ptr %19, i32 0, i32 1
  store i32 %18, ptr %20, align 4, !tbaa !11
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = load ptr, ptr %12, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.String_Array_Header, ptr %23, i32 0, i32 2
  store i32 %22, ptr %24, align 8, !tbaa !13
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %12, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.String_Array_Header, ptr %26, i32 0, i32 5
  store ptr %25, ptr %27, align 8, !tbaa !14
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.String_Array_Header, ptr %28, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !11
  %31 = sext i32 %30 to i64
  %32 = mul i64 %31, 8
  %33 = call ptr @FerMem_Malloc(i64 noundef %32, ptr noundef @.str, i32 noundef 64)
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.String_Array_Header, ptr %34, i32 0, i32 3
  store ptr %33, ptr %35, align 8, !tbaa !15
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.String_Array_Header, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !11
  %39 = sext i32 %38 to i64
  %40 = mul i64 %39, 8
  %41 = call ptr @FerMem_Malloc(i64 noundef %40, ptr noundef @.str, i32 noundef 66)
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.String_Array_Header, ptr %42, i32 0, i32 4
  store ptr %41, ptr %43, align 8, !tbaa !16
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.String_Array_Header, ptr %44, i32 0, i32 4
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.String_Array_Header, ptr %47, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !11
  %50 = sext i32 %49 to i64
  %51 = mul i64 %50, 8
  call void @llvm.memset.p0.i64(ptr align 1 %46, i8 0, i64 %51, i1 false)
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.String_Array_Header, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !11
  %55 = sext i32 %54 to i64
  %56 = mul i64 %55, 4
  %57 = call ptr @FerMem_Malloc(i64 noundef %56, ptr noundef @.str, i32 noundef 69)
  %58 = load ptr, ptr %12, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.String_Array_Header, ptr %58, i32 0, i32 6
  store ptr %57, ptr %59, align 8, !tbaa !17
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.String_Array_Header, ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 4, !tbaa !11
  store i32 %62, ptr %9, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %153, %4
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = icmp sge i32 %64, 1
  br i1 %65, label %66, label %156

66:                                               ; preds = %63
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.String_Array_Header, ptr %67, i32 0, i32 2
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.String_Array_Header, ptr %69, i32 0, i32 5
  %71 = load ptr, ptr %70, align 8, !tbaa !14
  %72 = load i32, ptr %9, align 4, !tbaa !9
  %73 = sub nsw i32 %72, 1
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.String_Array_Header, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !13
  %77 = mul nsw i32 %73, %76
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %71, i64 %78
  call void @tm_get_strlen_(ptr noundef %10, ptr noundef %68, ptr noundef %79)
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.String_Array_Header, ptr %81, i32 0, i32 6
  %83 = load ptr, ptr %82, align 8, !tbaa !17
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = sub nsw i32 %84, 1
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds i32, ptr %83, i64 %86
  store i32 %80, ptr %87, align 4, !tbaa !9
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.String_Array_Header, ptr %88, i32 0, i32 5
  %90 = load ptr, ptr %89, align 8, !tbaa !14
  %91 = load i32, ptr %9, align 4, !tbaa !9
  %92 = sub nsw i32 %91, 1
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.String_Array_Header, ptr %93, i32 0, i32 2
  %95 = load i32, ptr %94, align 8, !tbaa !13
  %96 = mul nsw i32 %92, %95
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds i8, ptr %90, i64 %97
  %99 = load i32, ptr %10, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.String_Array_Header, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 4, !tbaa !11
  %104 = call i32 @string_array_hash(ptr noundef %98, i64 noundef %100, i64 noundef 0, i32 noundef %103)
  store i32 %104, ptr %11, align 4, !tbaa !9
  %105 = call ptr @FerMem_Malloc(i64 noundef 24, ptr noundef @.str, i32 noundef 79)
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.String_Array_Header, ptr %106, i32 0, i32 3
  %108 = load ptr, ptr %107, align 8, !tbaa !15
  %109 = load i32, ptr %9, align 4, !tbaa !9
  %110 = sub nsw i32 %109, 1
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %108, i64 %111
  store ptr %105, ptr %112, align 8, !tbaa !5
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.String_Array_Header, ptr %113, i32 0, i32 3
  %115 = load ptr, ptr %114, align 8, !tbaa !15
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds ptr, ptr %115, i64 %118
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  store ptr %120, ptr %13, align 8, !tbaa !5
  %121 = load i32, ptr %9, align 4, !tbaa !9
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.List_Node, ptr %122, i32 0, i32 0
  store i32 %121, ptr %123, align 8, !tbaa !18
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.List_Node, ptr %124, i32 0, i32 1
  store ptr null, ptr %125, align 8, !tbaa !20
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.String_Array_Header, ptr %126, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !16
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds ptr, ptr %128, i64 %130
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = load ptr, ptr %13, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.List_Node, ptr %133, i32 0, i32 2
  store ptr %132, ptr %134, align 8, !tbaa !21
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.String_Array_Header, ptr %136, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !16
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds ptr, ptr %138, i64 %140
  store ptr %135, ptr %141, align 8, !tbaa !5
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.List_Node, ptr %142, i32 0, i32 2
  %144 = load ptr, ptr %143, align 8, !tbaa !21
  %145 = icmp ne ptr %144, null
  br i1 %145, label %146, label %152

146:                                              ; preds = %66
  %147 = load ptr, ptr %13, align 8, !tbaa !5
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.List_Node, ptr %148, i32 0, i32 2
  %150 = load ptr, ptr %149, align 8, !tbaa !21
  %151 = getelementptr inbounds %struct.List_Node, ptr %150, i32 0, i32 1
  store ptr %147, ptr %151, align 8, !tbaa !20
  br label %152

152:                                              ; preds = %146, %66
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %9, align 4, !tbaa !9
  %155 = add nsw i32 %154, -1
  store i32 %155, ptr %9, align 4, !tbaa !9
  br label %63, !llvm.loop !22

156:                                              ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

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

declare ptr @FerMem_Malloc(i64 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @tm_get_strlen_(ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @string_array_hash(ptr noundef, i64 noundef, i64 noundef, i32 noundef) #2

; 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !10, i64 4}
!12 = !{!"String_Array_Header", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !6, i64 32}
!15 = !{!12, !6, i64 16}
!16 = !{!12, !6, i64 24}
!17 = !{!12, !6, i64 40}
!18 = !{!19, !10, i64 0}
!19 = !{!"List_Node", !10, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!19, !6, i64 8}
!21 = !{!19, !6, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"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 [78 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @string_array_init_(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %6 = tail call ptr @FerMem_Malloc(i64 noundef 48, ptr noundef nonnull @.str, i32 noundef 58) #4
  store ptr %6, ptr %0, align 8, !tbaa !5
  %7 = load i32, ptr %1, align 4, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %7, ptr %8, align 4, !tbaa !11
  %9 = load i32, ptr %2, align 4, !tbaa !9
  %10 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 %9, ptr %10, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %6, i64 32
  store ptr %3, ptr %11, align 8, !tbaa !14
  %12 = sext i32 %7 to i64
  %13 = shl nsw i64 %12, 3
  %14 = tail call ptr @FerMem_Malloc(i64 noundef %13, ptr noundef nonnull @.str, i32 noundef 64) #4
  %15 = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %14, ptr %15, align 8, !tbaa !15
  %16 = load i32, ptr %8, align 4, !tbaa !11
  %17 = sext i32 %16 to i64
  %18 = shl nsw i64 %17, 3
  %19 = tail call ptr @FerMem_Malloc(i64 noundef %18, ptr noundef nonnull @.str, i32 noundef 66) #4
  %20 = getelementptr inbounds i8, ptr %6, i64 24
  store ptr %19, ptr %20, align 8, !tbaa !16
  %21 = load i32, ptr %8, align 4, !tbaa !11
  %22 = sext i32 %21 to i64
  %23 = shl nsw i64 %22, 3
  tail call void @llvm.memset.p0.i64(ptr align 1 %19, i8 0, i64 %23, i1 false)
  %24 = load i32, ptr %8, align 4, !tbaa !11
  %25 = sext i32 %24 to i64
  %26 = shl nsw i64 %25, 2
  %27 = tail call ptr @FerMem_Malloc(i64 noundef %26, ptr noundef nonnull @.str, i32 noundef 69) #4
  %28 = getelementptr inbounds i8, ptr %6, i64 40
  store ptr %27, ptr %28, align 8, !tbaa !17
  %29 = load i32, ptr %8, align 4, !tbaa !11
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %4
  %31 = zext nneg i32 %29 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %64
  %indvars.iv = phi i64 [ %31, %.lr.ph.preheader ], [ %indvars.iv.next, %64 ]
  %32 = load ptr, ptr %11, align 8, !tbaa !14
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %33 = load i32, ptr %10, align 8, !tbaa !13
  %34 = sext i32 %33 to i64
  %35 = mul nsw i64 %indvars.iv.next, %34
  %36 = getelementptr inbounds i8, ptr %32, i64 %35
  call void @tm_get_strlen_(ptr noundef nonnull %5, ptr noundef nonnull %10, ptr noundef %36) #4
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = load ptr, ptr %28, align 8, !tbaa !17
  %39 = getelementptr inbounds i32, ptr %38, i64 %indvars.iv.next
  store i32 %37, ptr %39, align 4, !tbaa !9
  %40 = load ptr, ptr %11, align 8, !tbaa !14
  %41 = load i32, ptr %10, align 8, !tbaa !13
  %42 = sext i32 %41 to i64
  %43 = mul nsw i64 %indvars.iv.next, %42
  %44 = getelementptr inbounds i8, ptr %40, i64 %43
  %45 = sext i32 %37 to i64
  %46 = load i32, ptr %8, align 4, !tbaa !11
  %47 = call i32 @string_array_hash(ptr noundef %44, i64 noundef %45, i64 noundef 0, i32 noundef %46) #4
  %48 = call ptr @FerMem_Malloc(i64 noundef 24, ptr noundef nonnull @.str, i32 noundef 79) #4
  %49 = load ptr, ptr %15, align 8, !tbaa !15
  %50 = getelementptr inbounds ptr, ptr %49, i64 %indvars.iv.next
  store ptr %48, ptr %50, align 8, !tbaa !5
  %51 = load ptr, ptr %15, align 8, !tbaa !15
  %52 = getelementptr inbounds ptr, ptr %51, i64 %indvars.iv.next
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %54, ptr %53, align 8, !tbaa !18
  %55 = getelementptr inbounds i8, ptr %53, i64 8
  store ptr null, ptr %55, align 8, !tbaa !20
  %56 = load ptr, ptr %20, align 8, !tbaa !16
  %57 = sext i32 %47 to i64
  %58 = getelementptr inbounds ptr, ptr %56, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %53, i64 16
  store ptr %59, ptr %60, align 8, !tbaa !21
  store ptr %53, ptr %58, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !21
  %.not = icmp eq ptr %61, null
  br i1 %.not, label %64, label %62

62:                                               ; preds = %.lr.ph
  %63 = getelementptr inbounds i8, ptr %61, i64 8
  store ptr %53, ptr %63, align 8, !tbaa !20
  br label %64

64:                                               ; preds = %.lr.ph, %62
  %65 = icmp ugt i64 %indvars.iv, 1
  br i1 %65, label %.lr.ph, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %64, %4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  ret void
}

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

declare ptr @FerMem_Malloc(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @tm_get_strlen_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @string_array_hash(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; 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 = { "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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !10, i64 4}
!12 = !{!"String_Array_Header", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !6, i64 32}
!15 = !{!12, !6, i64 16}
!16 = !{!12, !6, i64 24}
!17 = !{!12, !6, i64 40}
!18 = !{!19, !10, i64 0}
!19 = !{!"List_Node", !10, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!19, !6, i64 8}
!21 = !{!19, !6, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


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