	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_filesystem_object_clone
_spl_filesystem_object_clone:           ## @spl_filesystem_object_clone
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_spl_filesystem_from_obj
	movq	%rax, %r12
	movl	(%r15), %edi
	callq	_spl_filesystem_object_new_ex
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spl_filesystem_from_obj
	movq	%rax, %r13
	movl	36(%r12), %eax
	movl	%eax, 36(%r13)
	movl	(%r12), %eax
	cmpl	$130, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_11
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.3:
	movl	64(%r12), %eax
	movl	%eax, 64(%r13)
	movq	40(%r12), %rdi
	movl	64(%r12), %esi
	callq	_estrndup
	movq	%rax, 40(%r13)
	movl	48(%r12), %esi
	movl	%esi, 48(%r13)
	movq	56(%r12), %rdi
	callq	_estrndup
	movq	%rax, 56(%r13)
	jmp	LBB0_12
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	40(%r12), %rsi
	movq	%r13, %rdi
	callq	_spl_filesystem_dir_open
	movl	36(%r12), %edi
	movq	_SPL_FILE_DIR_SKIPDOTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SPL_HAS_FLAG
	cmpl	$0, 28(%r12)
	jle	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%r14d
	cmpl	28(%r12), %r14d
	jge	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_spl_filesystem_dir_read
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	32(%r13), %edi
	callq	_spl_filesystem_is_dot
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_9
LBB0_11:
	xorl	%edi, %edi
	callq	_ZEND_ASSERT
	jmp	LBB0_12
LBB0_5:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, 28(%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_12:
	movl	24(%r12), %eax
	movl	%eax, 24(%r13)
	movl	20(%r12), %eax
	movl	%eax, 20(%r13)
	movl	16(%r12), %eax
	movl	%eax, 16(%r13)
	movq	8(%r12), %rax
	movq	%rax, 8(%r13)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_zend_objects_clone_members
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	*%rax
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPL_FILE_DIR_SKIPDOTS,4,2      ## @SPL_FILE_DIR_SKIPDOTS
	.no_dead_strip	_spl_filesystem_object_clone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_filesystem_object_clone
_spl_filesystem_object_clone:           ; @spl_filesystem_object_clone
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_spl_filesystem_from_obj
	mov	x19, x0
	ldr	w0, [x21]
	bl	_spl_filesystem_object_new_ex
	mov	x20, x0
	bl	_spl_filesystem_from_obj
	mov	x22, x0
	ldr	w8, [x19, #36]
	str	w8, [x0, #36]
	ldr	w8, [x19]
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x19, #64]
	str	w8, [x22, #64]
	ldr	x0, [x19, #40]
	ldr	w1, [x19, #64]
	bl	_estrndup
	str	x0, [x22, #40]
	ldr	w1, [x19, #48]
	str	w1, [x22, #48]
	ldr	x0, [x19, #56]
	bl	_estrndup
	str	x0, [x22, #56]
	b	LBB0_12
LBB0_4:
	ldr	x1, [x19, #40]
	mov	x0, x22
	bl	_spl_filesystem_dir_open
	ldr	w0, [x19, #36]
Lloh0:
	adrp	x8, _SPL_FILE_DIR_SKIPDOTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPL_FILE_DIR_SKIPDOTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SPL_HAS_FLAG
	ldr	w8, [x19, #28]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x23, x0
	mov	w24, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w24, w24, #1
	ldr	w8, [x19, #28]
	cmp	w24, w8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_spl_filesystem_dir_read
	cbz	w23, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22, #32]
	bl	_spl_filesystem_is_dot
	cbnz	w0, LBB0_7
	b	LBB0_6
LBB0_9:
	mov	w0, #0
	bl	_ZEND_ASSERT
	b	LBB0_12
LBB0_10:
	str	w24, [x22, #28]
	b	LBB0_12
LBB0_11:
	mov	w24, #0
	str	wzr, [x22, #28]
LBB0_12:
	ldr	w8, [x19, #24]
	str	w8, [x22, #24]
	ldr	d0, [x19, #16]
	str	d0, [x22, #16]
	ldr	x8, [x19, #8]
	str	x8, [x22, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_zend_objects_clone_members
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_15
; %bb.13:
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	blr	x8
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPL_FILE_DIR_SKIPDOTS,4,2      ; @SPL_FILE_DIR_SKIPDOTS
	.no_dead_strip	_spl_filesystem_object_clone
.subsections_via_symbols
