	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_clean_rx_irq
_fm10k_clean_rx_irq:                    ## @fm10k_clean_rx_irq
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rbx
	movq	%rsi, %rdi
	callq	_fm10k_desc_unused
	movq	%rax, %r14
	xorl	%edi, %edi
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	xorl	%edi, %edi
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	setb	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_FM10K_RX_BUFFER_WRITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_fm10k_alloc_rx_buffers
	xorl	%r14d, %r14d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r13), %esi
	movq	%r13, %rdi
	callq	_FM10K_RX_DESC
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_dma_rmb
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_fm10k_fetch_rx_buffer
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_fm10k_is_non_eop
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_fm10k_cleanup_headers
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_fm10k_process_skb_fields
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_fm10k_receive_skb
	incl	%r15d
	jmp	LBB0_11
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_13
LBB0_7:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, 16(%r13)
	movq	%r13, %rdi
	callq	_u64_stats_update_begin
	addl	%r15d, 4(%r13)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	%ebx, 8(%r13)
	movq	%r13, %rdi
	callq	_u64_stats_update_end
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, (%rax)
	addl	%ebx, 4(%rax)
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_RX_BUFFER_WRITE,8,3      ## @FM10K_RX_BUFFER_WRITE
	.no_dead_strip	_fm10k_clean_rx_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_clean_rx_irq
_fm10k_clean_rx_irq:                    ; @fm10k_clean_rx_irq
	.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	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x1, #16]
	mov	x0, x1
	bl	_fm10k_desc_unused
	mov	x24, x0
	cmp	w23, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_11
; %bb.1:
	mov	w21, #0
	mov	w26, #0
Lloh0:
	adrp	x27, _FM10K_RX_BUFFER_WRITE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _FM10K_RX_BUFFER_WRITE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	w21, w23
	cset	w0, lo
	bl	_likely
	cbz	x0, LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	cmp	x24, x8
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_fm10k_alloc_rx_buffers
	mov	x24, #0
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #24]
	mov	x0, x20
	bl	_FM10K_RX_DESC
	ldr	w8, [x0]
	cbz	w8, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	bl	_dma_rmb
	mov	x0, x20
	mov	x1, x25
	mov	x2, x22
	bl	_fm10k_fetch_rx_buffer
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_fm10k_is_non_eop
	cbnz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x22
	bl	_fm10k_cleanup_headers
	cbnz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x22
	bl	_fm10k_process_skb_fields
	add	w26, w26, w0
	mov	x0, x19
	mov	x1, x22
	bl	_fm10k_receive_skb
	mov	x22, #0
	add	w21, w21, #1
	b	LBB0_3
LBB0_11:
	mov	w26, #0
	mov	w21, #0
LBB0_12:
	str	x22, [x20, #16]
	mov	x0, x20
	bl	_u64_stats_update_begin
	ldp	w8, w9, [x20, #4]
	add	w8, w8, w21
	add	w9, w9, w26
	stp	w8, w9, [x20, #4]
	mov	x0, x20
	bl	_u64_stats_update_end
	ldp	w8, w9, [x19]
	add	w8, w8, w21
	add	w9, w9, w26
	stp	w8, w9, [x19]
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_RX_BUFFER_WRITE,8,3      ; @FM10K_RX_BUFFER_WRITE
	.no_dead_strip	_fm10k_clean_rx_irq
.subsections_via_symbols
