	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_enable_sync
_mixer_enable_sync:                     ## @mixer_enable_sync
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_MXR_VER_16_0_33_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_MXR_VER_128_0_0_184@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	_MXR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_CFG_LAYER_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_mixer_reg_writemask
LBB0_3:
	movq	_MXR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_STATUS_SYNC_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_mixer_reg_writemask
	movq	_MXR_BIT_VP_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_VP_SHADOW_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VP_SHADOW_UPDATE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vp_reg_write                   ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MXR_VER_16_0_33_0,8,3          ## @MXR_VER_16_0_33_0
	.comm	_MXR_VER_128_0_0_184,8,3        ## @MXR_VER_128_0_0_184
	.comm	_MXR_CFG,4,2                    ## @MXR_CFG
	.comm	_MXR_CFG_LAYER_UPDATE,4,2       ## @MXR_CFG_LAYER_UPDATE
	.comm	_MXR_STATUS,4,2                 ## @MXR_STATUS
	.comm	_MXR_STATUS_SYNC_ENABLE,4,2     ## @MXR_STATUS_SYNC_ENABLE
	.comm	_MXR_BIT_VP_ENABLED,4,2         ## @MXR_BIT_VP_ENABLED
	.comm	_VP_SHADOW_UPDATE,4,2           ## @VP_SHADOW_UPDATE
	.comm	_VP_SHADOW_UPDATE_ENABLE,4,2    ## @VP_SHADOW_UPDATE_ENABLE
	.no_dead_strip	_mixer_enable_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_enable_sync
_mixer_enable_sync:                     ; @mixer_enable_sync
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MXR_VER_16_0_33_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MXR_VER_16_0_33_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MXR_VER_128_0_0_184@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MXR_VER_128_0_0_184@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MXR_CFG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MXR_CFG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _MXR_CFG_LAYER_UPDATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MXR_CFG_LAYER_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mixer_reg_writemask
LBB0_2:
Lloh12:
	adrp	x8, _MXR_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MXR_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MXR_STATUS_SYNC_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MXR_STATUS_SYNC_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mixer_reg_writemask
Lloh18:
	adrp	x8, _MXR_BIT_VP_ENABLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MXR_BIT_VP_ENABLED@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
Lloh21:
	adrp	x8, _VP_SHADOW_UPDATE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VP_SHADOW_UPDATE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _VP_SHADOW_UPDATE_ENABLE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VP_SHADOW_UPDATE_ENABLE@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vp_reg_write
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MXR_VER_16_0_33_0,8,3          ; @MXR_VER_16_0_33_0
	.comm	_MXR_VER_128_0_0_184,8,3        ; @MXR_VER_128_0_0_184
	.comm	_MXR_CFG,4,2                    ; @MXR_CFG
	.comm	_MXR_CFG_LAYER_UPDATE,4,2       ; @MXR_CFG_LAYER_UPDATE
	.comm	_MXR_STATUS,4,2                 ; @MXR_STATUS
	.comm	_MXR_STATUS_SYNC_ENABLE,4,2     ; @MXR_STATUS_SYNC_ENABLE
	.comm	_MXR_BIT_VP_ENABLED,4,2         ; @MXR_BIT_VP_ENABLED
	.comm	_VP_SHADOW_UPDATE,4,2           ; @VP_SHADOW_UPDATE
	.comm	_VP_SHADOW_UPDATE_ENABLE,4,2    ; @VP_SHADOW_UPDATE_ENABLE
	.no_dead_strip	_mixer_enable_sync
.subsections_via_symbols
