; LLVM IR from ivan-pi/periodic-lbm :: third-party (dugks_cavity)

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

@yc = external dso_local global [32 x double], align 16
@xc = external dso_local global [32 x double], align 16
@ux = external dso_local global [32 x [32 x double]], align 16
@uy = external dso_local global [32 x [32 x double]], align 16
@rho = external dso_local global [32 x [32 x double]], align 16
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 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

; Function Attrs: nounwind uwtable
define dso_local void @datadeal() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %4 = call noalias ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
  store ptr %4, ptr %3, align 8, !tbaa !5
  store i32 1, ptr %1, align 4, !tbaa !9
  br label %5

5:                                                ; preds = %15, %0
  %6 = load i32, ptr %1, align 4, !tbaa !9
  %7 = icmp sle i32 %6, 30
  br i1 %7, label %8, label %18

8:                                                ; preds = %5
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = load i32, ptr %1, align 4, !tbaa !9
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [32 x double], ptr @xc, i64 0, i64 %11
  %13 = load double, ptr %12, align 8, !tbaa !11
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef @.str.8, double noundef %13) #4
  br label %15

15:                                               ; preds = %8
  %16 = load i32, ptr %1, align 4, !tbaa !9
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %1, align 4, !tbaa !9
  br label %5, !llvm.loop !13

18:                                               ; preds = %5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call i32 @fclose(ptr noundef %19)
  %21 = call noalias ptr @fopen(ptr noundef @.str.9, ptr noundef @.str.7)
  store ptr %21, ptr %3, align 8, !tbaa !5
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %32, %18
  %23 = load i32, ptr %2, align 4, !tbaa !9
  %24 = icmp sle i32 %23, 30
  br i1 %24, label %25, label %35

25:                                               ; preds = %22
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [32 x double], ptr @yc, i64 0, i64 %28
  %30 = load double, ptr %29, align 8, !tbaa !11
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.8, double noundef %30) #4
  br label %32

32:                                               ; preds = %25
  %33 = load i32, ptr %2, align 4, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %2, align 4, !tbaa !9
  br label %22, !llvm.loop !15

35:                                               ; preds = %22
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = call i32 @fclose(ptr noundef %36)
  %38 = call noalias ptr @fopen(ptr noundef @.str.10, ptr noundef @.str.7)
  store ptr %38, ptr %3, align 8, !tbaa !5
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %62, %35
  %40 = load i32, ptr %2, align 4, !tbaa !9
  %41 = icmp sle i32 %40, 30
  br i1 %41, label %42, label %65

42:                                               ; preds = %39
  store i32 1, ptr %1, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %56, %42
  %44 = load i32, ptr %1, align 4, !tbaa !9
  %45 = icmp sle i32 %44, 30
  br i1 %45, label %46, label %59

46:                                               ; preds = %43
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = load i32, ptr %2, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %49
  %51 = load i32, ptr %1, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [32 x double], ptr %50, i64 0, i64 %52
  %54 = load double, ptr %53, align 8, !tbaa !11
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.8, double noundef %54) #4
  br label %56

56:                                               ; preds = %46
  %57 = load i32, ptr %1, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %1, align 4, !tbaa !9
  br label %43, !llvm.loop !16

59:                                               ; preds = %43
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.11) #4
  br label %62

62:                                               ; preds = %59
  %63 = load i32, ptr %2, align 4, !tbaa !9
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %2, align 4, !tbaa !9
  br label %39, !llvm.loop !17

65:                                               ; preds = %39
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = call i32 @fclose(ptr noundef %66)
  %68 = call noalias ptr @fopen(ptr noundef @.str.12, ptr noundef @.str.7)
  store ptr %68, ptr %3, align 8, !tbaa !5
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %92, %65
  %70 = load i32, ptr %2, align 4, !tbaa !9
  %71 = icmp sle i32 %70, 30
  br i1 %71, label %72, label %95

