         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
		R.6031:
		.LFB192:
				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    %integer a = 1
				movl	$1, -20(%ebp)
    3
    4    %routine p
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				subl	$36, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, -28(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -12(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -20(%ebp)
    5       %integer a = 2
				movl	$2, -16(%ebp)
    6
    7       %routine q
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				subl	$36, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, -28(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -12(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -16(%ebp)
    8          %integer a = 3
				movl	$3, %eax
				movl	%eax, -20(%ebp)
    9
   10          %routine r
				pushl	%ebp
				movl	%esp, %ebp
				subl	$4, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%ecx, %eax
				movl	%ecx, -4(%ebp)
   11             a = 4
				movl	$4, %edx
				movl	%edx, (%eax)
   12          %end
				nop
				leave
				ret
		.LFE192:
		Q.6027:
		.LFB191:
   13
   14          r
				leal	-20(%ebp), %eax
				movl	%eax, %ecx
				call	R.6031
   15          write(a, 0);  newline
				movl	-20(%ebp), %eax
				subl	$8, %esp
				pushl	$0
				pushl	%eax
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB10:
		.LBB11:
				call	_imp_newline@PLT
		.LBE11:
		.LBE10:
   16       %end
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L5
				call	__stack_chk_fail_local
		.L5:
				movl	-4(%ebp), %ebx
				leave
				ret
		.LFE191:
		P.6023:
		.LFB190:
   17
   18       q
				leal	-20(%ebp), %eax
				movl	%eax, %ecx
				call	Q.6027
   19       write(a, 0);  newline
				subl	$8, %esp
				pushl	$0
				pushl	-16(%ebp)
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB12:
		.LBB13:
				call	_imp_newline@PLT
		.LBE13:
		.LBE12:
   20    %end
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L8
				call	__stack_chk_fail_local
		.L8:
				movl	-4(%ebp), %ebx
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
   21
   22    p
				leal	-24(%ebp), %eax
				movl	%eax, %ecx
				call	P.6023
   23    write(a, 0);  newline
				subl	$8, %esp
				pushl	$0
				pushl	-20(%ebp)
				call	_imp_writeint@PLT
				addl	$16, %esp
		.LBB14:
		.LBB15:
				call	_imp_newline@PLT
				movl	$0, -16(%ebp)
		.LBE15:
		.LBE14:
		.LBB16:
		.LBB17:
				subl	$12, %esp
				pushl	-16(%ebp)
				call	exit@PLT
		.LBE17:
		.LBE16:
		.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:
		.LFB193:
				movl	(%esp), %eax
				ret
		.LFE193:
				.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:
		.LFB194:
				movl	(%esp), %ebx
				ret
		.LFE194:
		.Letext0:
   24
   25 %end %of %program
   21 Statements compiled
