	.file	"extr_scic_sds_remote_node_table.c_scic_sds_remote_node_table_initialize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	scic_sds_remote_node_table_initialize
	.type	scic_sds_remote_node_table_initialize, @function
scic_sds_remote_node_table_initialize:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR 20[rdi]
	mov	ebx, esi
	xor	esi, esi
	call	memset@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	mov	eax, ebx
	cdq
	idiv	DWORD PTR SCIC_SDS_REMOTE_NODES_PER_DWORD[rip]
	test	edx, edx
	cdqe
	setne	dl
	movzx	edx, dl
	add	rdx, rax
	mov	QWORD PTR 8[rbp], rdx
	test	ebx, ebx
	jle	.L2
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, r12d
	mov	rdi, rbp
	add	r12d, 1
	call	scic_sds_remote_node_table_set_node_index@PLT
	cmp	ebx, r12d
	jne	.L3
.L2:
	mov	ecx, DWORD PTR SCU_STP_REMOTE_NODE_COUNT[rip]
	mov	eax, ebx
	cdq
	mov	esi, ecx
	sal	esi, 5
	idiv	esi
	test	edx, edx
	cdqe
	setne	dl
	xor	r12d, r12d
	movzx	edx, dl
	add	rdx, rax
	mov	eax, ebx
	mov	QWORD PTR 0[rbp], rdx
	cdq
	idiv	ecx
	test	eax, eax
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, r12d
	mov	esi, 2
	mov	rdi, rbp
	add	r12d, 1
	call	scic_sds_remote_node_table_set_group_index@PLT
	mov	eax, ebx
	mov	ecx, DWORD PTR SCU_STP_REMOTE_NODE_COUNT[rip]
	cdq
	idiv	ecx
	cmp	eax, r12d
	jg	.L5
.L4:
	mov	eax, ebx
	cdq
	idiv	ecx
	cmp	edx, 2
	je	.L14
	cmp	edx, 1
	je	.L15
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	scic_sds_remote_node_table_set_group_index@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	scic_sds_remote_node_table_set_group_index@PLT
	.cfi_endproc
.LFE0:
	.size	scic_sds_remote_node_table_initialize, .-scic_sds_remote_node_table_initialize
	.comm	SCU_STP_REMOTE_NODE_COUNT,4,4
	.comm	SCIC_SDS_REMOTE_NODES_PER_DWORD,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_scic_sds_remote_node_table.c_scic_sds_remote_node_table_initialize.c"
	.text
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
	.global	scic_sds_remote_node_table_initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	scic_sds_remote_node_table_initialize, %function
scic_sds_remote_node_table_initialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r1
	mov	r2, #4
	mov	r1, #0
	ldr	r0, [r0, #12]
	bl	memset
	mov	r2, #4
	mov	r1, #0
	ldr	r0, [r6, #8]
	bl	memset
	ldr	r3, .L14
	mov	r0, r5
	ldr	r1, [r3]
	bl	__aeabi_idivmod
	cmp	r1, #0
	addne	r0, r0, #1
	cmp	r5, #0
	str	r0, [r6, #4]
	ble	.L2
	mov	r4, #0
.L3:
	mov	r1, r4
	mov	r0, r6
	add	r4, r4, #1
	bl	scic_sds_remote_node_table_set_node_index
	cmp	r5, r4
	bne	.L3
.L2:
	ldr	r8, .L14+4
	mov	r0, r5
	ldr	r7, [r8]
	mov	r4, #0
	lsl	r1, r7, #5
	bl	__aeabi_idivmod
	cmp	r1, #0
	addne	r0, r0, #1
	mov	r1, r7
	str	r0, [r6]
	mov	r0, r5
	bl	__aeabi_idiv
	cmp	r0, #0
	ble	.L4
.L5:
	mov	r2, r4
	mov	r1, #2
	mov	r0, r6
	bl	scic_sds_remote_node_table_set_group_index
	ldr	r7, [r8]
	mov	r0, r5
	mov	r1, r7
	bl	__aeabi_idiv
	add	r4, r4, #1
	cmp	r0, r4
	bgt	.L5
.L4:
	mov	r1, r7
	mov	r0, r5
	bl	__aeabi_idivmod
	cmp	r1, #2
	beq	.L13
	cmp	r1, #1
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r2, r4
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	b	scic_sds_remote_node_table_set_group_index
.L13:
	mov	r2, r4
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #1
	b	scic_sds_remote_node_table_set_group_index
.L15:
	.align	2
.L14:
	.word	SCIC_SDS_REMOTE_NODES_PER_DWORD
	.word	SCU_STP_REMOTE_NODE_COUNT
	.size	scic_sds_remote_node_table_initialize, .-scic_sds_remote_node_table_initialize
	.comm	SCU_STP_REMOTE_NODE_COUNT,4,4
	.comm	SCIC_SDS_REMOTE_NODES_PER_DWORD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
