	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XMLRPC_REQUEST_ToXML           ## -- Begin function XMLRPC_REQUEST_ToXML
	.p2align	4, 0x90
_XMLRPC_REQUEST_ToXML:                  ## @XMLRPC_REQUEST_ToXML
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_xmlrpc_version_simple@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_DANDARPC_REQUEST_to_xml_element
	jmp	LBB0_8
LBB0_3:
	movq	_xmlrpc_version_1_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_xmlrpc_version_none@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.6:
	movq	_xmlrpc_version_soap_1_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_SOAP_REQUEST_to_xml_element
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_XMLRPC_REQUEST_to_xml_element
LBB0_8:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	addq	$8, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_xml_elem_serialize_to_string
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_xml_elem_free
	movq	%rbx, %rax
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xmlrpc_version_simple,8,3      ## @xmlrpc_version_simple
	.comm	_xmlrpc_version_1_0,8,3         ## @xmlrpc_version_1_0
	.comm	_xmlrpc_version_none,8,3        ## @xmlrpc_version_none
	.comm	_xmlrpc_version_soap_1_1,8,3    ## @xmlrpc_version_soap_1_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XMLRPC_REQUEST_ToXML           ; -- Begin function XMLRPC_REQUEST_ToXML
	.p2align	2
_XMLRPC_REQUEST_ToXML:                  ; @XMLRPC_REQUEST_ToXML
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _xmlrpc_version_simple@GOTPAGE
Lloh1:
	ldr	x9, [x9, _xmlrpc_version_simple@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_DANDARPC_REQUEST_to_xml_element
	mov	x21, x0
	cbnz	x0, LBB0_7
	b	LBB0_8
LBB0_3:
Lloh3:
	adrp	x9, _xmlrpc_version_1_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _xmlrpc_version_1_0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _xmlrpc_version_none@GOTPAGE
Lloh7:
	ldr	x10, [x10, _xmlrpc_version_none@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_XMLRPC_REQUEST_to_xml_element
	mov	x21, x0
	cbnz	x0, LBB0_7
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x9, _xmlrpc_version_soap_1_1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _xmlrpc_version_soap_1_1@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_SOAP_REQUEST_to_xml_element
	mov	x21, x0
	cbz	x0, LBB0_8
LBB0_7:
	add	x1, x20, #8
	mov	x0, x21
	mov	x2, x19
	bl	_xml_elem_serialize_to_string
	mov	x19, x0
	mov	x0, x21
	bl	_xml_elem_free
	mov	x0, x19
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_xmlrpc_version_simple,8,3      ; @xmlrpc_version_simple
	.comm	_xmlrpc_version_1_0,8,3         ; @xmlrpc_version_1_0
	.comm	_xmlrpc_version_none,8,3        ; @xmlrpc_version_none
	.comm	_xmlrpc_version_soap_1_1,8,3    ; @xmlrpc_version_soap_1_1
.subsections_via_symbols
