         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC0:
				.string	"main"
				.globl	main
		main:
		.LFB191:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				pushl	%ecx
				subl	$64, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	(%eax), %edx
				movl	4(%eax), %eax
				movl	%gs:20, %ecx
				movl	%ecx, -12(%ebp)
				xorl	%ecx, %ecx
				leal	8(%ebp), %ecx
				movl	%ecx, -16(%ebp)
				movl	%edx, -32(%ebp)
				movl	%eax, -36(%ebp)
				leal	-40(%ebp), %eax
				addl	$12, %eax
				leal	-40(%ebp), %edx
				movb	$-71, (%eax)
				movl	%edx, 1(%eax)
				movb	$-23, 5(%eax)
				leal	main_backtrace.6165@GOTOFF(%ebx), %ecx
				leal	10(%eax), %edx
				subl	%edx, %ecx
				movl	%ecx, %edx
				movl	%edx, 6(%eax)
		.L2:
				leal	.LC0@GOTOFF(%ebx), %eax
				movl	%eax, -56(%ebp)
				leal	-40(%ebp), %eax
				addl	$12, %eax
				movl	%eax, -52(%ebp)
				leal	.L2@GOTOFF(%ebx), %eax
				movl	%eax, -48(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -44(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				leal	-56(%ebp), %edx
				movl	%edx, (%eax)
				movl	-32(%ebp), %eax
				movl	-36(%ebp), %edx
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_initialise@PLT
				addl	$16, %esp
    2
    3   %routine pass3(%integerarray(3)%name param3)
    4     %integer i = param3(5,16,17)
    5   %end
?I unused
    6
    7   ! If there is any declaration below (scalar or routine) the access
    8   ! to param3 above shows dims=0 and the call translates wrongly.
    9   ! However other statements such as a label or %stop do not have
   10   ! this effect so implies an interaction with DEF in stack.c ???
   11
   12   %integer i
				movl	$-16843010, %eax
				movl	%eax, -40(%ebp)
				movl	$0, -60(%ebp)
		.LBB6:
		.LBB7:
				subl	$12, %esp
				pushl	-60(%ebp)
				call	exit@PLT
		.LBE7:
		.LBE6:
		.LFE191:
				.section	.rodata
		.LC1:
				.string	"\n\nArguments:\n\n"
		.LC2:
				.string	"ARGC = %d\n"
		.LC3:
				.string	"ARGV @[%p]\n"
		.LC4:
				.string	"  ARGV(%d) = \"%s\"\n"
		.LC5:
				.string	"  ARGV(%d) = NULL\n"
		.LC6:
				.string	"\nLocal Variables:\n\n"
		.LC7:
				.string	"I"
		.LC8:
				.string	"%s = <UNASSIGNED INTEGER>\n"
		.LC9:
				.string	"%s = %lld\n"
		main_backtrace.6165:
		.LFB194:
   13
   14 %endofprogram
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%esi
				pushl	%ebx
				subl	$32, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %esi
				movl	%ecx, -28(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -12(%ebp)
				xorl	%eax, %eax
				subl	$12, %esp
				leal	.LC1@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	8(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	4(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.LBB8:
				movl	$0, -16(%ebp)
				jmp	.L5
		.L6:
				movl	-16(%ebp), %eax
				leal	0(,%eax,4), %edx
				movl	4(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %eax
				subl	$4, %esp
				pushl	%eax
				pushl	-16(%ebp)
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				addl	$1, -16(%ebp)
		.L5:
				movl	8(%esi), %eax
				cmpl	%eax, -16(%ebp)
				jl	.L6
		.LBE8:
				movl	8(%esi), %eax
				leal	0(,%eax,4), %edx
				movl	4(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				jne	.L7
				movl	8(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC5@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				jmp	.L8
		.L7:
				movl	8(%esi), %eax
				leal	0(,%eax,4), %edx
				movl	4(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %edx
				movl	8(%esi), %eax
				subl	$4, %esp
				pushl	%edx
				pushl	%eax
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.L8:
				subl	$12, %esp
				leal	.LC6@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	%esi, %eax
				movzbl	(%eax), %eax
				cmpb	$-128, %al
				je	.L9
				movl	%esi, %eax
				movzbl	(%eax), %eax
				cmpb	$-2, %al
				jne	.L10
		.L9:
				movl	%esi, %eax
				addl	$1, %eax
				movl	%esi, %edx
				subl	$4, %esp
				pushl	$3
				pushl	%eax
				pushl	%edx
				call	memcmp@PLT
				addl	$16, %esp
				testl	%eax, %eax
				jne	.L10
				subl	$8, %esp
				leal	.LC7@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC8@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				jmp	.L11
		.L10:
				movl	(%esi), %eax
				cltd
				pushl	%edx
				pushl	%eax
				leal	.LC7@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC9@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.L11:
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L12
				call	__stack_chk_fail_local
		.L12:
				leal	-8(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%ebp
				ret
		.LFE194:
				.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:
		.LFB195:
				movl	(%esp), %ebx
				ret
		.LFE195:
		.Letext0:
?I unused
?PASS3 unused
    6 Statements compiled
