	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_reject_msg                ## -- Begin function tipc_reject_msg
	.p2align	4, 0x90
_tipc_reject_msg:                       ## @tipc_reject_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	%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	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_buf_msg
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_msg_importance
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_msg_data_sz
	movq	_MAX_REJECT_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	cmpq	%r12, %rax
	cmovlq	%rax, %r12
	movq	%rbx, %rdi
	callq	_msg_connected
	testq	%rax, %rax
	setne	%r15b
	movq	_TIPC_CRITICAL_IMPORTANCE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	setl	-48(%rbp)                       ## 1-byte Folded Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msg_dbg
	movq	%rbx, %rdi
	callq	_msg_errcode
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_msg_dest_droppable
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movq	%r14, %rdi
LBB0_3:
	callq	_buf_discard
LBB0_4:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_msg_mcast
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_LONG_H_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_MCAST_H_SIZE@GOTPCREL(%rip), %rax
LBB0_8:
	movslq	(%rax), %r14
	leaq	(%r12,%r14), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_buf_acquire
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	andb	-48(%rbp), %r15b                ## 1-byte Folded Reload
	movzbl	%r15b, %ecx
	addq	%rcx, %r13
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_buf_msg
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_msg_type
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_msg_orignode
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_msg_init
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_msg_set_errcode
	movq	%rbx, %rdi
	callq	_msg_origport
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_msg_set_destport
	movq	%rbx, %rdi
	callq	_msg_destport
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_msg_set_origport
	movq	%rbx, %rdi
	callq	_msg_short
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_tipc_own_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_msg_set_orignode
	jmp	LBB0_13
LBB0_11:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_12:
	movq	%rbx, %rdi
	callq	_msg_destnode
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_msg_set_orignode
	movq	%rbx, %rdi
	callq	_msg_nametype
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_msg_set_nametype
	movq	%rbx, %rdi
	callq	_msg_nameinst
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_msg_set_nameinst
LBB0_13:
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_msg_set_size
	movq	%rbx, %rdi
	callq	_msg_data
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r13
	movl	%r14d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_skb_copy_to_linear_data_offset
	movq	%rbx, %rdi
	callq	_msg_connected
	testq	%rax, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_21
## %bb.14:
	movq	%rbx, %rdi
	callq	_msg_destport
	movl	%eax, %edi
	callq	_tipc_port_lock
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.16:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_port_build_self_abort_msg
	movq	%rax, %r15
	jmp	LBB0_19
LBB0_17:
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_18:
	xorl	%r15d, %r15d
LBB0_19:
	movq	%rbx, %rdi
	callq	_tipc_port_unlock
LBB0_20:
	movq	%r15, %rdi
	callq	_tipc_net_route_msg
LBB0_21:
	movq	%r14, %rdi
	callq	_buf_discard
	movq	%r13, %rdi
	callq	_tipc_net_route_msg
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_REJECT_SIZE,8,3            ## @MAX_REJECT_SIZE
	.comm	_TIPC_CRITICAL_IMPORTANCE,8,3   ## @TIPC_CRITICAL_IMPORTANCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"port->rej: "

	.comm	_MCAST_H_SIZE,4,2               ## @MCAST_H_SIZE
	.comm	_LONG_H_SIZE,4,2                ## @LONG_H_SIZE
	.comm	_tipc_own_addr,4,2              ## @tipc_own_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_reject_msg                ; -- Begin function tipc_reject_msg
	.p2align	2
_tipc_reject_msg:                       ; @tipc_reject_msg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	bl	_buf_msg
	mov	x22, x0
	bl	_msg_importance
	mov	x23, x0
	mov	x0, x22
	bl	_msg_data_sz
Lloh0:
	adrp	x8, _MAX_REJECT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_REJECT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x20, x0, x8, lt
	mov	x0, x22
	bl	_msg_connected
	cmp	x0, #0
Lloh3:
	adrp	x8, _TIPC_CRITICAL_IMPORTANCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIPC_CRITICAL_IMPORTANCE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x23, x8, #0, ne
	cinc	x27, x23, lt
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_msg_dbg
	mov	x0, x22
	bl	_msg_errcode
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_msg_dest_droppable
	cbz	x0, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_buf_discard
LBB0_3:
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x22
	bl	_msg_mcast
Lloh8:
	adrp	x8, _LONG_H_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LONG_H_SIZE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _MCAST_H_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MCAST_H_SIZE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldrsw	x24, [x8]
	add	x25, x20, x24
	mov	x0, x25
	bl	_buf_acquire
	cbz	x0, LBB0_2
; %bb.5:
	mov	x23, x0
	bl	_buf_msg
	mov	x26, x0
	mov	x0, x22
	bl	_msg_type
	mov	x28, x0
	mov	x0, x22
	bl	_msg_orignode
	mov	x4, x0
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	mov	x3, x24
	bl	_msg_init
	mov	x0, x26
	mov	x1, x21
	bl	_msg_set_errcode
	mov	x0, x22
	bl	_msg_origport
	mov	x1, x0
	mov	x0, x26
	bl	_msg_set_destport
	mov	x0, x22
	bl	_msg_destport
	mov	x1, x0
	mov	x0, x26
	bl	_msg_set_origport
	mov	x0, x22
	bl	_msg_short
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _tipc_own_addr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tipc_own_addr@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_msg_set_orignode
	b	LBB0_8
LBB0_7:
	mov	x0, x22
	bl	_msg_destnode
	mov	x1, x0
	mov	x0, x26
	bl	_msg_set_orignode
	mov	x0, x22
	bl	_msg_nametype
	mov	x1, x0
	mov	x0, x26
	bl	_msg_set_nametype
	mov	x0, x22
	bl	_msg_nameinst
	mov	x1, x0
	mov	x0, x26
	bl	_msg_set_nameinst
LBB0_8:
	mov	x0, x26
	mov	x1, x25
	bl	_msg_set_size
	mov	x0, x22
	bl	_msg_data
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	mov	x3, x20
	bl	_skb_copy_to_linear_data_offset
	mov	x0, x22
	bl	_msg_connected
	cbz	x0, LBB0_16
; %bb.9:
	mov	x0, x22
	bl	_msg_destport
	bl	_tipc_port_lock
	cbz	x0, LBB0_12
; %bb.10:
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.11:
	mov	x0, x22
	mov	x1, x21
	bl	_port_build_self_abort_msg
	mov	x21, x0
	b	LBB0_14
LBB0_12:
	mov	x21, #0
	b	LBB0_15
LBB0_13:
	mov	x21, #0
LBB0_14:
	mov	x0, x22
	bl	_tipc_port_unlock
LBB0_15:
	mov	x0, x21
	bl	_tipc_net_route_msg
LBB0_16:
	mov	x0, x19
	bl	_buf_discard
	mov	x0, x23
	bl	_tipc_net_route_msg
	b	LBB0_3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_REJECT_SIZE,8,3            ; @MAX_REJECT_SIZE
	.comm	_TIPC_CRITICAL_IMPORTANCE,8,3   ; @TIPC_CRITICAL_IMPORTANCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"port->rej: "

	.comm	_MCAST_H_SIZE,4,2               ; @MCAST_H_SIZE
	.comm	_LONG_H_SIZE,4,2                ; @LONG_H_SIZE
	.comm	_tipc_own_addr,4,2              ; @tipc_own_addr
.subsections_via_symbols
