module UnionFind
implicit none
integer,allocatable,dimension(:)::par
!parentより

contains
subroutine UFinit(N)
  integer :: N,i
  allocate(par(N))
    do i = 1, N
      par(i) = i
    end do
  end subroutine
  recursive function root(x) result (res)
    integer :: x, res
    if (par(x) == x)then
       res = x
    else
      res = root(par(x))
      par(x) = res
    end if
  end function

subroutine unite(x,y)
integer,intent(in):: x,y
integer xr,yr
xr = root(x)
yr = root(y)
if(xr /= yr) par(xr) = yr
end subroutine

end module UnionFind

use UnionFind
integer N,M
integer,allocatable,dimension(:)::a,b
integer ans,cnt
integer i,j
read*,N,M
allocate(A(M),B(M))
do i=1,M
  read*,A(i),B(i)
end do

ans=0
do i=1,M
  call UFinit(N)
  do j=1,M
    if(i==j)cycle
    call unite(a(j),b(j))
  end do
  cnt=0
  do j=1,N
    if(root(j)==j)cnt=cnt+1
  end do
  if(cnt>=2)then
    ans=ans+1
  endif
  deallocate(par)
end do
print"(i0)",ans
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"

@_QMunionfindEpar = local_unnamed_addr global { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] } { ptr null, i64 ptrtoint (ptr getelementptr (i32, ptr null, i32 1) to i64), i32 20180515, i8 1, i8 9, i8 2, i8 0, [1 x [3 x i64]] [[3 x i64] [i64 1, i64 0, i64 ptrtoint (ptr getelementptr (i32, ptr null, i32 1) to i64)]] }
@_QQcl.9d2488048c62098fae628bfad5bf37c9 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_6834/source.f\00"
@_QFEa.0 = internal unnamed_addr global ptr null
@_QFEb.0 = internal unnamed_addr global ptr null
@_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

; Function Attrs: nofree nounwind
define void @_QMunionfindPufinit(ptr nocapture readonly %0) local_unnamed_addr #2 {
  %2 = load i32, ptr %0, align 4, !tbaa !3
  %3 = tail call i32 @llvm.smax.i32(i32 %2, i32 0)
  %4 = zext i32 %3 to i64
  %5 = shl nuw nsw i64 %4, 2
  %6 = tail call ptr @malloc(i64 %5)
  store ptr %6, ptr @_QMunionfindEpar, align 16, !tbaa !7
  store i64 4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 1), align 8, !tbaa !7
  store i32 20180515, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 2), align 16, !tbaa !7
  store i8 1, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 3), align 4, !tbaa !7
  store i8 9, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 4), align 1, !tbaa !7
  store i8 2, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 5), align 2, !tbaa !7
  store i8 0, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 6), align 1, !tbaa !7
  store i64 1, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  store i64 %4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7, i64 0, i64 1), align 16, !tbaa !7
  store i64 4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7, i64 0, i64 2), align 8, !tbaa !7
  %7 = icmp sgt i32 %2, 0
  br i1 %7, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %1
  %8 = zext i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 8
  br i1 %min.iters.check, label %.lr.ph.preheader51, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %8, 4294967288
  %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.ind = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %9 = getelementptr i32, ptr %6, i64 %index
  store <4 x i32> %vec.ind, ptr %9, align 4, !tbaa !3
  %10 = getelementptr i32, ptr %9, i64 4
  store <4 x i32> %step.add, ptr %10, align 4, !tbaa !3
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %11 = icmp eq i64 %index.next, %n.vec
  br i1 %11, label %middle.block, label %vector.body, !llvm.loop !9

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

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

.lr.ph:                                           ; preds = %.lr.ph.preheader51, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader51 ]
  %12 = add nsw i64 %indvars.iv, -1
  %13 = getelementptr i32, ptr %6, i64 %12
  %14 = trunc i64 %indvars.iv to i32
  store i32 %14, ptr %13, align 4, !tbaa !3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv, %8
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %1
  ret void
}

; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none)
define i32 @_QMunionfindProot(ptr nocapture readonly %0) local_unnamed_addr #3 {
  %.unpack = load ptr, ptr @_QMunionfindEpar, align 16, !tbaa !7
  %.unpack49.unpack.unpack = load i64, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  %2 = load i32, ptr %0, align 4, !tbaa !3
  %3 = sext i32 %2 to i64
  %4 = sub i64 %3, %.unpack49.unpack.unpack
  %5 = getelementptr i32, ptr %.unpack, i64 %4
  %6 = load i32, ptr %5, align 4, !tbaa !3
  %7 = icmp eq i32 %6, %2
  br i1 %7, label %common.ret66, label %8

