	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_ffi_cdata_clone_obj
_zend_ffi_cdata_clone_obj:              ## @zend_ffi_cdata_clone_obj
	.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
	movq	%rdi, %r14
	movq	16(%rdi), %rdi
	callq	_ZEND_FFI_TYPE
	movq	%rax, %r15
	movq	_zend_ffi_cdata_ce@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_zend_ffi_cdata_new
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	_ZEND_FFI_TYPE_POINTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_zend_ffi_cdata_value_handlers@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	%r15, 16(%rbx)
	movl	8(%r15), %edi
	callq	_emalloc
	movl	%eax, 12(%rbx)
	movl	12(%r14), %esi
	movl	8(%r15), %edx
	movl	%eax, %edi
	callq	_memcpy
	movq	_ZEND_FFI_FLAG_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zend_ffi_cdata_ce,4,2          ## @zend_ffi_cdata_ce
	.comm	_ZEND_FFI_TYPE_POINTER,8,3      ## @ZEND_FFI_TYPE_POINTER
	.comm	_zend_ffi_cdata_value_handlers,4,2 ## @zend_ffi_cdata_value_handlers
	.comm	_ZEND_FFI_FLAG_OWNED,4,2        ## @ZEND_FFI_FLAG_OWNED
	.no_dead_strip	_zend_ffi_cdata_clone_obj
.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_clone_obj
_zend_ffi_cdata_clone_obj:              ; @zend_ffi_cdata_clone_obj
	.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, x0
	ldr	x0, [x0, #16]
	bl	_ZEND_FFI_TYPE
	mov	x21, x0
Lloh0:
	adrp	x8, _zend_ffi_cdata_ce@GOTPAGE
Lloh1:
	ldr	x8, [x8, _zend_ffi_cdata_ce@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_zend_ffi_cdata_new
	mov	x20, x0
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _ZEND_FFI_TYPE_POINTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZEND_FFI_TYPE_POINTER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _zend_ffi_cdata_value_handlers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _zend_ffi_cdata_value_handlers@GOTPAGEOFF]
	str	x8, [x20]
LBB0_2:
	str	x21, [x20, #16]
	ldr	w0, [x21, #8]
	bl	_emalloc
	str	w0, [x20, #12]
	ldr	w1, [x19, #12]
	ldr	w2, [x21, #8]
	bl	_memcpy
Lloh8:
	adrp	x8, _ZEND_FFI_FLAG_OWNED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZEND_FFI_FLAG_OWNED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_zend_ffi_cdata_ce,4,2          ; @zend_ffi_cdata_ce
	.comm	_ZEND_FFI_TYPE_POINTER,8,3      ; @ZEND_FFI_TYPE_POINTER
	.comm	_zend_ffi_cdata_value_handlers,4,2 ; @zend_ffi_cdata_value_handlers
	.comm	_ZEND_FFI_FLAG_OWNED,4,2        ; @ZEND_FFI_FLAG_OWNED
	.no_dead_strip	_zend_ffi_cdata_clone_obj
.subsections_via_symbols
