	.file	"extr_geom_vinum_plex.c_gv_plex_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gv_plex_start
	.type	gv_plex_start, @function
gv_plex_start:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR [rsi]
	mov	r15d, DWORD PTR 40[rsi]
	mov	r14, QWORD PTR 8[rsi]
	test	rbp, rbp
	jle	.L2
	lea	rax, 16[rdi]
	mov	r13, rsi
	mov	QWORD PTR 8[rsp], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8d, r15d
	mov	rcx, rbp
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r12
	call	gv_plex_normal_request@PLT
	mov	rbx, rax
.L6:
	test	rbx, rbx
	js	.L1
.L25:
	sub	rbp, rbx
	add	r15d, ebx
	add	r14, rbx
	test	rbp, rbp
	jle	.L2
.L7:
	mov	rax, QWORD PTR GV_PLEX_RAID5[rip]
	cmp	QWORD PTR [r12], rax
	jne	.L3
	mov	r8, rbp
	mov	rcx, r14
	mov	edx, r15d
	mov	rsi, r13
	mov	rdi, r12
	call	gv_raid5_start@PLT
	test	rax, rax
	je	.L1
	lea	rdi, 12[rax]
	mov	QWORD PTR [rsp], rax
	mov	rbx, QWORD PTR [rax]
	call	TAILQ_EMPTY@PLT
	mov	rsi, QWORD PTR [rsp]
	test	rax, rax
	jne	.L24
	cmp	DWORD PTR 8[rsi], -1
	je	.L6
	mov	edx, DWORD PTR list[rip]
	mov	rdi, QWORD PTR 8[rsp]
	call	TAILQ_INSERT_TAIL@PLT
	test	rbx, rbx
	jns	.L25
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	eax, DWORD PTR GV_BIO_ONHOLD[rip]
	or	DWORD PTR 24[rbp], eax
	mov	rsi, rbp
	mov	edi, DWORD PTR 12[r12]
	call	bioq_disksort@PLT
.L2:
	mov	edi, DWORD PTR 8[r12]
	call	bioq_takefirst@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	cmp	QWORD PTR 32[rax], 0
	je	.L8
	mov	rsi, rax
	mov	rdi, r12
	call	gv_stripe_active@PLT
	test	rax, rax
	jne	.L26
.L8:
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR [rax]
	call	g_io_request@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, rsi
	call	g_free@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	gv_plex_start, .-gv_plex_start
	.comm	list,4,4
	.comm	GV_PLEX_RAID5,8,8
	.comm	GV_BIO_ONHOLD,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_geom_vinum_plex.c_gv_plex_start.c"
	.text
	.align	2
	.global	gv_plex_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	gv_plex_start, %function
gv_plex_start:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r4, [r1]
	mov	r7, r0
	cmp	r4, #0
	ldr	r5, [r1, #20]
	ldr	r6, [r1, #4]
	sub	sp, sp, #20
	ble	.L2
	add	r3, r0, #12
	mov	r8, r1
	ldr	r9, .L32
	str	r3, [sp, #12]
	b	.L7
.L3:
	mov	r3, r4
	mov	r2, r6
	mov	r1, r8
	mov	r0, r7
	str	r5, [sp]
	bl	gv_plex_normal_request
	mov	fp, r0
.L6:
	cmp	fp, #0
	sub	r4, r4, fp
	blt	.L1
.L31:
	cmp	r4, #0
	add	r5, r5, fp
	add	r6, r6, fp
	ble	.L2
.L7:
	ldr	r2, [r7]
	ldr	r3, [r9]
	cmp	r2, r3
	bne	.L3
	mov	r3, r6
	mov	r2, r5
	mov	r1, r8
	mov	r0, r7
	str	r4, [sp]
	bl	gv_raid5_start
	subs	r10, r0, #0
	beq	.L1
	mov	r0, r10
	ldr	fp, [r0], #8
	bl	TAILQ_EMPTY
	cmp	r0, #0
	bne	.L30
	ldr	r2, [r10, #4]
	cmn	r2, #1
	beq	.L6
	ldr	r3, .L32+4
	mov	r1, r10
	ldr	r2, [r3]
	ldr	r0, [sp, #12]
	bl	TAILQ_INSERT_TAIL
	cmp	fp, #0
	sub	r4, r4, fp
	bge	.L31
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	mov	r0, r10
	bl	g_free
	b	.L6
.L2:
	ldr	r0, [r7, #4]
	bl	bioq_takefirst
	subs	r4, r0, #0
	beq	.L1
	ldr	r5, .L32+8
	b	.L10
.L8:
	ldr	r3, [r4, #8]
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r1, [r3]
	bl	g_io_request
.L9:
	ldr	r0, [r7, #4]
	bl	bioq_takefirst
	subs	r4, r0, #0
	beq	.L1
.L10:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L8
	mov	r1, r4
	mov	r0, r7
	bl	gv_stripe_active
	cmp	r0, #0
	beq	.L8
	ldr	r3, [r4, #12]
	ldr	r2, [r5]
	mov	r1, r4
	orr	r3, r3, r2
	ldr	r0, [r7, #8]
	str	r3, [r4, #12]
	bl	bioq_disksort
	b	.L9
.L33:
	.align	2
.L32:
	.word	GV_PLEX_RAID5
	.word	list
	.word	GV_BIO_ONHOLD
	.size	gv_plex_start, .-gv_plex_start
	.comm	list,4,4
	.comm	GV_PLEX_RAID5,4,4
	.comm	GV_BIO_ONHOLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
