; ModuleID = 'main.o'
target datalayout = "e-p:32:32-i1:8:0-i8:8:0-i16:16:0-i32:32:0-i32:32:0-i64:32:0-f32:32:0-f64:32:0-f96:32:0-v64:64:64-v128:128:0-a0:0"
target triple = "i386-pc-linux-gnu"

define i32 @main(i32, i8**, ...) nounwind {
entry:
  %argc = alloca i32                              ; <i32*> [#uses=2]
  %argv = alloca i8**                             ; <i8***> [#uses=2]
  %retval = alloca i32                            ; <i32*> [#uses=2]
  call void @llvm.dbg.func.start(metadata !0)
  store i32 %0, i32* %argc
  %2 = bitcast i32* %argc to { }*                 ; <{ }*> [#uses=1]
  call void @llvm.dbg.declare({ }* %2, metadata !3)
  store i8** %1, i8*** %argv
  %3 = bitcast i8*** %argv to { }*                ; <{ }*> [#uses=1]
  call void @llvm.dbg.declare({ }* %3, metadata !4)
  store i32 0, i32* %retval
  br label %return

return:                                           ; preds = %entry
  %4 = load i32* %retval                          ; <i32> [#uses=1]
  call void @llvm.dbg.stoppoint(i32 3, i32 1, metadata !1)
  call void @llvm.dbg.region.end(metadata !0)
  ret i32 %4
}

declare void @llvm.dbg.func.start(metadata) nounwind readnone

declare void @llvm.dbg.declare({ }*, metadata) nounwind readnone

declare void @llvm.dbg.stoppoint(i32, i32, metadata) nounwind readnone

declare void @llvm.dbg.region.end(metadata) nounwind readnone

!0 = metadata !{i32 458798, i32 0, metadata !1, metadata !"main", metadata !"main", metadata !"main", metadata !1, i32 1, metadata !2, i1 false, i1 true}; [DW_TAG_subprogram ]
!1 = metadata !{i32 458769, i32 0, i32 12, metadata !"main.c", metadata !"/home/rich/ecc/ellcc", metadata !"ellcc 0.1.0", i1 true, i1 true, metadata !"", i32 0}; [DW_TAG_compile_unit ]
!2 = metadata !{i32 458788, metadata !1, metadata !"int", metadata !1, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5}; [DW_TAG_base_type ]
!3 = metadata !{i32 459009, metadata !0, metadata !"argc", metadata !1, i32 1, metadata !2}; [ DW_TAG_arg_variable ]
!4 = metadata !{i32 459009, metadata !0, metadata !"argv", metadata !1, i32 1, metadata !5}; [ DW_TAG_arg_variable ]
!5 = metadata !{i32 458767, metadata !1, metadata !"", null, i32 0, i64 32, i64 32, i64 0, i32 0, metadata !6}; [DW_TAG_pointer_type ]
!6 = metadata !{i32 458767, metadata !1, metadata !"", null, i32 0, i64 32, i64 32, i64 0, i32 0, metadata !7}; [DW_TAG_pointer_type ]
!7 = metadata !{i32 458788, metadata !1, metadata !"char", metadata !1, i32 0, i64 8, i64 8, i64 0, i32 0, i32 6}; [DW_TAG_base_type ]