72:                                               ; preds = %69
  store i32 1, ptr %1, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %86, %72
  %74 = load i32, ptr %1, align 4, !tbaa !9
  %75 = icmp sle i32 %74, 30
  br i1 %75, label %76, label %89

76:                                               ; preds = %73
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = load i32, ptr %2, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %79
  %81 = load i32, ptr %1, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [32 x double], ptr %80, i64 0, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !11
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.8, double noundef %84) #4
  br label %86

86:                                               ; preds = %76
  %87 = load i32, ptr %1, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %1, align 4, !tbaa !9
  br label %73, !llvm.loop !18

89:                                               ; preds = %73
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @.str.11) #4
  br label %92

92:                                               ; preds = %89
  %93 = load i32, ptr %2, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %2, align 4, !tbaa !9
  br label %69, !llvm.loop !19

95:                                               ; preds = %69
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = call i32 @fclose(ptr noundef %96)
  %98 = call noalias ptr @fopen(ptr noundef @.str.13, ptr noundef @.str.7)
  store ptr %98, ptr %3, align 8, !tbaa !5
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %122, %95
  %100 = load i32, ptr %2, align 4, !tbaa !9
  %101 = icmp sle i32 %100, 30
  br i1 %101, label %102, label %125

102:                                              ; preds = %99
  store i32 1, ptr %1, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %116, %102
  %104 = load i32, ptr %1, align 4, !tbaa !9
  %105 = icmp sle i32 %104, 30
  br i1 %105, label %106, label %119

106:                                              ; preds = %103
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = load i32, ptr %2, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %109
  %111 = load i32, ptr %1, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [32 x double], ptr %110, i64 0, i64 %112
  %114 = load double, ptr %113, align 8, !tbaa !11
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.8, double noundef %114) #4
  br label %116

116:                                              ; preds = %106
  %117 = load i32, ptr %1, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %1, align 4, !tbaa !9
  br label %103, !llvm.loop !20

119:                                              ; preds = %103
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.11) #4
  br label %122

122:                                              ; preds = %119
  %123 = load i32, ptr %2, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %2, align 4, !tbaa !9
  br label %99, !llvm.loop !21

125:                                              ; preds = %99
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = call i32 @fclose(ptr noundef %126)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare i32 @fclose(ptr noundef) #2

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


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

