program scoring
  implicit none
  integer :: d, s(26, 365) = 0, t, i, j, x = 0
  integer, dimension(26) :: c = 0, last = 0
  read(*,*) d
  read(*,*) c
  read(*,*) (s(:, i), i = 1, d)
  do i = 1, d
    read(*,*) t
    last(t) = i
    x = x + s(t, i)
    x = x - sum(c * (i - last))
    write(*,'(i0)') x
  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 i32] zeroinitializer
@_QFElast = internal unnamed_addr global [26 x i32] zeroinitializer
@_QFEs = internal global [365 x [26 x i32]] zeroinitializer
@_QFEx = internal unnamed_addr global i32 0
@_QQcl.efb18b75d2b0231c755af29a43de2464 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_1030/source.f\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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

define void @_QQmain() local_unnamed_addr {
  %1 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8
  %2 = alloca { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.efb18b75d2b0231c755af29a43de2464, i32 5)
  %6 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %3, i32 4)
  %7 = call i32 @_FortranAioEndIoStatement(ptr %5)
  %8 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.efb18b75d2b0231c755af29a43de2464, i32 6)
  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 4, 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 9, 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 4, ptr %.fca.7.0.2.gep, align 8, !tbaa !3
  %9 = call i1 @_FortranAioInputDescriptor(ptr %8, ptr nonnull %2)
  %10 = call i32 @_FortranAioEndIoStatement(ptr %8)
  %11 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.efb18b75d2b0231c755af29a43de2464, i32 7)
  %12 = load i32, ptr %3, align 4, !tbaa !7
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0
  %14 = zext i32 %12 to i64
  %.fca.1.gep18 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 1
  %.fca.2.gep20 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 2
  %.fca.3.gep22 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 3
  %.fca.4.gep24 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 4
  %.fca.5.gep26 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 5
  %.fca.6.gep28 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 6
  %.fca.7.0.0.gep30 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 0
  %.fca.7.0.1.gep32 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 1
  %.fca.7.0.2.gep34 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 2
  br label %15

15:                                               ; preds = %.lr.ph, %15
  %16 = phi i64 [ 1, %.lr.ph ], [ %21, %15 ]
  %sext = shl i64 %16, 32
  %17 = ashr exact i64 %sext, 32
  %18 = add nsw i64 %17, -1
  %19 = getelementptr [365 x [26 x i32]], ptr @_QFEs, i64 0, i64 %18, i64 0
  store ptr %19, ptr %1, align 8, !tbaa !3
  store i64 4, ptr %.fca.1.gep18, align 8, !tbaa !3
  store i32 20180515, ptr %.fca.2.gep20, align 8, !tbaa !3
  store i8 1, ptr %.fca.3.gep22, align 4, !tbaa !3
  store i8 9, ptr %.fca.4.gep24, align 1, !tbaa !3
  store i8 0, ptr %.fca.5.gep26, align 2, !tbaa !3
  store i8 0, ptr %.fca.6.gep28, align 1, !tbaa !3
  store i64 1, ptr %.fca.7.0.0.gep30, align 8, !tbaa !3
  store i64 26, ptr %.fca.7.0.1.gep32, align 8, !tbaa !3
  store i64 4, ptr %.fca.7.0.2.gep34, align 8, !tbaa !3
  %20 = call i1 @_FortranAioInputDescriptor(ptr %11, ptr nonnull %1)
  %21 = add nuw nsw i64 %16, 1
  %exitcond.not = icmp eq i64 %16, %14
  br i1 %exitcond.not, label %._crit_edge, label %15

._crit_edge:                                      ; preds = %15, %0
  %22 = call i32 @_FortranAioEndIoStatement(ptr %11)
  %23 = load i32, ptr %3, align 4, !tbaa !7
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph38.preheader, label %._crit_edge39

.lr.ph38.preheader:                               ; preds = %._crit_edge
  %25 = zext i32 %23 to i64
  br label %.lr.ph38

