	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_video_loop_prepare        ## -- Begin function plat_video_loop_prepare
	.p2align	4, 0x90
_plat_video_loop_prepare:               ## @plat_video_loop_prepare
	.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	_g_menuscreen_ptr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_g_menuscreen_w@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_menuscreen_h@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	addl	%edx, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_main_fb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vout_fbdev_flip
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_menuscreen_ptr,4,2           ## @g_menuscreen_ptr
	.comm	_g_menuscreen_w,4,2             ## @g_menuscreen_w
	.comm	_g_menuscreen_h,4,2             ## @g_menuscreen_h
	.comm	_main_fb,4,2                    ## @main_fb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_video_loop_prepare        ; -- Begin function plat_video_loop_prepare
	.p2align	2
_plat_video_loop_prepare:               ; @plat_video_loop_prepare
	.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, _g_menuscreen_ptr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _g_menuscreen_ptr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _g_menuscreen_w@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_menuscreen_w@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _g_menuscreen_h@GOTPAGE
Lloh6:
	ldr	x9, [x9, _g_menuscreen_h@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mul	w8, w8, w9
	lsl	w2, w8, #1
	mov	w1, #0
	bl	_memset
Lloh8:
	adrp	x8, _main_fb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _main_fb@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_vout_fbdev_flip
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_menuscreen_ptr,4,2           ; @g_menuscreen_ptr
	.comm	_g_menuscreen_w,4,2             ; @g_menuscreen_w
	.comm	_g_menuscreen_h,4,2             ; @g_menuscreen_h
	.comm	_main_fb,4,2                    ; @main_fb
.subsections_via_symbols
