	.file	"extr_volumes.c_alloc_fs_devices.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alloc_fs_devices, @function
alloc_fs_devices:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	mov	esi, DWORD PTR GFP_KERNEL[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
	mov	edi, 24
	call	kzalloc@PLT
	test	rax, rax
	je	.L9
	mov	r12, rax
	lea	rdi, 20[rax]
	call	mutex_init@PLT
	lea	rdi, 16[r12]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 12[r12]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 8[r12]
	call	INIT_LIST_HEAD@PLT
	test	rbp, rbp
	je	.L3
	mov	edi, DWORD PTR 4[r12]
	mov	edx, DWORD PTR BTRFS_FSID_SIZE[rip]
	mov	rsi, rbp
	call	memcpy@PLT
	test	r13, r13
	je	.L4
.L6:
	mov	edi, DWORD PTR [r12]
	mov	edx, DWORD PTR BTRFS_FSID_SIZE[rip]
	mov	rsi, r13
	call	memcpy@PLT
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L3:
	.cfi_restore_state
	test	r13, r13
	jne	.L6
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR [r12]
	mov	edx, DWORD PTR BTRFS_FSID_SIZE[rip]
	mov	rsi, rbp
	call	memcpy@PLT
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	alloc_fs_devices, .-alloc_fs_devices
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	BTRFS_FSID_SIZE,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_volumes.c_alloc_fs_devices.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc_fs_devices, %function
alloc_fs_devices:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	mov	r0, #24
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L10
	add	r0, r4, #20
	bl	mutex_init
	add	r0, r4, #16
	bl	INIT_LIST_HEAD
	add	r0, r4, #12
	bl	INIT_LIST_HEAD
	add	r0, r4, #8
	bl	INIT_LIST_HEAD
	cmp	r5, #0
	beq	.L3
	ldr	r7, .L11+4
	mov	r1, r5
	ldr	r2, [r7]
	ldr	r0, [r4, #4]
	bl	memcpy
	cmp	r6, #0
	beq	.L4
.L6:
	mov	r1, r6
	ldr	r2, [r7]
	ldr	r0, [r4]
	bl	memcpy
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	cmp	r6, #0
	beq	.L1
	ldr	r7, .L11+4
	b	.L6
.L4:
	mov	r1, r5
	ldr	r2, [r7]
	ldr	r0, [r4]
	bl	memcpy
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+8
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	BTRFS_FSID_SIZE
	.word	ENOMEM
	.size	alloc_fs_devices, .-alloc_fs_devices
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	BTRFS_FSID_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
