	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlsi_process_tx
_vlsi_process_tx:                       ## @vlsi_process_tx
	.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, %rbx
	movl	8(%rdi), %r15d
	movq	%rsi, %rdi
	callq	_rd_get_addr
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_pci_dma_sync_single_for_cpu
	movq	%r14, %rdi
	callq	_rd_get_status
	movl	%eax, %r15d
	movq	_RD_TX_UNDRN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_VLSI_TX_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rd_set_status
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	(%rdi), %r12d
	callq	_dev_kfree_skb_any
	movq	$0, (%r14)
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_rd_get_count
	movl	%eax, %r12d
LBB0_3:
	andl	%r15d, %r13d
	cmovel	%r13d, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rd_set_count
	negl	%ebx
	cmovael	%r12d, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RD_TX_UNDRN,4,2                ## @RD_TX_UNDRN
	.comm	_VLSI_TX_FIFO,4,2               ## @VLSI_TX_FIFO
	.no_dead_strip	_vlsi_process_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlsi_process_tx
_vlsi_process_tx:                       ; @vlsi_process_tx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w21, [x0, #8]
	mov	x0, x1
	bl	_rd_get_addr
	mov	x1, x0
	ldp	w3, w2, [x20]
	mov	x0, x21
	bl	_pci_dma_sync_single_for_cpu
	mov	x0, x19
	bl	_rd_get_status
	mov	x20, x0
Lloh0:
	adrp	x8, _RD_TX_UNDRN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RD_TX_UNDRN@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _VLSI_TX_FIFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLSI_TX_FIFO@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_rd_set_status
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w21, [x0]
	bl	_dev_kfree_skb_any
	str	xzr, [x19]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_rd_get_count
	mov	x21, x0
LBB0_3:
	tst	w22, w20
	csel	w20, wzr, w23, eq
	mov	x0, x19
	mov	w1, #0
	bl	_rd_set_count
	cmp	w20, #0
	csneg	w0, w21, w20, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RD_TX_UNDRN,4,2                ; @RD_TX_UNDRN
	.comm	_VLSI_TX_FIFO,4,2               ; @VLSI_TX_FIFO
	.no_dead_strip	_vlsi_process_tx
.subsections_via_symbols
