	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DrawDisplay
_DrawDisplay:                           ## @DrawDisplay
	.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
	movl	%edi, %r13d
	movq	_HighLnSpr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_DrawScanline@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %r12
	movq	_PDRAW_SHHI_DONE@GOTPCREL(%rip), %rcx
	movq	_PDRAW_PLANE_HI_PRIO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	movq	_rendstatus@GOTPCREL(%rip), %rcx
	andl	%edx, (%rcx)
	movq	_Pico@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rcx
	movl	48(%rcx), %ebx
	movl	72(%rcx), %r14d
	andl	$1, %ebx
	leal	32(,%rbx,8), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	leal	(,%r14,8), %edx
	movzbl	%dl, %r15d
	testb	$-128, %r14b
	jne	LBB0_5
## %bb.1:
	cmpq	%r15, %rax
	jb	LBB0_6
LBB0_2:
	movl	68(%rcx), %r14d
	movl	%r14d, %r15d
	andl	$31, %r15d
	testb	$-128, %r14b
	jne	LBB0_7
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shrl	%eax
	cmpl	%eax, %r15d
	setb	%al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	setae	%al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_5:
	cmpq	%r15, %rax
	jb	LBB0_2
LBB0_6:
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_11:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movq	_PicoDrawMask@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	_PDRAW_LAYERB_ON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	leal	1(%r13,%r13), %edi
	movq	_HighCacheB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_DrawLayer
	movq	_PicoDrawMask@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
LBB0_14:
	movq	_PDRAW_LAYERA_ON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.15:
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	shrl	%esi
	xorl	%edi, %edi
	jmp	LBB0_19
LBB0_17:
	leal	(%r13,%r13), %edi
	movq	_HighCacheA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_20
## %bb.18:
	movsbl	%r14b, %r8d
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r13d
	shrl	$7, %r13d
	leal	(%r15,%r15), %ecx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r12d
	shrl	%r12d
	xorl	%edx, %edx
	testb	$-128, %r8b
	cmovel	%ecx, %edx
	cmovel	%eax, %ecx
	cmovel	%r15d, %r12d
	callq	_DrawLayer
	andl	%r15d, %r13d
	movl	%r13d, %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_19:
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_DrawWindow
	jmp	LBB0_21
LBB0_7:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shrl	%eax
	cmpl	%eax, %r15d
	setb	%al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_20:
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_DrawLayer
LBB0_21:
	movq	_PicoDrawMask@GOTPCREL(%rip), %rdx
LBB0_22:
	shll	$6, %ebx
	movq	_PDRAW_SPRITES_LOW_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_28
## %bb.23:
	movq	_PDRAW_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rendstatus@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	xorl	%edi, %edi
	movl	%r13d, %esi
	callq	_DrawAllSpritesInterlace
	jmp	LBB0_27
LBB0_25:
	movq	_SPRL_HAVE_LO@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	testb	%al, 1(%r12)
	je	LBB0_28
## %bb.26:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_DrawAllSprites
LBB0_27:
	movq	_PicoDrawMask@GOTPCREL(%rip), %rdx
LBB0_28:
	orl	$264, %ebx                      ## imm = 0x108
	movl	(%rdx), %eax
	movq	_PDRAW_LAYERB_ON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.29:
	movq	_HighCacheB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_31
## %bb.30:
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_DrawTilesFromCache
	movq	_PicoDrawMask@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
LBB0_31:
	movq	_PDRAW_LAYERA_ON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_40
## %bb.32:
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_34
## %bb.33:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	shrl	%esi
	xorl	%edi, %edi
	jmp	LBB0_38
LBB0_34:
	movq	_HighCacheA@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %eax
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_50
## %bb.35:
	testl	%eax, %eax
	je	LBB0_37
## %bb.36:
	movl	%r15d, %edx
	shll	$4, %edx
	testb	$-128, %r14b
	cmovel	%ebx, %edx
	movl	%r13d, %esi
	callq	_DrawTilesFromCache
LBB0_37:
	movsbl	%r14b, %eax
	movl	%eax, %edi
	shrl	$7, %edi
	andl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	shrl	%esi
	testb	$-128, %al
	cmovel	%r15d, %esi
LBB0_38:
	movl	$1, %edx
	movl	%r13d, %ecx
	callq	_DrawWindow
LBB0_39:
	movq	_PicoDrawMask@GOTPCREL(%rip), %rdx
