	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oma_dm_run_add
_oma_dm_run_add:                        ## @oma_dm_run_add
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_os_strncasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_9
LBB0_2:
	movq	%r14, %rax
	movq	(%r15), %rdi
	movq	_DM_RESP_COMMAND_FAILED@GOTPCREL(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.3:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	callq	_os_strlen
	movq	%rax, %r12
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_os_strncasecmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	cmpb	$47, (%rbx,%r12)
	jne	LBB0_7
## %bb.5:
	addq	%rbx, %r12
	incq	%r12
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	$24, %edx
	callq	_os_strncasecmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_9:
	movq	_DM_RESP_PERMISSION_DENIED@GOTPCREL(%rip), %r14
LBB0_10:
	movl	(%r14), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	addq	$24, %r12
	movq	_MSG_INFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	12(%r15), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_get_node
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DM_RESP_ALREADY_EXISTS@GOTPCREL(%rip), %r14
	jmp	LBB0_10
LBB0_13:
	movq	%r12, %rdi
	callq	_os_strdup
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_os_strrchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movb	$0, (%rax)
	movl	12(%r15), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_get_node
	movq	%rax, %rbx
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%rbx, %rbx
	leaq	L_.str.9(%rip), %rcx
	leaq	L_.str.10(%rip), %rax
	cmoveq	%rax, %rcx
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	testq	%rbx, %rbx
	movq	%r12, %rax
	je	LBB0_15
## %bb.17:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	jmp	LBB0_19
LBB0_18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_19:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r12, %rdi
	callq	_os_strlen
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rax,%rdi), %rbx
	callq	_os_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_os_strlcpy
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	decq	%r12
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$47, 1(%r12)
	leaq	1(%r12), %r12
	je	LBB0_20
