	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_stdu_plane_update_bo
_vmw_stdu_plane_update_bo:              ## @vmw_stdu_plane_update_bo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movq	%rbx, -48(%rbp)
	movq	%r12, -56(%rbp)
	movq	%r13, -64(%rbp)
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_vmw_crtc_to_du
	movl	%eax, -72(%rbp)
	movq	%r15, -80(%rbp)
	movq	%r14, -88(%rbp)
	movq	$0, -96(%rbp)
	movq	_SVGA_CAP_3D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%r13), %eax
	sete	%cl
	movl	%ecx, -120(%rbp)
	movl	$0, -116(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_vmw_stdu_bo_populate_update@GOTPCREL(%rip), %rax
	movq	_vmw_stdu_bo_populate_clip@GOTPCREL(%rip), %rcx
	movq	_vmw_stdu_bo_populate_dma@GOTPCREL(%rip), %rdx
	movq	_vmw_stdu_bo_fifo_size@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_1:
	movq	_vmw_stdu_bo_populate_update_cpu@GOTPCREL(%rip), %rax
	movq	_vmw_stdu_bo_clip_cpu@GOTPCREL(%rip), %rcx
	movq	_vmw_stdu_bo_pre_clip_cpu@GOTPCREL(%rip), %rdx
	movq	_vmw_stdu_bo_fifo_size_cpu@GOTPCREL(%rip), %rsi
LBB0_3:
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	movl	(%rsi), %esi
	movl	%esi, -100(%rbp)
	movl	%edx, -104(%rbp)
	movl	%ecx, -108(%rbp)
	movl	%eax, -112(%rbp)
	leaq	-120(%rbp), %rdi
	callq	_vmw_du_helper_plane_update
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVGA_CAP_3D,4,2                ## @SVGA_CAP_3D
	.comm	_vmw_stdu_bo_fifo_size_cpu,4,2  ## @vmw_stdu_bo_fifo_size_cpu
	.comm	_vmw_stdu_bo_pre_clip_cpu,4,2   ## @vmw_stdu_bo_pre_clip_cpu
	.comm	_vmw_stdu_bo_clip_cpu,4,2       ## @vmw_stdu_bo_clip_cpu
	.comm	_vmw_stdu_bo_populate_update_cpu,4,2 ## @vmw_stdu_bo_populate_update_cpu
	.comm	_vmw_stdu_bo_fifo_size,4,2      ## @vmw_stdu_bo_fifo_size
	.comm	_vmw_stdu_bo_populate_dma,4,2   ## @vmw_stdu_bo_populate_dma
	.comm	_vmw_stdu_bo_populate_clip,4,2  ## @vmw_stdu_bo_populate_clip
	.comm	_vmw_stdu_bo_populate_update,4,2 ## @vmw_stdu_bo_populate_update
	.no_dead_strip	_vmw_stdu_plane_update_bo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_stdu_plane_update_bo
_vmw_stdu_plane_update_bo:              ; @vmw_stdu_plane_update_bo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	stp	x21, x22, [sp, #64]
	str	x23, [sp, #56]
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_vmw_crtc_to_du
	str	w0, [sp, #48]
	stp	x19, x20, [sp, #32]
	str	xzr, [sp, #24]
	ldr	w8, [x23]
Lloh0:
	adrp	x9, _SVGA_CAP_3D@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVGA_CAP_3D@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w8, w9, w8
Lloh3:
	adrp	x9, _vmw_stdu_bo_populate_update_cpu@GOTPAGE
Lloh4:
	ldr	x9, [x9, _vmw_stdu_bo_populate_update_cpu@GOTPAGEOFF]
Lloh5:
	adrp	x10, _vmw_stdu_bo_clip_cpu@GOTPAGE
Lloh6:
	ldr	x10, [x10, _vmw_stdu_bo_clip_cpu@GOTPAGEOFF]
Lloh7:
	adrp	x11, _vmw_stdu_bo_pre_clip_cpu@GOTPAGE
Lloh8:
	ldr	x11, [x11, _vmw_stdu_bo_pre_clip_cpu@GOTPAGEOFF]
Lloh9:
	adrp	x12, _vmw_stdu_bo_fifo_size_cpu@GOTPAGE
Lloh10:
	ldr	x12, [x12, _vmw_stdu_bo_fifo_size_cpu@GOTPAGEOFF]
	cset	w13, eq
Lloh11:
	adrp	x14, _vmw_stdu_bo_populate_update@GOTPAGE
Lloh12:
	ldr	x14, [x14, _vmw_stdu_bo_populate_update@GOTPAGEOFF]
Lloh13:
	adrp	x15, _vmw_stdu_bo_populate_clip@GOTPAGE
Lloh14:
	ldr	x15, [x15, _vmw_stdu_bo_populate_clip@GOTPAGEOFF]
	stp	w13, wzr, [sp]
Lloh15:
	adrp	x13, _vmw_stdu_bo_populate_dma@GOTPAGE
Lloh16:
	ldr	x13, [x13, _vmw_stdu_bo_populate_dma@GOTPAGEOFF]
Lloh17:
	adrp	x16, _vmw_stdu_bo_fifo_size@GOTPAGE
Lloh18:
	ldr	x16, [x16, _vmw_stdu_bo_fifo_size@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x12, x16, eq
	csel	x11, x11, x13, eq
	csel	x10, x10, x15, eq
	csel	x9, x9, x14, eq
	ldr	w9, [x9]
	ldr	w10, [x10]
	ldr	w11, [x11]
	ldr	w8, [x8]
	stp	w11, w8, [sp, #16]
	stp	w9, w10, [sp, #8]
	mov	x0, sp
	bl	_vmw_du_helper_plane_update
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVGA_CAP_3D,4,2                ; @SVGA_CAP_3D
	.comm	_vmw_stdu_bo_fifo_size_cpu,4,2  ; @vmw_stdu_bo_fifo_size_cpu
	.comm	_vmw_stdu_bo_pre_clip_cpu,4,2   ; @vmw_stdu_bo_pre_clip_cpu
	.comm	_vmw_stdu_bo_clip_cpu,4,2       ; @vmw_stdu_bo_clip_cpu
	.comm	_vmw_stdu_bo_populate_update_cpu,4,2 ; @vmw_stdu_bo_populate_update_cpu
	.comm	_vmw_stdu_bo_fifo_size,4,2      ; @vmw_stdu_bo_fifo_size
	.comm	_vmw_stdu_bo_populate_dma,4,2   ; @vmw_stdu_bo_populate_dma
	.comm	_vmw_stdu_bo_populate_clip,4,2  ; @vmw_stdu_bo_populate_clip
	.comm	_vmw_stdu_bo_populate_update,4,2 ; @vmw_stdu_bo_populate_update
	.no_dead_strip	_vmw_stdu_plane_update_bo
.subsections_via_symbols
