	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_hdmi_cec_log_addr
_dw_hdmi_cec_log_addr:                  ## @dw_hdmi_cec_log_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_cec_get_drvdata
	movq	%rax, %rbx
	movq	_CEC_LOG_ADDR_INVALID@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$0, (%rbx)
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, %edi
	callq	_BIT
	movl	%eax, %r14d
	movl	$15, %edi
	callq	_BIT
	orl	%r14d, %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	movzbl	%al, %esi
LBB0_3:
	movq	_HDMI_CEC_ADDR_L@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_dw_hdmi_write
	movl	(%rbx), %esi
	sarl	$8, %esi
	movq	_HDMI_CEC_ADDR_H@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_dw_hdmi_write
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_LOG_ADDR_INVALID,8,3       ## @CEC_LOG_ADDR_INVALID
	.comm	_HDMI_CEC_ADDR_L,4,2            ## @HDMI_CEC_ADDR_L
	.comm	_HDMI_CEC_ADDR_H,4,2            ## @HDMI_CEC_ADDR_H
	.no_dead_strip	_dw_hdmi_cec_log_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_hdmi_cec_log_addr
_dw_hdmi_cec_log_addr:                  ; @dw_hdmi_cec_log_addr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_cec_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _CEC_LOG_ADDR_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CEC_LOG_ADDR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
	mov	w1, #0
	str	wzr, [x19]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_BIT
	mov	x20, x0
	mov	w0, #15
	bl	_BIT
	orr	w8, w0, w20
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	and	w1, w8, #0xff
LBB0_3:
Lloh3:
	adrp	x8, _HDMI_CEC_ADDR_L@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_CEC_ADDR_L@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_dw_hdmi_write
	ldr	w8, [x19]
	asr	w1, w8, #8
Lloh6:
	adrp	x8, _HDMI_CEC_ADDR_H@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_CEC_ADDR_H@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_dw_hdmi_write
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_LOG_ADDR_INVALID,8,3       ; @CEC_LOG_ADDR_INVALID
	.comm	_HDMI_CEC_ADDR_L,4,2            ; @HDMI_CEC_ADDR_L
	.comm	_HDMI_CEC_ADDR_H,4,2            ; @HDMI_CEC_ADDR_H
	.no_dead_strip	_dw_hdmi_cec_log_addr
.subsections_via_symbols
