; LLVM IR from JessonYue/LeetCodeLearning :: BaseDataStructure/elf (soparse)

; 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.DataOffest = type { i32, i16, i32, i16, i32, i32, i32, i32, i32, i32, i32, i32, i16, i32, i32 }
%struct.ShstrtabTable = type { i32, [50 x i8] }

@.str.59 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4, ptr noundef, ptr noundef byval(%struct.DataOffest) align 8) #0

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

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; 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 ptr @getShstrtabTable(ptr noundef, ptr noundef byval(%struct.DataOffest) align 8, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoPargramHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4, ptr noundef, ptr noundef byval(%struct.DataOffest) align 8) #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoSectionHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4, ptr noundef, ptr noundef byval(%struct.DataOffest) align 8, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseStrSection(ptr noundef, ptr noundef byval(%struct.DataOffest) align 8, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoDynamicSection(ptr noundef, ptr noundef byval(%struct.DataOffest) align 8) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca [4 x i8], align 1
  %4 = alloca i32, align 4
  %5 = alloca [1 x i64], align 8
  %6 = alloca %struct.DataOffest, align 4
  %7 = alloca %struct.DataOffest, align 8
  %8 = alloca [100 x %struct.ShstrtabTable], align 16
  %9 = alloca ptr, align 8
  %10 = alloca %struct.DataOffest, align 4
  %11 = alloca %struct.DataOffest, align 4
  %12 = alloca %struct.DataOffest, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 60, ptr %6) #5
  call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 60, i1 false)
  call void @llvm.lifetime.start.p0(i64 60, ptr %7) #5
  call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 60, i1 false)
  call void @llvm.lifetime.start.p0(i64 5600, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %21, %0
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = icmp slt i32 %14, 100
  br i1 %15, label %16, label %24

16:                                               ; preds = %13
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %8, i64 0, i64 %18
  %20 = getelementptr inbounds %struct.ShstrtabTable, ptr %19, i32 0, i32 0
  store i32 -1, ptr %20, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %16
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %4, align 4, !tbaa !5
  br label %13, !llvm.loop !11

24:                                               ; preds = %13
  %25 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %8, i64 0, i64 0
  store ptr %25, ptr %9, align 8, !tbaa !13
  %26 = call noalias ptr @fopen(ptr noundef @.str.59, ptr noundef @.str.60)
  store ptr %26, ptr %2, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 60, ptr %10) #5
  %27 = load ptr, ptr %2, align 8, !tbaa !13
  call void @parseSoHeader(ptr dead_on_unwind writable sret(%struct.DataOffest) align 4 %10, ptr noundef %27, ptr noundef byval(%struct.DataOffest) align 8 %7)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %10, i64 60, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 60, ptr %10) #5
  %28 = load ptr, ptr %2, align 8, !tbaa !13
  %29 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %8, i64 0, i64 0
  %30 = call ptr @getShstrtabTable(ptr noundef %28, ptr noundef byval(%struct.DataOffest) align 8 %7, ptr noundef %29)
  store ptr %30, ptr %9, align 8, !tbaa !13
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.61)
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %52, %24
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = icmp slt i32 %33, 100
  br i1 %34, label %35, label %55

35:                                               ; preds = %32
  %36 = load ptr, ptr %9, align 8, !tbaa !13
  %37 = getelementptr inbounds %struct.ShstrtabTable, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = icmp eq i32 %38, -1
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  br label %55

41:                                               ; preds = %35
  %42 = load ptr, ptr %9, align 8, !tbaa !13
  %43 = getelementptr inbounds %struct.ShstrtabTable, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = load ptr, ptr %9, align 8, !tbaa !13
  %46 = getelementptr inbounds %struct.ShstrtabTable, ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds [50 x i8], ptr %46, i64 0, i64 0
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.62, i32 noundef %44, ptr noundef %47)
  br label %49

