	.file	"extr_util.c_gfs2_icbit_munge.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gfs2_icbit_munge
	.type	gfs2_icbit_munge, @function
gfs2_icbit_munge:
.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	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, 1
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	lea	ecx, 0[0+rax*8]
	mov	eax, edx
	xor	edx, edx
	div	ecx
	lea	r13, [rsi+rax*8]
	mov	ebx, edx
	and	edx, 7
	mov	rax, QWORD PTR 0[r13]
	shr	ebx, 3
	mov	ecx, edx
	sal	ebp, cl
	movzx	eax, BYTE PTR [rax+rbx]
	test	eax, ebp
	sete	sil
	test	r12d, r12d
	sete	al
	xor	esi, eax
	movzx	esi, sil
	call	gfs2_assert_withdraw@PLT
	add	rbx, QWORD PTR 0[r13]
	test	r12d, r12d
	je	.L2
	or	BYTE PTR [rbx], bpl
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L2:
	.cfi_restore_state
	not	ebp
	and	BYTE PTR [rbx], bpl
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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	gfs2_icbit_munge, .-gfs2_icbit_munge
	.comm	PAGE_SIZE,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_util.c_gfs2_icbit_munge.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	gfs2_icbit_munge
	.syntax unified
	.arm
	.fpu softvfp
	.type	gfs2_icbit_munge, %function
gfs2_icbit_munge:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	ldr	r1, .L6
	mov	r9, r0
	ldr	r1, [r1]
	mov	r0, r2
	lsl	r1, r1, #3
	mov	r8, r3
	bl	__aeabi_uidivmod
	mov	r2, #1
	ldr	r3, [r6, r0, lsl #2]
	and	r4, r1, #7
	ldrb	r3, [r3, r1, lsr #3]	@ zero_extendqisi2
	lsl	r4, r2, r4
	tst	r3, r4
	mov	r5, r1
	moveq	r1, r2
	movne	r1, #0
	mov	r7, r0
	cmp	r8, #0
	eoreq	r1, r1, #1
	mov	r0, r9
	bl	gfs2_assert_withdraw
	cmp	r8, #0
	ldrne	r3, [r6, r7, lsl #2]
	ldreq	r1, [r6, r7, lsl #2]
	ldrbne	r1, [r3, r5, lsr #3]	@ zero_extendqisi2
	ldrbeq	r3, [r1, r5, lsr #3]	@ zero_extendqisi2
	lsl	r2, r4, #24
	asr	r2, r2, #24
	orrne	r2, r2, r1
	biceq	r2, r3, r2
	strbne	r2, [r3, r5, lsr #3]
	strbeq	r2, [r1, r5, lsr #3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	PAGE_SIZE
	.size	gfs2_icbit_munge, .-gfs2_icbit_munge
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
