	.file	"extr_journal.c_jbd2_trans_will_send_data_barrier.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	jbd2_trans_will_send_data_barrier
	.type	jbd2_trans_will_send_data_barrier, @function
jbd2_trans_will_send_data_barrier:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR [rdi]
	and	r12d, DWORD PTR JBD2_BARRIER[rip]
	jne	.L16
	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
.L16:
	.cfi_restore_state
	lea	r13, 24[rdi]
	mov	rbx, rdi
	mov	rbp, rsi
	xor	r12d, r12d
	mov	rdi, r13
	call	spin_lock@PLT
	mov	edi, DWORD PTR 40[rbx]
	mov	rsi, rbp
	call	tid_geq@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR 32[rbx]
	mov	r12d, 1
	test	rax, rax
	je	.L3
	cmp	QWORD PTR [rax], rbp
	jne	.L3
	mov	rdx, QWORD PTR 16[rbx]
	cmp	QWORD PTR 8[rbx], rdx
	je	.L4
	mov	r12d, DWORD PTR 16[rax]
	test	r12d, r12d
	je	.L3
	xor	r12d, r12d
	mov	rcx, QWORD PTR T_COMMIT_DFLUSH[rip]
	cmp	QWORD PTR 8[rax], rcx
	setl	r12b
.L3:
	mov	rdi, r13
	call	spin_unlock@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
.L4:
	.cfi_restore_state
	xor	r12d, r12d
	mov	rcx, QWORD PTR T_COMMIT_JFLUSH[rip]
	cmp	QWORD PTR 8[rax], rcx
	setl	r12b
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	jbd2_trans_will_send_data_barrier, .-jbd2_trans_will_send_data_barrier
	.comm	T_COMMIT_JFLUSH,8,8
	.comm	T_COMMIT_DFLUSH,8,8
	.comm	JBD2_BARRIER,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_journal.c_jbd2_trans_will_send_data_barrier.c"
	.text
	.align	2
	.global	jbd2_trans_will_send_data_barrier
	.syntax unified
	.arm
	.fpu softvfp
	.type	jbd2_trans_will_send_data_barrier, %function
jbd2_trans_will_send_data_barrier:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L19
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0]
	ldr	r4, [r2]
	ands	r4, r3, r4
	bne	.L17
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r5, r0
	mov	r6, r1
	add	r7, r0, #12
	mov	r0, r7
	bl	spin_lock
	mov	r1, r6
	ldr	r0, [r5, #20]
	bl	tid_geq
	cmp	r0, #0
	movne	r4, #0
	bne	.L3
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L7
	ldr	r2, [r3]
	cmp	r2, r6
	bne	.L7
	ldmib	r5, {r1, r2}
	cmp	r1, r2
	beq	.L4
	ldr	r4, [r3, #8]
	cmp	r4, #0
	beq	.L3
	ldr	r2, .L19+4
.L15:
	ldr	r4, [r2]
	ldr	r3, [r3, #4]
	cmp	r3, r4
	movge	r4, #0
	movlt	r4, #1
.L3:
	mov	r0, r7
	bl	spin_unlock
.L18:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r7
	mov	r4, #1
	bl	spin_unlock
	b	.L18
.L4:
	ldr	r2, .L19+8
	b	.L15
.L20:
	.align	2
.L19:
	.word	JBD2_BARRIER
	.word	T_COMMIT_DFLUSH
	.word	T_COMMIT_JFLUSH
	.size	jbd2_trans_will_send_data_barrier, .-jbd2_trans_will_send_data_barrier
	.comm	T_COMMIT_JFLUSH,4,4
	.comm	T_COMMIT_DFLUSH,4,4
	.comm	JBD2_BARRIER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
