program sample
    implicit none
    character(1000)::s
    integer(8) :: i,j,m,n,a,b,x(26),y(26)
    
    read(*,*) n
    
    read(*,*)s
    x(:)=0
    y(:)=0

    do i=1,n
        call alfnumber(s(i:i),a)
        y(a)=y(a)+1
    end do
    m=0

    do i=1,n
        call alfnumber(s(i:i),a)
        y(a)=y(a)-1
        x(a)=x(a)+1
        b=0
        do j=1,26
            if(x(j)*y(j)>0)then
                b=b+1
            end if
        end do
        if (b>m)then
            m=b
        end if
    end do
    write(*,*) m
  
    stop
    contains
    subroutine alfnumber(st,a)
        implicit none
        character,intent(in) :: st
        integer(8),intent(out) ::  a
        integer::i
        character(1)::ch(26)
        ch=(/'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'/)
        do i=1,26
            if(st .eq. ch(i))then
                a=i
                return
            end if
        end do 
        end subroutine alfnumber
end program sample
  


; 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"

@_QFEs = internal global [1000 x i8] undef
@_QFEx = internal unnamed_addr global [26 x i64] undef
@_QFEy = internal unnamed_addr global [26 x i64] undef
@_QQcl.2f4a872b62bf7edc551a1604e3b837cd = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_5939/source.f\00"
@_QQro.26x1xc1.c3fcd3d76192e4007dfb496cca67e13b = internal unnamed_addr constant [26 x [1 x i8]] [[1 x i8] c"a", [1 x i8] c"b", [1 x i8] c"c", [1 x i8] c"d", [1 x i8] c"e", [1 x i8] c"f", [1 x i8] c"g", [1 x i8] c"h", [1 x i8] c"i", [1 x i8] c"j", [1 x i8] c"k", [1 x i8] c"l", [1 x i8] c"m", [1 x i8] c"n", [1 x i8] c"o", [1 x i8] c"p", [1 x i8] c"q", [1 x i8] c"r", [1 x i8] c"s", [1 x i8] c"t", [1 x i8] c"u", [1 x i8] c"v", [1 x i8] c"w", [1 x i8] c"x", [1 x i8] c"y", [1 x i8] c"z"]
@_QQEnvironmentDefaults = local_unnamed_addr constant ptr null

; Function Attrs: noreturn
define void @_QQmain() local_unnamed_addr #0 {
.preheader.preheader:
  %0 = alloca i64, align 8
  %1 = alloca i64, align 8
  %2 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.2f4a872b62bf7edc551a1604e3b837cd, i32 6)
  %3 = call i1 @_FortranAioInputInteger(ptr %2, ptr nonnull %1, i32 8)
  %4 = call i32 @_FortranAioEndIoStatement(ptr %2)
  %5 = call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.2f4a872b62bf7edc551a1604e3b837cd, i32 8)
  %6 = call i1 @_FortranAioInputAscii(ptr %5, ptr nonnull @_QFEs, i64 1000)
  %7 = call i32 @_FortranAioEndIoStatement(ptr %5)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) @_QFEx, i8 0, i64 208, i1 false), !tbaa !3
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(208) @_QFEy, i8 0, i64 208, i1 false), !tbaa !3
  %8 = load i64, ptr %1, align 8, !tbaa !3
  %9 = icmp sgt i64 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge23

.lr.ph:                                           ; preds = %.preheader.preheader, %.lr.ph
  %10 = phi i64 [ %18, %.lr.ph ], [ 1, %.preheader.preheader ]
  %11 = add nsw i64 %10, -1
  %12 = getelementptr [1000 x [1 x i8]], ptr @_QFEs, i64 0, i64 %11
  call void @_QFPalfnumber(ptr %12, ptr nonnull %0, i64 poison)
  %13 = load i64, ptr %0, align 8, !tbaa !3
  %14 = add i64 %13, -1
  %15 = getelementptr [26 x i64], ptr @_QFEy, i64 0, i64 %14
  %16 = load i64, ptr %15, align 8, !tbaa !3
  %17 = add i64 %16, 1
  store i64 %17, ptr %15, align 8, !tbaa !3
  %18 = add nuw i64 %10, 1
  %exitcond.not = icmp eq i64 %10, %8
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph
  %.pre = load i64, ptr %1, align 8, !tbaa !3
  %19 = icmp sgt i64 %.pre, 0
  br i1 %19, label %.lr.ph22, label %._crit_edge23

