	.file	"extr_dev-replace.c_btrfs_bio_counter_inc_blocked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btrfs_bio_counter_inc_blocked
	.type	btrfs_bio_counter_inc_blocked, @function
btrfs_bio_counter_inc_blocked:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rbp, 8[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbx
	call	btrfs_bio_counter_dec@PLT
	mov	edi, DWORD PTR BTRFS_FS_STATE_DEV_REPLACING[rip]
	mov	rsi, rbx
	call	test_bit@PLT
	xor	esi, esi
	mov	edi, DWORD PTR 4[rbx]
	test	eax, eax
	sete	sil
	call	wait_event@PLT
.L3:
	mov	rdi, rbp
	call	percpu_counter_inc@PLT
	mov	edi, DWORD PTR BTRFS_FS_STATE_DEV_REPLACING[rip]
	mov	rsi, rbx
	call	test_bit@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	likely@PLT
	test	rax, rax
	je	.L6
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	btrfs_bio_counter_inc_blocked, .-btrfs_bio_counter_inc_blocked
	.comm	BTRFS_FS_STATE_DEV_REPLACING,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_dev-replace.c_btrfs_bio_counter_inc_blocked.c"
	.text
	.align	2
	.global	btrfs_bio_counter_inc_blocked
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_bio_counter_inc_blocked, %function
btrfs_bio_counter_inc_blocked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r5, .L6
	add	r7, r0, #8
.L3:
	mov	r0, r7
	bl	percpu_counter_inc
	mov	r1, r4
	ldr	r0, [r5]
	bl	test_bit
	clz	r0, r0
	lsr	r0, r0, #5
	bl	likely
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	btrfs_bio_counter_dec
	mov	r1, r4
	ldr	r0, [r5]
	ldr	r6, [r4, #4]
	bl	test_bit
	clz	r1, r0
	mov	r0, r6
	lsr	r1, r1, #5
	bl	wait_event
	b	.L3
.L7:
	.align	2
.L6:
	.word	BTRFS_FS_STATE_DEV_REPLACING
	.size	btrfs_bio_counter_inc_blocked, .-btrfs_bio_counter_inc_blocked
	.comm	BTRFS_FS_STATE_DEV_REPLACING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
