; ModuleID = 'LFortran'
source_filename = "LFortran"

@0 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@1 = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1

define i32 @__module_module_13_f1() {
.entry:
  %f1 = alloca i32, align 4
  %0 = call i32 @__module_module_13_f2()
  store i32 %0, i32* %f1, align 4
  br label %return

return:                                           ; preds = %.entry
  %1 = load i32, i32* %f1, align 4
  ret i32 %1
}

define i32 @__module_module_13_f2() {
.entry:
  %f2 = alloca i32, align 4
  store i32 5, i32* %f2, align 4
  br label %return

return:                                           ; preds = %.entry
  %0 = load i32, i32* %f2, align 4
  ret i32 %0
}

define i32 @main(i32 %0, i8** %1) {
.entry:
  %f = alloca i32, align 4
  call void @_lpython_call_initial_functions(i32 %0, i8** %1)
  %f1 = alloca i32, align 4
  %2 = call i32 @__module_module_13_f1()
  store i32 %2, i32* %f1, align 4
  %3 = load i32, i32* %f1, align 4
  %4 = sext i32 %3 to i64
  %5 = call i8* (i32, i8*, ...) @_lcompilers_string_format_fortran(i32 2, i8* null, i32 2, i64 %4)
  call void (i8*, ...) @_lfortran_printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @1, i32 0, i32 0), i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @0, i32 0, i32 0))
  call void @_lpython_free_argv()
  br label %return

return:                                           ; preds = %.entry
  ret i32 0
}

declare void @_lpython_call_initial_functions(i32, i8**)

declare i8* @_lcompilers_string_format_fortran(i32, i8*, ...)

declare void @_lfortran_printf(i8*, ...)

declare void @_lpython_free_argv()