.lr.ph22:                                         ; preds = %._crit_edge, %.lr.ph22
  %20 = phi i64 [ %161, %.lr.ph22 ], [ 1, %._crit_edge ]
  %.020 = phi i64 [ %spec.select18, %.lr.ph22 ], [ 0, %._crit_edge ]
  %21 = add i64 %20, -1
  %22 = getelementptr [1000 x [1 x i8]], ptr @_QFEs, i64 0, i64 %21
  call void @_QFPalfnumber(ptr %22, ptr nonnull %0, i64 poison)
  %23 = load i64, ptr %0, align 8, !tbaa !3
  %24 = add i64 %23, -1
  %25 = getelementptr [26 x i64], ptr @_QFEy, i64 0, i64 %24
  %26 = load i64, ptr %25, align 8, !tbaa !3
  %27 = add i64 %26, -1
  store i64 %27, ptr %25, align 8, !tbaa !3
  %28 = getelementptr [26 x i64], ptr @_QFEx, i64 0, i64 %24
  %29 = load i64, ptr %28, align 8, !tbaa !3
  %30 = add i64 %29, 1
  store i64 %30, ptr %28, align 8, !tbaa !3
  %31 = load i64, ptr @_QFEx, align 16, !tbaa !3
  %32 = load i64, ptr @_QFEy, align 16, !tbaa !3
  %33 = mul i64 %32, %31
  %34 = icmp sgt i64 %33, 0
  %35 = zext i1 %34 to i64
  %36 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 1), align 8, !tbaa !3
  %37 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 1), align 8, !tbaa !3
  %38 = mul i64 %37, %36
  %39 = icmp sgt i64 %38, 0
  %40 = zext i1 %39 to i64
  %spec.select.1 = add nuw nsw i64 %35, %40
  %41 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 2), align 16, !tbaa !3
  %42 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 2), align 16, !tbaa !3
  %43 = mul i64 %42, %41
  %44 = icmp sgt i64 %43, 0
  %45 = zext i1 %44 to i64
  %spec.select.2 = add nuw nsw i64 %spec.select.1, %45
  %46 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 3), align 8, !tbaa !3
  %47 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 3), align 8, !tbaa !3
  %48 = mul i64 %47, %46
  %49 = icmp sgt i64 %48, 0
  %50 = zext i1 %49 to i64
  %spec.select.3 = add nuw nsw i64 %spec.select.2, %50
  %51 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 4), align 16, !tbaa !3
  %52 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 4), align 16, !tbaa !3
  %53 = mul i64 %52, %51
  %54 = icmp sgt i64 %53, 0
  %55 = zext i1 %54 to i64
  %spec.select.4 = add nuw nsw i64 %spec.select.3, %55
  %56 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 5), align 8, !tbaa !3
  %57 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 5), align 8, !tbaa !3
  %58 = mul i64 %57, %56
  %59 = icmp sgt i64 %58, 0
  %60 = zext i1 %59 to i64
  %spec.select.5 = add nuw nsw i64 %spec.select.4, %60
  %61 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 6), align 16, !tbaa !3
  %62 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 6), align 16, !tbaa !3
  %63 = mul i64 %62, %61
  %64 = icmp sgt i64 %63, 0
  %65 = zext i1 %64 to i64
  %spec.select.6 = add nuw nsw i64 %spec.select.5, %65
  %66 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 7), align 8, !tbaa !3
  %67 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 7), align 8, !tbaa !3
  %68 = mul i64 %67, %66
  %69 = icmp sgt i64 %68, 0
  %70 = zext i1 %69 to i64
  %spec.select.7 = add nuw nsw i64 %spec.select.6, %70
  %71 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 8), align 16, !tbaa !3
  %72 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 8), align 16, !tbaa !3
  %73 = mul i64 %72, %71
  %74 = icmp sgt i64 %73, 0
  %75 = zext i1 %74 to i64
  %spec.select.8 = add nuw nsw i64 %spec.select.7, %75
  %76 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 9), align 8, !tbaa !3
  %77 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 9), align 8, !tbaa !3
  %78 = mul i64 %77, %76
  %79 = icmp sgt i64 %78, 0
  %80 = zext i1 %79 to i64
  %spec.select.9 = add nuw nsw i64 %spec.select.8, %80
  %81 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 10), align 16, !tbaa !3
  %82 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 10), align 16, !tbaa !3
  %83 = mul i64 %82, %81
  %84 = icmp sgt i64 %83, 0
  %85 = zext i1 %84 to i64
  %spec.select.10 = add nuw nsw i64 %spec.select.9, %85
  %86 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 11), align 8, !tbaa !3
  %87 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 11), align 8, !tbaa !3
  %88 = mul i64 %87, %86
  %89 = icmp sgt i64 %88, 0
  %90 = zext i1 %89 to i64
  %spec.select.11 = add nuw nsw i64 %spec.select.10, %90
  %91 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 12), align 16, !tbaa !3
  %92 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 12), align 16, !tbaa !3
  %93 = mul i64 %92, %91
  %94 = icmp sgt i64 %93, 0
  %95 = zext i1 %94 to i64
  %spec.select.12 = add nuw nsw i64 %spec.select.11, %95
  %96 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 13), align 8, !tbaa !3
  %97 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 13), align 8, !tbaa !3
  %98 = mul i64 %97, %96
  %99 = icmp sgt i64 %98, 0
  %100 = zext i1 %99 to i64
  %spec.select.13 = add nuw nsw i64 %spec.select.12, %100
  %101 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 14), align 16, !tbaa !3
  %102 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 14), align 16, !tbaa !3
  %103 = mul i64 %102, %101
  %104 = icmp sgt i64 %103, 0
  %105 = zext i1 %104 to i64
  %spec.select.14 = add nuw nsw i64 %spec.select.13, %105
  %106 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 15), align 8, !tbaa !3
  %107 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 15), align 8, !tbaa !3
  %108 = mul i64 %107, %106
  %109 = icmp sgt i64 %108, 0
  %110 = zext i1 %109 to i64
  %spec.select.15 = add nuw nsw i64 %spec.select.14, %110
  %111 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 16), align 16, !tbaa !3
  %112 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 16), align 16, !tbaa !3
  %113 = mul i64 %112, %111
  %114 = icmp sgt i64 %113, 0
  %115 = zext i1 %114 to i64
  %spec.select.16 = add nuw nsw i64 %spec.select.15, %115
  %116 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 17), align 8, !tbaa !3
  %117 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 17), align 8, !tbaa !3
  %118 = mul i64 %117, %116
  %119 = icmp sgt i64 %118, 0
  %120 = zext i1 %119 to i64
  %spec.select.17 = add nuw nsw i64 %spec.select.16, %120
  %121 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 18), align 16, !tbaa !3
  %122 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 18), align 16, !tbaa !3
  %123 = mul i64 %122, %121
  %124 = icmp sgt i64 %123, 0
  %125 = zext i1 %124 to i64
  %spec.select.18 = add nuw nsw i64 %spec.select.17, %125
  %126 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 19), align 8, !tbaa !3
  %127 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 19), align 8, !tbaa !3
  %128 = mul i64 %127, %126
  %129 = icmp sgt i64 %128, 0
  %130 = zext i1 %129 to i64
  %spec.select.19 = add nuw nsw i64 %spec.select.18, %130
  %131 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 20), align 16, !tbaa !3
  %132 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 20), align 16, !tbaa !3
  %133 = mul i64 %132, %131
  %134 = icmp sgt i64 %133, 0
  %135 = zext i1 %134 to i64
  %spec.select.20 = add nuw nsw i64 %spec.select.19, %135
  %136 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 21), align 8, !tbaa !3
  %137 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 21), align 8, !tbaa !3
  %138 = mul i64 %137, %136
  %139 = icmp sgt i64 %138, 0
  %140 = zext i1 %139 to i64
  %spec.select.21 = add nuw nsw i64 %spec.select.20, %140
  %141 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 22), align 16, !tbaa !3
  %142 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 22), align 16, !tbaa !3
  %143 = mul i64 %142, %141
  %144 = icmp sgt i64 %143, 0
  %145 = zext i1 %144 to i64
  %spec.select.22 = add nuw nsw i64 %spec.select.21, %145
  %146 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 23), align 8, !tbaa !3
  %147 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 23), align 8, !tbaa !3
  %148 = mul i64 %147, %146
  %149 = icmp sgt i64 %148, 0
  %150 = zext i1 %149 to i64
  %spec.select.23 = add nuw nsw i64 %spec.select.22, %150
  %151 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 24), align 16, !tbaa !3
  %152 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 24), align 16, !tbaa !3
  %153 = mul i64 %152, %151
  %154 = icmp sgt i64 %153, 0
  %155 = zext i1 %154 to i64
  %spec.select.24 = add nuw nsw i64 %spec.select.23, %155
  %156 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEx, i64 0, i64 25), align 8, !tbaa !3
  %157 = load i64, ptr getelementptr inbounds ([26 x i64], ptr @_QFEy, i64 0, i64 25), align 8, !tbaa !3
  %158 = mul i64 %157, %156
  %159 = icmp sgt i64 %158, 0
  %160 = zext i1 %159 to i64
  %spec.select.25 = add nuw nsw i64 %spec.select.24, %160
  %spec.select18 = call i64 @llvm.smax.i64(i64 %spec.select.25, i64 %.020)
  %161 = add nuw i64 %20, 1
  %exitcond25.not = icmp eq i64 %20, %.pre
  br i1 %exitcond25.not, label %._crit_edge23, label %.lr.ph22

