	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcan_start_xmit_fifo
_xcan_start_xmit_fifo:                  ## @xcan_start_xmit_fifo
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_XCAN_SR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_XCAN_SR_TXFLL_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movl	8(%rbx), %eax
	cltd
	idivl	12(%rbx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_can_put_echo_skb
	movq	%rbx, %r12
	addq	$20, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	incl	8(%rbx)
	movq	_XCAN_TXFIFO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_xcan_write_frame
	movl	12(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.3:
	movq	_XCAN_ICR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XCAN_IXR_TXFEMP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	*24(%rbx)
	movl	12(%rbx), %eax
LBB0_4:
	movl	8(%rbx), %ecx
	subl	16(%rbx), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_6:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XCAN_SR_OFFSET,4,2             ## @XCAN_SR_OFFSET
	.comm	_XCAN_SR_TXFLL_MASK,4,2         ## @XCAN_SR_TXFLL_MASK
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_XCAN_TXFIFO_OFFSET,4,2         ## @XCAN_TXFIFO_OFFSET
	.comm	_XCAN_ICR_OFFSET,4,2            ## @XCAN_ICR_OFFSET
	.comm	_XCAN_IXR_TXFEMP_MASK,4,2       ## @XCAN_IXR_TXFEMP_MASK
	.no_dead_strip	_xcan_start_xmit_fifo
.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_fifo
_xcan_start_xmit_fifo:                  ; @xcan_start_xmit_fifo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _XCAN_SR_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XCAN_SR_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	blr	x8
Lloh3:
	adrp	x8, _XCAN_SR_TXFLL_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XCAN_SR_TXFLL_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	ldp	w8, w9, [x20, #8]
	sdiv	w10, w8, w9
	msub	w2, w10, w9, w8
	mov	x0, x22
	mov	x1, x19
	bl	_can_put_echo_skb
	add	x21, x20, #20
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
Lloh9:
	adrp	x8, _XCAN_TXFIFO_OFFSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XCAN_TXFIFO_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_xcan_write_frame
	ldr	w8, [x20, #12]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x20, #24]
Lloh12:
	adrp	x9, _XCAN_ICR_OFFSET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XCAN_ICR_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
Lloh15:
	adrp	x9, _XCAN_IXR_TXFEMP_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XCAN_IXR_TXFEMP_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x9]
	mov	x0, x20
	blr	x8
	ldr	w8, [x20, #12]
LBB0_4:
	ldr	w9, [x20, #8]
	ldr	w10, [x20, #16]
	sub	w9, w9, w10
	cmp	w9, w8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_6:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XCAN_SR_OFFSET,4,2             ; @XCAN_SR_OFFSET
	.comm	_XCAN_SR_TXFLL_MASK,4,2         ; @XCAN_SR_TXFLL_MASK
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_XCAN_TXFIFO_OFFSET,4,2         ; @XCAN_TXFIFO_OFFSET
	.comm	_XCAN_ICR_OFFSET,4,2            ; @XCAN_ICR_OFFSET
	.comm	_XCAN_IXR_TXFEMP_MASK,4,2       ; @XCAN_IXR_TXFEMP_MASK
	.no_dead_strip	_xcan_start_xmit_fifo
.subsections_via_symbols
