	.file	"extr_archive_write_set_format_7zip.c_file_new.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Can't allocate memory"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Can't allocate memory for UTF-16LE"
	.align 8
.LC2:
	.string	"A filename cannot be converted to UTF-16LE;You should disable making Joliet extension"
	.align 8
.LC3:
	.string	"Can't allocate memory for Name"
	.text
	.p2align 4
	.type	file_new, @function
file_new:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	esi, 40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r15, QWORD PTR 8[rdi]
	mov	r14d, DWORD PTR ARCHIVE_OK[rip]
	mov	edi, 1
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rdx], 0
	call	calloc@PLT
	test	rax, rax
	je	.L26
	mov	ecx, DWORD PTR [r15]
	lea	rdx, 16[rsp]
	lea	rsi, 8[rsp]
	mov	rdi, r12
	mov	rbp, rax
	call	archive_entry_pathname_l@PLT
	test	rax, rax
	jns	.L4
	mov	rax, QWORD PTR ENOMEM[rip]
	cmp	QWORD PTR errno[rip], rax
	je	.L27
	mov	rsi, QWORD PTR ARCHIVE_ERRNO_MISC[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, r13
	call	archive_set_error@PLT
	mov	r14d, DWORD PTR ARCHIVE_WARN[rip]
.L4:
	mov	r15, QWORD PTR 16[rsp]
	lea	rdi, 2[r15]
	call	malloc@PLT
	mov	QWORD PTR 32[rbp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L28
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdx, r15
	call	memcpy@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, r12
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rdx, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rax+rdx*8], 0
	mov	rax, QWORD PTR 16[rsp]
	mov	DWORD PTR 0[rbp], eax
	call	archive_entry_mode@PLT
	mov	rdi, r12
	mov	DWORD PTR 24[rbp], eax
	call	archive_entry_filetype@PLT
	cmp	rax, QWORD PTR AE_IFREG[rip]
	je	.L29
	xor	esi, esi
	mov	rdi, r12
	call	archive_entry_set_size@PLT
.L8:
	mov	rdi, r12
	call	archive_entry_filetype@PLT
	cmp	rax, QWORD PTR AE_IFDIR[rip]
	jne	.L9
	mov	DWORD PTR 4[rbp], 1
.L10:
	mov	rdi, r12
	call	archive_entry_mtime_is_set@PLT
	test	rax, rax
	jne	.L30
	mov	rdi, r12
	call	archive_entry_atime_is_set@PLT
	test	rax, rax
	jne	.L31
.L12:
	mov	rdi, r12
	call	archive_entry_ctime_is_set@PLT
	test	rax, rax
	jne	.L32
.L13:
	mov	QWORD PTR [rbx], rbp
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L29:
	.cfi_restore_state
	mov	rdi, r12
	call	archive_entry_size@PLT
	mov	DWORD PTR 20[rbp], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r12
	call	archive_entry_filetype@PLT
	cmp	rax, QWORD PTR AE_IFLNK[rip]
	jne	.L10
	mov	rdi, r12
	call	archive_entry_symlink@PLT
	mov	edi, eax
	call	strlen@PLT
	mov	DWORD PTR 20[rbp], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L30:
	mov	eax, DWORD PTR MTIME_IS_SET[rip]
	or	DWORD PTR 16[rbp], eax
	mov	rdi, r12
	mov	rdx, QWORD PTR MTIME[rip]
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+rdx*8]
	call	archive_entry_mtime@PLT
	mov	rdx, QWORD PTR MTIME[rip]
	mov	rdi, r12
	mov	DWORD PTR 4[r13], eax
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+rdx*8]
	call	archive_entry_mtime_nsec@PLT
	mov	rdi, r12
	mov	DWORD PTR 0[r13], eax
	call	archive_entry_atime_is_set@PLT
	test	rax, rax
	je	.L12
.L31:
	mov	eax, DWORD PTR ATIME_IS_SET[rip]
	or	DWORD PTR 16[rbp], eax
	mov	rdi, r12
	mov	rdx, QWORD PTR ATIME[rip]
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+rdx*8]
	call	archive_entry_atime@PLT
	mov	rdx, QWORD PTR ATIME[rip]
	mov	rdi, r12
	mov	DWORD PTR 4[r13], eax
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+rdx*8]
	call	archive_entry_atime_nsec@PLT
	mov	rdi, r12
	mov	DWORD PTR 0[r13], eax
	call	archive_entry_ctime_is_set@PLT
	test	rax, rax
	je	.L13
