         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
		CALGOL.6025:
		.LFB190:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%esi
				pushl	%ebx
				pushl	%ecx
				subl	$76, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %edx
				movl	4(%edx), %eax
				movl	%eax, -76(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -28(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -32(%ebp)
				leal	-44(%ebp), %eax
				leal	-44(%ebp), %ecx
				movb	$-71, (%eax)
				movl	%ecx, 1(%eax)
				movb	$-23, 5(%eax)
				leal	SIMPLE.6028@GOTOFF(%ebx), %esi
				leal	10(%eax), %ecx
				subl	%ecx, %esi
				movl	%esi, %ecx
				movl	%ecx, 6(%eax)
				subl	$8, %esp
				pushl	-76(%ebp)
				pushl	(%edx)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %routine calgol(%longreal c, %integerfn f(%integer p), %integername n)
				pushl	%ebp
				movl	%esp, %ebp
				subl	$24, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	8(%ebp), %eax
				movl	%eax, -16(%ebp)
				movl	12(%ebp), %eax
				movl	%eax, -12(%ebp)
				movl	%ecx, -20(%ebp)
    3     n = f(n)
				movl	20(%ebp), %eax
				movl	(%eax), %eax
				subl	$12, %esp
				pushl	%eax
				movl	16(%ebp), %eax
				call	*%eax
		.LVL0:
				addl	$16, %esp
				movl	%eax, %edx
				movl	20(%ebp), %eax
				movl	%edx, (%eax)
    4   %end
				nop
				leave
				ret
		.LFE190:
				.globl	main
		main:
		.LFB189:
?C unused
    5   %integerfn simple(%integer param)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				subl	$556, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, -556(%ebp)
				movl	%gs:20, %eax
				movl	%eax, -28(%ebp)
				xorl	%eax, %eax
		.LBB11:
    6     printstring("Called"); newline
				leal	-284(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-540(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-284(%ebp), %eax
				leal	-540(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE11:
		.LBB12:
		.LBB13:
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-284(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				call	_imp_printstring@PLT
				addl	$256, %esp
		.LBE13:
		.LBE12:
		.LBB14:
		.LBB15:
				call	_imp_newline@PLT
		.LBE15:
		.LBE14:
    7     %result = param
				movl	8(%ebp), %eax
    8   %end
				movl	-28(%ebp), %ebx
				xorl	%gs:20, %ebx
				je	.L7
				call	__stack_chk_fail_local
		.L7:
				leal	-12(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%edi
				popl	%ebp
				ret
		.LFE191:
				.section	.rodata
				.align 8
		.LC1:
				.long	2061584302
				.long	1072934420
				.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:
		.LFB192:
				movl	(%esp), %eax
				ret
		.LFE192:
				.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:
		.LFB193:
				movl	(%esp), %ebx
				ret
		.LFE193:
		.Letext0:
    9   %longreal a = 1.23
				fldl	.LC1@GOTOFF(%ebx)
				fstpl	-56(%ebp)
   10   %integer num
   11   num = 3
				movl	$3, -64(%ebp)
   12   calgol(a, simple, num)
				leal	-44(%ebp), %eax
				movl	%eax, %ecx
				leal	-44(%ebp), %eax
				leal	-64(%ebp), %edx
				pushl	%edx
				pushl	%ecx
				pushl	-52(%ebp)
				pushl	-56(%ebp)
				movl	%eax, %ecx
				call	CALGOL.6025
				addl	$16, %esp
				movl	$0, -60(%ebp)
		.LBB9:
		.LBB10:
				subl	$12, %esp
				pushl	-60(%ebp)
				call	exit@PLT
		.LBE10:
		.LBE9:
		.LFE189:
				.section	.rodata
				.align 32
		.LC0:
				.byte	6
				.string	"Called"
				.zero	248
		SIMPLE.6028:
		.LFB191:
   13 %endofprogram
   14 Statements compiled
