	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmg_dma
_pmg_dma:                               ## @pmg_dma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ANTIC_player_dma_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.1:
	movq	_ANTIC_player_gra_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.2:
	movq	_singleline@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_ANTIC_xe_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	je	LBB0_13
## %bb.3:
	movq	_pmbase_s@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(,%rcx,4), %rdx
	movq	_MEMORY_mem@GOTPCREL(%rip), %rsi
	addq	(%rsi), %rdx
	cmpq	$16384, %rcx                    ## imm = 0x4000
	leaq	-65536(%rax,%rcx,4), %rsi
	cmovlq	%rdx, %rsi
	cmpq	$32768, %rcx                    ## imm = 0x8000
	cmovgeq	%rdx, %rsi
	testq	%rax, %rax
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	cmoveq	%rdx, %rsi
	leaq	(%rsi,%rcx,4), %rax
	testb	$1, %cl
	jne	LBB0_4
## %bb.5:
	movq	_GTIA_VDELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testb	$16, %cl
	je	LBB0_6
## %bb.7:
	testb	$32, %cl
	je	LBB0_8
LBB0_9:
	testb	$64, %cl
	je	LBB0_10
LBB0_11:
	testb	$-128, %cl
	je	LBB0_12
	jmp	LBB0_24
LBB0_13:
	movq	_pmbase_d@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	_MEMORY_mem@GOTPCREL(%rip), %rdx
	leaq	(,%rcx,4), %rsi
	addq	(%rdx), %rsi
	leal	-16384(%rcx), %edx
	cmpq	$16384, %rcx                    ## imm = 0x4000
	leaq	(%rax,%rdx,4), %rdx
	cmovlq	%rsi, %rdx
	cmpq	$32768, %rcx                    ## imm = 0x8000
	cmovgeq	%rsi, %rdx
	testq	%rax, %rax
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmoveq	%rsi, %rdx
	movl	%ecx, %eax
	sarl	%eax
	cltq
	leaq	(%rdx,%rax,4), %rax
	testb	$1, %cl
	jne	LBB0_14
## %bb.15:
	movq	_GTIA_VDELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testb	$16, %cl
	je	LBB0_16
## %bb.17:
	testb	$32, %cl
	je	LBB0_18
LBB0_19:
	testb	$64, %cl
	je	LBB0_20
LBB0_21:
	testb	$-128, %cl
	je	LBB0_22
	jmp	LBB0_24
LBB0_4:
	movl	4096(%rax), %ecx
	movq	_GTIA_GRAFP0@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	5120(%rax), %ecx
	movq	_GTIA_GRAFP1@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	6144(%rax), %ecx
	movq	_GTIA_GRAFP2@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	addq	$7168, %rax                     ## imm = 0x1C00
	jmp	LBB0_23
LBB0_14:
	movl	2048(%rax), %ecx
	movq	_GTIA_GRAFP0@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	2560(%rax), %ecx
	movq	_GTIA_GRAFP1@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	3072(%rax), %ecx
	movq	_GTIA_GRAFP2@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_22
LBB0_6:
	movl	4096(%rax), %edx
	movq	_GTIA_GRAFP0@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	testb	$32, %cl
	jne	LBB0_9
LBB0_8:
	movl	5120(%rax), %edx
	movq	_GTIA_GRAFP1@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	testb	$64, %cl
	jne	LBB0_11
LBB0_10:
	movl	6144(%rax), %edx
	movq	_GTIA_GRAFP2@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	testb	$-128, %cl
	jne	LBB0_24
LBB0_12:
	addq	$7168, %rax                     ## imm = 0x1C00
	jmp	LBB0_23
LBB0_16:
	movl	2048(%rax), %edx
	movq	_GTIA_GRAFP0@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	testb	$32, %cl
	jne	LBB0_19
LBB0_18:
	movl	2560(%rax), %edx
	movq	_GTIA_GRAFP1@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	testb	$64, %cl
	jne	LBB0_21
LBB0_20:
	movl	3072(%rax), %edx
	movq	_GTIA_GRAFP2@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	testb	$-128, %cl
	jne	LBB0_24
LBB0_22:
	addq	$3584, %rax                     ## imm = 0xE00
LBB0_23:
	movl	(%rax), %eax
	movq	_GTIA_GRAFP3@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_24:
	movq	_ANTIC_xpos@GOTPCREL(%rip), %rax
	addq	$4, (%rax)
LBB0_25:
	movq	_ANTIC_missile_dma_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_42
## %bb.26:
	movq	_ANTIC_missile_gra_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_41
