	.file	"extr_md-cluster.c_cluster_check_sync_size.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"can't get bitmap from slot %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"bitmap%04d"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"md-cluster: Cannot initialize %s\n"
	.text
	.p2align 4
	.type	cluster_check_sync_size, @function
cluster_check_sync_size:
.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, 104
	.cfi_def_cfa_offset 160
	mov	r14d, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR md_cluster_ops[rip]
	mov	DWORD PTR 4[rsp], r14d
	call	[QWORD PTR [rax]]
	mov	DWORD PTR [rsp], eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	kmap_atomic@PLT
	mov	rdi, rax
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 8[rsp], rax
	call	kunmap_atomic@PLT
	test	r14d, r14d
	mov	r14d, 0
	jle	.L2
	xor	ebp, ebp
	lea	r13, 16[rsp]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r14, QWORD PTR [rax]
.L9:
	call	kunmap_atomic@PLT
	mov	rdi, r12
	call	md_bitmap_free@PLT
.L3:
	add	ebp, 1
	cmp	DWORD PTR 4[rsp], ebp
	je	.L2
.L10:
	cmp	DWORD PTR [rsp], ebp
	je	.L3
	mov	rdi, rbx
	mov	esi, ebp
	call	get_bitmap_from_slot@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L16
	mov	ecx, ebp
	lea	rdx, .LC1[rip]
	mov	esi, 64
	mov	rdi, r13
	call	snprintf@PLT
	mov	ecx, 1
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbx
	call	lockres_init@PLT
	mov	r15, rax
	test	rax, rax
	je	.L17
	mov	eax, DWORD PTR DLM_LKF_NOQUEUE[rip]
	or	DWORD PTR [r15], eax
	mov	rdi, r15
	mov	esi, DWORD PTR DLM_LOCK_PW[rip]
	call	dlm_lock_sync@PLT
	test	eax, eax
	je	.L18
.L7:
	mov	rdi, r15
	call	lockres_free@PLT
	mov	edi, DWORD PTR [r12]
	call	kmap_atomic@PLT
	mov	rdi, rax
	test	r14, r14
	je	.L19
	cmp	QWORD PTR [rax], r14
	je	.L9
	call	kunmap_atomic@PLT
	mov	rdi, r12
	call	md_bitmap_free@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r12
	call	md_bitmap_update_sb@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	cmp	QWORD PTR 8[rsp], r14
	setne	al
	neg	eax
.L1:
	mov	rdx, QWORD PTR 88[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L20
	add	rsp, 104
	.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
.L16:
	.cfi_restore_state
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	pr_err@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rsi, r13
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pr_err@PLT
	mov	rdi, r12
	call	md_bitmap_free@PLT
	mov	eax, -1
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cluster_check_sync_size, .-cluster_check_sync_size
	.comm	md_cluster_ops,8,8
	.comm	DLM_LOCK_PW,4,4
	.comm	DLM_LKF_NOQUEUE,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_md-cluster.c_cluster_check_sync_size.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't get bitmap from slot %d\012\000"
	.align	2
.LC1:
	.ascii	"bitmap%04d\000"
	.align	2
.LC2:
	.ascii	"md-cluster: Cannot initialize %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cluster_check_sync_size, %function
cluster_check_sync_size:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	ldr	r2, .L21+4
	ldr	r3, [r3]
	mov	r7, r0
	sub	sp, sp, #84
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #76]
	mov	r2,#0
	ldr	r9, [r0, #4]
	blx	r3
	ldr	r3, [r7]
	str	r0, [sp]
	ldr	r0, [r3]
	bl	kmap_atomic
	ldr	r3, [r0]
	mov	r8, #0
	str	r3, [sp, #4]
	bl	kunmap_atomic
	cmp	r9, #0
	ble	.L2
	mov	r4, r8
	ldr	r10, .L21+8
	ldr	fp, .L21+12
	b	.L10
.L19:
	ldr	r8, [r0]
.L9:
	mov	r0, r3
	bl	kunmap_atomic
	mov	r0, r5
	bl	md_bitmap_free
.L3:
	add	r4, r4, #1
	cmp	r9, r4
	beq	.L2
.L10:
	ldr	r3, [sp]
	cmp	r3, r4
	beq	.L3
	mov	r1, r4
	mov	r0, r7
	bl	get_bitmap_from_slot
	mov	r5, r0
	bl	IS_ERR
	subs	r6, r0, #0
	bne	.L16
	mov	r3, r4
	mov	r2, r10
	mov	r1, #64
	add	r0, sp, #12
	bl	snprintf
	mov	r2, r6
	mov	r3, #1
	mov	r0, r7
	add	r1, sp, #12
	bl	lockres_init
	subs	r6, r0, #0
	beq	.L17
	ldr	r3, [r6]
	ldr	r2, [fp]
	orr	r3, r3, r2
	str	r3, [r6]
	ldr	r3, .L21+16
	ldr	r1, [r3]
	bl	dlm_lock_sync
	cmp	r0, #0
	beq	.L18
.L7:
	mov	r0, r6
	bl	lockres_free
	ldr	r0, [r5]
	bl	kmap_atomic
	cmp	r8, #0
	mov	r3, r0
	beq	.L19
	ldr	r2, [r0]
	cmp	r2, r8
	beq	.L9
	bl	kunmap_atomic
	mov	r0, r5
	bl	md_bitmap_free
	mvn	r0, #0
	b	.L1
.L18:
	mov	r0, r5
	bl	md_bitmap_update_sb
	b	.L7
.L2:
	ldr	r3, [sp, #4]
	subs	r0, r3, r8
	mvnne	r0, #0
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r1, r4
	ldr	r0, .L21+20
	bl	pr_err
	mvn	r0, #0
	b	.L1
.L17:
	add	r1, sp, #12
	ldr	r0, .L21+24
	bl	pr_err
	mov	r0, r5
	bl	md_bitmap_free
	mvn	r0, #0
	b	.L1
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	md_cluster_ops
	.word	.LC3
	.word	.LC1
	.word	DLM_LKF_NOQUEUE
	.word	DLM_LOCK_PW
	.word	.LC0
	.word	.LC2
	.size	cluster_check_sync_size, .-cluster_check_sync_size
	.comm	md_cluster_ops,4,4
	.comm	DLM_LOCK_PW,4,4
	.comm	DLM_LKF_NOQUEUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
