	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_mcdi_mac_pull_stats        ## -- Begin function efx_mcdi_mac_pull_stats
	.p2align	4, 0x90
_efx_mcdi_mac_pull_stats:               ## @efx_mcdi_mac_pull_stats
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	_EFX_MAC_STATS_WAIT_ATTEMPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_EFX_MC_STATS_GENERATION_INVALID@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	(%rdi), %rcx
	movq	%rax, -8(%r14,%rcx,8)
	movq	_EFX_STATS_PULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_efx_mcdi_mac_stats
	movslq	(%r15), %rax
	movq	-8(%r14,%rax,8), %rax
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.2:
	decl	%ebx
	movq	_EFX_MAC_STATS_WAIT_US@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_udelay
	movslq	(%r15), %rax
	movq	-8(%r14,%rax,8), %rcx
	subl	$1, %ebx
	setb	%al
	cmpq	(%r12), %rcx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	je	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFX_MAC_STATS_WAIT_ATTEMPTS,4,2 ## @EFX_MAC_STATS_WAIT_ATTEMPTS
	.comm	_EFX_MC_STATS_GENERATION_INVALID,8,3 ## @EFX_MC_STATS_GENERATION_INVALID
	.comm	_EFX_STATS_PULL,4,2             ## @EFX_STATS_PULL
	.comm	_EFX_MAC_STATS_WAIT_US,4,2      ## @EFX_MAC_STATS_WAIT_US
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_mcdi_mac_pull_stats        ; -- Begin function efx_mcdi_mac_pull_stats
	.p2align	2
_efx_mcdi_mac_pull_stats:               ; @efx_mcdi_mac_pull_stats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _EFX_MAC_STATS_WAIT_ATTEMPTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_MAC_STATS_WAIT_ATTEMPTS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x21, _EFX_MC_STATS_GENERATION_INVALID@GOTPAGE
Lloh4:
	ldr	x21, [x21, _EFX_MC_STATS_GENERATION_INVALID@GOTPAGEOFF]
	ldr	x8, [x21]
	ldrsw	x9, [x0]
	add	x9, x20, x9, lsl #3
	stur	x8, [x9, #-8]
Lloh5:
	adrp	x8, _EFX_STATS_PULL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFX_STATS_PULL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_efx_mcdi_mac_stats
	ldrsw	x8, [x19]
	add	x8, x20, x8, lsl #3
	ldur	x8, [x8, #-8]
	ldr	x9, [x21]
	cmp	x8, x9
	ccmp	w22, #0, #4, eq
	b.eq	LBB0_3
; %bb.1:
	sub	w22, w22, #1
Lloh8:
	adrp	x23, _EFX_MAC_STATS_WAIT_US@GOTPAGE
Lloh9:
	ldr	x23, [x23, _EFX_MAC_STATS_WAIT_US@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_udelay
	ldrsw	x8, [x19]
	add	x8, x20, x8, lsl #3
	ldur	x8, [x8, #-8]
	ldr	x9, [x21]
	cmp	x8, x9
	ccmp	w22, #0, #4, eq
	sub	w22, w22, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EFX_MAC_STATS_WAIT_ATTEMPTS,4,2 ; @EFX_MAC_STATS_WAIT_ATTEMPTS
	.comm	_EFX_MC_STATS_GENERATION_INVALID,8,3 ; @EFX_MC_STATS_GENERATION_INVALID
	.comm	_EFX_STATS_PULL,4,2             ; @EFX_STATS_PULL
	.comm	_EFX_MAC_STATS_WAIT_US,4,2      ; @EFX_MAC_STATS_WAIT_US
.subsections_via_symbols
