	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_rx_release_ring_element
_lan743x_rx_release_ring_element:       ## @lan743x_rx_release_ring_element
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movslq	%esi, %r15
	leaq	(,%r15,8), %rax
	leaq	(%rax,%rax,2), %rbx
	movq	16(%rdi), %rdi
	addq	%rbx, %rdi
	movq	8(%r12), %r13
	leaq	(%rbx,%r13), %r14
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	8(%r13,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	addq	%r13, %rbx
	addq	$8, %rbx
	movq	(%r12), %rax
	movq	(%rax), %rdi
	leaq	(%r15,%r15,2), %rax
	movl	16(%r13,%rax,8), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movq	$0, (%rbx)
LBB0_2:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_dev_kfree_skb
	movq	$0, (%r14)
LBB0_4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_lan743x_rx_release_ring_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_rx_release_ring_element
_lan743x_rx_release_ring_element:       ; @lan743x_rx_release_ring_element
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x20, x0
	sxtw	x21, w1
	add	x8, x21, w1, sxtw #1
	lsl	x8, x8, #3
	ldp	x23, x9, [x0, #8]
	add	x0, x9, x8
	add	x19, x23, x8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x22, x19
	ldr	x1, [x22, #8]!
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x0, [x8]
	mov	w8, #24
	madd	x8, x21, x8, x23
	ldr	w2, [x8, #16]
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_dma_unmap_single
	str	xzr, [x22]
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_dev_kfree_skb
	str	xzr, [x19]
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	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	_memset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_lan743x_rx_release_ring_element
.subsections_via_symbols
