	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_nametbl_subscribe         ## -- Begin function tipc_nametbl_subscribe
	.p2align	4, 0x90
_tipc_nametbl_subscribe:                ## @tipc_nametbl_subscribe
	.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
	movq	%rdi, %r15
	movl	8(%rdi), %r14d
	movq	_tipc_nametbl_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	movl	%r14d, %edi
	callq	_nametbl_find_seq
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r14d, %edi
	callq	_hash
	leaq	(%rbx,%rax,4), %rsi
	movl	%r14d, %edi
	callq	_tipc_nameseq_create
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	(%r15), %r8d
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_dbg
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_tipc_nameseq_subscribe
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
LBB0_4:
	movq	_tipc_nametbl_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_unlock_bh                ## TAILCALL
LBB0_3:
	movl	8(%r15), %esi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_tipc_nametbl_lock,4,2          ## @tipc_nametbl_lock
	.comm	_table,8,3                      ## @table
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tipc_nametbl_subscribe:found %p for {%u,%u,%u}\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to create subscription for {%u,%u,%u}\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_nametbl_subscribe         ; -- Begin function tipc_nametbl_subscribe
	.p2align	2
_tipc_nametbl_subscribe:                ; @tipc_nametbl_subscribe
	.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
	mov	x19, x0
	ldr	w20, [x0, #8]
Lloh0:
	adrp	x0, _tipc_nametbl_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF]
	bl	_write_lock_bh
	mov	x0, x20
	bl	_nametbl_find_seq
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _table@GOTPAGE
Lloh3:
	ldr	x8, [x8, _table@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_hash
	add	x1, x21, x0, lsl #2
	mov	x0, x20
	bl	_tipc_nameseq_create
	mov	x21, x0
	cbz	x0, LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_spin_lock_bh
	ldp	w4, w3, [x19]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_dbg
	mov	x0, x21
	mov	x1, x19
	bl	_tipc_nameseq_subscribe
	mov	x0, x21
	bl	_spin_unlock_bh
LBB0_3:
Lloh7:
	adrp	x0, _tipc_nametbl_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF]
	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	_write_unlock_bh
LBB0_4:
	ldp	w2, w1, [x19, #4]
	ldr	w3, [x19]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_tipc_nametbl_lock,4,2          ; @tipc_nametbl_lock
	.comm	_table,8,3                      ; @table
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tipc_nametbl_subscribe:found %p for {%u,%u,%u}\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to create subscription for {%u,%u,%u}\n"

.subsections_via_symbols