LBB0_40:
	movq	_PDRAW_SPRITES_HI_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_43
## %bb.41:
	movq	_PDRAW_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rendstatus@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_44
## %bb.42:
	movl	$1, %edi
	movl	%r13d, %esi
	callq	_DrawAllSpritesInterlace
LBB0_43:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movb	1(%r12), %al
	movl	%eax, %ecx
	notb	%cl
	testb	$-48, %cl
	jne	LBB0_47
## %bb.45:
	movq	_PicoOpt@GOTPCREL(%rip), %rcx
	movq	_POPT_ACC_SPRITES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_47
## %bb.46:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_DrawSpritesHiAS
	jmp	LBB0_43
LBB0_47:
	testl	%r13d, %r13d
	je	LBB0_52
## %bb.48:
	movq	_SPRL_MAY_HAVE_OP@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_52
## %bb.49:
	movq	%r12, %rdi
	callq	_DrawSpritesSHi
	jmp	LBB0_43
LBB0_50:
	testl	%eax, %eax
	je	LBB0_40
## %bb.51:
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_DrawTilesFromCache
	jmp	LBB0_39
LBB0_9:
	xorl	%r15d, %r15d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_10:
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_52:
	movq	_SPRL_HAVE_HI@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_43
## %bb.53:
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_DrawAllSprites
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_HighLnSpr,8,3                  ## @HighLnSpr
	.comm	_DrawScanline,8,3               ## @DrawScanline
	.comm	_Pico,16,3                      ## @Pico
	.comm	_PDRAW_SHHI_DONE,4,2            ## @PDRAW_SHHI_DONE
	.comm	_PDRAW_PLANE_HI_PRIO,4,2        ## @PDRAW_PLANE_HI_PRIO
	.comm	_rendstatus,4,2                 ## @rendstatus
	.comm	_PicoDrawMask,4,2               ## @PicoDrawMask
	.comm	_PDRAW_LAYERB_ON,4,2            ## @PDRAW_LAYERB_ON
	.comm	_HighCacheB,8,3                 ## @HighCacheB
	.comm	_PDRAW_LAYERA_ON,4,2            ## @PDRAW_LAYERA_ON
	.comm	_HighCacheA,8,3                 ## @HighCacheA
	.comm	_PDRAW_SPRITES_LOW_ON,4,2       ## @PDRAW_SPRITES_LOW_ON
	.comm	_PDRAW_INTERLACE,4,2            ## @PDRAW_INTERLACE
	.comm	_SPRL_HAVE_LO,1,0               ## @SPRL_HAVE_LO
	.comm	_PDRAW_SPRITES_HI_ON,4,2        ## @PDRAW_SPRITES_HI_ON
	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_POPT_ACC_SPRITES,4,2           ## @POPT_ACC_SPRITES
	.comm	_SPRL_MAY_HAVE_OP,1,0           ## @SPRL_MAY_HAVE_OP
	.comm	_SPRL_HAVE_HI,1,0               ## @SPRL_HAVE_HI
	.no_dead_strip	_DrawDisplay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawDisplay
_DrawDisplay:                           ; @DrawDisplay
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x0
Lloh0:
	adrp	x8, _HighLnSpr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HighLnSpr@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DrawScanline@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DrawScanline@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x8]
