	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz9477_get_xmii
_ksz9477_get_xmii:                      ## @ksz9477_get_xmii
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NEW_XMII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PORT_MII_SEL_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	addl	$-129, %esi
	jmp	LBB0_2
LBB0_5:
	addl	$-128, %esi
LBB0_2:
	movl	$3, %eax
	cmpl	$5, %esi
	jae	LBB0_4
## %bb.3:
	movslq	%esi, %rax
	leaq	l_switch.table.ksz9477_get_xmii.1(%rip), %rcx
	leaq	(%rcx,%rax,4), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NEW_XMII,4,2                   ## @NEW_XMII
	.comm	_PORT_MII_SEL_M,4,2             ## @PORT_MII_SEL_M
	.no_dead_strip	_ksz9477_get_xmii
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.ksz9477_get_xmii.1
l_switch.table.ksz9477_get_xmii.1:
	.long	1                               ## 0x1
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz9477_get_xmii
_ksz9477_get_xmii:                      ; @ksz9477_get_xmii
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _NEW_XMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEW_XMII@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _PORT_MII_SEL_M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PORT_MII_SEL_M@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w1
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	sub	w8, w8, #129
	cmp	w8, #5
	b.hs	LBB0_4
LBB0_2:
Lloh6:
	adrp	x9, l_switch.table.ksz9477_get_xmii.1@PAGE
Lloh7:
	add	x9, x9, l_switch.table.ksz9477_get_xmii.1@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ret
LBB0_3:
	sub	w8, w8, #128
	cmp	w8, #4
	b.ls	LBB0_2
LBB0_4:
	mov	w0, #3
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NEW_XMII,4,2                   ; @NEW_XMII
	.comm	_PORT_MII_SEL_M,4,2             ; @PORT_MII_SEL_M
	.no_dead_strip	_ksz9477_get_xmii
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.ksz9477_get_xmii.1
l_switch.table.ksz9477_get_xmii.1:
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.long	2                               ; 0x2

.subsections_via_symbols
