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

@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [58 x i8], align 1

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

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

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

; 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) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @parseSoSectionHeader(ptr dead_on_unwind noalias writable sret(%struct.DataOffest) align 4 %0, ptr noundef %1, ptr noundef byval(%struct.DataOffest) align 8 %2, ptr noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %8 = alloca i16, align 2
  %9 = alloca %struct.Elf32_Shdr, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %3, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 40, 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 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  %15 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 2
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = trunc i32 %16 to i16
  store i16 %17, ptr %7, align 2, !tbaa !14
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %110, %4
  %19 = load i32, ptr %10, align 4, !tbaa !9
  %20 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 3
  %21 = load i16, ptr %20, align 4, !tbaa !15
  %22 = zext i16 %21 to i32
  %23 = icmp slt i32 %19, %22
  br i1 %23, label %24, label %113

24:                                               ; preds = %18
  %25 = load i16, ptr %7, align 2, !tbaa !14
  %26 = zext i16 %25 to i32
  %27 = load i32, ptr %10, align 4, !tbaa !9
  %28 = mul nsw i32 %27, 40
  %29 = add nsw i32 %26, %28
  %30 = trunc i32 %29 to i16
  store i16 %30, ptr %8, align 2, !tbaa !14
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = load i16, ptr %8, align 2, !tbaa !14
  %33 = zext i16 %32 to i64
  %34 = call i32 @fseek(ptr noundef %31, i64 noundef %33, i32 noundef 0)
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = call i64 @fread(ptr noundef %9, i64 noundef 1, i64 noundef 40, ptr noundef %35)
  %37 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !16
  switch i32 %38, label %74 [
    i32 3, label %39
  ]

39:                                               ; preds = %24
  %40 = load i32, ptr %14, align 4, !tbaa !9
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %51

42:                                               ; preds = %39
  %43 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 4
  %44 = load i32, ptr %43, align 4, !tbaa !18
  %45 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 6
  store i32 %44, ptr %45, align 8, !tbaa !19
  %46 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 5
  %47 = load i32, ptr %46, align 4, !tbaa !20
  %48 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 7
  store i32 %47, ptr %48, align 4, !tbaa !21
  %49 = load i32, ptr %14, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %14, align 4, !tbaa !9
  br label %73

51:                                               ; preds = %39
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 1
  br i1 %53, label %54, label %63

54:                                               ; preds = %51
  %55 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 4
  %56 = load i32, ptr %55, align 4, !tbaa !18
  %57 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 8
  store i32 %56, ptr %57, align 8, !tbaa !22
  %58 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 5
  %59 = load i32, ptr %58, align 4, !tbaa !20
  %60 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 9
  store i32 %59, ptr %60, align 4, !tbaa !23
  %61 = load i32, ptr %14, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %14, align 4, !tbaa !9
  br label %72

63:                                               ; preds = %51
  %64 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 4
  %65 = load i32, ptr %64, align 4, !tbaa !18
  %66 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 10
  store i32 %65, ptr %66, align 8, !tbaa !24
  %67 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 5
  %68 = load i32, ptr %67, align 4, !tbaa !20
  %69 = getelementptr inbounds %struct.DataOffest, ptr %2, i32 0, i32 11
  store i32 %68, ptr %69, align 4, !tbaa !25
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %14, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %63, %54
  br label %73

73:                                               ; preds = %72, %42
  br label %75

74:                                               ; preds = %24
  br label %75

75:                                               ; preds = %74, %73
  %76 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 0
  %77 = load i32, ptr %76, align 4, !tbaa !26
  store i32 %77, ptr %11, align 4, !tbaa !9
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, i32 noundef %79)
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, i32 noundef %81)
  %83 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !16
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, i32 noundef %84)
  %86 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !27
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, i32 noundef %87)
  %89 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 3
  %90 = load i32, ptr %89, align 4, !tbaa !28
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, i32 noundef %90)
  %92 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 4
  %93 = load i32, ptr %92, align 4, !tbaa !18
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, i32 noundef %93)
  %95 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 5
  %96 = load i32, ptr %95, align 4, !tbaa !20
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.40, i32 noundef %96)
  %98 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 6
  %99 = load i32, ptr %98, align 4, !tbaa !29
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, i32 noundef %99)
  %101 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 7
  %102 = load i32, ptr %101, align 4, !tbaa !30
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.42, i32 noundef %102)
  %104 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 8
  %105 = load i32, ptr %104, align 4, !tbaa !31
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.43, i32 noundef %105)
  %107 = getelementptr inbounds %struct.Elf32_Shdr, ptr %9, i32 0, i32 9
  %108 = load i32, ptr %107, align 4, !tbaa !32
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.44, i32 noundef %108)
  br label %110

110:                                              ; preds = %75
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %10, align 4, !tbaa !9
  br label %18, !llvm.loop !33

