         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC0:
				.string	"\n\nArguments:\n\n"
		.LC1:
				.string	"ARGC = %d\n"
		.LC2:
				.string	"ARGV @[%p]\n"
		.LC3:
				.string	"  ARGV(%d) = \"%s\"\n"
		.LC4:
				.string	"  ARGV(%d) = NULL\n"
		.LC5:
				.string	"\nLocal Variables:\n\n"
		.LC6:
				.string	"FRED"
		.LC7:
				.string	"%s = %lld\n"
		main_backtrace.6165:
		.LFB192:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%ebx
				pushl	%ecx
				subl	$48, %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	-36(%ebp), %eax
				addl	$10, %eax
				leal	-36(%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)
		.L8:
				leal	.LC8@GOTOFF(%ebx), %eax
				movl	%eax, -52(%ebp)
				leal	-36(%ebp), %eax
				addl	$10, %eax
				movl	%eax, -48(%ebp)
				leal	.L8@GOTOFF(%ebx), %eax
				movl	%eax, -44(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -40(%ebp)
				movl	_imp_current_frame@GOT(%ebx), %eax
				leal	-52(%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   %shortinteger fred
    3   fred = 16_3DEF
				movl	$15855, %eax
				movw	%ax, -28(%ebp)
    4
    5   fred = -fred
				movzwl	-28(%ebp), %eax
				negl	%eax
				movw	%ax, -28(%ebp)
    6
    7   %if fred < 0 %start
				movzwl	-28(%ebp), %eax
				testw	%ax, %ax
				jns	.L14
				nop
		.L10:
    8     print string("OK!"); newline
				subl	$8, %esp
				leal	.LC9@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC10@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_printf@PLT
				addl	$16, %esp
		.LBB11:
		.LBB12:
				call	_imp_newline@PLT
		.LBE12:
		.LBE11:
    9   %else
				jmp	.L11
		.L14:
   10     print string("Compiler bug?"); newline
				subl	$8, %esp
				leal	.LC11@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC10@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_printf@PLT
				addl	$16, %esp
		.LBB13:
		.LBB14:
				call	_imp_newline@PLT
		.L11:
				movl	$0, -56(%ebp)
		.LBE14:
		.LBE13:
		.LBB15:
		.LBB16:
				subl	$12, %esp
				pushl	-56(%ebp)
				call	exit@PLT
		.LBE16:
		.LBE15:
		.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:
		.LFB193:
				movl	(%esp), %ebx
				ret
		.LFE193:
		.Letext0:
   11   %finish
   12
   13 %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	4(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC1@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movl	(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.LBB10:
				movl	$0, -16(%ebp)
				jmp	.L2
		.L3:
				movl	-16(%ebp), %eax
				leal	0(,%eax,4), %edx
				movl	(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %eax
				subl	$4, %esp
				pushl	%eax
				pushl	-16(%ebp)
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				addl	$1, -16(%ebp)
		.L2:
				movl	4(%esi), %eax
				cmpl	%eax, -16(%ebp)
				jl	.L3
		.LBE10:
				movl	4(%esi), %eax
				leal	0(,%eax,4), %edx
				movl	(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				jne	.L4
				movl	4(%esi), %eax
				subl	$8, %esp
				pushl	%eax
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				jmp	.L5
		.L4:
				movl	4(%esi), %eax
				leal	0(,%eax,4), %edx
				movl	(%esi), %eax
				addl	%edx, %eax
				movl	(%eax), %edx
				movl	4(%esi), %eax
				subl	$4, %esp
				pushl	%edx
				pushl	%eax
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
		.L5:
				subl	$12, %esp
				leal	.LC5@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				movzwl	8(%esi), %ecx
				movswl	%cx, %eax
				cltd
				pushl	%edx
				pushl	%eax
				leal	.LC6@GOTOFF(%ebx), %eax
				pushl	%eax
				leal	.LC7@GOTOFF(%ebx), %eax
				pushl	%eax
				call	_imp_diagf@PLT
				addl	$16, %esp
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L6
				call	__stack_chk_fail_local
		.L6:
				leal	-8(%ebp), %esp
				popl	%ebx
				popl	%esi
				popl	%ebp
				ret
		.LFE192:
				.section	.rodata
		.LC8:
				.string	"main"
		.LC9:
				.string	"OK!"
		.LC10:
				.string	"%s"
		.LC11:
				.string	"Compiler bug?"
				.globl	main
		main:
		.LFB191:
   12 Statements compiled
