	.file	"extr_quotacheck.c_setinodebuf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bad inode number %ju to setinodebuf"
	.align 8
.LC1:
	.string	"cannot allocate space for inode buffer"
	.text
	.p2align 4
	.globl	setinodebuf
	.type	setinodebuf, @function
setinodebuf:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edi
	mov	ecx, DWORD PTR sblock[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	cdq
	idiv	ecx
	test	edx, edx
	jne	.L13
.L2:
	lea	eax, -1[rcx+r12]
	cmp	QWORD PTR inodebuf[rip], 0
	mov	DWORD PTR nextino[rip], r12d
	mov	DWORD PTR lastvalidinum[rip], eax
	mov	DWORD PTR lastinum[rip], r12d
	mov	QWORD PTR readcnt[rip], 0
	je	.L14
.L1:
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, edi
	lea	rsi, .LC0[rip]
	mov	edi, 1
	xor	eax, eax
	call	errx@PLT
	mov	ecx, DWORD PTR sblock[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR INOBUFSIZE[rip]
	lea	rdi, sblock[rip]
	call	blkroundup@PLT
	movsx	rcx, eax
	mov	eax, DWORD PTR sblock[rip]
	mov	DWORD PTR inobufsize[rip], ecx
	mov	rdi, rcx
	shr	rcx, 2
	cdq
	mov	DWORD PTR fullcnt[rip], ecx
	idiv	ecx
	lea	esi, 0[0+rdx*4]
	mov	DWORD PTR readpercg[rip], eax
	mov	DWORD PTR partialcnt[rip], edx
	mov	DWORD PTR partialsize[rip], esi
	test	edx, edx
	jne	.L15
	mov	DWORD PTR partialcnt[rip], ecx
	mov	DWORD PTR partialsize[rip], edi
.L6:
	call	malloc@PLT
	mov	QWORD PTR inodebuf[rip], rax
	test	rax, rax
	jne	.L1
	lea	rsi, .LC1[rip]
	mov	edi, 1
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	errx@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	add	eax, 1
	mov	DWORD PTR readpercg[rip], eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	setinodebuf, .-setinodebuf
	.comm	sblock,16,16
	.comm	readpercg,4,4
	.comm	readcnt,8,8
	.comm	partialsize,4,4
	.comm	partialcnt,4,4
	.comm	nextino,4,4
	.comm	lastvalidinum,4,4
	.comm	lastinum,4,4
	.comm	inodebuf,8,8
	.comm	inobufsize,4,4
	.comm	fullcnt,4,4
	.comm	INOBUFSIZE,4,4
	.comm	FS_UFS1_MAGIC,8,8
	.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_quotacheck.c_setinodebuf.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad inode number %ju to setinodebuf\000"
	.align	2
.LC1:
	.ascii	"cannot allocate space for inode buffer\000"
	.text
	.align	2
	.global	setinodebuf
	.syntax unified
	.arm
	.fpu softvfp
	.type	setinodebuf, %function
setinodebuf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L14
	mov	r5, r0
	ldr	r4, [r6]
	mov	r1, r4
	bl	__aeabi_idivmod
	cmp	r1, #0
	bne	.L13
.L2:
	mov	r1, #0
	ldr	r3, .L14+4
	ldr	r7, .L14+8
	add	r4, r5, r4
	sub	r4, r4, #1
	str	r4, [r3]
	ldr	r2, [r7]
	ldr	r3, .L14+12
	cmp	r2, r1
	str	r1, [r3]
	ldr	r2, .L14+16
	ldr	r3, .L14+20
	str	r5, [r2]
	str	r5, [r3]
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L14+24
	ldr	r0, .L14
	ldr	r1, [r3]
	bl	blkroundup
	mov	r4, r0
	ldr	r2, .L14+28
	ldr	r3, .L14+32
	lsr	r5, r0, #2
	str	r4, [r2]
	ldr	r0, [r6]
	str	r5, [r3]
	mov	r1, r5
	bl	__aeabi_idivmod
	ldr	r3, .L14+36
	lsl	ip, r1, #2
	str	ip, [r3]
	ldr	ip, .L14+40
	cmp	r1, #0
	str	r0, [ip]
	ldr	r2, .L14+44
	addne	r0, r0, #1
	strne	r0, [ip]
	mov	r0, r4
	str	r1, [r2]
	streq	r4, [r3]
	streq	r5, [r2]
	bl	malloc
	cmp	r0, #0
	str	r0, [r7]
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L14+48
	b	errx
.L13:
	mov	r2, r5
	mov	r0, #1
	ldr	r1, .L14+52
	bl	errx
	ldr	r4, [r6]
	b	.L2
.L15:
	.align	2
.L14:
	.word	sblock
	.word	lastvalidinum
	.word	inodebuf
	.word	readcnt
	.word	nextino
	.word	lastinum
	.word	INOBUFSIZE
	.word	inobufsize
	.word	fullcnt
	.word	partialsize
	.word	readpercg
	.word	partialcnt
	.word	.LC1
	.word	.LC0
	.size	setinodebuf, .-setinodebuf
	.comm	sblock,8,4
	.comm	readpercg,4,4
	.comm	readcnt,4,4
	.comm	partialsize,4,4
	.comm	partialcnt,4,4
	.comm	nextino,4,4
	.comm	lastvalidinum,4,4
	.comm	lastinum,4,4
	.comm	inodebuf,4,4
	.comm	inobufsize,4,4
	.comm	fullcnt,4,4
	.comm	INOBUFSIZE,4,4
	.comm	FS_UFS1_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
