	.file	"extr_super.c_ubifs_parse_options.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"none"
.LC1:
	.string	"lzo"
.LC2:
	.string	"zlib"
.LC3:
	.string	"unknown compressor \"%s\""
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"unrecognized mount option \"%s\" or missing value"
	.section	.rodata.str1.1
.LC5:
	.string	","
	.text
	.p2align 4
	.type	ubifs_parse_options, @function
ubifs_parse_options:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rsi
	mov	rbx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_OPT_ARGS[rip]
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L35:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L35
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L36
.L4:
	cmp	QWORD PTR -72[rbp], 0
	mov	r15, rsp
	lea	r12, -72[rbp]
	lea	rbx, .LC5[rip]
	je	.L25
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, rbx
	mov	rdi, r12
	call	strsep@PLT
	mov	r14, rax
	test	rax, rax
	je	.L25
	cmp	BYTE PTR [r14], 0
	je	.L7
	mov	esi, DWORD PTR tokens[rip]
	mov	rdx, r15
	mov	rdi, r14
	call	match_token@PLT
	add	eax, -128
	cmp	eax, 6
	ja	.L8
	lea	rcx, .L10[rip]
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 24[r13], 2
	mov	DWORD PTR 4[r13], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR 16[r13], 2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	mov	DWORD PTR 20[r13], 1
	mov	DWORD PTR 0[r13], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	DWORD PTR 24[r13], 1
	mov	DWORD PTR 4[r13], 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	DWORD PTR 16[r13], 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r15
	call	match_strdup@PLT
	mov	r14, rax
	test	rax, rax
	je	.L37
	mov	rsi, rax
	mov	ecx, 5
	lea	rdi, .LC0[rip]
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L19
	mov	eax, DWORD PTR UBIFS_COMPR_NONE[rip]
	mov	DWORD PTR 32[r13], eax
.L20:
	mov	rdi, r14
	call	kfree@PLT
	mov	eax, DWORD PTR 32[r13]
	mov	DWORD PTR 28[r13], 1
	mov	DWORD PTR 36[r13], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR 20[r13], 2
	mov	DWORD PTR 0[r13], 1
	jmp	.L7
.L8:
	mov	rdx, QWORD PTR 8[r13]
	mov	rdi, r14
	mov	QWORD PTR -80[rbp], rdx
	call	parse_standard_option@PLT
	mov	rdx, QWORD PTR -80[rbp]
	test	rax, rax
	je	.L38
	or	QWORD PTR [rdx], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR -56[rbp]
	xor	rdx, QWORD PTR fs:40
	jne	.L39
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	ecx, 4
	mov	rsi, r14
	lea	rdi, .LC1[rip]
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L21
	mov	eax, DWORD PTR UBIFS_COMPR_LZO[rip]
	mov	DWORD PTR 32[r13], eax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L21:
	mov	ecx, 5
	lea	rdi, .LC2[rip]
	mov	rsi, r14
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L22
	mov	eax, DWORD PTR UBIFS_COMPR_ZLIB[rip]
	mov	DWORD PTR 32[r13], eax
	jmp	.L20
.L36:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L38:
	mov	rsi, r14
	lea	rdi, .LC4[rip]
	call	ubifs_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L37:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
.L22:
	mov	rsi, r14
	lea	rdi, .LC3[rip]
	call	ubifs_err@PLT
	mov	rdi, r14
	call	kfree@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ubifs_parse_options, .-ubifs_parse_options
	.comm	tokens,4,4
	.comm	UBIFS_COMPR_ZLIB,4,4
	.comm	UBIFS_COMPR_NONE,4,4
	.comm	UBIFS_COMPR_LZO,4,4
	.comm	MAX_OPT_ARGS,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_super.c_ubifs_parse_options.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"none\000"
	.align	2
.LC1:
	.ascii	"lzo\000"
	.align	2
.LC2:
	.ascii	"zlib\000"
	.align	2
.LC3:
	.ascii	"unknown compressor \"%s\"\000"
	.align	2
.LC4:
	.ascii	"unrecognized mount option \"%s\" or missing value\000"
	.align	2
.LC5:
	.ascii	",\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ubifs_parse_options, %function
