	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cec_adap_unconfigure
_cec_adap_unconfigure:                  ## @cec_adap_unconfigure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, 40(%rdi)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_CEC_PHYS_ADDR_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_2:
	movq	32(%rbx), %rax
	movq	_CEC_LOG_ADDR_INVALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_WARN_ON
LBB0_3:
	movq	$0, 24(%rbx)
	movq	$0, 8(%rbx)
	movl	20(%rbx), %edi
	movl	$255, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_cec_flush
	leaq	16(%rbx), %rdi
	callq	_wake_up_interruptible
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cec_post_state_event           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_PHYS_ADDR_INVALID,8,3      ## @CEC_PHYS_ADDR_INVALID
	.comm	_CEC_LOG_ADDR_INVALID,4,2       ## @CEC_LOG_ADDR_INVALID
	.no_dead_strip	_cec_adap_unconfigure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cec_adap_unconfigure
_cec_adap_unconfigure:                  ; @cec_adap_unconfigure
	.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	x19, x0
	ldr	w8, [x0, #40]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CEC_PHYS_ADDR_INVALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CEC_PHYS_ADDR_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CEC_LOG_ADDR_INVALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CEC_LOG_ADDR_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	bl	_WARN_ON
LBB0_3:
	str	xzr, [x19, #24]
	str	xzr, [x19, #8]
	ldr	w0, [x19, #20]
	mov	w1, #255
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	bl	_cec_flush
	add	x0, x19, #16
	bl	_wake_up_interruptible
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cec_post_state_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_PHYS_ADDR_INVALID,8,3      ; @CEC_PHYS_ADDR_INVALID
	.comm	_CEC_LOG_ADDR_INVALID,4,2       ; @CEC_LOG_ADDR_INVALID
	.no_dead_strip	_cec_adap_unconfigure
.subsections_via_symbols
