	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_video_toggle_renderer     ## -- Begin function plat_video_toggle_renderer
	.p2align	4, 0x90
_plat_video_toggle_renderer:            ## @plat_video_toggle_renderer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_currentConfig@GOTPCREL(%rip), %rbx
	addl	(%rbx), %edi
	movl	%edi, (%rbx)
	movq	_RT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%eax, %edi
	jge	LBB0_3
## %bb.1:
	testl	%edi, %edi
	js	LBB0_2
## %bb.4:
	testl	%esi, %esi
	je	LBB0_5
LBB0_6:
	movq	_renderer_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_emu_status_msg                 ## TAILCALL
LBB0_2:
	decl	%eax
	movl	%eax, %ecx
LBB0_3:
	movl	%ecx, (%rbx)
	movl	%ecx, %edi
	testl	%esi, %esi
	jne	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_apply_renderer
	movl	(%rbx), %edi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_currentConfig,4,2              ## @currentConfig
	.comm	_RT_COUNT,4,2                   ## @RT_COUNT
	.comm	_renderer_names,8,3             ## @renderer_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_video_toggle_renderer     ; -- Begin function plat_video_toggle_renderer
	.p2align	2
_plat_video_toggle_renderer:            ; @plat_video_toggle_renderer
	.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	x19, _currentConfig@GOTPAGE
Lloh1:
	ldr	x19, [x19, _currentConfig@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _RT_COUNT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RT_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	add	w8, w8, w0
	cmp	w8, w9
	str	w8, [x19]
	b.ge	LBB0_4
; %bb.1:
	tbnz	w8, #31, LBB0_5
; %bb.2:
	cbz	w1, LBB0_7
LBB0_3:
Lloh5:
	adrp	x9, _renderer_names@GOTPAGE
Lloh6:
	ldr	x9, [x9, _renderer_names@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_emu_status_msg
LBB0_4:
	mov	w8, #0
	b	LBB0_6
LBB0_5:
	sub	w8, w9, #1
LBB0_6:
	str	w8, [x19]
	cbnz	w1, LBB0_3
LBB0_7:
	bl	_apply_renderer
	ldr	w8, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_currentConfig,4,2              ; @currentConfig
	.comm	_RT_COUNT,4,2                   ; @RT_COUNT
	.comm	_renderer_names,8,3             ; @renderer_names
.subsections_via_symbols
