	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_txcmpl_process
_bnad_txcmpl_process:                   ## @bnad_txcmpl_process
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	40(%rsi), %r14
	movq	_BNAD_TXQ_TX_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$32, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movq	8(%r13), %r12
	movq	(%rax), %rsi
	movq	16(%r13), %rdx
	movq	%r12, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_BNA_Q_INDEX_CHANGE
	movq	%rax, %r14
	movq	16(%r13), %rsi
	movq	%r13, %rdi
	callq	_BNA_QE_IN_USE_CNT
	xorl	%edi, %edi
	cmpq	%rax, %r14
	setg	%dil
	callq	_BUG_ON
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rax
	shlq	$4, %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12,%rax), %r13
	incq	%r15
	addq	(%r13), %rbx
	movl	(%r12,%rax), %edi
	callq	_BNA_TXQ_WI_NEEDED
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_bnad_tx_buff_unmap
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	subq	-88(%rbp), %r14                 ## 8-byte Folded Reload
	jne	LBB0_5
## %bb.6:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_3:
	xorl	%r15d, %r15d
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13)
	movq	24(%r13), %rax
	addl	%r15d, 4(%rax)
	addl	%ebx, (%rax)
LBB0_8:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNAD_TXQ_TX_STARTED,4,2        ## @BNAD_TXQ_TX_STARTED
	.no_dead_strip	_bnad_txcmpl_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_txcmpl_process
_bnad_txcmpl_process:                   ; @bnad_txcmpl_process
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #40]
Lloh0:
	adrp	x8, _BNAD_TXQ_TX_STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNAD_TXQ_TX_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x1, #32
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.1:
	ldp	x8, x24, [x19]
	ldr	x22, [x8]
	ldr	x23, [x19, #16]
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_BNA_Q_INDEX_CHANGE
	mov	x26, x0
	ldr	x1, [x19, #16]
	mov	x0, x19
	bl	_BNA_QE_IN_USE_CNT
	cmp	x26, x0
	cset	w0, gt
	bl	_BUG_ON
	cbz	x26, LBB0_5
; %bb.2:
	mov	x25, #0
	mov	x28, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x21, x24, lsl #4
	ldr	x27, [x8, #8]
	add	x25, x25, #1
	ldr	x9, [x27]
	add	x28, x9, x28
	ldr	w0, [x8]
	bl	_BNA_TXQ_WI_NEEDED
	sub	x26, x26, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	bl	_bnad_tx_buff_unmap
	mov	x24, x0
	mov	x0, x27
	bl	_dev_kfree_skb_any
	cbnz	x26, LBB0_3
	b	LBB0_6
LBB0_4:
	mov	x25, #0
	b	LBB0_7
LBB0_5:
	mov	w28, #0
	mov	x25, #0
LBB0_6:
	str	x22, [x19, #8]
	ldr	x8, [x19, #24]
	ldp	w10, w9, [x8]
	add	w9, w9, w25
	add	w10, w10, w28
	stp	w10, w9, [x8]
LBB0_7:
	mov	x0, x25
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_BNAD_TXQ_TX_STARTED,4,2        ; @BNAD_TXQ_TX_STARTED
	.no_dead_strip	_bnad_txcmpl_process
.subsections_via_symbols
