	.file	"extr_write.c_write_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"a "
.LC1:
	.string	": %s"
.LC2:
	.string	"%s: %s"
	.text
	.p2align 4
	.type	write_entry, @function
write_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	mov	rsi, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, rbp
	call	archive_write_header@PLT
	cmp	DWORD PTR ARCHIVE_OK[rip], eax
	mov	ebx, eax
	je	.L2
	cmp	DWORD PTR 0[r13], 1
	jg	.L14
	mov	rdi, rbp
	je	.L15
	call	archive_error_string@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	call	fprintf@PLT
.L2:
	cmp	DWORD PTR ARCHIVE_FATAL[rip], ebx
	je	.L16
.L5:
	cmp	DWORD PTR ARCHIVE_WARN[rip], ebx
	jle	.L17
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	safe_fprintf@PLT
	mov	esi, DWORD PTR stderr[rip]
	mov	rdx, r12
	mov	rdi, r13
	call	list_item_verbose@PLT
	mov	rdi, rbp
	call	archive_error_string@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	xor	eax, eax
	call	lafe_warnc@PLT
	cmp	DWORD PTR ARCHIVE_FATAL[rip], ebx
	jne	.L5
.L16:
	mov	edi, 1
	call	exit@PLT
	cmp	DWORD PTR ARCHIVE_WARN[rip], ebx
	jg	.L1
.L17:
	mov	rdi, r12
	call	archive_entry_size@PLT
	test	rax, rax
	jle	.L1
	mov	edx, DWORD PTR 4[r13]
	mov	rcx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	copy_file_data_block@PLT
	test	rax, rax
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, 1
	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
	jmp	exit@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	call	archive_error_string@PLT
	mov	rdi, r12
	mov	r14, rax
	call	archive_entry_pathname@PLT
	mov	rcx, r14
	lea	rsi, .LC2[rip]
	xor	edi, edi
	movsx	rdx, eax
	xor	eax, eax
	call	lafe_warnc@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	write_entry, .-write_entry
	.comm	stderr,4,4
	.comm	ARCHIVE_WARN,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FATAL,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_write.c_write_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"a \000"
	.align	2
.LC1:
	.ascii	": %s\000"
	.align	2
.LC2:
	.ascii	"%s: %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_entry, %function
write_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	mov	r1, r2
	mov	r0, r6
	mov	r5, r2
	bl	archive_write_header
	ldr	r3, .L17
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L2
	ldr	r3, [r7]
	cmp	r3, #1
	bgt	.L14
	beq	.L15
	ldr	r3, .L17+4
	mov	r0, r6
	ldr	r8, [r3]
	bl	archive_error_string
	ldr	r1, .L17+8
	mov	r2, r0
	mov	r0, r8
	bl	fprintf
.L2:
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L16
.L5:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	cmp	r3, r4
	popgt	{r4, r5, r6, r7, r8, pc}
	mov	r0, r5
	bl	archive_entry_size
	cmp	r0, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r3, r5
	mov	r1, r6
	mov	r0, r7
	ldr	r2, [r7, #4]
	bl	copy_file_data_block
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, lr}
	b	exit
.L14:
	ldr	r8, .L17+4
	ldr	r1, .L17+20
	ldr	r0, [r8]
	bl	safe_fprintf
	mov	r2, r5
	ldr	r1, [r8]
	mov	r0, r7
	bl	list_item_verbose
	mov	r0, r6
	bl	archive_error_string
	ldr	r1, .L17+8
	mov	r2, r0
	mov	r0, #0
	bl	lafe_warnc
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmp	r3, r4
	bne	.L5
.L16:
	mov	r0, #1
	bl	exit
	b	.L5
.L15:
	mov	r0, r5
	bl	archive_entry_pathname
	mov	r8, r0
	mov	r0, r6
	bl	archive_error_string
	mov	r2, r8
	mov	r3, r0
	ldr	r1, .L17+24
	mov	r0, #0
	bl	lafe_warnc
	b	.L2
.L18:
	.align	2
.L17:
	.word	ARCHIVE_OK
	.word	stderr
	.word	.LC1
	.word	ARCHIVE_FATAL
	.word	ARCHIVE_WARN
	.word	.LC0
	.word	.LC2
	.size	write_entry, .-write_entry
	.comm	stderr,4,4
	.comm	ARCHIVE_WARN,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FATAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
