	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unzlocal_SearchCentralDir      ## -- Begin function unzlocal_SearchCentralDir
	.p2align	4, 0x90
_unzlocal_SearchCentralDir:             ## @unzlocal_SearchCentralDir
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_fseek
	testq	%rax, %rax
	jne	LBB0_17
## %bb.1:
	movq	%rbx, %rdi
	callq	_ftell
	movl	%eax, %r15d
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmovll	%r15d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_BUFREADCOMMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$4, %edi
	callq	_ALLOC
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leal	-4(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$4, %r14d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	xorl	%r12d, %r12d
	cmpl	%ecx, %r14d
	jge	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BUFREADCOMMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%ebx, %r14d
	cmpl	%ecx, %r14d
	cmovgel	%ecx, %r14d
	movq	%r15, %r12
	movl	%r15d, %esi
	subl	%r14d, %esi
	addl	$4, %ebx
	cmpl	%r14d, %ebx
	cmovgel	%r14d, %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_fseek
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fread
	cmpl	$1, %eax
	movq	%r12, %r15
	movl	$0, %r12d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r12d, %r12d
	cmpl	$4, %ebx
	jl	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-4(%rbx), %eax
	addl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	subl	%r14d, %ebx
	incq	%rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	decl	%ebx
	decq	%rax
	jle	LBB0_15
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$80, -1(%r13,%rax)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$75, (%r13,%rax)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$5, 1(%r13,%rax)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$6, 2(%r13,%rax)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %r12d
	jmp	LBB0_15
LBB0_5:
	xorl	%r12d, %r12d
LBB0_16:
	movq	%r13, %rdi
	callq	_TRYFREE
LBB0_17:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_BUFREADCOMMENT,4,2             ## @BUFREADCOMMENT
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unzlocal_SearchCentralDir      ; -- Begin function unzlocal_SearchCentralDir
	.p2align	2
_unzlocal_SearchCentralDir:             ; @unzlocal_SearchCentralDir
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	mov	w22, #0
	cbnz	x0, LBB0_17
; %bb.1:
	mov	x0, x19
	bl	_ftell
	mov	x21, x0
	mov	w8, #65535
	cmp	w0, w8
	csel	w24, w0, w8, lt
Lloh3:
	adrp	x25, _BUFREADCOMMENT@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BUFREADCOMMENT@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w0, w8, #4
	bl	_ALLOC
	cbz	x0, LBB0_16
; %bb.2:
	mov	x20, x0
	mov	w27, #4
Lloh5:
	adrp	x26, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x26, [x26, _SEEK_SET@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
	cbnz	w22, LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w27, w24
	b.ge	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	add	w9, w8, w27
	cmp	w9, w24
	csel	w27, w9, w24, lt
	sub	w22, w21, w27
	add	w8, w8, #4
	cmp	w8, w27
	csel	w23, w8, w27, lt
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x22
	bl	_fseek
	cbnz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	subs	w8, w23, #4
	b.ge	LBB0_9
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	sub	x9, x8, #1
	cmp	x8, #0
	mov	x8, x9
	b.le	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x20, x8]
	cmp	w9, #80
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x9, x20, x8
	ldrb	w10, [x9, #1]
	cmp	w10, #75
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w9, [x9, #2]
	cmp	w9, #5
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x9, x20, x8
	ldrb	w9, [x9, #3]
	cmp	w9, #6
	b.ne	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, w8
	cbz	w22, LBB0_4
	b	LBB0_15
LBB0_14:
	mov	w22, #0
LBB0_15:
	mov	x0, x20
	bl	_TRYFREE
	b	LBB0_17
LBB0_16:
	mov	w22, #0
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_BUFREADCOMMENT,4,2             ; @BUFREADCOMMENT
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
