	.file	"extr_DHT.c_randfriends_nodes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	randfriends_nodes
	.type	randfriends_nodes, @function
randfriends_nodes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdx, rdx
	jne	.L14
.L2:
	xor	r12d, r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	xor	eax, eax
	mov	r15, rdi
	mov	rbp, rsi
	mov	rbx, rdx
	call	rand@PLT
	mov	ecx, DWORD PTR DHT_FAKE_FRIEND_NUMBER[rip]
	mov	r13d, eax
	test	ecx, ecx
	je	.L2
	xor	r14d, r14d
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	ecx, DWORD PTR DHT_FAKE_FRIEND_NUMBER[rip]
	add	r14d, 1
	cmp	ecx, r14d
	jbe	.L1
.L4:
	lea	eax, 0[r13+r14]
	xor	edx, edx
	mov	r9, rbx
	mov	esi, DWORD PTR MAX_FRIEND_CLIENTS[rip]
	div	ecx
	mov	rax, QWORD PTR [r15]
	sub	r9, r12
	lea	r8, 0[rbp+r12*4]
	mov	rcx, r9
	mov	edi, DWORD PTR [rax+rdx*4]
	mov	rdx, r8
	call	list_nodes@PLT
	add	r12, rax
	cmp	rbx, r12
	jg	.L15
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	randfriends_nodes, .-randfriends_nodes
	.comm	MAX_FRIEND_CLIENTS,4,4
	.comm	DHT_FAKE_FRIEND_NUMBER,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_DHT.c_randfriends_nodes.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	randfriends_nodes
	.syntax unified
	.arm
	.fpu softvfp
	.type	randfriends_nodes, %function
randfriends_nodes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r2, #0
	bne	.L15
.L2:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r8, r1
	mov	r7, r0
	bl	rand
	ldr	r10, .L17
	mov	r9, r0
	ldr	r1, [r10]
	cmp	r1, #0
	beq	.L2
	mov	r5, #0
	ldr	fp, .L17+4
	mov	r4, r5
	b	.L4
.L16:
	ldr	r1, [r10]
	cmp	r1, r5
	bls	.L1
.L4:
	add	r0, r9, r5
	bl	__aeabi_uidivmod
	mov	r0, r1
	ldr	r2, [r7]
	sub	r3, r6, r4
	ldr	r0, [r2, r0, lsl #2]
	ldr	r1, [fp]
	add	r2, r8, r4, lsl #2
	bl	list_nodes
	add	r4, r4, r0
	cmp	r6, r4
	add	r5, r5, #1
	bgt	.L16
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	DHT_FAKE_FRIEND_NUMBER
	.word	MAX_FRIEND_CLIENTS
	.size	randfriends_nodes, .-randfriends_nodes
	.comm	MAX_FRIEND_CLIENTS,4,4
	.comm	DHT_FAKE_FRIEND_NUMBER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
