	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1105_phy_mode_mismatch
_sja1105_phy_mode_mismatch:             ## @sja1105_phy_mode_mismatch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rdi), %rax
	movq	_BLK_IDX_XMII_PARAMS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %eax
	leal	-129(%rdx), %ecx
	cmpl	$4, %ecx
	jae	LBB0_1
## %bb.5:
	movq	_XMII_MODE_RGMII@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	cmpl	$128, %edx
	je	LBB0_4
## %bb.2:
	movb	$1, %cl
	cmpl	$133, %edx
	jne	LBB0_7
## %bb.3:
	movq	_XMII_MODE_MII@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_XMII_MODE_RMII@GOTPCREL(%rip), %rcx
LBB0_6:
	cmpl	(%rcx), %eax
	setne	%cl
LBB0_7:
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_IDX_XMII_PARAMS,8,3        ## @BLK_IDX_XMII_PARAMS
	.comm	_XMII_MODE_MII,4,2              ## @XMII_MODE_MII
	.comm	_XMII_MODE_RMII,4,2             ## @XMII_MODE_RMII
	.comm	_XMII_MODE_RGMII,4,2            ## @XMII_MODE_RGMII
	.no_dead_strip	_sja1105_phy_mode_mismatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1105_phy_mode_mismatch
_sja1105_phy_mode_mismatch:             ; @sja1105_phy_mode_mismatch
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BLK_IDX_XMII_PARAMS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BLK_IDX_XMII_PARAMS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	sub	w9, w2, #129
	cmp	w9, #4
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _XMII_MODE_RGMII@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XMII_MODE_RGMII@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	cmp	w2, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w2, #133
	b.ne	LBB0_7
; %bb.4:
Lloh5:
	adrp	x9, _XMII_MODE_MII@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XMII_MODE_MII@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x9, _XMII_MODE_RMII@GOTPAGE
Lloh8:
	ldr	x9, [x9, _XMII_MODE_RMII@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	ret
LBB0_7:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_IDX_XMII_PARAMS,8,3        ; @BLK_IDX_XMII_PARAMS
	.comm	_XMII_MODE_MII,4,2              ; @XMII_MODE_MII
	.comm	_XMII_MODE_RMII,4,2             ; @XMII_MODE_RMII
	.comm	_XMII_MODE_RGMII,4,2            ; @XMII_MODE_RGMII
	.no_dead_strip	_sja1105_phy_mode_mismatch
.subsections_via_symbols
