	.SPACE $PRIVATE$
	.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
	.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
	.SPACE $TEXT$
	.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
	.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
	.IMPORT $global$,DATA
	.IMPORT $$dyncall,MILLICODE
; gcc_compiled.:
	.SPACE $TEXT$
	.SUBSPA $CODE$

	.align 4
	.PARAM foo,RTNVAL=GR
foo:
	.PROC
	.CALLINFO FRAME=0,NO_CALLS
	.ENTRY
	bv,n 0(%r2)
	.EXIT
	.PROCEND
	.SPACE $TEXT$
	.SUBSPA $CODE$

	.align 4
LC$0000:
	.word P%foo
	.SPACE $TEXT$
	.SUBSPA $CODE$

	.align 4
	.EXPORT bar,CODE
	.EXPORT bar,ENTRY,PRIV_LEV=3,RTNVAL=GR
bar:
	.PROC
	.CALLINFO FRAME=128,CALLS,SAVE_RP
	.ENTRY
	ldil L'LC$0000,%r19
	ldw R'LC$0000(%r19),%r26
	stw %r2,-20(0,%r30)
	.CALL ARGW0=GR
	bl foo,%r2
	ldo 128(%r30),%r30
	ldw -148(0,%r30),%r2
	bv 0(%r2)
	ldo -128(%r30),%r30
	.EXIT
	.PROCEND