@yc = external dso_local local_unnamed_addr global [32 x double], align 16
@xc = external dso_local local_unnamed_addr global [32 x double], align 16
@ux = external dso_local local_unnamed_addr global [32 x [32 x double]], align 16
@uy = external dso_local local_unnamed_addr global [32 x [32 x double]], align 16
@rho = external dso_local local_unnamed_addr global [32 x [32 x double]], align 16
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @datadeal() local_unnamed_addr #0 {
  %1 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7)
  %2 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 8), align 8, !tbaa !5
  %3 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %2) #2
  %4 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 16), align 16, !tbaa !5
  %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %4) #2
  %6 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 24), align 8, !tbaa !5
  %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %6) #2
  %8 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 32), align 16, !tbaa !5
  %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %8) #2
  %10 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 40), align 8, !tbaa !5
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %10) #2
  %12 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 48), align 16, !tbaa !5
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %12) #2
  %14 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 56), align 8, !tbaa !5
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %14) #2
  %16 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 64), align 16, !tbaa !5
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %16) #2
  %18 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 72), align 8, !tbaa !5
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %18) #2
  %20 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 80), align 16, !tbaa !5
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %20) #2
  %22 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 88), align 8, !tbaa !5
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %22) #2
  %24 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 96), align 16, !tbaa !5
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %24) #2
  %26 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 104), align 8, !tbaa !5
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %26) #2
  %28 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 112), align 16, !tbaa !5
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %28) #2
  %30 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 120), align 8, !tbaa !5
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %30) #2
  %32 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 128), align 16, !tbaa !5
  %33 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %32) #2
  %34 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 136), align 8, !tbaa !5
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %34) #2
  %36 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 144), align 16, !tbaa !5
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %36) #2
  %38 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 152), align 8, !tbaa !5
  %39 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %38) #2
  %40 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 160), align 16, !tbaa !5
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %40) #2
  %42 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 168), align 8, !tbaa !5
  %43 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %42) #2
  %44 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 176), align 16, !tbaa !5
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %44) #2
  %46 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 184), align 8, !tbaa !5
  %47 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %46) #2
  %48 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 192), align 16, !tbaa !5
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %48) #2
  %50 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 200), align 8, !tbaa !5
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %50) #2
  %52 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 208), align 16, !tbaa !5
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %52) #2
  %54 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 216), align 8, !tbaa !5
  %55 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %54) #2
  %56 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 224), align 16, !tbaa !5
  %57 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %56) #2
  %58 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 232), align 8, !tbaa !5
  %59 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %58) #2
  %60 = load double, ptr getelementptr inbounds (i8, ptr @xc, i64 240), align 16, !tbaa !5
  %61 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.8, double noundef %60) #2
  %62 = tail call i32 @fclose(ptr noundef %1)
  %63 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7)
  %64 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 8), align 8, !tbaa !5
  %65 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %64) #2
  %66 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 16), align 16, !tbaa !5
  %67 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %66) #2
  %68 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 24), align 8, !tbaa !5
  %69 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %68) #2
  %70 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 32), align 16, !tbaa !5
  %71 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %70) #2
  %72 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 40), align 8, !tbaa !5
  %73 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %72) #2
  %74 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 48), align 16, !tbaa !5
  %75 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %74) #2
  %76 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 56), align 8, !tbaa !5
  %77 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %76) #2
  %78 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 64), align 16, !tbaa !5
  %79 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %78) #2
  %80 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 72), align 8, !tbaa !5
  %81 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %80) #2
  %82 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 80), align 16, !tbaa !5
  %83 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %82) #2
  %84 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 88), align 8, !tbaa !5
  %85 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %84) #2
  %86 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 96), align 16, !tbaa !5
  %87 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %86) #2
  %88 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 104), align 8, !tbaa !5
  %89 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %88) #2
  %90 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 112), align 16, !tbaa !5
  %91 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %90) #2
  %92 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 120), align 8, !tbaa !5
  %93 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %92) #2
  %94 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 128), align 16, !tbaa !5
  %95 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %94) #2
  %96 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 136), align 8, !tbaa !5
  %97 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %96) #2
  %98 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 144), align 16, !tbaa !5
  %99 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %98) #2
  %100 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 152), align 8, !tbaa !5
  %101 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %100) #2
  %102 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 160), align 16, !tbaa !5
  %103 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %102) #2
  %104 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 168), align 8, !tbaa !5
  %105 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %104) #2
  %106 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 176), align 16, !tbaa !5
  %107 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %106) #2
  %108 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 184), align 8, !tbaa !5
  %109 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %108) #2
  %110 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 192), align 16, !tbaa !5
  %111 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %110) #2
  %112 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 200), align 8, !tbaa !5
  %113 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %112) #2
  %114 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 208), align 16, !tbaa !5
  %115 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %114) #2
  %116 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 216), align 8, !tbaa !5
  %117 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %116) #2
  %118 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 224), align 16, !tbaa !5
  %119 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %118) #2
  %120 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 232), align 8, !tbaa !5
  %121 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %120) #2
  %122 = load double, ptr getelementptr inbounds (i8, ptr @yc, i64 240), align 16, !tbaa !5
  %123 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef nonnull @.str.8, double noundef %122) #2
  %124 = tail call i32 @fclose(ptr noundef %63)
  %125 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7)
  br label %.preheader41