## %bb.27:
	movq	_ANTIC_xe_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_pmbase_s@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_singleline@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	testq	%rax, %rax
	je	LBB0_34
## %bb.28:
	cmpl	$32767, %ecx                    ## imm = 0x7FFF
	jg	LBB0_34
## %bb.29:
	cmpl	$16384, %ecx                    ## imm = 0x4000
	jl	LBB0_34
## %bb.30:
	testq	%rdx, %rdx
	je	LBB0_32
## %bb.31:
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	%edx, %ecx
	addl	$-15616, %ecx                   ## imm = 0xC300
	jmp	LBB0_33
LBB0_34:
	testq	%rdx, %rdx
	je	LBB0_36
## %bb.35:
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rcx,%rax), %edi
	addl	$768, %edi                      ## imm = 0x300
	jmp	LBB0_37
LBB0_36:
	movq	_pmbase_d@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	sarl	%ecx
	leal	(%rax,%rcx), %edi
	addl	$384, %edi                      ## imm = 0x180
LBB0_37:
	callq	_MEMORY_dGetByte
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testb	$1, %dl
	je	LBB0_39
	jmp	LBB0_40
LBB0_32:
	movq	_pmbase_d@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ANTIC_ypos@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	sarl	%esi
	addl	%esi, %ecx
	addl	$-16000, %ecx                   ## imm = 0xC180
LBB0_33:
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %eax
	testb	$1, %dl
	jne	LBB0_40
LBB0_39:
	movq	_GTIA_GRAFM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%eax, %ecx
	movq	_hold_missiles_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_GTIA_VDELAY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	$15, %esi
	andl	(%rdx,%rsi,4), %ecx
	xorl	%ecx, %eax
LBB0_40:
	movq	_GTIA_GRAFM@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_41:
	movq	_ANTIC_xpos@GOTPCREL(%rip), %rax
	incq	(%rax)
LBB0_42:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANTIC_player_dma_enabled,8,3   ## @ANTIC_player_dma_enabled
	.comm	_ANTIC_player_gra_enabled,8,3   ## @ANTIC_player_gra_enabled
	.comm	_singleline,8,3                 ## @singleline
	.comm	_ANTIC_xe_ptr,8,3               ## @ANTIC_xe_ptr
	.comm	_pmbase_s,4,2                   ## @pmbase_s
	.comm	_ANTIC_ypos,4,2                 ## @ANTIC_ypos
	.comm	_MEMORY_mem,8,3                 ## @MEMORY_mem
	.comm	_GTIA_GRAFP0,4,2                ## @GTIA_GRAFP0
	.comm	_GTIA_GRAFP1,4,2                ## @GTIA_GRAFP1
	.comm	_GTIA_GRAFP2,4,2                ## @GTIA_GRAFP2
	.comm	_GTIA_GRAFP3,4,2                ## @GTIA_GRAFP3
	.comm	_GTIA_VDELAY,4,2                ## @GTIA_VDELAY
	.comm	_pmbase_d,4,2                   ## @pmbase_d
	.comm	_ANTIC_xpos,8,3                 ## @ANTIC_xpos
	.comm	_ANTIC_missile_dma_enabled,8,3  ## @ANTIC_missile_dma_enabled
	.comm	_ANTIC_missile_gra_enabled,8,3  ## @ANTIC_missile_gra_enabled
	.comm	_GTIA_GRAFM,4,2                 ## @GTIA_GRAFM
	.comm	_hold_missiles_tab,8,3          ## @hold_missiles_tab
	.no_dead_strip	_pmg_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmg_dma
_pmg_dma:                               ; @pmg_dma
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _ANTIC_player_dma_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANTIC_player_dma_enabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _ANTIC_xpos@GOTPAGE
Lloh4:
	ldr	x19, [x19, _ANTIC_xpos@GOTPAGEOFF]
	cbz	x8, LBB0_25
; %bb.1:
Lloh5:
	adrp	x8, _ANTIC_player_gra_enabled@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ANTIC_player_gra_enabled@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.2:
Lloh8:
	adrp	x8, _singleline@GOTPAGE
Lloh9:
	ldr	x8, [x8, _singleline@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x8]
Lloh11:
	adrp	x8, _ANTIC_xe_ptr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ANTIC_xe_ptr@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x9, LBB0_8
; %bb.3:
Lloh14:
	adrp	x9, _pmbase_s@GOTPAGE
Lloh15:
	ldr	x9, [x9, _pmbase_s@GOTPAGEOFF]