113:                                              ; preds = %18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %0, ptr align 8 %2, i64 60, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 40, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 8}
!12 = !{!"DataOffest", !10, i64 0, !13, i64 4, !10, i64 8, !13, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !13, i64 48, !10, i64 52, !10, i64 56}
!13 = !{!"short", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 12}
!16 = !{!17, !10, i64 4}
!17 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!18 = !{!17, !10, i64 16}
!19 = !{!12, !10, i64 24}
!20 = !{!17, !10, i64 20}
!21 = !{!12, !10, i64 28}
!22 = !{!12, !10, i64 32}
!23 = !{!12, !10, i64 36}
!24 = !{!12, !10, i64 40}
!25 = !{!12, !10, i64 44}
!26 = !{!17, !10, i64 0}
!27 = !{!17, !10, i64 8}
!28 = !{!17, !10, i64 12}
!29 = !{!17, !10, i64 24}
!30 = !{!17, !10, i64 28}
!31 = !{!17, !10, i64 32}
!32 = !{!17, !10, i64 36}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{i64 0, i64 4, !9, i64 4, i64 2, !14, i64 8, i64 4, !9, i64 12, i64 2, !14, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !9, i64 28, i64 4, !9, i64 32, i64 4, !9, i64 36, i64 4, !9, i64 40, i64 4, !9, i64 44, i64 4, !9, i64 48, i64 2, !14, i64 52, i64 4, !9, i64 56, i64 4, !9}


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

@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [58 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #1

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

; 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) #2

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

; Function Attrs: nofree nounwind uwtable
define dso_local void @parseSoSectionHeader(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.DataOffest) align 4 %0, ptr nocapture noundef %1, ptr nocapture noundef byval(%struct.DataOffest) align 8 %2, ptr nocapture noundef readnone %3) local_unnamed_addr #3 {
  %5 = alloca %struct.Elf32_Shdr, align 4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
  %6 = getelementptr inbounds i8, ptr %2, i64 8
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %2, i64 12
  %9 = load i16, ptr %8, align 4, !tbaa !11
  %10 = zext i16 %9 to i32
  %.not = icmp eq i16 %9, 0
  br i1 %.not, label %71, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %11 = getelementptr inbounds i8, ptr %5, i64 4
  %12 = getelementptr inbounds i8, ptr %5, i64 16
  %13 = getelementptr inbounds i8, ptr %2, i64 32
  %14 = getelementptr inbounds i8, ptr %5, i64 20
  %15 = getelementptr inbounds i8, ptr %2, i64 36
  %16 = getelementptr inbounds i8, ptr %2, i64 24
  %17 = getelementptr inbounds i8, ptr %2, i64 28
  %18 = getelementptr inbounds i8, ptr %2, i64 40
  %19 = getelementptr inbounds i8, ptr %2, i64 44
  %20 = getelementptr inbounds i8, ptr %5, i64 8
  %21 = getelementptr inbounds i8, ptr %5, i64 12
  %22 = getelementptr inbounds i8, ptr %5, i64 24
  %23 = getelementptr inbounds i8, ptr %5, i64 28
  %24 = getelementptr inbounds i8, ptr %5, i64 32
  %25 = getelementptr inbounds i8, ptr %5, i64 36
  %.promoted = load i32, ptr %13, align 8, !tbaa !12
  %.promoted16 = load i32, ptr %15, align 4, !tbaa !13
  %.promoted18 = load i32, ptr %16, align 8, !tbaa !14
  %.promoted20 = load i32, ptr %17, align 4, !tbaa !15
  %.promoted22 = load i32, ptr %18, align 8, !tbaa !16
  %.promoted24 = load i32, ptr %19, align 4, !tbaa !17
  br label %26

26:                                               ; preds = %.lr.ph, %._crit_edge31
  %27 = phi i32 [ %.promoted24, %.lr.ph ], [ %46, %._crit_edge31 ]
  %28 = phi i32 [ %.promoted22, %.lr.ph ], [ %47, %._crit_edge31 ]
  %29 = phi i32 [ %.promoted20, %.lr.ph ], [ %48, %._crit_edge31 ]
  %30 = phi i32 [ %.promoted18, %.lr.ph ], [ %49, %._crit_edge31 ]
  %31 = phi i32 [ %.promoted16, %.lr.ph ], [ %50, %._crit_edge31 ]
  %32 = phi i32 [ %.promoted, %.lr.ph ], [ %51, %._crit_edge31 ]
  %.015 = phi i32 [ 0, %.lr.ph ], [ %.1, %._crit_edge31 ]
  %.01314 = phi i32 [ 0, %.lr.ph ], [ %53, %._crit_edge31 ]
  %33 = mul nuw nsw i32 %.01314, 40
  %34 = add i32 %33, %7
  %35 = and i32 %34, 65535
  %36 = zext nneg i32 %35 to i64
  %37 = tail call i32 @fseek(ptr noundef %1, i64 noundef %36, i32 noundef 0)
  %38 = call i64 @fread(ptr noundef nonnull %5, i64 noundef 1, i64 noundef 40, ptr noundef %1)
  %39 = load i32, ptr %11, align 4, !tbaa !18
  %cond = icmp eq i32 %39, 3
  %40 = load i32, ptr %12, align 4, !tbaa !20
  %41 = load i32, ptr %14, align 4, !tbaa !21
  br i1 %cond, label %42, label %._crit_edge31