.lr.ph38:                                         ; preds = %.lr.ph38.preheader, %.lr.ph38
  %indvars.iv = phi i64 [ 1, %.lr.ph38.preheader ], [ %indvars.iv.next, %.lr.ph38 ]
  %26 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.efb18b75d2b0231c755af29a43de2464, i32 9)
  %27 = call i1 @_FortranAioInputInteger(ptr %26, ptr nonnull %4, i32 4)
  %28 = call i32 @_FortranAioEndIoStatement(ptr %26)
  %29 = load i32, ptr %4, align 4, !tbaa !7
  %30 = sext i32 %29 to i64
  %31 = add nsw i64 %30, -1
  %32 = getelementptr [26 x i32], ptr @_QFElast, i64 0, i64 %31
  %33 = trunc i64 %indvars.iv to i32
  store i32 %33, ptr %32, align 4, !tbaa !7
  %34 = load i32, ptr @_QFEx, align 4, !tbaa !7
  %35 = add nsw i64 %indvars.iv, -1
  %36 = getelementptr [365 x [26 x i32]], ptr @_QFEs, i64 0, i64 %35, i64 %31
  %37 = load i32, ptr %36, align 4, !tbaa !7
  %38 = add i32 %37, %34
  %39 = call dereferenceable_or_null(104) ptr @malloc(i64 104)
  %40 = load i32, ptr @_QFEc, align 16, !tbaa !7
  %41 = load i32, ptr @_QFElast, align 16, !tbaa !7
  %42 = sub i32 %33, %41
  %43 = mul i32 %42, %40
  store i32 %43, ptr %39, align 4, !tbaa !7
  %44 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 1), align 4, !tbaa !7
  %45 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 1), align 4, !tbaa !7
  %46 = sub i32 %33, %45
  %47 = mul i32 %46, %44
  %48 = getelementptr i32, ptr %39, i64 1
  store i32 %47, ptr %48, align 4, !tbaa !7
  %49 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 2), align 8, !tbaa !7
  %50 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 2), align 8, !tbaa !7
  %51 = sub i32 %33, %50
  %52 = mul i32 %51, %49
  %53 = getelementptr i32, ptr %39, i64 2
  store i32 %52, ptr %53, align 4, !tbaa !7
  %54 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 3), align 4, !tbaa !7
  %55 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 3), align 4, !tbaa !7
  %56 = sub i32 %33, %55
  %57 = mul i32 %56, %54
  %58 = getelementptr i32, ptr %39, i64 3
  store i32 %57, ptr %58, align 4, !tbaa !7
  %59 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 4), align 16, !tbaa !7
  %60 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 4), align 16, !tbaa !7
  %61 = sub i32 %33, %60
  %62 = mul i32 %61, %59
  %63 = getelementptr i32, ptr %39, i64 4
  store i32 %62, ptr %63, align 4, !tbaa !7
  %64 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 5), align 4, !tbaa !7
  %65 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 5), align 4, !tbaa !7
  %66 = sub i32 %33, %65
  %67 = mul i32 %66, %64
  %68 = getelementptr i32, ptr %39, i64 5
  store i32 %67, ptr %68, align 4, !tbaa !7
  %69 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 6), align 8, !tbaa !7
  %70 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 6), align 8, !tbaa !7
  %71 = sub i32 %33, %70
  %72 = mul i32 %71, %69
  %73 = getelementptr i32, ptr %39, i64 6
  store i32 %72, ptr %73, align 4, !tbaa !7
  %74 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 7), align 4, !tbaa !7
  %75 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 7), align 4, !tbaa !7
  %76 = sub i32 %33, %75
  %77 = mul i32 %76, %74
  %78 = getelementptr i32, ptr %39, i64 7
  store i32 %77, ptr %78, align 4, !tbaa !7
  %79 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 8), align 16, !tbaa !7
  %80 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 8), align 16, !tbaa !7
  %81 = sub i32 %33, %80
  %82 = mul i32 %81, %79
  %83 = getelementptr i32, ptr %39, i64 8
  store i32 %82, ptr %83, align 4, !tbaa !7
  %84 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 9), align 4, !tbaa !7
  %85 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 9), align 4, !tbaa !7
  %86 = sub i32 %33, %85
  %87 = mul i32 %86, %84
  %88 = getelementptr i32, ptr %39, i64 9
  store i32 %87, ptr %88, align 4, !tbaa !7
  %89 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 10), align 8, !tbaa !7
  %90 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 10), align 8, !tbaa !7
  %91 = sub i32 %33, %90
  %92 = mul i32 %91, %89
  %93 = getelementptr i32, ptr %39, i64 10
  store i32 %92, ptr %93, align 4, !tbaa !7
  %94 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 11), align 4, !tbaa !7
  %95 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 11), align 4, !tbaa !7
  %96 = sub i32 %33, %95
  %97 = mul i32 %96, %94
  %98 = getelementptr i32, ptr %39, i64 11
  store i32 %97, ptr %98, align 4, !tbaa !7
  %99 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 12), align 16, !tbaa !7
  %100 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 12), align 16, !tbaa !7
  %101 = sub i32 %33, %100
  %102 = mul i32 %101, %99
  %103 = getelementptr i32, ptr %39, i64 12
  store i32 %102, ptr %103, align 4, !tbaa !7
  %104 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 13), align 4, !tbaa !7
  %105 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 13), align 4, !tbaa !7
  %106 = sub i32 %33, %105
  %107 = mul i32 %106, %104
  %108 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 14), align 8, !tbaa !7
  %109 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 14), align 8, !tbaa !7
  %110 = sub i32 %33, %109
  %111 = mul i32 %110, %108
  %112 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 15), align 4, !tbaa !7
  %113 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 15), align 4, !tbaa !7
  %114 = sub i32 %33, %113
  %115 = mul i32 %114, %112
  %116 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 16), align 16, !tbaa !7
  %117 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 16), align 16, !tbaa !7
  %118 = sub i32 %33, %117
  %119 = mul i32 %118, %116
  %120 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 17), align 4, !tbaa !7
  %121 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 17), align 4, !tbaa !7
  %122 = sub i32 %33, %121
  %123 = mul i32 %122, %120
  %124 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 18), align 8, !tbaa !7
  %125 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 18), align 8, !tbaa !7
  %126 = sub i32 %33, %125
  %127 = mul i32 %126, %124
  %128 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 19), align 4, !tbaa !7
  %129 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 19), align 4, !tbaa !7
  %130 = sub i32 %33, %129
  %131 = mul i32 %130, %128
  %132 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 20), align 16, !tbaa !7
  %133 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 20), align 16, !tbaa !7
  %134 = sub i32 %33, %133
  %135 = mul i32 %134, %132
  %136 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 21), align 4, !tbaa !7
  %137 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 21), align 4, !tbaa !7
  %138 = sub i32 %33, %137
  %139 = mul i32 %138, %136
  %140 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 22), align 8, !tbaa !7
  %141 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 22), align 8, !tbaa !7
  %142 = sub i32 %33, %141
  %143 = mul i32 %142, %140
  %144 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 23), align 4, !tbaa !7
  %145 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 23), align 4, !tbaa !7
  %146 = sub i32 %33, %145
  %147 = mul i32 %146, %144
  %148 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 24), align 16, !tbaa !7
  %149 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 24), align 16, !tbaa !7
  %150 = sub i32 %33, %149
  %151 = mul i32 %150, %148
  %152 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFEc, i64 0, i64 25), align 4, !tbaa !7
  %153 = load i32, ptr getelementptr inbounds ([26 x i32], ptr @_QFElast, i64 0, i64 25), align 4, !tbaa !7
  %154 = sub i32 %33, %153
  %155 = mul i32 %154, %152
  %156 = load i32, ptr %39, align 4, !tbaa !7
  %157 = load i32, ptr %48, align 4, !tbaa !7
  %158 = add i32 %157, %156
  %159 = load i32, ptr %53, align 4, !tbaa !7
  %160 = add i32 %159, %158
  %161 = load i32, ptr %58, align 4, !tbaa !7
  %162 = add i32 %161, %160
  %163 = load i32, ptr %63, align 4, !tbaa !7
  %164 = add i32 %163, %162
  %165 = load i32, ptr %68, align 4, !tbaa !7
  %166 = add i32 %165, %164
  %167 = load i32, ptr %73, align 4, !tbaa !7
  %168 = add i32 %167, %166
  %169 = load i32, ptr %78, align 4, !tbaa !7
  %170 = add i32 %169, %168
  %171 = load i32, ptr %83, align 4, !tbaa !7
  %172 = add i32 %171, %170
  %173 = load i32, ptr %88, align 4, !tbaa !7
  %174 = add i32 %173, %172
  %175 = load i32, ptr %93, align 4, !tbaa !7
  %176 = add i32 %175, %174
  %177 = load i32, ptr %98, align 4, !tbaa !7
  %178 = add i32 %177, %176
  %179 = load i32, ptr %103, align 4, !tbaa !7
  %180 = add i32 %179, %178
  %181 = add i32 %107, %180
  %182 = add i32 %111, %181
  %183 = add i32 %115, %182
  %184 = add i32 %119, %183
  %185 = add i32 %123, %184
  %186 = add i32 %127, %185
  %187 = add i32 %131, %186
  %188 = add i32 %135, %187
  %189 = add i32 %139, %188
  %190 = add i32 %143, %189
  %191 = add i32 %147, %190
  %192 = add i32 %151, %191
  %193 = add i32 %155, %192
  %194 = sub i32 %38, %193
  store i32 %194, ptr @_QFEx, align 4, !tbaa !7
  call void @free(ptr nonnull %39)
  %195 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.efb18b75d2b0231c755af29a43de2464, i32 13)
  %196 = load i32, ptr @_QFEx, align 4, !tbaa !7
  %197 = call i1 @_FortranAioOutputInteger32(ptr %195, i32 %196)
  %198 = call i32 @_FortranAioEndIoStatement(ptr %195)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond42.not = icmp eq i64 %indvars.iv, %25
  br i1 %exitcond42.not, label %._crit_edge39, label %.lr.ph38

._crit_edge39:                                    ; preds = %.lr.ph38, %._crit_edge
  ret void
}

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

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

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

declare i1 @_FortranAioInputDescriptor(ptr, ptr) local_unnamed_addr

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

declare i1 @_FortranAioOutputInteger32(ptr, i32) local_unnamed_addr

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #1 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" }

!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}
