	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmp_serialize
_gmp_serialize:                         ## @gmp_serialize
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_GET_GMP_FROM_ZVAL
	movl	%eax, %ebx
	movq	$0, -48(%rbp)
	callq	_PHP_VAR_SERIALIZE_INIT
	leaq	-68(%rbp), %r12
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$10, %edx
	callq	_gmp_strval
	leaq	-48(%rbp), %rbx
	leaq	-52(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_php_var_serialize
	movq	%r12, %rdi
	callq	_zval_ptr_dtor_str
	movq	%r13, %rdi
	callq	_Z_OBJ_P
	movl	%eax, %edi
	callq	_zend_std_get_properties
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ZVAL_ARR
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_php_var_serialize
	movl	-52(%rbp), %edi
	callq	_PHP_VAR_SERIALIZE_DESTROY
	movl	-48(%rbp), %edi
	callq	_ZSTR_VAL
	movl	%eax, %ebx
	movl	-48(%rbp), %edi
	callq	_ZSTR_LEN
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_estrndup
	movq	%rax, (%r15)
	movl	-48(%rbp), %edi
	callq	_ZSTR_LEN
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_gmp_serialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmp_serialize
_gmp_serialize:                         ; @gmp_serialize
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_GET_GMP_FROM_ZVAL
	mov	x22, x0
	str	xzr, [sp, #8]
	bl	_PHP_VAR_SERIALIZE_INIT
	add	x0, sp, #4
	mov	x1, x22
	mov	w2, #10
	bl	_gmp_strval
	add	x0, sp, #8
	add	x1, sp, #4
	mov	x2, sp
	bl	_php_var_serialize
	add	x0, sp, #4
	bl	_zval_ptr_dtor_str
	mov	x0, x21
	bl	_Z_OBJ_P
	bl	_zend_std_get_properties
	mov	x1, x0
	add	x0, sp, #4
	bl	_ZVAL_ARR
	add	x0, sp, #8
	add	x1, sp, #4
	mov	x2, sp
	bl	_php_var_serialize
	ldr	w0, [sp]
	bl	_PHP_VAR_SERIALIZE_DESTROY
	ldr	w0, [sp, #8]
	bl	_ZSTR_VAL
	mov	x21, x0
	ldr	w0, [sp, #8]
	bl	_ZSTR_LEN
	mov	x1, x0
	mov	x0, x21
	bl	_estrndup
	str	x0, [x20]
	ldr	w0, [sp, #8]
	bl	_ZSTR_LEN
	str	x0, [x19]
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_zend_string_release_ex
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_gmp_serialize
.subsections_via_symbols
