	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfspi_xmit
_cfspi_xmit:                            ## @cfspi_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	32(%rax), %rdi
	movq	%r14, %rsi
	callq	_skb_queue_tail
	leaq	40(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_SPI_XFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	48(%rbx), %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	addq	$44, %rdi
	callq	_wake_up_interruptible
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%r14d, %r14d
	cmpl	$0, (%rbx)
	jne	LBB0_8
## %bb.5:
	movq	32(%rbx), %rax
	cmpq	8(%rbx), %rax
	jle	LBB0_8
## %bb.6:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, (%rbx)
	movl	16(%rbx), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	*%rax
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SPI_XFER,4,2                   ## @SPI_XFER
	.no_dead_strip	_cfspi_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfspi_xmit
_cfspi_xmit:                            ; @cfspi_xmit
	.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
	cbz	x1, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	add	x0, x0, #32
	mov	x1, x20
	bl	_skb_queue_tail
	add	x20, x19, #40
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _SPI_XFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPI_XFER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #48
	bl	_test_and_set_bit
	cbnz	w0, LBB0_3
; %bb.2:
	add	x0, x19, #44
	bl	_wake_up_interruptible
LBB0_3:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w8, [x19]
	cbnz	w8, LBB0_7
; %bb.4:
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.le	LBB0_7
; %bb.5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w9, #1
	str	w9, [x19]
	ldr	w0, [x19, #16]
	mov	w1, #0
	blr	x8
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SPI_XFER,4,2                   ; @SPI_XFER
	.no_dead_strip	_cfspi_xmit
.subsections_via_symbols
