	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_get_mode
_xgbe_phy_get_mode:                     ## @xgbe_phy_get_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_7
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_8
## %bb.3:
	movl	(%rax), %eax
	movq	_XGBE_SPEEDSET_1000_10000@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.4:
	movq	_XGBE_MODE_KX_1000@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movl	(%rax), %eax
	movq	_XGBE_SPEEDSET_2500_10000@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	movq	_XGBE_MODE_KX_2500@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_XGBE_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_XGBE_MODE_KR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_SPEEDSET_1000_10000,4,2   ## @XGBE_SPEEDSET_1000_10000
	.comm	_XGBE_MODE_KX_1000,4,2          ## @XGBE_MODE_KX_1000
	.comm	_XGBE_MODE_UNKNOWN,4,2          ## @XGBE_MODE_UNKNOWN
	.comm	_XGBE_SPEEDSET_2500_10000,4,2   ## @XGBE_SPEEDSET_2500_10000
	.comm	_XGBE_MODE_KX_2500,4,2          ## @XGBE_MODE_KX_2500
	.comm	_XGBE_MODE_KR,4,2               ## @XGBE_MODE_KR
	.no_dead_strip	_xgbe_phy_get_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_mode
_xgbe_phy_get_mode:                     ; @xgbe_phy_get_mode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _XGBE_SPEEDSET_1000_10000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XGBE_SPEEDSET_1000_10000@GOTPAGEOFF]
Lloh2:
	adrp	x10, _XGBE_MODE_KX_1000@GOTPAGE
Lloh3:
	ldr	x10, [x10, _XGBE_MODE_KX_1000@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _XGBE_SPEEDSET_2500_10000@GOTPAGE
Lloh5:
	ldr	x9, [x9, _XGBE_SPEEDSET_2500_10000@GOTPAGEOFF]
Lloh6:
	adrp	x10, _XGBE_MODE_KX_2500@GOTPAGE
Lloh7:
	ldr	x10, [x10, _XGBE_MODE_KX_2500@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
Lloh8:
	adrp	x11, _XGBE_MODE_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x11, [x11, _XGBE_MODE_UNKNOWN@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh10:
	adrp	x8, _XGBE_MODE_KR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XGBE_MODE_KR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh13:
	adrp	x8, _XGBE_MODE_UNKNOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XGBE_MODE_UNKNOWN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_SPEEDSET_1000_10000,4,2   ; @XGBE_SPEEDSET_1000_10000
	.comm	_XGBE_MODE_KX_1000,4,2          ; @XGBE_MODE_KX_1000
	.comm	_XGBE_MODE_UNKNOWN,4,2          ; @XGBE_MODE_UNKNOWN
	.comm	_XGBE_SPEEDSET_2500_10000,4,2   ; @XGBE_SPEEDSET_2500_10000
	.comm	_XGBE_MODE_KX_2500,4,2          ; @XGBE_MODE_KX_2500
	.comm	_XGBE_MODE_KR,4,2               ; @XGBE_MODE_KR
	.no_dead_strip	_xgbe_phy_get_mode
.subsections_via_symbols
