	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_zval_bool
_to_zval_bool:                          ## @to_zval_bool
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	callq	_ZVAL_NULL
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_FIND_XML_NULL
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	(%rax), %rcx
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.3:
	cmpq	$0, 16(%rax)
	je	LBB0_4
LBB0_13:
	movq	_E_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_soap_error0
	jmp	LBB0_15
LBB0_14:
	movq	%r14, %rdi
	callq	_ZVAL_NULL
LBB0_15:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rax), %rdi
	callq	_whiteSpace_collapse
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_stricmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_stricmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_stricmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_stricmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_STRING
	movq	%r14, %rdi
	callq	_convert_to_boolean
	jmp	LBB0_15
LBB0_7:
	movq	%r14, %rdi
	callq	_ZVAL_TRUE
	jmp	LBB0_15
LBB0_11:
	movq	%r14, %rdi
	callq	_ZVAL_FALSE
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_TEXT_NODE,8,3              ## @XML_TEXT_NODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"true"

L_.str.1:                               ## @.str.1
	.asciz	"t"

L_.str.2:                               ## @.str.2
	.asciz	"1"

L_.str.3:                               ## @.str.3
	.asciz	"false"

L_.str.4:                               ## @.str.4
	.asciz	"f"

L_.str.5:                               ## @.str.5
	.asciz	"0"

	.comm	_E_ERROR,4,2                    ## @E_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"Encoding: Violation of encoding rules"

	.no_dead_strip	_to_zval_bool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_zval_bool
_to_zval_bool:                          ; @to_zval_bool
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
	bl	_ZVAL_NULL
	mov	x0, x20
	mov	x1, x19
	bl	_FIND_XML_NULL
	cbz	x20, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _XML_TEXT_NODE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _E_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.6@PAGE
Lloh7:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_soap_error0
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_ZVAL_NULL
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x0, [x8, #8]
	bl	_whiteSpace_collapse
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_stricmp
	cbz	x0, LBB0_14
; %bb.8:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_stricmp
	cbz	x0, LBB0_14
; %bb.9:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.10:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_stricmp
	cbz	x0, LBB0_15
; %bb.11:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_stricmp
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.13:
	ldr	x8, [x20]
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_ZVAL_STRING
	mov	x0, x19
	bl	_convert_to_boolean
	b	LBB0_6
LBB0_14:
	mov	x0, x19
	bl	_ZVAL_TRUE
	b	LBB0_6
LBB0_15:
	mov	x0, x19
	bl	_ZVAL_FALSE
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_TEXT_NODE,8,3              ; @XML_TEXT_NODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"true"

l_.str.1:                               ; @.str.1
	.asciz	"t"

l_.str.2:                               ; @.str.2
	.asciz	"1"

l_.str.3:                               ; @.str.3
	.asciz	"false"

l_.str.4:                               ; @.str.4
	.asciz	"f"

l_.str.5:                               ; @.str.5
	.asciz	"0"

	.comm	_E_ERROR,4,2                    ; @E_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"Encoding: Violation of encoding rules"

	.no_dead_strip	_to_zval_bool
.subsections_via_symbols
