	.file	"extr_quota.c_bh_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bh_get, @function
bh_get:
.LFB0:
	.cfi_startproc
	endbr64
	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, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 24[rdi]
	mov	r13, QWORD PTR [rax]
	mov	edi, DWORD PTR 8[r13]
	lea	r14, 4[r13]
	call	GFS2_I@PLT
	pxor	xmm0, xmm0
	mov	rdi, r14
	mov	QWORD PTR 32[rsp], 0
	mov	rbp, rax
	movaps	XMMWORD PTR 16[rsp], xmm0
	call	mutex_lock@PLT
	mov	eax, DWORD PTR 4[rbx]
	lea	edx, 1[rax]
	mov	DWORD PTR 4[rbx], edx
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR [rbx]
	xor	edx, edx
	mov	edi, DWORD PTR 4[rbp]
	div	DWORD PTR 0[r13]
	mov	r12d, eax
	mov	r15d, edx
	call	BIT@PLT
	mov	esi, r12d
	lea	rdx, 16[rsp]
	xor	ecx, ecx
	lea	rdi, 4[rbp]
	mov	DWORD PTR 28[rsp], eax
	call	gfs2_block_map@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L4:
	sub	DWORD PTR 4[rbx], 1
	mov	rdi, r14
	call	mutex_unlock@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR DIO_WAIT[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	r8, 8[rsp]
	xor	ecx, ecx
	mov	esi, DWORD PTR 24[rsp]
	call	gfs2_meta_read@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	edx, DWORD PTR GFS2_METATYPE_QC[rip]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r13
	mov	ebp, DWORD PTR EIO[rip]
	call	gfs2_metatype_check@PLT
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r14
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR 16[rbx], rax
	mov	eax, r15d
	lea	rax, 4[rdx+rax*4]
	mov	QWORD PTR 8[rbx], rax
	call	mutex_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r14
	xor	r12d, r12d
	call	mutex_unlock@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR 8[rsp]
	neg	ebp
	mov	r12d, ebp
	call	brelse@PLT
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bh_get, .-bh_get
	.comm	GFS2_METATYPE_QC,4,4
	.comm	EIO,4,4
	.comm	DIO_WAIT,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_bh_get.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bh_get, %function
bh_get:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #16]
	ldr	r2, .L13
	ldr	r7, [r3]
	sub	sp, sp, #36
	mov	r5, r0
	ldr	r0, [r7, #8]
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	bl	GFS2_I
	mov	r4, #0
	add	r8, r7, #4
	mov	r6, r0
	mov	r0, r8
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	bl	mutex_lock
	ldr	r10, [r5, #4]
	add	r2, r10, #1
	cmp	r10, r4
	str	r2, [r5, #4]
	bne	.L9
	ldr	r1, [r7]
	ldr	r0, [r5]
	bl	__aeabi_uidivmod
	mov	fp, r6
	mov	r4, r0
	ldr	r0, [fp, #4]!
	mov	r9, r1
	bl	BIT
	mov	ip, r0
	mov	r1, r4
	mov	r0, fp
	mov	r3, r10
	add	r2, sp, #12
	str	ip, [sp, #20]
	bl	gfs2_block_map
	subs	r4, r0, #0
	beq	.L10
.L4:
	ldr	r3, [r5, #4]
	mov	r0, r8
	sub	r3, r3, #1
	str	r3, [r5, #4]
	bl	mutex_unlock
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r2, .L13+4
	add	r1, sp, #8
	mov	r3, r4
	ldr	r0, [r6]
	ldr	r2, [r2]
	str	r1, [sp]
	ldr	r1, [sp, #16]
	bl	gfs2_meta_read
	subs	r4, r0, #0
	bne	.L4
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	mov	r0, r7
	ldr	r2, [r2]
	ldr	r1, [sp, #8]
	ldr	r6, [r3]
	bl	gfs2_metatype_check
	subs	r4, r0, #0
	bne	.L12
	ldr	r3, [sp, #8]
	mov	r0, r8
	ldr	r1, [r3]
	str	r3, [r5, #12]
	add	r1, r1, #4
	add	r9, r1, r9, lsl #2
	str	r9, [r5, #8]
	bl	mutex_unlock
	b	.L1
.L9:
	mov	r0, r8
	bl	mutex_unlock
	b	.L1
.L12:
	ldr	r0, [sp, #8]
	rsb	r4, r6, #0
	bl	brelse
	b	.L4
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	DIO_WAIT
	.word	GFS2_METATYPE_QC
	.word	EIO
	.size	bh_get, .-bh_get
	.comm	GFS2_METATYPE_QC,4,4
	.comm	EIO,4,4
	.comm	DIO_WAIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
