	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_topology_change_detection   ## -- Begin function br_topology_change_detection
	.p2align	4, 0x90
_br_topology_change_detection:          ## @br_topology_change_detection
	.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
	callq	_br_is_root_bridge
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	_BR_KERNEL_STP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	56(%rbx), %rax
	movl	(%rax), %esi
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movl	$1, 8(%rbx)
	leaq	48(%rbx), %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	40(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	32(%rbx), %rax
LBB0_5:
	addq	(%rax), %rsi
	callq	_mod_timer
	jmp	LBB0_6
LBB0_3:
	cmpl	$0, 12(%rbx)
	je	LBB0_4
LBB0_6:
	movl	$1, 12(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_br_transmit_tcn
	leaq	24(%rbx), %rdi
	movq	16(%rbx), %rsi
	movq	_jiffies@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_KERNEL_STP,8,3              ## @BR_KERNEL_STP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: topology change detected, %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"propagating"

L_.str.2:                               ## @.str.2
	.asciz	"sending tcn bpdu"

	.comm	_jiffies,8,3                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_topology_change_detection   ; -- Begin function br_topology_change_detection
	.p2align	2
_br_topology_change_detection:          ; @br_topology_change_detection
	.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
	bl	_br_is_root_bridge
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _BR_KERNEL_STP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BR_KERNEL_STP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19, #56]
	ldr	w1, [x8]
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x2, x9, x8, eq
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	cbz	w20, LBB0_4
; %bb.2:
	mov	w8, #1
	str	w8, [x19, #8]
	add	x0, x19, #48
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x19, #40]
	add	x8, x9, x8
	add	x9, x19, #32
LBB0_3:
	ldr	x9, [x9]
	add	x1, x8, x9
	bl	_mod_timer
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_7
LBB0_5:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_br_transmit_tcn
	add	x0, x19, #24
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _jiffies@GOTPAGE
Lloh13:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_KERNEL_STP,8,3              ; @BR_KERNEL_STP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: topology change detected, %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"propagating"

l_.str.2:                               ; @.str.2
	.asciz	"sending tcn bpdu"

	.comm	_jiffies,8,3                    ; @jiffies
.subsections_via_symbols
