function  $_main() {
@start

%a =l alloc4 4
storew 7, %a
%b =l alloc8 8
stored d_2.0, %b
%sum =l alloc8 8
%___tmpvar1 =w loadw %a
%___tmpvar3 =d swtof %___tmpvar1
%___tmpvar2 =d loadd %b
%___tmpvar0 =d add %___tmpvar3, %___tmpvar2
stored %___tmpvar0, %sum
%difference =l alloc8 8
%___tmpvar5 =w loadw %a
%___tmpvar7 =d swtof %___tmpvar5
%___tmpvar6 =d loadd %b
%___tmpvar4 =d sub %___tmpvar7, %___tmpvar6
stored %___tmpvar4, %difference
%product =l alloc8 8
%___tmpvar9 =w loadw %a
%___tmpvar11 =d swtof %___tmpvar9
%___tmpvar10 =d loadd %b
%___tmpvar8 =d mul %___tmpvar11, %___tmpvar10
stored %___tmpvar8, %product
%quotient =l alloc8 8
%___tmpvar13 =w loadw %a
%___tmpvar15 =d swtof %___tmpvar13
%___tmpvar14 =d loadd %b
%___tmpvar12 =d div %___tmpvar15, %___tmpvar14
stored %___tmpvar12, %quotient
%castedback =l alloc4 4
%___tmpvar17 =w loadw %a
%___tmpvar19 =d swtof %___tmpvar17
%___tmpvar18 =d loadd %b
%___tmpvar16 =d div %___tmpvar19, %___tmpvar18
%___tmpvar20 =w dtoui %___tmpvar16
storew %___tmpvar20, %castedback
ret
}


export function w $main() {
@start
  call $_main()
  ret 0
}