	.file	"extr_nfs41_session.c_init_slot_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_slot_table, @function
init_slot_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 16[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	EnterCriticalSection@PLT
	mov	rax, QWORD PTR NFS41_MAX_NUM_SLOTS[rip]
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L2
	mov	rcx, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 48[rbx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR [rcx+rax*4], 1
	mov	QWORD PTR [rdx+rax*8], 0
	add	rax, 1
	cmp	QWORD PTR NFS41_MAX_NUM_SLOTS[rip], rax
	ja	.L3
.L2:
	mov	QWORD PTR 32[rbx], 0
	mov	rdi, rbx
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	call	slot_table_avail@PLT
	test	rax, rax
	jne	.L14
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	LeaveCriticalSection@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	rdi, 20[rbx]
	call	WakeAllConditionVariable@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	LeaveCriticalSection@PLT
	.cfi_endproc
.LFE0:
	.size	init_slot_table, .-init_slot_table
	.comm	NFS41_MAX_NUM_SLOTS,8,8
	.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_nfs41_session.c_init_slot_table.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_slot_table, %function
init_slot_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r5, r0, #8
	mov	r0, r5
	bl	EnterCriticalSection
	ldr	r0, .L15
	ldr	r3, [r0]
	cmp	r3, #0
	str	r3, [r4]
	beq	.L2
	mov	r3, #0
	mov	r6, #1
	mov	lr, r3
	ldr	r1, [r4, #4]
	ldr	r2, [r4, #28]
	sub	r1, r1, #4
	sub	r2, r2, #4
.L3:
	str	r6, [r1, #4]!
	str	lr, [r2, #4]!
	ldr	ip, [r0]
	add	r3, r3, #1
	cmp	ip, r3
	bhi	.L3
.L2:
	mov	r3, #0
	mov	r0, r4
	str	r3, [r4, #20]
	str	r3, [r4, #24]
	str	r3, [r4, #16]
	bl	slot_table_avail
	cmp	r0, #0
	bne	.L14
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	LeaveCriticalSection
.L14:
	add	r0, r4, #12
	bl	WakeAllConditionVariable
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	LeaveCriticalSection
.L16:
	.align	2
.L15:
	.word	NFS41_MAX_NUM_SLOTS
	.size	init_slot_table, .-init_slot_table
	.comm	NFS41_MAX_NUM_SLOTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
