program kadai
    implicit none
    integer  ::  n
    integer(8),allocatable  ::  a(:)
    integer(8),allocatable  ::  b(:)
    integer,allocatable  ::  m(:,:)
integer(8)  ::  sum,sum2
    integer  ::  i,j,test

    read(*,*) n
    allocate(a(n))
    allocate(b(n))

    read(*,*) b
    sum=0
    sum2=0
    do i=1,n
        sum=sum+b(i)
    end do
    do i=2,n-1,2
        sum2=sum2+b(i)
    end do
    a(1)=sum-2*sum2

    do i=1,n-1
        a(i+1)=2*b(i)-a(i)
    end do

    write(*,*) a

stop
contains

end program kadai
; 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"

@_QFEa.0 = internal unnamed_addr global ptr null
@_QFEa.8 = internal unnamed_addr global i64 0
@_QFEb.0 = internal unnamed_addr global ptr null
@_QFEb.8 = internal unnamed_addr global i64 0
@_QQcl.87251ea58078dce408628d144dbb626a = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_3838/source.f\00"
@_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: noreturn
define void @_QQmain() local_unnamed_addr #1 {
  %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 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.87251ea58078dce408628d144dbb626a, i32 10)
  %5 = call i1 @_FortranAioInputInteger(ptr %4, ptr nonnull %3, i32 4)
  %6 = call i32 @_FortranAioEndIoStatement(ptr %4)
  %7 = load i32, ptr %3, align 4, !tbaa !3
  %8 = call i32 @llvm.smax.i32(i32 %7, i32 0)
  %9 = zext i32 %8 to i64
  %10 = shl nuw nsw i64 %9, 3
  %11 = call ptr @malloc(i64 %10)
  store ptr %11, ptr @_QFEa.0, align 8, !tbaa !7
  store i64 %9, ptr @_QFEa.8, align 8, !tbaa !7
  %12 = call ptr @malloc(i64 %10)
  store ptr %12, ptr @_QFEb.0, align 8, !tbaa !7
  store i64 %9, ptr @_QFEb.8, align 8, !tbaa !7
  %13 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.87251ea58078dce408628d144dbb626a, i32 14)
  %.unpack = load ptr, ptr @_QFEb.0, align 8, !tbaa !7
  %.unpack315.unpack.unpack317 = load i64, ptr @_QFEb.8, align 8, !tbaa !7
  store ptr %.unpack, ptr %2, align 8, !tbaa !7
  %.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 !7
  %.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 !7
  %.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 !7
  %.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 !7
  %.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 !7
  %.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 !7
  %.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 !7
  %.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 %.unpack315.unpack.unpack317, ptr %.fca.7.0.1.gep, align 8, !tbaa !7
  %.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 !7
  %14 = call i1 @_FortranAioInputDescriptor(ptr %13, ptr nonnull %2)
  %15 = call i32 @_FortranAioEndIoStatement(ptr %13)
  %16 = load i32, ptr %3, align 4, !tbaa !3
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0
  %18 = zext i32 %16 to i64
  %.unpack380 = load ptr, ptr @_QFEb.0, align 8, !tbaa !7
  %min.iters.check = icmp ult i32 %16, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %18, 4294967292
  %ind.end = or i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %21, %vector.body ]
  %vec.phi412 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %22, %vector.body ]
  %19 = getelementptr i64, ptr %.unpack380, i64 %index
  %wide.load = load <2 x i64>, ptr %19, align 8, !tbaa !3
  %20 = getelementptr i64, ptr %19, i64 2
  %wide.load413 = load <2 x i64>, ptr %20, align 8, !tbaa !3
  %21 = add <2 x i64> %wide.load, %vec.phi
  %22 = add <2 x i64> %wide.load413, %vec.phi412
  %index.next = add nuw i64 %index, 4
  %23 = icmp eq i64 %index.next, %n.vec
  br i1 %23, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %22, %21
  %24 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %18
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.lr.ph, %middle.block
  %indvars.iv.ph = phi i64 [ 1, %.lr.ph ], [ %ind.end, %middle.block ]
  %.0287392.ph = phi i64 [ 0, %.lr.ph ], [ %24, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %.0287392 = phi i64 [ %28, %scalar.ph ], [ %.0287392.ph, %scalar.ph.preheader ]
  %25 = add i64 %indvars.iv, -1
  %26 = getelementptr i64, ptr %.unpack380, i64 %25
  %27 = load i64, ptr %26, align 8, !tbaa !3
  %28 = add i64 %27, %.0287392
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv, %18
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %0
  %.0287.lcssa = phi i64 [ 0, %0 ], [ %24, %middle.block ], [ %28, %scalar.ph ]
  %29 = add i32 %16, -1
  %30 = icmp sgt i32 %29, 1
  br i1 %30, label %.lr.ph395, label %._crit_edge396

.lr.ph395:                                        ; preds = %._crit_edge
  %31 = lshr i32 %29, 1
  %32 = zext i32 %31 to i64
  %.unpack368 = load ptr, ptr @_QFEb.0, align 8, !tbaa !7
  %min.iters.check416 = icmp ult i32 %29, 10
  br i1 %min.iters.check416, label %scalar.ph415.preheader, label %vector.ph417

vector.ph417:                                     ; preds = %.lr.ph395
  %n.mod.vf418 = and i64 %32, 3
  %33 = icmp eq i64 %n.mod.vf418, 0
  %34 = select i1 %33, i64 4, i64 %n.mod.vf418
  %n.vec419 = sub nsw i64 %32, %34
  %35 = shl nsw i64 %n.vec419, 1
  %ind.end420 = add nsw i64 %35, 2
  br label %vector.body424

vector.body424:                                   ; preds = %vector.body424, %vector.ph417
  %index425 = phi i64 [ 0, %vector.ph417 ], [ %index.next431, %vector.body424 ]
  %vec.phi426 = phi <2 x i64> [ zeroinitializer, %vector.ph417 ], [ %41, %vector.body424 ]
  %vec.phi427 = phi <2 x i64> [ zeroinitializer, %vector.ph417 ], [ %42, %vector.body424 ]
  %36 = shl i64 %index425, 1
  %37 = or i64 %36, 1
  %38 = or i64 %36, 5
  %39 = getelementptr i64, ptr %.unpack368, i64 %37
  %40 = getelementptr i64, ptr %.unpack368, i64 %38
  %wide.vec = load <4 x i64>, ptr %39, align 8, !tbaa !3
  %wide.vec429 = load <4 x i64>, ptr %40, align 8, !tbaa !3
  %strided.vec = shufflevector <4 x i64> %wide.vec, <4 x i64> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec430 = shufflevector <4 x i64> %wide.vec429, <4 x i64> poison, <2 x i32> <i32 0, i32 2>
  %41 = add <2 x i64> %strided.vec, %vec.phi426
  %42 = add <2 x i64> %strided.vec430, %vec.phi427
  %index.next431 = add nuw i64 %index425, 4
  %43 = icmp eq i64 %index.next431, %n.vec419
  br i1 %43, label %middle.block414, label %vector.body424, !llvm.loop !13

middle.block414:                                  ; preds = %vector.body424
  %bin.rdx432 = add <2 x i64> %42, %41
  %44 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx432)
  br label %scalar.ph415.preheader

