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 (QUOTE NIL)) 
	(CALL 3 (E PRINRAD1)) 
	(SUB P (C 0 0 2 2)) 
	(MOVE 2 (SPECIAL CTAB)) 
	(MOVE 1 (SPECIAL TITLE)) 
	(CALL 2 (E CONS)) 
	(CALL 1 (E LAYOUT)) 
	(MOVEI 1 (QUOTE NIL)) 
	(SUB P (C 0 0 1 1)) 
	(JRST 0 SPECSTR) 
	NIL 

(LAP PRINENTRY SUBR) 
	(PUSH P 2) 
	(MOVE 2 3) 
	(EXCH 1 0 P) 
	(CALL 2 (E CONS)) 
	(POP P 2) 
	(CALL 2 (E XCONS)) 
	(MOVE 2 (SPECIAL CTAB)) 
	(CALL 2 (E CONS)) 
	(MOVEM 1 (SPECIAL CTAB)) 
	(POPJ P) 
	NIL 

(LAP XDRAW SUBR) 
	(PUSH P 2) 
	(CALL 1 (E SCALX)) 
	(EXCH 1 0 P) 
	(CALL 1 (E SCALY)) 
	(MOVE 2 1) 
	(POP P 1) 
	(JCALL 2 (E AVECT)) 
	NIL 

(LAP POSLABELL SUBR) 
	(PUSH P 3) 
	(CALL 2 (E POS)) 
	(POP P 1) 
	(PUSH P (SPECIAL LABELL)) 
	(CALLF@ 1 0 P) 
	(SUB P (C 0 0 1 1)) 
	(POPJ P) 
	NIL 

(LAP LINE SUBR) 
	(JSP 6 SPECBIND) 
	(0 1 (SPECIAL X1)) 
	(PUSH P 3) 
	(PUSH P 4) 
	(CALL 2 (E POS)) 
	(POP P 2) 
	(POP P 1) 
	(CALL 2 (E XDRAW)) 
	(JRST 0 SPECSTR) 
	NIL 

(LAP SETSCALE SUBR) 
	(PUSH P 1) 
	(PUSH P 2) 
	(PUSH P 3) 
	(PUSH P 4) 
	(CALL 1 (E MINUS)) 
	(MOVEM 1 (SPECIAL XBOT)) 
	(MOVE 2 -3 P) 
	(MOVE 1 -2 P) 
	(PUSH P (SPECIAL REALWIDTH)) 
	(CALL 2 (E *DIF)) 
	(MOVEI 2 (QUOTE 1)) 
	(CALL 2 (E *PLUS)) 
	(MOVE 2 1) 
	(POP P 1) 
	(CALL 2 (E *QUO)) 
	(MOVEM 1 (SPECIAL XSCL)) 
	(MOVE 1 -1 P) 
	(CALL 1 (E MINUS)) 
	(MOVEM 1 (SPECIAL YBOT)) 
	(MOVE 2 -1 P) 
	(MOVE 1 0 P) 
	(PUSH P (SPECIAL REALHEIGHT)) 
	(CALL 2 (E *DIF)) 
	(MOVEI 2 (QUOTE 1)) 
	(CALL 2 (E *PLUS)) 
	(MOVE 2 1) 
	(POP P 1) 
	(CALL 2 (E *QUO)) 
	(MOVEM 1 (SPECIAL YSCL)) 
	(MOVEI 1 (QUOTE NIL)) 
	(SUB P (C 0 0 4 4)) 
	(POPJ P) 
	NIL 

(LAP POS SUBR) 
	(PUSH P 2) 
	(CALL 1 (E SCALX)) 
	(EXCH 1 0 P) 
	(CALL 1 (E SCALY)) 
	(MOVE 2 1) 
	(POP P 1) 
	(JCALL 2 (E AIVECT)) 
	NIL 

(LAP SCALX SUBR) 
	(MOVE 4 (SPECIAL REALEFT)) 
	(MOVE 3 (SPECIAL XSCL)) 
	(MOVE 2 (SPECIAL XBOT)) 
	(JCALL 4 (E SCALE)) 
	NIL 

