         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.section	.rodata
		.LC1:
				.string	"test-in/39.imp"
				.align 4
		.LC2:
				.string	"->SWLAB(%d) out of bounds at %s line %d"
				.align 4
		.LC3:
				.string	"switch jump to undefined label SWLAB(%d): at %s line %d"
				.align 32
		.LC0:
				.byte	14
				.string	"test-in/39.imp"
				.zero	240
				.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	$1080, %esp
				call	__x86.get_pc_thunk.bx
				addl	$_GLOBAL_OFFSET_TABLE_, %ebx
				movl	%ecx, %eax
				movl	4(%eax), %edx
				movl	%edx, -1084(%ebp)
				movl	%gs:20, %esi
				movl	%esi, -28(%ebp)
				xorl	%esi, %esi
				subl	$8, %esp
				pushl	-1084(%ebp)
				pushl	(%eax)
				call	_imp_initialise@PLT
				addl	$16, %esp
    2   %switch swlab(0:5)
    3   %integer i
    4   ->swlab(i)
				movl	$4, -1072(%ebp)
				leal	.LC1@GOTOFF(%ebx), %eax
				movl	%eax, -1068(%ebp)
				movl	-1064(%ebp), %eax
				movl	%eax, -1060(%ebp)
				nop
		.L2:
    5 swlab(4): ! hello
    6 %endofprogram
				cmpl	$0, -1060(%ebp)
				js	.L4
				jmp	.L19
		.L3:
				movl	$0, -1056(%ebp)
		.LBB6:
		.LBB7:
				subl	$12, %esp
				pushl	-1056(%ebp)
				call	exit@PLT
		.L19:
		.LBE7:
		.LBE6:
				cmpl	$5, -1060(%ebp)
				jle	.L5
		.L4:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L6
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1088(%ebp)
				jmp	.L7
		.L6:
				movl	$6, -1088(%ebp)
		.L7:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L8
				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	.L9
		.L8:
		.LBB8:
				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
		.LBE8:
				leal	-540(%ebp), %eax
				leal	-1052(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L9:
				pushl	-1072(%ebp)
				pushl	-1068(%ebp)
				pushl	-1060(%ebp)
				leal	.LC2@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1060(%ebp)
				pushl	$3
				pushl	$6
				pushl	-1088(%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
		.L5:
				movl	-1060(%ebp), %eax
				movl	SWLAB.6024@GOTOFF(%ebx,%eax,4), %eax
				nop
				jmp	*%eax
		.L11:
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L12
				movl	_imp_current_line@GOT(%ebx), %eax
				movl	(%eax), %eax
				movl	%eax, -1088(%ebp)
				jmp	.L13
		.L12:
				movl	$6, -1088(%ebp)
		.L13:
				movl	_imp_current_file@GOT(%ebx), %eax
				movl	(%eax), %eax
				testl	%eax, %eax
				je	.L14
				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	.L15
		.L14:
		.LBB9:
				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
		.LBE9:
				leal	-284(%ebp), %eax
				leal	-796(%ebp), %edx
				movl	$64, %ecx
				movl	%eax, %edi
				movl	%edx, %esi
				rep movsl
		.L15:
				pushl	-1072(%ebp)
				pushl	-1068(%ebp)
				pushl	-1060(%ebp)
				leal	.LC3@GOTOFF(%ebx), %eax
				pushl	%eax
				pushl	-1060(%ebp)
				pushl	$2
				pushl	$8
				pushl	-1088(%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
		.L16:
				movl	$0, %eax
				movl	-28(%ebp), %edi
				xorl	%gs:20, %edi
				je	.L18
				call	__stack_chk_fail_local
		.L18:
				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 4
		SWLAB.6024:
				.long	.L11
				.long	.L11
				.long	.L11
				.long	.L11
				.long	.L3
				.long	.L11
				.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:
		.LFB190:
				movl	(%esp), %ebx
				ret
		.LFE190:
		.Letext0:
    5 Statements compiled
