         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
		BUFF.6029:
		.LFB190:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				pushl	%ecx
				subl	$32, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -28(%ebp)
				movl	%gs:20, %ecx
				movl	%ecx, -12(%ebp)
				xorl	%ecx, %ecx
				leal	8(%ebp), %edx
				movl	%edx, -24(%ebp)
				subl	$8, %esp
				pushl	-28(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   ! see if we can remove redundant *& in assignment of 'that == buff(0)'
    3   %recordformat bfm(%integer i, j)
    4
    5   ! BUG: currently the '*' is missing from the map declaration
    6   %record(bfm)%map   buff(%integer addr)
				pushl	%ebp
				movl	%esp, %ebp
				subl	$40, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%ecx, -28(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -12(%ebp)
				xorl	%eax, %eax
    7   %record(bfm)  this
    8     %result == this
				movl	$0, %eax
    9   %end;
				movl	-12(%ebp), %edx
				xorl	%gs:20, %edx
				je	.L3
				call	__stack_chk_fail_local
		.L3:
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
?ADDR unused
   10        ;          !  of 'buff'
   10
   11   %record (bfm) %name  that
   12
   13   that == buff(0)
				subl	$12, %esp
				leal	-24(%ebp), %eax
				pushl	$0
				movl	%eax, %ecx
				call	BUFF.6029
				addl	$16, %esp
				movl	%eax, -20(%ebp)
				movl	$0, -16(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-16(%ebp)
				call	exit@PLT
		.LBE5:
		.LBE4:
		.LFE189:
				.section	.text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
				.globl	__x86.get_pc_thunk.ax
				.hidden	__x86.get_pc_thunk.ax
		__x86.get_pc_thunk.ax:
		.LFB191:
				movl	(%esp), %eax
				ret
		.LFE191:
				.section	.text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
				.globl	__x86.get_pc_thunk.bx
				.hidden	__x86.get_pc_thunk.bx
		__x86.get_pc_thunk.bx:
		.LFB192:
				movl	(%esp), %ebx
				ret
		.LFE192:
		.Letext0:
   14
   15 %endofprogram
    9 Statements compiled