(LAP SCALY SUBR) 
	(MOVE 4 (SPECIAL REALBOT)) 
	(MOVE 3 (SPECIAL YSCL)) 
	(MOVE 2 (SPECIAL YBOT)) 
	(JCALL 4 (E SCALE)) 
	NIL 

(LAP SCALE SUBR) 
	(PUSH P 3) 
	(PUSH P 4) 
	(CALL 2 (E *PLUS)) 
	(MOVE 2 -1 P) 
	(CALL 2 (E *TIMES)) 
	(MOVEI 2 (QUOTE 0.5)) 
	(CALL 2 (E *PLUS)) 
	(CALL 1 (E FIX)) 
	(POP P 2) 
	(SUB P (C 0 0 1 1)) 
	(JCALL 2 (E *PLUS)) 
	NIL 

(LAP SETPOS SUBR) 
	(PUSH P 1) 
	(PUSH P 2) 
	(MOVEM 1 (SPECIAL XPOS)) 
	(MOVEM 2 (SPECIAL YPOS)) 
	(MOVEI 1 (QUOTE NIL)) 
	(SUB P (C 0 0 2 2)) 
	(POPJ P) 
	NIL 

(LAP RECIP SUBR) 
	(PUSH P 1) 
	(CAIE 1 (QUOTE 0)) 
	(JRST 0 TAG2) 
	(MOVEI 1 (QUOTE 1024)) 
	(JRST 0 TAG1) 
TAG2 	(MOVE 2 0 P) 
	(MOVEI 1 (QUOTE 0.99999899)) 
	(CALL 2 (E *QUO)) 
TAG3 
TAG1 	(SUB P (C 0 0 1 1)) 
	(POPJ P) 
	NIL 

(LAP LABELL SUBR) 
	(PUSH P 1) 
	(CALL 0 (E DTYOS)) 
	(POP P 1) 
	(CALL 1 (E PRIN1)) 
	(PUSH P 1) 
	(CALL 0 (E DTYOU)) 
	(POP P 1) 
	(POPJ P) 
	NIL 

(LAP INITDRAW SUBR) 
	(MOVEI 1 (QUOTE 1)) 
	(CALL 1 (E KILL)) 
	(JCALL 0 (E CLEAR)) 
	NIL 

(LAP ENDDRAW SUBR) 
	(MOVEI 1 (QUOTE 1)) 
	(JCALL 1 (E SHOW)) 
	NIL 

(LAP GEQ SUBR) 
	(CALL 2 (E *LESS)) 
	(JUMPE 1 TAG1) 
	(TDZA 1 1) 
TAG1 	(MOVEI 1 (QUOTE T)) 
	(POPJ P) 
	NIL 

(LAP PAUSE SUBR) 
	(MOVEI 1 (QUOTE "READY?")) 
	(CALL 1 (E PRINC)) 
	(JCALL 0 (E READ)) 
	NIL 

(LAP YINTCP SUBR) 
	(JSP 6 SPECBIND) 
	(0 1 (SPECIAL X1)) 
	(PUSH P 2) 
	(MOVE 1 3) 
	(PUSH P 4) 
	(CALL 2 (E *TIMES)) 
	(POP P 2) 
	(PUSH P 1) 
	(MOVE 1 (SPECIAL X1)) 
	(CALL 2 (E *TIMES)) 
	(MOVE 2 1) 
	(POP P 1) 
	(CALL 2 (E *DIF)) 
	(MOVE 2 (SPECIAL X1)) 
	(EXCH 1 0 P) 
	(CALL 2 (E *DIF)) 
	(POP P 2) 
	(CALL 2 (E XCONS)) 
	(JRST 0 SPECSTR) 
	NIL 

(SETQ REALBOT -500) 

(SETQ REALWIDTH 1000) 

(SETQ REALEFT -500) 

(SETQ REALHEIGHT 1000) 

(INC (INPUT SYS: (LISPDP . LSP))) 

(LOAD T)