program scoring
    implicit none
    integer(8)::D,C(26),last(26),last_sim(26),i,j,k,vcalc
    integer(8),allocatable::S(:,:),T(:),V(:)
    !入力
    read*,D,C
    allocate(S(26,D))
    allocate(T(D))
    allocate(V(D))
    read*,S
    T=0
    V=0
    last=0
    last_sim=0

    !各日にちについて貪欲に計算
    do i=1,D
        !すべての選択肢を試す
        do j=1,26
            !vcalcとlast_simを初期化
            if(i==1)then
                vcalc=V(i)
            else
                vcalc=V(i-1)
            end if
            last_sim=last

            !得点をシミュレート
            vcalc=vcalc+S(j,i)
            last_sim(j)=i
            do k=1,26
                vcalc=vcalc-C(k)*(i-last_sim(k))
            end do

            !比較していって最大値を更新したらVに格納する
            if(vcalc>=V(i).or.j==1)then
                V(i)=vcalc
                T(i)=j
            end if
        end do
        !最終的に選んだ選択肢をもとに更新
        last(T(i))=i
    end do

    !答えの出力
    do i=1,D
        print'(i0)',T(i)
    end do
end program scoring
; ModuleID = 'FIRModule'
source_filename = "FIRModule"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"

@_QFEc = internal global [26 x i64] undef
@_QFElast = internal unnamed_addr global [26 x i64] undef
@_QFElast_sim = internal unnamed_addr global [26 x i64] undef
@_QFEs.0 = internal unnamed_addr global ptr null
@_QFEs.11 = internal unnamed_addr global i64 0
@_QFEt.0 = internal unnamed_addr global ptr null
@_QFEt.7 = internal unnamed_addr global i64 1
@_QFEt.8 = internal unnamed_addr global i64 0
@_QFEv.0 = internal unnamed_addr global ptr null
@_QFEv.7 = internal unnamed_addr global i64 1
@_QFEv.8 = internal unnamed_addr global i64 0
@_QQcl.867f17d7cb649a897893a530e93878b8 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1021/source.f\00"
@_QQcl.16373402fa3425c6e46827601abb88fa = linkonce constant [76 x i8] c"array left hand side must be allocated when the right hand side is a scalar\00"
@_QQcl.28693029 = linkonce constant [4 x i8] c"(i0)"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

