	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_create_closure_from_callable
_zend_create_closure_from_callable:     ## @zend_create_closure_from_callable
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r9
	movq	%rdi, %r14
	leaq	-64(%rbp), %r8
	movq	%rsi, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_zend_is_callable_ex
	movq	_FAILURE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	-48(%rbp), %r12
	movq	_ZEND_ACC_CALL_VIA_TRAMPOLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_11
## %bb.2:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rax), %rax
	movq	_zend_ce_closure@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	16(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_zend_string_equals_literal
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_OBJ
	movq	-56(%rbp), %rdi
	callq	_GC_ADDREF
	movq	%r12, %rdi
	callq	_zend_free_trampoline
	jmp	LBB0_15
LBB0_6:
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	_ZEND_ACC_STATIC@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	testl	%ecx, (%r12)
	je	LBB0_9
## %bb.8:
	cmpl	$0, 4(%rax)
	jne	LBB0_10
	jmp	LBB0_16
LBB0_9:
	cmpl	$0, (%rax)
	je	LBB0_16
LBB0_10:
	leaq	-104(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_ZEND_INTERNAL_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movl	(%r13), %eax
	andl	(%r12), %eax
	movl	%eax, -104(%rbp)
	movq	_zend_closure_call_magic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movl	16(%r12), %eax
	movl	%eax, -88(%rbp)
	movq	8(%r12), %rax
	movq	%rax, -96(%rbp)
	movq	%r12, %rdi
	callq	_zend_free_trampoline
	movq	%r15, %r12
LBB0_11:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:
	leaq	-68(%rbp), %r15
	movq	%r15, %rdi
	callq	_ZVAL_OBJ
	movq	8(%r12), %rdx
	movl	-64(%rbp), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %r8
	jmp	LBB0_14
LBB0_13:
	movq	8(%r12), %rdx
	movl	-64(%rbp), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
LBB0_14:
	callq	_zend_create_fake_closure
LBB0_15:
	movq	_SUCCESS@GOTPCREL(%rip), %rbx
LBB0_16:
	movl	(%rbx), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_ZEND_ACC_CALL_VIA_TRAMPOLINE,4,2 ## @ZEND_ACC_CALL_VIA_TRAMPOLINE
	.comm	_zend_ce_closure,8,3            ## @zend_ce_closure
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__invoke"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_ZEND_ACC_STATIC,4,2            ## @ZEND_ACC_STATIC
	.comm	_ZEND_INTERNAL_FUNCTION,4,2     ## @ZEND_INTERNAL_FUNCTION
	.comm	_zend_closure_call_magic,4,2    ## @zend_closure_call_magic
	.no_dead_strip	_zend_create_closure_from_callable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_create_closure_from_callable
_zend_create_closure_from_callable:     ; @zend_create_closure_from_callable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x5, x2
	mov	x19, x0
	add	x4, sp, #40
	mov	x0, x1
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	bl	_zend_is_callable_ex
	cbz	w0, LBB0_16
; %bb.1:
	ldr	x20, [sp, #56]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _ZEND_ACC_CALL_VIA_TRAMPOLINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZEND_ACC_CALL_VIA_TRAMPOLINE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.2:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _zend_ce_closure@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zend_ce_closure@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x20, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_zend_string_equals_literal
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x1, [sp, #48]
	mov	x0, x19
	bl	_ZVAL_OBJ
	ldr	x0, [sp, #48]
	bl	_GC_ADDREF
	mov	x0, x20
	bl	_zend_free_trampoline
	b	LBB0_14
LBB0_6:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_16
; %bb.7:
	ldr	w9, [x20]
Lloh8:
	adrp	x21, _ZEND_ACC_STATIC@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ZEND_ACC_STATIC@GOTPAGEOFF]
	ldr	w10, [x21]
	tst	w10, w9
	b.eq	LBB0_15
; %bb.8:
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_16
LBB0_9:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh10:
	adrp	x8, _ZEND_INTERNAL_FUNCTION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZEND_INTERNAL_FUNCTION@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w8, [x20]
	ldr	w9, [x21]
	and	w8, w9, w8
	str	w8, [sp]
Lloh13:
	adrp	x8, _zend_closure_call_magic@GOTPAGE
Lloh14:
	ldr	x8, [x8, _zend_closure_call_magic@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldr	w8, [x20, #16]
	str	w8, [sp, #16]
	ldr	x8, [x20, #8]
	str	x8, [sp, #8]
	mov	x0, x20
	bl	_zend_free_trampoline
	mov	x20, sp
LBB0_10:
	ldr	x1, [sp, #48]
	cbz	x1, LBB0_12
; %bb.11:
	add	x0, sp, #36
	bl	_ZVAL_OBJ
	ldr	x2, [x20, #8]
	ldr	w3, [sp, #40]
	add	x4, sp, #36
	mov	x0, x19
	mov	x1, x20
	b	LBB0_13
LBB0_12:
	ldr	x2, [x20, #8]
	ldr	w3, [sp, #40]
	mov	x0, x19
	mov	x1, x20
	mov	x4, #0
LBB0_13:
	bl	_zend_create_fake_closure
LBB0_14:
Lloh16:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
	ldr	w8, [x8]
	cbnz	w8, LBB0_9
LBB0_16:
Lloh18:
	adrp	x8, _FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_ZEND_ACC_CALL_VIA_TRAMPOLINE,4,2 ; @ZEND_ACC_CALL_VIA_TRAMPOLINE
	.comm	_zend_ce_closure,8,3            ; @zend_ce_closure
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__invoke"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_ZEND_ACC_STATIC,4,2            ; @ZEND_ACC_STATIC
	.comm	_ZEND_INTERNAL_FUNCTION,4,2     ; @ZEND_INTERNAL_FUNCTION
	.comm	_zend_closure_call_magic,4,2    ; @zend_closure_call_magic
	.no_dead_strip	_zend_create_closure_from_callable
.subsections_via_symbols
