	.file	"extr_volumes.c_btrfs_num_copies.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btrfs_num_copies
	.type	btrfs_num_copies, @function
btrfs_num_copies:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	read_lock@PLT
	mov	rdx, r13
	mov	rsi, rbx
	mov	rdi, r12
	call	lookup_extent_mapping@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	read_unlock@PLT
	xor	edi, edi
	test	rbp, rbp
	sete	dil
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, 1
	cmp	rax, rbx
	jg	.L2
	add	rax, QWORD PTR 8[rbp]
	xor	edi, edi
	cmp	rax, rbx
	setl	dil
.L2:
	call	BUG_ON@PLT
	mov	rdx, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR BTRFS_BLOCK_GROUP_DUP[rip]
	or	eax, DWORD PTR BTRFS_BLOCK_GROUP_RAID1[rip]
	mov	ecx, DWORD PTR [rdx]
	test	eax, ecx
	je	.L3
	mov	r12d, DWORD PTR 4[rdx]
.L4:
	mov	rdi, rbp
	call	free_extent_map@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L3:
	.cfi_restore_state
	mov	r12d, 1
	test	DWORD PTR BTRFS_BLOCK_GROUP_RAID10[rip], ecx
	je	.L4
	mov	r12d, DWORD PTR 8[rdx]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	btrfs_num_copies, .-btrfs_num_copies
	.comm	BTRFS_BLOCK_GROUP_RAID10,4,4
	.comm	BTRFS_BLOCK_GROUP_RAID1,4,4
	.comm	BTRFS_BLOCK_GROUP_DUP,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_btrfs_num_copies.c"
	.text
	.align	2
	.global	btrfs_num_copies
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_num_copies, %function
btrfs_num_copies:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r2
	mov	r6, r0
	bl	read_lock
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	lookup_extent_mapping
	mov	r4, r0
	mov	r0, r6
	bl	read_unlock
	clz	r0, r4
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, [r4]
	cmp	r3, r5
	movgt	r0, #1
	bgt	.L2
	ldr	r0, [r4, #4]
	add	r3, r3, r0
	cmp	r3, r5
	movge	r0, #0
	movlt	r0, #1
.L2:
	bl	BUG_ON
	ldr	r1, .L9
	ldr	r3, .L9+4
	ldr	r2, [r4, #8]
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	orr	r3, r3, r0
	tst	r3, r1
	beq	.L3
	ldr	r5, [r2, #4]
.L4:
	mov	r0, r4
	bl	free_extent_map
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	tst	r1, r3
	moveq	r5, #1
	ldrne	r5, [r2, #8]
	b	.L4
.L10:
	.align	2
.L9:
	.word	BTRFS_BLOCK_GROUP_RAID1
	.word	BTRFS_BLOCK_GROUP_DUP
	.word	BTRFS_BLOCK_GROUP_RAID10
	.size	btrfs_num_copies, .-btrfs_num_copies
	.comm	BTRFS_BLOCK_GROUP_RAID10,4,4
	.comm	BTRFS_BLOCK_GROUP_RAID1,4,4
	.comm	BTRFS_BLOCK_GROUP_DUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
