	.file	"extr_nfs_clport.c_nfscl_fillclid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nfscl_fillclid
	.type	nfscl_fillclid, @function
nfscl_fillclid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	DWORD PTR 12[rsp], edi
	cmp	ecx, 3
	ja	.L15
.L2:
	mov	rdi, r13
	call	strlen@PLT
	mov	r12d, eax
	test	eax, eax
	jle	.L3
	cmp	ebx, eax
	jge	.L16
.L3:
	test	ebx, ebx
	jle	.L1
	lea	eax, -1[rbx]
	lea	rbx, 8[rbp+rax*8]
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	add	rbp, 8
	call	arc4random@PLT
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	mov	QWORD PTR -8[rbp], rax
	cmp	rbx, rbp
	jne	.L5
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rsi, rbp
	mov	edx, eax
	mov	rdi, r13
	sub	ebx, r12d
	call	NFSBCOPY@PLT
	movsx	rax, r12d
	lea	rbp, 0[rbp+rax*8]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rsi, rbp
	lea	rdi, 12[rsp]
	mov	edx, 4
	sub	ebx, 4
	call	NFSBCOPY@PLT
	add	rbp, 32
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nfscl_fillclid, .-nfscl_fillclid
	.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_nfs_clport.c_nfscl_fillclid.c"
	.text
	.align	2
	.global	nfscl_fillclid
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfscl_fillclid, %function
nfscl_fillclid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	cmp	r3, #3
	sub	sp, sp, #12
	mov	r4, r3
	mov	r7, r1
	mov	r5, r2
	str	r0, [sp, #4]
	bhi	.L12
.L2:
	mov	r0, r7
	bl	strlen
	cmp	r4, r0
	cmpge	r0, #0
	mov	r6, r0
	bgt	.L13
.L3:
	cmp	r4, #0
	ble	.L1
.L5:
	bl	arc4random
	rsbs	ip, r0, #0
	and	ip, ip, #255
	and	r0, r0, #255
	rsbpl	r0, ip, #0
	subs	r4, r4, #1
	str	r0, [r5], #4
	bne	.L5
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	mov	r2, #4
	mov	r1, r5
	add	r0, sp, r2
	bl	NFSBCOPY
	sub	r4, r4, #4
	add	r5, r5, #16
	b	.L2
.L13:
	mov	r1, r5
	mov	r0, r7
	mov	r2, r6
	bl	NFSBCOPY
	sub	r4, r4, r6
	add	r5, r5, r6, lsl #2
	b	.L3
	.size	nfscl_fillclid, .-nfscl_fillclid
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
