	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6390_serdes_irq_status    ## -- Begin function mv88e6390_serdes_irq_status
	.p2align	4, 0x90
_mv88e6390_serdes_irq_status:           ## @mv88e6390_serdes_irq_status
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_IRQ_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_4
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leaq	-36(%rbp), %rdx
	movl	%r14d, %esi
	callq	_mv88e6390_serdes_irq_status_sgmii
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_MV88E6390_SGMII_INT_LINK_DOWN@GOTPCREL(%rip), %rax
	movq	_MV88E6390_SGMII_INT_LINK_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, -36(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_mv88e6390_serdes_irq_link_sgmii
LBB0_4:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MV88E6390_SGMII_INT_LINK_DOWN,4,2 ## @MV88E6390_SGMII_INT_LINK_DOWN
	.comm	_MV88E6390_SGMII_INT_LINK_UP,4,2 ## @MV88E6390_SGMII_INT_LINK_UP
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6390_serdes_irq_status    ; -- Begin function mv88e6390_serdes_irq_status
	.p2align	2
_mv88e6390_serdes_irq_status:           ; @mv88e6390_serdes_irq_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldr	w8, [x8, w1, sxtw #2]
Lloh0:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x9]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x2, sp, #12
	mov	x1, x20
	bl	_mv88e6390_serdes_irq_status_sgmii
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _MV88E6390_SGMII_INT_LINK_DOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MV88E6390_SGMII_INT_LINK_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _MV88E6390_SGMII_INT_LINK_UP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MV88E6390_SGMII_INT_LINK_UP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_mv88e6390_serdes_irq_link_sgmii
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MV88E6390_SGMII_INT_LINK_DOWN,4,2 ; @MV88E6390_SGMII_INT_LINK_DOWN
	.comm	_MV88E6390_SGMII_INT_LINK_UP,4,2 ; @MV88E6390_SGMII_INT_LINK_UP
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
