         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, .L18
		.LPIC0:
				add	r4, pc
				ldr	r3, .L18+4
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				str	r3, [sp, #1300]
    2   %switch sw(0:9)
				bl	_imp_initialise(PLT)
		.LVL1:
		.LDL1:
    3
    4   ->sw(34)
    5
    6 sw(0):
    7   %stop
    8
    9 %endofprogram
    5 Statements compiled
				ldr	r3, .L18+8
				ldr	r3, [r4, r3]
				ldr	r1, [r3]
				cbz	r1, .L16
				add	r0, sp, #788
				bl	_imp_c2istr(PLT)
		.LVL2:
		.L5:
				ldr	r3, .L18+12
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				cmp	r3, #0
				it	eq
				moveq	r3, #11
				movs	r2, #4
				str	r2, [sp, #268]
				ldr	r2, .L18+16
		.LPIC2:
				add	r2, pc
				str	r2, [sp, #264]
				movs	r2, #34
				str	r2, [sp, #260]
				ldr	r1, .L18+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
		.L4:
		.LVL5:
		.LBB6:
		.LBB7:
				movs	r0, #0
				bl	exit(PLT)
		.LVL6:
		.L16:
		.LBE7:
		.LBE6:
		.LBB8:
				mov	r6, #256
				mov	r2, r6
				ldr	r1, .L18+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:
		.LBE8:
				mov	r2, r6
				mov	r1, r5
				add	r0, sp, #788
				bl	memcpy(PLT)
		.LVL9:
				b	.L5
		.L7:
				ldr	r3, .L18+8
				ldr	r3, [r4, r3]
				ldr	r1, [r3]
				cmp	r1, #0
				beq	.L8
				addw	r0, sp, #1044
				bl	_imp_c2istr(PLT)
		.LVL10:
		.L9:
				ldr	r3, .L18+12
				ldr	r3, [r4, r3]
				ldr	r3, [r3]
				cmp	r3, #0
				it	eq
				moveq	r3, #14
				movs	r2, #4
				str	r2, [sp, #268]
				ldr	r2, .L18+28
		.LPIC5:
				add	r2, pc
				str	r2, [sp, #264]
				movs	r2, #34
				str	r2, [sp, #260]
				ldr	r1, .L18+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:
				movs	r0, #0
				ldr	r3, .L18+4
				ldr	r3, [r4, r3]
				ldr	r2, [sp, #1300]
				ldr	r3, [r3]
				cmp	r2, r3
				bne	.L17
				addw	sp, sp, #1308
				@ sp needed
				pop	{r4, r5, r6, r7, pc}
		.L8:
		.LBB9:
				mov	r7, #256
				mov	r2, r7
				ldr	r1, .L18+36
		.LPIC4:
				add	r1, pc
				addw	r5, sp, #1044
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL13:
				mov	r2, r7
				mov	r1, r5
				add	r6, sp, #532
				mov	r0, r6
				bl	memcpy(PLT)
		.LVL14:
		.LBE9:
				mov	r2, r7
				mov	r1, r6
				mov	r0, r5
				bl	memcpy(PLT)
		.LVL15:
				b	.L9
		.L17:
				bl	__stack_chk_fail(PLT)
		.LVL16:
		.L19:
				.align	2
		.L18:
				.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)
		.LFE185:
				.section	.rodata
				.align	2
				.set	.LANCHOR0,. + 0
		.LC0:
				.byte	18
				.ascii	"test-new/nodef.imp\000"
				.space	236
				.section	.rodata.str1.4,"aMS",%progbits,1
				.align	2
		.LC1:
				.ascii	"test-new/nodef.imp\000"
				.space	1
		.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"
		.Letext0:
