	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_update_hw_stats_rx_q
_fm10k_update_hw_stats_rx_q:            ## @fm10k_update_hw_stats_rx_q
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	%edx, %edi
	callq	_FM10K_RXQCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_read_reg
	movl	%eax, %r14d
	leaq	12(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_FM10K_RXQCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_read_reg
	xorl	%eax, %r14d
	movq	_FM10K_RXQCTL_ID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testl	%r12d, %r14d
	movl	%eax, %r14d
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_FM10K_QPRDC
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_fm10k_read_hw_stats_32b
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_FM10K_QPRC
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_fm10k_read_hw_stats_32b
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_FM10K_QBRC_L
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_fm10k_read_hw_stats_48b
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_4:
	andl	%eax, %r12d
	movq	_FM10K_STAT_VALID@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r12d, (%rbx)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_6
## %bb.5:
	addl	%esi, 12(%rbx)
	addl	%r13d, 8(%rbx)
	addl	%r14d, 4(%rbx)
LBB0_6:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_fm10k_update_hw_base_32b
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_fm10k_update_hw_base_32b
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_fm10k_update_hw_base_48b
	movl	%r12d, (%rbx)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_RXQCTL_ID_MASK,4,2       ## @FM10K_RXQCTL_ID_MASK
	.comm	_FM10K_STAT_VALID,4,2           ## @FM10K_STAT_VALID
	.no_dead_strip	_fm10k_update_hw_stats_rx_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_update_hw_stats_rx_q
_fm10k_update_hw_stats_rx_q:            ; @fm10k_update_hw_stats_rx_q
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x2
	mov	x19, x1
	mov	x25, x0
	mov	x0, x2
	bl	_FM10K_RXQCTL
	mov	x1, x0
	mov	x0, x25
	bl	_fm10k_read_reg
	mov	x27, x0
	mov	x22, #0
	add	x23, x19, #12
	add	x21, x19, #8
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	add	x20, x19, #4
Lloh0:
	adrp	x19, _FM10K_RXQCTL_ID_MASK@GOTPAGE
Lloh1:
	ldr	x19, [x19, _FM10K_RXQCTL_ID_MASK@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_FM10K_RXQCTL
	mov	x1, x0
	mov	x0, x25
	bl	_fm10k_read_reg
	eor	w9, w0, w27
	ldr	w8, [x19]
	mov	x27, x0
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_FM10K_QPRDC
	mov	x1, x0
	mov	x0, x25
	mov	x2, x23
	bl	_fm10k_read_hw_stats_32b
	mov	x26, x0
	mov	x0, x24
	bl	_FM10K_QPRC
	mov	x1, x0
	mov	x0, x25
	mov	x2, x21
	bl	_fm10k_read_hw_stats_32b
	mov	x28, x0
	cbz	w0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_FM10K_QBRC_L
	mov	x1, x0
	mov	x0, x25
	mov	x2, x20
	bl	_fm10k_read_hw_stats_48b
	mov	x22, x0
	b	LBB0_1
LBB0_4:
	and	w8, w8, w0
Lloh2:
	adrp	x9, _FM10K_STAT_VALID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FM10K_STAT_VALID@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w19, w9, w8
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [x24]
	cmp	w8, w19
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x24, #12]
	add	w8, w8, w26
	str	w8, [x24, #12]
	ldp	w9, w8, [x24, #4]
	add	w8, w8, w28
	add	w9, w9, w22
	stp	w9, w8, [x24, #4]
LBB0_6:
	mov	x0, x23
	mov	x1, x26
	bl	_fm10k_update_hw_base_32b
	mov	x0, x21
	mov	x1, x28
	bl	_fm10k_update_hw_base_32b
	mov	x0, x20
	mov	x1, x22
	bl	_fm10k_update_hw_base_48b
	str	w19, [x24]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_RXQCTL_ID_MASK,4,2       ; @FM10K_RXQCTL_ID_MASK
	.comm	_FM10K_STAT_VALID,4,2           ; @FM10K_STAT_VALID
	.no_dead_strip	_fm10k_update_hw_stats_rx_q
.subsections_via_symbols
