	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_mo_node
_add_mo_node:                           ## @add_mo_node
	.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	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rsi
	callq	_get_node_text
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_node_text
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_7
## %bb.2:
	testq	%r13, %r13
	je	LBB0_11
## %bb.3:
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_node_text
	movq	%rax, %r12
	testq	%rax, %rax
	cmovneq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_get_node_uri
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_xml_node_get_text_free
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.4:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	testq	%r12, %r12
	je	LBB0_12
## %bb.5:
	movq	%r12, %r8
	callq	_xml_node_create_text
	jmp	LBB0_14
LBB0_6:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_xml_node_create_root
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_14
## %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_xml_node_set_text
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	callq	_printf
LBB0_11:
	xorl	%r14d, %r14d
LBB0_13:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_14:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_xml_node_get_text_free
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_xml_node_get_text_free
LBB0_15:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	_xml_node_create
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NodeName"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"Could not find URI '%s'\n"

	.no_dead_strip	_add_mo_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_mo_node
_add_mo_node:                           ; @add_mo_node
	.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	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x24
	bl	_get_node_text
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x24
	bl	_get_node_text
	mov	x22, x0
	cbz	x21, LBB0_7
; %bb.2:
	cbz	x23, LBB0_10
; %bb.3:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x24
	bl	_get_node_text
	mov	x25, x0
	cmp	x0, #0
	csel	x24, x23, x0, eq
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_get_node_uri
	mov	x23, x0
	mov	x0, x19
	mov	x1, x25
	bl	_xml_node_get_text_free
	cbz	x23, LBB0_11
; %bb.4:
	mov	x0, x19
	mov	x1, x23
	mov	x2, #0
	mov	x3, x20
	cbz	x22, LBB0_12
; %bb.5:
	mov	x4, x22
	bl	_xml_node_create_text
	b	LBB0_13
LBB0_6:
	mov	x21, #0
	b	LBB0_14
LBB0_7:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_xml_node_create_root
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.8:
	cbz	x22, LBB0_13
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_xml_node_set_text
	b	LBB0_13
LBB0_10:
	mov	x21, #0
	b	LBB0_13
LBB0_11:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x24
	bl	_printf
	mov	x21, #0
	b	LBB0_13
LBB0_12:
	bl	_xml_node_create
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_xml_node_get_text_free
	mov	x0, x19
	mov	x1, x22
	bl	_xml_node_get_text_free
LBB0_14:
	mov	x0, x21
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NodeName"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"Could not find URI '%s'\n"

	.no_dead_strip	_add_mo_node
.subsections_via_symbols