define void @_QQmain() local_unnamed_addr {
  %1 = alloca { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, align 8
  %2 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8
  %3 = alloca i64, align 8
  %4 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.867f17d7cb649a897893a530e93878b8, i32 6)
  %5 = call i1 @_FortranAioInputInteger(ptr %4, ptr nonnull %3, i32 8)
  store ptr @_QFEc, ptr %2, align 8, !tbaa !3
  %.fca.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 1
  store i64 8, ptr %.fca.1.gep, align 8, !tbaa !3
  %.fca.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep, align 8, !tbaa !3
  %.fca.3.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 3
  store i8 1, ptr %.fca.3.gep, align 4, !tbaa !3
  %.fca.4.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 4
  store i8 10, ptr %.fca.4.gep, align 1, !tbaa !3
  %.fca.5.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep, align 2, !tbaa !3
  %.fca.6.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep, align 1, !tbaa !3
  %.fca.7.0.0.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 7, i64 0, i64 0
  store i64 1, ptr %.fca.7.0.0.gep, align 8, !tbaa !3
  %.fca.7.0.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 7, i64 0, i64 1
  store i64 26, ptr %.fca.7.0.1.gep, align 8, !tbaa !3
  %.fca.7.0.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %2, i64 0, i32 7, i64 0, i64 2
  store i64 8, ptr %.fca.7.0.2.gep, align 8, !tbaa !3
  %6 = call i1 @_FortranAioInputDescriptor(ptr %4, ptr nonnull %2)
  %7 = call i32 @_FortranAioEndIoStatement(ptr %4)
  %8 = load i64, ptr %3, align 8, !tbaa !7
  %9 = call i64 @llvm.smax.i64(i64 %8, i64 0)
  %10 = mul i64 %9, 208
  %11 = call ptr @malloc(i64 %10)
  store ptr %11, ptr @_QFEs.0, align 8, !tbaa !3
  store i64 %9, ptr @_QFEs.11, align 8, !tbaa !3
  %12 = shl i64 %9, 3
  %13 = call ptr @malloc(i64 %12)
  store ptr %13, ptr @_QFEt.0, align 8, !tbaa !3
  store i64 1, ptr @_QFEt.7, align 8, !tbaa !3
  store i64 %9, ptr @_QFEt.8, align 8, !tbaa !3
  %14 = call ptr @malloc(i64 %12)
  store ptr %14, ptr @_QFEv.0, align 8, !tbaa !3
  store i64 1, ptr @_QFEv.7, align 8, !tbaa !3
  store i64 %9, ptr @_QFEv.8, align 8, !tbaa !3
  %15 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.867f17d7cb649a897893a530e93878b8, i32 10)
  %.unpack = load ptr, ptr @_QFEs.0, align 8, !tbaa !3
  %.unpack720.unpack721.unpack726 = load i64, ptr @_QFEs.11, align 8, !tbaa !3
  store ptr %.unpack, ptr %1, align 8, !tbaa !3
  %.fca.1.gep183 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 1
  store i64 8, ptr %.fca.1.gep183, align 8, !tbaa !3
  %.fca.2.gep185 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep185, align 8, !tbaa !3
  %.fca.3.gep187 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 3
  store i8 2, ptr %.fca.3.gep187, align 4, !tbaa !3
  %.fca.4.gep189 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 4
  store i8 10, ptr %.fca.4.gep189, align 1, !tbaa !3
  %.fca.5.gep191 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep191, align 2, !tbaa !3
  %.fca.6.gep193 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep193, align 1, !tbaa !3
  %.fca.7.0.0.gep195 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 0
  store i64 1, ptr %.fca.7.0.0.gep195, align 8, !tbaa !3
  %.fca.7.0.1.gep197 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 1
  store i64 26, ptr %.fca.7.0.1.gep197, align 8, !tbaa !3
  %.fca.7.0.2.gep199 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 2
  store i64 8, ptr %.fca.7.0.2.gep199, align 8, !tbaa !3
  %.fca.7.1.0.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 1, i64 0
  store i64 1, ptr %.fca.7.1.0.gep, align 8, !tbaa !3
  %.fca.7.1.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 1, i64 1
  store i64 %.unpack720.unpack721.unpack726, ptr %.fca.7.1.1.gep, align 8, !tbaa !3
  %.fca.7.1.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [2 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 1, i64 2
  store i64 208, ptr %.fca.7.1.2.gep, align 8, !tbaa !3
  %16 = call i1 @_FortranAioInputDescriptor(ptr %15, ptr nonnull %1)
  %17 = call i32 @_FortranAioEndIoStatement(ptr %15)
  %.unpack729 = load ptr, ptr @_QFEt.0, align 8, !tbaa !3
  %.unpack736.unpack.unpack738 = load i64, ptr @_QFEt.8, align 8, !tbaa !3
  %.not = icmp eq ptr %.unpack729, null
  br i1 %.not, label %20, label %.preheader889

.preheader889:                                    ; preds = %0
  %18 = icmp sgt i64 %.unpack736.unpack.unpack738, 0
  br i1 %18, label %.lr.ph.preheader, label %.loopexit890

.lr.ph.preheader:                                 ; preds = %.preheader889
  %19 = shl nuw i64 %.unpack736.unpack.unpack738, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %.unpack729, i8 0, i64 %19, i1 false), !tbaa !7
  br label %.loopexit890

20:                                               ; preds = %0
  %21 = call {} @_FortranAReportFatalUserError(ptr nonnull @_QQcl.16373402fa3425c6e46827601abb88fa, ptr nonnull @_QQcl.867f17d7cb649a897893a530e93878b8, i32 11)
  %.unpack871.unpack.unpack = load i64, ptr @_QFEt.7, align 8, !tbaa !3
  %22 = icmp eq i64 %.unpack736.unpack.unpack738, 0
  %23 = select i1 %22, i64 1, i64 %.unpack871.unpack.unpack
  store ptr null, ptr @_QFEt.0, align 8, !tbaa !3
  store i64 %23, ptr @_QFEt.7, align 8, !tbaa !3
  store i64 %.unpack736.unpack.unpack738, ptr @_QFEt.8, align 8, !tbaa !3
  br label %.loopexit890

.loopexit890:                                     ; preds = %.lr.ph.preheader, %.preheader889, %20
  %.unpack741 = load ptr, ptr @_QFEv.0, align 8, !tbaa !3
  %.unpack748.unpack.unpack750 = load i64, ptr @_QFEv.8, align 8, !tbaa !3
  %.not753 = icmp eq ptr %.unpack741, null
  br i1 %.not753, label %26, label %.preheader888

