	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_filesystem_object_cast
_spl_filesystem_object_cast:            ## @spl_filesystem_object_cast
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_spl_filesystem_from_obj
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zend_std_cast_object_tostring  ## TAILCALL
LBB0_5:
	movq	__IS_BOOL@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_ZVAL_TRUE
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movl	(%rax), %ecx
	leal	-128(%rcx), %edx
	cmpl	$2, %edx
	jae	LBB0_3
## %bb.11:
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	movq	%r14, %rdi
	callq	_ZVAL_STRINGL
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	cmpl	$130, %ecx
	jne	LBB0_8
## %bb.4:
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_ZVAL_STRING
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_ZVAL_NULL
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_STRING,4,2                  ## @IS_STRING
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	__IS_BOOL,4,2                   ## @_IS_BOOL
	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_spl_filesystem_object_cast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_filesystem_object_cast
_spl_filesystem_object_cast:            ; @spl_filesystem_object_cast
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_spl_filesystem_from_obj
Lloh0:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_zend_std_cast_object_tostring
LBB0_3:
Lloh3:
	adrp	x8, __IS_BOOL@GOTPAGE
Lloh4:
	ldr	x8, [x8, __IS_BOOL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_ZVAL_TRUE
	b	LBB0_9
LBB0_5:
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_7
; %bb.6:
	ldp	w2, w1, [x0, #8]
	mov	x0, x19
	bl	_ZVAL_STRINGL
	b	LBB0_9
LBB0_7:
	cmp	w8, #130
	b.ne	LBB0_10
; %bb.8:
	ldr	w1, [x0, #4]
	mov	x0, x19
	bl	_ZVAL_STRING
LBB0_9:
Lloh6:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_ZVAL_NULL
Lloh8:
	adrp	x8, _FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_STRING,4,2                  ; @IS_STRING
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	__IS_BOOL,4,2                   ; @_IS_BOOL
	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_spl_filesystem_object_cast
.subsections_via_symbols
