	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_xml_hexbin
_to_xml_hexbin:                         ## @to_xml_hexbin
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_BAD_CAST
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_xmlNewNode
	movl	%eax, %r12d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_xmlAddChild
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%r15d, %edx
	callq	_FIND_ZVAL_NULL
	movq	%rbx, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_zval_get_string_func
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ZVAL_STR
LBB0_2:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_safe_emalloc
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	movl	(%rax,%r12,8), %eax
	shrl	$4, %eax
	andl	$15, %eax
	leaq	_to_xml_hexbin.hexconvtab(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movq	%r14, %r15
	orq	$1, %r15
	movb	%al, (%r13,%r14)
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	movq	(%rax,%r12,8), %rax
	andl	$15, %eax
	leaq	_to_xml_hexbin.hexconvtab(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	addq	$2, %r14
	movb	%al, (%r13,%r15)
	incq	%r12
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
	cltq
	cmpq	%rax, %r12
	jb	LBB0_4
LBB0_5:
	movb	$0, (%r13,%r14)
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %esi
	movq	%r13, %rdi
	callq	_xmlNewTextLen
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_xmlAddChild
	movq	%r13, %rdi
	callq	_efree
	leaq	-44(%rbp), %rax
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.6:
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor_str
LBB0_7:
	movq	_SOAP_ENCODED@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_9
## %bb.8:
	movl	%r14d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_set_ns_and_type
LBB0_9:
	movl	%r14d, %eax
	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
	.p2align	4                               ## @to_xml_hexbin.hexconvtab
_to_xml_hexbin.hexconvtab:
	.asciz	"0123456789ABCDEF"

L_.str:                                 ## @.str
	.asciz	"BOGUS"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.comm	_SOAP_ENCODED,4,2               ## @SOAP_ENCODED
	.no_dead_strip	_to_xml_hexbin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_xml_hexbin
_to_xml_hexbin:                         ; @to_xml_hexbin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BAD_CAST
	mov	x1, x0
	mov	x0, #0
	bl	_xmlNewNode
	mov	x21, x0
	mov	x0, x23
	mov	x1, x21
	bl	_xmlAddChild
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_FIND_ZVAL_NULL
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh2:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_zval_get_string_func
	mov	x1, x0
	add	x22, sp, #12
	add	x0, sp, #12
	bl	_ZVAL_STR
LBB0_2:
	mov	x0, x22
	bl	_Z_STRLEN_P
	lsl	w0, w0, #1
	mov	w1, #1
	mov	w2, #1
	bl	_safe_emalloc
	mov	x23, x0
	mov	x0, x22
	bl	_Z_STRLEN_P
	mov	x24, #0
	cbz	w0, LBB0_5
; %bb.3:
	mov	x25, #0
Lloh5:
	adrp	x26, _to_xml_hexbin.hexconvtab@PAGE
Lloh6:
	add	x26, x26, _to_xml_hexbin.hexconvtab@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_Z_STRVAL_P
	lsl	x27, x25, #3
	ldr	x8, [x0, x27]
	ubfx	x8, x8, #4, #4
	ldrb	w8, [x26, x8]
	add	x28, x23, x24
	strb	w8, [x28]
	mov	x0, x22
	bl	_Z_STRVAL_P
	ldr	x8, [x0, x27]
	and	x8, x8, #0xf
	ldrb	w8, [x26, x8]
	add	x24, x24, #2
	strb	w8, [x28, #1]
	add	x25, x25, #1
	mov	x0, x22
	bl	_Z_STRLEN_P
	cmp	x25, w0, sxtw
	b.lo	LBB0_4
LBB0_5:
	strb	wzr, [x23, x24]
	mov	x0, x22
	bl	_Z_STRLEN_P
	lsl	w1, w0, #1
	mov	x0, x23
	bl	_xmlNewTextLen
	mov	x1, x0
	mov	x0, x21
	bl	_xmlAddChild
	mov	x0, x23
	bl	_efree
	add	x8, sp, #12
	cmp	x22, x8
	b.ne	LBB0_7
; %bb.6:
	add	x0, sp, #12
	bl	_zval_ptr_dtor_str
LBB0_7:
Lloh7:
	adrp	x8, _SOAP_ENCODED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOAP_ENCODED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	bl	_set_ns_and_type
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
_to_xml_hexbin.hexconvtab:              ; @to_xml_hexbin.hexconvtab
	.asciz	"0123456789ABCDEF"

l_.str:                                 ; @.str
	.asciz	"BOGUS"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.comm	_SOAP_ENCODED,4,2               ; @SOAP_ENCODED
	.no_dead_strip	_to_xml_hexbin
.subsections_via_symbols
