	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_zip_pcre                   ## -- Begin function php_zip_pcre
	.p2align	4, 0x90
_php_zip_pcre:                          ## @php_zip_pcre
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_php_pcre_mctx
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_ZIP_OPENBASEDIR_CHECKPATH
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_1
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.22:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	_php_stream_dirent_alphasort@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_php_stream_scandir
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_21
## %bb.2:
	leaq	-80(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pcre_get_compiled_regex
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_array_init
	movslq	%r12d, %rax
	incq	%rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_php_error_docref
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	movq	%r14, %rsp
	incq	%r13
	cmpq	%r13, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_20
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r14
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_ZSTR_LEN
	movq	%rax, %r12
	cmpq	$2, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$1, %r12
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_ZSTR_VAL
	cmpb	$46, (%rax)
	je	LBB0_18
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_ZSTR_VAL
	cmpb	$46, (%rax)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_ZSTR_VAL
	cmpb	$46, 1(%rax)
	je	LBB0_18
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	-120(%rbp), %r12                ## 8-byte Folded Reload
	movslq	(%rbx), %rcx
	cmpq	%rcx, %r12
	jae	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-80(%rbp), %edi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_php_pcre_create_match_data
	movq	%rax, %rbx
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	callq	_ZSTR_VAL
	movq	%rax, %r12
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_ZSTR_LEN
	subq	$8, %rsp
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_pcre2_match
	addq	$16, %rsp
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_php_pcre_free_match_data
	testl	%r12d, %r12d
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
	js	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %r15d
	movq	_DEFAULT_SLASH@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_ZSTR_VAL
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rdi, %r15
	movq	%rax, %r9
	callq	_snprintf
	movq	%r15, %rdi
	leaq	-72(%rbp), %rsi
	callq	_VCWD_STAT
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-72(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_add_next_index_string
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
	jmp	LBB0_19
LBB0_3:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_php_error_docref
	movl	$-1, %ebx
	jmp	LBB0_21
LBB0_23:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_php_error_docref
	movq	-56(%rbp), %rax
	movq	(%rax,%r13,8), %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	movq	%r14, %rsp
LBB0_20:
	movq	-56(%rbp), %rdi
	callq	_efree
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_21
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_php_stream_dirent_alphasort,8,3 ## @php_stream_dirent_alphasort
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid expression"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
L_.str.1:                               ## @.str.1
	.asciz	"add_path string too long (max: %u, %zu given)"

L_.str.2:                               ## @.str.2
	.asciz	"%s%c%s"

	.comm	_DEFAULT_SLASH,8,3              ## @DEFAULT_SLASH
L_.str.3:                               ## @.str.3
	.asciz	"Cannot read <%s>"

	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_S_IFMT,4,2                     ## @S_IFMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_php_zip_pcre                   ; -- Begin function php_zip_pcre
	.p2align	2
_php_zip_pcre:                          ; @php_zip_pcre
	.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
	sub	sp, sp, #48
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_php_pcre_mctx
	mov	x22, x0
	mov	x0, x21
	bl	_ZIP_OPENBASEDIR_CHECKPATH
	cbz	x0, LBB0_4
LBB0_1:
	mov	w19, #-1
LBB0_2:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.3:
	mov	x0, x19
	sub	sp, x29, #80
	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
LBB0_4:
Lloh6:
	adrp	x8, _php_stream_dirent_alphasort@GOTPAGE
Lloh7:
	ldr	x8, [x8, _php_stream_dirent_alphasort@GOTPAGEOFF]
Lloh8:
	ldr	x3, [x8]
	sub	x1, x29, #96
	mov	x0, x21
	mov	x2, #0
	bl	_php_stream_scandir
	mov	x19, x0
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.5:
	sub	x1, x29, #100
	mov	x0, x23
	bl	_pcre_get_compiled_regex
	cbz	x0, LBB0_21
; %bb.6:
	mov	x23, x0
	stur	x22, [x29, #-112]               ; 8-byte Folded Spill
	stur	x20, [x29, #-128]               ; 8-byte Folded Spill
	mov	x0, x20
	bl	_array_init
	mov	x25, #0
	sxtw	x8, w24
	add	x20, x8, #1
	stur	w19, [x29, #-116]               ; 4-byte Folded Spill
	mov	w8, w19
	lsl	x22, x8, #3
Lloh9:
	adrp	x19, _MAXPATHLEN@GOTPAGE
Lloh10:
	ldr	x19, [x19, _MAXPATHLEN@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
Lloh11:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	str	x26, [sp, #-16]!
	mov	x0, #0
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_php_error_docref
	add	sp, sp, #16
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w1, #0
	bl	_zend_string_release_ex
	mov	sp, x24
	add	x25, x25, #8
	cmp	x22, x25
	b.eq	LBB0_23
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x24, sp
	ldr	w8, [x19]
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	bl	_ZSTR_LEN
	mov	x27, x0
	cmp	x0, #2
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	x27, #1
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	bl	_ZSTR_VAL
	ldrb	w8, [x0]
	cmp	w8, #46
	b.eq	LBB0_8
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	bl	_ZSTR_VAL
	ldrb	w8, [x0]
	cmp	w8, #46
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	bl	_ZSTR_VAL
	ldrb	w8, [x0, #1]
	cmp	w8, #46
	b.eq	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	ldrsw	x9, [x19]
	add	x8, x20, x27
	cmp	x8, x9
	b.hs	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	w0, [x29, #-100]
	mov	x1, x23
	bl	_php_pcre_create_match_data
	mov	x27, x0
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	cbz	x27, LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_ZSTR_VAL
	mov	x28, x0
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	bl	_ZSTR_LEN
	mov	x2, x0
	mov	x0, x23
	mov	x1, x28
	mov	w3, #0
	mov	w4, #0
	mov	x5, x27
	ldur	x6, [x29, #-112]                ; 8-byte Folded Reload
	bl	_pcre2_match
	mov	x28, x0
	mov	x0, x27
	bl	_php_pcre_free_match_data
	tbnz	w28, #31, LBB0_8
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w27, [x19]
Lloh18:
	adrp	x8, _DEFAULT_SLASH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DEFAULT_SLASH@GOTPAGEOFF]
Lloh20:
	ldr	x28, [x8]
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	bl	_ZSTR_VAL
	mov	x5, x0
	mov	x0, x26
	mov	x1, x27
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x21
	mov	x4, x28
	bl	_snprintf
	sub	x1, x29, #104
	mov	x0, x26
	bl	_VCWD_STAT
	cbnz	x0, LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh23:
	adrp	x8, _S_IFDIR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _S_IFDIR@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldur	w9, [x29, #-104]
Lloh26:
	adrp	x10, _S_IFMT@GOTPAGE
Lloh27:
	ldr	x10, [x10, _S_IFMT@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	and	w9, w10, w9
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x1, x26
	bl	_add_next_index_string
	b	LBB0_8
LBB0_21:
Lloh29:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str@PAGE
Lloh33:
	add	x2, x2, l_.str@PAGEOFF
	bl	_php_error_docref
	b	LBB0_1
LBB0_22:
Lloh34:
	adrp	x10, _E_WARNING@GOTPAGE
Lloh35:
	ldr	x10, [x10, _E_WARNING@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x10]
	sub	w9, w9, #1
	stp	x9, x8, [sp, #-16]!
Lloh37:
	adrp	x2, l_.str.1@PAGE
Lloh38:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	add	sp, sp, #16
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, x25]
	mov	w1, #0
	bl	_zend_string_release_ex
	mov	sp, x24
LBB0_23:
	ldur	x0, [x29, #-96]
	bl	_efree
	ldur	w19, [x29, #-116]               ; 4-byte Folded Reload
	b	LBB0_2
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_php_stream_dirent_alphasort,8,3 ; @php_stream_dirent_alphasort
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid expression"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
l_.str.1:                               ; @.str.1
	.asciz	"add_path string too long (max: %u, %zu given)"

l_.str.2:                               ; @.str.2
	.asciz	"%s%c%s"

	.comm	_DEFAULT_SLASH,8,3              ; @DEFAULT_SLASH
l_.str.3:                               ; @.str.3
	.asciz	"Cannot read <%s>"

	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_S_IFMT,4,2                     ; @S_IFMT
.subsections_via_symbols
