	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m_can_clean
_m_can_clean:                           ## @m_can_clean
	.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, %rbx
	callq	_netdev_priv
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	incl	(%rbx)
	xorl	%esi, %esi
	cmpl	$31, (%rax)
	jl	LBB0_3
## %bb.2:
	movq	_M_CAN_TXFQS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_m_can_read
	movl	%eax, %esi
	movq	_TXFQS_TFQPI_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_TXFQS_TFQPI_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
LBB0_3:
	movl	16(%r14), %edi
	callq	_can_free_echo_skb
	movq	$0, 8(%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_CAN_TXFQS,4,2                ## @M_CAN_TXFQS
	.comm	_TXFQS_TFQPI_MASK,4,2           ## @TXFQS_TFQPI_MASK
	.comm	_TXFQS_TFQPI_SHIFT,4,2          ## @TXFQS_TFQPI_SHIFT
	.no_dead_strip	_m_can_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m_can_clean
_m_can_clean:                           ; @m_can_clean
	.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
	bl	_netdev_priv
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w8, [x0]
	cmp	w8, #31
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _M_CAN_TXFQS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_CAN_TXFQS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_m_can_read
Lloh3:
	adrp	x8, _TXFQS_TFQPI_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXFQS_TFQPI_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _TXFQS_TFQPI_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TXFQS_TFQPI_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	asr	w1, w8, w9
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
	ldr	w0, [x19, #16]
	bl	_can_free_echo_skb
	str	xzr, [x19, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_CAN_TXFQS,4,2                ; @M_CAN_TXFQS
	.comm	_TXFQS_TFQPI_MASK,4,2           ; @TXFQS_TFQPI_MASK
	.comm	_TXFQS_TFQPI_SHIFT,4,2          ; @TXFQS_TFQPI_SHIFT
	.no_dead_strip	_m_can_clean
.subsections_via_symbols
