	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mo_to_tnds                     ## -- Begin function mo_to_tnds
	.p2align	4, 0x90
_mo_to_tnds:                            ## @mo_to_tnds
	.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, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	leaq	L_.str(%rip), %r8
	xorl	%ebx, %ebx
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_xml_node_create_root
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %r8
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create_text
	movq	%r14, %rdi
	movq	%r12, %rbx
	movq	%r12, %rsi
	callq	_xml_node_get_localname
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r13
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_xml_node_create_text
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_add_ddfname
LBB0_4:
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	%r15, %rsi
	cmoveq	%r13, %rsi
	cmoveq	%rax, %r12
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_node_to_tnds
	movq	%r15, %rbx
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_xml_node_free
	xorl	%ebx, %ebx
LBB0_6:
	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	"MgmtTree"

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

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

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mo_to_tnds                     ; -- Begin function mo_to_tnds
	.p2align	2
_mo_to_tnds:                            ; @mo_to_tnds
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x8, x4
	mov	x23, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	mov	x1, x8
	mov	x2, #0
	mov	x3, #0
	bl	_xml_node_create_root
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh4:
	adrp	x4, l_.str.2@PAGE
Lloh5:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	bl	_xml_node_create_text
	mov	x0, x21
	mov	x1, x20
	bl	_xml_node_get_localname
	mov	x24, x0
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	bl	_xml_node_create
	cbz	x0, LBB0_5
; %bb.2:
	mov	x25, x0
Lloh8:
	adrp	x3, l_.str.4@PAGE
Lloh9:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x25
	mov	x2, #0
	mov	x4, x24
	bl	_xml_node_create_text
	cbz	x23, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x25
	mov	x2, x23
	bl	_add_ddfname
LBB0_4:
	cmp	w22, #0
	csel	x1, x25, x19, eq
	csel	x3, xzr, x24, eq
	mov	x0, x21
	mov	x2, x20
	bl	_node_to_tnds
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	mov	x1, x19
	bl	_xml_node_free
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MgmtTree"

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

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

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

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

.subsections_via_symbols