.preheader41:                                     ; preds = %0, %.preheader41
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next, %.preheader41 ]
  %126 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 1
  %127 = load double, ptr %126, align 8, !tbaa !5
  %128 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %127) #2
  %129 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 2
  %130 = load double, ptr %129, align 16, !tbaa !5
  %131 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %130) #2
  %132 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 3
  %133 = load double, ptr %132, align 8, !tbaa !5
  %134 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %133) #2
  %135 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 4
  %136 = load double, ptr %135, align 16, !tbaa !5
  %137 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %136) #2
  %138 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 5
  %139 = load double, ptr %138, align 8, !tbaa !5
  %140 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %139) #2
  %141 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 6
  %142 = load double, ptr %141, align 16, !tbaa !5
  %143 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %142) #2
  %144 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 7
  %145 = load double, ptr %144, align 8, !tbaa !5
  %146 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %145) #2
  %147 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 8
  %148 = load double, ptr %147, align 16, !tbaa !5
  %149 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %148) #2
  %150 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 9
  %151 = load double, ptr %150, align 8, !tbaa !5
  %152 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %151) #2
  %153 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 10
  %154 = load double, ptr %153, align 16, !tbaa !5
  %155 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %154) #2
  %156 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 11
  %157 = load double, ptr %156, align 8, !tbaa !5
  %158 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %157) #2
  %159 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 12
  %160 = load double, ptr %159, align 16, !tbaa !5
  %161 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %160) #2
  %162 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 13
  %163 = load double, ptr %162, align 8, !tbaa !5
  %164 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %163) #2
  %165 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 14
  %166 = load double, ptr %165, align 16, !tbaa !5
  %167 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %166) #2
  %168 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 15
  %169 = load double, ptr %168, align 8, !tbaa !5
  %170 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %169) #2
  %171 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 16
  %172 = load double, ptr %171, align 16, !tbaa !5
  %173 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %172) #2
  %174 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 17
  %175 = load double, ptr %174, align 8, !tbaa !5
  %176 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %175) #2
  %177 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 18
  %178 = load double, ptr %177, align 16, !tbaa !5
  %179 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %178) #2
  %180 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 19
  %181 = load double, ptr %180, align 8, !tbaa !5
  %182 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %181) #2
  %183 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 20
  %184 = load double, ptr %183, align 16, !tbaa !5
  %185 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %184) #2
  %186 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 21
  %187 = load double, ptr %186, align 8, !tbaa !5
  %188 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %187) #2
  %189 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 22
  %190 = load double, ptr %189, align 16, !tbaa !5
  %191 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %190) #2
  %192 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 23
  %193 = load double, ptr %192, align 8, !tbaa !5
  %194 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %193) #2
  %195 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 24
  %196 = load double, ptr %195, align 16, !tbaa !5
  %197 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %196) #2
  %198 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 25
  %199 = load double, ptr %198, align 8, !tbaa !5
  %200 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %199) #2
  %201 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 26
  %202 = load double, ptr %201, align 16, !tbaa !5
  %203 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %202) #2
  %204 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 27
  %205 = load double, ptr %204, align 8, !tbaa !5
  %206 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %205) #2
  %207 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 28
  %208 = load double, ptr %207, align 16, !tbaa !5
  %209 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %208) #2
  %210 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 29
  %211 = load double, ptr %210, align 8, !tbaa !5
  %212 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %211) #2
  %213 = getelementptr inbounds [32 x [32 x double]], ptr @rho, i64 0, i64 %indvars.iv, i64 30
  %214 = load double, ptr %213, align 16, !tbaa !5
  %215 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.8, double noundef %214) #2
  %216 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef nonnull @.str.11) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 31
  br i1 %exitcond.not, label %217, label %.preheader41, !llvm.loop !9

217:                                              ; preds = %.preheader41
  %218 = tail call i32 @fclose(ptr noundef %125)
  %219 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.7)
  br label %.preheader40

