	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function user_filter_factory_create
_user_filter_factory_create:            ## @user_filter_factory_create
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_php_error_docref
LBB0_25:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_strlen
	movq	%rax, %r12
	movq	_user_filter_map@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_BG
	movl	%eax, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_zend_hash_str_find_ptr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
LBB0_11:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	jne	LBB0_14
## %bb.12:
	movl	8(%r14), %edi
	callq	_zend_lookup_class
	movq	%rax, %rsi
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_13
LBB0_14:
	leaq	-44(%rbp), %rdi
	callq	_object_init_ex
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_3:
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r14
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_safe_emalloc
	movq	%rax, %r13
	incq	%r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	testq	%r13, %r13
	je	LBB0_8
## %bb.5:
	movq	%rbx, %r12
	subq	%r15, %r14
	movq	%r13, %rbx
	addq	%r14, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpb	$46, (%rbx)
	sete	%dil
	callq	_ZEND_ASSERT
	movw	$42, 1(%rbx)
	movl	(%r12), %edi
	callq	_BG
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_strlen
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_zend_hash_str_find_ptr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%rbx)
	movq	%r13, %rdi
	movl	$46, %esi
	callq	_strrchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_8:
	movq	%r13, %rdi
	callq	_efree
LBB0_9:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_php_error_docref
	jmp	LBB0_25
LBB0_16:
	movq	_userfilter_ops@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_php_stream_filter_alloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	leaq	-44(%rbp), %rdi
	movq	%r15, %rdx
	callq	_add_property_string
	leaq	L_.str.4(%rip), %rsi
	leaq	-44(%rbp), %rdi
	testq	%r13, %r13
	je	LBB0_20
## %bb.19:
	movq	%r13, %rdx
	callq	_add_property_zval
	jmp	LBB0_21
