	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_start_xmit
_cas_start_xmit:                        ## @cas_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_padto
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	_cas_start_xmit.ring(%rip), %esi
	leal	1(%rsi), %eax
	movl	%eax, _cas_start_xmit.ring(%rip)
	movq	_N_TX_RINGS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	callq	_cas_xmit_tx_ringN
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cas_start_xmit.ring,4,2 ## @cas_start_xmit.ring
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_N_TX_RINGS_MASK,4,2            ## @N_TX_RINGS_MASK
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.no_dead_strip	_cas_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_start_xmit
_cas_start_xmit:                        ; @cas_start_xmit
	.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, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w1, [x0]
	mov	x0, x19
	bl	_skb_padto
Lloh0:
	adrp	x21, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NETDEV_TX_OK@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _cas_start_xmit.ring@PAGE
	ldr	w9, [x8, _cas_start_xmit.ring@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x8, _cas_start_xmit.ring@PAGEOFF]
Lloh3:
	adrp	x8, _N_TX_RINGS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _N_TX_RINGS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w1, w8, w9
	mov	x0, x20
	mov	x2, x19
	bl	_cas_xmit_tx_ringN
Lloh6:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	cmp	x0, #0
	csel	x21, x21, x8, eq
LBB0_2:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cas_start_xmit.ring,4,2 ; @cas_start_xmit.ring
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_N_TX_RINGS_MASK,4,2            ; @N_TX_RINGS_MASK
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.no_dead_strip	_cas_start_xmit
.subsections_via_symbols
