	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function node_established_contact
_node_established_contact:              ## @node_established_contact
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_dbg
	movq	%rbx, %rdi
	callq	_tipc_node_has_active_routes
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_in_own_cluster
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_tipc_named_node_up@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_tipc_k_signal
LBB0_3:
	xorl	%eax, %eax
	callq	_tipc_bclink_get_last_sent
	movl	%eax, 16(%rbx)
	movq	_tipc_own_addr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_is_slave
	testq	%rax, %rax
	je	LBB0_4
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %edi
	callq	_in_own_cluster
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	24(%rbx), %r14
	movl	(%rbx), %edi
	callq	_is_slave
	testq	%rax, %rax
	je	LBB0_10
## %bb.15:
	movl	(%rbx), %esi
	movq	_tipc_max_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_tipc_cltr_bcast_new_route
	movl	(%rbx), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_cltr_send_local_routes    ## TAILCALL
LBB0_5:
	movl	(%r15), %edi
	callq	_tipc_cltr_find
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	callq	_tipc_cltr_create
	testq	%rax, %rax
	je	LBB0_14
LBB0_7:
	movl	(%rbx), %esi
	movq	_tipc_max_nodes@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	movl	$1, %edx
	jmp	LBB0_8
LBB0_10:
	cmpq	$0, 8(%rbx)
	je	LBB0_13
## %bb.11:
	movl	(%rbx), %esi
	movq	_tipc_cltr_bcast_nodes@GOTPCREL(%rip), %rdi
	callq	_tipc_nmap_add
	movl	(%rbx), %eax
	cmpl	(%r15), %eax
	jge	LBB0_13
## %bb.12:
	movq	_tipc_own_tag@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_13:
	movl	(%rbx), %edi
	callq	_tipc_net_send_external_routes
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_tipc_cltr_send_slave_routes
	movl	(%rbx), %esi
	movq	_LOWEST_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tipc_highest_allowed_slave@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_cltr_bcast_new_route      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"node_established_contact:-> %x\n"

	.comm	_tipc_named_node_up,8,3         ## @tipc_named_node_up
	.comm	_tipc_own_addr,4,2              ## @tipc_own_addr
	.comm	_tipc_max_nodes,4,2             ## @tipc_max_nodes
	.comm	_tipc_cltr_bcast_nodes,4,2      ## @tipc_cltr_bcast_nodes
	.comm	_tipc_own_tag,4,2               ## @tipc_own_tag
	.comm	_LOWEST_SLAVE,4,2               ## @LOWEST_SLAVE
	.comm	_tipc_highest_allowed_slave,4,2 ## @tipc_highest_allowed_slave
	.no_dead_strip	_node_established_contact
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function node_established_contact
_node_established_contact:              ; @node_established_contact
	.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, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	mov	x0, x19
	bl	_tipc_node_has_active_routes
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19]
	bl	_in_own_cluster
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _tipc_named_node_up@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tipc_named_node_up@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_tipc_k_signal
LBB0_3:
	bl	_tipc_bclink_get_last_sent
	str	w0, [x19, #16]
Lloh5:
	adrp	x21, _tipc_own_addr@GOTPAGE
Lloh6:
	ldr	x21, [x21, _tipc_own_addr@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_is_slave
	cbz	x0, LBB0_5
LBB0_4:
	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_5:
	ldr	w0, [x19]
	bl	_in_own_cluster
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x20, [x19, #24]
	ldr	w0, [x19]
	bl	_is_slave
	cbz	x0, LBB0_11
; %bb.7:
	ldr	w1, [x19]
Lloh7:
	adrp	x8, _tipc_max_nodes@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tipc_max_nodes@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_tipc_cltr_bcast_new_route
	ldr	w1, [x19]
	mov	x0, x20
	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
	b	_tipc_cltr_send_local_routes
LBB0_8:
	ldr	w0, [x21]
	bl	_tipc_cltr_find
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x21]
	bl	_tipc_cltr_create
	cbz	x0, LBB0_4
LBB0_10:
Lloh10:
	adrp	x8, _tipc_max_nodes@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tipc_max_nodes@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh12:
	ldr	w3, [x8]
	mov	w2, #1
	b	LBB0_15
LBB0_11:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	w1, [x19]
Lloh13:
	adrp	x0, _tipc_cltr_bcast_nodes@GOTPAGE
Lloh14:
	ldr	x0, [x0, _tipc_cltr_bcast_nodes@GOTPAGEOFF]
	bl	_tipc_nmap_add
	ldr	w8, [x19]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _tipc_own_tag@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tipc_own_tag@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_14:
	ldr	w0, [x19]
	bl	_tipc_net_send_external_routes
	ldr	w1, [x19]
	mov	x0, x20
	bl	_tipc_cltr_send_slave_routes
	ldr	w1, [x19]
Lloh17:
	adrp	x8, _LOWEST_SLAVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LOWEST_SLAVE@GOTPAGEOFF]
Lloh19:
	adrp	x9, _tipc_highest_allowed_slave@GOTPAGE
Lloh20:
	ldr	x9, [x9, _tipc_highest_allowed_slave@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	ldr	w3, [x9]
	mov	x0, x20
LBB0_15:
	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
	b	_tipc_cltr_bcast_new_route
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"node_established_contact:-> %x\n"

	.comm	_tipc_named_node_up,8,3         ; @tipc_named_node_up
	.comm	_tipc_own_addr,4,2              ; @tipc_own_addr
	.comm	_tipc_max_nodes,4,2             ; @tipc_max_nodes
	.comm	_tipc_cltr_bcast_nodes,4,2      ; @tipc_cltr_bcast_nodes
	.comm	_tipc_own_tag,4,2               ; @tipc_own_tag
	.comm	_LOWEST_SLAVE,4,2               ; @LOWEST_SLAVE
	.comm	_tipc_highest_allowed_slave,4,2 ; @tipc_highest_allowed_slave
	.no_dead_strip	_node_established_contact
.subsections_via_symbols
