	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_win_reset
_mixer_win_reset:                       ## @mixer_win_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_spin_lock_irqsave
	movq	_MXR_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MXR_CFG_DST_HDMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MXR_CFG_DST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_mixer_reg_writemask
	movl	(%r15), %esi
	movq	_MXR_CFG_OUT_RGB888@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MXR_CFG_OUT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_mixer_reg_writemask
	movq	_MXR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_STATUS_16_BURST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MXR_STATUS_BURST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_mixer_reg_writemask
	movq	_MXR_LAYER_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mixer_reg_write
	movq	_MXR_BG_COLOR0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	movl	$128, %esi
	movl	$128, %edx
	callq	_MXR_YCBCR_VAL
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mixer_reg_write
	movq	_MXR_BG_COLOR1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	movl	$128, %esi
	movl	$128, %edx
	callq	_MXR_YCBCR_VAL
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mixer_reg_write
	movq	_MXR_BG_COLOR2@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	movl	$128, %esi
	movl	$128, %edx
	callq	_MXR_YCBCR_VAL
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mixer_reg_write
	movq	_MXR_BIT_VP_ENABLED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_vp_win_reset
	movq	%rbx, %rdi
	callq	_vp_default_filter
LBB0_2:
	movl	(%r15), %esi
	movq	_MXR_CFG_GRP0_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mixer_reg_writemask
	movl	(%r15), %esi
	movq	_MXR_CFG_GRP1_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mixer_reg_writemask
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %esi
	movq	_MXR_CFG_VP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mixer_reg_writemask
LBB0_4:
	xorl	%edi, %edi
	callq	_MXR_GRAPHIC_SXY
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_mixer_reg_write
	movl	$1, %edi
	callq	_MXR_GRAPHIC_SXY
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_mixer_reg_write
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MXR_CFG,4,2                    ## @MXR_CFG
	.comm	_MXR_CFG_DST_HDMI,4,2           ## @MXR_CFG_DST_HDMI
	.comm	_MXR_CFG_DST_MASK,4,2           ## @MXR_CFG_DST_MASK
	.comm	_MXR_CFG_OUT_RGB888,4,2         ## @MXR_CFG_OUT_RGB888
	.comm	_MXR_CFG_OUT_MASK,4,2           ## @MXR_CFG_OUT_MASK
	.comm	_MXR_STATUS,4,2                 ## @MXR_STATUS
	.comm	_MXR_STATUS_16_BURST,4,2        ## @MXR_STATUS_16_BURST
	.comm	_MXR_STATUS_BURST_MASK,4,2      ## @MXR_STATUS_BURST_MASK
	.comm	_MXR_LAYER_CFG,4,2              ## @MXR_LAYER_CFG
	.comm	_MXR_BG_COLOR0,4,2              ## @MXR_BG_COLOR0
	.comm	_MXR_BG_COLOR1,4,2              ## @MXR_BG_COLOR1
	.comm	_MXR_BG_COLOR2,4,2              ## @MXR_BG_COLOR2
	.comm	_MXR_BIT_VP_ENABLED,4,2         ## @MXR_BIT_VP_ENABLED
	.comm	_MXR_CFG_GRP0_ENABLE,4,2        ## @MXR_CFG_GRP0_ENABLE
	.comm	_MXR_CFG_GRP1_ENABLE,4,2        ## @MXR_CFG_GRP1_ENABLE
	.comm	_MXR_CFG_VP_ENABLE,4,2          ## @MXR_CFG_VP_ENABLE
	.no_dead_strip	_mixer_win_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_win_reset
_mixer_win_reset:                       ; @mixer_win_reset
	.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	x19, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x21, _MXR_CFG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MXR_CFG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _MXR_CFG_DST_HDMI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MXR_CFG_DST_HDMI@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _MXR_CFG_DST_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MXR_CFG_DST_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mixer_reg_writemask
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _MXR_CFG_OUT_RGB888@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MXR_CFG_OUT_RGB888@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _MXR_CFG_OUT_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MXR_CFG_OUT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mixer_reg_writemask
Lloh14:
	adrp	x8, _MXR_STATUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MXR_STATUS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _MXR_STATUS_16_BURST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MXR_STATUS_16_BURST@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _MXR_STATUS_BURST_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MXR_STATUS_BURST_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mixer_reg_writemask