.preheader888:                                    ; preds = %.loopexit890
  %24 = icmp sgt i64 %.unpack748.unpack.unpack750, 0
  br i1 %24, label %.lr.ph891.preheader, label %.loopexit

.lr.ph891.preheader:                              ; preds = %.preheader888
  %25 = shl nuw i64 %.unpack748.unpack.unpack750, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %.unpack741, i8 0, i64 %25, i1 false), !tbaa !7
  br label %.loopexit

26:                                               ; preds = %.loopexit890
  %27 = call {} @_FortranAReportFatalUserError(ptr nonnull @_QQcl.16373402fa3425c6e46827601abb88fa, ptr nonnull @_QQcl.867f17d7cb649a897893a530e93878b8, i32 12)
  %.unpack850.unpack.unpack = load i64, ptr @_QFEv.7, align 8, !tbaa !3
  %28 = icmp eq i64 %.unpack748.unpack.unpack750, 0
  %29 = select i1 %28, i64 1, i64 %.unpack850.unpack.unpack
  store ptr null, ptr @_QFEv.0, align 8, !tbaa !3
  store i64 %29, ptr @_QFEv.7, align 8, !tbaa !3
  store i64 %.unpack748.unpack.unpack750, ptr @_QFEv.8, align 8, !tbaa !3
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph891.preheader, %.preheader888, %26
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) @_QFElast, i8 0, i64 208, i1 false), !tbaa !7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) @_QFElast_sim, i8 0, i64 208, i1 false), !tbaa !7
  %30 = load i64, ptr %3, align 8, !tbaa !7
  %31 = icmp sgt i64 %30, 0
  br i1 %31, label %.preheader886.lr.ph, label %._crit_edge895

.preheader886.lr.ph:                              ; preds = %.loopexit
  %.unpack790 = load ptr, ptr @_QFEs.0, align 8, !tbaa !3
  %.unpack813.unpack.unpack = load i64, ptr @_QFEv.7, align 8
  %32 = xor i64 %.unpack813.unpack.unpack, -1
  %33 = sub i64 1, %.unpack813.unpack.unpack
  %34 = getelementptr i64, ptr %.unpack741, i64 %33
  %.unpack818 = load ptr, ptr @_QFEt.0, align 8
  %.unpack825.unpack.unpack = load i64, ptr @_QFEt.7, align 8
  br label %.preheader886

.preheader886:                                    ; preds = %.preheader886.lr.ph, %.split.us
  %35 = phi i64 [ 1, %.preheader886.lr.ph ], [ %256, %.split.us ]
  %36 = icmp eq i64 %35, 1
  %37 = mul i64 %35, 26
  %38 = add i64 %37, -26
  %39 = sub i64 %35, %.unpack813.unpack.unpack
  %40 = getelementptr i64, ptr %.unpack741, i64 %39
  %41 = add i64 %35, %32
  %42 = getelementptr i64, ptr %.unpack741, i64 %41
  %43 = sub i64 %35, %.unpack825.unpack.unpack
  %44 = getelementptr i64, ptr %.unpack818, i64 %43
  %.pre923 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 8), align 16, !tbaa !7
  %.pre925 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 9), align 8, !tbaa !7
  %.pre927 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 10), align 16, !tbaa !7
  %.pre929 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 11), align 8, !tbaa !7
  %.pre931 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 12), align 16, !tbaa !7
  %.pre933 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 13), align 8, !tbaa !7
  %.pre935 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 14), align 16, !tbaa !7
  %.pre937 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 15), align 8, !tbaa !7
  %.pre939 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 16), align 16, !tbaa !7
  %.pre941 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 17), align 8, !tbaa !7
  br i1 %36, label %.preheader.us, label %.preheader