Lloh16:
	ldrsw	x9, [x9]
	lsl	x10, x9, #2
	add	x11, x8, x10
	sub	x11, x11, #16, lsl #12          ; =65536
	mov	w12, #16383
	cmp	x9, x12
	mov	w12, #32768
	ccmp	x9, x12, #0, gt
	ccmp	x8, #0, #4, lt
Lloh17:
	adrp	x8, _ANTIC_ypos@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ANTIC_ypos@GOTPAGEOFF]
Lloh19:
	ldrsw	x9, [x8]
Lloh20:
	adrp	x8, _MEMORY_mem@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MEMORY_mem@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	add	x8, x8, x10
	csel	x8, x11, x8, ne
	add	x8, x8, x9, lsl #2
	tbnz	w9, #0, LBB0_13
; %bb.4:
Lloh23:
	adrp	x9, _GTIA_VDELAY@GOTPAGE
Lloh24:
	ldr	x9, [x9, _GTIA_VDELAY@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tbz	w9, #4, LBB0_16
; %bb.5:
	tbz	w9, #5, LBB0_17
LBB0_6:
	tbz	w9, #6, LBB0_18
LBB0_7:
	tbz	w9, #7, LBB0_14
	b	LBB0_24
LBB0_8:
Lloh26:
	adrp	x9, _pmbase_d@GOTPAGE
Lloh27:
	ldr	x9, [x9, _pmbase_d@GOTPAGEOFF]
Lloh28:
	ldrsw	x9, [x9]
	sub	w10, w9, #4, lsl #12            ; =16384
	mov	w11, #16383
	cmp	x9, x11
	mov	w11, #32768
	ccmp	x9, x11, #0, gt
Lloh29:
	adrp	x11, _MEMORY_mem@GOTPAGE
Lloh30:
	ldr	x11, [x11, _MEMORY_mem@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	add	x9, x11, x9, lsl #2
Lloh32:
	adrp	x11, _ANTIC_ypos@GOTPAGE
Lloh33:
	ldr	x11, [x11, _ANTIC_ypos@GOTPAGEOFF]
	ccmp	x8, #0, #4, lt
Lloh34:
	ldr	w11, [x11]
	add	x8, x8, w10, uxtw #2
	csel	x8, x8, x9, ne
	asr	w9, w11, #1
	add	x8, x8, w9, sxtw #2
	tbnz	w11, #0, LBB0_15
; %bb.9:
Lloh35:
	adrp	x9, _GTIA_VDELAY@GOTPAGE
Lloh36:
	ldr	x9, [x9, _GTIA_VDELAY@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tbz	w9, #4, LBB0_19
; %bb.10:
	tbz	w9, #5, LBB0_20
LBB0_11:
	tbz	w9, #6, LBB0_21
LBB0_12:
	tbz	w9, #7, LBB0_22
	b	LBB0_24
LBB0_13:
Lloh38:
	adrp	x9, _GTIA_GRAFP0@GOTPAGE
Lloh39:
	ldr	x9, [x9, _GTIA_GRAFP0@GOTPAGEOFF]
	ldr	w10, [x8, #4096]
Lloh40:
	str	w10, [x9]
	ldr	w9, [x8, #5120]
Lloh41:
	adrp	x10, _GTIA_GRAFP1@GOTPAGE
Lloh42:
	ldr	x10, [x10, _GTIA_GRAFP1@GOTPAGEOFF]
Lloh43:
	str	w9, [x10]
	ldr	w9, [x8, #6144]
Lloh44:
	adrp	x10, _GTIA_GRAFP2@GOTPAGE
Lloh45:
	ldr	x10, [x10, _GTIA_GRAFP2@GOTPAGEOFF]
Lloh46:
	str	w9, [x10]
LBB0_14:
	mov	w9, #7168
	add	x8, x8, x9
	b	LBB0_23
LBB0_15:
	ldr	w9, [x8, #2048]
Lloh47:
	adrp	x10, _GTIA_GRAFP0@GOTPAGE
Lloh48:
	ldr	x10, [x10, _GTIA_GRAFP0@GOTPAGEOFF]
Lloh49:
	str	w9, [x10]
	ldr	w9, [x8, #2560]
Lloh50:
	adrp	x10, _GTIA_GRAFP1@GOTPAGE
Lloh51:
	ldr	x10, [x10, _GTIA_GRAFP1@GOTPAGEOFF]
Lloh52:
	str	w9, [x10]
	ldr	w9, [x8, #3072]
Lloh53:
	adrp	x10, _GTIA_GRAFP2@GOTPAGE
Lloh54:
	ldr	x10, [x10, _GTIA_GRAFP2@GOTPAGEOFF]
Lloh55:
	str	w9, [x10]
	b	LBB0_22
LBB0_16:
	ldr	w10, [x8, #4096]
Lloh56:
	adrp	x11, _GTIA_GRAFP0@GOTPAGE
Lloh57:
	ldr	x11, [x11, _GTIA_GRAFP0@GOTPAGEOFF]
Lloh58:
	str	w10, [x11]
	tbnz	w9, #5, LBB0_6
LBB0_17:
	ldr	w10, [x8, #5120]
Lloh59:
	adrp	x11, _GTIA_GRAFP1@GOTPAGE
Lloh60:
	ldr	x11, [x11, _GTIA_GRAFP1@GOTPAGEOFF]
Lloh61:
	str	w10, [x11]
	tbnz	w9, #6, LBB0_7
LBB0_18:
	ldr	w10, [x8, #6144]
Lloh62:
	adrp	x11, _GTIA_GRAFP2@GOTPAGE
Lloh63:
	ldr	x11, [x11, _GTIA_GRAFP2@GOTPAGEOFF]
Lloh64:
	str	w10, [x11]
	tbz	w9, #7, LBB0_14
	b	LBB0_24
LBB0_19:
	ldr	w10, [x8, #2048]
Lloh65:
	adrp	x11, _GTIA_GRAFP0@GOTPAGE
Lloh66:
	ldr	x11, [x11, _GTIA_GRAFP0@GOTPAGEOFF]
Lloh67:
	str	w10, [x11]
	tbnz	w9, #5, LBB0_11
LBB0_20:
	ldr	w10, [x8, #2560]
Lloh68:
	adrp	x11, _GTIA_GRAFP1@GOTPAGE
Lloh69:
	ldr	x11, [x11, _GTIA_GRAFP1@GOTPAGEOFF]
Lloh70:
	str	w10, [x11]
	tbnz	w9, #6, LBB0_12
LBB0_21:
	ldr	w10, [x8, #3072]
Lloh71:
	adrp	x11, _GTIA_GRAFP2@GOTPAGE
Lloh72:
	ldr	x11, [x11, _GTIA_GRAFP2@GOTPAGEOFF]
Lloh73:
	str	w10, [x11]
	tbnz	w9, #7, LBB0_24
LBB0_22:
	add	x8, x8, #3584
LBB0_23:
	ldr	w8, [x8]
Lloh74:
	adrp	x9, _GTIA_GRAFP3@GOTPAGE
Lloh75:
	ldr	x9, [x9, _GTIA_GRAFP3@GOTPAGEOFF]
Lloh76:
	str	w8, [x9]
LBB0_24:
	ldr	x8, [x19]
	add	x8, x8, #4
	str	x8, [x19]
LBB0_25:
Lloh77:
	adrp	x8, _ANTIC_missile_dma_enabled@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ANTIC_missile_dma_enabled@GOTPAGEOFF]
Lloh79:
	ldr	x8, [x8]
	cbz	x8, LBB0_42
; %bb.26:
Lloh80:
	adrp	x8, _ANTIC_missile_gra_enabled@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ANTIC_missile_gra_enabled@GOTPAGEOFF]
Lloh82:
	ldr	x8, [x8]
	cbz	x8, LBB0_41
; %bb.27:
Lloh83:
	adrp	x8, _ANTIC_xe_ptr@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ANTIC_xe_ptr@GOTPAGEOFF]
Lloh85:
	ldr	x8, [x8]
Lloh86:
	adrp	x9, _pmbase_s@GOTPAGE
Lloh87:
	ldr	x9, [x9, _pmbase_s@GOTPAGEOFF]
Lloh88:
	ldr	w10, [x9]
Lloh89:
	adrp	x9, _singleline@GOTPAGE
Lloh90:
	ldr	x9, [x9, _singleline@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cbz	x8, LBB0_32
; %bb.28:
	cmp	w10, #8, lsl #12                ; =32768
	b.ge	LBB0_32
; %bb.29:
	cmp	w10, #4, lsl #12                ; =16384
	b.lt	LBB0_32
; %bb.30:
	cbz	x9, LBB0_36
; %bb.31:
Lloh92:
	adrp	x9, _ANTIC_ypos@GOTPAGE
Lloh93:
	ldr	x9, [x9, _ANTIC_ypos@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	mov	w11, #-15616
	add	w10, w10, w9
	b	LBB0_37
LBB0_32:
	cbz	x9, LBB0_34
; %bb.33:
Lloh95:
	adrp	x8, _ANTIC_ypos@GOTPAGE
Lloh96:
	ldr	x8, [x8, _ANTIC_ypos@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	add	w8, w10, w8
	add	w0, w8, #768
	b	LBB0_35
LBB0_34:
Lloh98:
	adrp	x8, _pmbase_d@GOTPAGE
Lloh99:
	ldr	x8, [x8, _pmbase_d@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
Lloh101:
	adrp	x9, _ANTIC_ypos@GOTPAGE
Lloh102:
	ldr	x9, [x9, _ANTIC_ypos@GOTPAGEOFF]
Lloh103:
	ldr	w9, [x9]
	add	w8, w8, w9, asr #1
	add	w0, w8, #384
LBB0_35:
	bl	_MEMORY_dGetByte
Lloh104:
	adrp	x8, _ANTIC_ypos@GOTPAGE
Lloh105:
	ldr	x8, [x8, _ANTIC_ypos@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x8]
	b	LBB0_38
LBB0_36:
Lloh107:
	adrp	x9, _pmbase_d@GOTPAGE
Lloh108:
	ldr	x9, [x9, _pmbase_d@GOTPAGEOFF]
Lloh109:
	ldr	w10, [x9]
Lloh110:
	adrp	x9, _ANTIC_ypos@GOTPAGE
Lloh111:
	ldr	x9, [x9, _ANTIC_ypos@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	add	w10, w10, w9, asr #1
	mov	w11, #-16000
LBB0_37:
	add	w10, w10, w11
	ldr	w0, [x8, w10, sxtw #2]
LBB0_38:
Lloh113:
	adrp	x8, _GTIA_GRAFM@GOTPAGE
Lloh114:
	ldr	x8, [x8, _GTIA_GRAFM@GOTPAGEOFF]
	tbnz	w9, #0, LBB0_40
; %bb.39:
	ldr	w9, [x8]
Lloh115:
	adrp	x10, _hold_missiles_tab@GOTPAGE
Lloh116:
	ldr	x10, [x10, _hold_missiles_tab@GOTPAGEOFF]
Lloh117:
	ldr	x10, [x10]
Lloh118:
	adrp	x11, _GTIA_VDELAY@GOTPAGE
Lloh119:
	ldr	x11, [x11, _GTIA_VDELAY@GOTPAGEOFF]
Lloh120:
	ldr	w11, [x11]
	and	x11, x11, #0xf
	ldr	w10, [x10, x11, lsl #2]
	bic	w11, w0, w10
	and	w9, w9, w10
	orr	w0, w9, w11
LBB0_40:
	str	w0, [x8]
LBB0_41:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_42:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotStr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotStr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotStr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotStr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotStr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.cfi_endproc
                                        ; -- End function
	.comm	_ANTIC_player_dma_enabled,8,3   ; @ANTIC_player_dma_enabled
	.comm	_ANTIC_player_gra_enabled,8,3   ; @ANTIC_player_gra_enabled
	.comm	_singleline,8,3                 ; @singleline
	.comm	_ANTIC_xe_ptr,8,3               ; @ANTIC_xe_ptr
	.comm	_pmbase_s,4,2                   ; @pmbase_s
	.comm	_ANTIC_ypos,4,2                 ; @ANTIC_ypos
	.comm	_MEMORY_mem,8,3                 ; @MEMORY_mem
	.comm	_GTIA_GRAFP0,4,2                ; @GTIA_GRAFP0
	.comm	_GTIA_GRAFP1,4,2                ; @GTIA_GRAFP1
	.comm	_GTIA_GRAFP2,4,2                ; @GTIA_GRAFP2
	.comm	_GTIA_GRAFP3,4,2                ; @GTIA_GRAFP3
	.comm	_GTIA_VDELAY,4,2                ; @GTIA_VDELAY
	.comm	_pmbase_d,4,2                   ; @pmbase_d
	.comm	_ANTIC_xpos,8,3                 ; @ANTIC_xpos
	.comm	_ANTIC_missile_dma_enabled,8,3  ; @ANTIC_missile_dma_enabled
	.comm	_ANTIC_missile_gra_enabled,8,3  ; @ANTIC_missile_gra_enabled
	.comm	_GTIA_GRAFM,4,2                 ; @GTIA_GRAFM
	.comm	_hold_missiles_tab,8,3          ; @hold_missiles_tab
	.no_dead_strip	_pmg_dma
.subsections_via_symbols