49:                                               ; preds = %41
  %50 = load ptr, ptr %9, align 8, !tbaa !13
  %51 = getelementptr inbounds %struct.ShstrtabTable, ptr %50, i32 1
  store ptr %51, ptr %9, align 8, !tbaa !13
  br label %52

52:                                               ; preds = %49
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %4, align 4, !tbaa !5
  br label %32, !llvm.loop !18

55:                                               ; preds = %40, %32
  call void @llvm.lifetime.start.p0(i64 60, ptr %11) #5
  %56 = load ptr, ptr %2, align 8, !tbaa !13
  call void @parseSoPargramHeader(ptr dead_on_unwind writable sret(%struct.DataOffest) align 4 %11, ptr noundef %56, ptr noundef byval(%struct.DataOffest) align 8 %7)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %11, i64 60, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 60, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 60, ptr %12) #5
  %57 = load ptr, ptr %2, align 8, !tbaa !13
  %58 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %8, i64 0, i64 0
  call void @parseSoSectionHeader(ptr dead_on_unwind writable sret(%struct.DataOffest) align 4 %12, ptr noundef %57, ptr noundef byval(%struct.DataOffest) align 8 %7, ptr noundef %58)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %12, i64 60, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 60, ptr %12) #5
  %59 = load ptr, ptr %2, align 8, !tbaa !13
  call void @parseSoDynamicSection(ptr noundef %59, ptr noundef byval(%struct.DataOffest) align 8 %7)
  %60 = load ptr, ptr %2, align 8, !tbaa !13
  call void @parseStrSection(ptr noundef %60, ptr noundef byval(%struct.DataOffest) align 8 %7, i32 noundef 1)
  %61 = load ptr, ptr %2, align 8, !tbaa !13
  call void @parseStrSection(ptr noundef %61, ptr noundef byval(%struct.DataOffest) align 8 %7, i32 noundef 2)
  %62 = load ptr, ptr %2, align 8, !tbaa !13
  call void @parseStrSection(ptr noundef %62, ptr noundef byval(%struct.DataOffest) align 8 %7, i32 noundef 3)
  %63 = load ptr, ptr %2, align 8, !tbaa !13
  %64 = call i32 @fclose(ptr noundef %63)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 5600, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 60, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 60, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  ret i32 0
}

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

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

declare i32 @fclose(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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"ShstrtabTable", !6, i64 0, !7, i64 4}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{i64 0, i64 4, !5, i64 4, i64 2, !16, i64 8, i64 4, !5, i64 12, i64 2, !16, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5, i64 32, i64 4, !5, i64 36, i64 4, !5, i64 40, i64 4, !5, i64 44, i64 4, !5, i64 48, i64 2, !16, i64 52, i64 4, !5, i64 56, i64 4, !5}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !12}


; 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.DataOffest = type { i32, i16, i32, i16, i32, i32, i32, i32, i32, i32, i32, i32, i16, i32, i32 }
%struct.ShstrtabTable = type { i32, [50 x i8] }

@.str.59 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4, ptr noundef, ptr noundef byval(%struct.DataOffest) align 8) 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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; 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 ptr @getShstrtabTable(ptr noundef, ptr noundef byval(%struct.DataOffest) align 8, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoPargramHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4, ptr noundef, ptr noundef byval(%struct.DataOffest) align 8) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoSectionHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4, ptr noundef, ptr noundef byval(%struct.DataOffest) align 8, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseStrSection(ptr noundef, ptr noundef byval(%struct.DataOffest) align 8, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @parseSoDynamicSection(ptr noundef, ptr noundef byval(%struct.DataOffest) align 8) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.DataOffest, align 8
  %2 = alloca [100 x %struct.ShstrtabTable], align 16
  %3 = alloca %struct.DataOffest, align 8
  %4 = alloca %struct.DataOffest, align 8
  %5 = alloca %struct.DataOffest, align 8
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %1) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(60) %1, i8 0, i64 60, i1 false)
  call void @llvm.lifetime.start.p0(i64 5600, ptr nonnull %2) #5
  br label %6