._crit_edge23:                                    ; preds = %.lr.ph22, %.preheader.preheader, %._crit_edge
  %.0.lcssa = phi i64 [ 0, %._crit_edge ], [ 0, %.preheader.preheader ], [ %spec.select18, %.lr.ph22 ]
  %162 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.2f4a872b62bf7edc551a1604e3b837cd, i32 32)
  %163 = call i1 @_FortranAioOutputInteger64(ptr %162, i64 %.0.lcssa)
  %164 = call i32 @_FortranAioEndIoStatement(ptr %162)
  %165 = call {} @_FortranAStopStatement(i32 0, i1 false, i1 false)
  unreachable
}

define void @_QFPalfnumber(ptr %0, ptr nocapture writeonly %1, i64 %2) local_unnamed_addr {
.preheader.preheader:
  %3 = alloca [26 x [1 x i8]], align 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(26) %3, ptr noundef nonnull align 16 dereferenceable(26) @_QQro.26x1xc1.c3fcd3d76192e4007dfb496cca67e13b, i64 26, i1 false), !tbaa !3
  %4 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %3, i64 1, i64 1)
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %6, label %.preheader.1

6:                                                ; preds = %.preheader.25, %.preheader.24, %.preheader.23, %.preheader.22, %.preheader.21, %.preheader.20, %.preheader.19, %.preheader.18, %.preheader.17, %.preheader.16, %.preheader.15, %.preheader.14, %.preheader.13, %.preheader.12, %.preheader.11, %.preheader.10, %.preheader.9, %.preheader.8, %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %.lcssa = phi i64 [ 1, %.preheader.preheader ], [ 2, %.preheader.1 ], [ 3, %.preheader.2 ], [ 4, %.preheader.3 ], [ 5, %.preheader.4 ], [ 6, %.preheader.5 ], [ 7, %.preheader.6 ], [ 8, %.preheader.7 ], [ 9, %.preheader.8 ], [ 10, %.preheader.9 ], [ 11, %.preheader.10 ], [ 12, %.preheader.11 ], [ 13, %.preheader.12 ], [ 14, %.preheader.13 ], [ 15, %.preheader.14 ], [ 16, %.preheader.15 ], [ 17, %.preheader.16 ], [ 18, %.preheader.17 ], [ 19, %.preheader.18 ], [ 20, %.preheader.19 ], [ 21, %.preheader.20 ], [ 22, %.preheader.21 ], [ 23, %.preheader.22 ], [ 24, %.preheader.23 ], [ 25, %.preheader.24 ], [ 26, %.preheader.25 ]
  store i64 %.lcssa, ptr %1, align 8, !tbaa !3
  br label %.loopexit

