	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cec_pin_adap_enable
_cec_pin_adap_enable:                   ## @cec_pin_adap_enable
	.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	%rdi, %r14
	movq	(%rdi), %rbx
	movl	%esi, (%rbx)
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	leaq	64(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movl	$0, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	%rbx, %rdi
	callq	_cec_pin_read
	movq	%rbx, %rdi
	callq	_cec_pin_to_idle
	movq	$0, 40(%rbx)
	xorl	%edi, %edi
	callq	_ns_to_ktime
	movl	%eax, 36(%rbx)
	leaq	32(%rbx), %rdi
	movq	_CEC_PIN_IRQ_UNCHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_atomic_set
	movq	_cec_pin_thread_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_kthread_run
	movl	%eax, 12(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movl	12(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	*%rax
LBB0_5:
	leaq	16(%rbx), %rdi
	callq	_hrtimer_cancel
	movl	12(%rbx), %edi
	callq	_kthread_stop
	movq	%rbx, %rdi
	callq	_cec_pin_read
	movq	%rbx, %rdi
	callq	_cec_pin_to_idle
	movq	_CEC_ST_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_6
LBB0_2:
	addq	$16, %rbx
	xorl	%edi, %edi
	callq	_ns_to_ktime
	movq	_HRTIMER_MODE_REL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_hrtimer_start
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CEC_PIN_IRQ_UNCHANGED,4,2      ## @CEC_PIN_IRQ_UNCHANGED
	.comm	_cec_pin_thread_func,4,2        ## @cec_pin_thread_func
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cec-pin"

L_.str.1:                               ## @.str.1
	.asciz	"cec-pin: kernel_thread() failed\n"

	.comm	_HRTIMER_MODE_REL,4,2           ## @HRTIMER_MODE_REL
	.comm	_CEC_ST_OFF,4,2                 ## @CEC_ST_OFF
	.no_dead_strip	_cec_pin_adap_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cec_pin_adap_enable
_cec_pin_adap_enable:                   ; @cec_pin_adap_enable
	.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, x0
	ldr	x19, [x0]
	str	w1, [x19]
	cbz	w1, LBB0_3
; %bb.1:
	add	x0, x19, #64
	mov	w1, #0
	bl	_atomic_set
	str	wzr, [x19, #4]
	stp	xzr, xzr, [x19, #48]
	mov	x0, x19
	bl	_cec_pin_read
	mov	x0, x19
	bl	_cec_pin_to_idle
	str	xzr, [x19, #40]
	mov	w0, #0
	bl	_ns_to_ktime
	str	w0, [x19, #36]
	add	x0, x19, #32
Lloh0:
	adrp	x8, _CEC_PIN_IRQ_UNCHANGED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CEC_PIN_IRQ_UNCHANGED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_atomic_set
Lloh3:
	adrp	x8, _cec_pin_thread_func@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cec_pin_thread_func@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_kthread_run
	str	w0, [x19, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	blr	x8
LBB0_5:
	add	x0, x19, #16
	bl	_hrtimer_cancel
	ldr	w0, [x19, #12]
	bl	_kthread_stop
	mov	x0, x19
	bl	_cec_pin_read
	mov	x0, x19
	bl	_cec_pin_to_idle
Lloh10:
	adrp	x8, _CEC_ST_OFF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CEC_ST_OFF@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_6:
	add	x19, x19, #16
	bl	_ns_to_ktime
	mov	x1, x0
Lloh13:
	adrp	x8, _HRTIMER_MODE_REL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HRTIMER_MODE_REL@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hrtimer_start
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CEC_PIN_IRQ_UNCHANGED,4,2      ; @CEC_PIN_IRQ_UNCHANGED
	.comm	_cec_pin_thread_func,4,2        ; @cec_pin_thread_func
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cec-pin"

l_.str.1:                               ; @.str.1
	.asciz	"cec-pin: kernel_thread() failed\n"

	.comm	_HRTIMER_MODE_REL,4,2           ; @HRTIMER_MODE_REL
	.comm	_CEC_ST_OFF,4,2                 ; @CEC_ST_OFF
	.no_dead_strip	_cec_pin_adap_enable
.subsections_via_symbols
