	.file	"extr_dm-raid1.c_parse_features.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%u%c"
.LC1:
	.string	"Invalid number of features"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Not enough arguments to support feature count"
	.section	.rodata.str1.1
.LC3:
	.string	"handle_errors"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"Unrecognised feature requested"
	.text
	.p2align 4
	.type	parse_features, @function
parse_features:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rcx], 0
	test	esi, esi
	jne	.L11
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r12, rdx
	mov	r13, rdi
	mov	ebx, esi
	mov	rbp, rcx
	mov	rdi, QWORD PTR [r12]
	lea	rcx, 3[rsp]
	lea	rdx, 4[rsp]
	lea	rsi, .LC0[rip]
	call	sscanf@PLT
	cmp	eax, 1
	je	.L3
	lea	rax, .LC1[rip]
	mov	QWORD PTR [r14], rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	add	DWORD PTR 0[rbp], 1
	sub	ebx, 1
	cmp	DWORD PTR 4[rsp], ebx
	ja	.L13
	mov	rdi, QWORD PTR 8[r12]
	mov	ecx, 14
	lea	rsi, .LC3[rip]
	repz cmpsb
	seta	al
	sbb	al, 0
	movsx	eax, al
	test	eax, eax
	jne	.L5
	mov	edx, DWORD PTR DM_RAID1_HANDLE_ERRORS[rip]
	or	DWORD PTR 0[r13], edx
	add	DWORD PTR 0[rbp], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rax, .LC2[rip]
	mov	QWORD PTR [r14], rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rax, .LC4[rip]
	mov	QWORD PTR [r14], rax
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_features, .-parse_features
	.comm	EINVAL,4,4
	.comm	DM_RAID1_HANDLE_ERRORS,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_dm-raid1.c_parse_features.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%u%c\000"
	.align	2
.LC1:
	.ascii	"Invalid number of features\000"
	.align	2
.LC2:
	.ascii	"Not enough arguments to support feature count\000"
	.align	2
.LC3:
	.ascii	"handle_errors\000"
	.align	2
.LC4:
	.ascii	"Unrecognised feature requested\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_features, %function
parse_features:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	mov	r3, #0
	mov	r8, r2
	ldr	r2, .L13
	sub	sp, sp, #16
	subs	r4, r1, #0
	ldr	r6, [r0, #4]
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	moveq	r0, r4
	str	r3, [r5]
	bne	.L10
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r7, r0
	ldr	r1, .L13+4
	ldr	r0, [r8]
	add	r3, sp, #7
	add	r2, sp, #8
	bl	sscanf
	cmp	r0, #1
	beq	.L3
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	ldr	r0, [r2]
	str	r3, [r6]
	rsb	r0, r0, #0
	b	.L1
.L3:
	ldr	r3, [r5]
	ldr	r2, [sp, #8]
	sub	r0, r4, #1
	add	r3, r3, #1
	cmp	r2, r0
	str	r3, [r5]
	bhi	.L12
	ldr	r1, [r8, #4]
	ldr	r0, .L13+16
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	ldr	r2, .L13+20
	ldr	r3, [r7]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r7]
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
	b	.L1
.L12:
	ldr	r2, .L13+8
	ldr	r3, .L13+24
	ldr	r0, [r2]
	str	r3, [r6]
	rsb	r0, r0, #0
	b	.L1
.L5:
	ldr	r2, .L13+8
	ldr	r3, .L13+28
	ldr	r0, [r2]
	str	r3, [r6]
	rsb	r0, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	.LC0
	.word	EINVAL
	.word	.LC1
	.word	.LC3
	.word	DM_RAID1_HANDLE_ERRORS
	.word	.LC2
	.word	.LC4
	.size	parse_features, .-parse_features
	.comm	EINVAL,4,4
	.comm	DM_RAID1_HANDLE_ERRORS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
