	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e1xxx_interrupt_handler
_mv88e1xxx_interrupt_handler:           ## @mv88e1xxx_interrupt_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MV88E1XXX_INTERRUPT_STATUS_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_simple_mdio_read
	movq	_INTR_ENABLE_MASK@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %eax
	andl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_MV88E1XXX_INTR_LINK_CHNG@GOTPCREL(%rip), %r13
	movq	_PHY_LINK_UP@GOTPCREL(%rip), %r12
	movq	_PHY_AUTONEG_RDY@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	%ecx, %ebx
	movq	_MV88E1XXX_INTERRUPT_STATUS_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	-44(%rbp), %rdx
	callq	_simple_mdio_read
	movl	-44(%rbp), %eax
	movq	_INTR_ENABLE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	je	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, (%r13)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MV88E1XXX_SPECIFIC_STATUS_REGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	-48(%rbp), %rdx
	callq	_simple_mdio_read
	movl	(%r13), %ecx
	movl	(%r12), %eax
	testl	%ecx, -48(%rbp)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	%eax, (%r14)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	movq	_PHY_AUTONEG_EN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r14)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_cphy_cause_link_change@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_MV88E1XXX_INTR_AUTONEG_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %eax
	orl	(%r15), %eax
	movl	%eax, (%r14)
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %eax
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %edx
	orl	(%r12), %edx
	notl	%eax
	xorl	%ecx, %ecx
	testl	%eax, %edx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_cphy_cause_link_change@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_14
LBB0_1:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E1XXX_INTERRUPT_STATUS_REGISTER,4,2 ## @MV88E1XXX_INTERRUPT_STATUS_REGISTER
	.comm	_INTR_ENABLE_MASK,4,2           ## @INTR_ENABLE_MASK
	.comm	_MV88E1XXX_INTR_LINK_CHNG,4,2   ## @MV88E1XXX_INTR_LINK_CHNG
	.comm	_MV88E1XXX_SPECIFIC_STATUS_REGISTER,4,2 ## @MV88E1XXX_SPECIFIC_STATUS_REGISTER
	.comm	_PHY_LINK_UP,4,2                ## @PHY_LINK_UP
	.comm	_PHY_AUTONEG_EN,4,2             ## @PHY_AUTONEG_EN
	.comm	_PHY_AUTONEG_RDY,4,2            ## @PHY_AUTONEG_RDY
	.comm	_cphy_cause_link_change,4,2     ## @cphy_cause_link_change
	.comm	_MV88E1XXX_INTR_AUTONEG_DONE,4,2 ## @MV88E1XXX_INTR_AUTONEG_DONE
	.no_dead_strip	_mv88e1xxx_interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e1xxx_interrupt_handler
_mv88e1xxx_interrupt_handler:           ; @mv88e1xxx_interrupt_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x21, _MV88E1XXX_INTERRUPT_STATUS_REGISTER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MV88E1XXX_INTERRUPT_STATUS_REGISTER@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_simple_mdio_read
Lloh2:
	adrp	x22, _INTR_ENABLE_MASK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _INTR_ENABLE_MASK@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [sp, #8]
	ands	w8, w9, w8
	str	w8, [sp, #8]
	mov	w20, #0
	b.eq	LBB0_12
; %bb.1:
Lloh4:
	adrp	x23, _MV88E1XXX_INTR_LINK_CHNG@GOTPAGE
Lloh5:
	ldr	x23, [x23, _MV88E1XXX_INTR_LINK_CHNG@GOTPAGEOFF]
Lloh6:
	adrp	x24, _MV88E1XXX_INTR_AUTONEG_DONE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MV88E1XXX_INTR_AUTONEG_DONE@GOTPAGEOFF]
Lloh8:
	adrp	x25, _PHY_LINK_UP@GOTPAGE
Lloh9:
	ldr	x25, [x25, _PHY_LINK_UP@GOTPAGEOFF]
Lloh10:
	adrp	x26, _PHY_AUTONEG_RDY@GOTPAGE
Lloh11:
	ldr	x26, [x26, _PHY_AUTONEG_RDY@GOTPAGEOFF]
Lloh12:
	adrp	x27, _cphy_cause_link_change@GOTPAGE
Lloh13:
	ldr	x27, [x27, _cphy_cause_link_change@GOTPAGEOFF]
Lloh14:
	adrp	x28, _MV88E1XXX_SPECIFIC_STATUS_REGISTER@GOTPAGE
Lloh15:
	ldr	x28, [x28, _MV88E1XXX_SPECIFIC_STATUS_REGISTER@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w10, w9
	ldr	w10, [x27]
	bics	wzr, w9, w8
	csel	w8, w10, wzr, eq
	orr	w20, w8, w20
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x19
	bl	_simple_mdio_read
	ldr	w8, [x22]
	ldr	w9, [sp, #8]
	ands	w8, w9, w8
	str	w8, [sp, #8]
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x28]
	add	x2, sp, #12
	mov	x0, x19
	bl	_simple_mdio_read
	ldr	w9, [sp, #12]
	ldr	w10, [x23]
	ldr	w8, [x25]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh16:
	adrp	x9, _PHY_AUTONEG_EN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PHY_AUTONEG_EN@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x26]
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	orr	w20, w8, w20
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	b	LBB0_3
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E1XXX_INTERRUPT_STATUS_REGISTER,4,2 ; @MV88E1XXX_INTERRUPT_STATUS_REGISTER
	.comm	_INTR_ENABLE_MASK,4,2           ; @INTR_ENABLE_MASK
	.comm	_MV88E1XXX_INTR_LINK_CHNG,4,2   ; @MV88E1XXX_INTR_LINK_CHNG
	.comm	_MV88E1XXX_SPECIFIC_STATUS_REGISTER,4,2 ; @MV88E1XXX_SPECIFIC_STATUS_REGISTER
	.comm	_PHY_LINK_UP,4,2                ; @PHY_LINK_UP
	.comm	_PHY_AUTONEG_EN,4,2             ; @PHY_AUTONEG_EN
	.comm	_PHY_AUTONEG_RDY,4,2            ; @PHY_AUTONEG_RDY
	.comm	_cphy_cause_link_change,4,2     ; @cphy_cause_link_change
	.comm	_MV88E1XXX_INTR_AUTONEG_DONE,4,2 ; @MV88E1XXX_INTR_AUTONEG_DONE
	.no_dead_strip	_mv88e1xxx_interrupt_handler
.subsections_via_symbols