.preheader.us:                                    ; preds = %.preheader886, %137
  %45 = phi i64 [ %138, %137 ], [ %.pre941, %.preheader886 ]
  %46 = phi i64 [ %139, %137 ], [ %.pre939, %.preheader886 ]
  %47 = phi i64 [ %140, %137 ], [ %.pre937, %.preheader886 ]
  %48 = phi i64 [ %141, %137 ], [ %.pre935, %.preheader886 ]
  %49 = phi i64 [ %142, %137 ], [ %.pre933, %.preheader886 ]
  %50 = phi i64 [ %143, %137 ], [ %.pre931, %.preheader886 ]
  %51 = phi i64 [ %144, %137 ], [ %.pre929, %.preheader886 ]
  %52 = phi i64 [ %145, %137 ], [ %.pre927, %.preheader886 ]
  %53 = phi i64 [ %146, %137 ], [ %.pre925, %.preheader886 ]
  %54 = phi i64 [ %147, %137 ], [ %.pre923, %.preheader886 ]
  %55 = phi i64 [ %148, %137 ], [ 1, %.preheader886 ]
  %56 = load i64, ptr %34, align 8, !tbaa !7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) @_QFElast_sim, ptr noundef nonnull align 16 dereferenceable(208) @_QFElast, i64 208, i1 false), !tbaa !7
  %57 = add nsw i64 %55, -1
  %58 = add i64 %57, %38
  %59 = getelementptr i64, ptr %.unpack790, i64 %58
  %60 = load i64, ptr %59, align 8, !tbaa !7
  %61 = add i64 %60, %56
  %62 = add nsw i64 %55, -1
  %63 = getelementptr [26 x i64], ptr @_QFElast_sim, i64 0, i64 %62
  store i64 1, ptr %63, align 8, !tbaa !7
  %64 = load i64, ptr @_QFEc, align 16, !tbaa !7
  %65 = load i64, ptr @_QFElast_sim, align 16, !tbaa !7
  %.neg.us = add i64 %65, -1
  %.neg830.us = mul i64 %.neg.us, %64
  %66 = add i64 %.neg830.us, %61
  %67 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 1), align 8, !tbaa !7
  %68 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 1), align 8, !tbaa !7
  %.neg.us.1 = add i64 %68, -1
  %.neg830.us.1 = mul i64 %.neg.us.1, %67
  %69 = add i64 %.neg830.us.1, %66
  %70 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 2), align 16, !tbaa !7
  %71 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 2), align 16, !tbaa !7
  %.neg.us.2 = add i64 %71, -1
  %.neg830.us.2 = mul i64 %.neg.us.2, %70
  %72 = add i64 %.neg830.us.2, %69
  %73 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 3), align 8, !tbaa !7
  %74 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 3), align 8, !tbaa !7
  %.neg.us.3 = add i64 %74, -1
  %.neg830.us.3 = mul i64 %.neg.us.3, %73
  %75 = add i64 %.neg830.us.3, %72
  %76 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 4), align 16, !tbaa !7
  %77 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 4), align 16, !tbaa !7
  %.neg.us.4 = add i64 %77, -1
  %.neg830.us.4 = mul i64 %.neg.us.4, %76
  %78 = add i64 %.neg830.us.4, %75
  %79 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 5), align 8, !tbaa !7
  %80 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 5), align 8, !tbaa !7
  %.neg.us.5 = add i64 %80, -1
  %.neg830.us.5 = mul i64 %.neg.us.5, %79
  %81 = add i64 %.neg830.us.5, %78
  %82 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 6), align 16, !tbaa !7
  %83 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 6), align 16, !tbaa !7
  %.neg.us.6 = add i64 %83, -1
  %.neg830.us.6 = mul i64 %.neg.us.6, %82
  %84 = add i64 %.neg830.us.6, %81
  %85 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 7), align 8, !tbaa !7
  %86 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 7), align 8, !tbaa !7
  %.neg.us.7 = add i64 %86, -1
  %.neg830.us.7 = mul i64 %.neg.us.7, %85
  %87 = add i64 %.neg830.us.7, %84
  %88 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 8), align 16, !tbaa !7
  %.neg.us.8 = add i64 %88, -1
  %.neg830.us.8 = mul i64 %.neg.us.8, %54
  %89 = add i64 %.neg830.us.8, %87
  %90 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 9), align 8, !tbaa !7
  %.neg.us.9 = add i64 %90, -1
  %.neg830.us.9 = mul i64 %.neg.us.9, %53
  %91 = add i64 %.neg830.us.9, %89
  %92 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 10), align 16, !tbaa !7
  %.neg.us.10 = add i64 %92, -1
  %.neg830.us.10 = mul i64 %.neg.us.10, %52
  %93 = add i64 %.neg830.us.10, %91
  %94 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 11), align 8, !tbaa !7
  %.neg.us.11 = add i64 %94, -1
  %.neg830.us.11 = mul i64 %.neg.us.11, %51
  %95 = add i64 %.neg830.us.11, %93
  %96 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 12), align 16, !tbaa !7
  %.neg.us.12 = add i64 %96, -1
  %.neg830.us.12 = mul i64 %.neg.us.12, %50
  %97 = add i64 %.neg830.us.12, %95
  %98 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 13), align 8, !tbaa !7
  %.neg.us.13 = add i64 %98, -1
  %.neg830.us.13 = mul i64 %.neg.us.13, %49
  %99 = add i64 %.neg830.us.13, %97
  %100 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 14), align 16, !tbaa !7
  %.neg.us.14 = add i64 %100, -1
  %.neg830.us.14 = mul i64 %.neg.us.14, %48
  %101 = add i64 %.neg830.us.14, %99
  %102 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 15), align 8, !tbaa !7
  %.neg.us.15 = add i64 %102, -1
  %.neg830.us.15 = mul i64 %.neg.us.15, %47
  %103 = add i64 %.neg830.us.15, %101
  %104 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 16), align 16, !tbaa !7
  %.neg.us.16 = add i64 %104, -1
  %.neg830.us.16 = mul i64 %.neg.us.16, %46
  %105 = add i64 %.neg830.us.16, %103
  %106 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 17), align 8, !tbaa !7
  %.neg.us.17 = add i64 %106, -1
  %.neg830.us.17 = mul i64 %.neg.us.17, %45
  %107 = add i64 %.neg830.us.17, %105
  %108 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 18), align 16, !tbaa !7
  %109 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 18), align 16, !tbaa !7
  %.neg.us.18 = add i64 %109, -1
  %.neg830.us.18 = mul i64 %.neg.us.18, %108
  %110 = add i64 %.neg830.us.18, %107
  %111 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 19), align 8, !tbaa !7
  %112 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 19), align 8, !tbaa !7
  %.neg.us.19 = add i64 %112, -1
  %.neg830.us.19 = mul i64 %.neg.us.19, %111
  %113 = add i64 %.neg830.us.19, %110
  %114 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 20), align 16, !tbaa !7
  %115 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 20), align 16, !tbaa !7
  %.neg.us.20 = add i64 %115, -1
  %.neg830.us.20 = mul i64 %.neg.us.20, %114
  %116 = add i64 %.neg830.us.20, %113
  %117 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 21), align 8, !tbaa !7
  %118 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 21), align 8, !tbaa !7
  %.neg.us.21 = add i64 %118, -1
  %.neg830.us.21 = mul i64 %.neg.us.21, %117
  %119 = add i64 %.neg830.us.21, %116
  %120 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 22), align 16, !tbaa !7
  %121 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 22), align 16, !tbaa !7
  %.neg.us.22 = add i64 %121, -1
  %.neg830.us.22 = mul i64 %.neg.us.22, %120
  %122 = add i64 %.neg830.us.22, %119
  %123 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 23), align 8, !tbaa !7
  %124 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 23), align 8, !tbaa !7
  %.neg.us.23 = add i64 %124, -1
  %.neg830.us.23 = mul i64 %.neg.us.23, %123
  %125 = add i64 %.neg830.us.23, %122
  %126 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 24), align 16, !tbaa !7
  %127 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 24), align 16, !tbaa !7
  %.neg.us.24 = add i64 %127, -1
  %.neg830.us.24 = mul i64 %.neg.us.24, %126
  %128 = add i64 %.neg830.us.24, %125
  %129 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 25), align 8, !tbaa !7
  %130 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 25), align 8, !tbaa !7
  %.neg.us.25 = add i64 %130, -1
  %.neg830.us.25 = mul i64 %.neg.us.25, %129
  %131 = add i64 %.neg830.us.25, %128
  %132 = load i64, ptr %40, align 8, !tbaa !7
  %133 = icmp sge i64 %131, %132
  %134 = icmp eq i64 %55, 1
  %135 = or i1 %134, %133
  br i1 %135, label %136, label %137

