	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_put_rx_buf
_ice_put_rx_buf:                        ## @ice_put_rx_buf
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	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	_ice_can_reuse_rx_page
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ice_reuse_rx_page
	incl	4(%r14)
	jmp	LBB0_4
LBB0_3:
	movl	(%r14), %edi
	movl	20(%rbx), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ICE_RX_DMA_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_dma_unmap_page_attrs
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	callq	___page_frag_cache_drain
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_ICE_RX_DMA_ATTR,4,2            ## @ICE_RX_DMA_ATTR
	.no_dead_strip	_ice_put_rx_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_put_rx_buf
_ice_put_rx_buf:                        ; @ice_put_rx_buf
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_5
; %bb.1:
	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
	mov	x0, x1
	bl	_ice_can_reuse_rx_page
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_ice_reuse_rx_page
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	b	LBB0_4
LBB0_3:
	ldr	w0, [x20]
	ldr	w1, [x19, #20]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _ICE_RX_DMA_ATTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_RX_DMA_ATTR@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	bl	_dma_unmap_page_attrs
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	bl	___page_frag_cache_drain
LBB0_4:
	stp	xzr, xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_ICE_RX_DMA_ATTR,4,2            ; @ICE_RX_DMA_ATTR
	.no_dead_strip	_ice_put_rx_buf
.subsections_via_symbols
