	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_port_poll_tx
_rocker_port_poll_tx:                   ## @rocker_port_poll_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rocker_port_napi_tx_get
	movq	%rax, %r12
	movq	16(%rax), %r13
	movq	%rax, %rdi
	callq	_rocker_desc_tail_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	(%rcx)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_dev_kfree_skb_any
	incq	%rbx
	movq	%r12, %rdi
	callq	_rocker_desc_tail_get
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_rocker_desc_err
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_netdev_err
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rocker_tx_desc_frags_unmap
	movq	%r15, %rdi
	callq	_rocker_desc_cookie_ptr_get
	movq	8(%r12), %rcx
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	8(%rcx)
	movl	(%rax), %edx
	addl	%edx, 4(%rcx)
	jmp	LBB0_9
LBB0_10:
	movq	8(%r12), %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	8(%r12), %rdi
	callq	_netif_wake_queue
LBB0_12:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_1:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r14, %rdi
	callq	_napi_complete
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_rocker_dma_ring_credits_set
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx desc received with err %d\n"

	.no_dead_strip	_rocker_port_poll_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_port_poll_tx
_rocker_port_poll_tx:                   ; @rocker_port_poll_tx
	.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	x20, x0
	bl	_rocker_port_napi_tx_get
	mov	x19, x0
	ldr	x21, [x0, #16]
	bl	_rocker_desc_tail_get
	cbz	x0, LBB0_11
; %bb.1:
	mov	x24, x0
	mov	x22, #0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_dev_kfree_skb_any
	add	x22, x22, #1
	mov	x0, x19
	bl	_rocker_desc_tail_get
	mov	x24, x0
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_rocker_desc_err
	mov	x25, x0
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_net_ratelimit
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x23
	mov	x2, x25
	bl	_netdev_err
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_rocker_tx_desc_frags_unmap
	mov	x0, x24
	bl	_rocker_desc_cookie_ptr_get
	ldr	x8, [x19, #8]
	cbnz	w25, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	d0, [x8, #4]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x0]
	add.2s	v0, v0, v1
	stur	d0, [x8, #4]
	b	LBB0_3
LBB0_9:
	ldr	x0, [x19, #8]
	bl	_netif_queue_stopped
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x0, [x19, #8]
	bl	_netif_wake_queue
	b	LBB0_12
LBB0_11:
	mov	x22, #0
LBB0_12:
	mov	x0, x20
	bl	_napi_complete
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_rocker_dma_ring_credits_set
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx desc received with err %d\n"

	.no_dead_strip	_rocker_port_poll_tx
.subsections_via_symbols
