; LLVM IR from upupming/algorithm :: AdvancedLevel_C++/1042. Shuffling Machine (20) (main)

; 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 [3 x i8], align 1
@__const.main.c = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [55 x i32], align 16
  %4 = alloca [55 x i32], align 16
  %5 = alloca [55 x i32], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca [6 x i8], align 1
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 220, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 220, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 220, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %27, %0
  %15 = load i32, ptr %6, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 55
  br i1 %16, label %18, label %17

17:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %30

18:                                               ; preds = %14
  %19 = load i32, ptr %6, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [55 x i32], ptr %5, i64 0, i64 %20
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %21)
  %23 = load i32, ptr %6, align 4, !tbaa !5
  %24 = load i32, ptr %6, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %25
  store i32 %23, ptr %26, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %18
  %28 = load i32, ptr %6, align 4, !tbaa !5
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %6, align 4, !tbaa !5
  br label %14, !llvm.loop !9

30:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %72, %30
  %32 = load i32, ptr %7, align 4, !tbaa !5
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %75

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %49, %36
  %38 = load i32, ptr %9, align 4, !tbaa !5
  %39 = icmp slt i32 %38, 55
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %52

41:                                               ; preds = %37
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = load i32, ptr %9, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [55 x i32], ptr %3, i64 0, i64 %47
  store i32 %45, ptr %48, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %41
  %50 = load i32, ptr %9, align 4, !tbaa !5
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %9, align 4, !tbaa !5
  br label %37, !llvm.loop !11

52:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %68, %52
  %54 = load i32, ptr %10, align 4, !tbaa !5
  %55 = icmp slt i32 %54, 55
  br i1 %55, label %57, label %56

56:                                               ; preds = %53
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %71

57:                                               ; preds = %53
  %58 = load i32, ptr %10, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [55 x i32], ptr %3, i64 0, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = load i32, ptr %10, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [55 x i32], ptr %5, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %66
  store i32 %61, ptr %67, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %57
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %10, align 4, !tbaa !5
  br label %53, !llvm.loop !12

71:                                               ; preds = %56
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %7, align 4, !tbaa !5
  br label %31, !llvm.loop !13

75:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 6, ptr %11) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.c, i64 6, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %110, %75
  %77 = load i32, ptr %12, align 4, !tbaa !5
  %78 = icmp slt i32 %77, 55
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %113

80:                                               ; preds = %76
  %81 = load i32, ptr %12, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = sub nsw i32 %84, 1
  %86 = load i32, ptr %12, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %87
  store i32 %85, ptr %88, align 4, !tbaa !5
  %89 = load i32, ptr %12, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = sdiv i32 %92, 13
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [6 x i8], ptr %11, i64 0, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !14
  %97 = sext i8 %96 to i32
  %98 = load i32, ptr %12, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [55 x i32], ptr %4, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = srem i32 %101, 13
  %103 = add nsw i32 %102, 1
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %97, i32 noundef %103)
  %105 = load i32, ptr %12, align 4, !tbaa !5
  %106 = icmp ne i32 %105, 54
  br i1 %106, label %107, label %109

107:                                              ; preds = %80
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %109

109:                                              ; preds = %107, %80
  br label %110

110:                                              ; preds = %109
  %111 = load i32, ptr %12, align 4, !tbaa !5
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %12, align 4, !tbaa !5
  br label %76, !llvm.loop !15

113:                                              ; preds = %79
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 6, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 220, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 220, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 220, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %114 = load i32, ptr %1, align 4
  ret i32 %114
}

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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) #3

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

attributes #0 = { mustprogress norecurse 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 = { 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !10}


