	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m_can_tx_handler
_m_can_tx_handler:                      ## @m_can_tx_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	24(%rdi), %r12
	movq	(%r12), %r15
	movl	(%r15), %r14d
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	movq	_TX_BUF_XTD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	shll	$18, %eax
LBB0_3:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r14d
	je	LBB0_5
## %bb.4:
	movq	_TX_BUF_RTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_5:
	orl	%eax, %r14d
	movq	32(%r13), %rbx
	cmpl	$30, (%r13)
	jne	LBB0_17
## %bb.6:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	_M_CAN_FIFO_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_m_can_fifo_write
	movq	_M_CAN_FIFO_DLC@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	4(%r15), %edi
	callq	_can_len2dlc
	shll	$16, %eax
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_m_can_fifo_write
	cmpl	$0, 4(%r15)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_M_CAN_FIFO_DATA
	movq	16(%r15), %rcx
	movl	(%rbx,%rcx), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_m_can_fifo_write
	addq	$4, %rbx
	incl	%r12d
	cmpl	%ebx, 4(%r15)
	jg	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_can_put_echo_skb
	movq	_CAN_CTRLMODE_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r13)
	je	LBB0_16
## %bb.10:
	movq	_M_CAN_CCCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_m_can_read
	movq	_CCCR_CMR_MASK@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	movl	(%rcx), %ebx
	movq	_CCCR_CMR_SHIFT@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	shll	%cl, %ebx
	notl	%ebx
	andl	%eax, %ebx
	callq	_can_is_canfd_skb
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_CANFD_BRS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_13
## %bb.14:
	movq	_CCCR_CMR_CANFD@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_17:
	movq	%r13, %rdi
	callq	_m_can_tx_fifo_full
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_warn
	cmpq	$0, 8(%r13)
	je	LBB0_19
## %bb.20:
	movq	%r12, %rdi
	callq	_kfree_skb
	incl	(%rbx)
	jmp	LBB0_31
LBB0_21:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_M_CAN_TXFQS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_m_can_read
	movq	%r12, %rbx
	movl	%eax, %r12d
	movq	_TXFQS_TFQPI_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_TXFQS_TFQPI_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r12d
	movq	_M_CAN_FIFO_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r14d, %ecx
	callq	_m_can_fifo_write
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_can_is_canfd_skb
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movq	_TX_BUF_FDF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CANFD_BRS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_25
## %bb.24:
	movq	_TX_BUF_BRS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_25
LBB0_11:
	movq	_CCCR_CMR_CAN@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_19:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_13:
	movq	_CCCR_CMR_CANFD_BRS@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	movb	(%r12), %cl
	shll	%cl, %edx
	orl	%ebx, %edx
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_m_can_write
LBB0_16:
	movq	_M_CAN_TXBTIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_m_can_write
	movq	_M_CAN_TXBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_m_can_write
	jmp	LBB0_31
LBB0_22:
	xorl	%ebx, %ebx
LBB0_25:
	movq	_M_CAN_FIFO_DLC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_TX_BUF_MM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %r14d
	shll	%cl, %r14d
	movq	_TX_BUF_MM_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movl	4(%r15), %edi
	callq	_can_len2dlc
	shll	$16, %eax
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movq	_TX_BUF_EFC@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_m_can_fifo_write
	cmpl	$0, 4(%r15)
	jle	LBB0_28
## %bb.26:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_M_CAN_FIFO_DATA
	movq	16(%r15), %rcx
	movl	(%rbx,%rcx), %ecx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_m_can_fifo_write
	addq	$4, %rbx
	incl	%r14d
	cmpl	%ebx, 4(%r15)
	jg	LBB0_27
LBB0_28:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_can_put_echo_skb
	movq	_M_CAN_TXBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	%r12d, %ecx
	shll	%cl, %edx
	movq	%r13, %rdi
	callq	_m_can_write
	movq	%r13, %rdi
	callq	_m_can_tx_fifo_full
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_m_can_next_echo_skb_occupied
	testq	%rax, %rax
	je	LBB0_31
