	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axienet_dma_bd_release
_axienet_dma_bd_release:                ## @axienet_dma_bd_release
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	32(%r15), %rax
	movl	4(%rax,%rbx,8), %esi
	movl	40(%r15), %edx
	movl	(%r12), %ecx
	callq	_dma_unmap_single
	movq	32(%r15), %rax
	movl	(%rax,%rbx,8), %edi
	callq	_dev_kfree_skb
	incq	%rbx
	movslq	(%r15), %rsi
	cmpq	%rsi, %rbx
	jl	LBB0_2
LBB0_3:
	movq	32(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	shll	$3, %esi
	movl	24(%r15), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_dma_free_coherent
LBB0_5:
	movq	16(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.7:
	movl	(%r14), %edi
	movl	4(%r15), %esi
	movl	8(%r15), %ecx
	shll	$3, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dma_free_coherent              ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_axienet_dma_bd_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axienet_dma_bd_release
_axienet_dma_bd_release:                ; @axienet_dma_bd_release
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh0:
	adrp	x23, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DMA_FROM_DEVICE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	x8, [x20, #32]
	add	x8, x8, x21
	ldr	w1, [x8, #4]
	ldr	w2, [x20, #40]
	ldr	w3, [x23]
	bl	_dma_unmap_single
	ldr	x8, [x20, #32]
	ldr	w0, [x8, x21]
	bl	_dev_kfree_skb
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	x2, [x20, #32]
	cbz	x2, LBB0_5
; %bb.4:
	ldr	w0, [x19]
	lsl	w1, w8, #3
	ldr	w3, [x20, #24]
	bl	_dma_free_coherent
LBB0_5:
	ldr	x2, [x20, #16]
	cbz	x2, LBB0_7
; %bb.6:
	ldr	w0, [x19]
	ldp	w8, w3, [x20, #4]
	lsl	w1, w8, #3
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dma_free_coherent
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_axienet_dma_bd_release
.subsections_via_symbols
