	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_video_flip                ## -- Begin function plat_video_flip
	.p2align	4, 0x90
_plat_video_flip:                       ## @plat_video_flip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_layer_fb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vout_fbdev_flip
	movq	_g_screen_ptr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_g_screen_width@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addl	%esi, %esi
	movl	%eax, %edi
	callq	_PicoDrawSetOutBuf
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_xenv_update                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_layer_fb,4,2                   ## @layer_fb
	.comm	_g_screen_ptr,4,2               ## @g_screen_ptr
	.comm	_g_screen_width,4,2             ## @g_screen_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_video_flip                ; -- Begin function plat_video_flip
	.p2align	2
_plat_video_flip:                       ; @plat_video_flip
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _layer_fb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _layer_fb@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_vout_fbdev_flip
Lloh3:
	adrp	x8, _g_screen_ptr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_screen_ptr@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
Lloh6:
	adrp	x8, _g_screen_width@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_screen_width@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w1, w8, #1
	bl	_PicoDrawSetOutBuf
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_xenv_update
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_layer_fb,4,2                   ; @layer_fb
	.comm	_g_screen_ptr,4,2               ; @g_screen_ptr
	.comm	_g_screen_width,4,2             ; @g_screen_width
.subsections_via_symbols
