	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_ao_cec_clear
_meson_ao_cec_clear:                    ## @meson_ao_cec_clear
	.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
	movl	$0, -44(%rbp)
	movq	_CEC_RX_MSG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r14
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movq	_CEC_TX_MSG_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_TX_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movq	_CEC_RX_CLEAR_BUF@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movq	_CEC_TX_CLEAR_BUF@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %esi
	leaq	-44(%rbp), %r14
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	$100, %edi
	callq	_udelay
	movq	_CEC_RX_MSG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_NO_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movl	(%r12), %esi
	movq	_TX_NO_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_meson_ao_cec_write
	movl	-44(%rbp), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_RX_MSG_CMD,4,2             ## @CEC_RX_MSG_CMD
	.comm	_RX_DISABLE,4,2                 ## @RX_DISABLE
	.comm	_CEC_TX_MSG_CMD,4,2             ## @CEC_TX_MSG_CMD
	.comm	_TX_ABORT,4,2                   ## @TX_ABORT
	.comm	_CEC_RX_CLEAR_BUF,4,2           ## @CEC_RX_CLEAR_BUF
	.comm	_CEC_TX_CLEAR_BUF,4,2           ## @CEC_TX_CLEAR_BUF
	.comm	_RX_NO_OP,4,2                   ## @RX_NO_OP
	.comm	_TX_NO_OP,4,2                   ## @TX_NO_OP
	.no_dead_strip	_meson_ao_cec_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_ao_cec_clear
_meson_ao_cec_clear:                    ; @meson_ao_cec_clear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	wzr, [sp, #12]
Lloh0:
	adrp	x20, _CEC_RX_MSG_CMD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CEC_RX_MSG_CMD@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _RX_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RX_DISABLE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #12
	bl	_meson_ao_cec_write
Lloh5:
	adrp	x21, _CEC_TX_MSG_CMD@GOTPAGE
Lloh6:
	ldr	x21, [x21, _CEC_TX_MSG_CMD@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _TX_ABORT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TX_ABORT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_meson_ao_cec_write
Lloh10:
	adrp	x22, _CEC_RX_CLEAR_BUF@GOTPAGE
Lloh11:
	ldr	x22, [x22, _CEC_RX_CLEAR_BUF@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_meson_ao_cec_write
Lloh12:
	adrp	x23, _CEC_TX_CLEAR_BUF@GOTPAGE
Lloh13:
	ldr	x23, [x23, _CEC_TX_CLEAR_BUF@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_meson_ao_cec_write
	ldr	w0, [sp, #12]
	cbnz	w0, LBB0_3
; %bb.1:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x22]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_meson_ao_cec_write
	ldr	w1, [x23]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #0
	bl	_meson_ao_cec_write
	ldr	w0, [sp, #12]
	cbnz	w0, LBB0_3
; %bb.2:
	mov	w0, #100
	bl	_udelay
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _RX_NO_OP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RX_NO_OP@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_meson_ao_cec_write
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _TX_NO_OP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TX_NO_OP@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	bl	_meson_ao_cec_write
	ldr	w0, [sp, #12]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_RX_MSG_CMD,4,2             ; @CEC_RX_MSG_CMD
	.comm	_RX_DISABLE,4,2                 ; @RX_DISABLE
	.comm	_CEC_TX_MSG_CMD,4,2             ; @CEC_TX_MSG_CMD
	.comm	_TX_ABORT,4,2                   ; @TX_ABORT
	.comm	_CEC_RX_CLEAR_BUF,4,2           ; @CEC_RX_CLEAR_BUF
	.comm	_CEC_TX_CLEAR_BUF,4,2           ; @CEC_TX_CLEAR_BUF
	.comm	_RX_NO_OP,4,2                   ; @RX_NO_OP
	.comm	_TX_NO_OP,4,2                   ; @TX_NO_OP
	.no_dead_strip	_meson_ao_cec_clear
.subsections_via_symbols