## %bb.21:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	movq	%rax, %rbx
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movb	$0, (%rbx)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	12(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	_xml_node_create
	testq	%rax, %rax
	je	LBB0_35
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r12
	incq	%r12
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_os_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_23
LBB0_25:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	12(%r15), %edi
	leaq	L_.str.15(%rip), %rdx
	movq	%r13, %rsi
	callq	_get_node
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movl	12(%r15), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_37
## %bb.27:
	leaq	L_.str.17(%rip), %rsi
	movq	%rax, %rdi
	callq	_os_strstr
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
LBB0_28:
	movl	12(%r15), %edi
	leaq	L_.str.18(%rip), %rdx
	movq	%r13, %rsi
	callq	_get_node
	testq	%rax, %rax
	je	LBB0_36
## %bb.29:
	movl	12(%r15), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_38
## %bb.30:
	movq	%rax, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.21(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_42
## %bb.31:
	movl	12(%r15), %edi
	movq	%rbx, %rsi
	callq	_xml_node_from_buf
	movq	%rax, %r12
	movl	12(%r15), %edi
	movq	%rbx, %rsi
	callq	_xml_node_get_text_free
	testq	%r12, %r12
	je	LBB0_39
## %bb.32:
	movl	12(%r15), %edi
	movq	%r12, %rsi
	callq	_tnds_to_mo
	movq	%rax, %rbx
	movl	12(%r15), %edi
	movq	%r12, %rsi
	callq	_xml_node_free
	testq	%rbx, %rbx
	je	LBB0_40
## %bb.33:
	leaq	L_.str.24(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_debug_dump_node
	movl	12(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_xml_node_add_child
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_update_pps_file
	testq	%rax, %rax
	js	LBB0_10
## %bb.34:
	movl	$1, 8(%r15)
	movq	_DM_RESP_OK@GOTPCREL(%rip), %r14
	jmp	LBB0_10
LBB0_35:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	jmp	LBB0_10
LBB0_36:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.19(%rip), %rsi
	jmp	LBB0_41
LBB0_37:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_41
LBB0_38:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.20(%rip), %rsi
	jmp	LBB0_41
LBB0_39:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.22(%rip), %rsi
	jmp	LBB0_41
LBB0_40:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.23(%rip), %rsi
LBB0_41:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_42:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	_DM_RESP_BAD_REQUEST@GOTPCREL(%rip), %r14
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Add command target LocURI: %s"

L_.str.1:                               ## @.str.1
	.asciz	"./Wi-Fi/"

L_.str.2:                               ## @.str.2
	.asciz	"Do not allow Add outside ./Wi-Fi"

	.comm	_DM_RESP_PERMISSION_DENIED,4,2  ## @DM_RESP_PERMISSION_DENIED
	.comm	_DM_RESP_COMMAND_FAILED,4,2     ## @DM_RESP_COMMAND_FAILED
L_.str.3:                               ## @.str.3
	.asciz	"Do not allow Add outside ./Wi-Fi/%s"

L_.str.4:                               ## @.str.4
	.asciz	"PerProviderSubscription/"

L_.str.5:                               ## @.str.5
	.asciz	"Do not allow Add outside ./Wi-Fi/%s/PerProviderSubscription"

L_.str.6:                               ## @.str.6
	.asciz	"Add command for PPS node %s"

L_.str.7:                               ## @.str.7
	.asciz	"Specified PPS node exists already"

	.comm	_DM_RESP_ALREADY_EXISTS,4,2     ## @DM_RESP_ALREADY_EXISTS
L_.str.8:                               ## @.str.8
	.asciz	"Node %s %s"

L_.str.9:                               ## @.str.9
	.asciz	"exists"

L_.str.10:                              ## @.str.10
	.asciz	"does not exist"

L_.str.11:                              ## @.str.11
	.asciz	"Parent URI: %s"

L_.str.12:                              ## @.str.12
	.asciz	"Nodes to add: %s"

L_.str.13:                              ## @.str.13
	.asciz	"Adding interim node %s"

L_.str.14:                              ## @.str.14
	.asciz	"Adding node %s"

L_.str.15:                              ## @.str.15
	.asciz	"Item/Meta/Type"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.16:                              ## @.str.16
	.asciz	"Could not find type text"

	.comm	_DM_RESP_BAD_REQUEST,4,2        ## @DM_RESP_BAD_REQUEST
L_.str.17:                              ## @.str.17
	.asciz	"application/vnd.syncml.dmtnds+xml"

L_.str.18:                              ## @.str.18
	.asciz	"Item/Data"

L_.str.19:                              ## @.str.19
	.asciz	"No Add/Item/Data found"

L_.str.20:                              ## @.str.20
	.asciz	"Could not get Add/Item/Data text"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.21:                              ## @.str.21
	.asciz	"Add/Item/Data: %s"

L_.str.22:                              ## @.str.22
	.asciz	"Could not parse Add/Item/Data text"

L_.str.23:                              ## @.str.23
	.asciz	"Could not parse TNDS text"

L_.str.24:                              ## @.str.24
	.asciz	"Parsed TNDS"

	.comm	_DM_RESP_OK,4,2                 ## @DM_RESP_OK
	.no_dead_strip	_oma_dm_run_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oma_dm_run_add
_oma_dm_run_add:                        ; @oma_dm_run_add
	.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	x21, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x28, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x28]
	str	x1, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w2, #8
	bl	_os_strncasecmp
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x28]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_27
; %bb.3:
	add	x22, x22, #8
	bl	_os_strlen
	mov	x24, x0
	ldr	x1, [x19]
	mov	x0, x22
	mov	x2, x24
	bl	_os_strncasecmp
	cbnz	x0, LBB0_7
; %bb.4:
	ldrb	w8, [x22, x24]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.5:
	add	x8, x24, x22
	add	x22, x8, #1
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	w2, #24
	bl	_os_strncasecmp
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w0, [x28]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	w0, [x28]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	bl	_wpa_printf
Lloh14:
	adrp	x8, _DM_RESP_PERMISSION_DENIED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DM_RESP_PERMISSION_DENIED@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
LBB0_10:
	add	x25, x22, #24
	ldr	w0, [x28]
	str	x25, [sp]
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #12]
	mov	x1, x20
	mov	x2, x25
	bl	_get_node
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x28]
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
Lloh20:
	adrp	x8, _DM_RESP_ALREADY_EXISTS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DM_RESP_ALREADY_EXISTS@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	mov	x0, x25
	bl	_os_strdup
	cbz	x0, LBB0_27
; %bb.13:
	mov	x22, x0
Lloh22:
	adrp	x27, l_.str.10@PAGE
Lloh23:
	add	x27, x27, l_.str.10@PAGEOFF
Lloh24:
	adrp	x26, l_.str.8@PAGE
Lloh25:
	add	x26, x26, l_.str.8@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #47
	bl	_os_strrchr
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	strb	wzr, [x0]
	ldr	w0, [x19, #12]
	mov	x1, x20
	mov	x2, x22
	bl	_get_node
	mov	x24, x0
	ldr	w0, [x28]
	cmp	x24, #0
Lloh26:
	adrp	x8, l_.str.9@PAGE
Lloh27:
	add	x8, x8, l_.str.9@PAGEOFF
	csel	x8, x27, x8, eq
	stp	x22, x8, [sp]
	mov	x1, x26
	bl	_wpa_printf
	cbz	x24, LBB0_14
	b	LBB0_17
LBB0_16:
	mov	x24, x20
LBB0_17:
	ldr	w0, [x28]
	str	x22, [sp]
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	bl	_os_strlen
	add	x26, x25, x0
	mov	x0, x25
	bl	_os_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x26
	bl	_os_strlcpy
	sub	x25, x22, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x25, #1]!
	cmp	w8, #47
	b.eq	LBB0_18
; %bb.19:
	ldr	w0, [x28]
	str	x25, [sp]
Lloh30:
	adrp	x1, l_.str.12@PAGE
Lloh31:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	mov	x0, x25
	mov	w1, #47
	bl	_os_strchr
	cbz	x0, LBB0_23
; %bb.20:
	mov	x27, x0
Lloh32:
	adrp	x26, l_.str.13@PAGE
Lloh33:
	add	x26, x26, l_.str.13@PAGEOFF
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x27]
	ldr	w0, [x28]
	str	x25, [sp]
	mov	x1, x26
	bl	_wpa_printf
	ldr	w0, [x19, #12]
	mov	x1, x24
	mov	x2, #0
	mov	x3, x25
	bl	_xml_node_create
	cbz	x0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x24, x0
	add	x25, x27, #1
	mov	x0, x25
	mov	w1, #47
	bl	_os_strchr
	mov	x27, x0
	cbnz	x0, LBB0_21
LBB0_23:
	ldr	w0, [x28]
	str	x25, [sp]
Lloh34:
	adrp	x1, l_.str.14@PAGE
Lloh35:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #12]
Lloh36:
	adrp	x2, l_.str.15@PAGE
Lloh37:
	add	x2, x2, l_.str.15@PAGEOFF
	mov	x1, x23
	bl	_get_node
	cbz	x0, LBB0_28
; %bb.24:
	mov	x1, x0
	ldr	w0, [x19, #12]
	bl	_xml_node_get_text
	cbz	x0, LBB0_37
; %bb.25:
Lloh38:
	adrp	x1, l_.str.17@PAGE
Lloh39:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_os_strstr
	cmp	x0, #0
	cset	w25, ne
	b	LBB0_29
LBB0_26:
	mov	x0, x22
	bl	_os_free
LBB0_27:
Lloh40:
	adrp	x8, _DM_RESP_COMMAND_FAILED@GOTPAGE
Lloh41:
	ldr	x8, [x8, _DM_RESP_COMMAND_FAILED@GOTPAGEOFF]
	b	LBB0_9
LBB0_28:
	mov	w25, #0
LBB0_29:
	ldr	w0, [x19, #12]
Lloh42:
	adrp	x2, l_.str.18@PAGE
Lloh43:
	add	x2, x2, l_.str.18@PAGEOFF
	mov	x1, x23
	bl	_get_node
	cbz	x0, LBB0_36
; %bb.30:
	mov	x1, x0
	ldr	w0, [x19, #12]
	bl	_xml_node_get_text
	cbz	x0, LBB0_38
; %bb.31:
	mov	x23, x0
Lloh44:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh47:
	adrp	x1, l_.str.21@PAGE
Lloh48:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_wpa_printf
	cbz	w25, LBB0_42
; %bb.32:
	ldr	w0, [x19, #12]
	mov	x1, x23
	bl	_xml_node_from_buf
	mov	x25, x0
	ldr	w0, [x19, #12]
	mov	x1, x23
	bl	_xml_node_get_text_free
	cbz	x25, LBB0_39
; %bb.33:
	ldr	w0, [x19, #12]
	mov	x1, x25
	bl	_tnds_to_mo
	mov	x23, x0
	ldr	w0, [x19, #12]
	mov	x1, x25
	bl	_xml_node_free
	cbz	x23, LBB0_40
; %bb.34:
Lloh49:
	adrp	x1, l_.str.24@PAGE
Lloh50:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_debug_dump_node
	ldr	w0, [x19, #12]
	mov	x1, x24
	mov	x2, x23
	bl	_xml_node_add_child
	mov	x0, x22
	bl	_os_free
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_update_pps_file
	tbnz	x0, #63, LBB0_27
; %bb.35:
	mov	w8, #1
	str	w8, [x19, #8]
Lloh51:
	adrp	x8, _DM_RESP_OK@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DM_RESP_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_36:
	ldr	w0, [x28]
Lloh53:
	adrp	x1, l_.str.19@PAGE
Lloh54:
	add	x1, x1, l_.str.19@PAGEOFF
	b	LBB0_41
LBB0_37:
Lloh55:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x1, l_.str.16@PAGE
Lloh59:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_41
LBB0_38:
	ldr	w0, [x28]
Lloh60:
	adrp	x1, l_.str.20@PAGE
Lloh61:
	add	x1, x1, l_.str.20@PAGEOFF
	b	LBB0_41
LBB0_39:
	ldr	w0, [x28]
Lloh62:
	adrp	x1, l_.str.22@PAGE
Lloh63:
	add	x1, x1, l_.str.22@PAGEOFF
	b	LBB0_41
LBB0_40:
	ldr	w0, [x28]
Lloh64:
	adrp	x1, l_.str.23@PAGE
Lloh65:
	add	x1, x1, l_.str.23@PAGEOFF
LBB0_41:
	bl	_wpa_printf
LBB0_42:
	mov	x0, x22
	bl	_os_free
Lloh66:
	adrp	x8, _DM_RESP_BAD_REQUEST@GOTPAGE
Lloh67:
	ldr	x8, [x8, _DM_RESP_BAD_REQUEST@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Add command target LocURI: %s"

l_.str.1:                               ; @.str.1
	.asciz	"./Wi-Fi/"

l_.str.2:                               ; @.str.2
	.asciz	"Do not allow Add outside ./Wi-Fi"

	.comm	_DM_RESP_PERMISSION_DENIED,4,2  ; @DM_RESP_PERMISSION_DENIED
	.comm	_DM_RESP_COMMAND_FAILED,4,2     ; @DM_RESP_COMMAND_FAILED
l_.str.3:                               ; @.str.3
	.asciz	"Do not allow Add outside ./Wi-Fi/%s"

l_.str.4:                               ; @.str.4
	.asciz	"PerProviderSubscription/"

l_.str.5:                               ; @.str.5
	.asciz	"Do not allow Add outside ./Wi-Fi/%s/PerProviderSubscription"

l_.str.6:                               ; @.str.6
	.asciz	"Add command for PPS node %s"

l_.str.7:                               ; @.str.7
	.asciz	"Specified PPS node exists already"

	.comm	_DM_RESP_ALREADY_EXISTS,4,2     ; @DM_RESP_ALREADY_EXISTS
l_.str.8:                               ; @.str.8
	.asciz	"Node %s %s"

l_.str.9:                               ; @.str.9
	.asciz	"exists"

l_.str.10:                              ; @.str.10
	.asciz	"does not exist"

l_.str.11:                              ; @.str.11
	.asciz	"Parent URI: %s"

l_.str.12:                              ; @.str.12
	.asciz	"Nodes to add: %s"

l_.str.13:                              ; @.str.13
	.asciz	"Adding interim node %s"

l_.str.14:                              ; @.str.14
	.asciz	"Adding node %s"

l_.str.15:                              ; @.str.15
	.asciz	"Item/Meta/Type"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.16:                              ; @.str.16
	.asciz	"Could not find type text"

	.comm	_DM_RESP_BAD_REQUEST,4,2        ; @DM_RESP_BAD_REQUEST
l_.str.17:                              ; @.str.17
	.asciz	"application/vnd.syncml.dmtnds+xml"

l_.str.18:                              ; @.str.18
	.asciz	"Item/Data"

l_.str.19:                              ; @.str.19
	.asciz	"No Add/Item/Data found"

l_.str.20:                              ; @.str.20
	.asciz	"Could not get Add/Item/Data text"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.21:                              ; @.str.21
	.asciz	"Add/Item/Data: %s"

l_.str.22:                              ; @.str.22
	.asciz	"Could not parse Add/Item/Data text"

l_.str.23:                              ; @.str.23
	.asciz	"Could not parse TNDS text"

l_.str.24:                              ; @.str.24
	.asciz	"Parsed TNDS"

	.comm	_DM_RESP_OK,4,2                 ; @DM_RESP_OK
	.no_dead_strip	_oma_dm_run_add
.subsections_via_symbols
