module mod_quick_sort
  implicit none
  integer, private, parameter :: intkind = 4
contains
  logical function less(a, b) result(res)
    integer(intkind), intent(in) :: a, b
    res = a <= b
  end
  subroutine swap(a, b)
    integer(intkind), intent(inout) :: a, b
    a = xor(a, b)
    b = xor(a, b)
    a = xor(a, b)
  end
  recursive subroutine quick_sort(a)
    integer(intkind), intent(inout) :: a(:)
    integer(intkind) :: p
    integer :: n, l, r, m
    n = size(a)
    l = 1
    r = n
    m = (n + 1) / 2
    p = a(l) + a(m) + a(r) - min(a(l), a(m), a(r)) - max(a(l), a(m), a(r))
    do
      do while (.not.less(p, a(l)))
        l = l + 1
      end do
      do while (.not.less(a(r), p))
        r = r - 1
      end do
      if (l >= r) exit
      call swap(a(l), a(r))
      l = l + 1
      r = r - 1
    end do
    if (1 < l - 1) call quick_sort(a(1:l - 1))
    if (r + 1 < n) call quick_sort(a(r + 1:n))
  end
end module mod_quick_sort
program dist_max
  use mod_quick_sort
  implicit none
  integer :: n, x, y, i
  integer, dimension(200000) :: a = 0, b = 0
  read(*,*) n
  do i = 1, n
    read(*,*) x, y
    a(i) = x + y
    b(i) = x - y
  end do
  call quick_sort(a(1:n))
  call quick_sort(b(1:n))
  write(*,'(i0)') max(a(n) - a(1), b(n) - b(1))
end program dist_max
; 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"

@_QMmod_quick_sortECintkind = local_unnamed_addr constant i32 4
@_QFEa = internal global [200000 x i32] zeroinitializer
@_QFEb = internal global [200000 x i32] zeroinitializer
@_QQcl.a5b789cd00d02b0e4e2037cd16fbb6b7 = linkonce constant [72 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_676/source.f\00"
@_QQcl.28693029 = linkonce constant [4 x i8] c"(i0)"
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read)
define i32 @_QMmod_quick_sortPless(ptr nocapture readonly %0, ptr nocapture readonly %1) local_unnamed_addr #0 {
  %3 = load i32, ptr %0, align 4, !tbaa !3
  %4 = load i32, ptr %1, align 4, !tbaa !3
  %5 = icmp sle i32 %3, %4
  %6 = zext i1 %5 to i32
  ret i32 %6
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite)
define void @_QMmod_quick_sortPswap(ptr nocapture %0, ptr nocapture %1) local_unnamed_addr #1 {
  %3 = load i32, ptr %0, align 4, !tbaa !3
  %4 = load i32, ptr %1, align 4, !tbaa !3
  %5 = xor i32 %4, %3
  store i32 %5, ptr %0, align 4, !tbaa !3
  %6 = load i32, ptr %1, align 4, !tbaa !3
  %7 = xor i32 %6, %5
  store i32 %7, ptr %1, align 4, !tbaa !3
  %8 = load i32, ptr %0, align 4, !tbaa !3
  %9 = xor i32 %8, %7
  store i32 %9, ptr %0, align 4, !tbaa !3
  ret void
}

; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none)
define void @_QMmod_quick_sortPquick_sort(ptr nocapture readonly %0) local_unnamed_addr #2 {
  %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 = getelementptr { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %0, i64 0, i32 7, i64 0, i64 1
  %5 = load i64, ptr %4, align 8, !tbaa !7
  %6 = trunc i64 %5 to i32
  %7 = add i32 %6, 1
  %8 = sdiv i32 %7, 2
  %9 = load ptr, ptr %0, align 8, !tbaa !7
  %10 = getelementptr { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %0, i64 0, i32 7, i64 0, i64 2
  %11 = load i64, ptr %10, align 8, !tbaa !7
  %12 = load i32, ptr %9, align 4, !tbaa !3
  %narrow = add nsw i32 %8, -1
  %13 = sext i32 %narrow to i64
  %14 = mul i64 %11, %13
  %15 = getelementptr i8, ptr %9, i64 %14
  %16 = load i32, ptr %15, align 4, !tbaa !3
  %sext = shl i64 %5, 32
  %17 = ashr exact i64 %sext, 32
  %18 = add nsw i64 %17, -1
  %19 = mul i64 %18, %11
  %20 = getelementptr i8, ptr %9, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !3
  %22 = tail call i32 @llvm.smin.i32(i32 %12, i32 %16)
  %23 = tail call i32 @llvm.smin.i32(i32 %22, i32 %21)
  %24 = tail call i32 @llvm.smax.i32(i32 %12, i32 %16)
  %25 = tail call i32 @llvm.smax.i32(i32 %24, i32 %21)
  %.neg49 = add i32 %16, %12
  %26 = add i32 %.neg49, %21
  %27 = add i32 %25, %23
  %28 = sub i32 %26, %27
  br label %.outer

.outer:                                           ; preds = %64, %1
  %.041.ph = phi i32 [ %35, %64 ], [ 1, %1 ]
  %.0.ph = phi i32 [ %43, %64 ], [ %6, %1 ]
  br label %29

29:                                               ; preds = %29, %.outer
  %.041 = phi i32 [ %35, %29 ], [ %.041.ph, %.outer ]
  %30 = sext i32 %.041 to i64
  %31 = add nsw i64 %30, -1
  %32 = mul i64 %31, %11
  %33 = getelementptr i8, ptr %9, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !3
  %.not47 = icmp sgt i32 %28, %34
  %35 = add i32 %.041, 1
  br i1 %.not47, label %29, label %.preheader

.preheader:                                       ; preds = %29
  %36 = getelementptr i8, ptr %9, i64 %32
  br label %37

37:                                               ; preds = %37, %.preheader
  %.1 = phi i32 [ %43, %37 ], [ %.0.ph, %.preheader ]
  %38 = sext i32 %.1 to i64
  %39 = add nsw i64 %38, -1
  %40 = mul i64 %39, %11
  %41 = getelementptr i8, ptr %9, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !3
  %.not = icmp sgt i32 %42, %28
  %43 = add i32 %.1, -1
  br i1 %.not, label %37, label %44

44:                                               ; preds = %37
  %.not45 = icmp slt i32 %.041, %.1
  br i1 %.not45, label %64, label %45

45:                                               ; preds = %44
  %46 = add i32 %.041, -1
  %47 = icmp sgt i32 %46, 1
  br i1 %47, label %48, label %50

48:                                               ; preds = %45
  %49 = zext i32 %46 to i64
  store ptr %9, 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 4, 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 9, 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 %49, 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 %11, ptr %.fca.7.0.2.gep40, align 8, !tbaa !7
  call void @_QMmod_quick_sortPquick_sort(ptr nonnull %2)
  br label %50

50:                                               ; preds = %48, %45
  %51 = add i32 %.1, 1
  %52 = icmp slt i32 %51, %6
  br i1 %52, label %53, label %63

53:                                               ; preds = %50
  %54 = sext i32 %51 to i64
  %55 = load i64, ptr %10, align 8, !tbaa !7
  %56 = load ptr, ptr %0, align 8, !tbaa !7
  %57 = add nsw i64 %54, -1
  %58 = mul i64 %55, %57
  %59 = getelementptr i8, ptr %56, i64 %58
  %60 = sub nsw i64 %17, %54
  %61 = tail call i64 @llvm.smax.i64(i64 %60, i64 -1)
  %62 = add nsw i64 %61, 1
  store ptr %59, 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 4, 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 9, 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 %62, 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 %55, ptr %.fca.7.0.2.gep, align 8, !tbaa !7
  call void @_QMmod_quick_sortPquick_sort(ptr nonnull %3)
  br label %63

63:                                               ; preds = %53, %50
  ret void

64:                                               ; preds = %44
  %65 = getelementptr i8, ptr %9, i64 %40
  %66 = xor i32 %42, %34
  store i32 %66, ptr %36, align 4, !tbaa !3
  %67 = load i32, ptr %65, align 4, !tbaa !3
  %68 = xor i32 %67, %66
  store i32 %68, ptr %65, align 4, !tbaa !3
  %69 = load i32, ptr %36, align 4, !tbaa !3
  %70 = xor i32 %69, %68
  store i32 %70, ptr %36, align 4, !tbaa !3
  br label %.outer
}

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 = alloca i32, align 4
  %6 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.a5b789cd00d02b0e4e2037cd16fbb6b7, i32 45)
  %7 = call i1 @_FortranAioInputInteger(ptr %6, ptr nonnull %3, i32 4)
  %8 = call i32 @_FortranAioEndIoStatement(ptr %6)
  %9 = load i32, ptr %3, align 4, !tbaa !3
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %0
  %11 = zext i32 %9 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 ]
  %12 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.a5b789cd00d02b0e4e2037cd16fbb6b7, i32 47)
  %13 = call i1 @_FortranAioInputInteger(ptr %12, ptr nonnull %4, i32 4)
  %14 = call i1 @_FortranAioInputInteger(ptr %12, ptr nonnull %5, i32 4)
  %15 = call i32 @_FortranAioEndIoStatement(ptr %12)
  %16 = load i32, ptr %4, align 4, !tbaa !3
  %17 = load i32, ptr %5, align 4, !tbaa !3
  %18 = add i32 %17, %16
  %19 = add nsw i64 %indvars.iv, -1
  %20 = getelementptr [200000 x i32], ptr @_QFEa, i64 0, i64 %19
  store i32 %18, ptr %20, align 4, !tbaa !3
  %21 = sub i32 %16, %17
  %22 = getelementptr [200000 x i32], ptr @_QFEb, i64 0, i64 %19
  store i32 %21, ptr %22, align 4, !tbaa !3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv, %11
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i32, ptr %3, align 4, !tbaa !3
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %0
  %23 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %9, %0 ]
  %24 = call i32 @llvm.smax.i32(i32 %23, i32 0)
  %25 = zext i32 %24 to i64
  store ptr @_QFEa, 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 4, 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 9, 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 %25, 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 4, ptr %.fca.7.0.2.gep, align 8, !tbaa !7
  call void @_QMmod_quick_sortPquick_sort(ptr nonnull %2)
  %26 = load i32, ptr %3, align 4, !tbaa !3
  %27 = call i32 @llvm.smax.i32(i32 %26, i32 0)
  %28 = zext i32 %27 to i64
  store ptr @_QFEb, ptr %1, align 8, !tbaa !7
  %.fca.1.gep6 = 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.gep6, align 8, !tbaa !7
  %.fca.2.gep8 = 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.gep8, align 8, !tbaa !7
  %.fca.3.gep10 = 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.gep10, align 4, !tbaa !7
  %.fca.4.gep12 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8, [1 x [3 x i64]] }, ptr %1, i64 0, i32 4
  store i8 9, ptr %.fca.4.gep12, align 1, !tbaa !7
  %.fca.5.gep14 = 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.gep14, align 2, !tbaa !7
  %.fca.6.gep16 = 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.gep16, align 1, !tbaa !7
  %.fca.7.0.0.gep18 = 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.gep18, align 8, !tbaa !7
  %.fca.7.0.1.gep20 = 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 %28, ptr %.fca.7.0.1.gep20, align 8, !tbaa !7
  %.fca.7.0.2.gep22 = 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.gep22, align 8, !tbaa !7
  call void @_QMmod_quick_sortPquick_sort(ptr nonnull %1)
  %29 = call ptr @_FortranAioBeginExternalFormattedOutput(ptr nonnull @_QQcl.28693029, i64 4, ptr null, i32 -1, ptr nonnull @_QQcl.a5b789cd00d02b0e4e2037cd16fbb6b7, i32 53)
  %30 = load i32, ptr %3, align 4, !tbaa !3
  %31 = sext i32 %30 to i64
  %32 = add nsw i64 %31, -1
  %33 = getelementptr [200000 x i32], ptr @_QFEa, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !3
  %35 = load i32, ptr @_QFEa, align 16, !tbaa !3
  %36 = sub i32 %34, %35
  %37 = getelementptr [200000 x i32], ptr @_QFEb, i64 0, i64 %32
  %38 = load i32, ptr %37, align 4, !tbaa !3
  %39 = load i32, ptr @_QFEb, align 16, !tbaa !3
  %40 = sub i32 %38, %39
  %41 = call i32 @llvm.smax.i32(i32 %36, i32 %40)
  %42 = call i1 @_FortranAioOutputInteger32(ptr %29, i32 %41)
  %43 = call i32 @_FortranAioEndIoStatement(ptr %29)
  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.smin.i32(i32, i32) #3

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

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

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) }
attributes #1 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nosync nounwind memory(readwrite, inaccessiblemem: none) }
attributes #3 = { 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}
