	.file	"extr_archive_read_extract2.c_copy_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.type	copy_data, @function
copy_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	__archive_read_get_extract@PLT
	test	rax, rax
	je	.L11
	mov	rbx, rax
	lea	r15, 20[rsp]
	lea	r14, 32[rsp]
	lea	r13, 24[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	DWORD PTR ARCHIVE_OK[rip], eax
	jne	.L1
	mov	ecx, DWORD PTR 20[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	mov	rdi, r12
	mov	rsi, QWORD PTR 24[rsp]
	call	archive_write_data_block@PLT
	cmp	DWORD PTR ARCHIVE_WARN[rip], eax
	mov	r8d, eax
	cmovge	r8d, DWORD PTR ARCHIVE_WARN[rip]
	cmp	DWORD PTR ARCHIVE_OK[rip], r8d
	jg	.L14
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	jne	.L15
.L6:
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, rbp
	call	archive_read_data_block@PLT
	cmp	DWORD PTR ARCHIVE_EOF[rip], eax
	mov	r8d, eax
	jne	.L4
	mov	r8d, DWORD PTR ARCHIVE_OK[rip]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], r8d
	call	archive_error_string@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	archive_errno@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	mov	esi, eax
	call	archive_set_error@PLT
	mov	r8d, DWORD PTR 12[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR [rbx]
	call	rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r8d, DWORD PTR ARCHIVE_FATAL[rip]
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	copy_data, .-copy_data
	.comm	ARCHIVE_WARN,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FATAL,4,4
	.comm	ARCHIVE_EOF,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_archive_read_extract2.c_copy_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_data, %function
copy_data:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L17
	sub	sp, sp, #16
	mov	r8, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r7, r0
	bl	__archive_read_get_extract
	subs	r6, r0, #0
	beq	.L11
	ldr	r9, .L17+4
	ldr	r5, .L17+8
	ldr	r10, .L17+12
	b	.L6
.L4:
	ldr	r3, [r5]
	cmp	r3, r0
	bne	.L1
	ldmib	sp, {r1, r2}
	ldr	r3, [sp]
	mov	r0, r8
	bl	archive_write_data_block
	ldr	r3, [r10]
	ldr	r2, [r5]
	cmp	r0, r3
	movge	r4, r0
	movlt	r4, r3
	cmp	r2, r4
	bgt	.L14
	ldr	r3, [r6, #4]
	cmp	r3, #0
	bne	.L15
.L6:
	mov	r3, sp
	mov	r0, r7
	add	r2, sp, #8
	add	r1, sp, #4
	bl	archive_read_data_block
	ldr	r3, [r9]
	mov	r4, r0
	cmp	r3, r0
	bne	.L4
	ldr	r4, [r5]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	mov	r0, r8
	bl	archive_errno
	mov	r5, r0
	mov	r0, r8
	bl	archive_error_string
	mov	r1, r5
	mov	r3, r0
	ldr	r2, .L17+16
	mov	r0, r7
	bl	archive_set_error
	b	.L1
.L15:
	ldr	r0, [r6]
	blx	r3
	b	.L6
.L11:
	ldr	r3, .L17+20
	ldr	r4, [r3]
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	ARCHIVE_EOF
	.word	ARCHIVE_OK
	.word	ARCHIVE_WARN
	.word	.LC0
	.word	ARCHIVE_FATAL
	.size	copy_data, .-copy_data
	.comm	ARCHIVE_WARN,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FATAL,4,4
	.comm	ARCHIVE_EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
