	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_converter_clone_object
_php_converter_clone_object:            ## @php_converter_clone_object
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_php_converter_fetch_object
	movq	%rax, %r12
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_php_converter_object_ctor
	movq	%rax, %r14
	movq	_U_ZERO_ERROR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	leaq	24(%r12), %r15
	movq	%r15, %rdi
	callq	_intl_errors_reset
	movq	16(%r12), %rdi
	leaq	-36(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ucnv_safeClone
	movq	-48(%rbp), %rcx
	movq	%rax, 16(%rcx)
	movl	-36(%rbp), %edi
	callq	_U_SUCCESS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	8(%r12), %rdi
	leaq	-36(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ucnv_safeClone
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
LBB0_2:
	movl	-36(%rbp), %edi
	callq	_U_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-36(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_THROW_UFAILURE
	movq	%r15, %rdi
	callq	_intl_error_get_message
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ZSTR_VAL
	xorl	%edi, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_zend_throw_exception
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	jmp	LBB0_5
LBB0_4:
	movq	-48(%rbp), %rdi
	movq	16(%rdi), %rsi
	callq	_php_converter_set_callbacks
	movq	-48(%rbp), %rdi
	movq	8(%rdi), %rsi
	callq	_php_converter_set_callbacks
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_zend_objects_clone_members
LBB0_5:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_U_ZERO_ERROR,4,2               ## @U_ZERO_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ucnv_safeClone"

	.no_dead_strip	_php_converter_clone_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_converter_clone_object
_php_converter_clone_object:            ; @php_converter_clone_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_php_converter_fetch_object
	mov	x20, x0
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_php_converter_object_ctor
	mov	x19, x0
Lloh0:
	adrp	x22, _U_ZERO_ERROR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _U_ZERO_ERROR@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [sp, #4]
	add	x21, x20, #24
	mov	x0, x21
	bl	_intl_errors_reset
	ldr	x0, [x20, #16]
	add	x3, sp, #4
	mov	x1, #0
	mov	x2, #0
	bl	_ucnv_safeClone
	ldr	x8, [sp, #8]
	str	x0, [x8, #16]
	ldr	w0, [sp, #4]
	bl	_U_SUCCESS
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x22]
	str	w8, [sp, #4]
	ldr	x0, [x20, #8]
	add	x3, sp, #4
	mov	x1, #0
	mov	x2, #0
	bl	_ucnv_safeClone
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
LBB0_2:
	ldr	w0, [sp, #4]
	bl	_U_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w2, [sp, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_THROW_UFAILURE
	mov	x0, x21
	bl	_intl_error_get_message
	mov	x20, x0
	bl	_ZSTR_VAL
	mov	x1, x0
	mov	x0, #0
	mov	w2, #0
	bl	_zend_throw_exception
	mov	x0, x20
	mov	w1, #0
	bl	_zend_string_release_ex
	b	LBB0_5
LBB0_4:
	ldr	x0, [sp, #8]
	ldr	x1, [x0, #16]
	bl	_php_converter_set_callbacks
	ldr	x0, [sp, #8]
	ldr	x1, [x0, #8]
	bl	_php_converter_set_callbacks
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_zend_objects_clone_members
LBB0_5:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_U_ZERO_ERROR,4,2               ; @U_ZERO_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ucnv_safeClone"

	.no_dead_strip	_php_converter_clone_object
.subsections_via_symbols