scalar.ph415.preheader:                           ; preds = %.lr.ph395, %middle.block414
  %indvars.iv403.ph = phi i64 [ 2, %.lr.ph395 ], [ %ind.end420, %middle.block414 ]
  %.ph436 = phi i64 [ %32, %.lr.ph395 ], [ %34, %middle.block414 ]
  %.0393.ph = phi i64 [ 0, %.lr.ph395 ], [ %44, %middle.block414 ]
  br label %scalar.ph415

scalar.ph415:                                     ; preds = %scalar.ph415.preheader, %scalar.ph415
  %indvars.iv403 = phi i64 [ %indvars.iv.next404, %scalar.ph415 ], [ %indvars.iv403.ph, %scalar.ph415.preheader ]
  %45 = phi i64 [ %50, %scalar.ph415 ], [ %.ph436, %scalar.ph415.preheader ]
  %.0393 = phi i64 [ %49, %scalar.ph415 ], [ %.0393.ph, %scalar.ph415.preheader ]
  %46 = add i64 %indvars.iv403, -1
  %47 = getelementptr i64, ptr %.unpack368, i64 %46
  %48 = load i64, ptr %47, align 8, !tbaa !3
  %49 = add i64 %48, %.0393
  %indvars.iv.next404 = add nuw nsw i64 %indvars.iv403, 2
  %50 = add nsw i64 %45, -1
  %51 = icmp ugt i64 %45, 1
  br i1 %51, label %scalar.ph415, label %._crit_edge396.loopexit, !llvm.loop !14

._crit_edge396.loopexit:                          ; preds = %scalar.ph415
  %52 = shl i64 %49, 1
  br label %._crit_edge396

._crit_edge396:                                   ; preds = %._crit_edge396.loopexit, %._crit_edge
  %.0.lcssa = phi i64 [ 0, %._crit_edge ], [ %52, %._crit_edge396.loopexit ]
  %53 = sub i64 %.0287.lcssa, %.0.lcssa
  %.unpack320 = load ptr, ptr @_QFEa.0, align 8, !tbaa !7
  store i64 %53, ptr %.unpack320, align 8, !tbaa !3
  %54 = icmp sgt i32 %29, 0
  br i1 %54, label %.lver.check, label %._crit_edge400

.lver.check:                                      ; preds = %._crit_edge396
  %55 = zext i32 %29 to i64
  %.unpack344 = load ptr, ptr @_QFEb.0, align 8, !tbaa !7
  %56 = add nsw i64 %55, -1
  %57 = trunc i64 %56 to i32
  %58 = icmp ugt i32 %57, 2147483645
  %59 = icmp ugt i64 %56, 4294967295
  %60 = or i1 %58, %59
  br i1 %60, label %.ph.lver.orig.preheader, label %.ph

.ph.lver.orig.preheader:                          ; preds = %.lver.check
  %xtraiter442 = and i64 %55, 1
  %61 = icmp eq i64 %56, 0
  br i1 %61, label %._crit_edge400.loopexit.unr-lcssa, label %.ph.lver.orig.preheader.new

.ph.lver.orig.preheader.new:                      ; preds = %.ph.lver.orig.preheader
  %unroll_iter444 = and i64 %55, 4294967294
  br label %.ph.lver.orig

.ph.lver.orig:                                    ; preds = %.ph.lver.orig, %.ph.lver.orig.preheader.new
  %indvars.iv406.lver.orig = phi i64 [ 1, %.ph.lver.orig.preheader.new ], [ %indvars.iv.next407.lver.orig.1, %.ph.lver.orig ]
  %niter445 = phi i64 [ 0, %.ph.lver.orig.preheader.new ], [ %niter445.next.1, %.ph.lver.orig ]
  %62 = add nsw i64 %indvars.iv406.lver.orig, -1
  %63 = getelementptr i64, ptr %.unpack344, i64 %62
  %64 = load i64, ptr %63, align 8, !tbaa !3
  %65 = shl i64 %64, 1
  %66 = add nsw i64 %indvars.iv406.lver.orig, -1
  %67 = getelementptr i64, ptr %.unpack320, i64 %66
  %68 = load i64, ptr %67, align 8, !tbaa !3
  %69 = sub i64 %65, %68
  %indvars.iv.next407.lver.orig = shl i64 %indvars.iv406.lver.orig, 32
  %sext.lver.orig = add i64 %indvars.iv.next407.lver.orig, 4294967296
  %70 = ashr exact i64 %sext.lver.orig, 32
  %71 = add nsw i64 %70, -1
  %72 = getelementptr i64, ptr %.unpack320, i64 %71
  store i64 %69, ptr %72, align 8, !tbaa !3
  %73 = getelementptr i64, ptr %.unpack344, i64 %indvars.iv406.lver.orig
  %74 = load i64, ptr %73, align 8, !tbaa !3
  %75 = shl i64 %74, 1
  %76 = getelementptr i64, ptr %.unpack320, i64 %indvars.iv406.lver.orig
  %77 = load i64, ptr %76, align 8, !tbaa !3
  %78 = sub i64 %75, %77
  %indvars.iv.next407.lver.orig.1 = add nuw nsw i64 %indvars.iv406.lver.orig, 2
  %sext.lver.orig.1 = shl i64 %indvars.iv.next407.lver.orig.1, 32
  %79 = ashr exact i64 %sext.lver.orig.1, 32
  %80 = add nsw i64 %79, -1
  %81 = getelementptr i64, ptr %.unpack320, i64 %80
  store i64 %78, ptr %81, align 8, !tbaa !3
  %niter445.next.1 = add i64 %niter445, 2
  %niter445.ncmp.1 = icmp eq i64 %niter445.next.1, %unroll_iter444
  br i1 %niter445.ncmp.1, label %._crit_edge400.loopexit.unr-lcssa, label %.ph.lver.orig

.ph:                                              ; preds = %.lver.check
  %load_initial = load i64, ptr %.unpack320, align 8
  %xtraiter = and i64 %55, 1
  %82 = icmp eq i64 %56, 0
  br i1 %82, label %._crit_edge400.loopexit435.unr-lcssa, label %.ph.new

.ph.new:                                          ; preds = %.ph
  %unroll_iter = and i64 %55, 4294967294
  br label %83

83:                                               ; preds = %83, %.ph.new
  %store_forwarded = phi i64 [ %load_initial, %.ph.new ], [ %95, %83 ]
  %indvars.iv406 = phi i64 [ 1, %.ph.new ], [ %indvars.iv.next407.1, %83 ]
  %niter = phi i64 [ 0, %.ph.new ], [ %niter.next.1, %83 ]
  %84 = add nsw i64 %indvars.iv406, -1
  %85 = getelementptr i64, ptr %.unpack344, i64 %84
  %86 = load i64, ptr %85, align 8, !tbaa !3
  %87 = shl i64 %86, 1
  %88 = sub i64 %87, %store_forwarded
  %indvars.iv.next407 = shl i64 %indvars.iv406, 32
  %sext = add i64 %indvars.iv.next407, 4294967296
  %89 = ashr exact i64 %sext, 32
  %90 = add nsw i64 %89, -1
  %91 = getelementptr i64, ptr %.unpack320, i64 %90
  store i64 %88, ptr %91, align 8, !tbaa !3
  %92 = getelementptr i64, ptr %.unpack344, i64 %indvars.iv406
  %93 = load i64, ptr %92, align 8, !tbaa !3
  %94 = shl i64 %93, 1
  %95 = sub i64 %94, %88
  %indvars.iv.next407.1 = add nuw nsw i64 %indvars.iv406, 2
  %sext.1 = shl i64 %indvars.iv.next407.1, 32
  %96 = ashr exact i64 %sext.1, 32
  %97 = add nsw i64 %96, -1
  %98 = getelementptr i64, ptr %.unpack320, i64 %97
  store i64 %95, ptr %98, align 8, !tbaa !3
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge400.loopexit435.unr-lcssa, label %83

._crit_edge400.loopexit.unr-lcssa:                ; preds = %.ph.lver.orig, %.ph.lver.orig.preheader
  %indvars.iv406.lver.orig.unr = phi i64 [ 1, %.ph.lver.orig.preheader ], [ %indvars.iv.next407.lver.orig.1, %.ph.lver.orig ]
  %lcmp.mod443.not = icmp eq i64 %xtraiter442, 0
  br i1 %lcmp.mod443.not, label %._crit_edge400, label %.ph.lver.orig.epil

.ph.lver.orig.epil:                               ; preds = %._crit_edge400.loopexit.unr-lcssa
  %99 = add nsw i64 %indvars.iv406.lver.orig.unr, -1
  %100 = getelementptr i64, ptr %.unpack344, i64 %99
  %101 = load i64, ptr %100, align 8, !tbaa !3
  %102 = shl i64 %101, 1
  %103 = add nsw i64 %indvars.iv406.lver.orig.unr, -1
  %104 = getelementptr i64, ptr %.unpack320, i64 %103
  %105 = load i64, ptr %104, align 8, !tbaa !3
  %106 = sub i64 %102, %105
  %indvars.iv.next407.lver.orig.epil = shl i64 %indvars.iv406.lver.orig.unr, 32
  %sext.lver.orig.epil = add i64 %indvars.iv.next407.lver.orig.epil, 4294967296
  %107 = ashr exact i64 %sext.lver.orig.epil, 32
  %108 = add nsw i64 %107, -1
  %109 = getelementptr i64, ptr %.unpack320, i64 %108
  store i64 %106, ptr %109, align 8, !tbaa !3
  br label %._crit_edge400

._crit_edge400.loopexit435.unr-lcssa:             ; preds = %83, %.ph
  %store_forwarded.unr = phi i64 [ %load_initial, %.ph ], [ %95, %83 ]
  %indvars.iv406.unr = phi i64 [ 1, %.ph ], [ %indvars.iv.next407.1, %83 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge400, label %._crit_edge400.loopexit435.epilog-lcssa

._crit_edge400.loopexit435.epilog-lcssa:          ; preds = %._crit_edge400.loopexit435.unr-lcssa
  %110 = add nsw i64 %indvars.iv406.unr, -1
  %111 = getelementptr i64, ptr %.unpack344, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !3
  %113 = shl i64 %112, 1
  %114 = sub i64 %113, %store_forwarded.unr
  %indvars.iv.next407.epil = shl i64 %indvars.iv406.unr, 32
  %sext.epil = add i64 %indvars.iv.next407.epil, 4294967296
  %115 = ashr exact i64 %sext.epil, 32
  %116 = add nsw i64 %115, -1
  %117 = getelementptr i64, ptr %.unpack320, i64 %116
  store i64 %114, ptr %117, align 8, !tbaa !3
  br label %._crit_edge400

._crit_edge400:                                   ; preds = %._crit_edge400.loopexit435.epilog-lcssa, %._crit_edge400.loopexit435.unr-lcssa, %.ph.lver.orig.epil, %._crit_edge400.loopexit.unr-lcssa, %._crit_edge396
  %118 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.87251ea58078dce408628d144dbb626a, i32 29)
  %.unpack332 = load ptr, ptr @_QFEa.0, align 8, !tbaa !7
  %.unpack339.unpack.unpack341 = load i64, ptr @_QFEa.8, align 8, !tbaa !7
  store ptr %.unpack332, ptr %1, align 8, !tbaa !7
  %.fca.1.gep150 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 1
  store i64 8, ptr %.fca.1.gep150, align 8, !tbaa !7
  %.fca.2.gep152 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep152, align 8, !tbaa !7
  %.fca.3.gep154 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 3
  store i8 1, ptr %.fca.3.gep154, align 4, !tbaa !7
  %.fca.4.gep156 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 4
  store i8 10, ptr %.fca.4.gep156, align 1, !tbaa !7
  %.fca.5.gep158 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep158, align 2, !tbaa !7
  %.fca.6.gep160 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep160, align 1, !tbaa !7
  %.fca.7.0.0.gep162 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 0
  store i64 1, ptr %.fca.7.0.0.gep162, align 8, !tbaa !7
  %.fca.7.0.1.gep164 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 1
  store i64 %.unpack339.unpack.unpack341, ptr %.fca.7.0.1.gep164, align 8, !tbaa !7
  %.fca.7.0.2.gep166 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 7, i64 0, i64 2
  store i64 8, ptr %.fca.7.0.2.gep166, align 8, !tbaa !7
  %119 = call i1 @_FortranAioOutputDescriptor(ptr %118, ptr nonnull %1)
  %120 = call i32 @_FortranAioEndIoStatement(ptr %118)
  %121 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

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 @_FortranAioBeginExternalListOutput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputDescriptor(ptr, ptr) local_unnamed_addr

declare {} @_FortranAStopStatement(i32, i1, i1) local_unnamed_addr

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #3

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

!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 = !{!"any data access", !5, i64 0}
!5 = !{!"any access", !6, i64 0}
!6 = !{!"Flang Type TBAA Root"}
!7 = !{!8, !8, i64 0}
!8 = !{!"descriptor member", !5, i64 0}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.isvectorized", i32 1}
!11 = !{!"llvm.loop.unroll.runtime.disable"}
!12 = distinct !{!12, !11, !10}
!13 = distinct !{!13, !10, !11}
!14 = distinct !{!14, !11, !10}
