         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC0:
				.string	"\n\nArguments:\n\n"
		.LC1:
				.string	"I = %d\n"
		.LC2:
				.string	"J = %d\n"
		.LC3:
				.string	"K = %d\n"
		.LC4:
				.string	"\nLocal Variables:\n\n"
		FRED_backtrace.6179:
		.LFB193:
				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)
		.L7:
				leal	.LC6@GOTOFF(%ebx), %eax
				movl	%eax, -56(%ebp)
				leal	-40(%ebp), %eax
				addl	$12, %eax
				movl	%eax, -52(%ebp)
				leal	.L7@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   %integer local var
				movl	$-16843010, %eax
				movl	%eax, -40(%ebp)
    3   %routinespec jim(%integer x, y, z)
    4   %routine fred(%integer i, j, k)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				subl	$76, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	12(%ebp), %edi
				movl	16(%ebp), %edx
				movl	%ecx, %esi
				movl	%ecx, -76(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -28(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -32(%ebp)
				movl	8(%ebp), %eax
				movl	%eax, -48(%ebp)
				movl	%edi, -52(%ebp)
				movl	%edx, -56(%ebp)
				leal	-56(%ebp), %eax
				addl	$12, %eax
				leal	-56(%ebp), %edx
				movb	$-71, (%eax)
				movl	%edx, 1(%eax)
				movb	$-23, 5(%eax)
				leal	FRED_backtrace.6179@GOTOFF(%ebx), %ecx
				leal	10(%eax), %edx
				subl	%edx, %ecx
				movl	%ecx, %edx
				movl	%edx, 6(%eax)
		.L3:
				leal	.LC5@GOTOFF(%ebx), %eax
				movl	%eax, -72(%ebp)
				leal	-56(%ebp), %eax
				addl	$12, %eax
				movl	%eax, -68(%ebp)
				leal	.L3@GOTOFF(%ebx), %eax
				movl	%eax, -64(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -60(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				leal	-72(%ebp), %edx
				movl	%edx, (%eax)
    5     jim(k,j,i)
				movl	-56(%ebp), %eax
				movl	-52(%ebp), %edx
				movl	-48(%ebp), %ecx
				subl	$4, %esp
				pushl	%ecx
				pushl	%edx
				pushl	%eax
				movl	%esi, %ecx
				call	JIM.6171
				addl	$16, %esp
				movl	-60(%ebp), %edx
				movl	_imp_current_frame@GOT(%ebx), %eax
				movl	%edx, (%eax)
				movl	-28(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L5
				call	__stack_chk_fail_local
		.L5:
				leal	-12(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%edi
				popl	%ebp
				ret
		.LFE192:
				.section	.rodata
		.LC6:
				.string	"main"
				.globl	main
		main:
		.LFB191:
    6   %end
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%esi
				pushl	%ebx
				subl	$16, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %esi
				movl	%ecx, -12(%ebp)
				subl	$12, %esp
				leal	.LC0@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	8(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC1@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	4(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				subl	$12, %esp
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				nop
				leal	-8(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%ebp
				ret
		.LFE193:
				.section	.rodata
		.LC5:
				.string	"FRED"
		FRED.6175:
		.LFB192:
    7   %routine jim(%integer p, q, r)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				subl	$76, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	8(%ebp), %edi
				movl	12(%ebp), %esi
				movl	16(%ebp), %edx
				movl	%ecx, -76(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -28(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -32(%ebp)
				movl	%edi, -48(%ebp)
				movl	%esi, -52(%ebp)
				movl	%edx, -56(%ebp)
				leal	-56(%ebp), %eax
				addl	$12, %eax
				leal	-56(%ebp), %edx
				movb	$-71, (%eax)
				movl	%edx, 1(%eax)
				movb	$-23, 5(%eax)
				leal	JIM_backtrace.6191@GOTOFF(%ebx), %ecx
				leal	10(%eax), %edx
				subl	%edx, %ecx
				movl	%ecx, %edx
				movl	%edx, 6(%eax)
		.L11:
				leal	.LC10@GOTOFF(%ebx), %eax
				movl	%eax, -72(%ebp)
				leal	-56(%ebp), %eax
				addl	$12, %eax
				movl	%eax, -68(%ebp)
				leal	.L11@GOTOFF(%ebx), %eax
				movl	%eax, -64(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -60(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				leal	-72(%ebp), %edx
				movl	%edx, (%eax)
    8     p = q//(q+r-p)
				movl	-52(%ebp), %edx
				movl	-56(%ebp), %eax
				addl	%eax, %edx
				movl	-48(%ebp), %eax
				movl	%edx, %esi
				subl	%eax, %esi
				movl	-52(%ebp), %eax
				cltd
				idivl	%esi
				movl	%eax, -48(%ebp)
    9   %end
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%esi
				pushl	%ebx
				subl	$16, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %esi
				movl	%ecx, -12(%ebp)
				subl	$12, %esp
				leal	.LC0@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	8(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC7@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	4(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC8@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC9@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				subl	$12, %esp
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				nop
				leal	-8(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%ebp
				ret
		.LFE195:
				.section	.rodata
		.LC10:
				.string	"JIM"
		JIM.6171:
		.LFB194:
				movl	-60(%ebp), %edx
				movl	_imp_current_frame@GOT(%ebx), %eax
				movl	%edx, (%eax)
				movl	-28(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L13
				call	__stack_chk_fail_local
		.L13:
				addl	$76, %esp
				popl	%ebx
				popl	%esi
				popl	%edi
				popl	%ebp
				ret
		.LFE194:
				.section	.rodata
		.LC11:
				.string	"ARGC = %d\n"
		.LC12:
				.string	"ARGV @[%p]\n"
		.LC13:
				.string	"  ARGV(%d) = \"%s\"\n"
		.LC14:
				.string	"  ARGV(%d) = NULL\n"
		.LC15:
				.string	"LOCALVAR"
		.LC16:
				.string	"%s = <UNASSIGNED INTEGER>\n"
		.LC17:
				.string	"%s = %lld\n"
		main_backtrace.6165:
		.LFB196:
   10   fred(11, 22, 33)
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$33
				pushl	$22
				pushl	$11
				movl	%eax, %ecx
				call	FRED.6175
				addl	$16, %esp
				movl	$0, -60(%ebp)
		.LBB6:
		.LBB7:
				subl	$12, %esp
				pushl	-60(%ebp)
				call	exit@PLT
		.LBE7:
		.LBE6:
		.LFE191:
				.section	.rodata
		.LC7:
				.string	"P = %d\n"
		.LC8:
				.string	"Q = %d\n"
		.LC9:
				.string	"R = %d\n"
		JIM_backtrace.6191:
		.LFB195:
   11 %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	.LC0@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	8(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC11@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	4(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC12@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.LBB8:
				movl	$0, -16(%ebp)
				jmp	.L15
		.L16:
				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	.LC13@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				addl	$1, -16(%ebp)
		.L15:
				movl	8(%esi), %eax
				cmpl	%eax, -16(%ebp)
				jl	.L16
		.LBE8:
				movl	8(%esi), %eax
				leal	0(,%eax,4), %edx
				movl	4(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				jne	.L17
				movl	8(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC14@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				jmp	.L18
		.L17:
				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	.LC13@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.L18:
				subl	$12, %esp
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	%esi, %eax
				movzbl	(%eax), %eax
				cmpb	$-128, %al
				je	.L19
				movl	%esi, %eax
				movzbl	(%eax), %eax
				cmpb	$-2, %al
				jne	.L20
		.L19:
				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	.L20
				subl	$8, %esp
				leal	.LC15@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC16@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				jmp	.L21
		.L20:
				movl	(%esi), %eax
				cltd
				pushl	%edx
				pushl	%eax
				leal	.LC15@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC17@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.L21:
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L22
				call	__stack_chk_fail_local
		.L22:
				leal	-8(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%ebp
				ret
		.LFE196:
				.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:
		.LFB197:
				movl	(%esp), %ebx
				ret
		.LFE197:
		.Letext0:
?LOCALVAR unused
   11 Statements compiled
