         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.globl	next_free_bound_index
				.bss
				.align 4
		next_free_bound_index:
				.zero	4
				.comm	_lb,384,32
				.comm	_ub,384,32
		FRED.6027:
		.LFB190:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				pushl	%ecx
				subl	$40, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -44(%ebp)
				movl	%gs:20, %edi
				movl	%edi, -28(%ebp)
				xorl	%edi, %edi
				leal	8(%ebp), %edx
				movl	%edx, -40(%ebp)
				subl	$8, %esp
				pushl	-44(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %integerfn fred(%integer i, j, k)
				pushl	%ebp
				movl	%esp, %ebp
				subl	$4, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%ecx, -4(%ebp)
    3     %result = i+j+k
				movl	8(%ebp), %edx
				movl	12(%ebp), %eax
				addl	%eax, %edx
				movl	16(%ebp), %eax
				addl	%edx, %eax
    4   %end
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
    5   %integer q
    6   q = fred (1, 2, 3)
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$3
				pushl	$2
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
    7   q = fred (fred(1, 2, 3), 4, 5)
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$3
				pushl	$2
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$5
				pushl	$4
				pushl	%edx
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
    8   q = fred (1, fred(2,3,4), 5)
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$4
				pushl	$3
				pushl	$2
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$5
				pushl	%edx
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
    9   q = fred (1, 2, fred(3,4,5))
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$5
				pushl	$4
				pushl	$3
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	%edx
				pushl	$2
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
   10   q = fred (fred(1,2,3), fred(4,5,6), 7)
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$6
				pushl	$5
				pushl	$4
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %esi
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$3
				pushl	$2
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$7
				pushl	%esi
				pushl	%edx
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
   11   q = fred (fred(1,2,3), 4, fred(5,6,7))
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$7
				pushl	$6
				pushl	$5
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %esi
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$3
				pushl	$2
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	%esi
				pushl	$4
				pushl	%edx
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
   12   q = fred (1, fred(2,3,4), fred(5,6,7))
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$7
				pushl	$6
				pushl	$5
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %esi
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$4
				pushl	$3
				pushl	$2
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	%esi
				pushl	%edx
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
   13   q = fred (fred(1,2,3), fred(4,5,6), fred(7,8,9))
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$9
				pushl	$8
				pushl	$7
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edi
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$6
				pushl	$5
				pushl	$4
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %esi
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	$3
				pushl	$2
				pushl	$1
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, %edx
				subl	$4, %esp
				leal	-40(%ebp), %eax
				pushl	%edi
				pushl	%esi
				pushl	%edx
				movl	%eax, %ecx
				call	FRED.6027
				addl	$16, %esp
				movl	%eax, -36(%ebp)
				movl	$0, -32(%ebp)
		.LBB4:
		.LBB5:
				subl	$12, %esp
				pushl	-32(%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 %endofprogram
   14 Statements compiled
