	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv3310_has_pma_ngbaset_quirk
_mv3310_has_pma_ngbaset_quirk:          ## @mv3310_has_pma_ngbaset_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MDIO_DEVS_PMAPMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	_MDIO_MMD_PMAPMD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_MV_PHY_ALASKA_NBT_QUIRK_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rax,%rcx,4), %edx
	movq	_MV_PHY_ALASKA_NBT_QUIRK_REV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %edx
	sete	%al
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_DEVS_PMAPMD,4,2           ## @MDIO_DEVS_PMAPMD
	.comm	_MDIO_MMD_PMAPMD,8,3            ## @MDIO_MMD_PMAPMD
	.comm	_MV_PHY_ALASKA_NBT_QUIRK_MASK,4,2 ## @MV_PHY_ALASKA_NBT_QUIRK_MASK
	.comm	_MV_PHY_ALASKA_NBT_QUIRK_REV,4,2 ## @MV_PHY_ALASKA_NBT_QUIRK_REV
	.no_dead_strip	_mv3310_has_pma_ngbaset_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv3310_has_pma_ngbaset_quirk
_mv3310_has_pma_ngbaset_quirk:          ; @mv3310_has_pma_ngbaset_quirk
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MDIO_DEVS_PMAPMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIO_DEVS_PMAPMD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _MDIO_MMD_PMAPMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDIO_MMD_PMAPMD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh6:
	adrp	x9, _MV_PHY_ALASKA_NBT_QUIRK_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MV_PHY_ALASKA_NBT_QUIRK_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _MV_PHY_ALASKA_NBT_QUIRK_REV@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MV_PHY_ALASKA_NBT_QUIRK_REV@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_DEVS_PMAPMD,4,2           ; @MDIO_DEVS_PMAPMD
	.comm	_MDIO_MMD_PMAPMD,8,3            ; @MDIO_MMD_PMAPMD
	.comm	_MV_PHY_ALASKA_NBT_QUIRK_MASK,4,2 ; @MV_PHY_ALASKA_NBT_QUIRK_MASK
	.comm	_MV_PHY_ALASKA_NBT_QUIRK_REV,4,2 ; @MV_PHY_ALASKA_NBT_QUIRK_REV
	.no_dead_strip	_mv3310_has_pma_ngbaset_quirk
.subsections_via_symbols
