program main
    implicit none

!    character,allocatable :: str(:)
     character(:),allocatable :: ca, cb!, cca, ccb
    integer :: nb , ia, ib, i, ma, mb, tena, tenb
    character(100) :: cca, ccb
    character(1) :: a,b 
    

    read(*,*) a, b
    
    read(a,*) ia     ! 内部read文で文字列を整数に変換
    read(b,*) ib     ! 内部read文で文字列を整数に変換


    tena=0
    tenb=0
    
    do i=1,ib
       tena=tena+10**(i-1)
       ma=tena*ia
    enddo
    do i=1,ia
       tenb=tenb+10**(i-1)
       mb=tenb*ib
    enddo

!    print *, ma, mb
    
    write(cca,*) ma    ! 内部write文で整数を文字列に変換
    ca =trim(adjustl(cca)) 
    write(ccb,*) mb    ! 内部write文で整数を文字列に変換
    cb =trim(adjustl(ccb)) 
    
    if(LGE(ca,cb).eqv. .true. ) then
       print *,cb
    else
       print *, ca
    end if


  end program main

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

@_QFEcca = internal global [100 x i8] undef
@_QFEccb = internal global [100 x i8] undef
@_QQcl.062ccbdcd17b79078a542ca9685a1935 = linkonce constant [73 x i8] c"/home/ubuntu/Downloads/TheStack_IR/Collated/Fortran/Source_2570/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 }, align 8
  %2 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %3 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %4 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %5 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %6 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %7 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %8 = alloca { ptr, i64, i32, i8, i8, i8, i8 }, align 8
  %9 = alloca [1 x i8], align 1
  %10 = alloca [1 x i8], align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = tail call ptr @_FortranAioBeginExternalListInput(i32 -1, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 11)
  %14 = call i1 @_FortranAioInputAscii(ptr %13, ptr nonnull %9, i64 1)
  %15 = call i1 @_FortranAioInputAscii(ptr %13, ptr nonnull %10, i64 1)
  %16 = call i32 @_FortranAioEndIoStatement(ptr %13)
  %17 = call ptr @_FortranAioBeginInternalListInput(ptr nonnull %9, i64 1, ptr null, i64 0, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 13)
  %18 = call i1 @_FortranAioInputInteger(ptr %17, ptr nonnull %11, i32 4)
  %19 = call i32 @_FortranAioEndIoStatement(ptr %17)
  %20 = call ptr @_FortranAioBeginInternalListInput(ptr nonnull %10, i64 1, ptr null, i64 0, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 14)
  %21 = call i1 @_FortranAioInputInteger(ptr %20, ptr nonnull %12, i32 4)
  %22 = call i32 @_FortranAioEndIoStatement(ptr %20)
  %23 = load i32, ptr %12, align 4, !tbaa !3
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph.preheader, label %._crit_edge332

._crit_edge332:                                   ; preds = %0
  %.pre = load i32, ptr %11, align 4, !tbaa !3
  br label %46

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

.lr.ph:                                           ; preds = %.lr.ph.preheader, %__mlir_math_ipowi_i32.exit
  %26 = phi i64 [ %42, %__mlir_math_ipowi_i32.exit ], [ %25, %.lr.ph.preheader ]
  %27 = phi i32 [ %41, %__mlir_math_ipowi_i32.exit ], [ 1, %.lr.ph.preheader ]
  %.0307324 = phi i32 [ %40, %__mlir_math_ipowi_i32.exit ], [ 0, %.lr.ph.preheader ]
  %28 = add nsw i32 %27, -1
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %__mlir_math_ipowi_i32.exit, label %.preheader.i

.preheader.i:                                     ; preds = %.lr.ph
  %30 = and i32 %28, 1
  %.not3.i = icmp eq i32 %30, 0
  %31 = select i1 %.not3.i, i32 1, i32 10
  %32 = icmp eq i32 %28, 1
  br i1 %32, label %__mlir_math_ipowi_i32.exit, label %.lr.ph.i

.lr.ph.i:                                         ; preds = %.preheader.i, %.lr.ph.i
  %spec.select4.i = phi i32 [ %spec.select.i, %.lr.ph.i ], [ %31, %.preheader.i ]
  %33 = phi i32 [ %35, %.lr.ph.i ], [ %28, %.preheader.i ]
  %34 = phi i32 [ %36, %.lr.ph.i ], [ 10, %.preheader.i ]
  %35 = lshr i32 %33, 1
  %36 = mul i32 %34, %34
  %37 = and i32 %33, 2
  %.not.i = icmp eq i32 %37, 0
  %38 = select i1 %.not.i, i32 1, i32 %36
  %spec.select.i = mul i32 %38, %spec.select4.i
  %39 = icmp ult i32 %33, 4
  br i1 %39, label %__mlir_math_ipowi_i32.exit, label %.lr.ph.i

