	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_zip_parse_options
_php_zip_parse_options:                 ## @php_zip_parse_options
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_Z_ARRVAL_P
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	$15, %edx
	callq	_zend_hash_str_find
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_zval_get_long
	movl	%eax, (%rbx)
LBB0_2:
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	movl	$11, %edx
	callq	_zend_hash_str_find
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.4:
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	testl	%eax, %eax
	jle	LBB0_14
## %bb.5:
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	%ebx, %eax
	jge	LBB0_15
## %bb.6:
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	cltq
	movq	%rax, (%r13)
	movq	%r14, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, (%r12)
LBB0_7:
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edi
	movl	$8, %edx
	callq	_zend_hash_str_find
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_19
## %bb.8:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	testl	%eax, %eax
	jle	LBB0_16
## %bb.10:
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	cmpl	%r15d, %eax
	jge	LBB0_20
## %bb.11:
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r14, %rdi
	callq	_Z_STRVAL_P
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_19
LBB0_12:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_17
LBB0_13:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_17
LBB0_14:
	movq	_E_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_17
LBB0_15:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	decl	%ebx
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	leaq	L_.str.4(%rip), %rdx
	xorl	%edi, %edi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	jmp	LBB0_21
LBB0_16:
	movq	_E_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
LBB0_17:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_php_error_docref
LBB0_18:
	movl	$-1, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%r15d
	movq	%r14, %rdi
	callq	_Z_STRLEN_P
	leaq	L_.str.8(%rip), %rdx
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%r15d, %ecx
LBB0_21:
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_php_error_docref
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remove_all_path"

L_.str.1:                               ## @.str.1
	.asciz	"remove_path"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.comm	_E_WARNING,4,2                  ## @E_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"remove_path option expected to be a string"

	.comm	_E_NOTICE,4,2                   ## @E_NOTICE
L_.str.3:                               ## @.str.3
	.asciz	"Empty string given as remove_path option"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
L_.str.4:                               ## @.str.4
	.asciz	"remove_path string is too long (max: %d, %zd given)"

L_.str.5:                               ## @.str.5
	.asciz	"add_path"

L_.str.6:                               ## @.str.6
	.asciz	"add_path option expected to be a string"

L_.str.7:                               ## @.str.7
	.asciz	"Empty string given as the add_path option"

L_.str.8:                               ## @.str.8
	.asciz	"add_path string too long (max: %d, %zd given)"

	.no_dead_strip	_php_zip_parse_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_zip_parse_options
_php_zip_parse_options:                 ; @php_zip_parse_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x5
	mov	x19, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
	bl	_Z_ARRVAL_P
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #15
	bl	_zend_hash_str_find
	cbz	x0, LBB0_2
; %bb.1:
	bl	_zval_get_long
	str	w0, [x24]
LBB0_2:
	mov	x0, x21
	bl	_Z_ARRVAL_P
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #11
	bl	_zend_hash_str_find
	cbz	x0, LBB0_7
; %bb.3:
	mov	x24, x0
	bl	_Z_TYPE_P
Lloh4:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.4:
	mov	x0, x24
	bl	_Z_STRLEN_P
	cmp	w0, #0
	b.le	LBB0_15
; %bb.5:
	mov	x0, x24
	bl	_Z_STRLEN_P
Lloh7:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_16
; %bb.6:
	mov	x0, x24
	bl	_Z_STRLEN_P
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x23]
	mov	x0, x24
	bl	_Z_STRVAL_P
	str	x0, [x22]
LBB0_7:
	mov	x0, x21
	bl	_Z_ARRVAL_P
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #8
	bl	_zend_hash_str_find
	cbz	x0, LBB0_12
; %bb.8:
	mov	x21, x0
	bl	_Z_TYPE_P
Lloh12:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.9:
	mov	x0, x21
	bl	_Z_STRLEN_P
	cmp	w0, #0
	b.le	LBB0_17
; %bb.10:
	mov	x0, x21
	bl	_Z_STRLEN_P
Lloh15:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_21
; %bb.11:
	mov	x0, x21
	bl	_Z_STRLEN_P
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x20]
	mov	x0, x21
	bl	_Z_STRVAL_P
	str	x0, [x19]
LBB0_12:
	mov	w0, #1
	b	LBB0_20
LBB0_13:
Lloh18:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_14:
Lloh23:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.6@PAGE
Lloh27:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_15:
Lloh28:
	adrp	x8, _E_NOTICE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _E_NOTICE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x2, l_.str.3@PAGE
Lloh32:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_16:
Lloh33:
	adrp	x9, _E_WARNING@GOTPAGE
Lloh34:
	ldr	x9, [x9, _E_WARNING@GOTPAGEOFF]
Lloh35:
	ldr	w19, [x9]
	sub	w20, w8, #1
	mov	x0, x24
	bl	_Z_STRLEN_P
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh36:
	adrp	x2, l_.str.4@PAGE
Lloh37:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_17:
Lloh38:
	adrp	x8, _E_NOTICE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _E_NOTICE@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x2, l_.str.7@PAGE
Lloh42:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_18:
	mov	x0, #0
LBB0_19:
	bl	_php_error_docref
	mov	w0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
Lloh43:
	adrp	x9, _E_WARNING@GOTPAGE
Lloh44:
	ldr	x9, [x9, _E_WARNING@GOTPAGEOFF]
Lloh45:
	ldr	w19, [x9]
	sub	w20, w8, #1
	mov	x0, x21
	bl	_Z_STRLEN_P
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh46:
	adrp	x2, l_.str.8@PAGE
Lloh47:
	add	x2, x2, l_.str.8@PAGEOFF
LBB0_22:
	mov	x0, #0
	mov	x1, x19
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remove_all_path"

l_.str.1:                               ; @.str.1
	.asciz	"remove_path"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.comm	_E_WARNING,4,2                  ; @E_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"remove_path option expected to be a string"

	.comm	_E_NOTICE,4,2                   ; @E_NOTICE
l_.str.3:                               ; @.str.3
	.asciz	"Empty string given as remove_path option"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
l_.str.4:                               ; @.str.4
	.asciz	"remove_path string is too long (max: %d, %zd given)"

l_.str.5:                               ; @.str.5
	.asciz	"add_path"

l_.str.6:                               ; @.str.6
	.asciz	"add_path option expected to be a string"

l_.str.7:                               ; @.str.7
	.asciz	"Empty string given as the add_path option"

l_.str.8:                               ; @.str.8
	.asciz	"add_path string too long (max: %d, %zd given)"

	.no_dead_strip	_php_zip_parse_options
.subsections_via_symbols