; 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 [3 x i8], align 1
@__const.main.c = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader29:
  %0 = alloca i32, align 4
  %1 = alloca [55 x i32], align 16
  %2 = alloca [55 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %0) #3
  %3 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %0)
  call void @llvm.lifetime.start.p0(i64 220, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 220, ptr nonnull %2) #3
  %4 = getelementptr inbounds i8, ptr %2, i64 4
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %4)
  %6 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 1, ptr %6, align 4, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %7)
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  store i32 2, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %2, i64 12
  %11 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %10)
  %12 = getelementptr inbounds i8, ptr %1, i64 12
  store i32 3, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %2, i64 16
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %13)
  %15 = getelementptr inbounds i8, ptr %1, i64 16
  store i32 4, ptr %15, align 16, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %2, i64 20
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %16)
  %18 = getelementptr inbounds i8, ptr %1, i64 20
  store i32 5, ptr %18, align 4, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %2, i64 24
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %19)
  %21 = getelementptr inbounds i8, ptr %1, i64 24
  store i32 6, ptr %21, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %2, i64 28
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %22)
  %24 = getelementptr inbounds i8, ptr %1, i64 28
  store i32 7, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  %26 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %25)
  %27 = getelementptr inbounds i8, ptr %1, i64 32
  store i32 8, ptr %27, align 16, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %2, i64 36
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %28)
  %30 = getelementptr inbounds i8, ptr %1, i64 36
  store i32 9, ptr %30, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %2, i64 40
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %31)
  %33 = getelementptr inbounds i8, ptr %1, i64 40
  store i32 10, ptr %33, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %2, i64 44
  %35 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %34)
  %36 = getelementptr inbounds i8, ptr %1, i64 44
  store i32 11, ptr %36, align 4, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %2, i64 48
  %38 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %37)
  %39 = getelementptr inbounds i8, ptr %1, i64 48
  store i32 12, ptr %39, align 16, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %2, i64 52
  %41 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %40)
  %42 = getelementptr inbounds i8, ptr %1, i64 52
  store i32 13, ptr %42, align 4, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %2, i64 56
  %44 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %43)
  %45 = getelementptr inbounds i8, ptr %1, i64 56
  store i32 14, ptr %45, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %2, i64 60
  %47 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %46)
  %48 = getelementptr inbounds i8, ptr %1, i64 60
  store i32 15, ptr %48, align 4, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %2, i64 64
  %50 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %49)
  %51 = getelementptr inbounds i8, ptr %1, i64 64
  store i32 16, ptr %51, align 16, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %2, i64 68
  %53 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %52)
  %54 = getelementptr inbounds i8, ptr %1, i64 68
  store i32 17, ptr %54, align 4, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %2, i64 72
  %56 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %55)
  %57 = getelementptr inbounds i8, ptr %1, i64 72
  store i32 18, ptr %57, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %2, i64 76
  %59 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %58)
  %60 = getelementptr inbounds i8, ptr %1, i64 76
  store i32 19, ptr %60, align 4, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %2, i64 80
  %62 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %61)
  %63 = getelementptr inbounds i8, ptr %1, i64 80
  store i32 20, ptr %63, align 16, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %2, i64 84
  %65 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %64)
  %66 = getelementptr inbounds i8, ptr %1, i64 84
  store i32 21, ptr %66, align 4, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %2, i64 88
  %68 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %67)
  %69 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 22, ptr %69, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %2, i64 92
  %71 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %70)
  %72 = getelementptr inbounds i8, ptr %1, i64 92
  store i32 23, ptr %72, align 4, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %2, i64 96
  %74 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %73)
  %75 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 24, ptr %75, align 16, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %2, i64 100
  %77 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %76)
  %78 = getelementptr inbounds i8, ptr %1, i64 100
  store i32 25, ptr %78, align 4, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %2, i64 104
  %80 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %79)
  %81 = getelementptr inbounds i8, ptr %1, i64 104
  store i32 26, ptr %81, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %2, i64 108
  %83 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %82)
  %84 = getelementptr inbounds i8, ptr %1, i64 108
  store i32 27, ptr %84, align 4, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %2, i64 112
  %86 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %85)
  %87 = getelementptr inbounds i8, ptr %1, i64 112
  store i32 28, ptr %87, align 16, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %2, i64 116
  %89 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %88)
  %90 = getelementptr inbounds i8, ptr %1, i64 116
  store i32 29, ptr %90, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %2, i64 120
  %92 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %91)
  %93 = getelementptr inbounds i8, ptr %1, i64 120
  store i32 30, ptr %93, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %2, i64 124
  %95 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %94)
  %96 = getelementptr inbounds i8, ptr %1, i64 124
  store i32 31, ptr %96, align 4, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %2, i64 128
  %98 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %97)
  %99 = getelementptr inbounds i8, ptr %1, i64 128
  store i32 32, ptr %99, align 16, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %2, i64 132
  %101 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %100)
  %102 = getelementptr inbounds i8, ptr %1, i64 132
  store i32 33, ptr %102, align 4, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %2, i64 136
  %104 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %103)
  %105 = getelementptr inbounds i8, ptr %1, i64 136
  store i32 34, ptr %105, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %2, i64 140
  %107 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %106)
  %108 = getelementptr inbounds i8, ptr %1, i64 140
  store i32 35, ptr %108, align 4, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %2, i64 144
  %110 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %109)
  %111 = getelementptr inbounds i8, ptr %1, i64 144
  store i32 36, ptr %111, align 16, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %2, i64 148
  %113 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %112)
  %114 = getelementptr inbounds i8, ptr %1, i64 148
  store i32 37, ptr %114, align 4, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %2, i64 152
  %116 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %115)
  %117 = getelementptr inbounds i8, ptr %1, i64 152
  store i32 38, ptr %117, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %2, i64 156
  %119 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %118)
  %120 = getelementptr inbounds i8, ptr %1, i64 156
  store i32 39, ptr %120, align 4, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %2, i64 160
  %122 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %121)
  %123 = getelementptr inbounds i8, ptr %1, i64 160
  store i32 40, ptr %123, align 16, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %2, i64 164
  %125 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %124)
  %126 = getelementptr inbounds i8, ptr %1, i64 164
  store i32 41, ptr %126, align 4, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %2, i64 168
  %128 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %127)
  %129 = getelementptr inbounds i8, ptr %1, i64 168
  store i32 42, ptr %129, align 8, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %2, i64 172
  %131 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %130)
  %132 = getelementptr inbounds i8, ptr %1, i64 172
  store i32 43, ptr %132, align 4, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %2, i64 176
  %134 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %133)
  %135 = getelementptr inbounds i8, ptr %1, i64 176
  store i32 44, ptr %135, align 16, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %2, i64 180
  %137 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %136)
  %138 = getelementptr inbounds i8, ptr %1, i64 180
  store i32 45, ptr %138, align 4, !tbaa !5
  %139 = getelementptr inbounds i8, ptr %2, i64 184
  %140 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %139)
  %141 = getelementptr inbounds i8, ptr %1, i64 184
  store i32 46, ptr %141, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %2, i64 188
  %143 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %142)
  %144 = getelementptr inbounds i8, ptr %1, i64 188
  store i32 47, ptr %144, align 4, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %2, i64 192
  %146 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %145)
  %147 = getelementptr inbounds i8, ptr %1, i64 192
  store i32 48, ptr %147, align 16, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %2, i64 196
  %149 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %148)
  %150 = getelementptr inbounds i8, ptr %1, i64 196
  store i32 49, ptr %150, align 4, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %2, i64 200
  %152 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %151)
  %153 = getelementptr inbounds i8, ptr %1, i64 200
  store i32 50, ptr %153, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %2, i64 204
  %155 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %154)
  %156 = getelementptr inbounds i8, ptr %1, i64 204
  store i32 51, ptr %156, align 4, !tbaa !5
  %157 = getelementptr inbounds i8, ptr %2, i64 208
  %158 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %157)
  %159 = getelementptr inbounds i8, ptr %1, i64 208
  store i32 52, ptr %159, align 16, !tbaa !5
  %160 = getelementptr inbounds i8, ptr %2, i64 212
  %161 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %160)
  %162 = getelementptr inbounds i8, ptr %1, i64 212
  store i32 53, ptr %162, align 4, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %2, i64 216
  %164 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %163)
  %165 = getelementptr inbounds i8, ptr %1, i64 216
  store i32 54, ptr %165, align 8, !tbaa !5
  %166 = load i32, ptr %0, align 4, !tbaa !5
  %167 = icmp sgt i32 %166, 0
  br i1 %167, label %.preheader28.preheader, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader28, %.preheader29
  br label %.preheader

