	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_read_mng_if_sel_x550em
_ixgbe_read_mng_if_sel_x550em:          ## @ixgbe_read_mng_if_sel_x550em
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_IXGBE_NW_MNG_IF_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IXGBE_READ_REG
	movl	%eax, (%rbx)
	movq	8(%rbx), %rcx
	movq	_ixgbe_mac_x550em_a@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	_IXGBE_NW_MNG_IF_SEL_MDIO_ACT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movl	%eax, 4(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_NW_MNG_IF_SEL,4,2        ## @IXGBE_NW_MNG_IF_SEL
	.comm	_ixgbe_mac_x550em_a,8,3         ## @ixgbe_mac_x550em_a
	.comm	_IXGBE_NW_MNG_IF_SEL_MDIO_ACT,4,2 ## @IXGBE_NW_MNG_IF_SEL_MDIO_ACT
	.comm	_IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD,4,2 ## @IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD
	.comm	_IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT,4,2 ## @IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT
	.no_dead_strip	_ixgbe_read_mng_if_sel_x550em
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_read_mng_if_sel_x550em
_ixgbe_read_mng_if_sel_x550em:          ; @ixgbe_read_mng_if_sel_x550em
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _IXGBE_NW_MNG_IF_SEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_NW_MNG_IF_SEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IXGBE_READ_REG
	str	w0, [x19]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _ixgbe_mac_x550em_a@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ixgbe_mac_x550em_a@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _IXGBE_NW_MNG_IF_SEL_MDIO_ACT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_NW_MNG_IF_SEL_MDIO_ACT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh12:
	adrp	x9, _IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_NW_MNG_IF_SEL,4,2        ; @IXGBE_NW_MNG_IF_SEL
	.comm	_ixgbe_mac_x550em_a,8,3         ; @ixgbe_mac_x550em_a
	.comm	_IXGBE_NW_MNG_IF_SEL_MDIO_ACT,4,2 ; @IXGBE_NW_MNG_IF_SEL_MDIO_ACT
	.comm	_IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD,4,2 ; @IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD
	.comm	_IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT,4,2 ; @IXGBE_NW_MNG_IF_SEL_MDIO_PHY_ADD_SHIFT
	.no_dead_strip	_ixgbe_read_mng_if_sel_x550em
.subsections_via_symbols
