	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_find_central_dir
__zip_find_central_dir:                 ## @_zip_find_central_dir
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CDBUFSIZE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	movq	%rdx, %r15
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	negq	%rax
	movq	_SEEK_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_fseeko
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EFBIG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_ftello
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_clearerr
	movq	(%r14), %rdx
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%rbx, %rcx
	callq	_fread
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ZIP_ER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_set_error
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_23
LBB0_5:
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	cmpq	(%r14), %r13
	movq	_EOCD64LOCLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movl	$0, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmovbq	%rcx, %r15
	addq	%r12, %r15
	movq	_ZIP_ER_NOZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	addq	%r12, %r14
	movl	$-1, %edx
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_EOCDLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%r15, %rax
	movq	%r14, %rsi
	subq	%rax, %rsi
	addq	$4, %rsi
	movq	_EOCD_MAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movl	$4, %ecx
	callq	__zip_memmem
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%rax, %r15
	movq	%rax, %rcx
	incq	%r15
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	__zip_readcdir
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%rax, %r13
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jg	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-48(%rbp), %rdx
	callq	__zip_checkcons
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	leaq	-48(%rbp), %rdx
	callq	__zip_checkcons
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r13, %rdi
	callq	__zip_cdir_free
	jmp	LBB0_10
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%edx, %edx
	movq	%r13, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movq	_ZIP_CHECKCONS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	leaq	-48(%rbp), %rdx
	callq	__zip_checkcons
	movl	%eax, %edx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	__zip_cdir_free
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_9
LBB0_20:
	movq	%r12, %rdi
	callq	_free
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_22
## %bb.21:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_2:
	movq	_ZIP_ER_SEEK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_set_error
LBB0_23:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leaq	-48(%rbp), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_set_error
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	__zip_cdir_free
	xorl	%ebx, %ebx
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_CDBUFSIZE,8,3                  ## @CDBUFSIZE
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_errno,8,3                      ## @errno
	.comm	_EFBIG,8,3                      ## @EFBIG
	.comm	_ZIP_ER_SEEK,4,2                ## @ZIP_ER_SEEK
	.comm	_ZIP_ER_MEMORY,4,2              ## @ZIP_ER_MEMORY
	.comm	_ZIP_ER_READ,4,2                ## @ZIP_ER_READ
	.comm	_EOCD64LOCLEN,4,2               ## @EOCD64LOCLEN
	.comm	_ZIP_ER_NOZIP,4,2               ## @ZIP_ER_NOZIP
	.comm	_EOCDLEN,4,2                    ## @EOCDLEN
	.comm	_EOCD_MAGIC,8,3                 ## @EOCD_MAGIC
	.comm	_ZIP_CHECKCONS,4,2              ## @ZIP_CHECKCONS
	.no_dead_strip	__zip_find_central_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zip_find_central_dir
__zip_find_central_dir:                 ; @_zip_find_central_dir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x19, _CDBUFSIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _CDBUFSIZE@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, x3
	csel	x8, x8, x3, lo
	neg	x1, x8
Lloh2:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_fseeko
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _EFBIG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EFBIG@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
LBB0_2:
	mov	x0, x21
	bl	_ftello
	mov	x23, x0
	ldr	x0, [x19]
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x22, x0
	mov	x0, x21
	bl	_clearerr
	ldr	x2, [x19]
	mov	x0, x22
	mov	w1, #1
	mov	x3, x21
	bl	_fread
	mov	x24, x0
	mov	x0, x21
	bl	_ferror
	cbz	x0, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _ZIP_ER_READ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ZIP_ER_READ@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, #0
	bl	_set_error
	mov	x0, x22
	bl	_free
	b	LBB0_22
LBB0_5:
Lloh14:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
	b	LBB0_21
LBB0_6:
	str	x25, [sp]                       ; 8-byte Folded Spill
	ldr	x8, [x19]
Lloh16:
	adrp	x9, _EOCD64LOCLEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EOCD64LOCLEN@GOTPAGEOFF]
Lloh18:
	ldrsw	x9, [x9]
	cmp	x24, x8
	csel	x8, xzr, x9, lo
	add	x26, x22, x8
Lloh19:
	adrp	x8, _ZIP_ER_NOZIP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ZIP_ER_NOZIP@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	w2, #0
	bl	__zip_error_set
	mov	x9, #0
	add	x19, x24, x22
	mov	w0, #-1
Lloh22:
	adrp	x25, _EOCDLEN@GOTPAGE
Lloh23:
	ldr	x25, [x25, _EOCDLEN@GOTPAGEOFF]
Lloh24:
	adrp	x27, _EOCD_MAGIC@GOTPAGE
Lloh25:
	ldr	x27, [x27, _EOCD_MAGIC@GOTPAGEOFF]
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
LBB0_8:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x25]
	add	x8, x8, x26
	sub	x8, x19, x8
	add	x1, x8, #4
	ldr	x2, [x27]
	mov	x0, x26
	mov	w3, #4
	bl	__zip_memmem
	cbz	x0, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x3, x0
	add	x26, x0, #1
	add	x6, sp, #24
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x4, x24
	mov	x5, x20
	bl	__zip_readcdir
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x28, x0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w0, #0
	b.gt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	add	x2, sp, #24
	mov	x0, x21
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	__zip_checkcons
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x28
	bl	__zip_checkcons
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, w0
	b.lt	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x28
	bl	__zip_cdir_free
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #0
Lloh26:
	adrp	x8, _ZIP_CHECKCONS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ZIP_CHECKCONS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	mov	x9, x28
	tst	w8, w20
	b.eq	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x28
	bl	__zip_checkcons
	mov	x9, x28
	b	LBB0_7
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	__zip_cdir_free
	mov	x9, x28
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	b	LBB0_7
LBB0_18:
	mov	x0, x22
	bl	_free
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_24
; %bb.19:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_23
LBB0_20:
Lloh29:
	adrp	x8, _ZIP_ER_SEEK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ZIP_ER_SEEK@GOTPAGEOFF]
LBB0_21:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, #0
	bl	_set_error
LBB0_22:
	mov	x0, #0
LBB0_23:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_24:
	add	x1, sp, #24
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	w2, #0
	bl	_set_error
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	__zip_cdir_free
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CDBUFSIZE,8,3                  ; @CDBUFSIZE
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_errno,8,3                      ; @errno
	.comm	_EFBIG,8,3                      ; @EFBIG
	.comm	_ZIP_ER_SEEK,4,2                ; @ZIP_ER_SEEK
	.comm	_ZIP_ER_MEMORY,4,2              ; @ZIP_ER_MEMORY
	.comm	_ZIP_ER_READ,4,2                ; @ZIP_ER_READ
	.comm	_EOCD64LOCLEN,4,2               ; @EOCD64LOCLEN
	.comm	_ZIP_ER_NOZIP,4,2               ; @ZIP_ER_NOZIP
	.comm	_EOCDLEN,4,2                    ; @EOCDLEN
	.comm	_EOCD_MAGIC,8,3                 ; @EOCD_MAGIC
	.comm	_ZIP_CHECKCONS,4,2              ; @ZIP_CHECKCONS
	.no_dead_strip	__zip_find_central_dir
.subsections_via_symbols