.preheader28.preheader:                           ; preds = %.preheader29
  %.sroa.4.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 8
  %.sroa.5.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 12
  %.sroa.6.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 16
  %.sroa.7.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 20
  %.sroa.8.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 24
  %.sroa.9.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 28
  %.sroa.10.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 32
  %.sroa.11.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 36
  %.sroa.12.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 40
  %.sroa.13.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 44
  %.sroa.14.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 48
  %.sroa.15.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 52
  %.sroa.16.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 56
  %.sroa.17.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 60
  %.sroa.18.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 64
  %.sroa.19.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 68
  %.sroa.20.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 72
  %.sroa.21.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 76
  %.sroa.22.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 80
  %.sroa.23.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 84
  %.sroa.24.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 88
  %.sroa.25.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 92
  %.sroa.26.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 96
  %.sroa.27.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 100
  %.sroa.28.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 104
  %.sroa.29.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 108
  %.sroa.30.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 112
  %.sroa.31.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 116
  %.sroa.32.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 120
  %.sroa.33.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 124
  %.sroa.34.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 128
  %.sroa.35.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 132
  %.sroa.36.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 136
  %.sroa.37.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 140
  %.sroa.38.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 144
  %.sroa.39.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 148
  %.sroa.40.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 152
  %.sroa.41.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 156
  %.sroa.42.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 160
  %.sroa.43.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 164
  %.sroa.44.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 168
  %.sroa.45.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 172
  %.sroa.46.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 176
  %.sroa.47.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 180
  %.sroa.48.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 184
  %.sroa.49.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 188
  %.sroa.50.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 192
  %.sroa.51.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 196
  %.sroa.52.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 200
  %.sroa.53.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 204
  %.sroa.54.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 208
  %.sroa.55.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 212
  %.sroa.56.4.scevgep36.sroa_idx = getelementptr inbounds i8, ptr %1, i64 216
  %168 = load i32, ptr %4, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %169
  %171 = load i32, ptr %7, align 8, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %172
  %174 = load i32, ptr %10, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %175
  %177 = load i32, ptr %13, align 16, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %178
  %180 = load i32, ptr %16, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %181
  %183 = load i32, ptr %19, align 8, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %184
  %186 = load i32, ptr %22, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %187
  %189 = load i32, ptr %25, align 16, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %190
  %192 = load i32, ptr %28, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %193
  %195 = load i32, ptr %31, align 8, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %196
  %198 = load i32, ptr %34, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %199
  %201 = load i32, ptr %37, align 16, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %202
  %204 = load i32, ptr %40, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %205
  %207 = load i32, ptr %43, align 8, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %208
  %210 = load i32, ptr %46, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %211
  %213 = load i32, ptr %49, align 16, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %214
  %216 = load i32, ptr %52, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %217
  %219 = load i32, ptr %55, align 8, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %220
  %222 = load i32, ptr %58, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %223
  %225 = load i32, ptr %61, align 16, !tbaa !5
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %226
  %228 = load i32, ptr %64, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %229
  %231 = load i32, ptr %67, align 8, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %232
  %234 = load i32, ptr %70, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %235
  %237 = load i32, ptr %73, align 16, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %238
  %240 = load i32, ptr %76, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %241
  %243 = load i32, ptr %79, align 8, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %244
  %246 = load i32, ptr %82, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %247
  %249 = load i32, ptr %85, align 16, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %250
  %252 = load i32, ptr %88, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %253
  %255 = load i32, ptr %91, align 8, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %256
  %258 = load i32, ptr %94, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %259
  %261 = load i32, ptr %97, align 16, !tbaa !5
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %262
  %264 = load i32, ptr %100, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %265
  %267 = load i32, ptr %103, align 8, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %268
  %270 = load i32, ptr %106, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %271
  %273 = load i32, ptr %109, align 16, !tbaa !5
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %274
  %276 = load i32, ptr %112, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %277
  %279 = load i32, ptr %115, align 8, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %280
  %282 = load i32, ptr %118, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %283
  %285 = load i32, ptr %121, align 16, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %286
  %288 = load i32, ptr %124, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %289
  %291 = load i32, ptr %127, align 8, !tbaa !5
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %292
  %294 = load i32, ptr %130, align 4, !tbaa !5
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %295
  %297 = load i32, ptr %133, align 16, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %298
  %300 = load i32, ptr %136, align 4, !tbaa !5
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %301
  %303 = load i32, ptr %139, align 8, !tbaa !5
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %304
  br label %.preheader28

