	.file	"extr_dm-mpath.c_parse_path.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no device given"
.LC1:
	.string	"error getting device"
	.text
	.p2align 4
	.type	parse_path, @function
parse_path:
.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
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15, QWORD PTR 16[rdx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	mov	QWORD PTR [rsp], 0
	test	eax, eax
	jle	.L19
	xor	eax, eax
	mov	rbx, rdi
	mov	r14, rsi
	call	alloc_pgpath@PLT
	mov	r12, rax
	test	rax, rax
	je	.L20
	mov	edi, DWORD PTR 8[rbp]
	call	dm_table_get_mode@PLT
	mov	rdi, rbx
	mov	r13d, eax
	call	dm_shift_arg@PLT
	mov	edx, r13d
	mov	rcx, r12
	mov	rdi, rbp
	mov	esi, eax
	call	dm_get_device@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L5
	lea	rax, .LC1[rip]
	mov	QWORD PTR 0[rbp], rax
.L6:
	mov	rdi, r12
	call	free_pgpath@PLT
	mov	edi, r13d
	call	ERR_PTR@PLT
	mov	r12, rax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax]
	call	bdev_get_queue@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rax
	call	scsi_dh_attached_handler_name@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L22
.L7:
	mov	esi, DWORD PTR activate_path_work[rip]
	lea	rdi, 8[r12]
	call	INIT_DELAYED_WORK@PLT
	mov	rax, QWORD PTR [r12]
	mov	rdx, rsp
	mov	rcx, rbp
	mov	rsi, r15
	mov	edi, DWORD PTR [rax]
	call	setup_scsi_dh@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	r13d, eax
	call	kfree@PLT
	test	r13d, r13d
	jne	.L17
.L8:
	mov	rax, QWORD PTR [r14]
	mov	ecx, DWORD PTR 4[rbx]
	mov	r8, rbp
	mov	rsi, r12
	mov	edx, DWORD PTR [rbx]
	mov	rdi, r14
	call	[QWORD PTR [rax]]
	mov	r13d, eax
	test	eax, eax
	je	.L1
.L17:
	mov	rsi, QWORD PTR [r12]
	mov	rdi, rbp
	call	dm_put_device@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rax, .LC0[rip]
	mov	edi, DWORD PTR EINVAL[rip]
	mov	QWORD PTR [rdx], rax
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	QWORD PTR [r15], 0
	je	.L8
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_path, .-parse_path
	.comm	activate_path_work,4,4
	.comm	GFP_KERNEL,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_dm-mpath.c_parse_path.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no device given\000"
	.align	2
.LC1:
	.ascii	"error getting device\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_path, %function
parse_path:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r2
	ldr	r2, [r0]
	sub	sp, sp, #20
	cmp	r2, r3
	ldr	r2, .L26
	ldr	r9, [r5, #8]
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp, #8]
	ble	.L22
	mov	r6, r0
	mov	r8, r1
	bl	alloc_pgpath
	subs	r4, r0, #0
	beq	.L23
	mov	r0, r6
	bl	dm_shift_arg
	mov	r7, r0
	ldr	r0, [r5, #4]
	bl	dm_table_get_mode
	mov	r1, r7
	mov	r2, r0
	mov	r3, r4
	mov	r0, r5
	bl	dm_get_device
	subs	r7, r0, #0
	beq	.L5
	ldr	r3, .L26+4
	str	r3, [r5]
.L6:
	mov	r0, r4
	bl	free_pgpath
	mov	r0, r7
	bl	ERR_PTR
	mov	r4, r0
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	bdev_get_queue
	ldr	r3, .L26+8
	ldr	r1, [r3]
	bl	scsi_dh_attached_handler_name
	cmp	r0, #0
	str	r0, [sp, #8]
	beq	.L25
.L7:
	ldr	r3, .L26+12
	add	r0, r4, #4
	ldr	r1, [r3]
	bl	INIT_DELAYED_WORK
	ldr	r3, [r4]
	mov	r1, r9
	ldr	r0, [r3]
	add	r2, sp, #8
	mov	r3, r5
	bl	setup_scsi_dh
	mov	r7, r0
	ldr	r0, [sp, #8]
	bl	kfree
	cmp	r7, #0
	bne	.L20
.L8:
	ldr	r3, [r8]
	str	r5, [sp]
	ldr	r7, [r3]
	mov	r0, r8
	ldm	r6, {r2, r3}
	mov	r1, r4
	blx	r7
	subs	r7, r0, #0
	beq	.L1
.L20:
	mov	r0, r5
	ldr	r1, [r4]
	bl	dm_put_device
	b	.L6
.L22:
	ldr	r2, .L26+16
	ldr	r3, .L26+20
	ldr	r0, [r2]
	str	r3, [r5]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L1
.L25:
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L8
	b	.L7
.L23:
	ldr	r3, .L26+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L1
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC2
	.word	.LC1
	.word	GFP_KERNEL
	.word	activate_path_work
	.word	EINVAL
	.word	.LC0
	.word	ENOMEM
	.size	parse_path, .-parse_path
	.comm	activate_path_work,4,4
	.comm	GFP_KERNEL,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
