	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_named_recv                ## -- Begin function tipc_named_recv
	.p2align	4, 0x90
_tipc_named_recv:                       ## @tipc_named_recv
	.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	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_buf_msg
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_msg_data
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_msg_data_sz
	movq	_ITEM_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %r14d
	movq	_tipc_nametbl_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.1:
	addq	$16, %r15
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_warn
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$20, %r15
	testl	%r14d, %r14d
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r14d
	movq	%r13, %rdi
	callq	_msg_type
	movq	_PUBLICATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%r15), %edi
	callq	_ntohl
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%eax, %r14d
	movl	-8(%r15), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_ntohl
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dbg
	movl	-4(%r15), %edi
	callq	_ntohl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-8(%r15), %edi
	callq	_ntohl
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edi
	callq	_ntohl
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_TIPC_CLUSTER_SCOPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_msg_orignode
	movl	%eax, %r14d
	movl	-12(%r15), %edi
	callq	_ntohl
	movq	%r13, %rbx
	movl	%eax, %r13d
	movl	-16(%r15), %edi
	callq	_ntohl
	movl	%eax, (%rsp)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r13d, %r9d
	movq	%rbx, %r13
	callq	_tipc_nametbl_insert_publ
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_msg_orignode
	movq	_node_is_down@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_tipc_nodesub_subscribe
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_msg_type
	movq	_WITHDRAWAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	-4(%r15), %edi
	callq	_ntohl
	movl	%eax, %r14d
	movl	-8(%r15), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_ntohl
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dbg
	movl	-4(%r15), %edi
	callq	_ntohl
	movl	%eax, %r14d
	movl	-8(%r15), %edi
	callq	_ntohl
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_msg_orignode
	movl	%eax, %r13d
	movl	-12(%r15), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	-16(%r15), %edi
	callq	_ntohl
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_tipc_nametbl_remove_publ
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_tipc_nodesub_unsubscribe
	movq	%rbx, %rdi
	callq	_kfree
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_msg_orignode
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-4(%r15), %edi
	callq	_ntohl
	movl	%eax, %r12d
	movl	-8(%r15), %edi
	callq	_ntohl
	movl	%eax, %r14d
	movl	-12(%r15), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	-16(%r15), %edi
	callq	_ntohl
	leaq	L_.str.2(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_err
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_11:
	movq	_tipc_nametbl_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_buf_discard                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ITEM_SIZE,4,2                  ## @ITEM_SIZE
	.comm	_tipc_nametbl_lock,4,2          ## @tipc_nametbl_lock
	.comm	_PUBLICATION,8,3                ## @PUBLICATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tipc_named_recv: got publication for %u, %u, %u\n"

	.comm	_TIPC_CLUSTER_SCOPE,4,2         ## @TIPC_CLUSTER_SCOPE
	.comm	_node_is_down,8,3               ## @node_is_down
	.comm	_WITHDRAWAL,8,3                 ## @WITHDRAWAL
L_.str.1:                               ## @.str.1
	.asciz	"tipc_named_recv: got withdrawl for %u, %u, %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to remove publication by node 0x%x\n(type=%u, lower=%u, ref=%u, key=%u)\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unrecognized name table message received\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_named_recv                ; -- Begin function tipc_named_recv
	.p2align	2
_tipc_named_recv:                       ; @tipc_named_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_buf_msg
	mov	x20, x0
	bl	_msg_data
	mov	x21, x0
	mov	x0, x20
	bl	_msg_data_sz
Lloh0:
	adrp	x8, _ITEM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITEM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w22, w0, w8
Lloh3:
	adrp	x0, _tipc_nametbl_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF]
	bl	_write_lock_bh
	cbz	w22, LBB0_11
; %bb.1:
	add	x24, x21, #8
