	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsc8584_did_interrupt
_vsc8584_did_interrupt:                 ## @vsc8584_did_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_PHY_INTERRUPT_ENABLED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_MII_VSC85XX_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phy_read
	movl	%eax, %ecx
	movq	_MII_VSC85XX_INT_MASK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovnsl	%edx, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ## @PHY_INTERRUPT_ENABLED
	.comm	_MII_VSC85XX_INT_STATUS,4,2     ## @MII_VSC85XX_INT_STATUS
	.comm	_MII_VSC85XX_INT_MASK_MASK,4,2  ## @MII_VSC85XX_INT_MASK_MASK
	.no_dead_strip	_vsc8584_did_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsc8584_did_interrupt
_vsc8584_did_interrupt:                 ; @vsc8584_did_interrupt
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PHY_INTERRUPT_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_INTERRUPT_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MII_VSC85XX_INT_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MII_VSC85XX_INT_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_phy_read
Lloh6:
	adrp	x8, _MII_VSC85XX_INT_MASK_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_VSC85XX_INT_MASK_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w0, #0
	csel	w0, wzr, w8, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ; @PHY_INTERRUPT_ENABLED
	.comm	_MII_VSC85XX_INT_STATUS,4,2     ; @MII_VSC85XX_INT_STATUS
	.comm	_MII_VSC85XX_INT_MASK_MASK,4,2  ; @MII_VSC85XX_INT_MASK_MASK
	.no_dead_strip	_vsc8584_did_interrupt
.subsections_via_symbols