LBB0_30:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
LBB0_31:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,4,2               ## @CAN_EFF_MASK
	.comm	_TX_BUF_XTD,4,2                 ## @TX_BUF_XTD
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_TX_BUF_RTR,4,2                 ## @TX_BUF_RTR
	.comm	_M_CAN_FIFO_ID,4,2              ## @M_CAN_FIFO_ID
	.comm	_M_CAN_FIFO_DLC,4,2             ## @M_CAN_FIFO_DLC
	.comm	_CAN_CTRLMODE_FD,4,2            ## @CAN_CTRLMODE_FD
	.comm	_M_CAN_CCCR,4,2                 ## @M_CAN_CCCR
	.comm	_CCCR_CMR_MASK,4,2              ## @CCCR_CMR_MASK
	.comm	_CCCR_CMR_SHIFT,4,2             ## @CCCR_CMR_SHIFT
	.comm	_CANFD_BRS,4,2                  ## @CANFD_BRS
	.comm	_CCCR_CMR_CANFD_BRS,4,2         ## @CCCR_CMR_CANFD_BRS
	.comm	_CCCR_CMR_CANFD,4,2             ## @CCCR_CMR_CANFD
	.comm	_CCCR_CMR_CAN,4,2               ## @CCCR_CMR_CAN
	.comm	_M_CAN_TXBTIE,4,2               ## @M_CAN_TXBTIE
	.comm	_M_CAN_TXBAR,4,2                ## @M_CAN_TXBAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX queue active although FIFO is full."

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.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
	.comm	_TX_BUF_FDF,4,2                 ## @TX_BUF_FDF
	.comm	_TX_BUF_BRS,4,2                 ## @TX_BUF_BRS
	.comm	_TX_BUF_MM_SHIFT,4,2            ## @TX_BUF_MM_SHIFT
	.comm	_TX_BUF_MM_MASK,4,2             ## @TX_BUF_MM_MASK
	.comm	_TX_BUF_EFC,4,2                 ## @TX_BUF_EFC
	.no_dead_strip	_m_can_tx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m_can_tx_handler
