	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alx_free_rxring_buf
_alx_free_rxring_buf:                   ## @alx_free_rxring_buf
	.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
	movq	40(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jle	LBB0_7
## %bb.2:
	movl	$1, %r13d
	xorl	%ecx, %ecx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, -8(%r14,%r13,8)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:
	leaq	(%r14,%rcx), %rbx
	movl	32(%rdi), %r15d
	movq	_dma@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_dma_unmap_addr
	movl	%eax, %r12d
	movq	_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_len
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	-8(%r14,%r13,8), %rdi
	callq	_dev_kfree_skb
	movq	$0, -8(%r14,%r13,8)
	movq	_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dma_unmap_len_set
	movq	_dma@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_dma_unmap_addr_set
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %r13
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rdi), %r14
	incq	%r13
	addq	$8, %rcx
	cmpq	$0, -8(%r14,%r13,8)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_7:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
	movq	$0, 24(%rdi)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dma,4,2                        ## @dma
	.comm	_size,4,2                       ## @size
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_alx_free_rxring_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alx_free_rxring_buf
_alx_free_rxring_buf:                   ; @alx_free_rxring_buf
	.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
	ldr	x28, [x0, #40]
	cbz	x28, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
	mov	w24, #1
Lloh0:
	adrp	x25, _dma@GOTPAGE
Lloh1:
	ldr	x25, [x25, _dma@GOTPAGEOFF]
Lloh2:
	adrp	x26, _size@GOTPAGE
Lloh3:
	ldr	x26, [x26, _size@GOTPAGEOFF]
Lloh4:
	adrp	x27, _DMA_FROM_DEVICE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DMA_FROM_DEVICE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x28, x23
	ldr	x9, [x20]
	cbz	x9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w21, [x19, #32]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_dma_unmap_addr
	mov	x22, x0
	ldr	w1, [x26]
	mov	x0, x20
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x27]
	mov	x0, x21
	mov	x1, x22
	bl	_dma_unmap_single
	ldr	x0, [x28, x23]
	bl	_dev_kfree_skb
	str	xzr, [x28, x23]
	ldr	w1, [x26]
	mov	x0, x20
	mov	w2, #0
	bl	_dma_unmap_len_set
	ldr	w1, [x25]
	mov	x0, x20
	mov	w2, #0
	bl	_dma_unmap_addr_set
	ldr	x8, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, x8
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [x19, #40]
	add	x24, x24, #1
	add	x23, x23, #8
	b	LBB0_3
LBB0_7:
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x19, #24]
LBB0_8:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dma,4,2                        ; @dma
	.comm	_size,4,2                       ; @size
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_alx_free_rxring_buf
.subsections_via_symbols
