	.file	"extr_super.c_romfs_statfs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	romfs_statfs, @function
romfs_statfs:
.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	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR [rdi]
	mov	r13, QWORD PTR 8[rdi]
	test	r13, r13
	je	.L2
	mov	rdi, QWORD PTR 0[r13]
.L7:
	call	huge_encode_dev@PLT
	mov	ecx, 32
	mov	rdi, QWORD PTR [r12]
	movsx	r13, eax
	mov	rbp, r13
	sar	ebp, cl
	movsx	rbp, ebp
.L3:
	mov	eax, DWORD PTR ROMFS_MAGIC[rip]
	mov	DWORD PTR 32[rbx], eax
	mov	eax, DWORD PTR ROMFS_MAXFN[rip]
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR ROMBSIZE[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 20[rbx], eax
	mov	DWORD PTR 24[rbx], eax
	call	romfs_maxsize@PLT
	mov	ecx, DWORD PTR ROMBSBITS[rip]
	add	eax, DWORD PTR ROMBSIZE[rip]
	sub	eax, 1
	sar	eax, cl
	mov	DWORD PTR 4[rbx], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR [rax], r13
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rax], rbp
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	mov	r8, QWORD PTR [rdi]
	xor	ebp, ebp
	test	r8, r8
	je	.L3
	mov	rdi, r8
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	romfs_statfs, .-romfs_statfs
	.comm	ROMFS_MAXFN,4,4
	.comm	ROMFS_MAGIC,4,4
	.comm	ROMBSIZE,4,4
	.comm	ROMBSBITS,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_super.c_romfs_statfs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	romfs_statfs, %function
romfs_statfs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r0]
	mov	r4, r1
	ldr	r5, [r0, #4]
	cmp	r5, #0
	beq	.L2
	ldr	r0, [r5]
.L6:
	bl	huge_encode_dev
	mov	r3, #32
	mov	r5, r0
	ldr	r0, [r6]
	asr	r6, r5, r3
.L3:
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r7, .L8+8
	str	r2, [r4, #28]
	str	r3, [r4, #24]
	ldr	r2, [r7]
	ldr	r3, [r4, #12]
	str	r2, [r4]
	str	r3, [r4, #16]
	str	r3, [r4, #20]
	bl	romfs_maxsize
	ldr	r3, [r7]
	ldr	r2, .L8+12
	add	r3, r0, r3
	ldr	r0, [r2]
	sub	r3, r3, #1
	ldr	r2, [r4, #8]
	asr	r3, r3, r0
	str	r3, [r4, #4]
	str	r5, [r2]
	ldr	r3, [r4, #8]
	mov	r0, #0
	str	r6, [r3, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r0]
	cmp	r3, #0
	moveq	r6, r5
	beq	.L3
	mov	r0, r3
	b	.L6
.L9:
	.align	2
.L8:
	.word	ROMFS_MAGIC
	.word	ROMFS_MAXFN
	.word	ROMBSIZE
	.word	ROMBSBITS
	.size	romfs_statfs, .-romfs_statfs
	.comm	ROMFS_MAXFN,4,4
	.comm	ROMFS_MAGIC,4,4
	.comm	ROMBSIZE,4,4
	.comm	ROMBSBITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
