	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swphy_decode_speed
_swphy_decode_speed:                    ## @swphy_decode_speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$10, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$100, %edi
	je	LBB0_6
## %bb.2:
	cmpl	$1000, %edi                     ## imm = 0x3E8
	jne	LBB0_7
## %bb.3:
	movq	_SWMII_SPEED_1000@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_SWMII_SPEED_10@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_SWMII_SPEED_100@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWMII_SPEED_1000,4,2           ## @SWMII_SPEED_1000
	.comm	_SWMII_SPEED_100,4,2            ## @SWMII_SPEED_100
	.comm	_SWMII_SPEED_10,4,2             ## @SWMII_SPEED_10
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_swphy_decode_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swphy_decode_speed
_swphy_decode_speed:                    ; @swphy_decode_speed
	.cfi_startproc
; %bb.0:
	cmp	w0, #10
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #100
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #1000
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _SWMII_SPEED_1000@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWMII_SPEED_1000@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh3:
	adrp	x8, _SWMII_SPEED_10@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWMII_SPEED_10@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh6:
	adrp	x8, _SWMII_SPEED_100@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SWMII_SPEED_100@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SWMII_SPEED_1000,4,2           ; @SWMII_SPEED_1000
	.comm	_SWMII_SPEED_100,4,2            ; @SWMII_SPEED_100
	.comm	_SWMII_SPEED_10,4,2             ; @SWMII_SPEED_10
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_swphy_decode_speed
.subsections_via_symbols
