	.file	"extr_tar.c_phar_tar_writeheaders_int.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"tar-based phar \"%s\" cannot be created, filename \"%s\" is too long for tar file format"
	.align 8
.LC1:
	.string	"tar-based phar \"%s\" cannot be created, filename \"%s\" is too large for tar file format"
	.align 8
.LC2:
	.string	"tar-based phar \"%s\" cannot be created, file modification time of file \"%s\" is too large for tar file format"
	.align 8
.LC3:
	.string	"tar-based phar \"%s\" cannot be created, link \"%s\" is too long for format"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"ustar"
.LC5:
	.string	"00"
.LC6:
	.string	"        "
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"tar-based phar \"%s\" cannot be created, checksum of file \"%s\" is too large for tar file format"
	.align 8
.LC8:
	.string	"tar-based phar \"%s\" cannot be created, header for  file \"%s\" could not be written"
	.align 8
.LC9:
	.string	"tar-based phar \"%s\" cannot be created, contents of file \"%s\" could not be written, seek failed"
	.align 8
.LC10:
	.string	"tar-based phar \"%s\" cannot be created, contents of file \"%s\" could not be written"
	.text
	.p2align 4
	.type	phar_tar_writeheaders_int, @function
phar_tar_writeheaders_int:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 576
	.cfi_def_cfa_offset 624
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 568[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 112[rdi], 0
	jne	.L81
	cmp	QWORD PTR 104[rdi], 0
	mov	rbx, rdi
	je	.L4
	cmp	QWORD PTR [rdi], 0
	mov	eax, DWORD PTR ZEND_HASH_APPLY_REMOVE[rip]
	jle	.L1
.L81:
	mov	eax, DWORD PTR ZEND_HASH_APPLY_KEEP[rip]
.L1:
	mov	rcx, QWORD PTR 568[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L83
	add	rsp, 576
	.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
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[rdi]
	mov	r12, rsi
	mov	rsi, QWORD PTR 8[rdi]
	mov	r13, rsp
	mov	rdi, QWORD PTR 72[rdi]
	call	phar_add_virtual_dirs@PLT
	mov	edx, 40
	xor	esi, esi
	mov	rdi, r13
	call	memset@PLT
	movsx	rdx, DWORD PTR 16[rbx]
	cmp	edx, 100
	jle	.L6
	cmp	edx, 256
	jg	.L84
	mov	rsi, QWORD PTR 8[rbx]
	lea	rbp, -101[rsi+rdx]
	movzx	eax, BYTE PTR 0[rbp]
	cmp	al, 47
	je	.L9
	test	al, al
	je	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	movzx	eax, BYTE PTR 1[rbp]
	add	rbp, 1
	test	al, al
	je	.L12
	cmp	al, 47
	jne	.L10
.L9:
	test	al, al
	je	.L12
	mov	rdx, rbp
	sub	rdx, rsi
	cmp	rdx, 155
	jg	.L12
	mov	edi, DWORD PTR 36[rsp]
	call	memcpy@PLT
	mov	edx, DWORD PTR 16[rbx]
	lea	rsi, 1[rbp]
	mov	edi, DWORD PTR 32[rsp]
	mov	rax, rsi
	sub	rax, QWORD PTR 8[rbx]
	sub	edx, eax
	call	memcpy@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 32[rsp]
	call	memcpy@PLT
.L15:
	mov	edi, DWORD PTR 28[rsp]
	mov	esi, DWORD PTR 20[rbx]
	mov	edx, 3
	and	esi, DWORD PTR PHAR_ENT_PERM_MASK[rip]
	call	phar_tar_octal@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 24[rsp]
	mov	edx, 3
	call	phar_tar_octal@PLT
	cmp	rax, QWORD PTR FAILURE[rip]
	je	.L85
	mov	esi, DWORD PTR 28[rbx]
	mov	edi, DWORD PTR 20[rsp]
	mov	edx, 3
	call	phar_tar_octal@PLT
	cmp	rax, QWORD PTR FAILURE[rip]
	je	.L86
	mov	eax, DWORD PTR 96[rbx]
	mov	rsi, QWORD PTR 32[rbx]
	mov	DWORD PTR 16[rsp], eax
	test	rsi, rsi
	je	.L20
	mov	edi, DWORD PTR 12[rsp]
	mov	edx, 4
	call	strlcpy@PLT
	cmp	eax, 3
	ja	.L87
.L20:
	mov	edi, DWORD PTR 8[rsp]
	mov	edx, 5
	lea	rsi, .LC4[rip]
	call	memcpy@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	edx, 2
	lea	rsi, .LC5[rip]
	call	memcpy@PLT
	mov	edi, DWORD PTR [rsp]
	mov	edx, 8
	lea	rsi, .LC6[rip]
	call	memcpy@PLT
	mov	esi, 40
	mov	rdi, r13
	call	phar_tar_checksum@PLT
	mov	edi, DWORD PTR [rsp]
	mov	edx, 3
	mov	DWORD PTR 40[rbx], eax
	mov	esi, eax
	call	phar_tar_octal@PLT
	cmp	rax, QWORD PTR FAILURE[rip]
	je	.L88
	mov	edi, DWORD PTR 8[r12]
	call	php_stream_tell@PLT
	mov	edi, DWORD PTR 8[r12]
	mov	edx, 40
	mov	rsi, r13
	mov	QWORD PTR 88[rbx], rax
	call	php_stream_write@PLT
	cmp	eax, 40
	je	.L24
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC8[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	.p2align 4,,10
	.p2align 3
.L31:
	mov	eax, DWORD PTR ZEND_HASH_APPLY_STOP[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, rsi
	lea	rdx, .LC0[rip]
	mov	esi, 4096
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L84:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC0[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L85:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC1[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L88:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC7[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L86:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC2[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L87:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 32[rbx]
	mov	esi, 4096
	lea	rdx, .LC3[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
.L24:
	mov	edi, DWORD PTR 8[r12]
	call	php_stream_tell@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR 24[rbx]
	test	eax, eax
	jne	.L89
.L26:
	cmp	QWORD PTR 80[rbx], 0
	mov	eax, DWORD PTR 44[rbx]
	jne	.L32
	cmp	QWORD PTR [rbx], 0
	je	.L32
	cmp	eax, 128
	je	.L33
	cmp	eax, 129
	jne	.L32
	mov	DWORD PTR 4[r12], 0
.L32:
	cmp	DWORD PTR PHAR_MOD[rip], eax
	mov	QWORD PTR 80[rbx], 0
	je	.L90
.L34:
	mov	DWORD PTR 44[rbx], 129
	mov	QWORD PTR 56[rbx], rbp
	mov	QWORD PTR 48[rbx], rbp
	jmp	.L81
.L89:
	mov	rsi, QWORD PTR 16[r12]
	xor	edx, edx
	mov	rdi, rbx
	call	phar_open_entry_fp@PLT
	cmp	rax, QWORD PTR FAILURE[rip]
	je	.L31
	mov	edx, DWORD PTR SEEK_SET[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	xor	esi, esi
	mov	rdi, rbx
	call	phar_seek_efp@PLT
	cmp	eax, -1
	je	.L91
	xor	esi, esi
	mov	r14d, DWORD PTR 24[rbx]
	mov	r13d, DWORD PTR 8[r12]
	mov	rdi, rbx
	call	phar_get_efp@PLT
	xor	ecx, ecx
	mov	edi, eax
	mov	edx, r14d
	mov	esi, r13d
	call	php_stream_copy_to_stream_ex@PLT
	cmp	rax, QWORD PTR SUCCESS[rip]
	je	.L30
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC10[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
.L90:
	mov	rax, QWORD PTR 72[rbx]
	mov	rdi, QWORD PTR 64[rbx]
	cmp	rdi, QWORD PTR 8[rax]
	je	.L34
	cmp	rdi, QWORD PTR [rax]
	je	.L34
	cmp	QWORD PTR [rbx], 0
	je	.L92
.L35:
	mov	QWORD PTR 64[rbx], 0
	jmp	.L34
.L91:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	je	.L31
	mov	rax, QWORD PTR 72[rbx]
	mov	r8, QWORD PTR 8[rbx]
	mov	esi, 4096
	lea	rdx, .LC9[rip]
	mov	ecx, DWORD PTR 16[rax]
	call	spprintf@PLT
	jmp	.L31
.L33:
	mov	DWORD PTR [r12], 0
	jmp	.L32
.L83:
	call	__stack_chk_fail@PLT
.L30:
	lea	r13, 48[rsp]
	xor	esi, esi
	mov	edx, 512
	mov	rdi, r13
	call	memset@PLT
	mov	eax, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 8[r12]
	mov	rsi, r13
	lea	edx, 511[rax]
	and	edx, -512
	sub	edx, eax
	call	php_stream_write@PLT
	jmp	.L26
.L92:
	call	php_stream_close@PLT
	jmp	.L35
	.cfi_endproc
.LFE0:
	.size	phar_tar_writeheaders_int, .-phar_tar_writeheaders_int
	.comm	ZEND_HASH_APPLY_STOP,4,4
	.comm	ZEND_HASH_APPLY_REMOVE,4,4
	.comm	ZEND_HASH_APPLY_KEEP,4,4
	.comm	SUCCESS,8,8
	.comm	SEEK_SET,4,4
	.comm	PHAR_MOD,4,4
	.comm	PHAR_ENT_PERM_MASK,4,4
	.comm	FAILURE,8,8
	.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_tar.c_phar_tar_writeheaders_int.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tar-based phar \"%s\" cannot be created, filename \""
	.ascii	"%s\" is too long for tar file format\000"
	.align	2
.LC1:
	.ascii	"tar-based phar \"%s\" cannot be created, filename \""
	.ascii	"%s\" is too large for tar file format\000"
	.align	2
.LC2:
	.ascii	"tar-based phar \"%s\" cannot be created, file modif"
	.ascii	"ication time of file \"%s\" is too large for tar fi"
	.ascii	"le format\000"
	.align	2
.LC3:
	.ascii	"tar-based phar \"%s\" cannot be created, link \"%s\""
	.ascii	" is too long for format\000"
	.align	2
.LC4:
	.ascii	"ustar\000"
	.align	2
.LC5:
	.ascii	"00\000"
	.align	2
.LC6:
	.ascii	"        \000"
	.align	2
.LC7:
	.ascii	"tar-based phar \"%s\" cannot be created, checksum o"
	.ascii	"f file \"%s\" is too large for tar file format\000"
	.align	2
.LC8:
	.ascii	"tar-based phar \"%s\" cannot be created, header for"
	.ascii	"  file \"%s\" could not be written\000"
	.align	2
.LC9:
	.ascii	"tar-based phar \"%s\" cannot be created, contents o"
	.ascii	"f file \"%s\" could not be written, seek failed\000"
	.align	2
.LC10:
	.ascii	"tar-based phar \"%s\" cannot be created, contents o"
	.ascii	"f file \"%s\" could not be written\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	phar_tar_writeheaders_int, %function
phar_tar_writeheaders_int:
	@ args = 0, pretend = 0, frame = 560
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r0, #68]
	sub	sp, sp, #572
	cmp	r3, #0
	ldr	r3, .L93
	ldr	r3, [r3]
	str	r3, [sp, #564]
	mov	r3,#0
	bne	.L5
	ldr	r5, [r0, #64]
	mov	r4, r0
	cmp	r5, #0
	beq	.L4
	ldr	r3, [r0]
	cmp	r3, #0
	ble	.L81
.L5:
	ldr	r3, .L93+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L93
	ldr	r2, [r3]
	ldr	r3, [sp, #564]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L82
	add	sp, sp, #572
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	r6, r1
	ldmib	r0, {r1, r2}
	ldr	r0, [r0, #48]
	bl	phar_add_virtual_dirs
	mov	r2, #40
	mov	r1, r5
	add	r0, sp, #12
	bl	memset
	ldr	r2, [r4, #8]
	cmp	r2, #100
	ble	.L6
	cmp	r2, #256
	bgt	.L83
	ldr	r1, [r4, #4]
	sub	r2, r2, #101
	ldrb	r3, [r1, r2]	@ zero_extendqisi2
	add	r5, r1, r2
	cmp	r3, #47
	cmpne	r3, #0
	beq	.L9
.L10:
	ldrb	r3, [r5, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	cmpne	r3, #47
	bne	.L10
.L9:
	cmp	r3, #0
	beq	.L11
	sub	r2, r5, r1
	cmp	r2, #155
	ble	.L12
.L11:
	ldr	r0, [r6, #12]
	cmp	r0, #0
	bne	.L84
.L30:
	ldr	r3, .L93+8
	ldr	r0, [r3]
	b	.L1
.L81:
	ldr	r3, .L93+12
	ldr	r0, [r3]
	b	.L1
.L6:
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	memcpy
.L14:
	ldr	r3, .L93+16
	ldr	r1, [r4, #12]
	ldr	r3, [r3]
	mov	r2, #3
	and	r1, r1, r3
	ldr	r0, [sp, #40]
	bl	phar_tar_octal
	mov	r2, #3
	ldr	r1, [r4, #16]
	ldr	r0, [sp, #36]
	bl	phar_tar_octal
	ldr	r5, .L93+20
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L85
	mov	r2, #3
	ldr	r1, [r4, #20]
	ldr	r0, [sp, #32]
	bl	phar_tar_octal
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L86
	ldr	r1, [r4, #24]
	ldr	r3, [r4, #60]
	cmp	r1, #0
	str	r3, [sp, #28]
	beq	.L19
	mov	r2, #4
	ldr	r0, [sp, #24]
	bl	strlcpy
	cmp	r0, #3
	bhi	.L87
.L19:
	mov	r2, #5
	ldr	r1, .L93+24
	ldr	r0, [sp, #20]
	bl	memcpy
	mov	r2, #2
	ldr	r1, .L93+28
	ldr	r0, [sp, #16]
	bl	memcpy
	mov	r2, #8
	ldr	r1, .L93+32
	ldr	r0, [sp, #12]
	bl	memcpy
	mov	r1, #40
	add	r0, sp, #12
	bl	phar_tar_checksum
	mov	r2, #3
	mov	r1, r0
	str	r0, [r4, #28]
	ldr	r0, [sp, #12]
	bl	phar_tar_octal
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L88
	ldr	r0, [r6, #8]
	bl	php_stream_tell
	mov	r2, #40
	str	r0, [r4, #56]
	add	r1, sp, #12
	ldr	r0, [r6, #8]
	bl	php_stream_write
	cmp	r0, #40
	beq	.L23
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #4]
	ldr	r3, [r3, #8]
	mov	r1, #4096
	str	r2, [sp]
	ldr	r2, .L93+36
	bl	spprintf
	b	.L30
.L12:
	mov	r0, #0
	bl	memcpy
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	add	r1, r5, #1
	sub	r3, r1, r3
	ldr	r0, [sp, #44]
	sub	r2, r2, r3
	bl	memcpy
	b	.L14
.L84:
	ldr	r3, [r4, #48]
	ldr	r2, .L93+40
	ldr	r3, [r3, #8]
	str	r1, [sp]
	mov	r1, #4096
	bl	spprintf
	b	.L30
.L83:
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #4]
	ldr	r3, [r3, #8]
	mov	r1, #4096
	str	r2, [sp]
	ldr	r2, .L93+40
	bl	spprintf
	b	.L30
.L85:
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #4]
	ldr	r3, [r3, #8]
	mov	r1, #4096
	str	r2, [sp]
	ldr	r2, .L93+44
	bl	spprintf
	b	.L30
.L88:
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #4]
	ldr	r3, [r3, #8]
	mov	r1, #4096
	str	r2, [sp]
	ldr	r2, .L93+48
	bl	spprintf
	b	.L30
.L86:
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #4]
	ldr	r3, [r3, #8]
	mov	r1, #4096
	str	r2, [sp]
	ldr	r2, .L93+52
	bl	spprintf
	b	.L30
.L87:
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #24]
	ldr	r3, [r3, #8]
	mov	r1, #4096
	str	r2, [sp]
	ldr	r2, .L93+56
	bl	spprintf
	b	.L30
.L23:
	ldr	r0, [r6, #8]
	bl	php_stream_tell
	ldr	r3, [r4, #16]
	mov	r7, r0
	cmp	r3, #0
	bne	.L89
.L25:
	ldr	r2, [r4, #52]
	ldr	r3, [r4, #32]
	cmp	r2, #0
	bne	.L31
	ldr	r1, [r4]
	cmp	r1, #0
	beq	.L31
	cmp	r3, #128
	streq	r2, [r6]
	beq	.L31
	cmp	r3, #129
	streq	r2, [r6, #4]
.L31:
	mov	r1, #0
	ldr	r2, .L93+60
	str	r1, [r4, #52]
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L90
.L33:
	mov	r3, #129
	ldr	r2, .L93+4
	str	r7, [r4, #40]
	ldr	r0, [r2]
	str	r7, [r4, #36]
	str	r3, [r4, #32]
	b	.L1
.L89:
	mov	r2, #0
	mov	r0, r4
	ldr	r1, [r6, #12]
	bl	phar_open_entry_fp
	ldr	r3, [r5]
	cmp	r0, r3
	beq	.L30
	mov	r5, #0
	ldr	r2, .L93+64
	str	r5, [sp]
	mov	r3, r5
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [r2]
	bl	phar_seek_efp
	cmn	r0, #1
	beq	.L91
	mov	r1, r5
	mov	r0, r4
	bl	phar_get_efp
	mov	r3, r5
	ldr	r2, [r4, #16]
	ldr	r1, [r6, #8]
	bl	php_stream_copy_to_stream_ex
	ldr	r3, .L93+68
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L29
	ldr	r0, [r6, #12]
	cmp	r0, #0
	beq	.L30
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #48]
	str	r2, [sp]
	mov	r1, #4096
	ldr	r3, [r3, #8]
	ldr	r2, .L93+72
	bl	spprintf
	b	.L30
.L90:
	ldr	r3, [r4, #48]
	ldr	r0, [r4, #44]
	ldr	r2, [r3, #4]
	cmp	r0, r2
	beq	.L33
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L33
	ldr	r3, [r4]
	cmp	r3, r1
	beq	.L92
.L34:
	mov	r3, #0
	str	r3, [r4, #44]
	b	.L33
.L91:
	ldr	r0, [r6, #12]
	cmp	r0, r5
	beq	.L30
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #48]
	str	r2, [sp]
	mov	r1, #4096
	ldr	r3, [r3, #8]
	ldr	r2, .L93+76
	bl	spprintf
	b	.L30
.L82:
	bl	__stack_chk_fail
.L29:
	mov	r1, r5
	mov	r2, #512
	add	r0, sp, #52
	bl	memset
	ldr	r2, [r4, #16]
	ldr	r0, [r6, #8]
	add	r3, r2, #508
	add	r3, r3, #3
	bic	r3, r3, #508
	bic	r3, r3, #3
	add	r1, sp, #52
	sub	r2, r3, r2
	bl	php_stream_write
	b	.L25
.L92:
	bl	php_stream_close
	b	.L34
.L94:
	.align	2
.L93:
	.word	.LC11
	.word	ZEND_HASH_APPLY_KEEP
	.word	ZEND_HASH_APPLY_STOP
	.word	ZEND_HASH_APPLY_REMOVE
	.word	PHAR_ENT_PERM_MASK
	.word	FAILURE
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC7
	.word	.LC2
	.word	.LC3
	.word	PHAR_MOD
	.word	SEEK_SET
	.word	SUCCESS
	.word	.LC10
	.word	.LC9
	.size	phar_tar_writeheaders_int, .-phar_tar_writeheaders_int
	.comm	ZEND_HASH_APPLY_STOP,4,4
	.comm	ZEND_HASH_APPLY_REMOVE,4,4
	.comm	ZEND_HASH_APPLY_KEEP,4,4
	.comm	SUCCESS,4,4
	.comm	SEEK_SET,4,4
	.comm	PHAR_MOD,4,4
	.comm	PHAR_ENT_PERM_MASK,4,4
	.comm	FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
