         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC1:
				.string	"test-in/swneg0.imp"
				.align 4
		.LC2:
				.string	"->TEST2(%d) out of bounds at %s line %d"
				.align 4
		.LC3:
				.string	"switch jump to undefined label TEST3(%d): at %s line %d"
				.align 32
		.LC0:
				.byte	18
				.string	"test-in/swneg0.imp"
				.zero	236
				.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	$1096, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -1100(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-1100(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %switch test1 ( -1 : -1 )
    3   %switch test2 ( -1 : 0 )
    4   %switch test3 ( -1 : 1 )
    5   %integer i = 0
				movl	$0, -1084(%ebp)
    6
    7   ->test2(i)
				movl	$7, -1080(%ebp)
				leal	.LC1@GOTOFF(%ebx), %eax
				movl	%eax, -1076(%ebp)
				movl	-1084(%ebp), %eax
				movl	%eax, -1072(%ebp)
				nop
		.L2:
    8
    9   test2(0):
   10   test2(*):
   11   test3(1):
   12   test1(-1):
   13
   14 %endofprogram
				cmpl	$-1, -1072(%ebp)
				jl	.L7
				jmp	.L22
		.L3:
				jmp	.L6
		.L4:
				jmp	.L6
		.L5:
		.L6:
				movl	$0, -1056(%ebp)
		.LBB8:
		.LBB9:
				subl	$12, %esp
				pushl	-1056(%ebp)
				call	exit@PLT
		.L22:
		.LBE9:
		.LBE8:
				cmpl	$0, -1072(%ebp)
				jle	.L8
		.L7:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L9
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1104(%ebp)
				jmp	.L10
		.L9:
				movl	$14, -1104(%ebp)
		.L10:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L11
				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	.L12
		.L11:
		.LBB10:
				leal	-284(%ebp), %eax
				leal	.LC0@GOTOFF(%ebx), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
				leal	-1052(%ebp), %eax
				leal	-284(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.LBE10:
				leal	-540(%ebp), %eax
				leal	-1052(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L12:
				pushl	-1080(%ebp)
				pushl	-1076(%ebp)
				pushl	-1072(%ebp)
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1072(%ebp)
				pushl	$3
				pushl	$6
				pushl	-1104(%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
		.L8:
				movl	-1072(%ebp), %eax
				addl	$1, %eax
				movl	TEST2.6029@GOTOFF(%ebx,%eax,4), %eax
				nop
				jmp	*%eax
		.L14:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L15
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1104(%ebp)
				jmp	.L16
		.L15:
				movl	$14, -1104(%ebp)
		.L16:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L17
				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	.L18
		.L17:
		.LBB11:
				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
		.LBE11:
				leal	-284(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L18:
				pushl	-1060(%ebp)
				pushl	-1064(%ebp)
				pushl	-1068(%ebp)
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1068(%ebp)
				pushl	$2
				pushl	$8
				pushl	-1104(%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
		.L19:
				movl	$0, %eax
				movl	-28(%ebp), %edi
				xorl	%gs:20, %edi
				je	.L21
				call	__stack_chk_fail_local
		.L21:
				leal	-16(%ebp), %esp
				popl	%ecx
				popl	%ebx
				popl	%esi
				popl	%edi
				popl	%ebp
				leal	-4(%ecx), %esp
				ret
		.LFE189:
				.section	.data.rel.local,"aw",@progbits
				.align 4
		TEST2.6029:
				.long	.L4
				.long	.L3
				.align 4
		TEST3.6035:
				.long	.L14
				.long	.L14
				.long	.L5
				.align 4
		TEST1.6024:
				.long	.L6
				.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:
    7 Statements compiled