Lloh5:
	ldr	x8, [x9]
	ldr	x9, [x10, x8, lsl #3]
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
Lloh6:
	adrp	x9, _PDRAW_SHHI_DONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PDRAW_SHHI_DONE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PDRAW_PLANE_HI_PRIO@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PDRAW_PLANE_HI_PRIO@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _rendstatus@GOTPAGE
Lloh13:
	ldr	x11, [x11, _rendstatus@GOTPAGEOFF]
	orr	w9, w10, w9
	ldr	w10, [x11]
	bic	w9, w10, w9
	str	w9, [x11]
Lloh14:
	adrp	x9, _Pico@GOTPAGE
Lloh15:
	ldr	x9, [x9, _Pico@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9, #8]
	ldr	w10, [x9, #48]
	tst	w10, #0x1
	mov	w10, #328
	mov	w11, #264
	csel	w10, w11, w10, eq
	str	w10, [sp, #16]                  ; 4-byte Folded Spill
	mov	w10, #40
	mov	w11, #32
	csel	w21, w11, w10, eq
	ldr	w26, [x9, #72]
	lsl	w10, w26, #3
	and	x27, x10, #0xf8
	cmp	x8, x27
	tbnz	w26, #7, LBB0_3
; %bb.1:
	b.lo	LBB0_4
LBB0_2:
	ldr	w26, [x9, #68]
	and	w8, w26, #0x1f
	cmp	w8, w21, lsr #1
	cset	w9, lo
	cset	w10, hs
	cmp	w8, #0
	csel	w11, wzr, w8, eq
	csel	w10, wzr, w10, eq
	csel	w9, wzr, w9, eq
	mov	w12, #1
	cmp	w8, w21, lsr #1
	cset	w13, lo
	cmp	w8, #0
	csel	w8, wzr, w8, eq
	csel	w12, w12, wzr, eq
	csel	w13, wzr, w13, eq
	tst	w26, #0x80
	csel	w27, w11, w8, eq
	csel	w22, w10, w12, eq
	csel	w8, w9, w13, eq
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_5
LBB0_3:
	b.lo	LBB0_2
LBB0_4:
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	mov	w22, #1
LBB0_5:
Lloh17:
	adrp	x28, _PicoDrawMask@GOTPAGE
Lloh18:
	ldr	x28, [x28, _PicoDrawMask@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh19:
	adrp	x19, _PDRAW_LAYERB_ON@GOTPAGE
Lloh20:
	ldr	x19, [x19, _PDRAW_LAYERB_ON@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh21:
	adrp	x10, _HighCacheB@GOTPAGE
Lloh22:
	ldr	x10, [x10, _HighCacheB@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #1
	bfi	w0, w20, #1, #31
	mov	x23, x10
	ldr	x1, [x10]
	mov	w2, #0
	mov	x3, x21
	bl	_DrawLayer
	ldr	w8, [x28]
	b	LBB0_8
LBB0_7:
	mov	x23, x10
LBB0_8:
Lloh23:
	adrp	x25, _PDRAW_LAYERA_ON@GOTPAGE
Lloh24:
	ldr	x25, [x25, _PDRAW_LAYERA_ON@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.9:
	cbz	w22, LBB0_11
; %bb.10:
	lsr	w1, w21, #1
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	lsl	w0, w20, #1
Lloh25:
	adrp	x8, _HighCacheA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HighCacheA@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x8]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_14
; %bb.12:
	lsl	w8, w26, #24
	lsl	w9, w27, #1
	tst	w26, #0x80
	csel	w2, w9, wzr, eq
	csel	w3, w21, w9, eq
	and	w8, w27, w8, asr #31
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	lsr	w8, w21, #1
	csel	w24, w27, w8, eq
	bl	_DrawLayer
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x1, x24
LBB0_13:
	mov	w2, #0
	mov	x3, x20
	bl	_DrawWindow
	b	LBB0_15
LBB0_14:
	mov	w2, #0
	mov	x3, x21
	bl	_DrawLayer
LBB0_15:
	ldr	w8, [x28]
Lloh28:
	adrp	x9, _PDRAW_SPRITES_LOW_ON@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PDRAW_SPRITES_LOW_ON@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x24, _PDRAW_INTERLACE@GOTPAGE
Lloh32:
	ldr	x24, [x24, _PDRAW_INTERLACE@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.16:
Lloh33:
	adrp	x8, _rendstatus@GOTPAGE
Lloh34:
	ldr	x8, [x8, _rendstatus@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	mov	w0, #0
	mov	x1, x20
	bl	_DrawAllSpritesInterlace
	b	LBB0_20
LBB0_18:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldrb	w8, [x8, #1]
Lloh36:
	adrp	x9, _SPRL_HAVE_LO@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SPRL_HAVE_LO@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	w1, #0
	mov	x2, x20
	bl	_DrawAllSprites
LBB0_20:
	ldr	w8, [x28]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.21:
	ldr	x0, [x23]
	ldr	w9, [x0]
	cbz	w9, LBB0_23
; %bb.22:
	mov	x1, x20
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_DrawTilesFromCache
	ldr	w8, [x28]
LBB0_23:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.24:
	cbz	w22, LBB0_26
; %bb.25:
	lsr	w1, w21, #1
	mov	w0, #0
	b	LBB0_30
LBB0_26:
Lloh38:
	adrp	x8, _HighCacheA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HighCacheA@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
	ldr	w8, [x0]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_41
; %bb.27:
	cbz	w8, LBB0_29
; %bb.28:
	lsl	w8, w27, #4
	tst	w26, #0x80
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	csel	w2, w9, w8, eq
	mov	x1, x20
	bl	_DrawTilesFromCache
LBB0_29:
	lsl	w8, w26, #24
	and	w0, w27, w8, asr #31
	lsr	w8, w21, #1
	tst	w26, #0x80
	csel	w1, w27, w8, eq
LBB0_30:
	mov	w2, #1
	mov	x3, x20
	bl	_DrawWindow
LBB0_31:
	ldr	w8, [x28]
Lloh41:
	adrp	x9, _PDRAW_SPRITES_HI_ON@GOTPAGE
Lloh42:
	ldr	x9, [x9, _PDRAW_SPRITES_HI_ON@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.32:
Lloh44:
	adrp	x8, _rendstatus@GOTPAGE
Lloh45:
	ldr	x8, [x8, _rendstatus@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.33:
	mov	w0, #1
	mov	x1, x20
	bl	_DrawAllSpritesInterlace
LBB0_34:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_35:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldrb	w8, [x8, #1]
	mov	w9, #208
	bics	wzr, w9, w8
	b.ne	LBB0_38
; %bb.36:
Lloh47:
	adrp	x9, _PicoOpt@GOTPAGE
Lloh48:
	ldr	x9, [x9, _PicoOpt@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
Lloh50:
	adrp	x10, _POPT_ACC_SPRITES@GOTPAGE
Lloh51:
	ldr	x10, [x10, _POPT_ACC_SPRITES@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_38
; %bb.37:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_DrawSpritesHiAS
	b	LBB0_34
LBB0_38:
	cbz	w20, LBB0_43
; %bb.39:
Lloh53:
	adrp	x9, _SPRL_MAY_HAVE_OP@GOTPAGE
Lloh54:
	ldr	x9, [x9, _SPRL_MAY_HAVE_OP@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_43
; %bb.40:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_DrawSpritesSHi
	b	LBB0_34
LBB0_41:
	cbz	w8, LBB0_31
; %bb.42:
	mov	x1, x20
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_DrawTilesFromCache
	b	LBB0_31
LBB0_43:
Lloh55:
	adrp	x9, _SPRL_HAVE_HI@GOTPAGE
Lloh56:
	ldr	x9, [x9, _SPRL_HAVE_HI@GOTPAGEOFF]
	ldrb	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.44:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	w1, #1
	mov	w2, #0
	bl	_DrawAllSprites
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_HighLnSpr,8,3                  ; @HighLnSpr
	.comm	_DrawScanline,8,3               ; @DrawScanline
	.comm	_Pico,16,3                      ; @Pico
	.comm	_PDRAW_SHHI_DONE,4,2            ; @PDRAW_SHHI_DONE
	.comm	_PDRAW_PLANE_HI_PRIO,4,2        ; @PDRAW_PLANE_HI_PRIO
	.comm	_rendstatus,4,2                 ; @rendstatus
	.comm	_PicoDrawMask,4,2               ; @PicoDrawMask
	.comm	_PDRAW_LAYERB_ON,4,2            ; @PDRAW_LAYERB_ON
	.comm	_HighCacheB,8,3                 ; @HighCacheB
	.comm	_PDRAW_LAYERA_ON,4,2            ; @PDRAW_LAYERA_ON
	.comm	_HighCacheA,8,3                 ; @HighCacheA
	.comm	_PDRAW_SPRITES_LOW_ON,4,2       ; @PDRAW_SPRITES_LOW_ON
	.comm	_PDRAW_INTERLACE,4,2            ; @PDRAW_INTERLACE
	.comm	_SPRL_HAVE_LO,1,0               ; @SPRL_HAVE_LO
	.comm	_PDRAW_SPRITES_HI_ON,4,2        ; @PDRAW_SPRITES_HI_ON
	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_POPT_ACC_SPRITES,4,2           ; @POPT_ACC_SPRITES
	.comm	_SPRL_MAY_HAVE_OP,1,0           ; @SPRL_MAY_HAVE_OP
	.comm	_SPRL_HAVE_HI,1,0               ; @SPRL_HAVE_HI
	.no_dead_strip	_DrawDisplay
.subsections_via_symbols
