	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_update_plane
_mixer_update_plane:                    ## @mixer_update_plane
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movl	4(%rbx), %edi
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_DEBUG_KMS
	movq	_MXR_BIT_POWERED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	(%r14), %eax
	movq	_VP_DEFAULT_WIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vp_video_buffer                ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mixer_graph_buffer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"win: %d\n"

	.comm	_MXR_BIT_POWERED,4,2            ## @MXR_BIT_POWERED
	.comm	_VP_DEFAULT_WIN,4,2             ## @VP_DEFAULT_WIN
	.no_dead_strip	_mixer_update_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_update_plane
_mixer_update_plane:                    ; @mixer_update_plane
	.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
	mov	x19, x1
	ldr	x20, [x0]
	ldr	w0, [x20, #4]
	ldr	w2, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_DEBUG_KMS
Lloh2:
	adrp	x8, _MXR_BIT_POWERED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MXR_BIT_POWERED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _VP_DEFAULT_WIN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VP_DEFAULT_WIN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mov	x0, x20
	mov	x1, x19
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vp_video_buffer
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mixer_graph_buffer
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"win: %d\n"

	.comm	_MXR_BIT_POWERED,4,2            ; @MXR_BIT_POWERED
	.comm	_VP_DEFAULT_WIN,4,2             ; @VP_DEFAULT_WIN
	.no_dead_strip	_mixer_update_plane
.subsections_via_symbols