6:                                                ; preds = %6, %0
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next.4, %6 ]
  %7 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %2, i64 0, i64 %indvars.iv
  store i32 -1, ptr %7, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %8 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %2, i64 0, i64 %indvars.iv.next
  store i32 -1, ptr %8, align 8, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %9 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %2, i64 0, i64 %indvars.iv.next.1
  store i32 -1, ptr %9, align 8, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %10 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %2, i64 0, i64 %indvars.iv.next.2
  store i32 -1, ptr %10, align 8, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %11 = getelementptr inbounds [100 x %struct.ShstrtabTable], ptr %2, i64 0, i64 %indvars.iv.next.3
  store i32 -1, ptr %11, align 8, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv, 5
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next.4, 100
  br i1 %exitcond.not.4, label %12, label %6, !llvm.loop !10

12:                                               ; preds = %6
  %13 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.60)
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %3) #5
  call void @parseSoHeader(ptr dead_on_unwind nonnull writable sret(%struct.DataOffest) align 4 %3, ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(60) %1, ptr noundef nonnull align 8 dereferenceable(60) %3, i64 60, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %3) #5
  %14 = call ptr @getShstrtabTable(ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1, ptr noundef nonnull %2)
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.61)
  br label %16

16:                                               ; preds = %12, %19
  %.022 = phi ptr [ %14, %12 ], [ %22, %19 ]
  %.121 = phi i32 [ 0, %12 ], [ %23, %19 ]
  %17 = load i32, ptr %.022, align 4, !tbaa !5
  %18 = icmp eq i32 %17, -1
  br i1 %18, label %24, label %19

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %.022, i64 4
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.62, i32 noundef %17, ptr noundef nonnull %20)
  %22 = getelementptr inbounds i8, ptr %.022, i64 56
  %23 = add nuw nsw i32 %.121, 1
  %exitcond24.not = icmp eq i32 %23, 100
  br i1 %exitcond24.not, label %24, label %16, !llvm.loop !16

24:                                               ; preds = %16, %19
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %4) #5
  call void @parseSoPargramHeader(ptr dead_on_unwind nonnull writable sret(%struct.DataOffest) align 4 %4, ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(60) %1, ptr noundef nonnull align 8 dereferenceable(60) %4, i64 60, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %5) #5
  call void @parseSoSectionHeader(ptr dead_on_unwind nonnull writable sret(%struct.DataOffest) align 4 %5, ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1, ptr noundef nonnull %2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(60) %1, ptr noundef nonnull align 8 dereferenceable(60) %5, i64 60, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %5) #5
  call void @parseSoDynamicSection(ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1)
  call void @parseStrSection(ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1, i32 noundef 1)
  call void @parseStrSection(ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1, i32 noundef 2)
  call void @parseStrSection(ptr noundef %13, ptr noundef nonnull byval(%struct.DataOffest) align 8 %1, i32 noundef 3)
  %25 = call i32 @fclose(ptr noundef %13)
  call void @llvm.lifetime.end.p0(i64 5600, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %1) #5
  ret i32 0
}

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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, !7, i64 0}
!6 = !{!"ShstrtabTable", !7, i64 0, !8, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{i64 0, i64 4, !13, i64 4, i64 2, !14, i64 8, i64 4, !13, i64 12, i64 2, !14, i64 16, i64 4, !13, i64 20, i64 4, !13, i64 24, i64 4, !13, i64 28, i64 4, !13, i64 32, i64 4, !13, i64 36, i64 4, !13, i64 40, i64 4, !13, i64 44, i64 4, !13, i64 48, i64 2, !14, i64 52, i64 4, !13, i64 56, i64 4, !13}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"short", !8, i64 0}
!16 = distinct !{!16, !11}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass