	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_cec_irq_thread_handler
_tegra_cec_irq_thread_handler:          ## @tegra_cec_irq_thread_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	movl	24(%rbx), %esi
	callq	_cec_transmit_attempt_done
	movl	$0, (%rbx)
LBB0_2:
	cmpl	$0, 4(%rbx)
	je	LBB0_4
## %bb.3:
	movq	$0, -16(%rbp)
	movq	8(%rbx), %rdx
	movq	%rdx, -24(%rbp)
	movl	20(%rbx), %esi
	xorl	%edi, %edi
	callq	_memcpy
	movl	16(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_cec_received_msg
	movl	$0, 4(%rbx)
	movq	$0, 8(%rbx)
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tegra_cec_irq_thread_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_cec_irq_thread_handler
_tegra_cec_irq_thread_handler:          ; @tegra_cec_irq_thread_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, x1
	bl	_dev_get_drvdata
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	ldr	w1, [x19, #24]
	bl	_cec_transmit_attempt_done
	str	wzr, [x19]
LBB0_2:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_4
; %bb.3:
	str	xzr, [sp, #8]
	ldr	x2, [x19, #8]
	str	x2, [sp]
	ldr	w1, [x19, #20]
	mov	w0, #0
	bl	_memcpy
	ldr	w0, [x19, #16]
	mov	x1, sp
	bl	_cec_received_msg
	str	wzr, [x19, #4]
	str	xzr, [x19, #8]
LBB0_4:
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tegra_cec_irq_thread_handler
.subsections_via_symbols
