	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_enable
_mixer_enable:                          ## @mixer_enable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_MXR_BIT_POWERED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	4(%r14), %edi
	callq	_pm_runtime_get_sync
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_exynos_drm_pipe_clk_enable
	movq	%r14, %rdi
	callq	_mixer_disable_sync
	movq	_MXR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_STATUS_SOFT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_mixer_reg_writemask
	movq	_MXR_BIT_VSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MXR_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_INT_CLEAR_VSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_mixer_reg_writemask
	movq	_MXR_INT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_INT_EN_VSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_mixer_reg_writemask
LBB0_3:
	movq	%r14, %rdi
	callq	_mixer_win_reset
	movq	%r14, %rdi
	callq	_mixer_commit
	movq	%r14, %rdi
	callq	_mixer_enable_sync
	movl	(%r15), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MXR_BIT_POWERED,4,2            ## @MXR_BIT_POWERED
	.comm	_MXR_STATUS,4,2                 ## @MXR_STATUS
	.comm	_MXR_STATUS_SOFT_RESET,4,2      ## @MXR_STATUS_SOFT_RESET
	.comm	_MXR_BIT_VSYNC,4,2              ## @MXR_BIT_VSYNC
	.comm	_MXR_INT_STATUS,4,2             ## @MXR_INT_STATUS
	.comm	_MXR_INT_CLEAR_VSYNC,4,2        ## @MXR_INT_CLEAR_VSYNC
	.comm	_MXR_INT_EN,4,2                 ## @MXR_INT_EN
	.comm	_MXR_INT_EN_VSYNC,4,2           ## @MXR_INT_EN_VSYNC
	.no_dead_strip	_mixer_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_enable
_mixer_enable:                          ; @mixer_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x21, _MXR_BIT_POWERED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MXR_BIT_POWERED@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_pm_runtime_get_sync
	mov	x0, x20
	mov	w1, #1
	bl	_exynos_drm_pipe_clk_enable
	mov	x0, x19
	bl	_mixer_disable_sync
Lloh2:
	adrp	x8, _MXR_STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MXR_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _MXR_STATUS_SOFT_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MXR_STATUS_SOFT_RESET@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mixer_reg_writemask
Lloh8:
	adrp	x8, _MXR_BIT_VSYNC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MXR_BIT_VSYNC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _MXR_INT_STATUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MXR_INT_STATUS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _MXR_INT_CLEAR_VSYNC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MXR_INT_CLEAR_VSYNC@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mixer_reg_writemask
Lloh17:
	adrp	x8, _MXR_INT_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MXR_INT_EN@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _MXR_INT_EN_VSYNC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MXR_INT_EN_VSYNC@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mixer_reg_writemask
LBB0_4:
	mov	x0, x19
	bl	_mixer_win_reset
	mov	x0, x19
	bl	_mixer_commit
	mov	x0, x19
	bl	_mixer_enable_sync
	ldr	w0, [x21]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_bit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MXR_BIT_POWERED,4,2            ; @MXR_BIT_POWERED
	.comm	_MXR_STATUS,4,2                 ; @MXR_STATUS
	.comm	_MXR_STATUS_SOFT_RESET,4,2      ; @MXR_STATUS_SOFT_RESET
	.comm	_MXR_BIT_VSYNC,4,2              ; @MXR_BIT_VSYNC
	.comm	_MXR_INT_STATUS,4,2             ; @MXR_INT_STATUS
	.comm	_MXR_INT_CLEAR_VSYNC,4,2        ; @MXR_INT_CLEAR_VSYNC
	.comm	_MXR_INT_EN,4,2                 ; @MXR_INT_EN
	.comm	_MXR_INT_EN_VSYNC,4,2           ; @MXR_INT_EN_VSYNC
	.no_dead_strip	_mixer_enable
.subsections_via_symbols
