	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_set_name                  ## -- Begin function _zip_set_name
	.p2align	4, 0x90
__zip_set_name:                         ## @_zip_set_name
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	jle	LBB0_3
## %bb.1:
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rbx, %rdi
	callq	_ZIP_IS_RDONLY
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	addq	$8, %rbx
	movq	_ZIP_ER_RDONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	addq	$8, %rbx
	movq	_ZIP_ER_INVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
LBB0_5:
	movl	$-1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testq	%r12, %r12
	je	LBB0_14
## %bb.8:
	movq	%r12, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_14
## %bb.9:
	leaq	8(%rbx), %rcx
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	__zip_string_new
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	movq	%rax, %r15
	movq	_ZIP_FL_ENCODING_ALL@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movq	_ZIP_FL_ENC_GUESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_15
## %bb.11:
	movq	_ZIP_ENCODING_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	__zip_guess_encoding
	movq	_ZIP_ENCODING_UTF8_GUESSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	movq	_ZIP_ENCODING_UTF8_KNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_15
LBB0_14:
	xorl	%r15d, %r15d
LBB0_15:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	__zip_name_locate
	cmpq	%r14, %rax
	je	LBB0_18
## %bb.16:
	testq	%rax, %rax
	js	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	callq	__zip_string_free
	addq	$8, %rbx
	movq	_ZIP_ER_EXISTS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_18:
	testq	%rax, %rax
	js	LBB0_21
## %bb.19:
	cmpq	%r14, %rax
	jne	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	__zip_string_free
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_21:
	movq	16(%rbx), %r13
	shlq	$4, %r14
	leaq	(%r14,%r13), %r12
	movq	(%r13,%r14), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movq	8(%rax), %rdi
	callq	__zip_string_free
	movq	(%r12), %rax
	movq	$0, 8(%rax)
	movq	_ZIP_DIRENT_FILENAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	jmp	LBB0_25
LBB0_24:
	xorl	%eax, %eax
LBB0_25:
	movq	8(%r13,%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.26:
	movl	(%rcx), %edi
	movq	%r15, %rsi
	callq	__zip_string_equal
	testl	%eax, %eax
	je	LBB0_30
## %bb.27:
	movq	%r15, %rdi
	callq	__zip_string_free
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.28:
	cmpl	$0, (%rdi)
	jne	LBB0_6
## %bb.29:
	callq	__zip_dirent_free
	movq	$0, (%r12)
	jmp	LBB0_6
LBB0_30:
	movq	(%r12), %rax
LBB0_31:
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	leaq	(%r14,%r13), %rax
	addq	$8, %rax
	movq	(%rax), %rdi
	callq	__zip_dirent_clone
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_34
LBB0_33:
	movq	%r15, 8(%rax)
	movq	_ZIP_DIRENT_FILENAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_34:
	addq	$8, %rbx
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
	movq	%r15, %rdi
	callq	__zip_string_free
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_INVAL,4,2               ## @ZIP_ER_INVAL
	.comm	_ZIP_ER_RDONLY,4,2              ## @ZIP_ER_RDONLY
	.comm	_ZIP_FL_ENCODING_ALL,4,2        ## @ZIP_FL_ENCODING_ALL
	.comm	_ZIP_FL_ENC_GUESS,4,2           ## @ZIP_FL_ENC_GUESS
	.comm	_ZIP_ENCODING_UNKNOWN,4,2       ## @ZIP_ENCODING_UNKNOWN
	.comm	_ZIP_ENCODING_UTF8_GUESSED,8,3  ## @ZIP_ENCODING_UTF8_GUESSED
	.comm	_ZIP_ENCODING_UTF8_KNOWN,4,2    ## @ZIP_ENCODING_UTF8_KNOWN
	.comm	_ZIP_ER_EXISTS,4,2              ## @ZIP_ER_EXISTS
	.comm	_ZIP_DIRENT_FILENAME,4,2        ## @ZIP_DIRENT_FILENAME
	.comm	_ZIP_ER_MEMORY,4,2              ## @ZIP_ER_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_set_name                  ; -- Begin function _zip_set_name
	.p2align	2
__zip_set_name:                         ; @_zip_set_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_3
; %bb.1:
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x0, x19
	bl	_ZIP_IS_RDONLY
	cbz	x0, LBB0_7
; %bb.2:
	add	x0, x19, #8
Lloh0:
	adrp	x8, _ZIP_ER_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_ER_RDONLY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	add	x0, x19, #8
Lloh2:
	adrp	x8, _ZIP_ER_INVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	mov	w2, #0
	bl	__zip_error_set
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	cbz	x22, LBB0_13
; %bb.8:
	mov	x0, x22
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.9:
	mov	x1, x0
	add	x3, x19, #8
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x23
	bl	__zip_string_new
	cbz	x0, LBB0_5
; %bb.10:
	mov	x20, x0
Lloh4:
	adrp	x8, _ZIP_FL_ENCODING_ALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ZIP_FL_ENCODING_ALL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	and	w8, w8, w23
Lloh7:
	adrp	x9, _ZIP_FL_ENC_GUESS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ZIP_FL_ENC_GUESS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.11:
Lloh10:
	adrp	x8, _ZIP_ENCODING_UNKNOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZIP_ENCODING_UNKNOWN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	__zip_guess_encoding
Lloh13:
	adrp	x8, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ZIP_ENCODING_UTF8_GUESSED@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.12:
Lloh16:
	adrp	x8, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZIP_ENCODING_UTF8_KNOWN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_14
LBB0_13:
	mov	x20, #0
LBB0_14:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x3, #0
	bl	__zip_name_locate
	cmp	x0, x21
	b.eq	LBB0_17
; %bb.15:
	tbnz	x0, #63, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	__zip_string_free
	add	x0, x19, #8
Lloh19:
	adrp	x8, _ZIP_ER_EXISTS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ZIP_ER_EXISTS@GOTPAGEOFF]
	b	LBB0_4
