	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_forward2name              ## -- Begin function tipc_forward2name
	.p2align	4, 0x90
_tipc_forward2name:                     ## @tipc_forward2name
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdx, -48(%rbp)
	callq	_tipc_port_deref
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, 16(%rax)
	je	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %ebx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	addq	$8, %r12
	movq	_TIPC_NAMED_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_msg_set_type
	movl	4(%r15), %esi
	movq	%r12, %rdi
	callq	_msg_set_orignode
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_msg_set_origport
	movq	_LONG_H_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_msg_set_hdr_sz
	movl	4(%r13), %esi
	movq	%r12, %rdi
	callq	_msg_set_nametype
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_msg_set_nameinst
	movq	%r14, %rdi
	callq	_addr_scope
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_msg_set_lookup_scope
	movq	_TIPC_CRITICAL_IMPORTANCE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jb	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_msg_set_importance
LBB0_5:
	movl	(%r13), %esi
	movl	4(%r13), %edi
	leaq	-48(%rbp), %rdx
	callq	_tipc_nametbl_translate
	movq	%rax, %rbx
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_msg_set_destnode
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_msg_set_destport
	xorl	%edi, %edi
	orq	-48(%rbp), %rbx
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	incl	(%r13)
	movq	-48(%rbp), %rax
	movq	_tipc_own_addr@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_tipc_port_recv_sections
	jmp	LBB0_13
LBB0_12:
	movq	_TIPC_ERR_NO_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_tipc_port_reject_sections
LBB0_13:
	movl	%eax, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_tipc_link_send_sections_fast
	movl	%eax, %ebx
	movq	_ELINKCONG@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	addl	(%r14), %eax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:
	movq	%r13, %rdi
	callq	_port_unreliable
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_msg_calc_data_size
	jmp	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%r14), %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TIPC_NAMED_MSG,4,2             ## @TIPC_NAMED_MSG
	.comm	_LONG_H_SIZE,4,2                ## @LONG_H_SIZE
	.comm	_TIPC_CRITICAL_IMPORTANCE,4,2   ## @TIPC_CRITICAL_IMPORTANCE
	.comm	_tipc_own_addr,8,3              ## @tipc_own_addr
	.comm	_ELINKCONG,4,2                  ## @ELINKCONG
	.comm	_TIPC_ERR_NO_NAME,4,2           ## @TIPC_ERR_NO_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_forward2name              ; -- Begin function tipc_forward2name
	.p2align	2
_tipc_forward2name:                     ; @tipc_forward2name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x6
	mov	x26, x5
	mov	x20, x4
	mov	x19, x3
	mov	x25, x2
	mov	x23, x1
	str	x2, [sp, #8]
	bl	_tipc_port_deref
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_3:
	add	x22, x21, #8
Lloh3:
	adrp	x8, _TIPC_NAMED_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIPC_NAMED_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_msg_set_type
	ldr	w1, [x26, #4]
	mov	x0, x22
	bl	_msg_set_orignode
	ldr	w1, [x26]
	mov	x0, x22
	bl	_msg_set_origport
Lloh6:
	adrp	x8, _LONG_H_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LONG_H_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_msg_set_hdr_sz
	ldr	w1, [x23, #4]
	mov	x0, x22
	bl	_msg_set_nametype
	ldr	w1, [x23]
	mov	x0, x22
	bl	_msg_set_nameinst
	mov	x0, x25
	bl	_addr_scope
	mov	x1, x0
	mov	x0, x22
	bl	_msg_set_lookup_scope
Lloh9:
	adrp	x8, _TIPC_CRITICAL_IMPORTANCE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TIPC_CRITICAL_IMPORTANCE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w24
	b.lo	LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x24
	bl	_msg_set_importance
LBB0_5:
	ldp	w1, w0, [x23]
	add	x2, sp, #8
	bl	_tipc_nametbl_translate
	mov	x23, x0
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_msg_set_destnode
	mov	x0, x22
	mov	x1, x23
	bl	_msg_set_destport
	ldr	x8, [sp, #8]
	orr	x8, x23, x8
	cmp	x8, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	x8, [sp, #8]
Lloh12:
	adrp	x9, _tipc_own_addr@GOTPAGE
Lloh13:
	ldr	x9, [x9, _tipc_own_addr@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_11
; %bb.7:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_tipc_port_recv_sections
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _TIPC_ERR_NO_NAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TIPC_ERR_NO_NAME@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_tipc_port_reject_sections
LBB0_9:
	mov	x22, x0
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	ldr	x3, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_tipc_link_send_sections_fast
	mov	x22, x0
Lloh18:
	adrp	x23, _ELINKCONG@GOTPAGE
Lloh19:
	ldr	x23, [x23, _ELINKCONG@GOTPAGEOFF]
	ldr	w8, [x23]
	cmn	w0, w8
	cset	w0, ne
	bl	_likely
	cbnz	x0, LBB0_10
; %bb.12:
	mov	x0, x21
	bl	_port_unreliable
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	bl	_msg_calc_data_size
	b	LBB0_9
LBB0_14:
	ldr	w8, [x23]
	neg	w22, w8
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TIPC_NAMED_MSG,4,2             ; @TIPC_NAMED_MSG
	.comm	_LONG_H_SIZE,4,2                ; @LONG_H_SIZE
	.comm	_TIPC_CRITICAL_IMPORTANCE,4,2   ; @TIPC_CRITICAL_IMPORTANCE
	.comm	_tipc_own_addr,8,3              ; @tipc_own_addr
	.comm	_ELINKCONG,4,2                  ; @ELINKCONG
	.comm	_TIPC_ERR_NO_NAME,4,2           ; @TIPC_ERR_NO_NAME
.subsections_via_symbols