_m_can_tx_handler:                      ; @m_can_tx_handler
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldp	x21, x20, [x0, #24]
	ldr	x24, [x21]
	ldr	w8, [x24]
Lloh0:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _CAN_EFF_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh6:
	adrp	x10, _TX_BUF_XTD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TX_BUF_XTD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x9, _CAN_SFF_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w8
	lsl	w9, w9, #18
LBB0_3:
Lloh12:
	adrp	x10, _CAN_RTR_FLAG@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _TX_BUF_RTR@GOTPAGE
Lloh16:
	ldr	x11, [x11, _TX_BUF_RTR@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w23, w8, w9
	ldr	w8, [x19]
	cmp	w8, #30
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x20
	bl	_netif_stop_queue
Lloh18:
	adrp	x8, _M_CAN_FIFO_ID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_CAN_FIFO_ID@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	x3, x23
	bl	_m_can_fifo_write
Lloh21:
	adrp	x8, _M_CAN_FIFO_DLC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _M_CAN_FIFO_DLC@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
	ldr	w0, [x24, #4]
	bl	_can_len2dlc
	lsl	w3, w0, #16
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	bl	_m_can_fifo_write
	ldr	w8, [x24, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w22, #0
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_M_CAN_FIFO_DATA
	mov	x2, x0
	ldr	x8, [x24, #16]
	ldr	w3, [x23, x8]
	mov	x0, x19
	mov	w1, #0
	bl	_m_can_fifo_write
	add	x23, x23, #4
	ldr	w8, [x24, #4]
	add	w22, w22, #1
	cmp	w8, w23
	b.gt	LBB0_6
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_can_put_echo_skb
	ldr	w8, [x19, #16]
Lloh24:
	adrp	x9, _CAN_CTRLMODE_FD@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CAN_CTRLMODE_FD@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.8:
Lloh27:
	adrp	x20, _M_CAN_CCCR@GOTPAGE
Lloh28:
	ldr	x20, [x20, _M_CAN_CCCR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_m_can_read
Lloh29:
	adrp	x8, _CCCR_CMR_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CCCR_CMR_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x22, _CCCR_CMR_SHIFT@GOTPAGE
Lloh33:
	ldr	x22, [x22, _CCCR_CMR_SHIFT@GOTPAGEOFF]
	ldr	w9, [x22]
	lsl	w8, w8, w9
	bic	w23, w0, w8
	mov	x0, x21
	bl	_can_is_canfd_skb
	cbz	x0, LBB0_16
; %bb.9:
	ldr	w8, [x24, #8]
Lloh34:
	adrp	x9, _CANFD_BRS@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CANFD_BRS@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _CCCR_CMR_CANFD_BRS@GOTPAGE
Lloh38:
	ldr	x10, [x10, _CCCR_CMR_CANFD_BRS@GOTPAGEOFF]
Lloh39:
	adrp	x11, _CCCR_CMR_CANFD@GOTPAGE
Lloh40:
	ldr	x11, [x11, _CCCR_CMR_CANFD@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	b	LBB0_17
LBB0_10:
	mov	x0, x19
	bl	_m_can_tx_fifo_full
	cbz	x0, LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_netif_stop_queue
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_19
; %bb.12:
	mov	x0, x21
	bl	_kfree_skb
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_27
LBB0_13:
Lloh43:
	adrp	x8, _M_CAN_TXFQS@GOTPAGE
Lloh44:
	ldr	x8, [x8, _M_CAN_TXFQS@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_m_can_read
Lloh46:
	adrp	x8, _TXFQS_TFQPI_MASK@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TXFQS_TFQPI_MASK@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
Lloh49:
	adrp	x9, _TXFQS_TFQPI_SHIFT@GOTPAGE
Lloh50:
	ldr	x9, [x9, _TXFQS_TFQPI_SHIFT@GOTPAGEOFF]
	and	w8, w8, w0
Lloh51:
	ldr	w9, [x9]
	asr	w22, w8, w9
Lloh52:
	adrp	x8, _M_CAN_FIFO_ID@GOTPAGE
Lloh53:
	ldr	x8, [x8, _M_CAN_FIFO_ID@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x23
	bl	_m_can_fifo_write
	mov	x0, x21
	bl	_can_is_canfd_skb
	cbz	x0, LBB0_20
; %bb.14:
Lloh55:
	adrp	x8, _TX_BUF_FDF@GOTPAGE
Lloh56:
	ldr	x8, [x8, _TX_BUF_FDF@GOTPAGEOFF]
Lloh57:
	ldr	w25, [x8]
	ldr	w8, [x24, #8]
Lloh58:
	adrp	x9, _CANFD_BRS@GOTPAGE
Lloh59:
	ldr	x9, [x9, _CANFD_BRS@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.15:
Lloh61:
	adrp	x8, _TX_BUF_BRS@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TX_BUF_BRS@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	orr	w25, w8, w25
	b	LBB0_21
LBB0_16:
Lloh64:
	adrp	x8, _CCCR_CMR_CAN@GOTPAGE
Lloh65:
	ldr	x8, [x8, _CCCR_CMR_CAN@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	ldr	w9, [x22]
	lsl	w8, w8, w9
	orr	w2, w8, w23
	ldr	w1, [x20]
	mov	x0, x19
	bl	_m_can_write
LBB0_18:
Lloh66:
	adrp	x8, _M_CAN_TXBTIE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _M_CAN_TXBTIE@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_m_can_write
Lloh69:
	adrp	x8, _M_CAN_TXBAR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _M_CAN_TXBAR@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_m_can_write
	b	LBB0_27
LBB0_19:
Lloh72:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh73:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_28
LBB0_20:
	mov	w25, #0
LBB0_21:
Lloh74:
	adrp	x8, _M_CAN_FIFO_DLC@GOTPAGE
Lloh75:
	ldr	x8, [x8, _M_CAN_FIFO_DLC@GOTPAGEOFF]
Lloh76:
	ldr	w23, [x8]
Lloh77:
	adrp	x8, _TX_BUF_MM_SHIFT@GOTPAGE
Lloh78:
	ldr	x8, [x8, _TX_BUF_MM_SHIFT@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	lsl	w8, w22, w8
Lloh80:
	adrp	x9, _TX_BUF_MM_MASK@GOTPAGE
Lloh81:
	ldr	x9, [x9, _TX_BUF_MM_MASK@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	and	w26, w8, w9
	ldr	w0, [x24, #4]
	bl	_can_len2dlc
Lloh83:
	adrp	x8, _TX_BUF_EFC@GOTPAGE
Lloh84:
	ldr	x8, [x8, _TX_BUF_EFC@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	orr	w9, w26, w25
	orr	w9, w9, w0, lsl #16
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_m_can_fifo_write
	ldr	w8, [x24, #4]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.22:
	mov	w23, #0
	mov	x25, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_M_CAN_FIFO_DATA
	mov	x2, x0
	ldr	x8, [x24, #16]
	ldr	w3, [x25, x8]
	mov	x0, x19
	mov	x1, x22
	bl	_m_can_fifo_write
	add	x25, x25, #4
	ldr	w8, [x24, #4]
	add	w23, w23, #1
	cmp	w8, w25
	b.gt	LBB0_23
LBB0_24:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_can_put_echo_skb
Lloh86:
	adrp	x8, _M_CAN_TXBAR@GOTPAGE
Lloh87:
	ldr	x8, [x8, _M_CAN_TXBAR@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
	mov	w8, #1
	lsl	w2, w8, w22
	mov	x0, x19
	bl	_m_can_write
	mov	x0, x19
	bl	_m_can_tx_fifo_full
	cbnz	x0, LBB0_26
; %bb.25:
	mov	x0, x20
	mov	x1, x22
	bl	_m_can_next_echo_skb_occupied
	cbz	x0, LBB0_27
LBB0_26:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_27:
Lloh89:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh90:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_28:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,4,2               ; @CAN_EFF_MASK
	.comm	_TX_BUF_XTD,4,2                 ; @TX_BUF_XTD
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_TX_BUF_RTR,4,2                 ; @TX_BUF_RTR
	.comm	_M_CAN_FIFO_ID,4,2              ; @M_CAN_FIFO_ID
	.comm	_M_CAN_FIFO_DLC,4,2             ; @M_CAN_FIFO_DLC
	.comm	_CAN_CTRLMODE_FD,4,2            ; @CAN_CTRLMODE_FD
	.comm	_M_CAN_CCCR,4,2                 ; @M_CAN_CCCR
	.comm	_CCCR_CMR_MASK,4,2              ; @CCCR_CMR_MASK
	.comm	_CCCR_CMR_SHIFT,4,2             ; @CCCR_CMR_SHIFT
	.comm	_CANFD_BRS,4,2                  ; @CANFD_BRS
	.comm	_CCCR_CMR_CANFD_BRS,4,2         ; @CCCR_CMR_CANFD_BRS
	.comm	_CCCR_CMR_CANFD,4,2             ; @CCCR_CMR_CANFD
	.comm	_CCCR_CMR_CAN,4,2               ; @CCCR_CMR_CAN
	.comm	_M_CAN_TXBTIE,4,2               ; @M_CAN_TXBTIE
	.comm	_M_CAN_TXBAR,4,2                ; @M_CAN_TXBAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX queue active although FIFO is full."

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.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
	.comm	_TX_BUF_FDF,4,2                 ; @TX_BUF_FDF
	.comm	_TX_BUF_BRS,4,2                 ; @TX_BUF_BRS
	.comm	_TX_BUF_MM_SHIFT,4,2            ; @TX_BUF_MM_SHIFT
	.comm	_TX_BUF_MM_MASK,4,2             ; @TX_BUF_MM_MASK
	.comm	_TX_BUF_EFC,4,2                 ; @TX_BUF_EFC
	.no_dead_strip	_m_can_tx_handler
.subsections_via_symbols
