	.file	"extr_mount.c_update_options.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	","
.LC2:
	.string	"malloc failed"
.LC3:
	.string	"no"
	.text
	.p2align 4
	.globl	update_options
	.type	update_options, @function
update_options:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L17
	mov	r14, rsi
	mov	rsi, QWORD PTR MOUNT_META_OPTION_FSTAB[rip]
	mov	ebp, edx
	xor	r12d, r12d
	mov	rdi, r14
	lea	rbx, 16[rsp]
	lea	r13, .LC1[rip]
	call	remopt@PLT
	mov	rsi, QWORD PTR MOUNT_META_OPTION_CURRENT[rip]
	mov	rdi, r14
	call	remopt@PLT
	mov	edi, ebp
	call	flags2opts@PLT
	mov	r15, rax
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 16[rsp], rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, r13
	mov	rdi, rbx
	call	strsep@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L18
	mov	rdi, QWORD PTR MOUNT_META_OPTION_FSTAB[rip]
	mov	rsi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, r12
	mov	rsi, r14
	call	catopt@PLT
	mov	r12, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR MOUNT_META_OPTION_CURRENT[rip]
	mov	rsi, rbp
	call	strcmp@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, r12
	mov	rsi, r15
	call	catopt@PLT
	mov	r12, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r12
	mov	rsi, rbp
	call	catopt@PLT
	mov	r12, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r15
	lea	r15, .LC1[rip]
	call	free@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	free@PLT
	mov	QWORD PTR 16[rsp], r12
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, rbp
	mov	rsi, r13
	call	catopt@PLT
	mov	rbp, rax
.L9:
	mov	rsi, r15
	mov	rdi, rbx
	call	strsep@PLT
	mov	r13, rax
	test	rax, rax
	je	.L19
	mov	rdi, r13
	call	strlen@PLT
	lea	rdi, 3[rax]
	call	malloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L20
.L10:
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	strcpy@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	strcat@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	remopt@PLT
	mov	rdi, r14
	call	free@PLT
	mov	edx, 2
	mov	rsi, r13
	lea	rdi, .LC3[rip]
	call	strncmp@PLT
	test	rax, rax
	jne	.L11
	lea	rsi, 2[r13]
	mov	rdi, rbp
	call	remopt@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r12
	call	free@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, rbp
	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
.L17:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, .LC0[rip]
	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
	jmp	strdup@PLT
.L20:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L10
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	update_options, .-update_options
	.comm	MOUNT_META_OPTION_FSTAB,8,8
	.comm	MOUNT_META_OPTION_CURRENT,8,8
	.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_mount.c_update_options.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	",\000"
	.align	2
.LC2:
	.ascii	"malloc failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_options
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_options, %function
update_options:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L22
	sub	sp, sp, #12
	subs	r10, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L18
	mov	r8, r1
	mov	r4, r2
	ldr	r6, .L22+4
	ldr	r9, .L22+8
	ldr	r1, [r6]
	mov	r0, r8
	bl	remopt
	ldr	r1, [r9]
	mov	r0, r8
	bl	remopt
	mov	r0, r4
	bl	flags2opts
	mov	r7, #0
	mov	fp, r0
	ldr	r5, .L22+12
	str	r10, [sp]
.L4:
	mov	r1, r5
	mov	r0, sp
	bl	strsep
	subs	r4, r0, #0
	beq	.L19
	mov	r1, r4
	ldr	r0, [r6]
	bl	strcmp
	cmp	r0, #0
	beq	.L20
	mov	r1, r4
	ldr	r0, [r9]
	bl	strcmp
	cmp	r0, #0
	moveq	r0, r7
	movne	r0, r7
	moveq	r1, fp
	movne	r1, r4
	bl	catopt
	mov	r7, r0
	b	.L4
.L20:
	mov	r0, r7
	mov	r1, r8
	bl	catopt
	mov	r7, r0
	b	.L4
.L19:
	mov	r0, fp
	bl	free
	mov	r0, r10
	bl	free
	ldr	r8, .L22+12
	ldr	r10, .L22+16
	ldr	r9, .L22+20
	str	r7, [sp]
	b	.L9
.L13:
	bl	strlen
	add	r0, r0, #3
	bl	malloc
	subs	r6, r0, #0
	beq	.L21
.L10:
	mov	r0, r6
	mov	r1, r5
	strh	r9, [r0], #2	@ movhi
	bl	strcpy
	mov	r1, r6
	mov	r0, r4
	bl	remopt
	mov	r0, r6
	bl	free
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L12
	ldrb	r3, [r5, #1]	@ zero_extendqisi2
	cmp	r3, #111
	bne	.L12
	mov	r0, r4
	add	r1, r5, #2
	bl	remopt
.L12:
	mov	r0, r4
	mov	r1, r5
	bl	catopt
	mov	r4, r0
.L9:
	mov	r1, r8
	mov	r0, sp
	bl	strsep
	subs	r5, r0, #0
	bne	.L13
	mov	r0, r7
	bl	free
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	ldr	r0, .L22+24
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	strdup
.L21:
	mov	r1, r10
	mov	r0, #1
	bl	errx
	b	.L10
.L16:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	MOUNT_META_OPTION_FSTAB
	.word	MOUNT_META_OPTION_CURRENT
	.word	.LC1
	.word	.LC2
	.word	28526
	.word	.LC0
	.size	update_options, .-update_options
	.comm	MOUNT_META_OPTION_FSTAB,4,4
	.comm	MOUNT_META_OPTION_CURRENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
