	.file	"extr_quota.c_need_sync.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	need_sync, @function
need_sync:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 8[rdi]
	test	eax, eax
	jne	.L2
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR 16[rdi]
	lea	rdi, qd_lock[rip]
	mov	rbp, QWORD PTR [rax]
	call	spin_lock@PLT
	lea	rdi, qd_lock[rip]
	mov	r13, QWORD PTR [rbx]
	call	spin_unlock@PLT
	lea	r12, 8[rbp]
	mov	rdi, r12
	call	spin_lock@PLT
	mov	rdi, r12
	mov	r15d, DWORD PTR 0[rbp]
	mov	r14d, DWORD PTR 4[rbp]
	call	spin_unlock@PLT
	test	r13, r13
	jns	.L9
.L4:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbx]
	call	be64_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	r12, rax
	call	be64_to_cpu@PLT
	cmp	r12, rax
	jge	.L4
	mov	rdi, rbp
	call	gfs2_jindex_size@PLT
	mov	esi, r14d
	mov	edi, eax
	imul	edi, r15d
	imul	rdi, r13
	call	div_s64@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	rbp, rax
	call	be64_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbx]
	add	rbp, rax
	call	be64_to_cpu@PLT
	cmp	rax, rbp
	setle	al
	movzx	eax, al
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	need_sync, .-need_sync
	.comm	qd_lock,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_quota.c_need_sync.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	need_sync, %function
need_sync:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L2
	mov	r0, #0
	bx	lr
.L2:
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r3, [r0, #12]
	ldr	r0, .L10
	ldr	r5, [r3]
	bl	spin_lock
	add	r6, r5, #8
	ldr	r0, .L10
	ldr	r7, [r4]
	bl	spin_unlock
	mov	r0, r6
	bl	spin_lock
	mov	r0, r6
	ldr	r9, [r5]
	ldr	r8, [r5, #4]
	bl	spin_unlock
	cmp	r7, #0
	bge	.L9
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	ldr	r0, [r4, #8]
	bl	be64_to_cpu
	mov	r6, r0
	ldr	r0, [r4, #4]
	bl	be64_to_cpu
	cmp	r6, r0
	bge	.L4
	mov	r0, r5
	bl	gfs2_jindex_size
	mul	r7, r9, r7
	mov	r1, r8
	mul	r0, r7, r0
	bl	div_s64
	mov	r5, r0
	ldr	r0, [r4, #8]
	bl	be64_to_cpu
	mov	r3, r0
	ldr	r0, [r4, #4]
	add	r5, r5, r3
	bl	be64_to_cpu
	cmp	r0, r5
	movgt	r0, #0
	movle	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	qd_lock
	.size	need_sync, .-need_sync
	.comm	qd_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
