	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_nic_handle_phy_intr
_netxen_nic_handle_phy_intr:            ## @netxen_nic_handle_phy_intr
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	8(%rdi), %edi
	callq	_NX_IS_REVISION_P3
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CRB_XG_STATE_P3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NXRD32
	movl	4(%rbx), %edi
	movl	%eax, %esi
	callq	_XG_LINK_STATE_P3
	movq	_XG_LINK_UP_P3@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_CRB_XG_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_NXRD32
	shll	$3, %r14d
	movl	%r14d, %ecx
	sarl	%cl, %eax
	movzbl	%al, %eax
	movq	_XG_LINK_UP@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	sete	%sil
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netxen_advert_link_change      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CRB_XG_STATE_P3,4,2            ## @CRB_XG_STATE_P3
	.comm	_XG_LINK_UP_P3,4,2              ## @XG_LINK_UP_P3
	.comm	_CRB_XG_STATE,4,2               ## @CRB_XG_STATE
	.comm	_XG_LINK_UP,4,2                 ## @XG_LINK_UP
	.no_dead_strip	_netxen_nic_handle_phy_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_nic_handle_phy_intr
_netxen_nic_handle_phy_intr:            ; @netxen_nic_handle_phy_intr
	.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
	ldr	w20, [x0]
	ldr	w0, [x0, #8]
	bl	_NX_IS_REVISION_P3
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CRB_XG_STATE_P3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRB_XG_STATE_P3@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	mov	x1, x0
	ldr	w0, [x19, #4]
	bl	_XG_LINK_STATE_P3
Lloh3:
	adrp	x8, _XG_LINK_UP_P3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XG_LINK_UP_P3@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _CRB_XG_STATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRB_XG_STATE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	lsl	w8, w20, #3
	asr	w8, w0, w8
	and	w0, w8, #0xff
Lloh8:
	adrp	x8, _XG_LINK_UP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XG_LINK_UP@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w1, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netxen_advert_link_change
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CRB_XG_STATE_P3,4,2            ; @CRB_XG_STATE_P3
	.comm	_XG_LINK_UP_P3,4,2              ; @XG_LINK_UP_P3
	.comm	_CRB_XG_STATE,4,2               ; @CRB_XG_STATE
	.comm	_XG_LINK_UP,4,2                 ; @XG_LINK_UP
	.no_dead_strip	_netxen_nic_handle_phy_intr
.subsections_via_symbols
