	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_fetch_rx_buffer
_fm10k_fetch_rx_buffer:                 ## @fm10k_fetch_rx_buffer
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	callq	_le16_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movq	24(%r14), %r12
	leaq	(%rax,%rax,2), %r15
	leaq	(%r12,%r15,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12,%r15,8), %r13
	movq	%r13, %rdi
	callq	_prefetchw
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	callq	_page_address
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rbx
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_prefetch
	movq	_L1_CACHE_BYTES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	callq	_prefetch
	movq	16(%r14), %rdi
	movq	_FM10K_RX_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_napi_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:
	incl	12(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_2:
	movq	(%rbx), %rdi
	callq	_prefetchw
LBB0_3:
	leaq	(%r12,%r15,8), %rax
	addq	$8, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	movl	16(%r12,%r15,8), %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	callq	_dma_sync_single_range_for_cpu
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_fm10k_add_rx_frag
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_fm10k_reuse_rx_page
	jmp	LBB0_6
LBB0_5:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %rax
	addq	$16, %rax
	movl	8(%r14), %edi
	movl	(%rax), %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_6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
LBB0_7:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L1_CACHE_BYTES,4,2             ## @L1_CACHE_BYTES
	.comm	_FM10K_RX_HDR_LEN,4,2           ## @FM10K_RX_HDR_LEN
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_fm10k_fetch_rx_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_fetch_rx_buffer
_fm10k_fetch_rx_buffer:                 ; @fm10k_fetch_rx_buffer
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x1]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	x26, [x20, #24]
	ldr	x27, [x20]
	mov	w8, #24
	madd	x22, x27, x8, x26
	mov	x25, x22
	ldr	x24, [x25, #8]!
	mov	x0, x24
	bl	_prefetchw
	cmp	x19, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x24
	bl	_page_address
	ldrsw	x8, [x22]
	add	x19, x0, x8
	mov	x0, x19
	bl	_prefetch
Lloh0:
	adrp	x8, _L1_CACHE_BYTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _L1_CACHE_BYTES@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x0, x19, x8, lsl #2
	bl	_prefetch
	ldr	x0, [x20, #16]
Lloh3:
	adrp	x8, _FM10K_RX_HDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_RX_HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_napi_alloc_skb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	x19, #0
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	b	LBB0_8
LBB0_3:
	ldr	x0, [x19]
	bl	_prefetchw
LBB0_4:
	ldr	w0, [x20, #8]
	mov	w8, #24
	madd	x24, x27, x8, x26
	ldr	w1, [x24, #16]!
	ldr	w2, [x22]
Lloh6:
	adrp	x26, _DMA_FROM_DEVICE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	w4, [x26]
	mov	x3, x23
	bl	_dma_sync_single_range_for_cpu
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	bl	_fm10k_add_rx_frag
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x22
	bl	_fm10k_reuse_rx_page
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20, #8]
	ldr	w1, [x24]
Lloh8:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x26]
	bl	_dma_unmap_page
LBB0_7:
	str	xzr, [x25]
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_L1_CACHE_BYTES,4,2             ; @L1_CACHE_BYTES
	.comm	_FM10K_RX_HDR_LEN,4,2           ; @FM10K_RX_HDR_LEN
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_fm10k_fetch_rx_buffer
.subsections_via_symbols
