	.file	"extr_ocs_fabric.c_ocs_start_ns_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocs_start_ns_node, @function
ocs_start_ns_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR FC_ADDR_NAMESERVER[rip]
	mov	r12, rdi
	call	ocs_node_find@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L9
.L2:
	mov	rax, QWORD PTR [rdi]
	mov	esi, DWORD PTR __ocs_ns_init[rip]
	mov	eax, DWORD PTR [rax]
	and	eax, DWORD PTR OCS_NODEDB_PAUSE_NAMESERVER[rip]
	mov	r12d, eax
	jne	.L10
	xor	edx, edx
	call	ocs_node_transition@PLT
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	call	ocs_node_pause@PLT
	xor	r12d, r12d
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR FALSE[rip]
	mov	esi, DWORD PTR FC_ADDR_NAMESERVER[rip]
	mov	rdi, r12
	mov	ecx, edx
	call	ocs_node_alloc@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L2
	or	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ocs_start_ns_node, .-ocs_start_ns_node
	.comm	__ocs_ns_init,4,4
	.comm	OCS_NODEDB_PAUSE_NAMESERVER,4,4
	.comm	FC_ADDR_NAMESERVER,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ocs_fabric.c_ocs_start_ns_node.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_start_ns_node, %function
ocs_start_ns_node:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L10
	mov	r4, r0
	ldr	r1, [r5]
	bl	ocs_node_find
	cmp	r0, #0
	beq	.L8
.L2:
	ldr	r2, [r0]
	ldr	r3, .L10+4
	ldr	r4, [r2]
	ldr	r2, [r3]
	ldr	r3, .L10+8
	ands	r4, r4, r2
	ldr	r1, [r3]
	bne	.L9
	mov	r2, r4
	bl	ocs_node_transition
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	mov	r4, #0
	bl	ocs_node_pause
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L10+12
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r1, [r5]
	mov	r2, r3
	bl	ocs_node_alloc
	cmp	r0, #0
	bne	.L2
	mvn	r4, #0
	b	.L1
.L11:
	.align	2
.L10:
	.word	FC_ADDR_NAMESERVER
	.word	OCS_NODEDB_PAUSE_NAMESERVER
	.word	__ocs_ns_init
	.word	FALSE
	.size	ocs_start_ns_node, .-ocs_start_ns_node
	.comm	__ocs_ns_init,4,4
	.comm	OCS_NODEDB_PAUSE_NAMESERVER,4,4
	.comm	FC_ADDR_NAMESERVER,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
