	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_send                 ## -- Begin function tipc_link_send
	.p2align	4, 0x90
_tipc_link_send:                        ## @tipc_link_send
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_ELINKCONG@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_tipc_node_select
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_tipc_node_lock
	movq	(%r13), %rax
	andl	$1, %ebx
	movq	(%rax,%rbx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dbg
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tipc_link_send_buf
	movl	%eax, %r15d
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	movq	%r14, %rdi
	callq	_buf_msg
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_msg_dbg
	movq	%r14, %rdi
	callq	_buf_discard
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	movq	%r14, %rdi
	callq	_buf_msg
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_msg_dbg
	movq	%r14, %rdi
	callq	_buf_discard
LBB0_4:
	movq	%r13, %rdi
	callq	_tipc_node_unlock
LBB0_6:
	movq	_tipc_net_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELINKCONG,4,2                  ## @ELINKCONG
	.comm	_tipc_net_lock,4,2              ## @tipc_net_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tipc_link_send: found link %x for dest %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Attempt to send msg to unreachable node:\n"

L_.str.2:                               ## @.str.2
	.asciz	">>>"

L_.str.3:                               ## @.str.3
	.asciz	"Attempt to send msg to unknown node:\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_send                 ; -- Begin function tipc_link_send
	.p2align	2
_tipc_link_send:                        ; @tipc_link_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ELINKCONG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELINKCONG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
Lloh3:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_lock_bh
	mov	x0, x22
	mov	x1, x23
	bl	_tipc_node_select
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	bl	_tipc_node_lock
	ldr	x8, [x21]
	and	w9, w23, #0x1
	ldr	x23, [x8, w9, uxtw #3]
	cbz	x23, LBB0_4
; %bb.2:
	stp	x23, x22, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	mov	x0, x23
	mov	x1, x20
	bl	_tipc_link_send_buf
	mov	x19, x0
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dbg
	mov	x0, x20
	bl	_buf_msg
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msg_dbg
	mov	x0, x20
	bl	_buf_discard
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg
	mov	x0, x20
	bl	_buf_msg
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msg_dbg
	mov	x0, x20
	bl	_buf_discard
LBB0_5:
	mov	x0, x21
	bl	_tipc_node_unlock
LBB0_6:
Lloh15:
	adrp	x0, _tipc_net_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _tipc_net_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ELINKCONG,4,2                  ; @ELINKCONG
	.comm	_tipc_net_lock,4,2              ; @tipc_net_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tipc_link_send: found link %x for dest %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Attempt to send msg to unreachable node:\n"

l_.str.2:                               ; @.str.2
	.asciz	">>>"

l_.str.3:                               ; @.str.3
	.asciz	"Attempt to send msg to unknown node:\n"

.subsections_via_symbols