.preheader.1:                                     ; preds = %.preheader.preheader
  %7 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 1
  %8 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %7, i64 1, i64 1)
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %6, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %10 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 2
  %11 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %10, i64 1, i64 1)
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %6, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %13 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 3
  %14 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %13, i64 1, i64 1)
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %6, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %16 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 4
  %17 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %16, i64 1, i64 1)
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %6, label %.preheader.5

.preheader.5:                                     ; preds = %.preheader.4
  %19 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 5
  %20 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %19, i64 1, i64 1)
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %6, label %.preheader.6

.preheader.6:                                     ; preds = %.preheader.5
  %22 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 6
  %23 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %22, i64 1, i64 1)
  %24 = icmp eq i32 %23, 0
  br i1 %24, label %6, label %.preheader.7

.preheader.7:                                     ; preds = %.preheader.6
  %25 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 7
  %26 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %25, i64 1, i64 1)
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %6, label %.preheader.8

.preheader.8:                                     ; preds = %.preheader.7
  %28 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 8
  %29 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %28, i64 1, i64 1)
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %6, label %.preheader.9

.preheader.9:                                     ; preds = %.preheader.8
  %31 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 9
  %32 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %31, i64 1, i64 1)
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %6, label %.preheader.10

.preheader.10:                                    ; preds = %.preheader.9
  %34 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 10
  %35 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %34, i64 1, i64 1)
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %6, label %.preheader.11