.preheader40:                                     ; preds = %217, %.preheader40
  %indvars.iv58 = phi i64 [ 1, %217 ], [ %indvars.iv.next59, %.preheader40 ]
  %220 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 1
  %221 = load double, ptr %220, align 8, !tbaa !5
  %222 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %221) #2
  %223 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 2
  %224 = load double, ptr %223, align 16, !tbaa !5
  %225 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %224) #2
  %226 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 3
  %227 = load double, ptr %226, align 8, !tbaa !5
  %228 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %227) #2
  %229 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 4
  %230 = load double, ptr %229, align 16, !tbaa !5
  %231 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %230) #2
  %232 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 5
  %233 = load double, ptr %232, align 8, !tbaa !5
  %234 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %233) #2
  %235 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 6
  %236 = load double, ptr %235, align 16, !tbaa !5
  %237 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %236) #2
  %238 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 7
  %239 = load double, ptr %238, align 8, !tbaa !5
  %240 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %239) #2
  %241 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 8
  %242 = load double, ptr %241, align 16, !tbaa !5
  %243 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %242) #2
  %244 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 9
  %245 = load double, ptr %244, align 8, !tbaa !5
  %246 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %245) #2
  %247 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 10
  %248 = load double, ptr %247, align 16, !tbaa !5
  %249 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %248) #2
  %250 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 11
  %251 = load double, ptr %250, align 8, !tbaa !5
  %252 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %251) #2
  %253 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 12
  %254 = load double, ptr %253, align 16, !tbaa !5
  %255 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %254) #2
  %256 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 13
  %257 = load double, ptr %256, align 8, !tbaa !5
  %258 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %257) #2
  %259 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 14
  %260 = load double, ptr %259, align 16, !tbaa !5
  %261 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %260) #2
  %262 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 15
  %263 = load double, ptr %262, align 8, !tbaa !5
  %264 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %263) #2
  %265 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 16
  %266 = load double, ptr %265, align 16, !tbaa !5
  %267 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %266) #2
  %268 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 17
  %269 = load double, ptr %268, align 8, !tbaa !5
  %270 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %269) #2
  %271 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 18
  %272 = load double, ptr %271, align 16, !tbaa !5
  %273 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %272) #2
  %274 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 19
  %275 = load double, ptr %274, align 8, !tbaa !5
  %276 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %275) #2
  %277 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 20
  %278 = load double, ptr %277, align 16, !tbaa !5
  %279 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %278) #2
  %280 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 21
  %281 = load double, ptr %280, align 8, !tbaa !5
  %282 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %281) #2
  %283 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 22
  %284 = load double, ptr %283, align 16, !tbaa !5
  %285 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %284) #2
  %286 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 23
  %287 = load double, ptr %286, align 8, !tbaa !5
  %288 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %287) #2
  %289 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 24
  %290 = load double, ptr %289, align 16, !tbaa !5
  %291 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %290) #2
  %292 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 25
  %293 = load double, ptr %292, align 8, !tbaa !5
  %294 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %293) #2
  %295 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 26
  %296 = load double, ptr %295, align 16, !tbaa !5
  %297 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %296) #2
  %298 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 27
  %299 = load double, ptr %298, align 8, !tbaa !5
  %300 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %299) #2
  %301 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 28
  %302 = load double, ptr %301, align 16, !tbaa !5
  %303 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %302) #2
  %304 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 29
  %305 = load double, ptr %304, align 8, !tbaa !5
  %306 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %305) #2
  %307 = getelementptr inbounds [32 x [32 x double]], ptr @ux, i64 0, i64 %indvars.iv58, i64 30
  %308 = load double, ptr %307, align 16, !tbaa !5
  %309 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.8, double noundef %308) #2
  %310 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef nonnull @.str.11) #2
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next59, 31
  br i1 %exitcond61.not, label %311, label %.preheader40, !llvm.loop !11

311:                                              ; preds = %.preheader40
  %312 = tail call i32 @fclose(ptr noundef %219)
  %313 = tail call noalias ptr @fopen(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7)
  br label %.preheader

