	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phylink_mii_read
_phylink_mii_read:                      ## @phylink_mii_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %ecx
	cmpl	$128, %ecx
	je	LBB0_5
## %bb.1:
	movl	%edx, %ebx
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmpl	$129, %ecx
	je	LBB0_6
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_9
## %bb.3:
	testl	%esi, %esi
	jne	LBB0_9
## %bb.4:
	leaq	-16(%rbp), %rsi
	callq	_phylink_get_fixed_state
	jmp	LBB0_8
LBB0_5:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_6:
	testl	%esi, %esi
	jne	LBB0_9
## %bb.7:
	leaq	-16(%rbp), %rsi
	callq	_phylink_get_mac_state
	testl	%eax, %eax
	js	LBB0_9
LBB0_8:
	leaq	-16(%rbp), %rsi
	movl	%ebx, %edi
	callq	_phylink_mii_emul_read
	movzwl	%ax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_phylink_mii_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phylink_mii_read
_phylink_mii_read:                      ; @phylink_mii_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x2
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
	cbnz	w1, LBB0_7
; %bb.4:
	add	x1, sp, #8
	bl	_phylink_get_fixed_state
	b	LBB0_9
LBB0_5:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_6:
	cbz	w1, LBB0_8
LBB0_7:
	mov	w0, #65535
	b	LBB0_10
LBB0_8:
	add	x1, sp, #8
	bl	_phylink_get_mac_state
	tbnz	w0, #31, LBB0_10
LBB0_9:
	add	x1, sp, #8
	mov	x0, x19
	bl	_phylink_mii_emul_read
	and	w0, w0, #0xffff
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_phylink_mii_read
.subsections_via_symbols
