         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.section	.rodata.str1.8,"aMS",@progbits,1
				.align 8
		.LC1:
				.asciz	"->SW(%d) out of bounds at %s line %d"
				.align 8
		.LC2:
				.asciz	"test-new/noswitch.imp"
				.align 8
		.LC3:
				.asciz	"switch jump to undefined label SW(%d): at %s line %d"
				.align 8
		.LC4:
				.asciz	"switch jump to undefined label TOPLEVEL(%d): at %s line %d"
				.section	".rodata"
		.LC0:
				.byte	21
				.asciz	"test-new/noswitch.imp"
				.skip	233
				.section	".text"
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g2, #scratch
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -1504, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2   %switch toplevel(0:1)
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.L2:
		.LDL1:
		.LBB10:
    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)
   17
   18   sw(4):
   19     %stop
   20   %end
?ANOTHER unused
   21
   22 %endofprogram
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L21
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1527, %o0
		.LVL3:
				sethi	%hi(_imp_current_line), %g1
		.L24:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				move	%icc, 22, %i5
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 751, %o0
		.LVL4:
				mov	16, %g1
				stx	%g1, [%sp+2239]
				sethi	%hi(.LC2), %g1
				or	%g1, %lo(.LC2), %g1
				stx	%g1, [%sp+2231]
				mov	34, %g1
				stx	%g1, [%sp+2223]
				sethi	%hi(.LC1), %o5
				or	%o5, %lo(.LC1), %o5
				mov	34, %o4
				mov	3, %o3
				mov	6, %o2
				sra	%i5, 0, %o1
				call	_signal_eventf, 0
				 add	%fp, 751, %o0
		.LVL5:
				jmp	0
				 nop
		.L5:
		.LVL6:
		.LBB11:
		.LBB12:
				call	exit, 0
				 mov	0, %o0
		.LVL7:
		.L21:
		.LBE12:
		.LBE11:
		.LBB13:
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL8:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL9:
		.LBE13:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL10:
		.LBE10:
				ba,pt	%xcc, .L24
				 sethi	%hi(_imp_current_line), %g1
		.L8:
		.LBB15:
   12 Statements compiled
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L9
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1783, %o0
		.LVL11:
				sethi	%hi(_imp_current_line), %g1
		.L25:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				be,a,pt	%icc, .L11
				 mov	25, %i5
		.L11:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 751, %o0
		.LVL12:
				mov	16, %g1
				stx	%g1, [%sp+2239]
				sethi	%hi(.LC2), %g1
				or	%g1, %lo(.LC2), %g1
				stx	%g1, [%sp+2231]
				mov	34, %g1
				stx	%g1, [%sp+2223]
				sethi	%hi(.LC3), %o5
				or	%o5, %lo(.LC3), %o5
				mov	34, %o4
				mov	2, %o3
				mov	8, %o2
				sra	%i5, 0, %o1
				call	_signal_eventf, 0
				 add	%fp, 751, %o0
		.LVL13:
		.LDL2:
		.LBE15:
		.LBB16:
		.LBB17:
				call	exit, 0
				 mov	0, %o0
		.LVL14:
		.L9:
		.LBE17:
		.LBE16:
		.LBB18:
		.LBB14:
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL15:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL16:
		.LBE14:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL17:
		.LBE18:
				ba,pt	%xcc, .L25
				 sethi	%hi(_imp_current_line), %g1
		.L12:
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L13
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1783, %o0
		.LVL18:
				sethi	%hi(_imp_current_line), %g1
		.L26:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				be,a,pn	%icc, .L15
				 mov	29, %i5
		.L15:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 751, %o0
		.LVL19:
				mov	0, %o4
				stx	%g0, [%sp+2239]
				stx	%g0, [%sp+2231]
				stx	%o4, [%sp+2223]
				sethi	%hi(.LC4), %o5
				or	%o5, %lo(.LC4), %o5
				mov	2, %o3
				mov	8, %o2
				sra	%i5, 0, %o1
				call	_signal_eventf, 0
				 add	%fp, 751, %o0
		.LVL20:
		.LDL3:
				mov	0, %i0
				ldx	[%fp+2039], %g1
				ldx	[%g7+40], %g2
				xor	%g1, %g2, %g1
				mov	0, %g2
				brnz,pn	%g1, .L23
				 nop
				return	%i7+8
				 nop
		.L13:
		.LBB19:
				sethi	%hi(.LC0), %o1
				or	%o1, %lo(.LC0), %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL21:
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL22:
		.LBE19:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL23:
				ba,pt	%xcc, .L26
				 sethi	%hi(_imp_current_line), %g1
		.L23:
				call	__stack_chk_fail, 0
				 nop
		.LVL24:
				nop
		.LFE185:
		.Letext0:
