	.file	"extr_bfq-iosched.c_bfq_allow_bio_merge.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfq_allow_bio_merge, @function
bfq_allow_bio_merge:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rdx]
	mov	rbx, QWORD PTR [rax]
	call	op_is_sync@PLT
	mov	r13, QWORD PTR [rbx]
	test	eax, eax
	jne	.L2
.L5:
	test	r13, r13
	je	.L3
	mov	rdx, r12
	xor	ecx, ecx
	mov	rsi, r13
	mov	rdi, rbx
	call	bfq_setup_cooperator@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
	mov	esi, DWORD PTR 8[rbx]
	mov	rdx, r13
	mov	rcx, rax
	mov	rdi, rbx
	mov	r13, r12
	call	bfq_merge_bfqqs@PLT
	mov	QWORD PTR [rbx], r12
.L7:
	mov	rdi, rbp
	call	RQ_BFQQ@PLT
	cmp	r13, rax
	sete	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	movzx	eax, al
	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
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	rq_is_sync@PLT
	test	eax, eax
	jne	.L5
.L3:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	bfq_allow_bio_merge, .-bfq_allow_bio_merge
	.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_bfq-iosched.c_bfq_allow_bio_merge.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfq_allow_bio_merge, %function
bfq_allow_bio_merge:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r2]
	ldr	r7, [r3]
	mov	r5, r2
	mov	r6, r1
	bl	op_is_sync
	cmp	r0, #0
	ldr	r4, [r7]
	bne	.L2
.L5:
	cmp	r4, #0
	beq	.L3
	mov	r2, r5
	mov	r3, #0
	mov	r1, r4
	mov	r0, r7
	bl	bfq_setup_cooperator
	subs	r5, r0, #0
	beq	.L7
	mov	r2, r4
	mov	r4, r5
	mov	r3, r5
	mov	r0, r7
	ldr	r1, [r7, #4]
	bl	bfq_merge_bfqqs
	str	r5, [r7]
.L7:
	mov	r0, r6
	bl	RQ_BFQQ
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r6
	bl	rq_is_sync
	cmp	r0, #0
	bne	.L5
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	bfq_allow_bio_merge, .-bfq_allow_bio_merge
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
