         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.align	1
				.global	main
				.thumb
				.thumb_func
		main:
		.LFB185:
				@ args = 0, pretend = 0, frame = 1032
				@ frame_needed = 0, uses_anonymous_args = 0
		.LVL0:
				push	{r4, r5, r6, r7, lr}
				subw	sp, sp, #1308
				ldr	r4, .L24
		.LPIC0:
				add	r4, pc
				ldr	r3, .L24+4
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				str	r3, [sp, #1300]
    2   %switch toplevel(0:1)
				bl	_imp_initialise(PLT)
		.LVL1:
		.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
				ldr	r3, .L24+8
				ldr	r3, [r4, r3]
				ldr	r1, [r3]
				cbz	r1, .L22
				add	r0, sp, #788
				bl	_imp_c2istr(PLT)
		.LVL2:
		.L6:
				ldr	r3, .L24+12
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				cmp	r3, #0
				it	eq
				moveq	r3, #22
				movs	r2, #16
				str	r2, [sp, #268]
				ldr	r2, .L24+16
		.LPIC2:
				add	r2, pc
				str	r2, [sp, #264]
				movs	r2, #34
				str	r2, [sp, #260]
				ldr	r1, .L24+20
		.LPIC3:
				add	r1, pc
				str	r1, [sp, #256]
				str	r2, [sp, #252]
				movs	r2, #3
				str	r2, [sp, #248]
				movs	r2, #6
				str	r2, [sp, #244]
				str	r3, [sp, #240]
				movs	r2, #240
				add	r1, sp, #804
				mov	r0, sp
				bl	memcpy(PLT)
		.LVL3:
				add	r3, sp, #788
				ldm	r3, {r0, r1, r2, r3}
				bl	_signal_eventf(PLT)
		.LVL4:
				movs	r3, #1
				bx	r3
		.L5:
		.LVL5:
		.LBB11:
		.LBB12:
				movs	r0, #0
				bl	exit(PLT)
		.LVL6:
		.L22:
		.LBE12:
		.LBE11:
		.LBB13:
				mov	r6, #256
				mov	r2, r6
				ldr	r1, .L24+24
		.LPIC1:
				add	r1, pc
				addw	r5, sp, #1044
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL7:
				mov	r2, r6
				mov	r1, r5
				add	r5, sp, #276
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL8:
		.LBE13:
				mov	r2, r6
				mov	r1, r5
				add	r0, sp, #788
				bl	memcpy(PLT)
		.LVL9:
				b	.L6
		.L8:
   12 Statements compiled
				ldr	r3, .L24+8
				ldr	r3, [r4, r3]
				ldr	r1, [r3]
				cbz	r1, .L9
				addw	r0, sp, #1044
				bl	_imp_c2istr(PLT)
		.LVL10:
		.L10:
				ldr	r3, .L24+12
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				cmp	r3, #0
				it	eq
				moveq	r3, #25
				movs	r2, #16
				str	r2, [sp, #268]
				ldr	r2, .L24+28
		.LPIC5:
				add	r2, pc
				str	r2, [sp, #264]
				movs	r2, #34
				str	r2, [sp, #260]
				ldr	r1, .L24+32
		.LPIC6:
				add	r1, pc
				str	r1, [sp, #256]
				str	r2, [sp, #252]
				movs	r2, #2
				str	r2, [sp, #248]
				movs	r2, #8
				str	r2, [sp, #244]
				str	r3, [sp, #240]
				movs	r2, #240
				addw	r1, sp, #1060
				mov	r0, sp
				bl	memcpy(PLT)
		.LVL11:
				addw	r3, sp, #1044
				ldm	r3, {r0, r1, r2, r3}
				bl	_signal_eventf(PLT)
		.LVL12:
		.LDL2:
		.LBE10:
		.LBB15:
		.LBB16:
				movs	r0, #0
				bl	exit(PLT)
		.LVL13:
		.L9:
		.LBE16:
		.LBE15:
		.LBB17:
		.LBB14:
				mov	r7, #256
				mov	r2, r7
				ldr	r1, .L24+36
		.LPIC4:
				add	r1, pc
				addw	r5, sp, #1044
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL14:
				mov	r2, r7
				mov	r1, r5
				add	r6, sp, #532
				mov	r0, r6
				bl	memcpy(PLT)
		.LVL15:
		.LBE14:
				mov	r2, r7
				mov	r1, r6
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL16:
				b	.L10
		.L12:
		.LBE17:
				ldr	r3, .L24+8
				ldr	r3, [r4, r3]
				ldr	r1, [r3]
				cbz	r1, .L13
				addw	r0, sp, #1044
				bl	_imp_c2istr(PLT)
		.LVL17:
		.L14:
				ldr	r3, .L24+12
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				cmp	r3, #0
				it	eq
				moveq	r3, #29
				movs	r2, #0
				str	r2, [sp, #268]
				str	r2, [sp, #264]
				str	r2, [sp, #260]
				ldr	r1, .L24+40
		.LPIC8:
				add	r1, pc
				str	r1, [sp, #256]
				str	r2, [sp, #252]
				movs	r2, #2
				str	r2, [sp, #248]
				movs	r2, #8
				str	r2, [sp, #244]
				str	r3, [sp, #240]
				movs	r2, #240
				addw	r1, sp, #1060
				mov	r0, sp
				bl	memcpy(PLT)
		.LVL18:
				addw	r3, sp, #1044
				ldm	r3, {r0, r1, r2, r3}
				bl	_signal_eventf(PLT)
		.LVL19:
		.LDL3:
				movs	r0, #0
				ldr	r3, .L24+4
				ldr	r3, [r4, r3]
				ldr	r2, [sp, #1300]
				ldr	r3, [r3]
				cmp	r2, r3
				bne	.L23
				addw	sp, sp, #1308
				@ sp needed
				pop	{r4, r5, r6, r7, pc}
		.L13:
		.LBB18:
				mov	r7, #256
				mov	r2, r7
				ldr	r1, .L24+44
		.LPIC7:
				add	r1, pc
				addw	r5, sp, #1044
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL20:
				mov	r2, r7
				mov	r1, r5
				add	r6, sp, #532
				mov	r0, r6
				bl	memcpy(PLT)
		.LVL21:
		.LBE18:
				mov	r2, r7
				mov	r1, r6
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL22:
				b	.L14
		.L23:
				bl	__stack_chk_fail(PLT)
		.LVL23:
		.L25:
				.align	2
		.L24:
				.word	_GLOBAL_OFFSET_TABLE_-(.LPIC0+4)
				.word	__stack_chk_guard(GOT)
				.word	_imp_current_file(GOT)
				.word	_imp_current_line(GOT)
				.word	.LC1-(.LPIC2+4)
				.word	.LC2-(.LPIC3+4)
				.word	.LANCHOR0-(.LPIC1+4)
				.word	.LC1-(.LPIC5+4)
				.word	.LC3-(.LPIC6+4)
				.word	.LANCHOR0-(.LPIC4+4)
				.word	.LC4-(.LPIC8+4)
				.word	.LANCHOR0-(.LPIC7+4)
		.LFE185:
				.section	.rodata
				.align	2
				.set	.LANCHOR0,. + 0
		.LC0:
				.byte	21
				.ascii	"test-new/noswitch.imp\000"
				.space	233
				.section	.rodata.str1.4,"aMS",%progbits,1
				.align	2
		.LC1:
				.ascii	"test-new/noswitch.imp\000"
				.space	2
		.LC2:
				.ascii	"->SW(%d) out of bounds at %s line %d\000"
				.space	3
		.LC3:
				.ascii	"switch jump to undefined label SW(%d): at %s line %"
				.ascii	"d\000"
				.space	3
		.LC4:
				.ascii	"switch jump to undefined label TOPLEVEL(%d): at %s "
				.ascii	"line %d\000"
		.Letext0:
