	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_net_route_msg             ## -- Begin function tipc_net_route_msg
	.p2align	4, 0x90
_tipc_net_route_msg:                    ## @tipc_net_route_msg
	.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
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.1:
	movq	%rdi, %r14
	callq	_buf_msg
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_msg_incr_reroute_cnt
	movq	%rbx, %rdi
	callq	_msg_reroute_cnt
	cmpl	$7, %eax
	jl	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_msg_errcode
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	callq	_msg_dbg
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_buf_discard                    ## TAILCALL
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msg_dbg
	movq	%rbx, %rdi
	callq	_msg_short
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_tipc_own_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %r15d
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msg_dbg
	movq	%rbx, %rdi
	callq	_msg_destport
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movq	_TIPC_ERR_NO_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	%rbx, %rdi
	callq	_msg_destnode
	movl	%eax, %r15d
	movq	_tipc_own_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_12:
	movl	%r15d, %edi
	callq	_in_scope
	testq	%rax, %rax
	je	LBB0_24
## %bb.13:
	movq	%rbx, %rdi
	callq	_msg_isdata
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	callq	_msg_mcast
	testq	%rax, %rax
	je	LBB0_15
## %bb.26:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_port_recv_mcast           ## TAILCALL
LBB0_24:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msg_dbg
	movq	%rbx, %rdi
	callq	_msg_link_selector
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_link_send                 ## TAILCALL
LBB0_17:
	callq	_msg_user
	cmpl	$130, %eax
	je	LBB0_22
## %bb.18:
	cmpl	$129, %eax
	je	LBB0_21
## %bb.19:
	cmpl	$128, %eax
	jne	LBB0_23
## %bb.20:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_cltr_recv_routing_table   ## TAILCALL
LBB0_6:
	movq	_TIPC_ERR_NO_PORT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_reject_msg                ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	callq	_msg_destport
	movq	%r14, %rdi
	addq	$8, %rsp
	testq	%rax, %rax
	je	LBB0_16
## %bb.27:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_port_recv_msg             ## TAILCALL
LBB0_22:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_port_recv_proto_msg       ## TAILCALL
LBB0_21:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_named_recv                ## TAILCALL
LBB0_23:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_net_route_named_msg            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NET>DISC>:"

L_.str.1:                               ## @.str.1
	.asciz	"NET>REJ>:"

	.comm	_TIPC_ERR_NO_PORT,4,2           ## @TIPC_ERR_NO_PORT
	.comm	_TIPC_ERR_NO_NAME,4,2           ## @TIPC_ERR_NO_NAME
L_.str.2:                               ## @.str.2
	.asciz	"tipc_net->rout: "

	.comm	_tipc_own_addr,4,2              ## @tipc_own_addr
L_.str.3:                               ## @.str.3
	.asciz	"DROP/NET/<REC<"

L_.str.4:                               ## @.str.4
	.asciz	"NET>SEND>: "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_net_route_msg             ; -- Begin function tipc_net_route_msg
	.p2align	2
_tipc_net_route_msg:                    ; @tipc_net_route_msg
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_buf_msg
	mov	x20, x0
	bl	_msg_incr_reroute_cnt
	mov	x0, x20
	bl	_msg_reroute_cnt
	cmp	w0, #7
	b.lt	LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_msg_errcode
	cbz	x0, LBB0_8
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x20
	bl	_msg_dbg
	mov	x0, x19
	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	_buf_discard
LBB0_5:
	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_6:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_msg_dbg
	mov	x0, x20
	bl	_msg_short
	cbz	x0, LBB0_9
; %bb.7:
Lloh4:
	adrp	x8, _tipc_own_addr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tipc_own_addr@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x21, x1
	b	LBB0_10
LBB0_8:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_msg_dbg
	mov	x0, x20
	bl	_msg_destport
Lloh9:
	adrp	x8, _TIPC_ERR_NO_PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TIPC_ERR_NO_PORT@GOTPAGEOFF]
Lloh11:
	adrp	x9, _TIPC_ERR_NO_NAME@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TIPC_ERR_NO_NAME@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	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_reject_msg
LBB0_9:
	mov	x0, x20
	bl	_msg_destnode
	mov	x21, x0
Lloh13:
	adrp	x8, _tipc_own_addr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tipc_own_addr@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
LBB0_10:
	mov	x0, x21
	bl	_in_scope
	cbz	x0, LBB0_14
; %bb.11:
	mov	x0, x20
	bl	_msg_isdata
	cbz	x0, LBB0_15
; %bb.12:
	mov	x0, x20
	bl	_msg_mcast
	cbz	x0, LBB0_19
; %bb.13:
	mov	x0, x19
	mov	x1, #0
	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_port_recv_mcast
LBB0_14:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_msg_dbg
	mov	x0, x20
	bl	_msg_link_selector
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	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_link_send
LBB0_15:
	mov	x0, x20
	bl	_msg_user
	cmp	w0, #130
	b.eq	LBB0_21
; %bb.16:
	cmp	w0, #129
	b.eq	LBB0_22
; %bb.17:
	cmp	w0, #128
	b.ne	LBB0_23
; %bb.18:
	mov	x0, x19
	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_recv_routing_table
LBB0_19:
	mov	x0, x20
	bl	_msg_destport
	cbz	x0, LBB0_24
; %bb.20:
	mov	x0, x19
	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_port_recv_msg
LBB0_21:
	mov	x0, x19
	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_port_recv_proto_msg
LBB0_22:
	mov	x0, x19
	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_named_recv
LBB0_23:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_24:
	mov	x0, x19
	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	_net_route_named_msg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NET>DISC>:"

l_.str.1:                               ; @.str.1
	.asciz	"NET>REJ>:"

	.comm	_TIPC_ERR_NO_PORT,4,2           ; @TIPC_ERR_NO_PORT
	.comm	_TIPC_ERR_NO_NAME,4,2           ; @TIPC_ERR_NO_NAME
l_.str.2:                               ; @.str.2
	.asciz	"tipc_net->rout: "

	.comm	_tipc_own_addr,4,2              ; @tipc_own_addr
l_.str.3:                               ; @.str.3
	.asciz	"DROP/NET/<REC<"

l_.str.4:                               ; @.str.4
	.asciz	"NET>SEND>: "

.subsections_via_symbols
