	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mii_parse_qs6612_pcr
_mii_parse_qs6612_pcr:                  ## @mii_parse_qs6612_pcr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movl	(%rax), %edx
	movq	_PHY_STAT_SPMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%edx, %ecx
	shrl	$2, %ebx
	andl	$7, %ebx
	decl	%ebx
	cmpl	$5, %ebx
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rbx,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_2:
	movq	_PHY_STAT_10HDX@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_3:
	movq	_PHY_STAT_100HDX@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_4:
	movq	_PHY_STAT_10FDX@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	movq	_PHY_STAT_100FDX@GOTPCREL(%rip), %rdx
LBB0_6:
	orl	(%rdx), %ecx
LBB0_7:
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_PHY_STAT_SPMASK,4,2            ## @PHY_STAT_SPMASK
	.comm	_PHY_STAT_10HDX,4,2             ## @PHY_STAT_10HDX
	.comm	_PHY_STAT_100HDX,4,2            ## @PHY_STAT_100HDX
	.comm	_PHY_STAT_10FDX,4,2             ## @PHY_STAT_10FDX
	.comm	_PHY_STAT_100FDX,4,2            ## @PHY_STAT_100FDX
	.no_dead_strip	_mii_parse_qs6612_pcr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mii_parse_qs6612_pcr
_mii_parse_qs6612_pcr:                  ; @mii_parse_qs6612_pcr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _PHY_STAT_SPMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_STAT_SPMASK@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
	bic	w8, w9, w8
	ubfx	w9, w19, #2, #3
	sub	w9, w9, #1
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.1:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh5:
	adrp	x9, _PHY_STAT_10HDX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PHY_STAT_10HDX@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x9, _PHY_STAT_100HDX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PHY_STAT_100HDX@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x9, _PHY_STAT_10FDX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PHY_STAT_10FDX@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x9, _PHY_STAT_100FDX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PHY_STAT_100FDX@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_7:
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_PHY_STAT_SPMASK,4,2            ; @PHY_STAT_SPMASK
	.comm	_PHY_STAT_10HDX,4,2             ; @PHY_STAT_10HDX
	.comm	_PHY_STAT_100HDX,4,2            ; @PHY_STAT_100HDX
	.comm	_PHY_STAT_10FDX,4,2             ; @PHY_STAT_10FDX
	.comm	_PHY_STAT_100FDX,4,2            ; @PHY_STAT_100FDX
	.no_dead_strip	_mii_parse_qs6612_pcr
.subsections_via_symbols
