	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_stats_read
_mv88e6xxx_stats_read:                  ## @mv88e6xxx_stats_read
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ecx
	movq	%rdi, %rbx
	movl	$0, (%rdx)
	movq	_REG_GLOBAL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	orl	$52224, %ecx                    ## imm = 0xCC00
	movl	$29, %edx
	callq	_mv88e6xxx_reg_write
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_mv88e6xxx_stats_wait
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$30, %edx
	callq	_mv88e6xxx_reg_read
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movl	%eax, %r15d
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$31, %edx
	callq	_mv88e6xxx_reg_read
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	shll	$16, %r15d
	orl	%r15d, %eax
	movl	%eax, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GLOBAL,4,2                 ## @REG_GLOBAL
	.no_dead_strip	_mv88e6xxx_stats_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_stats_read
_mv88e6xxx_stats_read:                  ; @mv88e6xxx_stats_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
	str	wzr, [x2]
Lloh0:
	adrp	x22, _REG_GLOBAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG_GLOBAL@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	w9, #52224
	orr	w3, w1, w9
	mov	x1, x8
	mov	w2, #29
	bl	_mv88e6xxx_reg_write
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_mv88e6xxx_stats_wait
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #30
	bl	_mv88e6xxx_reg_read
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #31
	bl	_mv88e6xxx_reg_read
	tbnz	w0, #31, LBB0_5
; %bb.4:
	orr	w8, w0, w21, lsl #16
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GLOBAL,4,2                 ; @REG_GLOBAL
	.no_dead_strip	_mv88e6xxx_stats_read
.subsections_via_symbols
