	.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_1GB_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_100_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %ecx
	je	LBB0_4
## %bb.3:
	orl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_4:
	callq	*8(%rdi)
	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_1GB_FULL,4,2  ## @IXGBE_LINK_SPEED_1GB_FULL
	.comm	_IXGBE_LINK_SPEED_100_FULL,4,2  ## @IXGBE_LINK_SPEED_100_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_1GB_FULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_1GB_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_100_FULL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGBE_LINK_SPEED_100_FULL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_4
; %bb.3:
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_4:
	ldr	x8, [x0, #8]
	blr	x8
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_LINK_SPEED_10GB_FULL,4,2 ; @IXGBE_LINK_SPEED_10GB_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
.subsections_via_symbols
