	.file	"extr_pblk-core.c_pblk_line_retry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pblk_line_retry, @function
pblk_line_retry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 8[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR 16[rbx]
	mov	rdi, rbx
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 12[r12], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[r12], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR [r12], eax
	call	pblk_line_reinit@PLT
	mov	QWORD PTR 16[rbp], r12
	mov	rdi, r13
	call	spin_unlock@PLT
	xor	edx, edx
	mov	rsi, rbx
	mov	rdi, rbp
	call	pblk_rl_free_lines_dec@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	pblk_line_erase@PLT
	test	rax, rax
	je	.L1
.L2:
	mov	rdi, r13
	call	spin_lock@PLT
	mov	rdi, rbp
	call	pblk_line_get@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L3
	mov	QWORD PTR 16[rbp], 0
	mov	rdi, r13
	call	spin_unlock@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
	.cfi_endproc
.LFE0:
	.size	pblk_line_retry, .-pblk_line_retry
	.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_pblk-core.c_pblk_line_retry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pblk_line_retry, %function
pblk_line_retry:
	@ 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
	add	r7, r0, #4
	b	.L2
.L3:
	ldr	ip, [r5, #16]
	ldr	r3, [r5]
	ldr	r1, [r5, #8]
	ldr	r2, [r5, #4]
	ldr	r0, [r5, #12]
	str	ip, [r4, #16]
	str	r3, [r4]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r0, [r4, #12]
	mov	r0, r5
	bl	pblk_line_reinit
	mov	r0, r7
	str	r4, [r6, #8]
	bl	spin_unlock
	mov	r2, #0
	mov	r1, r5
	mov	r0, r6
	bl	pblk_rl_free_lines_dec
	mov	r1, r4
	mov	r0, r6
	bl	pblk_line_erase
	cmp	r0, #0
	beq	.L1
.L2:
	mov	r0, r7
	bl	spin_lock
	mov	r0, r6
	bl	pblk_line_get
	subs	r4, r0, #0
	bne	.L3
	mov	r0, r7
	str	r4, [r6, #8]
	bl	spin_unlock
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	pblk_line_retry, .-pblk_line_retry
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
