	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m_can_echo_tx_event
_m_can_echo_tx_event:                   ## @m_can_echo_tx_event
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_M_CAN_TXEFS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_m_can_read
	movl	%eax, %r12d
	movq	_TXEFS_EFFL_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_TXEFS_EFFL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r12d
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_m_can_read
	movl	%eax, %ebx
	movq	_TXEFS_EFGI_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_TXEFS_EFGI_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	sarl	%cl, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	callq	_m_can_txe_fifo_read
	movl	%eax, %r13d
	movq	_TX_EVENT_MM_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movq	_TX_EVENT_MM_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shrl	%cl, %r13d
	movq	_TXEFA_EFAI_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %ebx
	movq	_M_CAN_TXEFA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TXEFA_EFAI_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_m_can_write
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_can_get_echo_skb
	addl	%eax, 4(%rbx)
	incl	(%rbx)
	decl	%r12d
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CAN_TXEFS,4,2                ## @M_CAN_TXEFS
	.comm	_TXEFS_EFFL_MASK,4,2            ## @TXEFS_EFFL_MASK
	.comm	_TXEFS_EFFL_SHIFT,4,2           ## @TXEFS_EFFL_SHIFT
	.comm	_TXEFS_EFGI_MASK,4,2            ## @TXEFS_EFGI_MASK
	.comm	_TXEFS_EFGI_SHIFT,4,2           ## @TXEFS_EFGI_SHIFT
	.comm	_TX_EVENT_MM_MASK,4,2           ## @TX_EVENT_MM_MASK
	.comm	_TX_EVENT_MM_SHIFT,4,2          ## @TX_EVENT_MM_SHIFT
	.comm	_M_CAN_TXEFA,4,2                ## @M_CAN_TXEFA
	.comm	_TXEFA_EFAI_MASK,4,2            ## @TXEFA_EFAI_MASK
	.comm	_TXEFA_EFAI_SHIFT,4,2           ## @TXEFA_EFAI_SHIFT
	.no_dead_strip	_m_can_echo_tx_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m_can_echo_tx_event
_m_can_echo_tx_event:                   ; @m_can_echo_tx_event
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x27, _M_CAN_TXEFS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _M_CAN_TXEFS@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_m_can_read
Lloh2:
	adrp	x8, _TXEFS_EFFL_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TXEFS_EFFL_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh5:
	adrp	x9, _TXEFS_EFFL_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TXEFS_EFFL_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	asr	w24, w8, w9
	cmp	w24, #1
	b.lt	LBB0_3
; %bb.1:
Lloh8:
	adrp	x28, _TX_EVENT_MM_SHIFT@GOTPAGE
Lloh9:
	ldr	x28, [x28, _TX_EVENT_MM_SHIFT@GOTPAGEOFF]
Lloh10:
	adrp	x23, _M_CAN_TXEFA@GOTPAGE
Lloh11:
	ldr	x23, [x23, _M_CAN_TXEFA@GOTPAGEOFF]
Lloh12:
	adrp	x25, _TXEFA_EFAI_MASK@GOTPAGE
Lloh13:
	ldr	x25, [x25, _TXEFA_EFAI_MASK@GOTPAGEOFF]
Lloh14:
	adrp	x26, _TXEFA_EFAI_SHIFT@GOTPAGE
Lloh15:
	ldr	x26, [x26, _TXEFA_EFAI_SHIFT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	mov	x0, x20
	bl	_m_can_read
Lloh16:
	adrp	x8, _TXEFS_EFGI_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TXEFS_EFGI_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh19:
	adrp	x9, _TXEFS_EFGI_SHIFT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TXEFS_EFGI_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	asr	w21, w8, w9
	mov	x0, x20
	mov	x1, x21
	mov	w2, #4
	bl	_m_can_txe_fifo_read
Lloh22:
	adrp	x8, _TX_EVENT_MM_MASK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TX_EVENT_MM_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x28]
	lsr	w22, w8, w9
	ldr	w1, [x23]
	ldr	w8, [x25]
	ldr	w9, [x26]
	lsl	w9, w21, w9
	and	w2, w9, w8
	mov	x0, x20
	bl	_m_can_write
	mov	x0, x19
	mov	x1, x22
	bl	_can_get_echo_skb
	ldp	w9, w8, [x19]
	add	w8, w8, w0
	add	w9, w9, #1
	stp	w9, w8, [x19]
	subs	w24, w24, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CAN_TXEFS,4,2                ; @M_CAN_TXEFS
	.comm	_TXEFS_EFFL_MASK,4,2            ; @TXEFS_EFFL_MASK
	.comm	_TXEFS_EFFL_SHIFT,4,2           ; @TXEFS_EFFL_SHIFT
	.comm	_TXEFS_EFGI_MASK,4,2            ; @TXEFS_EFGI_MASK
	.comm	_TXEFS_EFGI_SHIFT,4,2           ; @TXEFS_EFGI_SHIFT
	.comm	_TX_EVENT_MM_MASK,4,2           ; @TX_EVENT_MM_MASK
	.comm	_TX_EVENT_MM_SHIFT,4,2          ; @TX_EVENT_MM_SHIFT
	.comm	_M_CAN_TXEFA,4,2                ; @M_CAN_TXEFA
	.comm	_TXEFA_EFAI_MASK,4,2            ; @TXEFA_EFAI_MASK
	.comm	_TXEFA_EFAI_SHIFT,4,2           ; @TXEFA_EFAI_SHIFT
	.no_dead_strip	_m_can_echo_tx_event
.subsections_via_symbols
