	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_valid_speed_sfp_mode
_xgbe_phy_valid_speed_sfp_mode:         ## @xgbe_phy_valid_speed_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
	cmpl	$128, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_3
## %bb.4:
	movl	(%rdi), %eax
	movq	_XGBE_SFP_SPEED_100_1000@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movl	(%rdi), %eax
	movq	_XGBE_SFP_SPEED_10000@GOTPCREL(%rip), %rcx
LBB0_7:
	cmpl	(%rcx), %eax
	sete	%al
	jmp	LBB0_8
LBB0_5:
	movl	(%rdi), %eax
	movq	_XGBE_SFP_SPEED_100_1000@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%cl
	movq	_XGBE_SFP_SPEED_1000@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%al
	orb	%cl, %al
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
LBB0_8:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_SFP_SPEED_100_1000,4,2    ## @XGBE_SFP_SPEED_100_1000
	.comm	_XGBE_SFP_SPEED_1000,4,2        ## @XGBE_SFP_SPEED_1000
	.comm	_XGBE_SFP_SPEED_10000,4,2       ## @XGBE_SFP_SPEED_10000
	.no_dead_strip	_xgbe_phy_valid_speed_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_valid_speed_sfp_mode
_xgbe_phy_valid_speed_sfp_mode:         ; @xgbe_phy_valid_speed_sfp_mode
	.cfi_startproc
; %bb.0:
	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, [x0]
Lloh0:
	adrp	x9, _XGBE_SFP_SPEED_100_1000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XGBE_SFP_SPEED_100_1000@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _XGBE_SFP_SPEED_10000@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XGBE_SFP_SPEED_10000@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	ret
LBB0_6:
	ldr	w8, [x0]
Lloh4:
	adrp	x9, _XGBE_SFP_SPEED_100_1000@GOTPAGE
Lloh5:
	ldr	x9, [x9, _XGBE_SFP_SPEED_100_1000@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
Lloh7:
	adrp	x9, _XGBE_SFP_SPEED_1000@GOTPAGE
Lloh8:
	ldr	x9, [x9, _XGBE_SFP_SPEED_1000@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	ccmp	w8, w9, #4, ne
	cset	w0, eq
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_SFP_SPEED_100_1000,4,2    ; @XGBE_SFP_SPEED_100_1000
	.comm	_XGBE_SFP_SPEED_1000,4,2        ; @XGBE_SFP_SPEED_1000
	.comm	_XGBE_SFP_SPEED_10000,4,2       ; @XGBE_SFP_SPEED_10000
	.no_dead_strip	_xgbe_phy_valid_speed_sfp_mode
.subsections_via_symbols
