	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Plot
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
LCPI0_1:
	.long	16                              ## 0x10
	.long	32                              ## 0x20
	.long	64                              ## 0x40
	.long	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_Plot:                                  ## @Plot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	_charset@GOTPCREL(%rip), %rax
	andl	$127, %edx
	shll	$3, %edx
	shlq	$2, %rdx
	addq	(%rax), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	_Screen_atari@GOTPCREL(%rip), %rax
	movq	_Screen_WIDTH@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rbx
	shlq	$5, %rbx
	addq	(%rax), %rbx
	movl	%esi, %r15d
	movl	%edi, %r12d
	imull	%r8d, %edx
	shll	$3, %edx
	movslq	%edx, %rax
	leaq	(%rbx,%rax,4), %rax
	shll	$3, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rbx
	addq	$128, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leal	12(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leal	16(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leal	20(%rbx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leal	24(%rbx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	leal	28(%rbx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movd	(%rax,%r14,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, %xmm1
	pand	LCPI0_0(%rip), %xmm1
	pand	LCPI0_1(%rip), %xmm0
	pxor	%xmm2, %xmm2
	pcmpeqd	%xmm2, %xmm0
	pcmpeqd	%xmm2, %xmm1
	packssdw	%xmm0, %xmm1
	packsswb	%xmm1, %xmm1
	pmovmskb	%xmm1, %r13d
	testb	$-128, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	%ebx, %edi
	callq	_ANTIC_VideoPutByte
	testb	$64, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	testb	$32, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	testb	$16, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	testb	$8, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	testb	$4, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	testb	$2, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	testb	$1, %r13b
	movl	%r12d, %esi
	cmovnel	%r15d, %esi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_ANTIC_VideoPutByte
	movq	_Screen_WIDTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rbx
	incq	%r14
	cmpl	$8, %r14d
	jne	LBB0_1
## %bb.2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_charset,8,3                    ## @charset
	.comm	_Screen_atari,8,3               ## @Screen_atari
	.comm	_Screen_WIDTH,4,2               ## @Screen_WIDTH
	.comm	_colour_translation_table,8,3   ## @colour_translation_table
	.no_dead_strip	_Plot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Plot
_Plot:                                  ; @Plot
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x24, #0
Lloh0:
	adrp	x8, _charset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _charset@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ubfiz	w9, w2, #3, #7
	add	x25, x8, w9, uxtw #2
Lloh3:
	adrp	x8, _Screen_atari@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Screen_atari@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x26, _Screen_WIDTH@GOTPAGE
Lloh7:
	ldr	x26, [x26, _Screen_WIDTH@GOTPAGEOFF]
	ldr	w9, [x26]
	add	w10, w9, w9, lsl #1
	lsl	w10, w10, #3
	add	x8, x8, w10, sxtw #2
	mul	w9, w4, w9
	lsl	w9, w9, #3
	add	x8, x8, w9, sxtw #2
	lsl	w9, w3, #3
	add	x8, x8, w9, sxtw #2
	add	x21, x8, #128
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x25, x24]
	add	w22, w21, #4
	tst	w27, #0x80
	csel	w1, w19, w20, eq
	mov	x0, x21
	bl	_ANTIC_VideoPutByte
	add	w23, w21, #8
	tst	w27, #0x40
	csel	w1, w19, w20, eq
	mov	x0, x22
	bl	_ANTIC_VideoPutByte
	add	w22, w21, #12
	tst	w27, #0x20
	csel	w1, w19, w20, eq
	mov	x0, x23
	bl	_ANTIC_VideoPutByte
	add	w23, w21, #16
	tst	w27, #0x10
	csel	w1, w19, w20, eq
	mov	x0, x22
	bl	_ANTIC_VideoPutByte
	add	w22, w21, #20
	tst	w27, #0x8
	csel	w1, w19, w20, eq
	mov	x0, x23
	bl	_ANTIC_VideoPutByte
	add	w23, w21, #24
	tst	w27, #0x4
	csel	w1, w19, w20, eq
	mov	x0, x22
	bl	_ANTIC_VideoPutByte
	add	w22, w21, #28
	tst	w27, #0x2
	csel	w1, w19, w20, eq
	mov	x0, x23
	bl	_ANTIC_VideoPutByte
	tst	w27, #0x1
	csel	w1, w19, w20, eq
	mov	x0, x22
	bl	_ANTIC_VideoPutByte
	ldrsw	x8, [x26]
	add	x21, x21, x8, lsl #2
	add	x24, x24, #4
	cmp	w24, #32
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_charset,8,3                    ; @charset
	.comm	_Screen_atari,8,3               ; @Screen_atari
	.comm	_Screen_WIDTH,4,2               ; @Screen_WIDTH
	.comm	_colour_translation_table,8,3   ; @colour_translation_table
	.no_dead_strip	_Plot
.subsections_via_symbols