__mlir_math_ipowi_i32.exit:                       ; preds = %.lr.ph.i, %.lr.ph, %.preheader.i
  %common.ret.op.i = phi i32 [ 1, %.lr.ph ], [ %31, %.preheader.i ], [ %spec.select.i, %.lr.ph.i ]
  %40 = add i32 %common.ret.op.i, %.0307324
  %41 = add nuw i32 %27, 1
  %42 = add nsw i64 %26, -1
  %43 = icmp sgt i64 %26, 1
  br i1 %43, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %__mlir_math_ipowi_i32.exit
  %44 = load i32, ptr %11, align 4, !tbaa !3
  %45 = mul i32 %40, %44
  br label %46

46:                                               ; preds = %._crit_edge332, %._crit_edge
  %47 = phi i32 [ %44, %._crit_edge ], [ %.pre, %._crit_edge332 ]
  %.0309.lcssa = phi i32 [ %45, %._crit_edge ], [ undef, %._crit_edge332 ]
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.lr.ph328.preheader, label %69

.lr.ph328.preheader:                              ; preds = %46
  %49 = zext i32 %47 to i64
  br label %.lr.ph328

.lr.ph328:                                        ; preds = %.lr.ph328.preheader, %__mlir_math_ipowi_i32.exit323
  %50 = phi i64 [ %66, %__mlir_math_ipowi_i32.exit323 ], [ %49, %.lr.ph328.preheader ]
  %51 = phi i32 [ %65, %__mlir_math_ipowi_i32.exit323 ], [ 1, %.lr.ph328.preheader ]
  %.0326 = phi i32 [ %64, %__mlir_math_ipowi_i32.exit323 ], [ 0, %.lr.ph328.preheader ]
  %52 = add nsw i32 %51, -1
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %__mlir_math_ipowi_i32.exit323, label %.preheader.i318

.preheader.i318:                                  ; preds = %.lr.ph328
  %54 = and i32 %52, 1
  %.not3.i317 = icmp eq i32 %54, 0
  %55 = select i1 %.not3.i317, i32 1, i32 10
  %56 = icmp eq i32 %52, 1
  br i1 %56, label %__mlir_math_ipowi_i32.exit323, label %.lr.ph.i322

.lr.ph.i322:                                      ; preds = %.preheader.i318, %.lr.ph.i322
  %spec.select4.i319 = phi i32 [ %spec.select.i321, %.lr.ph.i322 ], [ %55, %.preheader.i318 ]
  %57 = phi i32 [ %59, %.lr.ph.i322 ], [ %52, %.preheader.i318 ]
  %58 = phi i32 [ %60, %.lr.ph.i322 ], [ 10, %.preheader.i318 ]
  %59 = lshr i32 %57, 1
  %60 = mul i32 %58, %58
  %61 = and i32 %57, 2
  %.not.i320 = icmp eq i32 %61, 0
  %62 = select i1 %.not.i320, i32 1, i32 %60
  %spec.select.i321 = mul i32 %62, %spec.select4.i319
  %63 = icmp ult i32 %57, 4
  br i1 %63, label %__mlir_math_ipowi_i32.exit323, label %.lr.ph.i322

__mlir_math_ipowi_i32.exit323:                    ; preds = %.lr.ph.i322, %.lr.ph328, %.preheader.i318
  %common.ret.op.i316 = phi i32 [ 1, %.lr.ph328 ], [ %55, %.preheader.i318 ], [ %spec.select.i321, %.lr.ph.i322 ]
  %64 = add i32 %common.ret.op.i316, %.0326
  %65 = add nuw i32 %51, 1
  %66 = add nsw i64 %50, -1
  %67 = icmp sgt i64 %50, 1
  br i1 %67, label %.lr.ph328, label %._crit_edge329

._crit_edge329:                                   ; preds = %__mlir_math_ipowi_i32.exit323
  %68 = mul i32 %64, %23
  br label %69

