	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_ffi_cdata_compare_objects
_zend_ffi_cdata_compare_objects:        ## @zend_ffi_cdata_compare_objects
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_Z_TYPE_P
	movq	_IS_OBJECT@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rbx, %rdi
	callq	_Z_OBJCE_P
	movq	_zend_ffi_cdata_ce@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_10
## %bb.2:
	movq	%r14, %rdi
	callq	_Z_TYPE_P
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.3:
	movq	%r14, %rdi
	callq	_Z_OBJCE_P
	cmpq	(%r12), %rax
	jne	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	callq	_Z_OBJ_P
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_Z_OBJ_P
	movq	%rax, %r14
	movl	8(%r15), %edi
	callq	_ZEND_FFI_TYPE
	movq	%rax, %rbx
	movl	8(%r14), %edi
	callq	_ZEND_FFI_TYPE
	movq	(%rbx), %rcx
	movq	_ZEND_FFI_TYPE_POINTER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.5:
	cmpq	%rcx, (%rax)
	jne	LBB0_10
## %bb.6:
	movq	(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.9:
	xorl	%edx, %edx
	xorl	%esi, %esi
	cmpq	%rcx, %rax
	setae	%sil
	leal	-1(%rsi,%rsi), %eax
	cmovel	%edx, %eax
	jmp	LBB0_12
LBB0_10:
	movq	_zend_ffi_exception_ce@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_11:
	callq	_zend_throw_error
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_zend_ffi_exception_ce@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_OBJECT,8,3                  ## @IS_OBJECT
	.comm	_zend_ffi_cdata_ce,8,3          ## @zend_ffi_cdata_ce
	.comm	_ZEND_FFI_TYPE_POINTER,8,3      ## @ZEND_FFI_TYPE_POINTER
	.comm	_zend_ffi_exception_ce,4,2      ## @zend_ffi_exception_ce
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL pointer dereference"

L_.str.1:                               ## @.str.1
	.asciz	"Comparison of incompatible C types"

	.no_dead_strip	_zend_ffi_cdata_compare_objects
.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_compare_objects
_zend_ffi_cdata_compare_objects:        ; @zend_ffi_cdata_compare_objects
	.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	x19, x1
	mov	x20, x0
	bl	_Z_TYPE_P
Lloh0:
	adrp	x21, _IS_OBJECT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IS_OBJECT@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_Z_OBJCE_P
Lloh2:
	adrp	x22, _zend_ffi_cdata_ce@GOTPAGE
Lloh3:
	ldr	x22, [x22, _zend_ffi_cdata_ce@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.2:
	mov	x0, x19
	bl	_Z_TYPE_P
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_Z_OBJCE_P
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_Z_OBJ_P
	mov	x20, x0
	mov	x0, x19
	bl	_Z_OBJ_P
	mov	x19, x0
	ldr	w0, [x20, #8]
	bl	_ZEND_FFI_TYPE
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_ZEND_FFI_TYPE
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _ZEND_FFI_TYPE_POINTER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ZEND_FFI_TYPE_POINTER@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.5:
	ldr	x9, [x0]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	x9, [x19]
	ldr	x9, [x9]
	cbz	x9, LBB0_12
; %bb.8:
	cmp	x8, x9
	mov	w8, #-1
	cneg	w8, w8, hs
	csel	w0, wzr, w8, eq
	b	LBB0_11
LBB0_9:
Lloh7:
	adrp	x8, _zend_ffi_exception_ce@GOTPAGE
Lloh8:
	ldr	x8, [x8, _zend_ffi_exception_ce@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	bl	_zend_throw_error
	mov	w0, #0
LBB0_11:
	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
LBB0_12:
Lloh12:
	adrp	x8, _zend_ffi_exception_ce@GOTPAGE
Lloh13:
	ldr	x8, [x8, _zend_ffi_exception_ce@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_OBJECT,8,3                  ; @IS_OBJECT
	.comm	_zend_ffi_cdata_ce,8,3          ; @zend_ffi_cdata_ce
	.comm	_ZEND_FFI_TYPE_POINTER,8,3      ; @ZEND_FFI_TYPE_POINTER
	.comm	_zend_ffi_exception_ce,4,2      ; @zend_ffi_exception_ce
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL pointer dereference"

l_.str.1:                               ; @.str.1
	.asciz	"Comparison of incompatible C types"

	.no_dead_strip	_zend_ffi_cdata_compare_objects
.subsections_via_symbols
