	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_hw_send_av_unmute
_mtk_hdmi_hw_send_av_unmute:            ## @mtk_hdmi_hw_send_av_unmute
	.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
	movq	_GRL_CFG4@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_CFG4_AV_UNMUTE_EN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_CFG4_AV_UNMUTE_SET@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	%edx, %ecx
	callq	_mtk_hdmi_mask
	movl	$2000, %edi                     ## imm = 0x7D0
	movl	$4000, %esi                     ## imm = 0xFA0
	callq	_usleep_range
	movl	(%r14), %esi
	movl	(%r12), %edx
	movl	(%r15), %ecx
	orl	%edx, %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtk_hdmi_mask                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GRL_CFG4,4,2                   ## @GRL_CFG4
	.comm	_CFG4_AV_UNMUTE_EN,4,2          ## @CFG4_AV_UNMUTE_EN
	.comm	_CFG4_AV_UNMUTE_SET,4,2         ## @CFG4_AV_UNMUTE_SET
	.no_dead_strip	_mtk_hdmi_hw_send_av_unmute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_hdmi_hw_send_av_unmute
_mtk_hdmi_hw_send_av_unmute:            ; @mtk_hdmi_hw_send_av_unmute
	.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
Lloh0:
	adrp	x20, _GRL_CFG4@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GRL_CFG4@GOTPAGEOFF]
Lloh2:
	adrp	x21, _CFG4_AV_UNMUTE_EN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CFG4_AV_UNMUTE_EN@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh4:
	adrp	x22, _CFG4_AV_UNMUTE_SET@GOTPAGE
Lloh5:
	ldr	x22, [x22, _CFG4_AV_UNMUTE_SET@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w3, w8, w2
	bl	_mtk_hdmi_mask
	mov	w0, #2000
	mov	w1, #4000
	bl	_usleep_range
	ldr	w1, [x20]
	ldr	w2, [x22]
	ldr	w8, [x21]
	orr	w3, w8, w2
	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	_mtk_hdmi_mask
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GRL_CFG4,4,2                   ; @GRL_CFG4
	.comm	_CFG4_AV_UNMUTE_EN,4,2          ; @CFG4_AV_UNMUTE_EN
	.comm	_CFG4_AV_UNMUTE_SET,4,2         ; @CFG4_AV_UNMUTE_SET
	.no_dead_strip	_mtk_hdmi_hw_send_av_unmute
.subsections_via_symbols
