	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_put_rx_buff
_enetc_put_rx_buff:                     ## @enetc_put_rx_buff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_enetc_page_reusable
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENETC_RXB_TRUESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 12(%rbx)
	movq	(%rbx), %rdi
	callq	_page_ref_inc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_enetc_reuse_page
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	movq	_ENETC_RXB_DMA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_dma_sync_single_range_for_device
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_page
LBB0_3:
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_RXB_TRUESIZE,4,2         ## @ENETC_RXB_TRUESIZE
	.comm	_ENETC_RXB_DMA_SIZE,4,2         ## @ENETC_RXB_DMA_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_enetc_put_rx_buff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_put_rx_buff
_enetc_put_rx_buff:                     ; @enetc_put_rx_buff
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1]
	bl	_enetc_page_reusable
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENETC_RXB_TRUESIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENETC_RXB_TRUESIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	eor	w8, w9, w8
	str	w8, [x19, #12]
	ldr	x0, [x19]
	bl	_page_ref_inc
	mov	x0, x20
	mov	x1, x19
	bl	_enetc_reuse_page
	ldr	w0, [x20]
	ldp	w1, w2, [x19, #8]
Lloh3:
	adrp	x8, _ENETC_RXB_DMA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENETC_RXB_DMA_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	bl	_dma_sync_single_range_for_device
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	bl	_dma_unmap_page
LBB0_3:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_RXB_TRUESIZE,4,2         ; @ENETC_RXB_TRUESIZE
	.comm	_ENETC_RXB_DMA_SIZE,4,2         ; @ENETC_RXB_DMA_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_enetc_put_rx_buff
.subsections_via_symbols