common.ret66:                                     ; preds = %1, %8
  %common.ret66.op = phi i32 [ %9, %8 ], [ %2, %1 ]
  ret i32 %common.ret66.op

8:                                                ; preds = %1
  %9 = tail call i32 @_QMunionfindProot(ptr nonnull %5)
  %.unpack54 = load ptr, ptr @_QMunionfindEpar, align 16, !tbaa !7
  %.unpack61.unpack.unpack = load i64, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  %10 = load i32, ptr %0, align 4, !tbaa !3
  %11 = sext i32 %10 to i64
  %12 = sub i64 %11, %.unpack61.unpack.unpack
  %13 = getelementptr i32, ptr %.unpack54, i64 %12
  store i32 %9, ptr %13, align 4, !tbaa !3
  br label %common.ret66
}

; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none)
define void @_QMunionfindPunite(ptr nocapture readonly %0, ptr nocapture readonly %1) local_unnamed_addr #3 {
  %3 = tail call i32 @_QMunionfindProot(ptr %0)
  %4 = tail call i32 @_QMunionfindProot(ptr %1)
  %.not = icmp eq i32 %3, %4
  br i1 %.not, label %9, label %5

5:                                                ; preds = %2
  %.unpack = load ptr, ptr @_QMunionfindEpar, align 16, !tbaa !7
  %.unpack11.unpack.unpack = load i64, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  %6 = sext i32 %3 to i64
  %7 = sub i64 %6, %.unpack11.unpack.unpack
  %8 = getelementptr i32, ptr %.unpack, i64 %7
  store i32 %4, ptr %8, align 4, !tbaa !3
  br label %9

9:                                                ; preds = %5, %2
  ret void
}

define void @_QQmain() local_unnamed_addr {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.9d2488048c62098fae628bfad5bf37c9, i32 39)
  %5 = call i1 @_FortranAioInputInteger(ptr %4, ptr nonnull %3, i32 4)
  %6 = call i1 @_FortranAioInputInteger(ptr %4, ptr nonnull %2, i32 4)
  %7 = call i32 @_FortranAioEndIoStatement(ptr %4)
  %8 = load i32, ptr %2, align 4, !tbaa !3
  %9 = call i32 @llvm.smax.i32(i32 %8, i32 0)
  %10 = zext i32 %9 to i64
  %11 = shl nuw nsw i64 %10, 2
  %12 = call ptr @malloc(i64 %11)
  store ptr %12, ptr @_QFEa.0, align 8, !tbaa !7
  %13 = call ptr @malloc(i64 %11)
  store ptr %13, ptr @_QFEb.0, align 8, !tbaa !7
  %14 = icmp sgt i32 %8, 0
  br i1 %14, label %.lr.ph.preheader, label %._crit_edge287

.lr.ph.preheader:                                 ; preds = %0
  %15 = zext i32 %8 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %16 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.9d2488048c62098fae628bfad5bf37c9, i32 42)
  %.unpack245 = load ptr, ptr @_QFEa.0, align 8, !tbaa !7
  %17 = add nsw i64 %indvars.iv, -1
  %18 = getelementptr i32, ptr %.unpack245, i64 %17
  %19 = call i1 @_FortranAioInputInteger(ptr %16, ptr %18, i32 4)
  %.unpack257 = load ptr, ptr @_QFEb.0, align 8, !tbaa !7
  %20 = add nsw i64 %indvars.iv, -1
  %21 = getelementptr i32, ptr %.unpack257, i64 %20
  %22 = call i1 @_FortranAioInputInteger(ptr %16, ptr %21, i32 4)
  %23 = call i32 @_FortranAioEndIoStatement(ptr %16)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv, %15
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph
  %.pre = load i32, ptr %2, align 4, !tbaa !3
  %24 = icmp sgt i32 %.pre, 0
  br i1 %24, label %.lr.ph286, label %._crit_edge287

.lr.ph286:                                        ; preds = %._crit_edge
  %25 = zext i32 %.pre to i64
  %.unpack221 = load ptr, ptr @_QFEa.0, align 8
  %.unpack233 = load ptr, ptr @_QFEb.0, align 8
  br label %26

