	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_cec_htplg_irq_init
_mtk_cec_htplg_irq_init:                ## @mtk_cec_htplg_irq_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_CEC_CKGEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CEC_32K_PDN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PDN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%edx, %ecx
	callq	_mtk_cec_mask
	movq	_RX_GEN_WD@GOTPCREL(%rip), %r14
	movq	_HDMI_PORD_INT_32K_CLR@GOTPCREL(%rip), %r15
	movq	_RX_INT_32K_CLR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%r15), %edx
	movl	(%r14), %esi
	movq	_HDMI_HTPLG_INT_32K_CLR@GOTPCREL(%rip), %r13
	orl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_mtk_cec_set_bits
	movl	(%r12), %ecx
	orl	(%r15), %ecx
	orl	(%r13), %ecx
	movq	_HDMI_PORD_INT_32K_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%r14), %esi
	movq	_RX_INT_32K_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_HDMI_HTPLG_INT_32K_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtk_cec_mask                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_CKGEN,4,2                  ## @CEC_CKGEN
	.comm	_CEC_32K_PDN,4,2                ## @CEC_32K_PDN
	.comm	_PDN,4,2                        ## @PDN
	.comm	_RX_GEN_WD,4,2                  ## @RX_GEN_WD
	.comm	_HDMI_PORD_INT_32K_CLR,4,2      ## @HDMI_PORD_INT_32K_CLR
	.comm	_RX_INT_32K_CLR,4,2             ## @RX_INT_32K_CLR
	.comm	_HDMI_HTPLG_INT_32K_CLR,4,2     ## @HDMI_HTPLG_INT_32K_CLR
	.comm	_HDMI_PORD_INT_32K_EN,4,2       ## @HDMI_PORD_INT_32K_EN
	.comm	_RX_INT_32K_EN,4,2              ## @RX_INT_32K_EN
	.comm	_HDMI_HTPLG_INT_32K_EN,4,2      ## @HDMI_HTPLG_INT_32K_EN
	.no_dead_strip	_mtk_cec_htplg_irq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_cec_htplg_irq_init
_mtk_cec_htplg_irq_init:                ; @mtk_cec_htplg_irq_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _CEC_CKGEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CEC_CKGEN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CEC_32K_PDN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CEC_32K_PDN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x8, _PDN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PDN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w3, w8, w2
	bl	_mtk_cec_mask
Lloh9:
	adrp	x20, _RX_GEN_WD@GOTPAGE
Lloh10:
	ldr	x20, [x20, _RX_GEN_WD@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh11:
	adrp	x21, _HDMI_PORD_INT_32K_CLR@GOTPAGE
Lloh12:
	ldr	x21, [x21, _HDMI_PORD_INT_32K_CLR@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh13:
	adrp	x22, _RX_INT_32K_CLR@GOTPAGE
Lloh14:
	ldr	x22, [x22, _RX_INT_32K_CLR@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh15:
	adrp	x23, _HDMI_HTPLG_INT_32K_CLR@GOTPAGE
Lloh16:
	ldr	x23, [x23, _HDMI_HTPLG_INT_32K_CLR@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_mtk_cec_set_bits
	ldr	w1, [x20]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _HDMI_PORD_INT_32K_EN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HDMI_PORD_INT_32K_EN@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _RX_INT_32K_EN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RX_INT_32K_EN@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _HDMI_HTPLG_INT_32K_EN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HDMI_HTPLG_INT_32K_EN@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mtk_cec_mask
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_CKGEN,4,2                  ; @CEC_CKGEN
	.comm	_CEC_32K_PDN,4,2                ; @CEC_32K_PDN
	.comm	_PDN,4,2                        ; @PDN
	.comm	_RX_GEN_WD,4,2                  ; @RX_GEN_WD
	.comm	_HDMI_PORD_INT_32K_CLR,4,2      ; @HDMI_PORD_INT_32K_CLR
	.comm	_RX_INT_32K_CLR,4,2             ; @RX_INT_32K_CLR
	.comm	_HDMI_HTPLG_INT_32K_CLR,4,2     ; @HDMI_HTPLG_INT_32K_CLR
	.comm	_HDMI_PORD_INT_32K_EN,4,2       ; @HDMI_PORD_INT_32K_EN
	.comm	_RX_INT_32K_EN,4,2              ; @RX_INT_32K_EN
	.comm	_HDMI_HTPLG_INT_32K_EN,4,2      ; @HDMI_HTPLG_INT_32K_EN
	.no_dead_strip	_mtk_cec_htplg_irq_init
.subsections_via_symbols