LBB0_13:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	8(%r14), %edi
	callq	_ZSTR_VAL
	leaq	L_.str.2(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%r12d, %esi
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_php_error_docref
	jmp	LBB0_25
LBB0_10:
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_efree
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_20:
	callq	_add_property_null
LBB0_21:
	leaq	L_.str.5(%rip), %rsi
	leaq	-52(%rbp), %r14
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_ZVAL_STRINGL
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rcx
	xorl	%edi, %edi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_call_user_function
	movl	-48(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_UNDEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_24
## %bb.22:
	movl	-48(%rbp), %edi
	callq	_Z_TYPE
	movq	%rax, %r14
	movq	_IS_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	-48(%rbp), %rdi
	callq	_zval_ptr_dtor
	cmpq	%r15, %r14
	jne	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	_ZVAL_UNDEF
	movq	%rbx, %rdi
	callq	_php_stream_filter_free
LBB0_17:
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_24:
	leaq	-52(%rbp), %rdi
	callq	_zval_ptr_dtor
	movq	_le_userfilters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_zend_register_resource
	leaq	-68(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ZVAL_RES
	movl	-44(%rbp), %edi
	callq	_Z_OBJ
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ZVAL_OBJ
	leaq	L_.str.6(%rip), %rsi
	leaq	-44(%rbp), %rdi
	movq	%r14, %rdx
	callq	_add_property_zval
	movq	%r14, %rdi
	callq	_zval_ptr_dtor
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot use a user-space filter with a persistent stream"

	.comm	_user_filter_map,4,2            ## @user_filter_map
L_.str.1:                               ## @.str.1
	.asciz	"Err, filter \"%s\" is not in the user-filter map, but somehow the user-filter-factory was invoked for it!?"

L_.str.2:                               ## @.str.2
	.asciz	"user-filter \"%s\" requires class \"%s\", but that class is not defined"

	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_userfilter_ops,4,2             ## @userfilter_ops
L_.str.3:                               ## @.str.3
	.asciz	"filtername"

L_.str.4:                               ## @.str.4
	.asciz	"params"

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

	.comm	_IS_UNDEF,8,3                   ## @IS_UNDEF
	.comm	_IS_FALSE,8,3                   ## @IS_FALSE
	.comm	_le_userfilters,4,2             ## @le_userfilters
L_.str.6:                               ## @.str.6
	.asciz	"filter"

	.no_dead_strip	_user_filter_factory_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function user_filter_factory_create
_user_filter_factory_create:            ; @user_filter_factory_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x2, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, #0
LBB0_3:
	bl	_php_error_docref
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	mov	x20, x1
	mov	x19, x0
	bl	_strlen
	mov	x22, x0
Lloh5:
	adrp	x24, _user_filter_map@GOTPAGE
Lloh6:
	ldr	x24, [x24, _user_filter_map@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_BG
	mov	x1, x19
	mov	x2, x22
	bl	_zend_hash_str_find_ptr
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x1, [x23]
	cbnz	x1, LBB0_18
LBB0_8:
	ldr	w0, [x23, #8]
	bl	_zend_lookup_class
	mov	x1, x0
	str	x0, [x23]
	cbnz	x0, LBB0_18
; %bb.9:
Lloh7:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	ldr	w0, [x23, #8]
	bl	_ZSTR_VAL
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	x1, x20
	b	LBB0_3
LBB0_10:
	mov	x0, x19
	mov	w1, #46
	bl	_strrchr
	cbz	x0, LBB0_16
; %bb.11:
	mov	x23, x0
	mov	x0, x22
	mov	w1, #1
	mov	w2, #3
	bl	_safe_emalloc
	mov	x21, x0
	add	x2, x22, #1
	mov	x1, x19
	bl	_memcpy
	cbz	x21, LBB0_15
; %bb.12:
	sub	x8, x23, x19
	add	x22, x21, x8
	mov	w25, #42
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cmp	w8, #46
	cset	w0, eq
	bl	_ZEND_ASSERT
	sturh	w25, [x22, #1]
	ldr	w0, [x24]
	bl	_BG
	mov	x23, x0
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x21
	bl	_zend_hash_str_find_ptr
	cbnz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	strb	wzr, [x22]
	mov	x0, x21
	mov	w1, #46
	bl	_strrchr
	mov	x22, x0
	cbnz	x0, LBB0_13
LBB0_15:
	mov	x0, x21
	bl	_efree
LBB0_16:
Lloh12:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	str	x19, [sp]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_17:
	mov	x23, x0
	mov	x0, x21
	bl	_efree
	ldr	x1, [x23]
	cbz	x1, LBB0_8
LBB0_18:
	add	x0, sp, #28
	bl	_object_init_ex
Lloh17:
	adrp	x8, _FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.19:
Lloh20:
	adrp	x0, _userfilter_ops@GOTPAGE
Lloh21:
	ldr	x0, [x0, _userfilter_ops@GOTPAGEOFF]
	mov	x1, #0
	mov	w2, #0
	bl	_php_stream_filter_alloc
	mov	x21, x0
	cbz	x0, LBB0_22
; %bb.20:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #28
	mov	x2, x19
	bl	_add_property_string
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #28
	cbz	x20, LBB0_23
; %bb.21:
	mov	x2, x20
	bl	_add_property_zval
	b	LBB0_24
LBB0_22:
	add	x0, sp, #28
	b	LBB0_28
LBB0_23:
	bl	_add_property_null
LBB0_24:
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #20
	mov	w2, #8
	bl	_ZVAL_STRINGL
	add	x1, sp, #28
	add	x2, sp, #20
	add	x3, sp, #16
	mov	x0, #0
	mov	w4, #0
	mov	x5, #0
	bl	_call_user_function
	ldr	w0, [sp, #16]
	bl	_Z_TYPE
Lloh28:
	adrp	x8, _IS_UNDEF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IS_UNDEF@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_27
; %bb.25:
	ldr	w0, [sp, #16]
	bl	_Z_TYPE
	mov	x19, x0
Lloh31:
	adrp	x8, _IS_FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IS_FALSE@GOTPAGEOFF]
Lloh33:
	ldr	x20, [x8]
	add	x0, sp, #16
	bl	_zval_ptr_dtor
	cmp	x19, x20
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x21
	bl	_ZVAL_UNDEF
	mov	x0, x21
	bl	_php_stream_filter_free
	add	x0, sp, #28
	bl	_zval_ptr_dtor
	b	LBB0_4
LBB0_27:
	add	x0, sp, #20
	bl	_zval_ptr_dtor
Lloh34:
	adrp	x8, _le_userfilters@GOTPAGE
Lloh35:
	ldr	x8, [x8, _le_userfilters@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_zend_register_resource
	mov	x1, x0
	add	x0, sp, #24
	bl	_ZVAL_RES
	ldr	w0, [sp, #28]
	bl	_Z_OBJ
	mov	x1, x0
	mov	x0, x21
	bl	_ZVAL_OBJ
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #28
	add	x2, sp, #24
	bl	_add_property_zval
	add	x0, sp, #24
LBB0_28:
	bl	_zval_ptr_dtor
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot use a user-space filter with a persistent stream"

	.comm	_user_filter_map,4,2            ; @user_filter_map
l_.str.1:                               ; @.str.1
	.asciz	"Err, filter \"%s\" is not in the user-filter map, but somehow the user-filter-factory was invoked for it!?"

l_.str.2:                               ; @.str.2
	.asciz	"user-filter \"%s\" requires class \"%s\", but that class is not defined"

	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_userfilter_ops,4,2             ; @userfilter_ops
l_.str.3:                               ; @.str.3
	.asciz	"filtername"

l_.str.4:                               ; @.str.4
	.asciz	"params"

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

	.comm	_IS_UNDEF,8,3                   ; @IS_UNDEF
	.comm	_IS_FALSE,8,3                   ; @IS_FALSE
	.comm	_le_userfilters,4,2             ; @le_userfilters
l_.str.6:                               ; @.str.6
	.asciz	"filter"

	.no_dead_strip	_user_filter_factory_create
.subsections_via_symbols
