	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_cltr_remove_as_router     ## -- Begin function tipc_cltr_remove_as_router
	.p2align	4, 0x90
_tipc_cltr_remove_as_router:            ## @tipc_cltr_remove_as_router
	.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	%rdi, %r15
	movq	%rsi, %rdi
	callq	_is_slave
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	24(%r15), %edi
	callq	_in_own_cluster
	xorl	%ecx, %ecx
	movl	$1, %ebx
	testq	%rax, %rax
	sete	%al
	je	LBB0_3
## %bb.2:
	movq	_LOWEST_SLAVE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
LBB0_3:
	movb	%al, %cl
	movq	(%r15,%rcx,8), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %rbx
	ja	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rsi
	callq	_tipc_node_remove_router
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_LOWEST_SLAVE,8,3               ## @LOWEST_SLAVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_cltr_remove_as_router     ; -- Begin function tipc_cltr_remove_as_router
	.p2align	2
_tipc_cltr_remove_as_router:            ; @tipc_cltr_remove_as_router
	.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	x20, x0
	mov	x0, x1
	bl	_is_slave
	cbz	x0, LBB0_2
LBB0_1:
	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
LBB0_2:
	ldr	w0, [x20, #24]
	bl	_in_own_cluster
	cmp	x0, #0
Lloh0:
	adrp	x8, _LOWEST_SLAVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOWEST_SLAVE@GOTPAGEOFF]
	cset	w9, eq
Lloh2:
	ldr	x8, [x8]
	csinc	x21, x8, xzr, ne
	ldr	x22, [x20, w9, uxtw #3]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x22
	b.hi	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x21, lsl #3]
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_tipc_node_remove_router
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOWEST_SLAVE,8,3               ; @LOWEST_SLAVE
.subsections_via_symbols
