	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_setup_phy_link_speed_generic ## -- Begin function ixgbe_setup_phy_link_speed_generic
	.p2align	4, 0x90
_ixgbe_setup_phy_link_speed_generic:    ## @ixgbe_setup_phy_link_speed_generic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rdi)
	movq	_IXGBE_LINK_SPEED_10GB_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	andl	%esi, %eax
	cmovnel	%ecx, %eax
	movl	%eax, (%rdi)
	movq	_IXGBE_LINK_SPEED_5GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_2:
	movq	_IXGBE_LINK_SPEED_2_5GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %ecx
	je	LBB0_4
## %bb.3:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_4:
	movq	_IXGBE_LINK_SPEED_1GB_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %ecx
	je	LBB0_6
## %bb.5:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_6:
	movq	_IXGBE_LINK_SPEED_100_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %ecx
	je	LBB0_8
## %bb.7:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_8:
	movq	_IXGBE_LINK_SPEED_10_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %ecx
	je	LBB0_10
## %bb.9:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_10:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	callq	*%rax
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ## @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_5GB_FULL,4,2  ## @IXGBE_LINK_SPEED_5GB_FULL
	.comm	_IXGBE_LINK_SPEED_2_5GB_FULL,4,2 ## @IXGBE_LINK_SPEED_2_5GB_FULL
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_100_FULL,4,2  ## @IXGBE_LINK_SPEED_100_FULL
	.comm	_IXGBE_LINK_SPEED_10_FULL,4,2   ## @IXGBE_LINK_SPEED_10_FULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_setup_phy_link_speed_generic ; -- Begin function ixgbe_setup_phy_link_speed_generic
	.p2align	2
_ixgbe_setup_phy_link_speed_generic:    ; @ixgbe_setup_phy_link_speed_generic
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	wzr, [x0]
Lloh0:
	adrp	x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_LINK_SPEED_10GB_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	csel	w8, wzr, w8, eq
	str	w8, [x0]
Lloh3:
	adrp	x9, _IXGBE_LINK_SPEED_5GB_FULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_5GB_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_2
; %bb.1:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_2:
Lloh6:
	adrp	x9, _IXGBE_LINK_SPEED_2_5GB_FULL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_2_5GB_FULL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_4
; %bb.3:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_4:
Lloh9:
	adrp	x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_1GB_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_6
; %bb.5:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_6:
Lloh12:
	adrp	x9, _IXGBE_LINK_SPEED_100_FULL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_100_FULL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_8
; %bb.7:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_8:
Lloh15:
	adrp	x9, _IXGBE_LINK_SPEED_10_FULL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_10_FULL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_10
; %bb.9:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_10:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_12
; %bb.11:
	blr	x8
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_FULL
	.comm	_IXGBE_LINK_SPEED_5GB_FULL,4,2  ; @IXGBE_LINK_SPEED_5GB_FULL
	.comm	_IXGBE_LINK_SPEED_2_5GB_FULL,4,2 ; @IXGBE_LINK_SPEED_2_5GB_FULL
	.comm	_IXGBE_LINK_SPEED_1GB_FULL,4,2  ; @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_100_FULL,4,2  ; @IXGBE_LINK_SPEED_100_FULL
	.comm	_IXGBE_LINK_SPEED_10_FULL,4,2   ; @IXGBE_LINK_SPEED_10_FULL
.subsections_via_symbols
