	.file	"958865.c"
	.intel_syntax noprefix
	.text
	.globl	diskAvail
	.type	diskAvail, @function
diskAvail:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -160[rbp], rcx
	mov	QWORD PTR -168[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	statfs@PLT
	test	eax, eax
	jns	.L2
	mov	eax, -1
	jmp	.L10
.L2:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -144[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -112[rbp]
	test	rax, rax
	js	.L4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L5
.L4:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L5:
	mov	rax, QWORD PTR -152[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -104[rbp]
	test	rax, rax
	js	.L6
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L7
.L6:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L7:
	mov	rax, QWORD PTR -160[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -96[rbp]
	test	rax, rax
	js	.L8
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L9
.L8:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L9:
	mov	rax, QWORD PTR -168[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	diskAvail, .-diskAvail
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"958865.c"
	.text
	.global	__aeabi_ui2d
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	diskAvail
	.syntax unified
	.arm
	.fpu softvfp
	.type	diskAvail, %function
diskAvail:
	@ args = 4, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-96]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	statfs
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	mvn	r3, #0
	b	.L4
.L2:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-84]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-88]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-92]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-96]
	stm	r1, {r2-r3}
	mov	r3, #0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	diskAvail, .-diskAvail
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
