	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_get_sfp_mode
_xgbe_phy_get_sfp_mode:                 ## @xgbe_phy_get_sfp_mode
	.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 $esi killed $esi def $rsi
	leal	-128(%rsi), %eax
	cmpl	$2, %eax
	jb	LBB0_7
## %bb.1:
	cmpl	$131, %esi
	je	LBB0_2
## %bb.3:
	cmpl	$130, %esi
	jne	LBB0_8
## %bb.4:
	movl	(%rdi), %eax
	movq	_XGBE_SFP_BASE_1000_T@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_XGBE_MODE_SGMII_1000@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_XGBE_MODE_SFI@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_XGBE_MODE_SGMII_100@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_XGBE_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_XGBE_MODE_X@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_MODE_SGMII_100,4,2        ## @XGBE_MODE_SGMII_100
	.comm	_XGBE_SFP_BASE_1000_T,4,2       ## @XGBE_SFP_BASE_1000_T
	.comm	_XGBE_MODE_SGMII_1000,4,2       ## @XGBE_MODE_SGMII_1000
	.comm	_XGBE_MODE_X,4,2                ## @XGBE_MODE_X
	.comm	_XGBE_MODE_SFI,4,2              ## @XGBE_MODE_SFI
	.comm	_XGBE_MODE_UNKNOWN,4,2          ## @XGBE_MODE_UNKNOWN
	.no_dead_strip	_xgbe_phy_get_sfp_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_phy_get_sfp_mode
_xgbe_phy_get_sfp_mode:                 ; @xgbe_phy_get_sfp_mode
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w1, #131
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _XGBE_SFP_BASE_1000_T@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XGBE_SFP_BASE_1000_T@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _XGBE_MODE_X@GOTPAGE
Lloh4:
	ldr	x10, [x10, _XGBE_MODE_X@GOTPAGEOFF]
Lloh5:
	adrp	x11, _XGBE_MODE_SGMII_1000@GOTPAGE
Lloh6:
	ldr	x11, [x11, _XGBE_MODE_SGMII_1000@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x11, x10, eq
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh7:
	adrp	x8, _XGBE_MODE_SFI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XGBE_MODE_SFI@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh10:
	adrp	x8, _XGBE_MODE_SGMII_100@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XGBE_MODE_SGMII_100@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh13:
	adrp	x8, _XGBE_MODE_UNKNOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XGBE_MODE_UNKNOWN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_MODE_SGMII_100,4,2        ; @XGBE_MODE_SGMII_100
	.comm	_XGBE_SFP_BASE_1000_T,4,2       ; @XGBE_SFP_BASE_1000_T
	.comm	_XGBE_MODE_SGMII_1000,4,2       ; @XGBE_MODE_SGMII_1000
	.comm	_XGBE_MODE_X,4,2                ; @XGBE_MODE_X
	.comm	_XGBE_MODE_SFI,4,2              ; @XGBE_MODE_SFI
	.comm	_XGBE_MODE_UNKNOWN,4,2          ; @XGBE_MODE_UNKNOWN
	.no_dead_strip	_xgbe_phy_get_sfp_mode
.subsections_via_symbols
