	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_nametbl_translate         ## -- Begin function tipc_nametbl_translate
	.p2align	4, 0x90
_tipc_nametbl_translate:                ## @tipc_nametbl_translate
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, %ebx
	movl	(%rdx), %edi
	movq	_tipc_own_addr@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_in_scope
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_tipc_nametbl_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	movl	%ebx, %edi
	callq	_nametbl_find_seq
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_nameseq_find_subseq
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	movl	$0, (%r12)
	xorl	%ebx, %ebx
LBB0_4:
	movq	_tipc_nametbl_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	jmp	LBB0_6
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	xorl	%edi, %edi
	cmpl	$0, (%r12)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	16(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_14
## %bb.9:
	movq	8(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_17
	jmp	LBB0_10
LBB0_12:
	movl	(%r12), %edi
	cmpl	(%r13), %edi
	jne	LBB0_15
## %bb.13:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
LBB0_14:
	addq	$16, %r15
	leaq	16(%rax), %rcx
	jmp	LBB0_18
LBB0_15:
	callq	_in_own_cluster
	testq	%rax, %rax
	je	LBB0_10
## %bb.16:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
LBB0_17:
	addq	$8, %r15
	leaq	8(%rax), %rcx
	jmp	LBB0_18
LBB0_10:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	movq	%rax, %rcx
LBB0_18:
	movq	(%rcx), %rcx
	movq	%rcx, (%r15)
	movl	24(%rax), %ecx
	movl	28(%rax), %ebx
	movl	%ecx, (%r12)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_4
LBB0_20:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_tipc_own_addr,4,2              ## @tipc_own_addr
	.comm	_tipc_nametbl_lock,4,2          ## @tipc_nametbl_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_nametbl_translate         ; -- Begin function tipc_nametbl_translate
	.p2align	2
_tipc_nametbl_translate:                ; @tipc_nametbl_translate
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x2]
Lloh0:
	adrp	x22, _tipc_own_addr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _tipc_own_addr@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_in_scope
	cbz	w0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x0, _tipc_nametbl_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF]
	bl	_read_lock_bh
	mov	x0, x20
	bl	_nametbl_find_seq
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_nameseq_find_subseq
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
LBB0_3:
	mov	w21, #0
	str	wzr, [x19]
LBB0_4:
Lloh4:
	adrp	x0, _tipc_nametbl_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _tipc_nametbl_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, 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
	ret
LBB0_7:
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_10
; %bb.8:
	mov	x10, x21
	ldr	x8, [x10, #16]!
	cbz	x8, LBB0_13
; %bb.9:
	add	x9, x8, #16
	b	LBB0_20
LBB0_10:
	ldr	w0, [x19]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.11:
	ldr	x8, [x21, #16]!
	cbz	x8, LBB0_21
; %bb.12:
	add	x9, x8, #16
	mov	x10, x21
	b	LBB0_20
LBB0_13:
	mov	x10, x21
	ldr	x8, [x10, #8]!
	cbz	x8, LBB0_18
; %bb.14:
	add	x9, x8, #8
	b	LBB0_20
LBB0_15:
	bl	_in_own_cluster
	cbz	x0, LBB0_18
; %bb.16:
	ldr	x8, [x21, #8]!
	cbz	x8, LBB0_21
; %bb.17:
	add	x9, x8, #8
	mov	x10, x21
	b	LBB0_20
LBB0_18:
	ldr	x9, [x21]
	cbz	x9, LBB0_21
; %bb.19:
	mov	x10, x21
	mov	x8, x9
LBB0_20:
	ldr	x9, [x9]
	str	x9, [x10]
	ldp	w8, w21, [x8, #24]
	str	w8, [x19]
	mov	x0, x20
	bl	_spin_unlock_bh
	b	LBB0_4
LBB0_21:
	mov	x0, x20
	bl	_spin_unlock_bh
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tipc_own_addr,4,2              ; @tipc_own_addr
	.comm	_tipc_nametbl_lock,4,2          ; @tipc_nametbl_lock
.subsections_via_symbols
