	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_ffi_cdata_cast_object
_zend_ffi_cdata_cast_object:            ## @zend_ffi_cdata_cast_object
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IS_STRING@GOTPCREL(%rip), %rax
	movq	_FAILURE@GOTPCREL(%rip), %r15
	cmpl	%edx, (%rax)
	jne	LBB0_18
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_ZEND_FFI_TYPE
	movq	(%rbx), %rbx
	movq	%rax, %rdx
	addq	$12, %rdx
	movq	%rax, %rsi
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ecx
	movq	%rdx, %rsi
	cmpl	$139, %ecx
	je	LBB0_2
## %bb.3:
	addl	$-128, %ecx
	cmpl	$14, %ecx
	ja	LBB0_18
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_15:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_ZVAL_LONG
LBB0_16:
	movq	%r14, %rdi
	callq	_convert_to_string
LBB0_17:
	movq	_SUCCESS@GOTPCREL(%rip), %r15
LBB0_18:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	cmpq	$0, (%rbx)
	je	LBB0_11
## %bb.12:
	movq	_ZEND_FFI_ATTR_CONST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_18
## %bb.13:
	movl	8(%rax), %edi
	callq	_ZEND_FFI_TYPE
	cmpl	$141, (%rax)
	jne	LBB0_18
## %bb.14:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_STRING
	jmp	LBB0_17
LBB0_5:
	flds	(%rbx)
	jmp	LBB0_6
LBB0_7:
	fldl	(%rbx)
LBB0_6:
	fstpt	(%rsp)
	movq	%r14, %rdi
	callq	_ZVAL_DOUBLE
	jmp	LBB0_16
LBB0_9:
	movzbl	(%rbx), %edi
	callq	_ZSTR_CHAR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ZVAL_INTERNED_STR
	jmp	LBB0_17
LBB0_8:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_ZVAL_BOOL
	jmp	LBB0_16
LBB0_11:
	movq	%r14, %rdi
	callq	_ZVAL_NULL
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_18
	.long	L0_0_set_5
	.long	L0_0_set_18
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_IS_STRING,4,2                  ## @IS_STRING
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_ZEND_FFI_ATTR_CONST,4,2        ## @ZEND_FFI_ATTR_CONST
	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_zend_ffi_cdata_cast_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_ffi_cdata_cast_object
_zend_ffi_cdata_cast_object:            ; @zend_ffi_cdata_cast_object
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_ZEND_FFI_TYPE
	ldr	x20, [x20]
	add	x8, x0, #12
	mov	x10, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10]
	mov	x10, x8
	cmp	w9, #139
	b.eq	LBB0_2
; %bb.3:
	sub	w8, w9, #128
	cmp	w8, #14
	b.hi	LBB0_12
; %bb.4:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ZVAL_LONG
LBB0_6:
	mov	x0, x19
	bl	_convert_to_string
LBB0_7:
Lloh5:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
	ldr	x8, [x20]
	cbz	x8, LBB0_19
; %bb.9:
	ldr	w8, [x0, #4]
Lloh7:
	adrp	x9, _ZEND_FFI_ATTR_CONST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ZEND_FFI_ATTR_CONST@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	ldr	w0, [x0, #8]
	bl	_ZEND_FFI_TYPE
	ldr	w8, [x0]
	cmp	w8, #141
	b.ne	LBB0_12
; %bb.11:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_ZVAL_STRING
	b	LBB0_7
LBB0_12:
Lloh10:
	adrp	x8, _FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	s0, [x20]
	fcvt	d0, s0
	b	LBB0_16
LBB0_15:
	ldr	d0, [x20]
LBB0_16:
	mov	x0, x19
	bl	_ZVAL_DOUBLE
	b	LBB0_6
LBB0_17:
	ldrb	w0, [x20]
	bl	_ZSTR_CHAR
	mov	x1, x0
	mov	x0, x19
	bl	_ZVAL_INTERNED_STR
	b	LBB0_7
LBB0_18:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ZVAL_BOOL
	b	LBB0_6
LBB0_19:
	mov	x0, x19
	bl	_ZVAL_NULL
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
                                        ; -- End function
	.comm	_IS_STRING,4,2                  ; @IS_STRING
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_ZEND_FFI_ATTR_CONST,4,2        ; @ZEND_FFI_ATTR_CONST
	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_zend_ffi_cdata_cast_object
.subsections_via_symbols
