	.file	"extr_iser_verbs.c_iser_alloc_fastreg_pool.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	iser_alloc_fastreg_pool
	.type	iser_alloc_fastreg_pool, @function
iser_alloc_fastreg_pool:
.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
	lea	r14, 20[rdi]
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	r15, 16[rbp]
	mov	ebx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR 32[rdi]
	mov	rdi, r14
	mov	DWORD PTR 12[rsp], esi
	mov	DWORD PTR 8[rsp], edx
	call	INIT_LIST_HEAD@PLT
	mov	rdi, r15
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 24[rbp]
	call	spin_lock_init@PLT
	mov	QWORD PTR 8[rbp], 0
	test	ebx, ebx
	je	.L2
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdi, 4[r13]
	mov	rsi, r14
	add	ebx, 1
	call	list_add_tail@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	list_add_tail@PLT
	add	QWORD PTR 8[rbp], 1
	cmp	ebx, DWORD PTR 12[rsp]
	je	.L2
.L5:
	mov	ecx, DWORD PTR 8[rsp]
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, r12
	mov	esi, DWORD PTR [r12]
	call	iser_create_fastreg_desc@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L3
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	iser_free_fastreg_pool@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	xor	r12d, r12d
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	iser_alloc_fastreg_pool, .-iser_alloc_fastreg_pool
	.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_iser_verbs.c_iser_alloc_fastreg_pool.c"
	.text
	.align	2
	.global	iser_alloc_fastreg_pool
	.syntax unified
	.arm
	.fpu softvfp
	.type	iser_alloc_fastreg_pool, %function
iser_alloc_fastreg_pool:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	mov	r9, r1
	mov	r6, #0
	add	fp, r0, #12
	mov	r0, fp
	add	r8, r5, #8
	mov	r10, r2
	ldr	r7, [r5, #20]
	bl	INIT_LIST_HEAD
	mov	r0, r8
	bl	INIT_LIST_HEAD
	add	r0, r5, #16
	bl	spin_lock_init
	cmp	r9, r6
	str	r6, [r5, #4]
	bne	.L5
	b	.L2
.L3:
	mov	r1, fp
	bl	list_add_tail
	mov	r1, r8
	mov	r0, r4
	bl	list_add_tail
	ldr	r3, [r5, #4]
	cmp	r6, r9
	add	r3, r3, #1
	str	r3, [r5, #4]
	beq	.L2
.L5:
	mov	r3, r10
	ldr	r2, [r5]
	ldr	r1, [r7]
	mov	r0, r7
	bl	iser_create_fastreg_desc
	mov	r4, r0
	bl	IS_ERR
	mov	r3, r0
	cmp	r3, #0
	add	r0, r4, #4
	add	r6, r6, #1
	beq	.L3
	mov	r0, r4
	bl	PTR_ERR
	mov	r4, r0
	mov	r0, r5
	bl	iser_free_fastreg_pool
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r4, #0
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	iser_alloc_fastreg_pool, .-iser_alloc_fastreg_pool
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
