	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_overlay_move_buffer
_vmw_overlay_move_buffer:               ## @vmw_overlay_move_buffer
	.cfi_startproc
## %bb.0:
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_vmw_du_legacy@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	popq	%rbp
	movl	%ecx, %edx
	jne	LBB0_2
## %bb.4:
	jmp	_vmw_bo_pin_in_vram             ## TAILCALL
LBB0_3:
	movl	%ecx, %edx
	jmp	_vmw_bo_unpin                   ## TAILCALL
LBB0_2:
	jmp	_vmw_bo_pin_in_vram_or_gmr      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vmw_du_legacy,8,3              ## @vmw_du_legacy
	.no_dead_strip	_vmw_overlay_move_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_overlay_move_buffer
_vmw_overlay_move_buffer:               ; @vmw_overlay_move_buffer
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _vmw_du_legacy@GOTPAGE
Lloh1:
	ldr	x9, [x9, _vmw_du_legacy@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	x2, x3
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	b	_vmw_bo_pin_in_vram
LBB0_3:
	mov	x2, x3
	b	_vmw_bo_unpin
LBB0_4:
	b	_vmw_bo_pin_in_vram_or_gmr
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vmw_du_legacy,8,3              ; @vmw_du_legacy
	.no_dead_strip	_vmw_overlay_move_buffer
.subsections_via_symbols