LBB0_17:
	tbnz	x0, #63, LBB0_20
; %bb.18:
	cmp	x0, x21
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x20
	bl	__zip_string_free
	mov	w0, #0
	b	LBB0_6
LBB0_20:
	ldr	x8, [x19, #16]
	add	x21, x8, x21, lsl #4
	ldr	x8, [x21]
Lloh21:
	adrp	x22, _ZIP_DIRENT_FILENAME@GOTPAGE
Lloh22:
	ldr	x22, [x22, _ZIP_DIRENT_FILENAME@GOTPAGEOFF]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	x0, [x8, #8]
	bl	__zip_string_free
	ldr	x8, [x21]
	str	xzr, [x8, #8]
	ldr	w9, [x22]
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
LBB0_22:
	mov	x23, x21
	ldr	x9, [x23, #8]!
	cbz	x9, LBB0_28
; %bb.23:
	ldr	w0, [x9]
	mov	x1, x20
	bl	__zip_string_equal
	cbz	w0, LBB0_27
; %bb.24:
	mov	x0, x20
	bl	__zip_string_free
	ldr	x0, [x21]
	cbz	x0, LBB0_6
; %bb.25:
	ldr	w8, [x0]
	cbz	w8, LBB0_31
; %bb.26:
	mov	w0, #0
	b	LBB0_6
LBB0_27:
	ldr	x8, [x21]
LBB0_28:
	cbnz	x8, LBB0_30
; %bb.29:
	ldr	x0, [x23]
	bl	__zip_dirent_clone
	mov	x8, x0
	str	x0, [x21]
	cbz	x0, LBB0_32
LBB0_30:
	mov	w0, #0
	str	x20, [x8, #8]
	ldr	w9, [x22]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	b	LBB0_6
LBB0_31:
	bl	__zip_dirent_free
	mov	w0, #0
	str	xzr, [x21]
	b	LBB0_6
LBB0_32:
	add	x0, x19, #8
Lloh23:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w2, #0
	bl	__zip_error_set
	mov	x0, x20
	bl	__zip_string_free
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_INVAL,4,2               ; @ZIP_ER_INVAL
	.comm	_ZIP_ER_RDONLY,4,2              ; @ZIP_ER_RDONLY
	.comm	_ZIP_FL_ENCODING_ALL,4,2        ; @ZIP_FL_ENCODING_ALL
	.comm	_ZIP_FL_ENC_GUESS,4,2           ; @ZIP_FL_ENC_GUESS
	.comm	_ZIP_ENCODING_UNKNOWN,4,2       ; @ZIP_ENCODING_UNKNOWN
	.comm	_ZIP_ENCODING_UTF8_GUESSED,8,3  ; @ZIP_ENCODING_UTF8_GUESSED
	.comm	_ZIP_ENCODING_UTF8_KNOWN,4,2    ; @ZIP_ENCODING_UTF8_KNOWN
	.comm	_ZIP_ER_EXISTS,4,2              ; @ZIP_ER_EXISTS
	.comm	_ZIP_DIRENT_FILENAME,4,2        ; @ZIP_DIRENT_FILENAME
	.comm	_ZIP_ER_MEMORY,4,2              ; @ZIP_ER_MEMORY
.subsections_via_symbols