.preheader.11:                                    ; preds = %.preheader.10
  %37 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 11
  %38 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %37, i64 1, i64 1)
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %6, label %.preheader.12

.preheader.12:                                    ; preds = %.preheader.11
  %40 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 12
  %41 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %40, i64 1, i64 1)
  %42 = icmp eq i32 %41, 0
  br i1 %42, label %6, label %.preheader.13

.preheader.13:                                    ; preds = %.preheader.12
  %43 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 13
  %44 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %43, i64 1, i64 1)
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %6, label %.preheader.14

.preheader.14:                                    ; preds = %.preheader.13
  %46 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 14
  %47 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %46, i64 1, i64 1)
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %6, label %.preheader.15

.preheader.15:                                    ; preds = %.preheader.14
  %49 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 15
  %50 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %49, i64 1, i64 1)
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %6, label %.preheader.16

.preheader.16:                                    ; preds = %.preheader.15
  %52 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 16
  %53 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %52, i64 1, i64 1)
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %6, label %.preheader.17

.preheader.17:                                    ; preds = %.preheader.16
  %55 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 17
  %56 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %55, i64 1, i64 1)
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %6, label %.preheader.18

.preheader.18:                                    ; preds = %.preheader.17
  %58 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 18
  %59 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %58, i64 1, i64 1)
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %6, label %.preheader.19

.preheader.19:                                    ; preds = %.preheader.18
  %61 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 19
  %62 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %61, i64 1, i64 1)
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %6, label %.preheader.20

.preheader.20:                                    ; preds = %.preheader.19
  %64 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 20
  %65 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %64, i64 1, i64 1)
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %6, label %.preheader.21

.preheader.21:                                    ; preds = %.preheader.20
  %67 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 21
  %68 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %67, i64 1, i64 1)
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %6, label %.preheader.22

.preheader.22:                                    ; preds = %.preheader.21
  %70 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 22
  %71 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %70, i64 1, i64 1)
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %6, label %.preheader.23

.preheader.23:                                    ; preds = %.preheader.22
  %73 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 23
  %74 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %73, i64 1, i64 1)
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %6, label %.preheader.24

.preheader.24:                                    ; preds = %.preheader.23
  %76 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 24
  %77 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %76, i64 1, i64 1)
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %6, label %.preheader.25

.preheader.25:                                    ; preds = %.preheader.24
  %79 = getelementptr inbounds [26 x [1 x i8]], ptr %3, i64 0, i64 25
  %80 = call i32 @_FortranACharacterCompareScalar1(ptr %0, ptr nonnull %79, i64 1, i64 1)
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %6, label %.loopexit

.loopexit:                                        ; preds = %.preheader.25, %6
  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 @_FortranAioInputAscii(ptr, ptr, i64) local_unnamed_addr

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

declare i1 @_FortranAioOutputInteger64(ptr, i64) local_unnamed_addr

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { noreturn }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }

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