.preheader28:                                     ; preds = %.preheader28.preheader, %.preheader28
  %.02533 = phi i32 [ %330, %.preheader28 ], [ 0, %.preheader28.preheader ]
  %.sroa.2.4.copyload = load i32, ptr %6, align 4, !tbaa !5
  %.sroa.4.4.copyload = load i32, ptr %.sroa.4.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.5.4.copyload = load i32, ptr %.sroa.5.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.6.4.copyload = load i32, ptr %.sroa.6.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.7.4.copyload = load i32, ptr %.sroa.7.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.8.4.copyload = load i32, ptr %.sroa.8.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.9.4.copyload = load i32, ptr %.sroa.9.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.10.4.copyload = load i32, ptr %.sroa.10.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.11.4.copyload = load i32, ptr %.sroa.11.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.12.4.copyload = load i32, ptr %.sroa.12.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.13.4.copyload = load i32, ptr %.sroa.13.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.14.4.copyload = load i32, ptr %.sroa.14.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.15.4.copyload = load i32, ptr %.sroa.15.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.16.4.copyload = load i32, ptr %.sroa.16.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.17.4.copyload = load i32, ptr %.sroa.17.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.18.4.copyload = load i32, ptr %.sroa.18.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.19.4.copyload = load i32, ptr %.sroa.19.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.20.4.copyload = load i32, ptr %.sroa.20.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.21.4.copyload = load i32, ptr %.sroa.21.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.22.4.copyload = load i32, ptr %.sroa.22.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.23.4.copyload = load i32, ptr %.sroa.23.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.24.4.copyload = load i32, ptr %.sroa.24.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.25.4.copyload = load i32, ptr %.sroa.25.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.26.4.copyload = load i32, ptr %.sroa.26.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.27.4.copyload = load i32, ptr %.sroa.27.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.28.4.copyload = load i32, ptr %.sroa.28.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.29.4.copyload = load i32, ptr %.sroa.29.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.30.4.copyload = load i32, ptr %.sroa.30.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.31.4.copyload = load i32, ptr %.sroa.31.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.32.4.copyload = load i32, ptr %.sroa.32.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.33.4.copyload = load i32, ptr %.sroa.33.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.34.4.copyload = load i32, ptr %.sroa.34.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.35.4.copyload = load i32, ptr %.sroa.35.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.36.4.copyload = load i32, ptr %.sroa.36.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.37.4.copyload = load i32, ptr %.sroa.37.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.38.4.copyload = load i32, ptr %.sroa.38.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.39.4.copyload = load i32, ptr %.sroa.39.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.40.4.copyload = load i32, ptr %.sroa.40.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.41.4.copyload = load i32, ptr %.sroa.41.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.42.4.copyload = load i32, ptr %.sroa.42.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.43.4.copyload = load i32, ptr %.sroa.43.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.44.4.copyload = load i32, ptr %.sroa.44.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.45.4.copyload = load i32, ptr %.sroa.45.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.46.4.copyload = load i32, ptr %.sroa.46.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.47.4.copyload = load i32, ptr %.sroa.47.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.48.4.copyload = load i32, ptr %.sroa.48.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.49.4.copyload = load i32, ptr %.sroa.49.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.50.4.copyload = load i32, ptr %.sroa.50.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.51.4.copyload = load i32, ptr %.sroa.51.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.52.4.copyload = load i32, ptr %.sroa.52.4.scevgep36.sroa_idx, align 8, !tbaa !5
  %.sroa.53.4.copyload = load i32, ptr %.sroa.53.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.54.4.copyload = load i32, ptr %.sroa.54.4.scevgep36.sroa_idx, align 16, !tbaa !5
  %.sroa.55.4.copyload = load i32, ptr %.sroa.55.4.scevgep36.sroa_idx, align 4, !tbaa !5
  %.sroa.56.4.copyload = load i32, ptr %.sroa.56.4.scevgep36.sroa_idx, align 8, !tbaa !5
  store i32 %.sroa.2.4.copyload, ptr %170, align 4, !tbaa !5
  store i32 %.sroa.4.4.copyload, ptr %173, align 4, !tbaa !5
  store i32 %.sroa.5.4.copyload, ptr %176, align 4, !tbaa !5
  store i32 %.sroa.6.4.copyload, ptr %179, align 4, !tbaa !5
  store i32 %.sroa.7.4.copyload, ptr %182, align 4, !tbaa !5
  store i32 %.sroa.8.4.copyload, ptr %185, align 4, !tbaa !5
  store i32 %.sroa.9.4.copyload, ptr %188, align 4, !tbaa !5
  store i32 %.sroa.10.4.copyload, ptr %191, align 4, !tbaa !5
  store i32 %.sroa.11.4.copyload, ptr %194, align 4, !tbaa !5
  store i32 %.sroa.12.4.copyload, ptr %197, align 4, !tbaa !5
  store i32 %.sroa.13.4.copyload, ptr %200, align 4, !tbaa !5
  store i32 %.sroa.14.4.copyload, ptr %203, align 4, !tbaa !5
  store i32 %.sroa.15.4.copyload, ptr %206, align 4, !tbaa !5
  store i32 %.sroa.16.4.copyload, ptr %209, align 4, !tbaa !5
  store i32 %.sroa.17.4.copyload, ptr %212, align 4, !tbaa !5
  store i32 %.sroa.18.4.copyload, ptr %215, align 4, !tbaa !5
  store i32 %.sroa.19.4.copyload, ptr %218, align 4, !tbaa !5
  store i32 %.sroa.20.4.copyload, ptr %221, align 4, !tbaa !5
  store i32 %.sroa.21.4.copyload, ptr %224, align 4, !tbaa !5
  store i32 %.sroa.22.4.copyload, ptr %227, align 4, !tbaa !5
  store i32 %.sroa.23.4.copyload, ptr %230, align 4, !tbaa !5
  store i32 %.sroa.24.4.copyload, ptr %233, align 4, !tbaa !5
  store i32 %.sroa.25.4.copyload, ptr %236, align 4, !tbaa !5
  store i32 %.sroa.26.4.copyload, ptr %239, align 4, !tbaa !5
  store i32 %.sroa.27.4.copyload, ptr %242, align 4, !tbaa !5
  store i32 %.sroa.28.4.copyload, ptr %245, align 4, !tbaa !5
  store i32 %.sroa.29.4.copyload, ptr %248, align 4, !tbaa !5
  store i32 %.sroa.30.4.copyload, ptr %251, align 4, !tbaa !5
  store i32 %.sroa.31.4.copyload, ptr %254, align 4, !tbaa !5
  store i32 %.sroa.32.4.copyload, ptr %257, align 4, !tbaa !5
  store i32 %.sroa.33.4.copyload, ptr %260, align 4, !tbaa !5
  store i32 %.sroa.34.4.copyload, ptr %263, align 4, !tbaa !5
  store i32 %.sroa.35.4.copyload, ptr %266, align 4, !tbaa !5
  store i32 %.sroa.36.4.copyload, ptr %269, align 4, !tbaa !5
  store i32 %.sroa.37.4.copyload, ptr %272, align 4, !tbaa !5
  store i32 %.sroa.38.4.copyload, ptr %275, align 4, !tbaa !5
  store i32 %.sroa.39.4.copyload, ptr %278, align 4, !tbaa !5
  store i32 %.sroa.40.4.copyload, ptr %281, align 4, !tbaa !5
  store i32 %.sroa.41.4.copyload, ptr %284, align 4, !tbaa !5
  store i32 %.sroa.42.4.copyload, ptr %287, align 4, !tbaa !5
  store i32 %.sroa.43.4.copyload, ptr %290, align 4, !tbaa !5
  store i32 %.sroa.44.4.copyload, ptr %293, align 4, !tbaa !5
  store i32 %.sroa.45.4.copyload, ptr %296, align 4, !tbaa !5
  store i32 %.sroa.46.4.copyload, ptr %299, align 4, !tbaa !5
  store i32 %.sroa.47.4.copyload, ptr %302, align 4, !tbaa !5
  store i32 %.sroa.48.4.copyload, ptr %305, align 4, !tbaa !5
  %306 = load i32, ptr %142, align 4, !tbaa !5
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %307
  store i32 %.sroa.49.4.copyload, ptr %308, align 4, !tbaa !5
  %309 = load i32, ptr %145, align 16, !tbaa !5
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %310
  store i32 %.sroa.50.4.copyload, ptr %311, align 4, !tbaa !5
  %312 = load i32, ptr %148, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %313
  store i32 %.sroa.51.4.copyload, ptr %314, align 4, !tbaa !5
  %315 = load i32, ptr %151, align 8, !tbaa !5
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %316
  store i32 %.sroa.52.4.copyload, ptr %317, align 4, !tbaa !5
  %318 = load i32, ptr %154, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %319
  store i32 %.sroa.53.4.copyload, ptr %320, align 4, !tbaa !5
  %321 = load i32, ptr %157, align 16, !tbaa !5
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %322
  store i32 %.sroa.54.4.copyload, ptr %323, align 4, !tbaa !5
  %324 = load i32, ptr %160, align 4, !tbaa !5
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %325
  store i32 %.sroa.55.4.copyload, ptr %326, align 4, !tbaa !5
  %327 = load i32, ptr %163, align 8, !tbaa !5
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %328
  store i32 %.sroa.56.4.copyload, ptr %329, align 4, !tbaa !5
  %330 = add nuw nsw i32 %.02533, 1
  %exitcond.not = icmp eq i32 %330, %166
  br i1 %exitcond.not, label %.preheader.preheader, label %.preheader28, !llvm.loop !9

331:                                              ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 220, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 220, ptr nonnull %1) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %0) #3
  ret i32 0

.preheader:                                       ; preds = %.preheader.preheader, %343
  %indvars.iv = phi i64 [ %indvars.iv.next, %343 ], [ 1, %.preheader.preheader ]
  %332 = getelementptr inbounds [55 x i32], ptr %1, i64 0, i64 %indvars.iv
  %333 = load i32, ptr %332, align 4, !tbaa !5
  %334 = add nsw i32 %333, -1
  store i32 %334, ptr %332, align 4, !tbaa !5
  %335 = sdiv i32 %334, 13
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [6 x i8], ptr @__const.main.c, i64 0, i64 %336
  %338 = load i8, ptr %337, align 1, !tbaa !11
  %339 = sext i8 %338 to i32
  %340 = srem i32 %334, 13
  %341 = add nsw i32 %340, 1
  %342 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %339, i32 noundef %341)
  %.not = icmp eq i64 %indvars.iv, 54
  br i1 %.not, label %331, label %343

343:                                              ; preds = %.preheader
  %344 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br label %.preheader
}

; 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 @__isoc99_scanf(ptr nocapture noundef readonly, ...) 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

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

attributes #0 = { mustprogress nofree norecurse 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 = { 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass