	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txq_reclaim
_txq_reclaim:                           ## @txq_reclaim
	.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
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_netif_tx_lock
	movq	_WORK_TX_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 40(%r12)
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	jle	LBB0_1
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rcx
	decl	%r15d
	testq	%rcx, %rcx
	jle	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	8(%r12), %rsi
	movq	32(%r12), %rdi
	leaq	(%rsi,%rsi,2), %rbx
	movl	(%rdi,%rbx,4), %r8d
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BUF_OWNED_BY_DMA@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rsi), %eax
	cltd
	idivl	12(%r12)
	movl	%edx, 8(%r12)
	decq	%rcx
	movq	%rcx, (%r12)
	movl	4(%rdi,%rbx,4), %edx
	movl	8(%rdi,%rbx,4), %r14d
	movq	24(%r12), %rax
	movq	(%rax,%rsi,8), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%rax,%rsi,8)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_TX_ERROR@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	(%rbx)
	movl	-56(%rbp), %edx                 ## 4-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rdi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	callq	_dma_unmap_single
	testq	%r13, %r13
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_dev_kfree_skb_irq
	jmp	LBB0_14
LBB0_15:
	negl	%r15d
	movl	%r15d, %r14d
	jmp	LBB0_16
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_5:
	movl	%r15d, %eax
	negl	%eax
	xorl	%r14d, %r14d
	cmpl	$1, %r15d
	sbbl	%r14d, %r14d
	orl	%eax, %r14d
LBB0_16:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	movq	%rbx, %rdi
	callq	_netif_tx_unlock
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WORK_TX_DONE,4,2               ## @WORK_TX_DONE
	.comm	_BUF_OWNED_BY_DMA,4,2           ## @BUF_OWNED_BY_DMA
	.comm	_TX_ERROR,4,2                   ## @TX_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error in TX\n"

	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_txq_reclaim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txq_reclaim
_txq_reclaim:                           ; @txq_reclaim
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x19
	bl	_netif_tx_lock
Lloh0:
	adrp	x8, _WORK_TX_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WORK_TX_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21, #40]
	bic	w8, w9, w8
	str	w8, [x21, #40]
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	w26, #0
	mov	w27, #12
Lloh3:
	adrp	x28, _TX_ERROR@GOTPAGE
Lloh4:
	ldr	x28, [x28, _TX_ERROR@GOTPAGEOFF]
Lloh5:
	adrp	x22, _DMA_TO_DEVICE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DMA_TO_DEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	sub	w26, w26, #1
	cmp	x8, #0
	b.le	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x21, #8]
	ldr	x11, [x21, #32]
	mul	x10, x9, x27
	ldr	w10, [x11, x10]
	cbnz	w20, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh7:
	adrp	x12, _BUF_OWNED_BY_DMA@GOTPAGE
Lloh8:
	ldr	x12, [x12, _BUF_OWNED_BY_DMA@GOTPAGEOFF]
Lloh9:
	ldr	w12, [x12]
	tst	w12, w10
	b.ne	LBB0_15
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w12, w9, #1
	ldr	w13, [x21, #12]
	sdiv	w14, w12, w13
	msub	w12, w14, w13, w12
	str	w12, [x21, #8]
	sub	x8, x8, #1
	str	x8, [x21]
	madd	x8, x9, x27, x11
	ldp	w25, w24, [x8, #4]
	ldr	x8, [x21, #24]
	ldr	x23, [x8, x9, lsl #3]
	cbz	x23, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x8, x9, lsl #3]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x28]
	tst	w8, w10
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_net_ratelimit
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21, #16]
	ldr	w3, [x22]
	mov	x1, x24
	mov	x2, x25
	bl	_dma_unmap_single
	cbz	x23, LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_dev_kfree_skb_irq
	b	LBB0_2
LBB0_13:
	neg	w20, w26
	b	LBB0_16
LBB0_14:
	mov	w20, #0
	b	LBB0_16
LBB0_15:
	cmp	w26, #0
	mov	w8, #-1
	csneg	w20, w8, w26, eq
LBB0_16:
	mov	x0, x19
	bl	_netif_tx_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WORK_TX_DONE,4,2               ; @WORK_TX_DONE
	.comm	_BUF_OWNED_BY_DMA,4,2           ; @BUF_OWNED_BY_DMA
	.comm	_TX_ERROR,4,2                   ; @TX_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error in TX\n"

	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_txq_reclaim
.subsections_via_symbols
