	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serialize_zval
_serialize_zval:                        ## @serialize_zval
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_ZVAL_UNDEF
	testq	%r15, %r15
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %r13
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %r14
	jmp	LBB0_10
LBB0_1:
	xorl	%r13d, %r13d
	movq	%rbx, %r14
	jmp	LBB0_10
LBB0_4:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	8(%rax), %esi
	testl	%esi, %esi
	je	LBB0_7
LBB0_9:
	movq	%r14, %rdi
	callq	_ZVAL_STRING
	jmp	LBB0_10
LBB0_7:
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.8:
	cmpl	$0, 4(%rax)
	je	LBB0_9
LBB0_5:
	xorl	%r14d, %r14d
LBB0_10:
	movq	%r12, %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_master_to_xml
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdi
	callq	_zval_ptr_dtor
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BAD_CAST
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_xmlNodeSetName
LBB0_12:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BOGUS"

	.no_dead_strip	_serialize_zval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serialize_zval
_serialize_zval:                        ; @serialize_zval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x24, x1
	mov	x23, x0
	add	x0, sp, #12
	bl	_ZVAL_UNDEF
	cbz	x24, LBB0_5
; %bb.1:
	ldr	x22, [x24, #8]
	cbnz	x23, LBB0_9
; %bb.2:
	ldr	x8, [x24]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	w1, [x8, #8]
	cbz	w1, LBB0_6
LBB0_4:
	add	x23, sp, #12
	add	x0, sp, #12
	bl	_ZVAL_STRING
	b	LBB0_9
LBB0_5:
	mov	x22, #0
	b	LBB0_9
LBB0_6:
	ldr	w1, [x8]
	cbz	w1, LBB0_8
; %bb.7:
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_4
LBB0_8:
	mov	x23, #0
LBB0_9:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	bl	_master_to_xml
	mov	x20, x0
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_BAD_CAST
	mov	x1, x0
	mov	x0, x20
	bl	_xmlNodeSetName
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BOGUS"

	.no_dead_strip	_serialize_zval
.subsections_via_symbols
