         Edinburgh IMP77 Compiler - Version 8.4
    1 %externalroutine fred(%real x,y)
		.Ltext0:
				.globl	FRED
		FRED:
		.LFB189:
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				subl	$36, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
    2 %real z
    3
    4 %if x>0 %and y>0 %then %start
				flds	8(%ebp)
				fldz
				fucomip	%st(1), %st
				fstp	%st(0)
				jnb	.L10
				flds	12(%ebp)
				fldz
				fucomip	%st(1), %st
				fstp	%st(0)
				jnb	.L11
				nop
				jmp	.L8
		.L11:
				nop
		.L8:
    5    z=sqrt(x+y)
				flds	8(%ebp)
				fadds	12(%ebp)
				fstpl	-16(%ebp)
		.LBB4:
		.LBB5:
				subl	$8, %esp
				pushl	-12(%ebp)
				pushl	-16(%ebp)
				movl	%eax, %ebx
				call	sqrt@PLT
				addl	$16, %esp
		.LBE5:
		.LBE4:
				fstps	-20(%ebp)
    6 %else
				nop
				jmp	.L8
		.L4:
		.L10:
    7    %monitor
    8 %finish
    9 %end
				nop
				movl	-4(%ebp), %ebx
				leave
				ret
		.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:
		.LFB190:
				movl	(%esp), %eax
				ret
		.LFE190:
		.Letext0:
   10 %endoffile
    9 Statements compiled
