	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91ether_phy_interrupt
_at91ether_phy_interrupt:               ## @at91ether_phy_interrupt
	.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	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_enable_mdi
	movq	(%rbx), %rax
	movq	_MII_DM9161_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_MII_DM9161A_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.4:
	movq	_MII_LXT971A_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	movq	_MII_ISINTS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_read_phy
	testb	$4, -20(%rbp)
	jne	LBB0_15
	jmp	LBB0_16
LBB0_2:
	movl	8(%rbx), %edi
	movq	_MII_DSINTR_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_MII_BCM5221_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movl	8(%rbx), %edi
	movq	_MII_BCMINTR_REG@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_read_phy
	testb	$1, -20(%rbp)
	je	LBB0_16
LBB0_15:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_update_linkspeed
LBB0_16:
	xorl	%eax, %eax
	callq	_disable_mdi
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_MII_KS8721_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movl	8(%rbx), %edi
	movq	_MII_TPISTATUS@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	movq	_MII_T78Q21x3_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movl	8(%rbx), %edi
	movq	_MII_T78Q21INT_REG@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_read_phy
	testb	$5, -20(%rbp)
	jne	LBB0_15
	jmp	LBB0_16
LBB0_13:
	movq	_MII_DP83848_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movl	8(%rbx), %edi
	movq	_MII_DPPHYSTS_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_read_phy
	testb	$-128, -20(%rbp)
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_DM9161_ID,8,3              ## @MII_DM9161_ID
	.comm	_MII_DM9161A_ID,8,3             ## @MII_DM9161A_ID
	.comm	_MII_DSINTR_REG,4,2             ## @MII_DSINTR_REG
	.comm	_MII_LXT971A_ID,8,3             ## @MII_LXT971A_ID
	.comm	_MII_ISINTS_REG,4,2             ## @MII_ISINTS_REG
	.comm	_MII_BCM5221_ID,8,3             ## @MII_BCM5221_ID
	.comm	_MII_BCMINTR_REG,4,2            ## @MII_BCMINTR_REG
	.comm	_MII_KS8721_ID,8,3              ## @MII_KS8721_ID
	.comm	_MII_TPISTATUS,4,2              ## @MII_TPISTATUS
	.comm	_MII_T78Q21x3_ID,8,3            ## @MII_T78Q21x3_ID
	.comm	_MII_T78Q21INT_REG,4,2          ## @MII_T78Q21INT_REG
	.comm	_MII_DP83848_ID,8,3             ## @MII_DP83848_ID
	.comm	_MII_DPPHYSTS_REG,4,2           ## @MII_DPPHYSTS_REG
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_at91ether_phy_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91ether_phy_interrupt
_at91ether_phy_interrupt:               ; @at91ether_phy_interrupt
	.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, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_enable_mdi
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _MII_DM9161_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MII_DM9161_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MII_DM9161A_ID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MII_DM9161A_ID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
Lloh6:
	adrp	x8, _MII_DSINTR_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_DSINTR_REG@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh8:
	adrp	x9, _MII_LXT971A_ID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MII_LXT971A_ID@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x20, #8]
Lloh11:
	adrp	x8, _MII_ISINTS_REG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MII_ISINTS_REG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_read_phy
	ldrb	w8, [sp, #12]
	tbnz	w8, #2, LBB0_7
	b	LBB0_8
LBB0_4:
Lloh14:
	adrp	x9, _MII_BCM5221_ID@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MII_BCM5221_ID@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.5:
	ldr	w0, [x20, #8]
Lloh17:
	adrp	x8, _MII_BCMINTR_REG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MII_BCMINTR_REG@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_read_phy
	ldrb	w8, [sp, #12]
	tbz	w8, #0, LBB0_8
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	bl	_update_linkspeed
LBB0_8:
	bl	_disable_mdi
Lloh19:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
Lloh22:
	adrp	x9, _MII_KS8721_ID@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MII_KS8721_ID@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	ldr	w0, [x20, #8]
Lloh25:
	adrp	x8, _MII_TPISTATUS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MII_TPISTATUS@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh27:
	adrp	x9, _MII_T78Q21x3_ID@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MII_T78Q21x3_ID@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
	ldr	w0, [x20, #8]
Lloh30:
	adrp	x8, _MII_T78Q21INT_REG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MII_T78Q21INT_REG@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_read_phy
	ldrb	w8, [sp, #12]
	mov	w9, #5
	tst	w8, w9
	b.ne	LBB0_7
	b	LBB0_8
LBB0_14:
Lloh32:
	adrp	x9, _MII_DP83848_ID@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MII_DP83848_ID@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.15:
	ldr	w0, [x20, #8]
Lloh35:
	adrp	x8, _MII_DPPHYSTS_REG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MII_DPPHYSTS_REG@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_read_phy
	ldrb	w8, [sp, #12]
	tbnz	w8, #7, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_DM9161_ID,8,3              ; @MII_DM9161_ID
	.comm	_MII_DM9161A_ID,8,3             ; @MII_DM9161A_ID
	.comm	_MII_DSINTR_REG,4,2             ; @MII_DSINTR_REG
	.comm	_MII_LXT971A_ID,8,3             ; @MII_LXT971A_ID
	.comm	_MII_ISINTS_REG,4,2             ; @MII_ISINTS_REG
	.comm	_MII_BCM5221_ID,8,3             ; @MII_BCM5221_ID
	.comm	_MII_BCMINTR_REG,4,2            ; @MII_BCMINTR_REG
	.comm	_MII_KS8721_ID,8,3              ; @MII_KS8721_ID
	.comm	_MII_TPISTATUS,4,2              ; @MII_TPISTATUS
	.comm	_MII_T78Q21x3_ID,8,3            ; @MII_T78Q21x3_ID
	.comm	_MII_T78Q21INT_REG,4,2          ; @MII_T78Q21INT_REG
	.comm	_MII_DP83848_ID,8,3             ; @MII_DP83848_ID
	.comm	_MII_DPPHYSTS_REG,4,2           ; @MII_DPPHYSTS_REG
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_at91ether_phy_interrupt
.subsections_via_symbols
