	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_start_xmit
_at91_start_xmit:                       ## @at91_start_xmit
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_get_tx_next_mb
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_get_tx_next_prio
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_AT91_MSR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movq	_AT91_MSR_MRDY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	andl	%eax, %r12d
	movq	_AT91_MID_MIDE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	jmp	LBB0_5
LBB0_4:
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	andl	%eax, %r12d
	shll	$18, %r12d
LBB0_5:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_AT91_MCR_MRTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %r13d
	shll	$16, %r13d
	orl	%eax, %r13d
	movq	_AT91_MCR_MTCR@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_AT91_MB_MODE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_set_mb_mode
	movl	%r15d, %edi
	callq	_AT91_MID
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_at91_write
	movq	_AT91_MB_MODE_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_set_mb_mode_prio
	movl	%r15d, %edi
	callq	_AT91_MDL
	movq	8(%rbx), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_at91_write
	movl	%r15d, %edi
	callq	_AT91_MDH
	movq	8(%rbx), %rcx
	movl	4(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_at91_write
	movl	%r15d, %edi
	callq	_AT91_MCR
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_at91_write
	movl	4(%rbx), %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addl	%eax, 8(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	%r15d, %edx
	movq	_AT91_MB_TX_FIRST@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_can_put_echo_skb
	incl	(%r14)
	movq	%r14, %rdi
	callq	_get_tx_next_mb
	movl	%eax, %edi
	callq	_AT91_MSR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movq	_AT91_MSR_MRDY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_AT91_NEXT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_netif_stop_queue
LBB0_10:
	movq	_AT91_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	%r15d, %ecx
	shll	%cl, %edx
	movq	%r14, %rdi
	callq	_at91_write
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_MSR_MRDY,4,2              ## @AT91_MSR_MRDY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG! TX buffer full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,4,2               ## @CAN_EFF_MASK
	.comm	_AT91_MID_MIDE,4,2              ## @AT91_MID_MIDE
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_AT91_MCR_MRTR,4,2              ## @AT91_MCR_MRTR
	.comm	_AT91_MCR_MTCR,4,2              ## @AT91_MCR_MTCR
	.comm	_AT91_MB_MODE_DISABLED,4,2      ## @AT91_MB_MODE_DISABLED
	.comm	_AT91_MB_MODE_TX,4,2            ## @AT91_MB_MODE_TX
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_AT91_MB_TX_FIRST,8,3           ## @AT91_MB_TX_FIRST
	.comm	_AT91_NEXT_MASK,4,2             ## @AT91_NEXT_MASK
	.comm	_AT91_IER,4,2                   ## @AT91_IER
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_at91_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_start_xmit
_at91_start_xmit:                       ; @at91_start_xmit
	.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, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x27, [x22]
	bl	_get_tx_next_mb
	mov	x21, x0
	mov	x0, x20
	bl	_get_tx_next_prio
	mov	x23, x0
	mov	x0, x21
	bl	_AT91_MSR
	mov	x1, x0
	mov	x0, x20
	bl	_at91_read
Lloh0:
	adrp	x26, _AT91_MSR_MRDY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _AT91_MSR_MRDY@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_netif_stop_queue
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh4:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	ldr	w8, [x27]
Lloh6:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _CAN_EFF_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh12:
	adrp	x10, _AT91_MID_MIDE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AT91_MID_MIDE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w25, w9, w10
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x9, _CAN_SFF_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w9, w9, w8
	lsl	w25, w9, #18
LBB0_5:
Lloh18:
	adrp	x9, _CAN_RTR_FLAG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _AT91_MCR_MRTR@GOTPAGE
Lloh22:
	ldr	x10, [x10, _AT91_MCR_MRTR@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, wzr, w10, eq
	ldr	w9, [x27, #4]
Lloh24:
	adrp	x10, _AT91_MCR_MTCR@GOTPAGE
Lloh25:
	ldr	x10, [x10, _AT91_MCR_MTCR@GOTPAGEOFF]
	orr	w8, w8, w9, lsl #16
Lloh26:
	ldr	w9, [x10]
	orr	w24, w8, w9
Lloh27:
	adrp	x8, _AT91_MB_MODE_DISABLED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AT91_MB_MODE_DISABLED@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_set_mb_mode
	mov	x0, x21
	bl	_AT91_MID
	mov	x1, x0
	mov	x0, x20
	mov	x2, x25
	bl	_at91_write
Lloh30:
	adrp	x8, _AT91_MB_MODE_TX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AT91_MB_MODE_TX@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x23
	bl	_set_mb_mode_prio
	mov	x0, x21
	bl	_AT91_MDL
	mov	x1, x0
	ldr	x8, [x27, #8]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_at91_write
	mov	x0, x21
	bl	_AT91_MDH
	mov	x1, x0
	ldr	x8, [x27, #8]
	ldr	w2, [x8, #4]
	mov	x0, x20
	bl	_at91_write
	mov	x0, x21
	bl	_AT91_MCR
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_at91_write
	ldr	w8, [x27, #4]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
Lloh33:
	adrp	x8, _jiffies@GOTPAGE
Lloh34:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w8, w21
Lloh36:
	adrp	x9, _AT91_MB_TX_FIRST@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AT91_MB_TX_FIRST@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	sub	x2, x8, x9
	mov	x0, x22
	mov	x1, x19
	bl	_can_put_echo_skb
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x20
	bl	_get_tx_next_mb
	bl	_AT91_MSR
	mov	x1, x0
	mov	x0, x20
	bl	_at91_read
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x20]
Lloh39:
	adrp	x9, _AT91_NEXT_MASK@GOTPAGE
Lloh40:
	ldr	x9, [x9, _AT91_NEXT_MASK@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_8:
Lloh42:
	adrp	x8, _AT91_IER@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AT91_IER@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	w8, #1
	lsl	w2, w8, w21
	mov	x0, x20
	bl	_at91_write
Lloh45:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_MSR_MRDY,4,2              ; @AT91_MSR_MRDY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG! TX buffer full when queue awake!\n"

	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,4,2               ; @CAN_EFF_MASK
	.comm	_AT91_MID_MIDE,4,2              ; @AT91_MID_MIDE
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_AT91_MCR_MRTR,4,2              ; @AT91_MCR_MRTR
	.comm	_AT91_MCR_MTCR,4,2              ; @AT91_MCR_MTCR
	.comm	_AT91_MB_MODE_DISABLED,4,2      ; @AT91_MB_MODE_DISABLED
	.comm	_AT91_MB_MODE_TX,4,2            ; @AT91_MB_MODE_TX
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_AT91_MB_TX_FIRST,8,3           ; @AT91_MB_TX_FIRST
	.comm	_AT91_NEXT_MASK,4,2             ; @AT91_NEXT_MASK
	.comm	_AT91_IER,4,2                   ; @AT91_IER
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_at91_start_xmit
.subsections_via_symbols
