	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XMLRPC_REQUEST_to_xml_element  ## -- Begin function XMLRPC_REQUEST_to_xml_element
	.p2align	4, 0x90
_XMLRPC_REQUEST_to_xml_element:         ## @XMLRPC_REQUEST_to_xml_element
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_XMLRPC_RequestGetRequestType
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_XMLRPC_RequestGetData
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_xml_elem_new
	movq	%rax, %r14
	movq	_xmlrpc_request_call@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	%rax, %r12
	jne	LBB0_4
## %bb.3:
	movq	_ELEM_METHODCALL@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_4:
	movq	_xmlrpc_request_response@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_8
## %bb.5:
	movq	_ELEM_METHODRESPONSE@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_estrdup
	movq	%rax, 8(%r14)
	movq	(%r13), %rax
LBB0_8:
	cmpq	%rax, %r12
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_XMLRPC_RequestGetMethodName
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_xml_elem_new
	movq	%rax, %r13
	movq	_ELEM_METHODNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_estrdup
	movq	%rax, 8(%r13)
	leaq	16(%r13), %rdi
	movq	%r12, %rsi
	callq	_simplestring_add
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_Q_PushTail
LBB0_11:
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_XMLRPC_RequestGetData
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_XMLRPC_RequestGetRequestType
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_XMLRPC_to_xml_element_worker
	movq	%r14, %rdi
	movq	%rax, %rsi
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	callq	_xml_elem_new
	movq	%rax, %rbx
	movq	_ELEM_PARAMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_estrdup
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
LBB0_14:
	callq	_Q_PushTail
LBB0_15:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xmlrpc_request_call,8,3        ## @xmlrpc_request_call
	.comm	_ELEM_METHODCALL,8,3            ## @ELEM_METHODCALL
	.comm	_xmlrpc_request_response,8,3    ## @xmlrpc_request_response
	.comm	_ELEM_METHODRESPONSE,8,3        ## @ELEM_METHODRESPONSE
	.comm	_ELEM_METHODNAME,8,3            ## @ELEM_METHODNAME
	.comm	_ELEM_PARAMS,8,3                ## @ELEM_PARAMS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XMLRPC_REQUEST_to_xml_element  ; -- Begin function XMLRPC_REQUEST_to_xml_element
	.p2align	2
_XMLRPC_REQUEST_to_xml_element:         ; @XMLRPC_REQUEST_to_xml_element
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_XMLRPC_RequestGetRequestType
	mov	x22, x0
	mov	x0, x20
	bl	_XMLRPC_RequestGetData
	mov	x21, x0
	bl	_xml_elem_new
	mov	x19, x0
Lloh0:
	adrp	x23, _xmlrpc_request_call@GOTPAGE
Lloh1:
	ldr	x23, [x23, _xmlrpc_request_call@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x22, x8
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _ELEM_METHODCALL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ELEM_METHODCALL@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x9]
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_3:
	mov	x19, #0
	b	LBB0_14
LBB0_4:
Lloh5:
	adrp	x9, _xmlrpc_request_response@GOTPAGE
Lloh6:
	ldr	x9, [x9, _xmlrpc_request_response@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x22, x9
	b.ne	LBB0_7
; %bb.5:
Lloh8:
	adrp	x9, _ELEM_METHODRESPONSE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ELEM_METHODRESPONSE@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x9]
	cbz	x0, LBB0_7
LBB0_6:
	bl	_estrdup
	str	x0, [x19, #8]
	ldr	x8, [x23]
LBB0_7:
	cmp	x22, x8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_XMLRPC_RequestGetMethodName
	cbz	x0, LBB0_10
; %bb.9:
	mov	x22, x0
	bl	_xml_elem_new
	mov	x23, x0
Lloh11:
	adrp	x8, _ELEM_METHODNAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ELEM_METHODNAME@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	bl	_estrdup
	str	x0, [x23, #8]
	add	x0, x23, #16
	mov	x1, x22
	bl	_simplestring_add
	mov	x0, x19
	mov	x1, x23
	bl	_Q_PushTail
LBB0_10:
	cbz	x21, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_XMLRPC_RequestGetData
	mov	x21, x0
	mov	x0, x20
	bl	_XMLRPC_RequestGetRequestType
	mov	x2, x0
	mov	x0, #0
	mov	x1, x21
	mov	w3, #0
	bl	_XMLRPC_to_xml_element_worker
	mov	x1, x0
	mov	x0, x19
	b	LBB0_13
LBB0_12:
	bl	_xml_elem_new
	mov	x20, x0
Lloh14:
	adrp	x8, _ELEM_PARAMS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ELEM_PARAMS@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	bl	_estrdup
	str	x0, [x20, #8]
	mov	x0, x19
	mov	x1, x20
LBB0_13:
	bl	_Q_PushTail
LBB0_14:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_xmlrpc_request_call,8,3        ; @xmlrpc_request_call
	.comm	_ELEM_METHODCALL,8,3            ; @ELEM_METHODCALL
	.comm	_xmlrpc_request_response,8,3    ; @xmlrpc_request_response
	.comm	_ELEM_METHODRESPONSE,8,3        ; @ELEM_METHODRESPONSE
	.comm	_ELEM_METHODNAME,8,3            ; @ELEM_METHODNAME
	.comm	_ELEM_PARAMS,8,3                ; @ELEM_PARAMS
.subsections_via_symbols
