	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_ffi_ctype_compare_objects
_zend_ffi_ctype_compare_objects:        ## @zend_ffi_ctype_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_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_Z_OBJCE_P
	movq	_zend_ffi_ctype_ce@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_Z_TYPE_P
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_Z_OBJCE_P
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_Z_OBJ_P
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_Z_OBJ_P
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_ZEND_FFI_TYPE
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_ZEND_FFI_TYPE
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_zend_ffi_is_same_type
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	jmp	LBB0_6
LBB0_5:
	movq	_zend_ffi_exception_ce@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_zend_throw_error
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_OBJECT,8,3                  ## @IS_OBJECT
	.comm	_zend_ffi_ctype_ce,8,3          ## @zend_ffi_ctype_ce
	.comm	_zend_ffi_exception_ce,4,2      ## @zend_ffi_exception_ce
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Comparison of incompatible C types"

	.no_dead_strip	_zend_ffi_ctype_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_ctype_compare_objects
_zend_ffi_ctype_compare_objects:        ; @zend_ffi_ctype_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_5
; %bb.1:
	mov	x0, x20
	bl	_Z_OBJCE_P
Lloh2:
	adrp	x22, _zend_ffi_ctype_ce@GOTPAGE
Lloh3:
	ldr	x22, [x22, _zend_ffi_ctype_ce@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_Z_TYPE_P
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_Z_OBJCE_P
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %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]
	bl	_ZEND_FFI_TYPE
	mov	x20, x0
	ldr	w0, [x19]
	bl	_ZEND_FFI_TYPE
	mov	x1, x0
	mov	x0, x20
	bl	_zend_ffi_is_same_type
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _zend_ffi_exception_ce@GOTPAGE
Lloh5:
	ldr	x8, [x8, _zend_ffi_exception_ce@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_zend_throw_error
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_OBJECT,8,3                  ; @IS_OBJECT
	.comm	_zend_ffi_ctype_ce,8,3          ; @zend_ffi_ctype_ce
	.comm	_zend_ffi_exception_ce,4,2      ; @zend_ffi_exception_ce
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Comparison of incompatible C types"

	.no_dead_strip	_zend_ffi_ctype_compare_objects
.subsections_via_symbols