Lloh23:
	adrp	x8, _MXR_LAYER_CFG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MXR_LAYER_CFG@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_mixer_reg_write
Lloh26:
	adrp	x8, _MXR_BG_COLOR0@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MXR_BG_COLOR0@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	mov	w0, #0
	mov	w1, #128
	mov	w2, #128
	bl	_MXR_YCBCR_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mixer_reg_write
Lloh29:
	adrp	x8, _MXR_BG_COLOR1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MXR_BG_COLOR1@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
	mov	w0, #0
	mov	w1, #128
	mov	w2, #128
	bl	_MXR_YCBCR_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mixer_reg_write
Lloh32:
	adrp	x8, _MXR_BG_COLOR2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MXR_BG_COLOR2@GOTPAGEOFF]
Lloh34:
	ldr	w20, [x8]
	mov	w0, #0
	mov	w1, #128
	mov	w2, #128
	bl	_MXR_YCBCR_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mixer_reg_write
Lloh35:
	adrp	x22, _MXR_BIT_VP_ENABLED@GOTPAGE
Lloh36:
	ldr	x22, [x22, _MXR_BIT_VP_ENABLED@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_vp_win_reset
	mov	x0, x19
	bl	_vp_default_filter
LBB0_2:
	ldr	w1, [x21]
Lloh37:
	adrp	x8, _MXR_CFG_GRP0_ENABLE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MXR_CFG_GRP0_ENABLE@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_mixer_reg_writemask
	ldr	w1, [x21]
Lloh40:
	adrp	x8, _MXR_CFG_GRP1_ENABLE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MXR_CFG_GRP1_ENABLE@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_mixer_reg_writemask
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x21]
Lloh43:
	adrp	x8, _MXR_CFG_VP_ENABLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MXR_CFG_VP_ENABLE@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_mixer_reg_writemask
LBB0_4:
	mov	w0, #0
	bl	_MXR_GRAPHIC_SXY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_mixer_reg_write
	mov	w0, #1
	bl	_MXR_GRAPHIC_SXY
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_mixer_reg_write
	mov	x0, 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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MXR_CFG,4,2                    ; @MXR_CFG
	.comm	_MXR_CFG_DST_HDMI,4,2           ; @MXR_CFG_DST_HDMI
	.comm	_MXR_CFG_DST_MASK,4,2           ; @MXR_CFG_DST_MASK
	.comm	_MXR_CFG_OUT_RGB888,4,2         ; @MXR_CFG_OUT_RGB888
	.comm	_MXR_CFG_OUT_MASK,4,2           ; @MXR_CFG_OUT_MASK
	.comm	_MXR_STATUS,4,2                 ; @MXR_STATUS
	.comm	_MXR_STATUS_16_BURST,4,2        ; @MXR_STATUS_16_BURST
	.comm	_MXR_STATUS_BURST_MASK,4,2      ; @MXR_STATUS_BURST_MASK
	.comm	_MXR_LAYER_CFG,4,2              ; @MXR_LAYER_CFG
	.comm	_MXR_BG_COLOR0,4,2              ; @MXR_BG_COLOR0
	.comm	_MXR_BG_COLOR1,4,2              ; @MXR_BG_COLOR1
	.comm	_MXR_BG_COLOR2,4,2              ; @MXR_BG_COLOR2
	.comm	_MXR_BIT_VP_ENABLED,4,2         ; @MXR_BIT_VP_ENABLED
	.comm	_MXR_CFG_GRP0_ENABLE,4,2        ; @MXR_CFG_GRP0_ENABLE
	.comm	_MXR_CFG_GRP1_ENABLE,4,2        ; @MXR_CFG_GRP1_ENABLE
	.comm	_MXR_CFG_VP_ENABLE,4,2          ; @MXR_CFG_VP_ENABLE
	.no_dead_strip	_mixer_win_reset
.subsections_via_symbols