.preheader:                                       ; preds = %311, %.preheader
  %indvars.iv66 = phi i64 [ 1, %311 ], [ %indvars.iv.next67, %.preheader ]
  %314 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 1
  %315 = load double, ptr %314, align 8, !tbaa !5
  %316 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %315) #2
  %317 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 2
  %318 = load double, ptr %317, align 16, !tbaa !5
  %319 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %318) #2
  %320 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 3
  %321 = load double, ptr %320, align 8, !tbaa !5
  %322 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %321) #2
  %323 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 4
  %324 = load double, ptr %323, align 16, !tbaa !5
  %325 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %324) #2
  %326 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 5
  %327 = load double, ptr %326, align 8, !tbaa !5
  %328 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %327) #2
  %329 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 6
  %330 = load double, ptr %329, align 16, !tbaa !5
  %331 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %330) #2
  %332 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 7
  %333 = load double, ptr %332, align 8, !tbaa !5
  %334 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %333) #2
  %335 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 8
  %336 = load double, ptr %335, align 16, !tbaa !5
  %337 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %336) #2
  %338 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 9
  %339 = load double, ptr %338, align 8, !tbaa !5
  %340 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %339) #2
  %341 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 10
  %342 = load double, ptr %341, align 16, !tbaa !5
  %343 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %342) #2
  %344 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 11
  %345 = load double, ptr %344, align 8, !tbaa !5
  %346 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %345) #2
  %347 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 12
  %348 = load double, ptr %347, align 16, !tbaa !5
  %349 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %348) #2
  %350 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 13
  %351 = load double, ptr %350, align 8, !tbaa !5
  %352 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %351) #2
  %353 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 14
  %354 = load double, ptr %353, align 16, !tbaa !5
  %355 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %354) #2
  %356 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 15
  %357 = load double, ptr %356, align 8, !tbaa !5
  %358 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %357) #2
  %359 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 16
  %360 = load double, ptr %359, align 16, !tbaa !5
  %361 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %360) #2
  %362 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 17
  %363 = load double, ptr %362, align 8, !tbaa !5
  %364 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %363) #2
  %365 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 18
  %366 = load double, ptr %365, align 16, !tbaa !5
  %367 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %366) #2
  %368 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 19
  %369 = load double, ptr %368, align 8, !tbaa !5
  %370 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %369) #2
  %371 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 20
  %372 = load double, ptr %371, align 16, !tbaa !5
  %373 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %372) #2
  %374 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 21
  %375 = load double, ptr %374, align 8, !tbaa !5
  %376 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %375) #2
  %377 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 22
  %378 = load double, ptr %377, align 16, !tbaa !5
  %379 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %378) #2
  %380 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 23
  %381 = load double, ptr %380, align 8, !tbaa !5
  %382 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %381) #2
  %383 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 24
  %384 = load double, ptr %383, align 16, !tbaa !5
  %385 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %384) #2
  %386 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 25
  %387 = load double, ptr %386, align 8, !tbaa !5
  %388 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %387) #2
  %389 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 26
  %390 = load double, ptr %389, align 16, !tbaa !5
  %391 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %390) #2
  %392 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 27
  %393 = load double, ptr %392, align 8, !tbaa !5
  %394 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %393) #2
  %395 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 28
  %396 = load double, ptr %395, align 16, !tbaa !5
  %397 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %396) #2
  %398 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 29
  %399 = load double, ptr %398, align 8, !tbaa !5
  %400 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %399) #2
  %401 = getelementptr inbounds [32 x [32 x double]], ptr @uy, i64 0, i64 %indvars.iv66, i64 30
  %402 = load double, ptr %401, align 16, !tbaa !5
  %403 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.8, double noundef %402) #2
  %404 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef nonnull @.str.11) #2
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66, 1
  %exitcond69.not = icmp eq i64 %indvars.iv.next67, 31
  br i1 %exitcond69.not, label %405, label %.preheader, !llvm.loop !12

405:                                              ; preds = %.preheader
  %406 = tail call i32 @fclose(ptr noundef %313)
  ret void
}

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

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

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

attributes #0 = { 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 #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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass