integer(8) n, a(100000)
read *, n, a(:n)
print *, sum(abs(a(:n))) - minval(abs(a(:n))) * mod(count(a(:n) < 0), 2) * 2
end

; 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 = internal global [100000 x i64] undef
@_QQcl.c659a11c5728dd250aa7f1ee92005b02 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_4390/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: 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 { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, align 8
  %4 = alloca i64, align 8
  %5 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.c659a11c5728dd250aa7f1ee92005b02, i32 2)
  %6 = call i1 @_FortranAioInputInteger(ptr %5, ptr nonnull %4, i32 8)
  %7 = load i64, ptr %4, align 8, !tbaa !3
  %8 = call i64 @llvm.smax.i64(i64 %7, i64 0)
  store ptr @_QFEa, ptr %3, align 8, !tbaa !7
  %.fca.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %3, 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 %3, 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 %3, 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 %3, 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 %3, 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 %3, 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 %3, 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 %3, i64 0, i32 7, i64 0, i64 1
  store i64 %8, 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 %3, i64 0, i32 7, i64 0, i64 2
  store i64 8, ptr %.fca.7.0.2.gep, align 8, !tbaa !7
  %9 = call i1 @_FortranAioInputDescriptor(ptr %5, ptr nonnull %3)
  %10 = call i32 @_FortranAioEndIoStatement(ptr %5)
  %11 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.c659a11c5728dd250aa7f1ee92005b02, i32 3)
  %12 = load i64, ptr %4, align 8, !tbaa !3
  %13 = call i64 @llvm.smax.i64(i64 %12, i64 0)
  %14 = shl i64 %13, 3
  %15 = call ptr @malloc(i64 %14)
  %.not68 = icmp slt i64 %12, 1
  br i1 %.not68, label %_FortranASumInteger8x1_contract_simplified.exit.thread, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %min.iters.check = icmp ult i64 %13, 4
  br i1 %min.iters.check, label %.lr.ph.preheader125, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %13, 9223372036854775804
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %16 = getelementptr i64, ptr @_QFEa, i64 %index
  %wide.load = load <2 x i64>, ptr %16, align 16, !tbaa !3
  %17 = getelementptr i64, ptr %16, i64 2
  %wide.load75 = load <2 x i64>, ptr %17, align 16, !tbaa !3
  %18 = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %wide.load, i1 false)
  %19 = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %wide.load75, i1 false)
  %20 = getelementptr i64, ptr %15, i64 %index
  store <2 x i64> %18, ptr %20, align 8, !tbaa !3
  %21 = getelementptr i64, ptr %20, i64 2
  store <2 x i64> %19, ptr %21, align 8, !tbaa !3
  %index.next = add nuw i64 %index, 4
  %22 = icmp eq i64 %index.next, %n.vec
  br i1 %22, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %13, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader125

.lr.ph.preheader125:                              ; preds = %.lr.ph.preheader, %middle.block
  %.ph126 = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader125, %.lr.ph
  %23 = phi i64 [ %24, %.lr.ph ], [ %.ph126, %.lr.ph.preheader125 ]
  %24 = add nuw nsw i64 %23, 1
  %25 = getelementptr i64, ptr @_QFEa, i64 %23
  %26 = load i64, ptr %25, align 8, !tbaa !3
  %27 = call i64 @llvm.abs.i64(i64 %26, i1 false)
  %28 = getelementptr i64, ptr %15, i64 %23
  store i64 %27, ptr %28, align 8, !tbaa !3
  %exitcond.not = icmp eq i64 %24, %13
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph, %middle.block
  br i1 %.not68, label %_FortranASumInteger8x1_contract_simplified.exit.thread, label %.lr.ph.i.preheader

.lr.ph.i.preheader:                               ; preds = %._crit_edge
  %min.iters.check78 = icmp ult i64 %13, 4
  br i1 %min.iters.check78, label %.lr.ph.i.preheader119, label %vector.ph79

vector.ph79:                                      ; preds = %.lr.ph.i.preheader
  %n.vec81 = and i64 %13, 9223372036854775804
  br label %vector.body84

vector.body84:                                    ; preds = %vector.body84, %vector.ph79
  %index85 = phi i64 [ 0, %vector.ph79 ], [ %index.next89, %vector.body84 ]
  %vec.phi = phi <2 x i64> [ zeroinitializer, %vector.ph79 ], [ %32, %vector.body84 ]
  %vec.phi86 = phi <2 x i64> [ zeroinitializer, %vector.ph79 ], [ %33, %vector.body84 ]
  %29 = shl i64 %index85, 3
  %30 = getelementptr i8, ptr %15, i64 %29
  %wide.load87 = load <2 x i64>, ptr %30, align 8, !tbaa !3
  %31 = getelementptr i64, ptr %30, i64 2
  %wide.load88 = load <2 x i64>, ptr %31, align 8, !tbaa !3
  %32 = add <2 x i64> %wide.load87, %vec.phi
  %33 = add <2 x i64> %wide.load88, %vec.phi86
  %index.next89 = add nuw i64 %index85, 4
  %34 = icmp eq i64 %index.next89, %n.vec81
  br i1 %34, label %middle.block76, label %vector.body84, !llvm.loop !13

middle.block76:                                   ; preds = %vector.body84
  %bin.rdx = add <2 x i64> %33, %32
  %35 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n83 = icmp eq i64 %13, %n.vec81
  br i1 %cmp.n83, label %_FortranASumInteger8x1_contract_simplified.exit, label %.lr.ph.i.preheader119

.lr.ph.i.preheader119:                            ; preds = %.lr.ph.i.preheader, %middle.block76
  %.ph120 = phi i64 [ 0, %.lr.ph.i.preheader ], [ %35, %middle.block76 ]
  %.ph121 = phi i64 [ 0, %.lr.ph.i.preheader ], [ %n.vec81, %middle.block76 ]
  br label %.lr.ph.i

.lr.ph.i:                                         ; preds = %.lr.ph.i.preheader119, %.lr.ph.i
  %36 = phi i64 [ %41, %.lr.ph.i ], [ %.ph120, %.lr.ph.i.preheader119 ]
  %37 = phi i64 [ %42, %.lr.ph.i ], [ %.ph121, %.lr.ph.i.preheader119 ]
  %38 = shl i64 %37, 3
  %39 = getelementptr i8, ptr %15, i64 %38
  %40 = load i64, ptr %39, align 8, !tbaa !3
  %41 = add i64 %40, %36
  %42 = add nuw nsw i64 %37, 1
  %exitcond.not.i = icmp eq i64 %42, %13
  br i1 %exitcond.not.i, label %_FortranASumInteger8x1_contract_simplified.exit, label %.lr.ph.i, !llvm.loop !14

_FortranASumInteger8x1_contract_simplified.exit.thread: ; preds = %._crit_edge, %0
  %43 = call ptr @malloc(i64 %14)
  br label %._crit_edge64

_FortranASumInteger8x1_contract_simplified.exit:  ; preds = %.lr.ph.i, %middle.block76
  %.lcssa = phi i64 [ %35, %middle.block76 ], [ %41, %.lr.ph.i ]
  %44 = call ptr @malloc(i64 %14)
  br i1 %.not68, label %._crit_edge64, label %.lr.ph63.preheader

.lr.ph63.preheader:                               ; preds = %_FortranASumInteger8x1_contract_simplified.exit
  %min.iters.check92 = icmp ult i64 %13, 4
  br i1 %min.iters.check92, label %.lr.ph63.preheader117, label %vector.ph93

vector.ph93:                                      ; preds = %.lr.ph63.preheader
  %n.vec95 = and i64 %13, 9223372036854775804
  br label %vector.body98

vector.body98:                                    ; preds = %vector.body98, %vector.ph93
  %index99 = phi i64 [ 0, %vector.ph93 ], [ %index.next102, %vector.body98 ]
  %45 = getelementptr i64, ptr @_QFEa, i64 %index99
  %wide.load100 = load <2 x i64>, ptr %45, align 16, !tbaa !3
  %46 = getelementptr i64, ptr %45, i64 2
  %wide.load101 = load <2 x i64>, ptr %46, align 16, !tbaa !3
  %47 = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %wide.load100, i1 false)
  %48 = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %wide.load101, i1 false)
  %49 = getelementptr i64, ptr %44, i64 %index99
  store <2 x i64> %47, ptr %49, align 8, !tbaa !3
  %50 = getelementptr i64, ptr %49, i64 2
  store <2 x i64> %48, ptr %50, align 8, !tbaa !3
  %index.next102 = add nuw i64 %index99, 4
  %51 = icmp eq i64 %index.next102, %n.vec95
  br i1 %51, label %middle.block90, label %vector.body98, !llvm.loop !15

middle.block90:                                   ; preds = %vector.body98
  %cmp.n97 = icmp eq i64 %13, %n.vec95
  br i1 %cmp.n97, label %._crit_edge64, label %.lr.ph63.preheader117

.lr.ph63.preheader117:                            ; preds = %.lr.ph63.preheader, %middle.block90
  %.ph118 = phi i64 [ 0, %.lr.ph63.preheader ], [ %n.vec95, %middle.block90 ]
  br label %.lr.ph63

.lr.ph63:                                         ; preds = %.lr.ph63.preheader117, %.lr.ph63
  %52 = phi i64 [ %53, %.lr.ph63 ], [ %.ph118, %.lr.ph63.preheader117 ]
  %53 = add nuw nsw i64 %52, 1
  %54 = getelementptr i64, ptr @_QFEa, i64 %52
  %55 = load i64, ptr %54, align 8, !tbaa !3
  %56 = call i64 @llvm.abs.i64(i64 %55, i1 false)
  %57 = getelementptr i64, ptr %44, i64 %52
  store i64 %56, ptr %57, align 8, !tbaa !3
  %exitcond71.not = icmp eq i64 %53, %13
  br i1 %exitcond71.not, label %._crit_edge64, label %.lr.ph63, !llvm.loop !16

._crit_edge64:                                    ; preds = %.lr.ph63, %middle.block90, %_FortranASumInteger8x1_contract_simplified.exit.thread, %_FortranASumInteger8x1_contract_simplified.exit
  %58 = phi ptr [ %43, %_FortranASumInteger8x1_contract_simplified.exit.thread ], [ %44, %_FortranASumInteger8x1_contract_simplified.exit ], [ %44, %middle.block90 ], [ %44, %.lr.ph63 ]
  %.lcssa.i74 = phi i64 [ 0, %_FortranASumInteger8x1_contract_simplified.exit.thread ], [ %.lcssa, %_FortranASumInteger8x1_contract_simplified.exit ], [ %.lcssa, %middle.block90 ], [ %.lcssa, %.lr.ph63 ]
  store ptr %58, ptr %2, align 8, !tbaa !7
  %.fca.1.gep24 = 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.gep24, align 8, !tbaa !7
  %.fca.2.gep26 = 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.gep26, align 8, !tbaa !7
  %.fca.3.gep28 = 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.gep28, align 4, !tbaa !7
  %.fca.4.gep30 = 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.gep30, align 1, !tbaa !7
  %.fca.5.gep32 = 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.gep32, align 2, !tbaa !7
  %.fca.6.gep34 = 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.gep34, align 1, !tbaa !7
  %.fca.7.0.0.gep36 = 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.gep36, align 8, !tbaa !7
  %.fca.7.0.1.gep38 = 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 %13, ptr %.fca.7.0.1.gep38, align 8, !tbaa !7
  %.fca.7.0.2.gep40 = 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.gep40, align 8, !tbaa !7
  %59 = call i64 @_FortranAMinvalInteger8(ptr nonnull %2, ptr nonnull @_QQcl.c659a11c5728dd250aa7f1ee92005b02, i32 3, i32 0, ptr null)
  %60 = load i64, ptr %4, align 8, !tbaa !3
  %61 = call i64 @llvm.smax.i64(i64 %60, i64 0)
  %62 = shl i64 %61, 2
  %63 = call ptr @malloc(i64 %62)
  %.not70 = icmp slt i64 %60, 1
  br i1 %.not70, label %._crit_edge67, label %.lr.ph66.preheader

.lr.ph66.preheader:                               ; preds = %._crit_edge64
  %min.iters.check105 = icmp ult i64 %61, 4
  br i1 %min.iters.check105, label %.lr.ph66.preheader116, label %vector.ph106

vector.ph106:                                     ; preds = %.lr.ph66.preheader
  %n.vec108 = and i64 %61, 9223372036854775804
  br label %vector.body111