.L32:
	mov	eax, DWORD PTR CTIME_IS_SET[rip]
	or	DWORD PTR 16[rbp], eax
	mov	rdi, r12
	mov	rdx, QWORD PTR CTIME[rip]
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+rdx*8]
	call	archive_entry_ctime@PLT
	mov	rdx, QWORD PTR CTIME[rip]
	mov	rdi, r12
	mov	DWORD PTR 4[r13], eax
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+rdx*8]
	call	archive_entry_ctime_nsec@PLT
	mov	DWORD PTR 0[r13], eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rsi, QWORD PTR ENOMEM[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r13
	call	archive_set_error@PLT
	mov	r14d, DWORD PTR ARCHIVE_FATAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, rbp
	call	free@PLT
	mov	rsi, QWORD PTR ENOMEM[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r13
	call	archive_set_error@PLT
	mov	r14d, DWORD PTR ARCHIVE_FATAL[rip]
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
.L28:
	mov	rdi, rbp
	call	free@PLT
	mov	rsi, QWORD PTR ENOMEM[rip]
	lea	rdx, .LC3[rip]
	mov	rdi, r13
	call	archive_set_error@PLT
	mov	r14d, DWORD PTR ARCHIVE_FATAL[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	file_new, .-file_new
	.comm	errno,8,8
	.comm	MTIME_IS_SET,4,4
	.comm	MTIME,8,8
	.comm	ENOMEM,8,8
	.comm	CTIME_IS_SET,4,4
	.comm	CTIME,8,8
	.comm	ATIME_IS_SET,4,4
	.comm	ATIME,8,8
	.comm	ARCHIVE_WARN,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FATAL,4,4
	.comm	ARCHIVE_ERRNO_MISC,8,8
	.comm	AE_IFREG,8,8
	.comm	AE_IFLNK,8,8
	.comm	AE_IFDIR,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_archive_write_set_format_7zip.c_file_new.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can't allocate memory\000"
	.align	2
.LC1:
	.ascii	"Can't allocate memory for UTF-16LE\000"
	.align	2
.LC2:
	.ascii	"A filename cannot be converted to UTF-16LE;You shou"
	.ascii	"ld disable making Joliet extension\000"
	.align	2
.LC3:
	.ascii	"Can't allocate memory for Name\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_new, %function
file_new:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r3, #0
	mov	r8, r2
	mov	r4, r1
	ldr	r2, .L35
	ldr	r1, .L35+4
	sub	sp, sp, #16
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	ldr	r6, [r0, #4]
	ldr	r10, [r2]
	mov	r9, r0
	mov	r1, #28
	mov	r0, #1
	str	r3, [r8]
	bl	calloc
	subs	r5, r0, #0
	beq	.L26
	mov	r0, r4
	ldr	r3, [r6]
	add	r2, sp, #8
	add	r1, sp, #4
	bl	archive_entry_pathname_l
	cmp	r0, #0
	bge	.L4
	ldr	r3, .L35+8
	ldr	r6, .L35+12
	ldr	r2, [r3]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L27
	ldr	r3, .L35+16
	mov	r0, r9
	ldr	r1, [r3]
	ldr	r2, .L35+20
	bl	archive_set_error
	ldr	r3, .L35+24
	ldr	r10, [r3]
.L4:
	ldr	r7, [sp, #8]
	add	r0, r7, #2
	bl	malloc
	cmp	r0, #0
	mov	r6, r0
	str	r0, [r5, #24]
	beq	.L28
	mov	r9, #0
	mov	r2, r7
	ldr	r1, [sp, #4]
	bl	memcpy
	add	r3, r6, r7, lsl #2
	str	r9, [r6, r7, lsl #2]
	mov	r0, r4
	str	r9, [r3, #4]
	str	r7, [r5]
	bl	archive_entry_mode
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5, #20]
	bl	archive_entry_filetype
	ldr	r3, .L35+28
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L29
	mov	r1, r9
	mov	r0, r4
	bl	archive_entry_set_size
.L8:
	mov	r0, r4
	bl	archive_entry_filetype
	ldr	r3, .L35+32
	ldr	r3, [r3]
	cmp	r0, r3
	moveq	r3, #1
	streq	r3, [r5, #4]
	bne	.L30
.L10:
	mov	r0, r4
	bl	archive_entry_mtime_is_set
	cmp	r0, #0
	bne	.L31
	mov	r0, r4
	bl	archive_entry_atime_is_set
	cmp	r0, #0
	bne	.L32
.L12:
	mov	r0, r4
	bl	archive_entry_ctime_is_set
	cmp	r0, #0
	bne	.L33
.L13:
	str	r5, [r8]
.L1:
	ldr	r3, .L35+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L34
	mov	r0, r10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L30:
	mov	r0, r4
	bl	archive_entry_filetype
	ldr	r3, .L35+36
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L10
	mov	r0, r4
	bl	archive_entry_symlink
	bl	strlen
	str	r0, [r5, #16]
	b	.L10
.L29:
	mov	r0, r4
	bl	archive_entry_size
	str	r0, [r5, #16]
	b	.L8
.L31:
	ldr	r2, .L35+40
	ldr	r3, [r5, #12]
	ldr	r2, [r2]
	ldr	r7, .L35+44
	orr	r3, r3, r2
	ldr	r6, [r5, #8]
	ldr	r2, [r7]
	str	r3, [r5, #12]
	mov	r0, r4
	add	r6, r6, r2, lsl #3
	bl	archive_entry_mtime
	str	r0, [r6, #4]
	mov	r0, r4
	ldr	r7, [r7]
	ldr	r6, [r5, #8]
	bl	archive_entry_mtime_nsec
	str	r0, [r6, r7, lsl #3]
	mov	r0, r4
	bl	archive_entry_atime_is_set
	cmp	r0, #0
	beq	.L12
.L32:
	ldr	r2, .L35+48
	ldr	r3, [r5, #12]
	ldr	r2, [r2]
	ldr	r7, .L35+52
	orr	r3, r3, r2
	ldr	r6, [r5, #8]
	ldr	r2, [r7]
	str	r3, [r5, #12]
	mov	r0, r4
	add	r6, r6, r2, lsl #3
	bl	archive_entry_atime
	str	r0, [r6, #4]
	mov	r0, r4
	ldr	r7, [r7]
	ldr	r6, [r5, #8]
	bl	archive_entry_atime_nsec
	str	r0, [r6, r7, lsl #3]
	mov	r0, r4
	bl	archive_entry_ctime_is_set
	cmp	r0, #0
	beq	.L13
.L33:
	ldr	r2, .L35+56
	ldr	r3, [r5, #12]
	ldr	r2, [r2]
	ldr	r7, .L35+60
	orr	r3, r3, r2
	ldr	r6, [r5, #8]
	ldr	r2, [r7]
	mov	r0, r4
	str	r3, [r5, #12]
	add	r6, r6, r2, lsl #3
	bl	archive_entry_ctime
	mov	r3, r0
	mov	r0, r4
	str	r3, [r6, #4]
	ldr	r4, [r5, #8]
	ldr	r6, [r7]
	bl	archive_entry_ctime_nsec
	str	r0, [r4, r6, lsl #3]
	b	.L13
.L27:
	mov	r0, r5
	bl	free
	mov	r0, r9
	ldr	r1, [r6]
	ldr	r2, .L35+64
	bl	archive_set_error
	ldr	r3, .L35+68
	ldr	r10, [r3]
	b	.L1
.L34:
	bl	__stack_chk_fail
.L28:
	mov	r0, r5
	bl	free
	ldr	r3, .L35+12
	mov	r0, r9
	ldr	r1, [r3]
	ldr	r2, .L35+72
	bl	archive_set_error
	ldr	r3, .L35+68
	ldr	r10, [r3]
	b	.L1
.L26:
	ldr	r3, .L35+12
	mov	r0, r9
	ldr	r1, [r3]
	ldr	r2, .L35+76
	bl	archive_set_error
	ldr	r3, .L35+68
	ldr	r10, [r3]
	b	.L1
.L36:
	.align	2
.L35:
	.word	ARCHIVE_OK
	.word	.LC4
	.word	errno
	.word	ENOMEM
	.word	ARCHIVE_ERRNO_MISC
	.word	.LC2
	.word	ARCHIVE_WARN
	.word	AE_IFREG
	.word	AE_IFDIR
	.word	AE_IFLNK
	.word	MTIME_IS_SET
	.word	MTIME
	.word	ATIME_IS_SET
	.word	ATIME
	.word	CTIME_IS_SET
	.word	CTIME
	.word	.LC1
	.word	ARCHIVE_FATAL
	.word	.LC3
	.word	.LC0
	.size	file_new, .-file_new
	.comm	errno,4,4
	.comm	MTIME_IS_SET,4,4
	.comm	MTIME,4,4
	.comm	ENOMEM,4,4
	.comm	CTIME_IS_SET,4,4
	.comm	CTIME,4,4
	.comm	ATIME_IS_SET,4,4
	.comm	ATIME,4,4
	.comm	ARCHIVE_WARN,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FATAL,4,4
	.comm	ARCHIVE_ERRNO_MISC,4,4
	.comm	AE_IFREG,4,4
	.comm	AE_IFLNK,4,4
	.comm	AE_IFDIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
