	.file	"extr_do_mounts.c_name_to_dev_t.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/dev/"
.LC1:
	.string	"%u:%u%c"
.LC2:
	.string	"%u:%u:%u:%c"
.LC3:
	.string	"nfs"
.LC4:
	.string	"ram"
	.text
	.p2align 4
	.globl	name_to_dev_t
	.type	name_to_dev_t, @function
name_to_dev_t:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 5
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	strncmp@PLT
	test	rax, rax
	je	.L2
	lea	rbx, 11[rsp]
	lea	r13, 16[rsp]
	xor	eax, eax
	mov	rdi, rbp
	lea	r12, 12[rsp]
	mov	r8, rbx
	mov	rcx, r13
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	call	sscanf@PLT
	cmp	eax, 2
	je	.L6
	xor	eax, eax
	mov	r9, rbx
	lea	r8, 20[rsp]
	mov	rcx, r13
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	cmp	eax, 3
	jne	.L41
.L6:
	mov	edi, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR 16[rsp]
	call	MKDEV@PLT
	mov	rdi, rax
	mov	r12, rax
	call	MAJOR@PLT
	cmp	eax, DWORD PTR 12[rsp]
	je	.L42
.L18:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rbp, 5
	lea	rsi, .LC3[rip]
	mov	r12, QWORD PTR Root_NFS[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	je	.L1
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	mov	r12, QWORD PTR Root_RAM0[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	strlen@PLT
	cmp	eax, 31
	jg	.L18
	lea	r13, 32[rsp]
	mov	rsi, rbp
	mov	rdi, r13
	call	strcpy@PLT
	movzx	eax, BYTE PTR 32[rsp]
	mov	QWORD PTR 24[rsp], r13
	mov	rdx, r13
	test	al, al
	je	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	al, 47
	jne	.L13
	mov	BYTE PTR [rdx], 33
.L13:
	mov	rax, QWORD PTR 24[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR 24[rsp], rdx
	movzx	eax, BYTE PTR 1[rax]
	test	al, al
	jne	.L11
.L14:
	xor	esi, esi
	mov	rdi, r13
	call	blk_lookup_devt@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L1
	mov	rdi, QWORD PTR 24[rsp]
	cmp	rdi, r13
	ja	.L15
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR 24[rsp]
	lea	rdi, -1[rax]
	mov	QWORD PTR 24[rsp], rdi
	cmp	rdi, r13
	jbe	.L16
.L15:
	movsx	edi, BYTE PTR -1[rdi]
	call	isdigit@PLT
	test	rax, rax
	jne	.L17
	mov	rdi, QWORD PTR 24[rsp]
.L16:
	cmp	rdi, r13
	je	.L18
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 48
	je	.L18
	test	al, al
	je	.L18
	mov	edx, 10
	xor	esi, esi
	call	simple_strtoul@PLT
	mov	rdi, r13
	mov	ebp, eax
	mov	rax, QWORD PTR 24[rsp]
	mov	esi, ebp
	mov	BYTE PTR [rax], 0
	call	blk_lookup_devt@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR 24[rsp]
	lea	rdx, 34[rsp]
	cmp	rax, rdx
	jb	.L18
	movsx	edi, BYTE PTR -2[rax]
	call	isdigit@PLT
	test	rax, rax
	je	.L18
	mov	rax, QWORD PTR 24[rsp]
	cmp	BYTE PTR -1[rax], 112
	jne	.L18
	mov	BYTE PTR -1[rax], 0
	mov	esi, ebp
	mov	rdi, r13
	call	blk_lookup_devt@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	lea	rsi, 24[rsp]
	mov	edx, 16
	mov	rdi, rbp
	call	simple_strtoul@PLT
	mov	edi, eax
	call	new_decode_dev@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 24[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L1
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rdi, r12
	call	MINOR@PLT
	cmp	eax, DWORD PTR 16[rsp]
	jne	.L18
	jmp	.L1
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	name_to_dev_t, .-name_to_dev_t
	.comm	match_dev_by_label,4,4
	.comm	block_class,4,4
	.comm	Root_RAM0,8,8
	.comm	Root_NFS,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_do_mounts.c_name_to_dev_t.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/dev/\000"
	.align	2
.LC1:
	.ascii	"%u:%u%c\000"
	.align	2
.LC2:
	.ascii	"%u:%u:%u:%c\000"
	.align	2
.LC3:
	.ascii	"nfs\000"
	.align	2
.LC4:
	.ascii	"ram\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	name_to_dev_t
	.syntax unified
	.arm
	.fpu softvfp
	.type	name_to_dev_t, %function
name_to_dev_t:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L45
	sub	sp, sp, #68
	mov	r2, #5
	ldr	r1, .L45+4
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	mov	r5, r0
	bl	strncmp
	subs	r4, r0, #0
	bne	.L38
	add	r5, r5, #5
	mov	r0, r5
	ldr	r1, .L45+8
	bl	strcmp
	cmp	r0, #0
	beq	.L39
	mov	r0, r5
	ldr	r1, .L45+12
	bl	strcmp
	cmp	r0, #0
	beq	.L40
	mov	r0, r5
	bl	strlen
	cmp	r0, #31
	bgt	.L1
	add	r6, sp, #28
	mov	r1, r5
	mov	r0, r6
	bl	strcpy
	ldrb	r3, [sp, #28]	@ zero_extendqisi2
	str	r6, [sp, #12]
	cmp	r3, #0
	movne	r2, r6
	movne	r1, #33
	beq	.L16
.L13:
	cmp	r3, #47
	strbeq	r1, [r2]
	ldr	r3, [sp, #12]
	add	r2, r3, #1
	str	r2, [sp, #12]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
.L16:
	mov	r1, #0
	mov	r0, r6
	bl	blk_lookup_devt
	cmp	r0, #0
	bne	.L41
	ldr	r0, [sp, #12]
	cmp	r0, r6
	bhi	.L17
	b	.L18
.L19:
	sub	r0, r0, #1
	cmp	r0, r6
	str	r0, [sp, #12]
	bls	.L18
.L17:
	ldrb	r0, [r0, #-1]	@ zero_extendqisi2
	bl	isdigit
	cmp	r0, #0
	ldr	r0, [sp, #12]
	bne	.L19
.L18:
	cmp	r0, r6
	beq	.L1
	ldrb	r1, [r0]	@ zero_extendqisi2
	cmp	r1, #0
	cmpne	r1, #48
	moveq	r5, #1
	movne	r5, #0
	beq	.L1
	mov	r1, r5
	mov	r2, #10
	bl	simple_strtoul
	ldr	r3, [sp, #12]
	mov	r1, r0
	strb	r5, [r3]
	mov	r7, r0
	mov	r0, r6
	bl	blk_lookup_devt
	subs	r5, r0, #0
	movne	r4, r5
	bne	.L1
	ldr	r3, [sp, #12]
	add	r2, sp, #30
	cmp	r3, r2
	bcc	.L1
	ldrb	r0, [r3, #-2]	@ zero_extendqisi2
	bl	isdigit
	cmp	r0, #0
	beq	.L1
	ldr	r3, [sp, #12]
	ldrb	r2, [r3, #-1]	@ zero_extendqisi2
	cmp	r2, #112
	bne	.L1
	mov	r1, r7
	mov	r0, r6
	strb	r5, [r3, #-1]
	bl	blk_lookup_devt
	mov	r4, r0
	b	.L1
.L39:
	ldr	r3, .L45+16
	ldr	r4, [r3]
.L1:
	ldr	r3, .L45
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	mov	r0, r4
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L38:
	add	r4, sp, #11
	mov	r0, r5
	ldr	r1, .L45+20
	add	r3, sp, #20
	add	r2, sp, #16
	str	r4, [sp]
	bl	sscanf
	cmp	r0, #2
	beq	.L6
	add	r1, sp, #24
	str	r1, [sp]
	mov	r0, r5
	ldr	r1, .L45+24
	str	r4, [sp, #4]
	add	r3, sp, #20
	add	r2, sp, #16
	bl	sscanf
	cmp	r0, #3
	bne	.L43
.L6:
	ldr	r1, [sp, #20]
	ldr	r0, [sp, #16]
	bl	MKDEV
	mov	r4, r0
	bl	MAJOR
	ldr	r3, [sp, #16]
	cmp	r0, r3
	beq	.L44
.L4:
	mov	r4, #0
	b	.L1
.L43:
	mov	r2, #16
	add	r1, sp, #12
	mov	r0, r5
	bl	simple_strtoul
	bl	new_decode_dev
	ldr	r3, [sp, #12]
	mov	r4, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
	b	.L4
.L44:
	mov	r0, r4
	bl	MINOR
	ldr	r3, [sp, #20]
	cmp	r0, r3
	bne	.L4
	b	.L1
.L40:
	ldr	r3, .L45+28
	ldr	r4, [r3]
	b	.L1
.L41:
	mov	r4, r0
	b	.L1
.L42:
	bl	__stack_chk_fail
.L46:
	.align	2
.L45:
	.word	.LC5
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	Root_NFS
	.word	.LC1
	.word	.LC2
	.word	Root_RAM0
	.size	name_to_dev_t, .-name_to_dev_t
	.comm	match_dev_by_label,4,4
	.comm	block_class,4,4
	.comm	Root_RAM0,4,4
	.comm	Root_NFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
