	.file	"extr_recvjob.c_chksize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"."
.LC1:
	.string	"statfs(\".\")"
.LC2:
	.string	"%s: %m"
	.text
	.p2align 4
	.type	chksize, @function
chksize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, edi
	lea	rdi, .LC0[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	call	statfs@PLT
	test	rax, rax
	js	.L7
	lea	edi, 1022[rbx]
	add	ebx, 511
	mov	edx, DWORD PTR 4[rsp]
	cmovs	ebx, edi
	lea	eax, 511[rdx]
	sar	ebx, 9
	add	ebx, DWORD PTR minfree[rip]
	test	edx, edx
	cmovns	eax, edx
	sar	eax, 9
	imul	eax, DWORD PTR [rsp]
	cmp	ebx, eax
	setle	al
	movzx	eax, al
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR LOG_ERR[rip]
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	call	syslog@PLT
	mov	eax, 1
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	chksize, .-chksize
	.comm	minfree,4,4
	.comm	LOG_ERR,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_recvjob.c_chksize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	".\000"
	.align	2
.LC1:
	.ascii	"statfs(\".\")\000"
	.align	2
.LC2:
	.ascii	"%s: %m\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	chksize, %function
chksize:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L9
	sub	sp, sp, #16
	mov	r4, r0
	add	r1, sp, #4
	ldr	r0, .L9+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	statfs
	cmp	r0, #0
	blt	.L7
	ldr	r3, [sp, #8]
	add	r2, r4, #508
	add	r0, r3, #508
	cmp	r3, #0
	add	r0, r0, #3
	movlt	r3, r0
	add	r2, r2, #3
	add	r0, r4, #1020
	cmp	r2, #0
	add	r0, r0, #2
	movlt	r2, r0
	ldr	ip, [sp, #4]
	asr	r0, r3, #9
	ldr	r1, .L9+8
	mul	r0, ip, r0
	ldr	r3, [r1]
	add	r2, r3, r2, asr #9
	cmp	r2, r0
	movgt	r0, #0
	movle	r0, #1
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L7:
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r0, [r3]
	ldr	r1, .L9+20
	bl	syslog
	mov	r0, #1
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC0
	.word	minfree
	.word	LOG_ERR
	.word	.LC1
	.word	.LC2
	.size	chksize, .-chksize
	.comm	minfree,4,4
	.comm	LOG_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