ubifs_parse_options:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	ldr	r3, .L33
	str	r1, [fp, #-48]
	ldr	r3, [r3]
	cmp	r1, #0
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L33+4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	beq	.L22
	mov	r5, r0
	mov	r6, sp
	ldr	r4, .L33+8
	ldr	r7, .L33+12
	ldr	r8, .L33+16
	ldr	r9, .L33+20
.L4:
	mov	r1, r4
	sub	r0, fp, #48
	bl	strsep
	subs	r10, r0, #0
	beq	.L22
	ldrb	r2, [r10]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L4
	mov	r2, r6
	ldr	r1, [r7]
	bl	match_token
	sub	r0, r0, #128
	cmp	r0, #6
	ldrls	pc, [pc, r0, asl #2]
	b	.L5
.L7:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L6:
	mov	r2, #2
	mov	r3, #1
	str	r2, [r5, #16]
	str	r3, [r5]
	b	.L4
.L8:
	mov	r2, #2
	mov	r3, #0
	str	r2, [r5, #20]
	str	r3, [r5, #4]
	b	.L4
.L9:
	mov	r3, #2
	str	r3, [r5, #12]
	b	.L4
.L10:
	mov	r2, #1
	mov	r3, #0
	str	r2, [r5, #16]
	str	r3, [r5]
	b	.L4
.L11:
	mov	r3, #1
	str	r3, [r5, #20]
	str	r3, [r5, #4]
	b	.L4
.L12:
	mov	r3, #1
	str	r3, [r5, #12]
	b	.L4
.L13:
	mov	r0, r6
	bl	match_strdup
	subs	r10, r0, #0
	beq	.L29
	mov	r1, r8
	bl	strcmp
	cmp	r0, #0
	bne	.L16
	ldr	r2, .L33+24
	ldr	r2, [r2]
	str	r2, [r5, #28]
.L17:
	mov	r0, r10
	bl	kfree
	mov	r2, #1
	ldr	r3, [r5, #28]
	str	r2, [r5, #24]
	str	r3, [r5, #32]
	b	.L4
.L22:
	mov	r0, #0
.L1:
	ldr	r3, .L33+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r1, r9
	mov	r0, r10
	bl	strcmp
	cmp	r0, #0
	beq	.L31
	mov	r0, r10
	ldr	r1, .L33+28
	bl	strcmp
	cmp	r0, #0
	bne	.L19
	ldr	r3, .L33+32
	ldr	r2, [r3]
	str	r2, [r5, #28]
	b	.L17
.L31:
	ldr	r2, .L33+36
	ldr	r2, [r2]
	str	r2, [r5, #28]
	b	.L17
.L29:
	ldr	r3, .L33+40
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L19:
	mov	r1, r10
	ldr	r0, .L33+44
	bl	ubifs_err
	mov	r0, r10
	bl	kfree
	ldr	r3, .L33+48
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L30:
	bl	__stack_chk_fail
.L5:
	ldr	r2, [r5, #8]
	mov	r0, r10
	str	r2, [fp, #-52]
	bl	parse_standard_option
	cmp	r0, #0
	ldr	r2, [fp, #-52]
	ldrne	r3, [r2]
	orrne	r0, r3, r0
	strne	r0, [r2]
	bne	.L4
.L32:
	mov	r1, r10
	ldr	r0, .L33+52
	bl	ubifs_err
	ldr	r3, .L33+48
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L34:
	.align	2
.L33:
	.word	MAX_OPT_ARGS
	.word	.LC6
	.word	.LC5
	.word	tokens
	.word	.LC0
	.word	.LC1
	.word	UBIFS_COMPR_NONE
	.word	.LC2
	.word	UBIFS_COMPR_ZLIB
	.word	UBIFS_COMPR_LZO
	.word	ENOMEM
	.word	.LC3
	.word	EINVAL
	.word	.LC4
	.size	ubifs_parse_options, .-ubifs_parse_options
	.comm	tokens,4,4
	.comm	UBIFS_COMPR_ZLIB,4,4
	.comm	UBIFS_COMPR_NONE,4,4
	.comm	UBIFS_COMPR_LZO,4,4
	.comm	MAX_OPT_ARGS,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
