	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6390_serdes_irq_enable_sgmii
_mv88e6390_serdes_irq_enable_sgmii:     ## @mv88e6390_serdes_irq_enable_sgmii
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MV88E6390_SGMII_INT_LINK_DOWN@GOTPCREL(%rip), %rax
	movq	_MV88E6390_SGMII_INT_LINK_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	testl	%edx, %edx
	cmovel	%edx, %r8d
	movq	_MDIO_MMD_PHYXS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MV88E6390_SGMII_INT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_mv88e6390_serdes_write         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6390_SGMII_INT_LINK_DOWN,4,2 ## @MV88E6390_SGMII_INT_LINK_DOWN
	.comm	_MV88E6390_SGMII_INT_LINK_UP,4,2 ## @MV88E6390_SGMII_INT_LINK_UP
	.comm	_MDIO_MMD_PHYXS,4,2             ## @MDIO_MMD_PHYXS
	.comm	_MV88E6390_SGMII_INT_ENABLE,4,2 ## @MV88E6390_SGMII_INT_ENABLE
	.no_dead_strip	_mv88e6390_serdes_irq_enable_sgmii
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6390_serdes_irq_enable_sgmii
_mv88e6390_serdes_irq_enable_sgmii:     ; @mv88e6390_serdes_irq_enable_sgmii
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MV88E6390_SGMII_INT_LINK_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6390_SGMII_INT_LINK_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MV88E6390_SGMII_INT_LINK_UP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MV88E6390_SGMII_INT_LINK_UP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w2, #0
	csel	w4, wzr, w8, eq
Lloh6:
	adrp	x8, _MDIO_MMD_PHYXS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_MMD_PHYXS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _MV88E6390_SGMII_INT_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MV88E6390_SGMII_INT_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	b	_mv88e6390_serdes_write
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6390_SGMII_INT_LINK_DOWN,4,2 ; @MV88E6390_SGMII_INT_LINK_DOWN
	.comm	_MV88E6390_SGMII_INT_LINK_UP,4,2 ; @MV88E6390_SGMII_INT_LINK_UP
	.comm	_MDIO_MMD_PHYXS,4,2             ; @MDIO_MMD_PHYXS
	.comm	_MV88E6390_SGMII_INT_ENABLE,4,2 ; @MV88E6390_SGMII_INT_ENABLE
	.no_dead_strip	_mv88e6390_serdes_irq_enable_sgmii
.subsections_via_symbols