42:                                               ; preds = %26
  switch i32 %.015, label %44 [
    i32 0, label %._crit_edge31
    i32 1, label %43
  ]

43:                                               ; preds = %42
  br label %._crit_edge31

44:                                               ; preds = %42
  %45 = add nsw i32 %.015, 1
  br label %._crit_edge31

._crit_edge31:                                    ; preds = %26, %42, %44, %43
  %46 = phi i32 [ %27, %43 ], [ %41, %44 ], [ %27, %42 ], [ %27, %26 ]
  %47 = phi i32 [ %28, %43 ], [ %40, %44 ], [ %28, %42 ], [ %28, %26 ]
  %48 = phi i32 [ %29, %43 ], [ %29, %44 ], [ %41, %42 ], [ %29, %26 ]
  %49 = phi i32 [ %30, %43 ], [ %30, %44 ], [ %40, %42 ], [ %30, %26 ]
  %50 = phi i32 [ %41, %43 ], [ %31, %44 ], [ %31, %42 ], [ %31, %26 ]
  %51 = phi i32 [ %40, %43 ], [ %32, %44 ], [ %32, %42 ], [ %32, %26 ]
  %.1 = phi i32 [ 2, %43 ], [ %45, %44 ], [ 1, %42 ], [ %.015, %26 ]
  %52 = load i32, ptr %5, align 4, !tbaa !22
  %53 = add nuw nsw i32 %.01314, 1
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34, i32 noundef %53)
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, i32 noundef %52)
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.36, i32 noundef %39)
  %57 = load i32, ptr %20, align 4, !tbaa !23
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.37, i32 noundef %57)
  %59 = load i32, ptr %21, align 4, !tbaa !24
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, i32 noundef %59)
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, i32 noundef %40)
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40, i32 noundef %41)
  %63 = load i32, ptr %22, align 4, !tbaa !25
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.41, i32 noundef %63)
  %65 = load i32, ptr %23, align 4, !tbaa !26
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42, i32 noundef %65)
  %67 = load i32, ptr %24, align 4, !tbaa !27
  %68 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.43, i32 noundef %67)
  %69 = load i32, ptr %25, align 4, !tbaa !28
  %70 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.44, i32 noundef %69)
  %exitcond.not = icmp eq i32 %53, %10
  br i1 %exitcond.not, label %._crit_edge, label %26, !llvm.loop !29

._crit_edge:                                      ; preds = %._crit_edge31
  store i32 %51, ptr %13, align 8, !tbaa !12
  store i32 %50, ptr %15, align 4, !tbaa !13
  store i32 %49, ptr %16, align 8, !tbaa !14
  store i32 %48, ptr %17, align 4, !tbaa !15
  store i32 %47, ptr %18, align 8, !tbaa !16
  store i32 %46, ptr %19, align 4, !tbaa !17
  br label %71

71:                                               ; preds = %._crit_edge, %4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(60) %0, ptr noundef nonnull align 8 dereferenceable(60) %2, i64 60, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree 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 = { 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 8}
!6 = !{!"DataOffest", !7, i64 0, !10, i64 4, !7, i64 8, !10, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !10, i64 48, !7, i64 52, !7, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!6, !7, i64 32}
!13 = !{!6, !7, i64 36}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 28}
!16 = !{!6, !7, i64 40}
!17 = !{!6, !7, i64 44}
!18 = !{!19, !7, i64 4}
!19 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!20 = !{!19, !7, i64 16}
!21 = !{!19, !7, i64 20}
!22 = !{!19, !7, i64 0}
!23 = !{!19, !7, i64 8}
!24 = !{!19, !7, i64 12}
!25 = !{!19, !7, i64 24}
!26 = !{!19, !7, i64 28}
!27 = !{!19, !7, i64 32}
!28 = !{!19, !7, i64 36}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{i64 0, i64 4, !32, i64 4, i64 2, !33, i64 8, i64 4, !32, i64 12, i64 2, !33, i64 16, i64 4, !32, i64 20, i64 4, !32, i64 24, i64 4, !32, i64 28, i64 4, !32, i64 32, i64 4, !32, i64 36, i64 4, !32, i64 40, i64 4, !32, i64 44, i64 4, !32, i64 48, i64 2, !33, i64 52, i64 4, !32, i64 56, i64 4, !32}
!32 = !{!7, !7, i64 0}
!33 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass