	.file	"extr_ct.c_copyfd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fwrite"
	.text
	.p2align 4
	.type	copyfd, @function
copyfd:
.LFB0:
	.cfi_startproc
	endbr64
	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	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 1040
	.cfi_def_cfa_offset 1088
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, r13
	mov	rdx, rbx
	mov	esi, 1
	mov	rdi, rbp
	call	fwrite@PLT
	cmp	rax, rbx
	jne	.L9
.L3:
	mov	edx, 1024
	mov	rsi, rbp
	mov	edi, r12d
	call	read@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR 1032[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 1040
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR errno[rip]
	mov	rdx, r14
	mov	edi, 3
	call	die@PLT
	jmp	.L3
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	copyfd, .-copyfd
	.comm	errno,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_ct.c_copyfd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fwrite\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copyfd, %function
copyfd:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L11
	sub	sp, sp, #1024
	sub	sp, sp, #8
	mov	r6, r0
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #1028]
	mov	r3,#0
	ldr	r8, .L11+4
	ldr	r7, .L11+8
	b	.L3
.L4:
	mov	r3, r6
	mov	r2, r4
	mov	r1, #1
	add	r0, sp, #4
	bl	fwrite
	cmp	r0, r4
	bne	.L9
.L3:
	mov	r2, #1024
	mov	r0, r5
	add	r1, sp, #4
	bl	read
	subs	r4, r0, #0
	bne	.L4
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #1028]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #1024
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r7
	ldr	r1, [r8]
	mov	r0, #3
	bl	die
	b	.L3
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	errno
	.word	.LC0
	.size	copyfd, .-copyfd
	.comm	errno,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
