	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoLoopPrepare                ## -- Begin function PicoLoopPrepare
	.p2align	4, 0x90
_PicoLoopPrepare:                       ## @PicoLoopPrepare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PicoRegionOverride@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$2, %eax
	sete	%cl
	cmpl	$8, %eax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	movq	_Pico@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_1:
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	testl	%eax, %eax
	movl	$262, %eax                      ## imm = 0x106
	movl	$312, %ecx                      ## imm = 0x138
	cmovel	%eax, %ecx
	movq	_scanlines_total@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_Pico@GOTPCREL(%rip), %rax
	movl	$1, 4(%rax)
	movq	_rendstatus_old@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoRegionOverride,4,2         ## @PicoRegionOverride
	.comm	_Pico,8,2                       ## @Pico
	.comm	_scanlines_total,4,2            ## @scanlines_total
	.comm	_rendstatus_old,4,2             ## @rendstatus_old
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoLoopPrepare                ; -- Begin function PicoLoopPrepare
	.p2align	2
_PicoLoopPrepare:                       ; @PicoLoopPrepare
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PicoRegionOverride@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoRegionOverride@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _Pico@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Pico@GOTPAGEOFF]
	cbz	w9, LBB0_2
; %bb.1:
	cmp	w9, #2
	ccmp	w9, #8, #4, ne
	cset	w9, eq
	str	w9, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w9, [x8]
LBB0_3:
	mov	w10, #312
	mov	w11, #262
	cmp	w9, #0
	csel	w9, w11, w10, eq
Lloh5:
	adrp	x10, _scanlines_total@GOTPAGE
Lloh6:
	ldr	x10, [x10, _scanlines_total@GOTPAGEOFF]
Lloh7:
	str	w9, [x10]
	mov	w9, #1
	str	w9, [x8, #4]
Lloh8:
	adrp	x8, _rendstatus_old@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rendstatus_old@GOTPAGEOFF]
	mov	w9, #-1
Lloh10:
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoRegionOverride,4,2         ; @PicoRegionOverride
	.comm	_Pico,8,2                       ; @Pico
	.comm	_scanlines_total,4,2            ; @scanlines_total
	.comm	_rendstatus_old,4,2             ; @rendstatus_old
.subsections_via_symbols
