	.file	"extr_configfs.c_nvmet_ns_device_path_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	nvmet_ns_device_path_store, @function
nvmet_ns_device_path_store:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	to_nvmet_ns@PLT
	mov	r14, QWORD PTR 16[rax]
	mov	rbx, rax
	mov	rdi, r14
	call	mutex_lock@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L2
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	strcspn@PLT
	mov	r15, rax
	test	rax, rax
	jne	.L3
	mov	ebp, DWORD PTR EINVAL[rip]
	neg	ebp
.L4:
	mov	rdi, r14
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movsx	rax, ebp
	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
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	kfree@PLT
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rsi, r15
	mov	rdi, r13
	mov	ebp, DWORD PTR ENOMEM[rip]
	call	kstrndup@PLT
	mov	DWORD PTR [rbx], eax
	test	eax, eax
	jne	.L5
	neg	ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ebp, DWORD PTR EBUSY[rip]
	neg	ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r14
	call	mutex_unlock@PLT
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	nvmet_ns_device_path_store, .-nvmet_ns_device_path_store
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_configfs.c_nvmet_ns_device_path_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvmet_ns_device_path_store, %function
nvmet_ns_device_path_store:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r8, r2
	bl	to_nvmet_ns
	mov	r5, r0
	ldr	r7, [r0, #8]
	mov	r0, r7
	bl	mutex_lock
	ldr	r3, [r5, #4]
	cmp	r3, #0
	bne	.L2
	mov	r0, r6
	ldr	r1, .L9
	bl	strcspn
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
.L4:
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r0, [r5]
	bl	kfree
	ldr	r2, .L9+8
	ldr	r3, .L9+12
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [r2]
	ldr	r4, [r3]
	bl	kstrndup
	cmp	r0, #0
	str	r0, [r5]
	rsbeq	r4, r4, #0
	beq	.L4
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L4
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	EINVAL
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	EBUSY
	.size	nvmet_ns_device_path_store, .-nvmet_ns_device_path_store
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
