	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pulse8_cec_adap_log_addr
_pulse8_cec_adap_log_addr:              ## @pulse8_cec_adap_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_cec_get_drvdata
	movq	%rax, %r13
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	leaq	12(%r13), %rdi
	movq	%rdi, %r12
	callq	_mutex_lock
	movq	_CEC_LOG_ADDR_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$1, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	xorl	%ecx, %ecx
	cmpl	%r15d, %r14d
	cmovel	%ecx, %eax
	movq	_MSGCODE_SET_ACK_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -112(%rbp)
	movzbl	%al, %ecx
	sarl	$8, %eax
	movl	%eax, -108(%rbp)
	movl	%ecx, -104(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	%r15d, %r14d
	je	LBB0_3
## %bb.2:
	movq	%r12, %r14
	movq	_CEC_LOG_ADDR_INVALID@GOTPCREL(%rip), %r12
	jmp	LBB0_25
LBB0_3:
	cmpl	$0, (%r13)
	movq	%r12, %r14
	movq	_CEC_LOG_ADDR_INVALID@GOTPCREL(%rip), %r12
	jne	LBB0_25
## %bb.4:
	movq	_MSGCODE_SET_AUTO_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%r15d, (%r12)
	movl	%eax, -112(%rbp)
	setne	%cl
	movl	%ecx, -108(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.5:
	movl	-108(%rbp), %eax
	movl	%eax, 4(%r13)
	movl	$0, %ebx
	cmpl	%r15d, (%r12)
	je	LBB0_25
## %bb.6:
	movq	_MSGCODE_SET_DEVICE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.7:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	movl	$0, %ecx
	ja	LBB0_17
## %bb.8:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	_CEC_LOG_ADDR_MASK_TV@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	movq	_CEC_LOG_ADDR_MASK_TUNER@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_CEC_LOG_ADDR_MASK_UNREGISTERED@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_10:
	movq	_CEC_LOG_ADDR_MASK_RECORD@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_CEC_LOG_ADDR_MASK_SPECIFIC@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movq	_CEC_LOG_ADDR_MASK_PLAYBACK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_CEC_LOG_ADDR_MASK_AUDIOSYSTEM@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %ecx
LBB0_17:
	movq	_MSGCODE_SET_LOGICAL_ADDRESS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movl	%ecx, %eax
	sarl	$8, %eax
	movl	%eax, -108(%rbp)
	movzbl	%cl, %eax
	movl	%eax, -104(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.18:
	movq	_MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movl	%r15d, -108(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.19:
	movq	_MSGCODE_SET_PHYSICAL_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movl	-128(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %eax
	sarl	$8, %eax
	movl	%eax, -108(%rbp)
	movzbl	%cl, %eax
	movl	%eax, -104(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.20:
	movq	_MSGCODE_SET_HDMI_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %eax
	movl	%eax, -108(%rbp)
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.21:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	24(%rax), %rax
	cmpb	$0, (%rax)
	movl	$0, %ebx
	je	LBB0_25
## %bb.22:
	movq	%rax, %rdi
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	callq	_strlen
	movq	%rax, %rbx
	movq	_MSGCODE_SET_OSD_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	leaq	-108(%rbp), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	$63, %edx
	callq	_strscpy
	cmpq	$3, %rbx
	ja	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	leaq	-108(%rbp), %rax
	addq	%rax, %rdi
	movl	$4, %edx
	subl	%ebx, %edx
	movl	$32, %esi
	callq	_memset
	movb	$0, -104(%rbp)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	24(%rax), %rdi
	leaq	-108(%rbp), %rsi
	movl	$8, %edx
	callq	_strscpy
	movl	$4, %ebx
LBB0_24:
	incl	%ebx
	movq	_MSGCODE_COMMAND_ACCEPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_pulse8_send_and_wait
	movl	%eax, %ebx
LBB0_25:
	cmpl	$0, (%r13)
	je	LBB0_27
## %bb.26:
	movl	$0, (%r13)
	jmp	LBB0_28
LBB0_27:
	movl	$1, 8(%r13)
LBB0_28:
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	cmpl	%r15d, (%r12)
	cmovel	%eax, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_CEC_LOG_ADDR_INVALID,4,2       ## @CEC_LOG_ADDR_INVALID
	.comm	_MSGCODE_SET_ACK_MASK,4,2       ## @MSGCODE_SET_ACK_MASK
	.comm	_MSGCODE_COMMAND_ACCEPTED,4,2   ## @MSGCODE_COMMAND_ACCEPTED
	.comm	_MSGCODE_SET_AUTO_ENABLED,4,2   ## @MSGCODE_SET_AUTO_ENABLED
	.comm	_MSGCODE_SET_DEVICE_TYPE,4,2    ## @MSGCODE_SET_DEVICE_TYPE
	.comm	_CEC_LOG_ADDR_MASK_TV,4,2       ## @CEC_LOG_ADDR_MASK_TV
	.comm	_CEC_LOG_ADDR_MASK_RECORD,4,2   ## @CEC_LOG_ADDR_MASK_RECORD
	.comm	_CEC_LOG_ADDR_MASK_TUNER,4,2    ## @CEC_LOG_ADDR_MASK_TUNER
	.comm	_CEC_LOG_ADDR_MASK_PLAYBACK,4,2 ## @CEC_LOG_ADDR_MASK_PLAYBACK
	.comm	_CEC_LOG_ADDR_MASK_AUDIOSYSTEM,4,2 ## @CEC_LOG_ADDR_MASK_AUDIOSYSTEM
	.comm	_CEC_LOG_ADDR_MASK_UNREGISTERED,4,2 ## @CEC_LOG_ADDR_MASK_UNREGISTERED
	.comm	_CEC_LOG_ADDR_MASK_SPECIFIC,4,2 ## @CEC_LOG_ADDR_MASK_SPECIFIC
	.comm	_MSGCODE_SET_LOGICAL_ADDRESS_MASK,4,2 ## @MSGCODE_SET_LOGICAL_ADDRESS_MASK
	.comm	_MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS,4,2 ## @MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS
	.comm	_MSGCODE_SET_PHYSICAL_ADDRESS,4,2 ## @MSGCODE_SET_PHYSICAL_ADDRESS
	.comm	_MSGCODE_SET_HDMI_VERSION,4,2   ## @MSGCODE_SET_HDMI_VERSION
	.comm	_MSGCODE_SET_OSD_NAME,4,2       ## @MSGCODE_SET_OSD_NAME
	.no_dead_strip	_pulse8_cec_adap_log_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pulse8_cec_adap_log_addr
_pulse8_cec_adap_log_addr:              ; @pulse8_cec_adap_log_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_cec_get_drvdata
	mov	x21, x0
	ldr	w25, [x22]
	add	x20, x0, #12
	mov	x0, x20
	bl	_mutex_lock
Lloh3:
	adrp	x26, _CEC_LOG_ADDR_INVALID@GOTPAGE
Lloh4:
	ldr	x26, [x26, _CEC_LOG_ADDR_INVALID@GOTPAGEOFF]
	ldr	w28, [x26]
	mov	w8, #1
	lsl	w8, w8, w19
	cmp	w28, w19
	csel	w8, wzr, w8, eq
Lloh5:
	adrp	x9, _MSGCODE_SET_ACK_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MSGCODE_SET_ACK_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	asr	w10, w8, #8
	add	x24, sp, #8
	stp	w9, w10, [sp, #8]
	and	w8, w8, #0xff
	str	w8, [sp, #16]
Lloh8:
	adrp	x27, _MSGCODE_COMMAND_ACCEPTED@GOTPAGE
Lloh9:
	ldr	x27, [x27, _MSGCODE_COMMAND_ACCEPTED@GOTPAGEOFF]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #3
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cmp	w0, #0
	ccmp	w28, w19, #4, ne
	b.ne	LBB0_25
; %bb.1:
	ldr	w8, [x21]
	cbnz	w8, LBB0_25
; %bb.2:
Lloh10:
	adrp	x8, _MSGCODE_SET_AUTO_ENABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSGCODE_SET_AUTO_ENABLED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x26]
	cmp	w9, w19
	cset	w9, ne
	stp	w8, w9, [sp, #8]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #2
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cbnz	w0, LBB0_25
; %bb.3:
	ldr	w8, [sp, #12]
	str	w8, [x21, #4]
	ldr	w8, [x26]
	cmp	w8, w19
	b.ne	LBB0_5
LBB0_4:
	mov	w23, #0
	b	LBB0_25
LBB0_5:
Lloh13:
	adrp	x8, _MSGCODE_SET_DEVICE_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSGCODE_SET_DEVICE_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #2
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cbnz	w0, LBB0_25
; %bb.6:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_9
; %bb.7:
Lloh16:
	adrp	x9, lJTI0_0@PAGE
Lloh17:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
Lloh18:
	adrp	x8, _CEC_LOG_ADDR_MASK_TV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_TV@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
	mov	w8, #0
	b	LBB0_17
LBB0_10:
Lloh20:
	adrp	x8, _CEC_LOG_ADDR_MASK_UNREGISTERED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_UNREGISTERED@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
Lloh22:
	adrp	x8, _CEC_LOG_ADDR_MASK_RECORD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_RECORD@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh24:
	adrp	x8, _CEC_LOG_ADDR_MASK_SPECIFIC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_SPECIFIC@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh26:
	adrp	x8, _CEC_LOG_ADDR_MASK_TUNER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_TUNER@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh28:
	adrp	x8, _CEC_LOG_ADDR_MASK_PLAYBACK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_PLAYBACK@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh30:
	adrp	x8, _CEC_LOG_ADDR_MASK_AUDIOSYSTEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CEC_LOG_ADDR_MASK_AUDIOSYSTEM@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
LBB0_17:
Lloh32:
	adrp	x9, _MSGCODE_SET_LOGICAL_ADDRESS_MASK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MSGCODE_SET_LOGICAL_ADDRESS_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	asr	w10, w8, #8
	stp	w9, w10, [sp, #8]
	and	w8, w8, #0xff
	str	w8, [sp, #16]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #3
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cbnz	w0, LBB0_25
; %bb.18:
Lloh35:
	adrp	x8, _MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	stp	w8, w19, [sp, #8]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #2
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cbnz	w0, LBB0_25
; %bb.19:
Lloh38:
	adrp	x8, _MSGCODE_SET_PHYSICAL_ADDRESS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSGCODE_SET_PHYSICAL_ADDRESS@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	asr	w9, w25, #8
	stp	w8, w9, [sp, #8]
	and	w8, w25, #0xff
	str	w8, [sp, #16]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #3
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cbnz	w0, LBB0_25
; %bb.20:
Lloh41:
	adrp	x8, _MSGCODE_SET_HDMI_VERSION@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MSGCODE_SET_HDMI_VERSION@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [x22, #16]
	stp	w8, w9, [sp, #8]
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #2
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
	cbnz	w0, LBB0_25
; %bb.21:
	ldr	x8, [x22, #24]
	ldrb	w9, [x8]
	cbz	w9, LBB0_4
; %bb.22:
	add	x23, x24, #4
	mov	x24, x8
	mov	x0, x8
	bl	_strlen
	mov	x25, x0
Lloh44:
	adrp	x8, _MSGCODE_SET_OSD_NAME@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MSGCODE_SET_OSD_NAME@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x23
	mov	x1, x24
	mov	w2, #63
	bl	_strscpy
	cmp	x25, #3
	b.hi	LBB0_24
; %bb.23:
	add	x0, x23, x25
	mov	w8, #4
	sub	w2, w8, w25
	mov	w1, #32
	bl	_memset
	strb	wzr, [sp, #16]
	ldr	x0, [x22, #24]
	mov	x1, x23
	mov	w2, #8
	bl	_strscpy
	mov	w25, #4
LBB0_24:
	add	w2, w25, #1
	ldr	w3, [x27]
	add	x1, sp, #8
	mov	x0, x21
	mov	w4, #0
	bl	_pulse8_send_and_wait
	mov	x23, x0
LBB0_25:
	ldr	w8, [x21]
	cbz	w8, LBB0_27
; %bb.26:
	str	wzr, [x21]
	b	LBB0_28
LBB0_27:
	mov	w8, #1
	str	w8, [x21, #8]
LBB0_28:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w8, [x26]
	cmp	w8, w19
	csel	w0, wzr, w23, eq
	ldr	x8, [sp, #72]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
                                        ; -- End function
	.comm	_CEC_LOG_ADDR_INVALID,4,2       ; @CEC_LOG_ADDR_INVALID
	.comm	_MSGCODE_SET_ACK_MASK,4,2       ; @MSGCODE_SET_ACK_MASK
	.comm	_MSGCODE_COMMAND_ACCEPTED,4,2   ; @MSGCODE_COMMAND_ACCEPTED
	.comm	_MSGCODE_SET_AUTO_ENABLED,4,2   ; @MSGCODE_SET_AUTO_ENABLED
	.comm	_MSGCODE_SET_DEVICE_TYPE,4,2    ; @MSGCODE_SET_DEVICE_TYPE
	.comm	_CEC_LOG_ADDR_MASK_TV,4,2       ; @CEC_LOG_ADDR_MASK_TV
	.comm	_CEC_LOG_ADDR_MASK_RECORD,4,2   ; @CEC_LOG_ADDR_MASK_RECORD
	.comm	_CEC_LOG_ADDR_MASK_TUNER,4,2    ; @CEC_LOG_ADDR_MASK_TUNER
	.comm	_CEC_LOG_ADDR_MASK_PLAYBACK,4,2 ; @CEC_LOG_ADDR_MASK_PLAYBACK
	.comm	_CEC_LOG_ADDR_MASK_AUDIOSYSTEM,4,2 ; @CEC_LOG_ADDR_MASK_AUDIOSYSTEM
	.comm	_CEC_LOG_ADDR_MASK_UNREGISTERED,4,2 ; @CEC_LOG_ADDR_MASK_UNREGISTERED
	.comm	_CEC_LOG_ADDR_MASK_SPECIFIC,4,2 ; @CEC_LOG_ADDR_MASK_SPECIFIC
	.comm	_MSGCODE_SET_LOGICAL_ADDRESS_MASK,4,2 ; @MSGCODE_SET_LOGICAL_ADDRESS_MASK
	.comm	_MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS,4,2 ; @MSGCODE_SET_DEFAULT_LOGICAL_ADDRESS
	.comm	_MSGCODE_SET_PHYSICAL_ADDRESS,4,2 ; @MSGCODE_SET_PHYSICAL_ADDRESS
	.comm	_MSGCODE_SET_HDMI_VERSION,4,2   ; @MSGCODE_SET_HDMI_VERSION
	.comm	_MSGCODE_SET_OSD_NAME,4,2       ; @MSGCODE_SET_OSD_NAME
	.no_dead_strip	_pulse8_cec_adap_log_addr
.subsections_via_symbols
