	.file	"extr_pst-raid.c_pst_done.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pst_done, @function
pst_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 16[rdx]
	lea	rdi, 8[rbp]
	mov	r13, QWORD PTR 16[rbp]
	call	callout_stop@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR EIO[rip]
	mov	rax, QWORD PTR [rdi]
	sub	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR [rbx], 0
	mov	QWORD PTR 8[rdi], rax
	jne	.L2
	xor	edx, edx
.L2:
	xor	esi, esi
	call	biofinish@PLT
	mov	esi, DWORD PTR M_PSTRAID[rip]
	mov	rdi, rbp
	call	free@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	rdi, r13
	mov	rdx, QWORD PTR 8[rax]
	mov	DWORD PTR [rdx], r12d
	sub	DWORD PTR [rax], 1
	add	rsp, 8
	.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
	jmp	pst_start@PLT
	.cfi_endproc
.LFE0:
	.size	pst_done, .-pst_done
	.comm	M_PSTRAID,4,4
	.comm	EIO,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_pst-raid.c_pst_done.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pst_done, %function
pst_done:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r1
	ldr	r5, [r2, #8]
	add	r0, r5, #4
	ldr	r7, [r5, #8]
	bl	callout_stop
	ldr	r0, [r5]
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	ldr	r3, [r0]
	cmp	r2, #0
	sub	r3, r3, r1
	str	r3, [r0, #4]
	ldrne	r3, .L8
	mov	r1, #0
	ldrne	r2, [r3]
	bl	biofinish
	ldr	r3, .L8+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	free
	ldr	r3, [r7]
	mov	r0, r7
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	sub	r2, r2, #1
	str	r6, [r1]
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, lr}
	b	pst_start
.L9:
	.align	2
.L8:
	.word	EIO
	.word	M_PSTRAID
	.size	pst_done, .-pst_done
	.comm	M_PSTRAID,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
