	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mii_parse_sr
_mii_parse_sr:                          ## @mii_parse_sr
	.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_LINK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ecx
	movq	_PHY_STAT_FAULT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movq	_PHY_STAT_ANC@GOTPCREL(%rip), %r8
	orl	(%r8), %ecx
	notl	%ecx
	andl	%edx, %ecx
	testb	$4, %bl
	jne	LBB0_1
## %bb.2:
	testb	$16, %bl
	jne	LBB0_3
LBB0_4:
	testb	$32, %bl
	je	LBB0_6
LBB0_5:
	orl	(%r8), %ecx
LBB0_6:
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	orl	(%rdi), %ecx
	testb	$16, %bl
	je	LBB0_4
LBB0_3:
	orl	(%rsi), %ecx
	testb	$32, %bl
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_STAT_LINK,4,2              ## @PHY_STAT_LINK
	.comm	_PHY_STAT_FAULT,4,2             ## @PHY_STAT_FAULT
	.comm	_PHY_STAT_ANC,4,2               ## @PHY_STAT_ANC
	.no_dead_strip	_mii_parse_sr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mii_parse_sr
_mii_parse_sr:                          ; @mii_parse_sr
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x11, _PHY_STAT_LINK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _PHY_STAT_LINK@GOTPAGEOFF]
	ldr	w9, [x11]
Lloh2:
	adrp	x10, _PHY_STAT_FAULT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PHY_STAT_FAULT@GOTPAGEOFF]
	ldr	w12, [x10]
	orr	w12, w12, w9
Lloh4:
	adrp	x9, _PHY_STAT_ANC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PHY_STAT_ANC@GOTPAGEOFF]
	ldr	w13, [x9]
	orr	w12, w12, w13
	bic	w8, w8, w12
	tbnz	w19, #2, LBB0_5
; %bb.1:
	tbnz	w19, #4, LBB0_6
LBB0_2:
	tbz	w19, #5, LBB0_4
LBB0_3:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_4:
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w11, [x11]
	orr	w8, w11, w8
	tbz	w19, #4, LBB0_2
LBB0_6:
	ldr	w10, [x10]
	orr	w8, w10, w8
	tbnz	w19, #5, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_STAT_LINK,4,2              ; @PHY_STAT_LINK
	.comm	_PHY_STAT_FAULT,4,2             ; @PHY_STAT_FAULT
	.comm	_PHY_STAT_ANC,4,2               ; @PHY_STAT_ANC
	.no_dead_strip	_mii_parse_sr
.subsections_via_symbols
