         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.option nopic
		.Ltext0:
				.align	1
				.globl	main
		main:
		.LFB185:
		.LVL0:
				add	sp,sp,-1328
				sd	ra,1320(sp)
				sd	s0,1312(sp)
				lui	a5,%hi(__stack_chk_guard)
				ld	a5,%lo(__stack_chk_guard)(a5)
				sd	a5,1304(sp)
    2   %switch swlab(0:5)
				call	_imp_initialise
		.LVL1:
		.LDL1:
    3   %integer i
    4   ->swlab(i)
    5 swlab(4): ! hello
    6 %endofprogram
    5 Statements compiled
				lui	a5,%hi(.LANCHOR0+256)
				ld	a5,%lo(.LANCHOR0+256)(a5)
				jr	a5
		.L4:
		.LVL2:
		.LBB6:
		.LBB7:
				li	a0,0
				call	exit
		.LVL3:
		.L8:
		.LBE7:
		.LBE6:
				lui	a5,%hi(_imp_current_file)
				ld	a1,%lo(_imp_current_file)(a5)
				beqz	a1,.L9
				add	a0,sp,1048
				call	_imp_c2istr
		.LVL4:
		.L10:
				lui	a5,%hi(_imp_current_line)
				lw	s0,%lo(_imp_current_line)(a5)
				beqz	s0,.L16
		.L11:
				li	a2,256
				add	a1,sp,1048
				add	a0,sp,16
				call	memcpy
		.LVL5:
				li	a5,4
				sd	a5,0(sp)
				lui	a7,%hi(.LC1)
				addi	a7,a7,%lo(.LC1)
				li	a4,0
				mv	a6,a4
				lui	a5,%hi(.LC3)
				addi	a5,a5,%lo(.LC3)
				li	a3,2
				li	a2,8
				mv	a1,s0
				add	a0,sp,16
				call	_signal_eventf
		.LVL6:
		.LDL2:
				li	a0,0
				ld	a4,1304(sp)
				lui	a5,%hi(__stack_chk_guard)
				ld	a5,%lo(__stack_chk_guard)(a5)
				bne	a4,a5,.L17
				ld	ra,1320(sp)
				ld	s0,1312(sp)
				add	sp,sp,1328
				jr	ra
		.L9:
		.LBB8:
				li	a2,256
				lui	a1,%hi(.LANCHOR0)
				addi	a1,a1,%lo(.LANCHOR0)
				add	a0,sp,1048
				call	memcpy
		.LVL7:
				li	a2,256
				add	a1,sp,1048
				add	a0,sp,536
				call	memcpy
		.LVL8:
		.LBE8:
				li	a2,256
				add	a1,sp,536
				add	a0,sp,1048
				call	memcpy
		.LVL9:
				j	.L10
		.L16:
				li	s0,13
				j	.L11
		.L17:
				call	__stack_chk_fail
		.LVL10:
		.LFE185:
				.section	.rodata
				.align	3
				.set	.LANCHOR0,. + 0
		.LC0:
				.byte	15
				.string	"test-new/39.imp"
				.zero	239
		SWLAB.6004:
				.dword	.L8
				.dword	.L8
				.dword	.L8
				.dword	.L8
				.dword	.L4
				.dword	.L8
				.section	.rodata.str1.8,"aMS",@progbits,1
				.align	3
		.LC1:
				.string	"test-new/39.imp"
		.LC2:
				.string	"->SWLAB(%d) out of bounds at %s line %d"
		.LC3:
				.string	"switch jump to undefined label SWLAB(%d): at %s line %d"
		.Letext0:
