	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_dirent_write              ## -- Begin function _zip_dirent_write
	.p2align	4, 0x90
__zip_dirent_write:                     ## @_zip_dirent_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	jne	LBB0_1
## %bb.2:
	movq	_CENTRAL_MAGIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_LOCAL_MAGIC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movl	$1, %esi
	movl	$4, %edx
	movq	%r15, %rcx
	callq	_fwrite
	movq	80(%r13), %rdi
	movq	_ZIP_ENCODING_UNKNOWN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	__zip_guess_encoding
	movl	%eax, %ebx
	movq	64(%r13), %rdi
	movl	(%r14), %esi
	callq	__zip_guess_encoding
	movl	%eax, %r14d
	movq	_ZIP_ENCODING_UTF8_KNOWN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	movq	_ZIP_ENCODING_ASCII@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%eax, %ebx
	jne	LBB0_5
## %bb.4:
	cmpl	%edx, %r14d
	je	LBB0_7
LBB0_5:
	cmpl	%eax, %ebx
	sete	%cl
	cmpl	%edx, %ebx
	sete	%dl
	cmpl	%eax, %r14d
	sete	%al
	testb	%al, %dl
	jne	LBB0_7
## %bb.6:
	andb	%al, %cl
	jne	LBB0_7
## %bb.8:
	movq	_ZIP_GPBF_ENCODING_UTF_8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
	movl	(%rsi), %eax
	cmpl	%eax, %ebx
	jne	LBB0_9
## %bb.10:
	movq	%rsi, %rbx
	movq	_ZIP_EF_UTF_8_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	80(%r13), %rsi
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	callq	__zip_ef_utf8
	movq	%rax, %rcx
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_57
## %bb.11:
	movl	(%rbx), %eax
	jmp	LBB0_12
LBB0_7:
	movq	_ZIP_GPBF_ENCODING_UTF_8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	xorl	%eax, %eax
LBB0_17:
	movq	%rax, -152(%rbp)                ## 8-byte Spill
LBB0_18:
	leaq	-144(%rbp), %rbx
	movq	%rbx, -168(%rbp)
	movq	_ZIP_FL_FORCE_ZIP64@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	8(%r13), %rdi
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_23
## %bb.19:
	testl	%r12d, %ecx
	jne	LBB0_22
## %bb.20:
	movq	_ZIP_UINT32_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdi
	jg	LBB0_22
## %bb.21:
	cmpq	%rax, 16(%r13)
	jle	LBB0_33
LBB0_22:
	leaq	-168(%rbp), %rsi
	callq	__zip_poke8
	movq	16(%r13), %rdi
	jmp	LBB0_32
LBB0_23:
	movq	_ZIP_UINT32_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	testl	%r12d, %ecx
	jne	LBB0_27
## %bb.24:
	cmpq	%rax, %rdi
	jg	LBB0_27
## %bb.25:
	cmpq	%rax, 16(%r13)
	jg	LBB0_27
## %bb.26:
	cmpq	%rax, 24(%r13)
	jle	LBB0_33
LBB0_27:
	cmpq	%rax, %rdi
	jl	LBB0_29
## %bb.28:
	leaq	-168(%rbp), %rsi
	callq	__zip_poke8
	movq	_ZIP_UINT32_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
LBB0_29:
	movq	16(%r13), %rdi
	cmpq	%rax, %rdi
	jl	LBB0_31
## %bb.30:
	leaq	-168(%rbp), %rsi
	movq	%rdx, %r14
	callq	__zip_poke8
	movq	(%r14), %rax
	movq	_ZIP_FL_FORCE_ZIP64@GOTPCREL(%rip), %r14
LBB0_31:
	movq	24(%r13), %rdi
	cmpq	%rax, %rdi
	jl	LBB0_33
LBB0_32:
	leaq	-168(%rbp), %rsi
	callq	__zip_poke8
LBB0_33:
	movq	-168(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_34
## %bb.35:
	movq	_ZIP_EF_ZIP64@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	-144(%rbp), %rdx
	subl	%edx, %eax
	movq	_ZIP_EF_BOTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shrl	$2, %eax
	movzwl	%ax, %esi
	callq	__zip_ef_new
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	$1, %ebx
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_36
LBB0_34:
	xorl	%ebx, %ebx
LBB0_36:
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r14), %ecx
	orl	%eax, %ecx
	movl	%r12d, %edx
	notl	%edx
	movl	%ebx, %r14d
	testl	%edx, %ecx
	jne	LBB0_38
## %bb.37:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	__zip_dirent_needs_zip64
	movl	%eax, %r14d
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_38:
	testl	%r12d, %eax
	jne	LBB0_42
## %bb.39:
	movw	$45, %ax
	testl	%r14d, %r14d
	jne	LBB0_41
## %bb.40:
	movzwl	32(%r13), %eax
LBB0_41:
	movzwl	%ax, %edi
	movq	%r15, %rsi
	callq	__zip_write2
LBB0_42:
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	movw	$45, %ax
	testl	%r14d, %r14d
	jne	LBB0_44
## %bb.43:
	movzwl	36(%r13), %eax
LBB0_44:
	movzwl	%ax, %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movl	$65529, %edi                    ## imm = 0xFFF9
	andl	(%r13), %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movzwl	104(%r13), %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movl	96(%r13), %edi
	leaq	-156(%rbp), %rsi
	leaq	-154(%rbp), %rdx
	callq	__zip_u2d_time
	movzwl	-156(%rbp), %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movzwl	-154(%rbp), %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movq	40(%r13), %rdi
	movq	%r15, %rsi
	callq	__zip_write4
	movq	8(%r13), %rax
	movq	_ZIP_UINT32_MAX@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	cmpq	%rdi, %rax
	cmovlq	%rax, %rdi
	movq	%r15, %rsi
	callq	__zip_write4
	movq	16(%r13), %rax
	movq	(%r14), %rdi
	cmpq	%rdi, %rax
	cmovlq	%rax, %rdi
	movq	%r15, %rsi
	callq	__zip_write4
	movq	80(%r13), %rdi
	callq	__zip_string_length
	movzwl	%ax, %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movq	72(%r13), %rdi
	movl	%r12d, %esi
	callq	__zip_ef_size
	movl	%eax, %ebx
	movq	_ZIP_EF_BOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	callq	__zip_ef_size
                                        ## kill: def $ax killed $ax def $eax
	addl	%ebx, %eax
	movzwl	%ax, %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_46
## %bb.45:
	movq	64(%r13), %rdi
	callq	__zip_string_length
	movzwl	%ax, %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movzwl	88(%r13), %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movzwl	48(%r13), %edi
	movq	%r15, %rsi
	callq	__zip_write2
	movq	56(%r13), %rdi
	movq	%r15, %rsi
	callq	__zip_write4
	movq	24(%r13), %rax
	movq	(%r14), %rdi
	cmpq	%rdi, %rax
	cmovlq	%rax, %rdi
	movq	%r15, %rsi
	callq	__zip_write4
LBB0_46:
	movq	80(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_48
## %bb.47:
	movq	%r15, %rsi
	callq	__zip_string_write
LBB0_48:
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_50
## %bb.49:
	movq	_ZIP_EF_BOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	__zip_ef_write
LBB0_50:
	movq	72(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_52
## %bb.51:
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	__zip_ef_write
LBB0_52:
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_55
## %bb.53:
	movq	64(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_55
## %bb.54:
	movq	%r15, %rsi
	callq	__zip_string_write
LBB0_55:
	movq	%rbx, %rdi
	callq	__zip_ef_free
	movq	%r15, %rdi
	callq	_ferror
	testq	%rax, %rax
	movl	-180(%rbp), %eax                ## 4-byte Reload
	je	LBB0_58
## %bb.56:
	movq	_ZIP_ER_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	callq	__zip_error_set
LBB0_57:
	movl	$-1, %eax
LBB0_58:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_60
## %bb.59:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ecx, %ecx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
LBB0_12:
	movq	_ZIP_FL_LOCAL@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	jne	LBB0_18
## %bb.13:
	cmpl	%eax, %r14d
	jne	LBB0_18
## %bb.14:
	movq	_ZIP_EF_UTF_8_COMMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	64(%r13), %rsi
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	callq	__zip_ef_utf8
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_17
LBB0_15:
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	callq	__zip_ef_free
	jmp	LBB0_57
LBB0_60:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_FL_LOCAL,4,2               ## @ZIP_FL_LOCAL
	.comm	_LOCAL_MAGIC,4,2                ## @LOCAL_MAGIC
	.comm	_CENTRAL_MAGIC,4,2              ## @CENTRAL_MAGIC
	.comm	_ZIP_ENCODING_UNKNOWN,4,2       ## @ZIP_ENCODING_UNKNOWN
	.comm	_ZIP_ENCODING_UTF8_KNOWN,4,2    ## @ZIP_ENCODING_UTF8_KNOWN
	.comm	_ZIP_ENCODING_ASCII,4,2         ## @ZIP_ENCODING_ASCII
	.comm	_ZIP_GPBF_ENCODING_UTF_8,4,2    ## @ZIP_GPBF_ENCODING_UTF_8
	.comm	_ZIP_EF_UTF_8_NAME,4,2          ## @ZIP_EF_UTF_8_NAME
	.comm	_ZIP_EF_UTF_8_COMMENT,4,2       ## @ZIP_EF_UTF_8_COMMENT
	.comm	_ZIP_FL_FORCE_ZIP64,4,2         ## @ZIP_FL_FORCE_ZIP64
	.comm	_ZIP_UINT32_MAX,8,3             ## @ZIP_UINT32_MAX
	.comm	_ZIP_EF_ZIP64,4,2               ## @ZIP_EF_ZIP64
	.comm	_ZIP_EF_BOTH,4,2                ## @ZIP_EF_BOTH
	.comm	_ZIP_ER_WRITE,4,2               ## @ZIP_ER_WRITE
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_dirent_write              ; -- Begin function _zip_dirent_write
	.p2align	2
__zip_dirent_write:                     ; @_zip_dirent_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _ZIP_FL_LOCAL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ZIP_FL_LOCAL@GOTPAGEOFF]
Lloh5:
	adrp	x8, _LOCAL_MAGIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOCAL_MAGIC@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh7:
	adrp	x10, _CENTRAL_MAGIC@GOTPAGE
Lloh8:
	ldr	x10, [x10, _CENTRAL_MAGIC@GOTPAGEOFF]
	tst	w9, w2
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	mov	w1, #1
	mov	w2, #4
	mov	x3, x20
	bl	_fwrite
	ldr	x0, [x21, #80]
Lloh9:
	adrp	x24, _ZIP_ENCODING_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ZIP_ENCODING_UNKNOWN@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	__zip_guess_encoding
	mov	x23, x0
	ldr	x0, [x21, #64]
	ldr	w1, [x24]
	bl	__zip_guess_encoding
Lloh11:
	adrp	x25, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh13:
	adrp	x9, _ZIP_ENCODING_ASCII@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ZIP_ENCODING_ASCII@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x9]
	cmp	w23, w8
	ccmp	w0, w10, #0, eq
	b.eq	LBB0_6
; %bb.1:
	mov	x24, x0
	cmp	w23, w8
	cset	w9, eq
	cmp	w23, w10
	cset	w10, eq
	cmp	w0, w8
	cset	w8, eq
	and	w10, w10, w8
	tbnz	w10, #0, LBB0_6
; %bb.2:
	and	w8, w9, w8
	cbnz	w8, LBB0_6
; %bb.3:
Lloh16:
	adrp	x8, _ZIP_GPBF_ENCODING_UTF_8@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZIP_GPBF_ENCODING_UTF_8@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	ldr	w8, [x25]
	cmp	w23, w8
	b.ne	LBB0_51
; %bb.4:
Lloh19:
	adrp	x8, _ZIP_EF_UTF_8_NAME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ZIP_EF_UTF_8_NAME@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	x1, [x21, #80]
	mov	x2, x19
	bl	__zip_ef_utf8
	cbz	x0, LBB0_48
; %bb.5:
	mov	x23, x0
	ldr	w8, [x25]
	b	LBB0_52
LBB0_6:
	mov	x23, #0
Lloh22:
	adrp	x8, _ZIP_GPBF_ENCODING_UTF_8@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ZIP_GPBF_ENCODING_UTF_8@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_7:
	add	x8, sp, #24
	str	x8, [sp, #8]
	ldr	w8, [x26]
Lloh25:
	adrp	x25, _ZIP_FL_FORCE_ZIP64@GOTPAGE
Lloh26:
	ldr	x25, [x25, _ZIP_FL_FORCE_ZIP64@GOTPAGEOFF]
	ldr	w9, [x25]
	and	w9, w9, w22
	ldr	x0, [x21, #8]
Lloh27:
	adrp	x27, _ZIP_UINT32_MAX@GOTPAGE
Lloh28:
	ldr	x27, [x27, _ZIP_UINT32_MAX@GOTPAGEOFF]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.8:
	cbnz	w9, LBB0_11
; %bb.9:
	ldr	x8, [x27]
	cmp	x0, x8
	b.gt	LBB0_11
; %bb.10:
	ldr	x9, [x21, #16]
	cmp	x9, x8
	b.le	LBB0_22
LBB0_11:
	add	x1, sp, #8
	bl	__zip_poke8
	ldr	x0, [x21, #16]
	b	LBB0_21
LBB0_12:
	ldr	x8, [x27]
	cbnz	w9, LBB0_16
; %bb.13:
	cmp	x0, x8
	b.gt	LBB0_16
; %bb.14:
	ldr	x9, [x21, #16]
	cmp	x9, x8
	b.gt	LBB0_16
; %bb.15:
	ldr	x9, [x21, #24]
	cmp	x9, x8
	b.le	LBB0_22
LBB0_16:
	cmp	x0, x8
	b.lt	LBB0_18
; %bb.17:
	add	x1, sp, #8
	bl	__zip_poke8
	ldr	x8, [x27]
LBB0_18:
	ldr	x0, [x21, #16]
	cmp	x0, x8
	b.lt	LBB0_20
; %bb.19:
	add	x1, sp, #8
	bl	__zip_poke8
	ldr	x8, [x27]
LBB0_20:
	ldr	x0, [x21, #24]
	cmp	x0, x8
	b.lt	LBB0_22
LBB0_21:
	add	x1, sp, #8
	bl	__zip_poke8
LBB0_22:
	ldr	x8, [sp, #8]
	add	x9, sp, #24
Lloh29:
	adrp	x28, _ZIP_EF_BOTH@GOTPAGE
Lloh30:
	ldr	x28, [x28, _ZIP_EF_BOTH@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.23:
Lloh31:
	adrp	x9, _ZIP_EF_ZIP64@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ZIP_EF_ZIP64@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x9]
	add	x9, sp, #24
	sub	w8, w8, w9
	ldr	w3, [x28]
	ubfx	w1, w8, #2, #16
	add	x2, sp, #24
	bl	__zip_ef_new
	str	x23, [x0]
	mov	w24, #1
	mov	x23, x0
	b	LBB0_25
LBB0_24:
	mov	w24, #0
LBB0_25:
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w9, w9, w8
	mov	x25, x24
	bics	wzr, w9, w22
	b.eq	LBB0_29
; %bb.26:
	tst	w8, w22
	b.eq	LBB0_30
LBB0_27:
	cbz	w25, LBB0_34
LBB0_28:
	mov	w8, #45
	b	LBB0_35
LBB0_29:
	mov	x0, x21
	mov	x1, x22
	bl	__zip_dirent_needs_zip64
	mov	x25, x0
	ldr	w8, [x26]
	tst	w8, w22
	b.ne	LBB0_27
LBB0_30:
	cbz	w25, LBB0_32
; %bb.31:
	mov	w8, #45
	b	LBB0_33
LBB0_32:
	ldr	w8, [x21, #32]
LBB0_33:
	and	w0, w8, #0xffff
	mov	x1, x20
	bl	__zip_write2
	cbnz	w25, LBB0_28
LBB0_34:
	ldr	w8, [x21, #36]
LBB0_35:
	and	w0, w8, #0xffff
	mov	x1, x20
	bl	__zip_write2
	ldr	w8, [x21]
	mov	w9, #65529
	and	w0, w8, w9
	mov	x1, x20
	bl	__zip_write2
	ldrh	w0, [x21, #104]
	mov	x1, x20
	bl	__zip_write2
	ldr	w0, [x21, #96]
	add	x1, sp, #22
	add	x2, sp, #20
	bl	__zip_u2d_time
	ldrh	w0, [sp, #22]
	mov	x1, x20
	bl	__zip_write2
	ldrh	w0, [sp, #20]
	mov	x1, x20
	bl	__zip_write2
	ldr	x0, [x21, #40]
	mov	x1, x20
	bl	__zip_write4
	ldr	x8, [x21, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	csel	x0, x8, x9, lt
	mov	x1, x20
	bl	__zip_write4
	ldr	x8, [x21, #16]
	ldr	x9, [x27]
	cmp	x8, x9
	csel	x0, x8, x9, lt
	mov	x1, x20
	bl	__zip_write4
	ldr	x0, [x21, #80]
	bl	__zip_string_length
	mov	x1, x20
	bl	__zip_write2
	ldr	x0, [x21, #72]
	mov	x1, x22
	bl	__zip_ef_size
	mov	x25, x0
	ldr	w1, [x28]
	mov	x0, x23
	bl	__zip_ef_size
	add	w8, w0, w25
	and	w0, w8, #0xffff
	mov	x1, x20
	bl	__zip_write2
	ldr	w8, [x26]
	tst	w8, w22
	b.ne	LBB0_37
; %bb.36:
	ldr	x0, [x21, #64]
	bl	__zip_string_length
	mov	x1, x20
	bl	__zip_write2
	ldrh	w0, [x21, #88]
	mov	x1, x20
	bl	__zip_write2
	ldrh	w0, [x21, #48]
	mov	x1, x20
	bl	__zip_write2
	ldr	x0, [x21, #56]
	mov	x1, x20
	bl	__zip_write4
	ldr	x8, [x21, #24]
	ldr	x9, [x27]
	cmp	x8, x9
	csel	x0, x8, x9, lt
	mov	x1, x20
	bl	__zip_write4
LBB0_37:
	ldr	x0, [x21, #80]
	cbz	x0, LBB0_39
; %bb.38:
	mov	x1, x20
	bl	__zip_string_write
LBB0_39:
	cbz	x23, LBB0_41
; %bb.40:
	ldr	w1, [x28]
	mov	x0, x23
	mov	x2, x20
	bl	__zip_ef_write
LBB0_41:
	ldr	x0, [x21, #72]
	cbz	x0, LBB0_43
; %bb.42:
	mov	x1, x22
	mov	x2, x20
	bl	__zip_ef_write
LBB0_43:
	ldr	w8, [x26]
	tst	w8, w22
	b.ne	LBB0_46
; %bb.44:
	ldr	x0, [x21, #64]
	cbz	x0, LBB0_46
; %bb.45:
	mov	x1, x20
	bl	__zip_string_write
LBB0_46:
	mov	x0, x23
	bl	__zip_ef_free
	mov	x0, x20
	bl	_ferror
	cbz	x0, LBB0_49
; %bb.47:
Lloh34:
	adrp	x8, _ZIP_ER_WRITE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ZIP_ER_WRITE@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _errno@GOTPAGE
Lloh38:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x19
	bl	__zip_error_set
LBB0_48:
	mov	w24, #-1
LBB0_49:
	ldur	x8, [x29, #-88]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.50:
	mov	x0, x24
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_51:
	mov	x23, #0
LBB0_52:
	ldr	w9, [x26]
	tst	w9, w22
	b.ne	LBB0_7
; %bb.53:
	cmp	w24, w8
	b.ne	LBB0_7
; %bb.54:
Lloh43:
	adrp	x8, _ZIP_EF_UTF_8_COMMENT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ZIP_EF_UTF_8_COMMENT@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	x1, [x21, #64]
	mov	x2, x19
	bl	__zip_ef_utf8
	cbz	x0, LBB0_56
; %bb.55:
	str	x23, [x0]
	mov	x23, x0
	b	LBB0_7
LBB0_56:
	mov	x0, x23
	bl	__zip_ef_free
	b	LBB0_48
LBB0_57:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_FL_LOCAL,4,2               ; @ZIP_FL_LOCAL
	.comm	_LOCAL_MAGIC,4,2                ; @LOCAL_MAGIC
	.comm	_CENTRAL_MAGIC,4,2              ; @CENTRAL_MAGIC
	.comm	_ZIP_ENCODING_UNKNOWN,4,2       ; @ZIP_ENCODING_UNKNOWN
	.comm	_ZIP_ENCODING_UTF8_KNOWN,4,2    ; @ZIP_ENCODING_UTF8_KNOWN
	.comm	_ZIP_ENCODING_ASCII,4,2         ; @ZIP_ENCODING_ASCII
	.comm	_ZIP_GPBF_ENCODING_UTF_8,4,2    ; @ZIP_GPBF_ENCODING_UTF_8
	.comm	_ZIP_EF_UTF_8_NAME,4,2          ; @ZIP_EF_UTF_8_NAME
	.comm	_ZIP_EF_UTF_8_COMMENT,4,2       ; @ZIP_EF_UTF_8_COMMENT
	.comm	_ZIP_FL_FORCE_ZIP64,4,2         ; @ZIP_FL_FORCE_ZIP64
	.comm	_ZIP_UINT32_MAX,8,3             ; @ZIP_UINT32_MAX
	.comm	_ZIP_EF_ZIP64,4,2               ; @ZIP_EF_ZIP64
	.comm	_ZIP_EF_BOTH,4,2                ; @ZIP_EF_BOTH
	.comm	_ZIP_ER_WRITE,4,2               ; @ZIP_ER_WRITE
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
