         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
		.Ltext0:
				.globl	main
		main:
		.LFB185:
		.LVL0:
				subq	$1304, %rsp
				movq	%fs:40, %rax
				movq	%rax, 1288(%rsp)
				xorl	%eax, %eax
    2
				call	_imp_initialise@PLT
		.LVL1:
    3   %on %event 9 %start
				movl	$1, %esi
				leaq	536+_imp_event(%rip), %rdi
				call	__sigsetjmp@PLT
		.LVL2:
				testl	%eax, %eax
				jne	.L3
		.LVL3:
				movl	$512, %esi
				leaq	_imp_event(%rip), %rdi
				call	_imp_on_event_enter@PLT
		.LVL4:
				testq	%rax, %rax
				je	.L3
		.L4:
		.LVL5:
		.LBB16:
    4     print string("Cannot open file"); newline
				movabsq	$8007528159407661379, %rax
				movabsq	$7308332182667158896, %rdx
				movq	%rax, 257(%rsp)
				movq	%rdx, 265(%rsp)
				movq	$0, 273(%rsp)
				movq	$0, 281(%rsp)
				leaq	289(%rsp), %rdi
				movl	$223, %ecx
				movl	$0, %eax
				rep stosb
				movb	$16, 256(%rsp)
				movq	%rsp, %rdi
				leaq	256(%rsp), %rsi
				movl	$32, %ecx
				rep movsq
		.LVL10:
				movb	$16, (%rsp)
				leaq	768(%rsp), %rdi
				movq	%rsp, %rsi
				movl	$32, %ecx
				rep movsq
		.LBE21:
		.LBB22:
		.LBB23:
				subq	$256, %rsp
				leaq	1024(%rsp), %rsi
				movl	$32, %ecx
				movq	%rsp, %rdi
				rep movsq
				call	_imp_printstring@PLT
		.LVL11:
				addq	$256, %rsp
		.LBE23:
		.LBE22:
		.LBB24:
		.LBB25:
				call	_imp_newline@PLT
		.LVL12:
		.LBE25:
		.LBE24:
		.LBB26:
		.LBB27:
				movl	$0, %edi
				call	exit@PLT
		.LVL13:
		.LBE27:
		.LBE26:
		.LFE185:
		.Letext0:
    5     %stop
    6   %finish
    7
    8   open input(1, "non-existent-file.txt");
				movabsq	$8316310562865573742, %rax
				movabsq	$7811887374063789428, %rdx
				movq	%rax, 257(%rsp)
				movq	%rdx, 265(%rsp)
				movabsq	$500237086309, %rax
				movl	$0, %edx
				movq	%rax, 273(%rsp)
				movq	%rdx, 281(%rsp)
				leaq	289(%rsp), %rdi
				movl	$223, %ecx
				movl	$0, %eax
				rep stosb
				movb	$21, 256(%rsp)
				leaq	512(%rsp), %rdi
				leaq	256(%rsp), %rsi
				movl	$32, %ecx
				rep movsq
		.LVL6:
				movb	$21, 512(%rsp)
				leaq	1024(%rsp), %rdi
				leaq	512(%rsp), %rsi
				movl	$32, %ecx
				rep movsq
		.LBE16:
		.LBB17:
		.LBB18:
				subq	$256, %rsp
				leaq	1280(%rsp), %rsi
				movl	$32, %ecx
				movq	%rsp, %rdi
				rep movsq
				movl	$1, %edi
				call	_imp_openinput@PLT
		.LVL7:
				addq	$256, %rsp
		.LVL8:
		.LBE18:
		.LBE17:
		.LBB19:
		.LBB20:
				movl	$0, %edi
				call	exit@PLT
		.LVL9:
		.L3:
		.LBE20:
		.LBE19:
		.LBB21:
    9
   10 %endofprogram
    8 Statements compiled
