         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC1:
				.string	"test-in/test166.imp"
				.align 4
		.LC2:
				.string	"->MIDDLE(%d) out of bounds at %s line %d"
				.align 4
		.LC3:
				.string	"switch jump to undefined label MIDDLE(%d): at %s line %d"
				.align 4
		.LC4:
				.string	"->RIGHT(%d) out of bounds at %s line %d"
				.align 32
		.LC0:
				.byte	19
				.string	"test-in/test166.imp"
				.zero	235
				.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	$1848, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -1852(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-1852(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
		.LBB9:
    2   %begin
    3     %begin
    4       %switch middle,right,left(1:3)
    5
    6       ->middle(3)
				movl	$6, -1848(%ebp)
				leal	.LC1@GOTOFF(%ebx), %eax
				movl	%eax, -1844(%ebp)
				movl	$3, -1840(%ebp)
				nop
		.L2:
    7
    8       left(1):
    9       middle(1):
   10       middle(2):
   11       right(1):
   12       right(2):
   13       right(3):
   14       left(*):
   15
   16     %end
				cmpl	$0, -1840(%ebp)
				jle	.L11
				jmp	.L32
		.L3:
				jmp	.L10
		.L17:
				jmp	*%eax
		.L4:
				jmp	.L10
		.L5:
				jmp	.L10
		.L6:
				jmp	.L10
		.L7:
				jmp	.L10
		.L8:
				jmp	.L10
		.L9:
				jmp	.L10
		.L32:
				cmpl	$3, -1840(%ebp)
				jle	.L12
		.L11:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L13
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1856(%ebp)
				jmp	.L14
		.L13:
				movl	$16, -1856(%ebp)
		.L14:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L15
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %edx
				leal	-796(%ebp), %eax
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				jmp	.L16
		.L15:
		.LBB10:
				leal	-284(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-1820(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE10:
				leal	-796(%ebp), %eax
				leal	-1820(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L16:
				pushl	-1848(%ebp)
				pushl	-1844(%ebp)
				pushl	-1840(%ebp)
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1840(%ebp)
				pushl	$3
				pushl	$6
				pushl	-1856(%ebp)
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-796(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				call	_signal_eventf@PLT
				addl	$288, %esp
		.L12:
				movl	-1840(%ebp), %eax
				subl	$1, %eax
				movl	MIDDLE.6024@GOTOFF(%ebx,%eax,4), %eax
				jmp	.L17
		.L18:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L19
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1856(%ebp)
				jmp	.L20
		.L19:
				movl	$16, -1856(%ebp)
		.L20:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L21
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %edx
				leal	-540(%ebp), %eax
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				jmp	.L22
		.L21:
		.LBB11:
				leal	-1308(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-1564(%ebp), %eax
				leal	-1308(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE11:
				leal	-540(%ebp), %eax
				leal	-1564(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L22:
				pushl	-1848(%ebp)
				pushl	-1844(%ebp)
				pushl	-1840(%ebp)
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1840(%ebp)
				pushl	$2
				pushl	$8
				pushl	-1856(%ebp)
				subl	$256, %esp
				movl	%esp, %eax
				movl	%eax, %edi
				leal	-540(%ebp), %eax
				movl	$64, %edx
				movl	%eax, %esi
				movl	%edx, %ecx
				rep movsl
				call	_signal_eventf@PLT
				addl	$288, %esp
		.L23:
				cmpl	$0, -1836(%ebp)
				jle	.L24
				cmpl	$3, -1836(%ebp)
				jle	.L25
		.L24:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L26
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1856(%ebp)
				jmp	.L27
		.L26:
				movl	$16, -1856(%ebp)
		.L27:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L28
				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	.L29
		.L28:
		.LBB12:
				leal	-1308(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-1052(%ebp), %eax
				leal	-1308(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE12:
				leal	-284(%ebp), %eax
				leal	-1052(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L29:
				pushl	-1828(%ebp)
				pushl	-1832(%ebp)
				pushl	-1836(%ebp)
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1836(%ebp)
				pushl	$3
				pushl	$6
				pushl	-1856(%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_eventf@PLT
				addl	$288, %esp
		.L25:
				movl	-1836(%ebp), %eax
				subl	$1, %eax
				movl	RIGHT.6031@GOTOFF(%ebx,%eax,4), %eax
				jmp	.L17
		.L10:
		.LBE9:
   17   %end
				nop
		.L30:
				movl	$0, -1824(%ebp)
		.LBB13:
		.LBB14:
				subl	$12, %esp
				pushl	-1824(%ebp)
				call	exit@PLT
		.LBE14:
		.LBE13:
		.LFE189:
				.section	.data.rel.local,"aw",@progbits
				.align 4
		MIDDLE.6024:
				.long	.L4
				.long	.L5
				.long	.L18
				.align 4
		RIGHT.6031:
				.long	.L6
				.long	.L7
				.long	.L8
				.align 4
		LEFT.6038:
				.long	.L3
				.long	.L9
				.long	.L9
				.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:
   18
   19 %endofprogram
    8 Statements compiled