136:                                              ; preds = %.preheader.us
  store i64 %131, ptr %40, align 8, !tbaa !7
  store i64 %55, ptr %44, align 8, !tbaa !7
  %.pre922 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 8), align 16, !tbaa !7
  %.pre924 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 9), align 8, !tbaa !7
  %.pre926 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 10), align 16, !tbaa !7
  %.pre928 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 11), align 8, !tbaa !7
  %.pre930 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 12), align 16, !tbaa !7
  %.pre932 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 13), align 8, !tbaa !7
  %.pre934 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 14), align 16, !tbaa !7
  %.pre936 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 15), align 8, !tbaa !7
  %.pre938 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 16), align 16, !tbaa !7
  %.pre940 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 17), align 8, !tbaa !7
  br label %137

137:                                              ; preds = %136, %.preheader.us
  %138 = phi i64 [ %.pre940, %136 ], [ %45, %.preheader.us ]
  %139 = phi i64 [ %.pre938, %136 ], [ %46, %.preheader.us ]
  %140 = phi i64 [ %.pre936, %136 ], [ %47, %.preheader.us ]
  %141 = phi i64 [ %.pre934, %136 ], [ %48, %.preheader.us ]
  %142 = phi i64 [ %.pre932, %136 ], [ %49, %.preheader.us ]
  %143 = phi i64 [ %.pre930, %136 ], [ %50, %.preheader.us ]
  %144 = phi i64 [ %.pre928, %136 ], [ %51, %.preheader.us ]
  %145 = phi i64 [ %.pre926, %136 ], [ %52, %.preheader.us ]
  %146 = phi i64 [ %.pre924, %136 ], [ %53, %.preheader.us ]
  %147 = phi i64 [ %.pre922, %136 ], [ %54, %.preheader.us ]
  %148 = add nuw nsw i64 %55, 1
  %exitcond899.not = icmp eq i64 %148, 27
  br i1 %exitcond899.not, label %.split.us, label %.preheader.us

