	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_activate
_link_activate:                         ## @link_activate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, 16(%rdi)
	movl	$1, (%rdi)
	movl	12(%rdi), %edi
	movq	%rbx, %rsi
	callq	_tipc_node_link_up
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_tipc_bearer_add_dest
	movq	_tipc_cfg_link_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_link_send_event
	movl	4(%rbx), %edi
	callq	_in_own_cluster
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_tipc_disc_link_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_link_send_event                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tipc_cfg_link_event,4,2        ## @tipc_cfg_link_event
	.comm	_tipc_disc_link_event,4,2       ## @tipc_disc_link_event
	.no_dead_strip	_link_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_activate
_link_activate:                         ; @link_activate
	.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
	mov	w8, #1
	str	w8, [x0, #16]
	str	w8, [x0]
	ldr	w0, [x0, #12]
	mov	x1, x19
	bl	_tipc_node_link_up
	ldp	w1, w0, [x19, #4]
	bl	_tipc_bearer_add_dest
Lloh0:
	adrp	x8, _tipc_cfg_link_event@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tipc_cfg_link_event@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #1
	bl	_link_send_event
	ldr	w0, [x19, #4]
	bl	_in_own_cluster
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _tipc_disc_link_event@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tipc_disc_link_event@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_link_send_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tipc_cfg_link_event,4,2        ; @tipc_cfg_link_event
	.comm	_tipc_disc_link_event,4,2       ; @tipc_disc_link_event
	.no_dead_strip	_link_activate
.subsections_via_symbols
