	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_POKEY_Frame                    ## -- Begin function POKEY_Frame
	.p2align	4, 0x90
_POKEY_Frame:                           ## @POKEY_Frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_POKEY_AUDCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_POKEY_POLY9@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_POKEY_POLY17_SIZE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_POKEY_POLY9_SIZE@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	_random_scanline_counter@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	cltd
	idivl	(%rcx)
	movl	%edx, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POKEY_AUDCTL,8,3               ## @POKEY_AUDCTL
	.comm	_POKEY_POLY9,4,2                ## @POKEY_POLY9
	.comm	_POKEY_POLY9_SIZE,4,2           ## @POKEY_POLY9_SIZE
	.comm	_POKEY_POLY17_SIZE,4,2          ## @POKEY_POLY17_SIZE
	.comm	_random_scanline_counter,4,2    ## @random_scanline_counter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_POKEY_Frame                    ; -- Begin function POKEY_Frame
	.p2align	2
_POKEY_Frame:                           ; @POKEY_Frame
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _POKEY_AUDCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POKEY_AUDCTL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _POKEY_POLY9@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POKEY_POLY9@GOTPAGEOFF]
Lloh5:
	adrp	x10, _POKEY_POLY9_SIZE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _POKEY_POLY9_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x11, _POKEY_POLY17_SIZE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _POKEY_POLY17_SIZE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _random_scanline_counter@GOTPAGE
Lloh11:
	ldr	x9, [x9, _random_scanline_counter@GOTPAGEOFF]
	ldr	w10, [x9]
	sdiv	w11, w10, w8
	msub	w8, w11, w8, w10
	str	w8, [x9]
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_POKEY_AUDCTL,8,3               ; @POKEY_AUDCTL
	.comm	_POKEY_POLY9,4,2                ; @POKEY_POLY9
	.comm	_POKEY_POLY9_SIZE,4,2           ; @POKEY_POLY9_SIZE
	.comm	_POKEY_POLY17_SIZE,4,2          ; @POKEY_POLY17_SIZE
	.comm	_random_scanline_counter,4,2    ; @random_scanline_counter
.subsections_via_symbols
