	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_sf2_switch_1_isr
_bcm_sf2_switch_1_isr:                  ## @bcm_sf2_switch_1_isr
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_bcm_sf2_to_priv
	movq	%rax, %rbx
	movq	_INTRL2_CPU_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intrl2_1_readl
	movl	4(%rbx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%esi, (%rbx)
	movq	_INTRL2_CPU_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_intrl2_1_writel
	movl	(%rbx), %r12d
	movq	_P7_IRQ_OFF@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_P_LINK_UP_IRQ
	testl	%r12d, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	$1, 28(%rax)
	movq	%r14, %rdi
	movl	$7, %esi
	movl	$1, %edx
	callq	_dsa_port_phylink_mac_change
LBB0_2:
	movl	(%rbx), %r12d
	movl	(%r15), %edi
	callq	_P_LINK_DOWN_IRQ
	testl	%r12d, %eax
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movl	$0, 28(%rax)
	movq	%r14, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	callq	_dsa_port_phylink_mac_change
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTRL2_CPU_STATUS,4,2          ## @INTRL2_CPU_STATUS
	.comm	_INTRL2_CPU_CLEAR,4,2           ## @INTRL2_CPU_CLEAR
	.comm	_P7_IRQ_OFF,4,2                 ## @P7_IRQ_OFF
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_bcm_sf2_switch_1_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_sf2_switch_1_isr
_bcm_sf2_switch_1_isr:                  ; @bcm_sf2_switch_1_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x0, x1
	bl	_bcm_sf2_to_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _INTRL2_CPU_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTRL2_CPU_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_intrl2_1_readl
	ldr	w8, [x20, #4]
	bic	w1, w0, w8
	str	w1, [x20]
Lloh3:
	adrp	x8, _INTRL2_CPU_CLEAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTRL2_CPU_CLEAR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_intrl2_1_writel
	ldr	w22, [x20]
Lloh6:
	adrp	x21, _P7_IRQ_OFF@GOTPAGE
Lloh7:
	ldr	x21, [x21, _P7_IRQ_OFF@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_P_LINK_UP_IRQ
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	mov	w9, #1
	str	w9, [x8, #28]
	mov	x0, x19
	mov	w1, #7
	mov	w2, #1
	bl	_dsa_port_phylink_mac_change
LBB0_2:
	ldr	w22, [x20]
	ldr	w0, [x21]
	bl	_P_LINK_DOWN_IRQ
	tst	w0, w22
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	str	wzr, [x8, #28]
	mov	x0, x19
	mov	w1, #7
	mov	w2, #0
	bl	_dsa_port_phylink_mac_change
LBB0_4:
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INTRL2_CPU_STATUS,4,2          ; @INTRL2_CPU_STATUS
	.comm	_INTRL2_CPU_CLEAR,4,2           ; @INTRL2_CPU_CLEAR
	.comm	_P7_IRQ_OFF,4,2                 ; @P7_IRQ_OFF
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_bcm_sf2_switch_1_isr
.subsections_via_symbols
