         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
				.align 4
		.LC1:
				.string	"Illegal cycle FRED = 1, 10, JIM"
				.align 32
		.LC0:
				.byte	14
				.string	"test-in/16.imp"
				.zero	240
				.globl	main
		main:
		.LFB189:
				leal	4(%esp), %ecx
				andl	$-16, %esp
				pushl	-4(%ecx)
				pushl	%ebp
				movl	%esp, %ebp
				pushl	%edi
				pushl	%esi
				pushl	%ebx
				pushl	%ecx
				subl	$824, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -828(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-828(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
		.L2:
    2   %integer fred, jim, i
    3 first:
    4   jim = 1
				movl	$1, -812(%ebp)
    5   %if jim = 1 %then -> first
				cmpl	$1, -812(%ebp)
				jne	.L52
				jmp	.L2
		.L52:
				nop
		.L4:
    6   jim = 2
				movl	$2, -812(%ebp)
    7   %if jim = 2 %then -> second
				cmpl	$2, -812(%ebp)
				je	.L53
				nop
		.L6:
		.LBB7:
				nop
				jmp	.L49
		.L64:
    8   %for fred = 1, 10, jim %cycle
				movl	-812(%ebp), %eax
				movl	%eax, -808(%ebp)
		.LBB8:
				movl	-808(%ebp), %eax
				subl	$1, %eax
				movl	%eax, -804(%ebp)
				movl	-804(%ebp), %eax
				xorl	$10, %eax
				testl	%eax, %eax
				js	.L8
				movl	-804(%ebp), %ecx
				movl	$1717986919, %edx
				movl	%ecx, %eax
				imull	%edx
				sarl	$2, %edx
				movl	%ecx, %eax
				sarl	$31, %eax
				subl	%eax, %edx
				movl	%edx, %eax
				sall	$2, %eax
				addl	%edx, %eax
				addl	%eax, %eax
				subl	%eax, %ecx
				movl	%ecx, %edx
				testl	%edx, %edx
				je	.L9
		.L8:
				movl	$1, %eax
				jmp	.L10
		.L9:
				movl	$0, %eax
		.L10:
		.LBE8:
				testl	%eax, %eax
				je	.L11
				leal	-540(%ebp), %eax
				subl	$8, %esp
				leal	.LC1@GOTOFF(%ebx), %edx
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L12
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -832(%ebp)
				jmp	.L13
		.L12:
				movl	$8, -832(%ebp)
		.L13:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L14
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %edx
				leal	-284(%ebp), %eax
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				jmp	.L15
		.L14:
		.LBB9:
				leal	-284(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-796(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE9:
				leal	-284(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L15:
				pushl	$0
				pushl	$1
				pushl	$5
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-540(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				pushl	-832(%ebp)
				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	_signal_event@PLT
				addl	$528, %esp
		.L11:
				movl	$-9, -820(%ebp)
		.L16:
				movl	-820(%ebp), %eax
				cmpl	-808(%ebp), %eax
				je	.L54
				addl	$10, -820(%ebp)
				nop
				jmp	.L32
		.L56:
    9     %if i = 55 %then %continue
				cmpl	$55, -816(%ebp)
				je	.L55
				nop
		.L20:
				nop
		.L21:
   10     %if i = 99 %then %exit
				cmpl	$99, -816(%ebp)
				je	.L56
				nop
		.L23:
				nop
		.L24:
		.L32:
		.LBE7:
   11     i = i+1
				addl	$1, -816(%ebp)
				jmp	.L16
		.L55:
   12   %repeat
				jmp	.L16
		.L18:
		.L54:
   13   %while fred < jim %cycle
				movl	-820(%ebp), %eax
				cmpl	-812(%ebp), %eax
				jge	.L57
				nop
				jmp	.L41
		.L59:
   14     %if i = 55 %then %continue
				cmpl	$55, -816(%ebp)
				je	.L58
				nop
		.L28:
				nop
		.L29:
   15     %if i = 99 %then %exit
				cmpl	$99, -816(%ebp)
				je	.L59
				nop
		.L31:
				nop
		.L33:
		.L41:
   16     i = i+1
				addl	$1, -816(%ebp)
				jmp	.L32
		.L58:
   17   %repeat
				jmp	.L32
		.L26:
		.L57:
   18   %cycle
   19     %if i = 55 %then %continue
				cmpl	$55, -816(%ebp)
				je	.L60
				nop
		.L35:
				nop
		.L36:
   20     %if i = 99 %then %exit
				cmpl	$99, -816(%ebp)
				je	.L61
				nop
		.L38:
				nop
				jmp	.L48
		.L62:
				nop
		.L42:
		.L48:
   21     i = i+1
				addl	$1, -816(%ebp)
				jmp	.L36
		.L60:
   22   %repeat %until fred = jim
				movl	-820(%ebp), %eax
				cmpl	-812(%ebp), %eax
				je	.L62
				jmp	.L41
		.L39:
		.L61:
   23   %cycle
   24     %if i = 55 %then %continue
				cmpl	$55, -816(%ebp)
				je	.L63
				nop
		.L44:
				nop
		.L45:
   25     %if i = 99 %then %exit
				cmpl	$99, -816(%ebp)
				je	.L64
				nop
		.L47:
				nop
		.L49:
				movl	$0, -800(%ebp)
		.LBB10:
		.LBB11:
				subl	$12, %esp
				pushl	-800(%ebp)
				call	exit@PLT
		.LBE11:
		.LBE10:
		.LFE189:
				.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:
		.LFB190:
				movl	(%esp), %ebx
				ret
		.LFE190:
		.Letext0:
   26     i = i+1
				addl	$1, -816(%ebp)
				jmp	.L48
		.L63:
   27   %repeat
				jmp	.L48
		.L7:
		.L53:
   28 second:
   29 %endofprogram
   27 Statements compiled