69:                                               ; preds = %._crit_edge329, %46
  %.0308.lcssa = phi i32 [ %68, %._crit_edge329 ], [ undef, %46 ]
  %70 = call ptr @_FortranAioBeginInternalListOutput(ptr nonnull @_QFEcca, i64 100, ptr null, i64 0, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 31)
  %71 = call i1 @_FortranAioOutputInteger32(ptr %70, i32 %.0309.lcssa)
  %72 = call i32 @_FortranAioEndIoStatement(ptr %70)
  store ptr @_QFEcca, ptr %4, align 8, !tbaa !7
  %.fca.1.gep134 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %4, i64 0, i32 1
  store i64 100, ptr %.fca.1.gep134, align 8, !tbaa !7
  %.fca.2.gep135 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %4, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep135, align 8, !tbaa !7
  %.fca.3.gep136 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %4, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep136, align 4, !tbaa !7
  %.fca.4.gep137 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %4, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep137, align 1, !tbaa !7
  %.fca.5.gep138 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %4, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep138, align 2, !tbaa !7
  %.fca.6.gep139 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %4, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep139, align 1, !tbaa !7
  %.fca.1.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %8, i64 0, i32 1
  %.fca.2.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %8, i64 0, i32 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  store i32 20180515, ptr %.fca.2.gep, align 8, !tbaa !7
  %.fca.3.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %8, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep, align 4, !tbaa !7
  %.fca.4.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %8, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep, align 1, !tbaa !7
  %.fca.5.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %8, i64 0, i32 5
  store i8 2, ptr %.fca.5.gep, align 2, !tbaa !7
  %.fca.6.gep = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %8, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep, align 1, !tbaa !7
  %73 = call {} @_FortranAAdjustl(ptr nonnull %8, ptr nonnull %4, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 32)
  %.fca.0.load = load ptr, ptr %8, align 8, !tbaa !7
  %.fca.1.load = load i64, ptr %.fca.1.gep, align 8, !tbaa !7
  store ptr %.fca.0.load, ptr %3, align 8, !tbaa !7
  %.fca.1.gep254 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 1
  store i64 %.fca.1.load, ptr %.fca.1.gep254, align 8, !tbaa !7
  %.fca.2.gep256 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep256, align 8, !tbaa !7
  %.fca.3.gep258 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep258, align 4, !tbaa !7
  %.fca.4.gep260 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep260, align 1, !tbaa !7
  %.fca.5.gep262 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep262, align 2, !tbaa !7
  %.fca.6.gep264 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %3, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep264, align 1, !tbaa !7
  %.fca.1.gep31 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %7, i64 0, i32 1
  %.fca.2.gep33 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %7, i64 0, i32 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false)
  store i32 20180515, ptr %.fca.2.gep33, align 8, !tbaa !7
  %.fca.3.gep35 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %7, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep35, align 4, !tbaa !7
  %.fca.4.gep37 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %7, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep37, align 1, !tbaa !7
  %.fca.5.gep39 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %7, i64 0, i32 5
  store i8 2, ptr %.fca.5.gep39, align 2, !tbaa !7
  %.fca.6.gep41 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %7, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep41, align 1, !tbaa !7
  %74 = call {} @_FortranATrim(ptr nonnull %7, ptr nonnull %3, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 32)
  %.fca.0.load43 = load ptr, ptr %7, align 8, !tbaa !7
  %.fca.1.load46 = load i64, ptr %.fca.1.gep31, align 8, !tbaa !7
  %75 = call i64 @llvm.smax.i64(i64 %.fca.1.load46, i64 0)
  %76 = call ptr @malloc(i64 %75)
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %76, ptr align 1 %.fca.0.load43, i64 %.fca.1.load46, i1 false)
  call void @free(ptr %.fca.0.load43)
  call void @free(ptr %.fca.0.load)
  %77 = call ptr @_FortranAioBeginInternalListOutput(ptr nonnull @_QFEccb, i64 100, ptr null, i64 0, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 33)
  %78 = call i1 @_FortranAioOutputInteger32(ptr %77, i32 %.0308.lcssa)
  %79 = call i32 @_FortranAioEndIoStatement(ptr %77)
  store ptr @_QFEccb, ptr %2, align 8, !tbaa !7
  %.fca.1.gep273 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 1
  store i64 100, ptr %.fca.1.gep273, align 8, !tbaa !7
  %.fca.2.gep274 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep274, align 8, !tbaa !7
  %.fca.3.gep275 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep275, align 4, !tbaa !7
  %.fca.4.gep276 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep276, align 1, !tbaa !7
  %.fca.5.gep277 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep277, align 2, !tbaa !7
  %.fca.6.gep278 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %2, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep278, align 1, !tbaa !7
  %.fca.1.gep66 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %6, i64 0, i32 1
  %.fca.2.gep68 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %6, i64 0, i32 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  store i32 20180515, ptr %.fca.2.gep68, align 8, !tbaa !7
  %.fca.3.gep70 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %6, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep70, align 4, !tbaa !7
  %.fca.4.gep72 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %6, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep72, align 1, !tbaa !7
  %.fca.5.gep74 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %6, i64 0, i32 5
  store i8 2, ptr %.fca.5.gep74, align 2, !tbaa !7
  %.fca.6.gep76 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %6, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep76, align 1, !tbaa !7
  %80 = call {} @_FortranAAdjustl(ptr nonnull %6, ptr nonnull %2, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 34)
  %.fca.0.load78 = load ptr, ptr %6, align 8, !tbaa !7
  %.fca.1.load81 = load i64, ptr %.fca.1.gep66, align 8, !tbaa !7
  store ptr %.fca.0.load78, ptr %1, align 8, !tbaa !7
  %.fca.1.gep289 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 1
  store i64 %.fca.1.load81, ptr %.fca.1.gep289, align 8, !tbaa !7
  %.fca.2.gep291 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 2
  store i32 20180515, ptr %.fca.2.gep291, align 8, !tbaa !7
  %.fca.3.gep293 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep293, align 4, !tbaa !7
  %.fca.4.gep295 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep295, align 1, !tbaa !7
  %.fca.5.gep297 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 5
  store i8 0, ptr %.fca.5.gep297, align 2, !tbaa !7
  %.fca.6.gep299 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %1, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep299, align 1, !tbaa !7
  %.fca.1.gep101 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %5, i64 0, i32 1
  %.fca.2.gep103 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %5, i64 0, i32 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  store i32 20180515, ptr %.fca.2.gep103, align 8, !tbaa !7
  %.fca.3.gep105 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %5, i64 0, i32 3
  store i8 0, ptr %.fca.3.gep105, align 4, !tbaa !7
  %.fca.4.gep107 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %5, i64 0, i32 4
  store i8 40, ptr %.fca.4.gep107, align 1, !tbaa !7
  %.fca.5.gep109 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %5, i64 0, i32 5
  store i8 2, ptr %.fca.5.gep109, align 2, !tbaa !7
  %.fca.6.gep111 = getelementptr inbounds { ptr, i64, i32, i8, i8, i8, i8 }, ptr %5, i64 0, i32 6
  store i8 0, ptr %.fca.6.gep111, align 1, !tbaa !7
  %81 = call {} @_FortranATrim(ptr nonnull %5, ptr nonnull %1, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 34)
  %.fca.0.load113 = load ptr, ptr %5, align 8, !tbaa !7
  %.fca.1.load116 = load i64, ptr %.fca.1.gep101, align 8, !tbaa !7
  %82 = call i64 @llvm.smax.i64(i64 %.fca.1.load116, i64 0)
  %83 = call ptr @malloc(i64 %82)
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %83, ptr align 1 %.fca.0.load113, i64 %.fca.1.load116, i1 false)
  call void @free(ptr %.fca.0.load113)
  call void @free(ptr %.fca.0.load78)
  %84 = call i32 @_FortranACharacterCompareScalar1(ptr %76, ptr %83, i64 %75, i64 %82)
  %85 = icmp sgt i32 %84, -1
  br i1 %85, label %86, label %89