.preheader:                                       ; preds = %.preheader886, %241
  %149 = phi i64 [ %242, %241 ], [ %.pre941, %.preheader886 ]
  %150 = phi i64 [ %243, %241 ], [ %.pre939, %.preheader886 ]
  %151 = phi i64 [ %244, %241 ], [ %.pre937, %.preheader886 ]
  %152 = phi i64 [ %245, %241 ], [ %.pre935, %.preheader886 ]
  %153 = phi i64 [ %246, %241 ], [ %.pre933, %.preheader886 ]
  %154 = phi i64 [ %247, %241 ], [ %.pre931, %.preheader886 ]
  %155 = phi i64 [ %248, %241 ], [ %.pre929, %.preheader886 ]
  %156 = phi i64 [ %249, %241 ], [ %.pre927, %.preheader886 ]
  %157 = phi i64 [ %250, %241 ], [ %.pre925, %.preheader886 ]
  %158 = phi i64 [ %251, %241 ], [ %.pre923, %.preheader886 ]
  %159 = phi i64 [ %252, %241 ], [ 1, %.preheader886 ]
  %160 = load i64, ptr %42, align 8, !tbaa !7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) @_QFElast_sim, ptr noundef nonnull align 16 dereferenceable(208) @_QFElast, i64 208, i1 false), !tbaa !7
  %161 = add nsw i64 %159, -1
  %162 = add i64 %161, %38
  %163 = getelementptr i64, ptr %.unpack790, i64 %162
  %164 = load i64, ptr %163, align 8, !tbaa !7
  %165 = add i64 %164, %160
  %166 = add nsw i64 %159, -1
  %167 = getelementptr [26 x i64], ptr @_QFElast_sim, i64 0, i64 %166
  store i64 %35, ptr %167, align 8, !tbaa !7
  %168 = load i64, ptr @_QFEc, align 16, !tbaa !7
  %169 = load i64, ptr @_QFElast_sim, align 16, !tbaa !7
  %.neg = sub i64 %169, %35
  %.neg830 = mul i64 %.neg, %168
  %170 = add i64 %.neg830, %165
  %171 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 1), align 8, !tbaa !7
  %172 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 1), align 8, !tbaa !7
  %.neg.1 = sub i64 %172, %35
  %.neg830.1 = mul i64 %.neg.1, %171
  %173 = add i64 %.neg830.1, %170
  %174 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 2), align 16, !tbaa !7
  %175 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 2), align 16, !tbaa !7
  %.neg.2 = sub i64 %175, %35
  %.neg830.2 = mul i64 %.neg.2, %174
  %176 = add i64 %.neg830.2, %173
  %177 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 3), align 8, !tbaa !7
  %178 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 3), align 8, !tbaa !7
  %.neg.3 = sub i64 %178, %35
  %.neg830.3 = mul i64 %.neg.3, %177
  %179 = add i64 %.neg830.3, %176
  %180 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 4), align 16, !tbaa !7
  %181 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 4), align 16, !tbaa !7
  %.neg.4 = sub i64 %181, %35
  %.neg830.4 = mul i64 %.neg.4, %180
  %182 = add i64 %.neg830.4, %179
  %183 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 5), align 8, !tbaa !7
  %184 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 5), align 8, !tbaa !7
  %.neg.5 = sub i64 %184, %35
  %.neg830.5 = mul i64 %.neg.5, %183
  %185 = add i64 %.neg830.5, %182
  %186 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 6), align 16, !tbaa !7
  %187 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 6), align 16, !tbaa !7
  %.neg.6 = sub i64 %187, %35
  %.neg830.6 = mul i64 %.neg.6, %186
  %188 = add i64 %.neg830.6, %185
  %189 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 7), align 8, !tbaa !7
  %190 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 7), align 8, !tbaa !7
  %.neg.7 = sub i64 %190, %35
  %.neg830.7 = mul i64 %.neg.7, %189
  %191 = add i64 %.neg830.7, %188
  %192 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 8), align 16, !tbaa !7
  %.neg.8 = sub i64 %192, %35
  %.neg830.8 = mul i64 %.neg.8, %158
  %193 = add i64 %.neg830.8, %191
  %194 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 9), align 8, !tbaa !7
  %.neg.9 = sub i64 %194, %35
  %.neg830.9 = mul i64 %.neg.9, %157
  %195 = add i64 %.neg830.9, %193
  %196 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 10), align 16, !tbaa !7
  %.neg.10 = sub i64 %196, %35
  %.neg830.10 = mul i64 %.neg.10, %156
  %197 = add i64 %.neg830.10, %195
  %198 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 11), align 8, !tbaa !7
  %.neg.11 = sub i64 %198, %35
  %.neg830.11 = mul i64 %.neg.11, %155
  %199 = add i64 %.neg830.11, %197
  %200 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 12), align 16, !tbaa !7
  %.neg.12 = sub i64 %200, %35
  %.neg830.12 = mul i64 %.neg.12, %154
  %201 = add i64 %.neg830.12, %199
  %202 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 13), align 8, !tbaa !7
  %.neg.13 = sub i64 %202, %35
  %.neg830.13 = mul i64 %.neg.13, %153
  %203 = add i64 %.neg830.13, %201
  %204 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 14), align 16, !tbaa !7
  %.neg.14 = sub i64 %204, %35
  %.neg830.14 = mul i64 %.neg.14, %152
  %205 = add i64 %.neg830.14, %203
  %206 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 15), align 8, !tbaa !7
  %.neg.15 = sub i64 %206, %35
  %.neg830.15 = mul i64 %.neg.15, %151
  %207 = add i64 %.neg830.15, %205
  %208 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 16), align 16, !tbaa !7
  %.neg.16 = sub i64 %208, %35
  %.neg830.16 = mul i64 %.neg.16, %150
  %209 = add i64 %.neg830.16, %207
  %210 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 17), align 8, !tbaa !7
  %.neg.17 = sub i64 %210, %35
  %.neg830.17 = mul i64 %.neg.17, %149
  %211 = add i64 %.neg830.17, %209
  %212 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 18), align 16, !tbaa !7
  %213 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 18), align 16, !tbaa !7
  %.neg.18 = sub i64 %213, %35
  %.neg830.18 = mul i64 %.neg.18, %212
  %214 = add i64 %.neg830.18, %211
  %215 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 19), align 8, !tbaa !7
  %216 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 19), align 8, !tbaa !7
  %.neg.19 = sub i64 %216, %35
  %.neg830.19 = mul i64 %.neg.19, %215
  %217 = add i64 %.neg830.19, %214
  %218 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 20), align 16, !tbaa !7
  %219 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 20), align 16, !tbaa !7
  %.neg.20 = sub i64 %219, %35
  %.neg830.20 = mul i64 %.neg.20, %218
  %220 = add i64 %.neg830.20, %217
  %221 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 21), align 8, !tbaa !7
  %222 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 21), align 8, !tbaa !7
  %.neg.21 = sub i64 %222, %35
  %.neg830.21 = mul i64 %.neg.21, %221
  %223 = add i64 %.neg830.21, %220
  %224 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 22), align 16, !tbaa !7
  %225 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 22), align 16, !tbaa !7
  %.neg.22 = sub i64 %225, %35
  %.neg830.22 = mul i64 %.neg.22, %224
  %226 = add i64 %.neg830.22, %223
  %227 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 23), align 8, !tbaa !7
  %228 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 23), align 8, !tbaa !7
  %.neg.23 = sub i64 %228, %35
  %.neg830.23 = mul i64 %.neg.23, %227
  %229 = add i64 %.neg830.23, %226
  %230 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 24), align 16, !tbaa !7
  %231 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 24), align 16, !tbaa !7
  %.neg.24 = sub i64 %231, %35
  %.neg830.24 = mul i64 %.neg.24, %230
  %232 = add i64 %.neg830.24, %229
  %233 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 25), align 8, !tbaa !7
  %234 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFElast_sim, i64 0, i64 25), align 8, !tbaa !7
  %.neg.25 = sub i64 %234, %35
  %.neg830.25 = mul i64 %.neg.25, %233
  %235 = add i64 %.neg830.25, %232
  %236 = load i64, ptr %40, align 8, !tbaa !7
  %237 = icmp sge i64 %235, %236
  %238 = icmp eq i64 %159, 1
  %239 = or i1 %238, %237
  br i1 %239, label %240, label %241

