	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_rx_reuse_ring_element
_lan743x_rx_reuse_ring_element:         ## @lan743x_rx_reuse_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	8(%rdi), %r15
	movslq	%esi, %r12
	movl	4(%r14,%r12,8), %edi
	callq	_DMA_ADDR_LOW32
	leaq	(%r12,%r12,2), %rbx
	movl	%eax, 20(%r15,%rbx,8)
	movl	4(%r14,%r12,8), %edi
	callq	_DMA_ADDR_HIGH32
	movl	%eax, 16(%r15,%rbx,8)
	movq	$0, 8(%r15,%rbx,8)
	movq	_RX_DESC_DATA0_BUF_LENGTH_MASK_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14,%r12,8), %eax
	movq	_RX_DESC_DATA0_OWN_@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r15,%rbx,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_DESC_DATA0_OWN_,4,2         ## @RX_DESC_DATA0_OWN_
	.comm	_RX_DESC_DATA0_BUF_LENGTH_MASK_,4,2 ## @RX_DESC_DATA0_BUF_LENGTH_MASK_
	.no_dead_strip	_lan743x_rx_reuse_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_reuse_ring_element
_lan743x_rx_reuse_ring_element:         ; @lan743x_rx_reuse_ring_element
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldp	x8, x20, [x0]
	add	x21, x8, w1, sxtw #3
	ldr	w0, [x21, #4]
	bl	_DMA_ADDR_LOW32
	mov	w8, #24
	smaddl	x19, w19, w8, x20
	str	w0, [x19, #20]
	ldr	w0, [x21, #4]
	bl	_DMA_ADDR_HIGH32
	str	w0, [x19, #16]
	str	xzr, [x19, #8]
Lloh0:
	adrp	x8, _RX_DESC_DATA0_OWN_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_DESC_DATA0_OWN_@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21]
Lloh3:
	adrp	x10, _RX_DESC_DATA0_BUF_LENGTH_MASK_@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RX_DESC_DATA0_BUF_LENGTH_MASK_@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_DESC_DATA0_OWN_,4,2         ; @RX_DESC_DATA0_OWN_
	.comm	_RX_DESC_DATA0_BUF_LENGTH_MASK_,4,2 ; @RX_DESC_DATA0_BUF_LENGTH_MASK_
	.no_dead_strip	_lan743x_rx_reuse_ring_element
.subsections_via_symbols
