	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_renderer
_change_renderer:                       ## @change_renderer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PicoAHW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PAHW_32X@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	movl	(%rax), %eax
	andl	%edx, %eax
	sete	%sil
	leaq	(,%rsi,4), %rax
	movq	_currentConfig@GOTPCREL(%rip), %rcx
	addl	(%rcx,%rsi,4), %edi
	movl	%edi, (%rcx,%rsi,4)
	movq	_PAHW_SMS@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_3
## %bb.1:
	movq	_RT_8BIT_FAST@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %edi
	jne	LBB0_3
## %bb.2:
	incl	%edi
	movl	%edi, (%rcx,%rax)
LBB0_3:
	movq	_RT_COUNT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	cmpl	%edx, %edi
	jge	LBB0_6
## %bb.4:
	testl	%edi, %edi
	js	LBB0_5
## %bb.7:
	popq	%rbp
	retq
LBB0_5:
	decl	%edx
	movl	%edx, %esi
LBB0_6:
	movl	%esi, (%rcx,%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoAHW,4,2                    ## @PicoAHW
	.comm	_PAHW_32X,4,2                   ## @PAHW_32X
	.comm	_currentConfig,8,2              ## @currentConfig
	.comm	_PAHW_SMS,4,2                   ## @PAHW_SMS
	.comm	_RT_8BIT_FAST,4,2               ## @RT_8BIT_FAST
	.comm	_RT_COUNT,4,2                   ## @RT_COUNT
	.no_dead_strip	_change_renderer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_renderer
_change_renderer:                       ; @change_renderer
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PicoAHW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoAHW@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x8]
Lloh3:
	adrp	x8, _PAHW_32X@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAHW_32X@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w11
	cset	w8, eq
	lsl	x8, x8, #2
Lloh6:
	adrp	x9, _currentConfig@GOTPAGE
Lloh7:
	ldr	x9, [x9, _currentConfig@GOTPAGEOFF]
	ldr	w10, [x9, x8]
	add	w10, w10, w0
	str	w10, [x9, x8]
Lloh8:
	adrp	x12, _PAHW_SMS@GOTPAGE
Lloh9:
	ldr	x12, [x12, _PAHW_SMS@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
	and	w11, w12, w11
Lloh11:
	adrp	x12, _RT_8BIT_FAST@GOTPAGE
Lloh12:
	ldr	x12, [x12, _RT_8BIT_FAST@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	cmp	w11, #0
	ccmp	w10, w12, #0, ne
	b.ne	LBB0_2
; %bb.1:
	add	w10, w10, #1
	str	w10, [x9, x8]
LBB0_2:
Lloh14:
	adrp	x11, _RT_COUNT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _RT_COUNT@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ge	LBB0_5
; %bb.3:
	tbnz	w10, #31, LBB0_6
; %bb.4:
	ret
LBB0_5:
	mov	w10, #0
	str	w10, [x9, x8]
	ret
LBB0_6:
	sub	w10, w11, #1
	str	w10, [x9, x8]
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoAHW,4,2                    ; @PicoAHW
	.comm	_PAHW_32X,4,2                   ; @PAHW_32X
	.comm	_currentConfig,8,2              ; @currentConfig
	.comm	_PAHW_SMS,4,2                   ; @PAHW_SMS
	.comm	_RT_8BIT_FAST,4,2               ; @RT_8BIT_FAST
	.comm	_RT_COUNT,4,2                   ; @RT_COUNT
	.no_dead_strip	_change_renderer
.subsections_via_symbols