26:                                               ; preds = %.lr.ph286, %._crit_edge278
  %indvars.iv296 = phi i64 [ 1, %.lr.ph286 ], [ %indvars.iv.next297, %._crit_edge278 ]
  %.0185284 = phi i32 [ 0, %.lr.ph286 ], [ %spec.select269, %._crit_edge278 ]
  %27 = load i32, ptr %3, align 4, !tbaa !3
  %28 = call i32 @llvm.smax.i32(i32 %27, i32 0)
  %29 = zext i32 %28 to i64
  %30 = shl nuw nsw i64 %29, 2
  %31 = call ptr @malloc(i64 %30)
  store ptr %31, ptr @_QMunionfindEpar, align 16, !tbaa !7
  store i64 4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 1), align 8, !tbaa !7
  store i32 20180515, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 2), align 16, !tbaa !7
  store i8 1, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 3), align 4, !tbaa !7
  store i8 9, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 4), align 1, !tbaa !7
  store i8 2, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 5), align 2, !tbaa !7
  store i8 0, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 6), align 1, !tbaa !7
  store i64 1, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  store i64 %29, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7, i64 0, i64 1), align 16, !tbaa !7
  store i64 4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7, i64 0, i64 2), align 8, !tbaa !7
  %32 = icmp sgt i32 %27, 0
  br i1 %32, label %.lr.ph.preheader.i, label %_QMunionfindPufinit.exit

.lr.ph.preheader.i:                               ; preds = %26
  %33 = zext i32 %27 to i64
  %min.iters.check = icmp ult i32 %27, 8
  br i1 %min.iters.check, label %.lr.ph.i.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader.i
  %n.vec = and i64 %33, 4294967288
  %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.ind = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %34 = getelementptr i32, ptr %31, i64 %index
  store <4 x i32> %vec.ind, ptr %34, align 4, !tbaa !3
  %35 = getelementptr i32, ptr %34, i64 4
  store <4 x i32> %step.add, ptr %35, align 4, !tbaa !3
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %36 = icmp eq i64 %index.next, %n.vec
  br i1 %36, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %33
  br i1 %cmp.n, label %_QMunionfindPufinit.exit, label %.lr.ph.i.preheader

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

.lr.ph.i:                                         ; preds = %.lr.ph.i.preheader, %.lr.ph.i
  %indvars.iv.i = phi i64 [ %indvars.iv.next.i, %.lr.ph.i ], [ %indvars.iv.i.ph, %.lr.ph.i.preheader ]
  %37 = add nsw i64 %indvars.iv.i, -1
  %38 = getelementptr i32, ptr %31, i64 %37
  %39 = trunc i64 %indvars.iv.i to i32
  store i32 %39, ptr %38, align 4, !tbaa !3
  %indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1
  %exitcond.not.i = icmp eq i64 %indvars.iv.i, %33
  br i1 %exitcond.not.i, label %_QMunionfindPufinit.exit, label %.lr.ph.i, !llvm.loop !14

_QMunionfindPufinit.exit:                         ; preds = %.lr.ph.i, %middle.block, %26
  %40 = load i32, ptr %2, align 4, !tbaa !3
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %.lr.ph272.preheader, label %._crit_edge273

.lr.ph272.preheader:                              ; preds = %_QMunionfindPufinit.exit
  %42 = zext i32 %40 to i64
  br label %.lr.ph272

.lr.ph272:                                        ; preds = %.lr.ph272.preheader, %_QMunionfindPunite.exit
  %indvars.iv292 = phi i64 [ 1, %.lr.ph272.preheader ], [ %indvars.iv.next293, %_QMunionfindPunite.exit ]
  %.not = icmp eq i64 %indvars.iv296, %indvars.iv292
  br i1 %.not, label %_QMunionfindPunite.exit, label %43

43:                                               ; preds = %.lr.ph272
  %44 = add nsw i64 %indvars.iv292, -1
  %45 = getelementptr i32, ptr %.unpack221, i64 %44
  %46 = add nsw i64 %indvars.iv292, -1
  %47 = getelementptr i32, ptr %.unpack233, i64 %46
  %48 = call i32 @_QMunionfindProot(ptr %45)
  %49 = call i32 @_QMunionfindProot(ptr %47)
  %.not.i = icmp eq i32 %48, %49
  br i1 %.not.i, label %_QMunionfindPunite.exit, label %50

50:                                               ; preds = %43
  %.unpack.i = load ptr, ptr @_QMunionfindEpar, align 16, !tbaa !7
  %.unpack11.unpack.unpack.i = load i64, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  %51 = sext i32 %48 to i64
  %52 = sub i64 %51, %.unpack11.unpack.unpack.i
  %53 = getelementptr i32, ptr %.unpack.i, i64 %52
  store i32 %49, ptr %53, align 4, !tbaa !3
  br label %_QMunionfindPunite.exit