240:                                              ; preds = %.preheader
  store i64 %235, ptr %40, align 8, !tbaa !7
  store i64 %159, ptr %44, align 8, !tbaa !7
  %.pre = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 8), align 16, !tbaa !7
  %.pre904 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 9), align 8, !tbaa !7
  %.pre906 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 10), align 16, !tbaa !7
  %.pre908 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 11), align 8, !tbaa !7
  %.pre910 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 12), align 16, !tbaa !7
  %.pre912 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 13), align 8, !tbaa !7
  %.pre914 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 14), align 16, !tbaa !7
  %.pre916 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 15), align 8, !tbaa !7
  %.pre918 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 16), align 16, !tbaa !7
  %.pre920 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEc, i64 0, i64 17), align 8, !tbaa !7
  br label %241

241:                                              ; preds = %240, %.preheader
  %242 = phi i64 [ %.pre920, %240 ], [ %149, %.preheader ]
  %243 = phi i64 [ %.pre918, %240 ], [ %150, %.preheader ]
  %244 = phi i64 [ %.pre916, %240 ], [ %151, %.preheader ]
  %245 = phi i64 [ %.pre914, %240 ], [ %152, %.preheader ]
  %246 = phi i64 [ %.pre912, %240 ], [ %153, %.preheader ]
  %247 = phi i64 [ %.pre910, %240 ], [ %154, %.preheader ]
  %248 = phi i64 [ %.pre908, %240 ], [ %155, %.preheader ]
  %249 = phi i64 [ %.pre906, %240 ], [ %156, %.preheader ]
  %250 = phi i64 [ %.pre904, %240 ], [ %157, %.preheader ]
  %251 = phi i64 [ %.pre, %240 ], [ %158, %.preheader ]
  %252 = add nuw nsw i64 %159, 1
  %exitcond.not = icmp eq i64 %252, 27
  br i1 %exitcond.not, label %.split.us, label %.preheader

