	.file	"extr_testserv.c_writefull.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"write"
	.text
	.p2align 4
	.type	writefull, @function
writefull:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	je	.L10
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movsx	rax, ebx
	add	r12, rax
	sub	ebp, ebx
	je	.L14
.L4:
	mov	edx, ebp
	mov	rsi, r12
	mov	edi, r13d
	call	write@PLT
	mov	ebx, eax
	cmp	eax, -1
	jne	.L3
	mov	rdi, r14
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	movsx	rax, ebx
	add	r12, rax
	sub	ebp, ebx
	jne	.L4
.L14:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.cfi_endproc
.LFE0:
	.size	writefull, .-writefull
	.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_testserv.c_writefull.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"write\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	writefull, %function
writefull:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r2, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r7, r0
	mov	r6, r1
	ldr	r8, .L11
	b	.L4
.L3:
	subs	r5, r5, r4
	add	r6, r6, r4
	popeq	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r2, r5
	mov	r1, r6
	mov	r0, r7
	bl	write
	cmn	r0, #1
	mov	r4, r0
	bne	.L3
	mov	r0, r8
	bl	perror
	mov	r0, #1
	bl	exit
	b	.L3
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	writefull, .-writefull
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
