	.file	"extr_geom_vinum.c_gv_parityop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"plex"
.LC1:
	.string	"no plex given"
.LC2:
	.string	"flags"
.LC3:
	.string	"no flags given"
.LC4:
	.string	"rebuild"
.LC5:
	.string	"no operation given"
.LC6:
	.string	"'%s' is not a plex"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC7:
	.string	"plex %s is not completely accessible"
	.section	.rodata.str1.1
.LC8:
	.string	"plex %s is not a RAID5 plex"
	.text
	.p2align 4
	.type	gv_parityop, @function
gv_parityop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	edx, edx
	mov	r13, 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, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	gctl_get_param@PLT
	test	rax, rax
	je	.L14
	mov	edx, 4
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	r12, rax
	call	gctl_get_paraml@PLT
	test	rax, rax
	je	.L15
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	mov	edx, 4
	call	gctl_get_paraml@PLT
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	mov	rbx, rax
	xor	eax, eax
	test	rbx, rbx
	je	.L10
	mov	rsi, r12
	mov	rdi, r13
	call	gv_object_type@PLT
	cmp	DWORD PTR GV_TYPE_PLEX[rip], eax
	mov	rdx, r12
	lea	rsi, .LC6[rip]
	jne	.L12
	mov	rsi, r12
	mov	rdi, r13
	call	gv_find_plex@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR GV_PLEX_UP[rip]
	cmp	QWORD PTR [rdx], rax
	jne	.L16
	mov	rax, QWORD PTR GV_PLEX_RAID5[rip]
	cmp	QWORD PTR 16[rdx], rax
	jne	.L17
	mov	eax, DWORD PTR [rbx]
	mov	esi, DWORD PTR GV_EVENT_PARITY_REBUILD[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	test	eax, eax
	jne	.L11
	mov	esi, DWORD PTR GV_EVENT_PARITY_CHECK[rip]
.L11:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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	gv_post_event@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rdx]
	lea	rsi, .LC8[rip]
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	eax, eax
	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	gctl_error@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
.L10:
	add	rsp, 8
	.cfi_remember_state
	.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	gctl_error@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rdx]
	lea	rsi, .LC7[rip]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	xor	eax, eax
	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	gctl_error@PLT
	.cfi_endproc
.LFE0:
	.size	gv_parityop, .-gv_parityop
	.comm	GV_TYPE_PLEX,4,4
	.comm	GV_PLEX_UP,8,8
	.comm	GV_PLEX_RAID5,8,8
	.comm	GV_EVENT_PARITY_REBUILD,4,4
	.comm	GV_EVENT_PARITY_CHECK,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.c_gv_parityop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"plex\000"
	.align	2
.LC1:
	.ascii	"no plex given\000"
	.align	2
.LC2:
	.ascii	"flags\000"
	.align	2
.LC3:
	.ascii	"no flags given\000"
	.align	2
.LC4:
	.ascii	"rebuild\000"
	.align	2
.LC5:
	.ascii	"no operation given\000"
	.align	2
.LC6:
	.ascii	"'%s' is not a plex\000"
	.align	2
.LC7:
	.ascii	"plex %s is not completely accessible\000"
	.align	2
.LC8:
	.ascii	"plex %s is not a RAID5 plex\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gv_parityop, %function
gv_parityop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r2, #0
	mov	r4, r1
	mov	r7, r0
	sub	sp, sp, #12
	mov	r0, r1
	ldr	r1, .L19
	bl	gctl_get_param
	subs	r5, r0, #0
	beq	.L14
	mov	r2, #4
	mov	r0, r4
	ldr	r1, .L19+4
	bl	gctl_get_paraml
	cmp	r0, #0
	beq	.L15
	mov	r2, #4
	mov	r0, r4
	ldr	r1, .L19+8
	bl	gctl_get_paraml
	subs	r6, r0, #0
	beq	.L16
	mov	r1, r5
	mov	r0, r7
	bl	gv_object_type
	ldr	r3, .L19+12
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L5
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L19+16
.L12:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	gctl_error
.L5:
	mov	r1, r5
	mov	r0, r7
	bl	gv_find_plex
	ldr	r3, .L19+20
	ldr	r1, [r0]
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L17
	ldr	r3, .L19+24
	ldr	r1, [r0, #8]
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L18
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L8
	mov	r3, #0
	ldr	r1, .L19+28
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r2, r0
	ldr	r1, [r1]
	mov	r0, r7
	bl	gv_post_event
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	ldr	r2, [r0, #4]
	ldr	r1, .L19+32
	mov	r0, r4
	b	.L12
.L14:
	mov	r0, r4
	ldr	r1, .L19+36
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	gctl_error
.L15:
	mov	r0, r4
	ldr	r1, .L19+40
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	gctl_error
.L16:
	mov	r0, r4
	ldr	r1, .L19+44
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	gctl_error
.L8:
	ldr	r1, .L19+48
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r2, r0
	ldr	r1, [r1]
	mov	r0, r7
	bl	gv_post_event
	b	.L1
.L18:
	ldr	r2, [r0, #4]
	ldr	r1, .L19+52
	mov	r0, r4
	b	.L12
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	.LC2
	.word	.LC4
	.word	GV_TYPE_PLEX
	.word	.LC6
	.word	GV_PLEX_UP
	.word	GV_PLEX_RAID5
	.word	GV_EVENT_PARITY_REBUILD
	.word	.LC7
	.word	.LC1
	.word	.LC3
	.word	.LC5
	.word	GV_EVENT_PARITY_CHECK
	.word	.LC8
	.size	gv_parityop, .-gv_parityop
	.comm	GV_TYPE_PLEX,4,4
	.comm	GV_PLEX_UP,4,4
	.comm	GV_PLEX_RAID5,4,4
	.comm	GV_EVENT_PARITY_REBUILD,4,4
	.comm	GV_EVENT_PARITY_CHECK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