_QMunionfindPunite.exit:                          ; preds = %50, %43, %.lr.ph272
  %indvars.iv.next293 = add nuw nsw i64 %indvars.iv292, 1
  %exitcond295.not = icmp eq i64 %indvars.iv292, %42
  br i1 %exitcond295.not, label %._crit_edge273.loopexit, label %.lr.ph272

._crit_edge273.loopexit:                          ; preds = %_QMunionfindPunite.exit
  %.pre300 = load i32, ptr %3, align 4, !tbaa !3
  br label %._crit_edge273

._crit_edge273:                                   ; preds = %._crit_edge273.loopexit, %_QMunionfindPufinit.exit
  %54 = phi i32 [ %27, %_QMunionfindPufinit.exit ], [ %.pre300, %._crit_edge273.loopexit ]
  %55 = icmp sgt i32 %54, 0
  br i1 %55, label %.lr.ph277.preheader, label %._crit_edge278

.lr.ph277.preheader:                              ; preds = %._crit_edge273
  %56 = zext i32 %54 to i64
  br label %.lr.ph277

.lr.ph277:                                        ; preds = %.lr.ph277.preheader, %.lr.ph277
  %57 = phi i64 [ %63, %.lr.ph277 ], [ %56, %.lr.ph277.preheader ]
  %58 = phi i32 [ %62, %.lr.ph277 ], [ 1, %.lr.ph277.preheader ]
  %.0275 = phi i32 [ %spec.select, %.lr.ph277 ], [ 0, %.lr.ph277.preheader ]
  store i32 %58, ptr %1, align 4, !tbaa !3
  %59 = call i32 @_QMunionfindProot(ptr nonnull %1)
  %60 = icmp eq i32 %59, %58
  %61 = zext i1 %60 to i32
  %spec.select = add i32 %.0275, %61
  %62 = add nuw i32 %58, 1
  %63 = add nsw i64 %57, -1
  %64 = icmp ugt i64 %57, 1
  br i1 %64, label %.lr.ph277, label %._crit_edge278

._crit_edge278:                                   ; preds = %.lr.ph277, %._crit_edge273
  %.0.lcssa = phi i32 [ 0, %._crit_edge273 ], [ %spec.select, %.lr.ph277 ]
  %.lcssa270 = phi i32 [ 1, %._crit_edge273 ], [ %62, %.lr.ph277 ]
  store i32 %.lcssa270, ptr %1, align 4, !tbaa !3
  %65 = icmp sgt i32 %.0.lcssa, 1
  %66 = zext i1 %65 to i32
  %spec.select269 = add i32 %.0185284, %66
  %.unpack = load ptr, ptr @_QMunionfindEpar, align 16, !tbaa !7
  call void @free(ptr %.unpack)
  store ptr null, ptr @_QMunionfindEpar, align 16, !tbaa !7
  store i64 4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 1), align 8, !tbaa !7
  store i32 20180515, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 2), align 16, !tbaa !7
  store i8 1, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 3), align 4, !tbaa !7
  store i8 9, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 4), align 1, !tbaa !7
  store i8 2, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 5), align 2, !tbaa !7
  store i8 0, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 6), align 1, !tbaa !7
  store i64 1, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7), align 8, !tbaa !7
  store i64 0, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7, i64 0, i64 1), align 16, !tbaa !7
  store i64 4, ptr getelementptr inbounds ({ ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr @_QMunionfindEpar, i64 0, i32 7, i64 0, i64 2), align 8, !tbaa !7
  %indvars.iv.next297 = add nuw nsw i64 %indvars.iv296, 1
  %exitcond299.not = icmp eq i64 %indvars.iv296, %25
  br i1 %exitcond299.not, label %._crit_edge287, label %26

._crit_edge287:                                   ; preds = %._crit_edge278, %0, %._crit_edge
  %.0185.lcssa = phi i32 [ 0, %._crit_edge ], [ 0, %0 ], [ %spec.select269, %._crit_edge278 ]
  %67 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.9d2488048c62098fae628bfad5bf37c9, i32 61)
  %68 = call i1 @_FortranAioOutputInteger32(ptr %67, i32 %.0185.lcssa)
  %69 = call i32 @_FortranAioEndIoStatement(ptr %67)
  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 ptr @_FortranAioBeginExternalFormattedOutput(ptr, i64, ptr, i32, ptr, i32) local_unnamed_addr

declare i1 @_FortranAioOutputInteger32(ptr, i32) local_unnamed_addr

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

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 = { nofree nounwind }
attributes #3 = { nofree nosync nounwind memory(readwrite, inaccessiblemem: none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable 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}
