	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_txq_to_mp
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rdi
	movl	(%r12), %esi
	callq	_netdev_get_tx_queue
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	___netif_tx_lock_bh
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.5:
	leaq	36(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%ebx, %r14d
	je	LBB0_21
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	testq	%rax, %rax
	jle	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movslq	16(%r12), %rcx
	movq	24(%r12), %rdx
	movq	40(%r12), %r15
	movzbl	(%rdx,%rcx), %ebx
	leaq	(%rcx,%rcx,2), %r14
	movl	(%r15,%r14,4), %r13d
	movq	_BUFFER_OWNED_BY_DMA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%r13d, %edx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r15,%r14,4), %rsi
	notl	%edx
	andl	%r13d, %edx
	movl	%edx, (%rsi)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%ecx
	cmpl	32(%r12), %ecx
	movl	$0, %edx
	cmovel	%edx, %ecx
	movl	%ecx, 16(%r12)
	decq	%rax
	movq	%rax, 8(%r12)
	movl	8(%r15,%r14,4), %esi
	movq	%r12, %rdi
	callq	_IS_TSO_HEADER
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r15,%r14,4), %rax
	addq	$8, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	4(%rcx), %edi
	movl	(%rax), %esi
	movl	4(%r15,%r14,4), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DESC_DMA_MAP_PAGE@GOTPCREL(%rip), %rax
	cmpb	(%rax), %bl
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	callq	_dma_unmap_page
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	callq	_dma_unmap_single
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_TX_ENABLE_INTERRUPT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	___skb_dequeue
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_dev_consume_skb_any
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	movq	_ERROR_SUMMARY@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_info
	movq	8(%r15), %rax
	incl	(%rax)
	jmp	LBB0_20
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_21:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	___netif_tx_unlock_bh
	jmp	LBB0_22
LBB0_9:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_2:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	___netif_tx_unlock_bh
	cmpl	%r14d, %ebx
	jge	LBB0_4
## %bb.3:
	movb	(%r12), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	andl	%eax, (%rcx)
LBB0_4:
	movl	%ebx, %r14d
LBB0_22:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFER_OWNED_BY_DMA,4,2        ## @BUFFER_OWNED_BY_DMA
	.comm	_DESC_DMA_MAP_PAGE,1,0          ## @DESC_DMA_MAP_PAGE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_TX_ENABLE_INTERRUPT,4,2        ## @TX_ENABLE_INTERRUPT
	.comm	_ERROR_SUMMARY,4,2              ## @ERROR_SUMMARY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx error\n"

	.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:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	w2, [sp, #28]                   ; 4-byte Folded Spill
	mov	x19, x1
	mov	x21, x0
	bl	_txq_to_mp
	mov	x20, x0
	ldr	x0, [x0, #8]
	ldr	w1, [x21]
	bl	_netdev_get_tx_queue
	mov	x22, x0
	bl	___netif_tx_lock_bh
	cmp	w19, #1
	b.lt	LBB0_17
; %bb.1:
	mov	w27, #0
	add	x8, x21, #36
	stp	x22, x8, [sp, #8]               ; 16-byte Folded Spill
	mov	w28, #12
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w27, w27, #1
	cmp	w19, w27
	b.eq	LBB0_21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	subs	x8, x8, #1
	b.lt	LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x22, [x21, #16]
	ldr	x23, [x21, #40]
	ldr	x9, [x21, #24]
	ldrb	w26, [x9, x22]
	madd	x9, x22, x28, x23
	ldr	w25, [x9]
Lloh0:
	adrp	x10, _BUFFER_OWNED_BY_DMA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BUFFER_OWNED_BY_DMA@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w25
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [sp, #28]                  ; 4-byte Folded Reload
	cbz	w11, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bic	w10, w25, w10
	str	w10, [x9]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w22, #1
	ldr	w10, [x21, #32]
	cmp	w9, w10
	csinc	w9, wzr, w22, eq
	str	w9, [x21, #16]
	str	x8, [x21, #8]
	madd	x24, x22, x28, x23
	ldr	w1, [x24, #8]!
	mov	x0, x21
	bl	_IS_TSO_HEADER
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh3:
	adrp	x8, _DESC_DMA_MAP_PAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DESC_DMA_MAP_PAGE@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [x20, #8]
	ldr	w0, [x9, #4]
	ldr	w1, [x24]
	madd	x9, x22, x28, x23
	ldr	w2, [x9, #4]
Lloh5:
	adrp	x9, _DMA_TO_DEVICE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x9]
	cmp	w26, w8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_dma_unmap_page
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_dma_unmap_single
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x8, _TX_ENABLE_INTERRUPT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TX_ENABLE_INTERRUPT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	___skb_dequeue
	mov	x26, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_dev_consume_skb_any
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x8, _ERROR_SUMMARY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR_SUMMARY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_info
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_2
LBB0_16:
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_18
LBB0_17:
	mov	w27, #0
LBB0_18:
	mov	x0, x22
	bl	___netif_tx_unlock_bh
	cmp	w27, w19
	b.ge	LBB0_20
; %bb.19:
	ldr	w8, [x21]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_20:
	mov	x19, x27
	b	LBB0_22
LBB0_21:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	___netif_tx_unlock_bh
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFER_OWNED_BY_DMA,4,2        ; @BUFFER_OWNED_BY_DMA
	.comm	_DESC_DMA_MAP_PAGE,1,0          ; @DESC_DMA_MAP_PAGE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_TX_ENABLE_INTERRUPT,4,2        ; @TX_ENABLE_INTERRUPT
	.comm	_ERROR_SUMMARY,4,2              ; @ERROR_SUMMARY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx error\n"

	.no_dead_strip	_txq_reclaim
.subsections_via_symbols