vector.body111:                                   ; preds = %vector.body111, %vector.ph106
  %index112 = phi i64 [ 0, %vector.ph106 ], [ %index.next115, %vector.body111 ]
  %64 = getelementptr i64, ptr @_QFEa, i64 %index112
  %wide.load113 = load <2 x i64>, ptr %64, align 16, !tbaa !3
  %65 = getelementptr i64, ptr %64, i64 2
  %wide.load114 = load <2 x i64>, ptr %65, align 16, !tbaa !3
  %66 = lshr <2 x i64> %wide.load113, <i64 63, i64 63>
  %67 = lshr <2 x i64> %wide.load114, <i64 63, i64 63>
  %68 = trunc <2 x i64> %66 to <2 x i32>
  %69 = trunc <2 x i64> %67 to <2 x i32>
  %70 = getelementptr i32, ptr %63, i64 %index112
  store <2 x i32> %68, ptr %70, align 4, !tbaa !3
  %71 = getelementptr i32, ptr %70, i64 2
  store <2 x i32> %69, ptr %71, align 4, !tbaa !3
  %index.next115 = add nuw i64 %index112, 4
  %72 = icmp eq i64 %index.next115, %n.vec108
  br i1 %72, label %middle.block103, label %vector.body111, !llvm.loop !17

middle.block103:                                  ; preds = %vector.body111
  %cmp.n110 = icmp eq i64 %61, %n.vec108
  br i1 %cmp.n110, label %._crit_edge67, label %.lr.ph66.preheader116

.lr.ph66.preheader116:                            ; preds = %.lr.ph66.preheader, %middle.block103
  %.ph = phi i64 [ 0, %.lr.ph66.preheader ], [ %n.vec108, %middle.block103 ]
  br label %.lr.ph66

.lr.ph66:                                         ; preds = %.lr.ph66.preheader116, %.lr.ph66
  %73 = phi i64 [ %74, %.lr.ph66 ], [ %.ph, %.lr.ph66.preheader116 ]
  %74 = add nuw nsw i64 %73, 1
  %75 = getelementptr i64, ptr @_QFEa, i64 %73
  %76 = load i64, ptr %75, align 8, !tbaa !3
  %.lobit = lshr i64 %76, 63
  %77 = trunc i64 %.lobit to i32
  %78 = getelementptr i32, ptr %63, i64 %73
  store i32 %77, ptr %78, align 4, !tbaa !3
  %exitcond72.not = icmp eq i64 %74, %61
  br i1 %exitcond72.not, label %._crit_edge67, label %.lr.ph66, !llvm.loop !18

._crit_edge67:                                    ; preds = %.lr.ph66, %middle.block103, %._crit_edge64
  store ptr %63, ptr %1, align 8, !tbaa !7
  %.fca.1.gep44 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 1
  store i64 4, ptr %.fca.1.gep44, align 8, !tbaa !7
  %.fca.2.gep46 = 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.gep46, align 8, !tbaa !7
  %.fca.3.gep48 = 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.gep48, align 4, !tbaa !7
  %.fca.4.gep50 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 4
  store i8 14, ptr %.fca.4.gep50, align 1, !tbaa !7
  %.fca.5.gep52 = 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.gep52, align 2, !tbaa !7
  %.fca.6.gep54 = 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.gep54, align 1, !tbaa !7
  %.fca.7.0.0.gep56 = 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.gep56, align 8, !tbaa !7
  %.fca.7.0.1.gep58 = 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 %61, ptr %.fca.7.0.1.gep58, align 8, !tbaa !7
  %.fca.7.0.2.gep60 = 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 4, ptr %.fca.7.0.2.gep60, align 8, !tbaa !7
  %79 = call i64 @_FortranACount(ptr nonnull %1, ptr nonnull @_QQcl.c659a11c5728dd250aa7f1ee92005b02, i32 3, i32 0)
  %80 = trunc i64 %79 to i32
  %81 = srem i32 %80, 2
  %82 = sext i32 %81 to i64
  %83 = shl i64 %59, 1
  %84 = mul i64 %83, %82
  %85 = sub i64 %.lcssa.i74, %84
  %86 = call i1 @_FortranAioOutputInteger64(ptr %11, i64 %85)
  call void @free(ptr %63)
  call void @free(ptr %58)
  call void @free(ptr %15)
  %87 = call i32 @_FortranAioEndIoStatement(ptr %11)
  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 ptr @_FortranAioBeginExternalListOutput(i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger64(ptr, i64) local_unnamed_addr

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i64> @llvm.abs.v2i64(<2 x i64>, i1 immarg) #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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" }
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}
!15 = distinct !{!15, !10, !11}
!16 = distinct !{!16, !11, !10}
!17 = distinct !{!17, !10, !11}
!18 = distinct !{!18, !11, !10}
