	.file	"483008.c"
	.intel_syntax noprefix
	.text
	.globl	do_all
	.bss
	.align 4
	.type	do_all, @object
	.size	do_all, 4
do_all:
	.zero	4
	.globl	type
	.align 8
	.type	type, @object
	.size	type, 8
type:
	.zero	8
	.globl	read_size
	.align 4
	.type	read_size, @object
	.size	read_size, 4
read_size:
	.zero	4
	.globl	write_size
	.align 4
	.type	write_size, @object
	.size	write_size, 4
write_size:
	.zero	4
	.globl	read_only
	.align 4
	.type	read_only, @object
	.size	read_only, 4
read_only:
	.zero	4
	.globl	mount_opts
	.section	.rodata
.LC0:
	.string	"ro"
.LC1:
	.string	"rw"
.LC2:
	.string	"rsize"
.LC3:
	.string	"wsize"
	.section	.data.rel.local,"aw"
	.align 32
	.type	mount_opts, @object
	.size	mount_opts, 40
mount_opts:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	0
	.section	.rodata
.LC4:
	.string	"Unknown suboption `%s'\n"
.LC5:
	.string	"at:o:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L16:
	cmp	DWORD PTR -28[rbp], 116
	je	.L3
	cmp	DWORD PTR -28[rbp], 116
	jg	.L4
	cmp	DWORD PTR -28[rbp], 97
	je	.L5
	cmp	DWORD PTR -28[rbp], 111
	je	.L6
	jmp	.L4
.L5:
	mov	DWORD PTR do_all[rip], 1
	jmp	.L2
.L3:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR type[rip], rax
	jmp	.L2
.L6:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L7
.L15:
	lea	rdx, -16[rbp]
	lea	rax, -24[rbp]
	lea	rsi, mount_opts[rip]
	mov	rdi, rax
	call	getsubopt@PLT
	cmp	eax, 3
	je	.L8
	cmp	eax, 3
	jg	.L9
	cmp	eax, 2
	je	.L10
	cmp	eax, 2
	jg	.L9
	test	eax, eax
	je	.L11
	cmp	eax, 1
	je	.L12
	jmp	.L9
.L11:
	mov	DWORD PTR read_only[rip], 1
	jmp	.L7
.L12:
	mov	DWORD PTR read_only[rip], 0
	jmp	.L7
.L10:
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jne	.L13
	call	abort@PLT
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR read_size[rip], eax
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jne	.L14
	call	abort@PLT
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR write_size[rip], eax
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L7:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	jmp	.L2
.L4:
	call	abort@PLT
.L2:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC5[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L16
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"483008.c"
	.text
	.comm	do_all,4,4
	.comm	type,4,4
	.comm	read_size,4,4
	.comm	write_size,4,4
	.comm	read_only,4,4
	.global	mount_opts
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ro\000"
	.align	2
.LC1:
	.ascii	"rw\000"
	.align	2
.LC2:
	.ascii	"rsize\000"
	.align	2
.LC3:
	.ascii	"wsize\000"
	.data
	.align	2
	.type	mount_opts, %object
	.size	mount_opts, 20
mount_opts:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	0
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Unknown suboption `%s'\012\000"
	.align	2
.LC5:
	.ascii	"at:o:\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #116
	beq	.L3
	ldr	r3, [fp, #-12]
	cmp	r3, #116
	bgt	.L4
	ldr	r3, [fp, #-12]
	cmp	r3, #97
	beq	.L5
	ldr	r3, [fp, #-12]
	cmp	r3, #111
	beq	.L6
	b	.L4
.L5:
	ldr	r3, .L20+4
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L20+8
	ldr	r3, [r3]
	ldr	r2, .L20+12
	str	r3, [r2]
	b	.L2
.L6:
	ldr	r3, .L20+8
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L7
.L16:
	sub	r2, fp, #16
	sub	r3, fp, #20
	ldr	r1, .L20+16
	mov	r0, r3
	bl	getsubopt
	mov	r3, r0
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L13:
	ldr	r3, .L20+20
	mov	r2, #1
	str	r2, [r3]
	b	.L7
.L12:
	ldr	r3, .L20+20
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L14
	bl	abort
.L14:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L20+24
	str	r3, [r2]
	b	.L7
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L15
	bl	abort
.L15:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L20+28
	str	r3, [r2]
	b	.L7
.L8:
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L20+32
	bl	printf
	nop
.L7:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	b	.L2
.L4:
	bl	abort
.L2:
	ldr	r2, .L20+36
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L17
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC6
	.word	do_all
	.word	optarg
	.word	type
	.word	mount_opts
	.word	read_only
	.word	read_size
	.word	write_size
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
