         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC1:
				.string	"test-in/noswitch.imp"
				.align 4
		.LC2:
				.string	"->SW(%d) out of bounds at %s line %d"
				.align 4
		.LC3:
				.string	"switch jump to undefined label SW(%d): at %s line %d"
				.align 4
		.LC4:
				.string	"switch jump to undefined label TOPLEVEL(%d): at %s line %d"
				.align 32
		.LC0:
				.byte	20
				.string	"test-in/noswitch.imp"
				.zero	234
				.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
				leal	8(%ebp), %edx
				movl	%edx, -1088(%ebp)
				subl	$8, %esp
				pushl	-1100(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
		.L2:
		.LBB11:
    2   %switch toplevel(0:1)
    3   toplevel(0):
    4   %begin
    5
    6     %routine another
    7       %switch in a routine(-3:7)
    8
    9       ->in a routine (-1)
   10
   11       in a routine(5):
   12     %end
   13
   14     %switch sw(0:9)
   15
   16     ->sw(34)
				movl	$16, -1084(%ebp)
				leal	.LC1@GOTOFF(%ebx), %eax
				movl	%eax, -1080(%ebp)
				movl	$34, -1076(%ebp)
				nop
		.L3:
   17
   18   sw(4):
   19     %stop
   20   %end
				cmpl	$0, -1076(%ebp)
				js	.L5
				jmp	.L26
		.L4:
				movl	$0, -1060(%ebp)
		.LBB12:
		.LBB13:
				subl	$12, %esp
				pushl	-1060(%ebp)
				call	exit@PLT
		.L26:
		.LBE13:
		.LBE12:
				cmpl	$9, -1076(%ebp)
				jle	.L6
		.L5:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L7
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1104(%ebp)
				jmp	.L8
		.L7:
				movl	$20, -1104(%ebp)
		.L8:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L9
				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	.L10
		.L9:
		.LBB14:
				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
		.LBE14:
				leal	-540(%ebp), %eax
				leal	-1052(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L10:
				pushl	-1084(%ebp)
				pushl	-1080(%ebp)
				pushl	-1076(%ebp)
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1076(%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
		.L6:
				movl	-1076(%ebp), %eax
				movl	SW.6044@GOTOFF(%ebx,%eax,4), %eax
				nop
				jmp	*%eax
		.L12:
				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, -1104(%ebp)
				jmp	.L14
		.L13:
				movl	$20, -1104(%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	-284(%ebp), %eax
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				jmp	.L16
		.L15:
		.LBB15:
				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
		.LBE15:
				leal	-284(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L16:
				pushl	-1084(%ebp)
				pushl	-1080(%ebp)
				pushl	-1076(%ebp)
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1076(%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
		.L17:
				movl	$0, -1056(%ebp)
		.LBE11:
		.LBB16:
		.LBB17:
				subl	$12, %esp
				pushl	-1056(%ebp)
				call	exit@PLT
		.L18:
		.LBE17:
		.LBE16:
?ANOTHER unused
   21
   22 %endofprogram
				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, -1104(%ebp)
				jmp	.L20
		.L19:
				movl	$22, -1104(%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	-284(%ebp), %eax
				subl	$8, %esp
				pushl	%edx
				pushl	%eax
				call	_imp_c2istr@PLT
				addl	$12, %esp
				jmp	.L22
		.L21:
		.LBB18:
				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
		.LBE18:
				leal	-284(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L22:
				pushl	-1064(%ebp)
				pushl	-1068(%ebp)
				pushl	-1072(%ebp)
				leal	.LC4@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1072(%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
		.L23:
				movl	$0, %eax
				movl	-28(%ebp), %edi
				xorl	%gs:20, %edi
				je	.L25
				call	__stack_chk_fail_local
		.L25:
				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 32
		SW.6044:
				.long	.L12
				.long	.L12
				.long	.L12
				.long	.L12
				.long	.L4
				.long	.L12
				.long	.L12
				.long	.L12
				.long	.L12
				.long	.L12
				.align 4
		TOPLEVEL.6024:
				.long	.L2
				.long	.L18
				.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:
		.LFB191:
				movl	(%esp), %ebx
				ret
		.LFE191:
		.Letext0:
   12 Statements compiled
