	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcan_start_xmit_mailbox
_xcan_start_xmit_mailbox:               ## @xcan_start_xmit_mailbox
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	_XCAN_TRR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%eax, %ebx
	movq	_XCAN_TX_MAILBOX_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	andl	%eax, %ebx
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_3
LBB0_2:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_can_put_echo_skb
	movq	%r13, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	incl	24(%r13)
	movq	_XCAN_TX_MAILBOX_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_XCAN_TXMSG_FRAME_OFFSET
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_xcan_write_frame
	movq	16(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_XCAN_TRR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_XCAN_TX_MAILBOX_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_3:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XCAN_TRR_OFFSET,4,2            ## @XCAN_TRR_OFFSET
	.comm	_XCAN_TX_MAILBOX_IDX,4,2        ## @XCAN_TX_MAILBOX_IDX
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_xcan_start_xmit_mailbox
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xcan_start_xmit_mailbox
_xcan_start_xmit_mailbox:               ; @xcan_start_xmit_mailbox
	.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, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _XCAN_TRR_OFFSET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _XCAN_TRR_OFFSET@GOTPAGEOFF]
	ldr	w1, [x23]
	blr	x8
	mov	x22, x0
Lloh2:
	adrp	x24, _XCAN_TX_MAILBOX_IDX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _XCAN_TX_MAILBOX_IDX@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_BIT
	and	w0, w0, w22
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_can_put_echo_skb
	add	x22, x20, #8
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	ldr	w0, [x24]
	bl	_XCAN_TXMSG_FRAME_OFFSET
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_xcan_write_frame
	ldr	x25, [x20, #16]
	ldr	w21, [x23]
	ldr	w0, [x24]
	bl	_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	blr	x25
	mov	x0, x19
	bl	_netif_stop_queue
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_3:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XCAN_TRR_OFFSET,4,2            ; @XCAN_TRR_OFFSET
	.comm	_XCAN_TX_MAILBOX_IDX,4,2        ; @XCAN_TX_MAILBOX_IDX
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_xcan_start_xmit_mailbox
.subsections_via_symbols
