	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_tx_buff_unmap
_bnad_tx_buff_unmap:                    ## @bnad_tx_buff_unmap
	.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
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rcx,2), %rbx
	movl	(%rsi,%rbx,8), %r15d
	movq	16(%rsi,%rbx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 16(%rsi,%rbx,8)
	movl	$0, (%rsi,%rbx,8)
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi,%rbx,8), %rdi
	movq	_dma_addr@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_dma_unmap_addr
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_headlen
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	8(%r12,%rbx,8), %rdi
	movl	(%r13), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_dma_unmap_addr_set
	decl	%r15d
	je	LBB0_5
## %bb.1:
	leaq	(%r12,%rbx,8), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rbx
	shlq	$2, %rbx
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_addr
	movl	%eax, %r14d
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	_dma_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dma_unmap_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_page
	addq	(%r12), %rbx
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dma_unmap_addr_set
	decl	%r15d
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r13d
	movq	_BFI_TX_MAX_VECTORS_PER_WI@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_BNA_QE_INDX_INC
	xorl	%r13d, %r13d
	jmp	LBB0_4
LBB0_5:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_BNA_QE_INDX_INC
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dma_addr,4,2                   ## @dma_addr
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_BFI_TX_MAX_VECTORS_PER_WI,4,2  ## @BFI_TX_MAX_VECTORS_PER_WI
	.comm	_dma_len,4,2                    ## @dma_len
	.no_dead_strip	_bnad_tx_buff_unmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_tx_buff_unmap
_bnad_tx_buff_unmap:                    ; @bnad_tx_buff_unmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	stp	x2, x3, [sp]                    ; 16-byte Folded Spill
	mov	x21, x0
	mov	w8, #24
	madd	x25, x3, x8, x1
	ldr	w19, [x25]
	ldr	x22, [x25, #16]
	str	xzr, [x25, #16]
	str	wzr, [x25]
	ldr	x23, [x0]
	ldr	x0, [x25, #8]!
Lloh0:
	adrp	x26, _dma_addr@GOTPAGE
Lloh1:
	ldr	x26, [x26, _dma_addr@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_dma_unmap_addr
	mov	x24, x0
	mov	x0, x22
	bl	_skb_headlen
	mov	x2, x0
Lloh2:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x24
	bl	_dma_unmap_single
	ldr	x0, [x25]
	ldr	w1, [x26]
	mov	w2, #0
	bl	_dma_unmap_addr_set
	subs	w24, w19, #1
	b.eq	LBB0_5
; %bb.1:
	mov	w19, #0
Lloh5:
	adrp	x28, _BFI_TX_MAX_VECTORS_PER_WI@GOTPAGE
Lloh6:
	ldr	x28, [x28, _BFI_TX_MAX_VECTORS_PER_WI@GOTPAGEOFF]
Lloh7:
	adrp	x20, _dma_len@GOTPAGE
Lloh8:
	ldr	x20, [x20, _dma_len@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x21]
	ldr	x8, [x25]
	sbfiz	x27, x19, #2, #32
	add	x0, x8, x27
	ldr	w1, [x26]
	bl	_dma_unmap_addr
	mov	x23, x0
	ldr	x8, [x25]
	add	x0, x8, x27
	ldr	w1, [x20]
	bl	_dma_unmap_len
	mov	x2, x0
Lloh9:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x23
	bl	_dma_unmap_page
	ldr	x8, [x25]
	add	x0, x8, x27
	ldr	w1, [x26]
	mov	w2, #0
	bl	_dma_unmap_addr_set
	subs	w24, w24, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w19, w19, #1
	ldr	w8, [x28]
	cmp	w19, w8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x1, x0, [sp]                    ; 16-byte Folded Reload
	bl	_BNA_QE_INDX_INC
	mov	w19, #0
	b	LBB0_2
LBB0_5:
	ldp	x1, x19, [sp]                   ; 16-byte Folded Reload
	mov	x0, x19
	bl	_BNA_QE_INDX_INC
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_addr,4,2                   ; @dma_addr
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_BFI_TX_MAX_VECTORS_PER_WI,4,2  ; @BFI_TX_MAX_VECTORS_PER_WI
	.comm	_dma_len,4,2                    ; @dma_len
	.no_dead_strip	_bnad_tx_buff_unmap
.subsections_via_symbols