Lloh5:
	adrp	x21, _PUBLICATION@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PUBLICATION@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warn
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #20
	cbz	w22, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	mov	x0, x20
	bl	_msg_type
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, #4]
	bl	_ntohl
	mov	x25, x0
	ldr	w0, [x24]
	bl	_ntohl
	mov	x26, x0
	ldr	w0, [x24, #8]
	bl	_ntohl
	mov	x3, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	mov	x2, x26
	bl	_dbg
	ldr	w0, [x24, #4]
	bl	_ntohl
	mov	x25, x0
	ldr	w0, [x24]
	bl	_ntohl
	mov	x26, x0
	ldr	w0, [x24, #8]
	bl	_ntohl
	mov	x27, x0
Lloh11:
	adrp	x8, _TIPC_CLUSTER_SCOPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TIPC_CLUSTER_SCOPE@GOTPAGEOFF]
Lloh13:
	ldr	w28, [x8]
	mov	x0, x20
	bl	_msg_orignode
	mov	x23, x0
	ldur	w0, [x24, #-4]
	bl	_ntohl
	mov	x19, x0
	ldur	w0, [x24, #-8]
	bl	_ntohl
	mov	x6, x0
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
	mov	x3, x28
	mov	x4, x23
	mov	x5, x19
	bl	_tipc_nametbl_insert_publ
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	mov	x0, x20
	bl	_msg_orignode
	mov	x1, x0
Lloh14:
	adrp	x8, _node_is_down@GOTPAGE
Lloh15:
	ldr	x8, [x8, _node_is_down@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x2, x25
	bl	_tipc_nodesub_subscribe
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_msg_type
Lloh17:
	adrp	x8, _WITHDRAWAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WITHDRAWAL@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, #4]
	bl	_ntohl
	mov	x19, x0
	ldr	w0, [x24]
	bl	_ntohl
	mov	x23, x0
	ldr	w0, [x24, #8]
	bl	_ntohl
	mov	x3, x0
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x23
	bl	_dbg
	ldr	w0, [x24, #4]
	bl	_ntohl
	mov	x19, x0
	ldr	w0, [x24]
	bl	_ntohl
	mov	x23, x0
	mov	x0, x20
	bl	_msg_orignode
	mov	x25, x0
	ldur	w0, [x24, #-4]
	bl	_ntohl
	mov	x26, x0
	ldur	w0, [x24, #-8]
	bl	_ntohl
	mov	x4, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x25
	mov	x3, x26
	bl	_tipc_nametbl_remove_publ
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	bl	_tipc_nodesub_unsubscribe
	mov	x0, x25
	bl	_kfree
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_msg_orignode
	mov	x19, x0
	ldr	w0, [x24, #4]
	bl	_ntohl
	mov	x23, x0
	ldr	w0, [x24]
	bl	_ntohl
	mov	x25, x0
	ldur	w0, [x24, #-4]
	bl	_ntohl
	mov	x26, x0
	ldur	w0, [x24, #-8]
	bl	_ntohl
	mov	x5, x0
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x23
	mov	x3, x25
	mov	x4, x26
	bl	_err
	b	LBB0_3
LBB0_11:
Lloh24:
	adrp	x0, _tipc_nametbl_lock@GOTPAGE
Lloh25:
	ldr	x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_buf_discard
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ITEM_SIZE,4,2                  ; @ITEM_SIZE
	.comm	_tipc_nametbl_lock,4,2          ; @tipc_nametbl_lock
	.comm	_PUBLICATION,8,3                ; @PUBLICATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tipc_named_recv: got publication for %u, %u, %u\n"

	.comm	_TIPC_CLUSTER_SCOPE,4,2         ; @TIPC_CLUSTER_SCOPE
	.comm	_node_is_down,8,3               ; @node_is_down
	.comm	_WITHDRAWAL,8,3                 ; @WITHDRAWAL
l_.str.1:                               ; @.str.1
	.asciz	"tipc_named_recv: got withdrawl for %u, %u, %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to remove publication by node 0x%x\n(type=%u, lower=%u, ref=%u, key=%u)\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unrecognized name table message received\n"

.subsections_via_symbols