86:                                               ; preds = %69
  %87 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 37)
  %88 = call i1 @_FortranAioOutputAscii(ptr %87, ptr %83, i64 %82)
  br label %92

89:                                               ; preds = %69
  %90 = call ptr @_FortranAioBeginExternalListOutput(i32 -1, ptr nonnull @_QQcl.062ccbdcd17b79078a542ca9685a1935, i32 39)
  %91 = call i1 @_FortranAioOutputAscii(ptr %90, ptr %76, i64 %75)
  br label %92

92:                                               ; preds = %86, %89
  %.sink = phi ptr [ %87, %86 ], [ %90, %89 ]
  %93 = call i32 @_FortranAioEndIoStatement(ptr %.sink)
  ret void
}

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

declare i1 @_FortranAioInputAscii(ptr, ptr, i64) local_unnamed_addr

declare i32 @_FortranAioEndIoStatement(ptr) local_unnamed_addr

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

declare i1 @_FortranAioInputInteger(ptr, ptr, i32) local_unnamed_addr

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

declare i1 @_FortranAioOutputInteger32(ptr, i32) local_unnamed_addr

declare {} @_FortranAAdjustl(ptr, ptr, ptr, i32) local_unnamed_addr

declare {} @_FortranATrim(ptr, ptr, ptr, i32) local_unnamed_addr

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

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

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

declare i1 @_FortranAioOutputAscii(ptr, ptr, i64) local_unnamed_addr

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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"}
!7 = !{!8, !8, i64 0}
!8 = !{!"descriptor member", !5, i64 0}
