; ModuleID = 'LFortran'
source_filename = "LFortran"
target datalayout = "..."

define i32 @main(i32 %0, i8** %1) {
.entry:
  call void @_lpython_call_initial_functions(i32 %0, i8** %1)
  %p = alloca void*, align 8
  %x = alloca i32*, align 8
  store i32* null, i32** %x, align 8
  %2 = load i32*, i32** %x, align 8
  %3 = bitcast i32* %2 to void*
  store void* %3, void** %p, align 8
  br label %return

return:                                           ; preds = %.entry
  br label %FINALIZE_SYMTABLE_bindc1

FINALIZE_SYMTABLE_bindc1:                         ; preds = %return
  call void @_lfortran_internal_alloc_finalize()
  ret i32 0
}

declare void @_lpython_call_initial_functions(i32, i8**)

declare void @_lfortran_internal_alloc_finalize()