.split.us:                                        ; preds = %241, %137
  %253 = load i64, ptr %44, align 8, !tbaa !7
  %254 = add i64 %253, -1
  %255 = getelementptr [26 x i64], ptr @_QFElast, i64 0, i64 %254
  store i64 %35, ptr %255, align 8, !tbaa !7
  %256 = add nuw i64 %35, 1
  %exitcond900.not = icmp eq i64 %35, %30
  br i1 %exitcond900.not, label %._crit_edge, label %.preheader886

._crit_edge:                                      ; preds = %.split.us
  %.pre942 = load i64, ptr %3, align 8, !tbaa !7
  %257 = icmp sgt i64 %.pre942, 0
  br i1 %257, label %.lr.ph894, label %._crit_edge895

.lr.ph894:                                        ; preds = %._crit_edge, %.lr.ph894
  %258 = phi i64 [ %265, %.lr.ph894 ], [ 1, %._crit_edge ]
  %259 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.867f17d7cb649a897893a530e93878b8, i32 47)
  %.unpack754 = load ptr, ptr @_QFEt.0, align 8, !tbaa !3
  %.unpack761.unpack.unpack = load i64, ptr @_QFEt.7, align 8, !tbaa !3
  %260 = sub i64 %258, %.unpack761.unpack.unpack
  %261 = getelementptr i64, ptr %.unpack754, i64 %260
  %262 = load i64, ptr %261, align 8, !tbaa !7
  %263 = call i1 @_FortranAioOutputInteger64(ptr %259, i64 %262)
  %264 = call i32 @_FortranAioEndIoStatement(ptr %259)
  %265 = add nuw i64 %258, 1
  %exitcond901.not = icmp eq i64 %258, %.pre942
  br i1 %exitcond901.not, label %._crit_edge895, label %.lr.ph894

._crit_edge895:                                   ; preds = %.lr.ph894, %.loopexit, %._crit_edge
  ret void
}

declare ptr @_FortranAioBeginExternalListInput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioInputInteger(ptr, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioInputDescriptor(ptr, ptr) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare {} @_FortranAReportFatalUserError(ptr, ptr, i32) local_unnamed_addr

declare ptr @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger64(ptr, i64) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #1

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

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

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }

!llvm.module.flags = !{!0, !1, !2}

!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{!4, !4, i64 0}
!4 = !{!"descriptor member", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any data access", !5, i64 0}
