	.file	"extr_ffi.c_zend_ffi_cdata_compare_objects.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NULL pointer dereference"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Comparison of incompatible C types"
	.text
	.p2align 4
	.type	zend_ffi_cdata_compare_objects, @function
zend_ffi_cdata_compare_objects:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	Z_TYPE_P@PLT
	cmp	rax, QWORD PTR IS_OBJECT[rip]
	je	.L11
.L2:
	mov	edi, DWORD PTR zend_ffi_exception_ce[rip]
	lea	rsi, .LC1[rip]
	call	zend_throw_error@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	Z_OBJCE_P@PLT
	cmp	rax, QWORD PTR zend_ffi_cdata_ce[rip]
	jne	.L2
	mov	rdi, r12
	call	Z_TYPE_P@PLT
	cmp	rax, QWORD PTR IS_OBJECT[rip]
	jne	.L2
	mov	rdi, r12
	call	Z_OBJCE_P@PLT
	cmp	rax, QWORD PTR zend_ffi_cdata_ce[rip]
	jne	.L2
	mov	rdi, rbp
	call	Z_OBJ_P@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	Z_OBJ_P@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rbp, rax
	call	ZEND_FFI_TYPE@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	r12, rax
	call	ZEND_FFI_TYPE@PLT
	mov	rdx, QWORD PTR ZEND_FFI_TYPE_POINTER[rip]
	cmp	QWORD PTR [r12], rdx
	jne	.L2
	cmp	rdx, QWORD PTR [rax]
	jne	.L2
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax]
	test	rdx, rdx
	je	.L8
	test	rax, rax
	je	.L8
	cmp	rdx, rax
	je	.L6
	sbb	eax, eax
	or	eax, 1
	jmp	.L1
.L8:
	mov	edi, DWORD PTR zend_ffi_exception_ce[rip]
	lea	rsi, .LC0[rip]
	call	zend_throw_error@PLT
	xor	eax, eax
	jmp	.L1
.L6:
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	zend_ffi_cdata_compare_objects, .-zend_ffi_cdata_compare_objects
	.comm	zend_ffi_exception_ce,4,4
	.comm	zend_ffi_cdata_ce,8,8
	.comm	ZEND_FFI_TYPE_POINTER,8,8
	.comm	IS_OBJECT,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ffi.c_zend_ffi_cdata_compare_objects.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NULL pointer dereference\000"
	.align	2
.LC1:
	.ascii	"Comparison of incompatible C types\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zend_ffi_cdata_compare_objects, %function
zend_ffi_cdata_compare_objects:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r5, r0
	bl	Z_TYPE_P
	ldr	r4, .L12
	ldr	r3, [r4]
	cmp	r0, r3
	beq	.L10
.L2:
	ldr	r3, .L12+4
	ldr	r1, .L12+8
	ldr	r0, [r3]
	bl	zend_throw_error
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r5
	bl	Z_OBJCE_P
	ldr	r7, .L12+12
	ldr	r3, [r7]
	cmp	r0, r3
	bne	.L2
	mov	r0, r6
	bl	Z_TYPE_P
	ldr	r3, [r4]
	cmp	r0, r3
	bne	.L2
	mov	r0, r6
	bl	Z_OBJCE_P
	ldr	r3, [r7]
	cmp	r0, r3
	bne	.L2
	mov	r0, r5
	bl	Z_OBJ_P
	mov	r4, r0
	mov	r0, r6
	bl	Z_OBJ_P
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	ZEND_FFI_TYPE
	mov	r6, r0
	ldr	r0, [r5, #4]
	bl	ZEND_FFI_TYPE
	ldr	r2, .L12+16
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L2
	ldr	r2, [r0]
	cmp	r3, r2
	bne	.L2
	ldr	r2, [r5]
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r1, [r3]
	clz	r3, r2
	cmp	r1, #0
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r3, #0
	bne	.L11
	cmp	r1, r2
	beq	.L8
	bcc	.L6
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L12+4
	ldr	r1, .L12+20
	ldr	r0, [r3]
	bl	zend_throw_error
.L8:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	IS_OBJECT
	.word	zend_ffi_exception_ce
	.word	.LC1
	.word	zend_ffi_cdata_ce
	.word	ZEND_FFI_TYPE_POINTER
	.word	.LC0
	.size	zend_ffi_cdata_compare_objects, .-zend_ffi_cdata_compare_objects
	.comm	zend_ffi_exception_ce,4,4
	.comm	zend_ffi_cdata_ce,4,4
	.comm	ZEND_FFI_TYPE_POINTER,4,4
	.comm	IS_OBJECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
