	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_publish                   ## -- Begin function tipc_publish
	.p2align	4, 0x90
_tipc_publish:                          ## @tipc_publish
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_tipc_port_lock
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	16(%rax), %rcx
	movl	(%r15), %eax
	movl	4(%r15), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%r12d, %r8d
	callq	_dbg
	cmpq	$0, 16(%rbx)
	je	LBB0_6
LBB0_2:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_3:
	movq	%rbx, %rdi
	callq	_tipc_port_unlock
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	cmpl	%edx, %esi
	jg	LBB0_2
## %bb.7:
	movq	_TIPC_ZONE_SCOPE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	ja	LBB0_2
## %bb.8:
	movq	_TIPC_NODE_SCOPE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jb	LBB0_2
## %bb.9:
	movq	(%rbx), %rax
	leaq	(%rax,%r13), %r9
	incq	%r9
	cmpq	%r13, %r9
	jne	LBB0_12
## %bb.10:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_3
LBB0_12:
	movl	8(%r15), %edi
	movl	12(%rbx), %r8d
	movl	%r12d, %ecx
	callq	_tipc_nametbl_publish
	testq	%rax, %rax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_3
## %bb.13:
	movq	%rbx, %rsi
	addq	$24, %rsi
	movq	%rax, %rdi
	callq	_list_add
	incq	(%rbx)
	movl	$1, 8(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tipc_publ %u, p_ptr = %x, conn = %x, scope = %x, lower = %u, upper = %u\n"

	.comm	_TIPC_ZONE_SCOPE,4,2            ## @TIPC_ZONE_SCOPE
	.comm	_TIPC_NODE_SCOPE,4,2            ## @TIPC_NODE_SCOPE
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_publish                   ; -- Begin function tipc_publish
	.p2align	2
_tipc_publish:                          ; @tipc_publish
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x20, _EINVAL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EINVAL@GOTPAGEOFF]
	ldr	w24, [x20]
	bl	_tipc_port_lock
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	neg	w20, w24
	ldr	x3, [x0, #16]
	ldp	w6, w5, [x22]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x19
	mov	x4, x21
	bl	_dbg
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_tipc_port_unlock
	b	LBB0_4
LBB0_3:
	ldr	w8, [x20]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	w2, w1, [x22]
	cmp	w1, w2
	b.gt	LBB0_2
; %bb.6:
Lloh4:
	adrp	x8, _TIPC_ZONE_SCOPE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TIPC_ZONE_SCOPE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _TIPC_NODE_SCOPE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TIPC_NODE_SCOPE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #0, ls
	b.lo	LBB0_2
; %bb.7:
	ldr	x8, [x19]
	add	x8, x23, x8
	add	x5, x8, #1
	cmp	x5, x23
	b.ne	LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_2
LBB0_9:
	ldr	w0, [x22, #8]
	ldr	w4, [x19, #12]
	mov	x3, x21
	bl	_tipc_nametbl_publish
	cbz	x0, LBB0_2
; %bb.10:
	add	x1, x19, #24
	bl	_list_add
	mov	w20, #0
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tipc_publ %u, p_ptr = %x, conn = %x, scope = %x, lower = %u, upper = %u\n"

	.comm	_TIPC_ZONE_SCOPE,4,2            ; @TIPC_ZONE_SCOPE
	.comm	_TIPC_NODE_SCOPE,4,2            ; @TIPC_NODE_SCOPE
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
.subsections_via_symbols
