	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_phy_id
_ixgbe_get_phy_id:                      ## @ixgbe_get_phy_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	movq	_MDIO_DEVID1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-24(%rbp), %rcx
	callq	*16(%rdi)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %eax
	shll	$16, %eax
	cltq
	movq	%rax, (%rbx)
	movq	_MDIO_DEVID2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movl	-20(%rbp), %ecx
	movq	_IXGBE_PHY_REVISION_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%ecx, %esi
	movslq	%esi, %rsi
	orq	%rsi, (%rbx)
	notl	%edx
	andl	%ecx, %edx
	movslq	%edx, %rcx
	movq	%rcx, 8(%rbx)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_DEVID1,4,2                ## @MDIO_DEVID1
	.comm	_MDIO_MMD_PMAPMD,4,2            ## @MDIO_MMD_PMAPMD
	.comm	_MDIO_DEVID2,4,2                ## @MDIO_DEVID2
	.comm	_IXGBE_PHY_REVISION_MASK,4,2    ## @IXGBE_PHY_REVISION_MASK
	.no_dead_strip	_ixgbe_get_phy_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_phy_id
_ixgbe_get_phy_id:                      ; @ixgbe_get_phy_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _MDIO_DEVID1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIO_DEVID1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x20, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x3, sp, #12
	blr	x8
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	lsl	w8, w8, #16
	sxtw	x8, w8
	str	x8, [x19]
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x9, _MDIO_DEVID2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MDIO_DEVID2@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ldr	w2, [x20]
	add	x3, sp, #8
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #8]
Lloh8:
	adrp	x9, _IXGBE_PHY_REVISION_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_PHY_REVISION_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w10, w9, w8
	sxtw	x10, w10
	ldr	x11, [x19]
	orr	x10, x11, x10
	bic	w8, w8, w9
	sxtw	x8, w8
	stp	x10, x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_DEVID1,4,2                ; @MDIO_DEVID1
	.comm	_MDIO_MMD_PMAPMD,4,2            ; @MDIO_MMD_PMAPMD
	.comm	_MDIO_DEVID2,4,2                ; @MDIO_DEVID2
	.comm	_IXGBE_PHY_REVISION_MASK,4,2    ; @IXGBE_PHY_REVISION_MASK
	.no_dead_strip	_ixgbe_get_phy_id
.subsections_via_symbols
