	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oma_dm_build_hdr
_oma_dm_build_hdr:                      ## @oma_dm_build_hdr
	.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
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %r8
	leaq	-56(%rbp), %rcx
	xorl	%edx, %edx
	callq	_xml_node_create_root
	movq	%rax, %r15
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rcx
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create
	movq	%rax, %r13
	movl	8(%rbx), %edi
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create_text
	movl	8(%rbx), %edi
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.7(%rip), %r8
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create_text
	movl	8(%rbx), %edi
	leaq	L_.str.8(%rip), %rcx
	leaq	L_.str.9(%rip), %r8
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create_text
	movl	8(%rbx), %r14d
	movl	%r12d, %edi
	callq	_int2str
	leaq	L_.str.10(%rip), %rcx
	movl	%r14d, %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%rax, %r8
	callq	_xml_node_create_text
	leaq	L_.str.11(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_oma_dm_add_locuri
	movq	(%rbx), %rcx
	leaq	L_.str.12(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_oma_dm_add_locuri
	jmp	LBB0_3
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DevId from devinfo.xml is not available - cannot use OMA DM"

L_.str.1:                               ## @.str.1
	.asciz	"SYNCML:SYNCML1.2"

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"VerProto"

L_.str.7:                               ## @.str.7
	.asciz	"DM/1.2"

L_.str.8:                               ## @.str.8
	.asciz	"SessionID"

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

L_.str.10:                              ## @.str.10
	.asciz	"MsgID"

L_.str.11:                              ## @.str.11
	.asciz	"Target"

L_.str.12:                              ## @.str.12
	.asciz	"Source"

	.no_dead_strip	_oma_dm_build_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oma_dm_build_hdr
_oma_dm_build_hdr:                      ; @oma_dm_build_hdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh2:
	adrp	x4, l_.str.2@PAGE
Lloh3:
	add	x4, x4, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	x2, #0
	bl	_xml_node_create_root
	mov	x21, x0
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x3, l_.str.3@PAGE
Lloh5:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	x2, #0
	bl	_xml_node_create
	mov	x23, x0
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x3, l_.str.4@PAGE
Lloh7:
	add	x3, x3, l_.str.4@PAGEOFF
Lloh8:
	adrp	x4, l_.str.5@PAGE
Lloh9:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x1, x23
	mov	x2, #0
	bl	_xml_node_create_text
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x3, l_.str.6@PAGE
Lloh11:
	add	x3, x3, l_.str.6@PAGEOFF
Lloh12:
	adrp	x4, l_.str.7@PAGE
Lloh13:
	add	x4, x4, l_.str.7@PAGEOFF
	mov	x1, x23
	mov	x2, #0
	bl	_xml_node_create_text
	ldr	w0, [x19, #8]
Lloh14:
	adrp	x3, l_.str.8@PAGE
Lloh15:
	add	x3, x3, l_.str.8@PAGEOFF
Lloh16:
	adrp	x4, l_.str.9@PAGE
Lloh17:
	add	x4, x4, l_.str.9@PAGEOFF
	mov	x1, x23
	mov	x2, #0
	bl	_xml_node_create_text
	ldr	w24, [x19, #8]
	mov	x0, x22
	bl	_int2str
	mov	x4, x0
Lloh18:
	adrp	x3, l_.str.10@PAGE
Lloh19:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	mov	x2, #0
	bl	_xml_node_create_text
Lloh20:
	adrp	x2, l_.str.11@PAGE
Lloh21:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	mov	x3, x20
	bl	_oma_dm_add_locuri
	ldr	x3, [x19]
Lloh22:
	adrp	x2, l_.str.12@PAGE
Lloh23:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	bl	_oma_dm_add_locuri
	b	LBB0_3
LBB0_2:
Lloh24:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x21, #0
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DevId from devinfo.xml is not available - cannot use OMA DM"

l_.str.1:                               ; @.str.1
	.asciz	"SYNCML:SYNCML1.2"

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"VerProto"

l_.str.7:                               ; @.str.7
	.asciz	"DM/1.2"

l_.str.8:                               ; @.str.8
	.asciz	"SessionID"

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

l_.str.10:                              ; @.str.10
	.asciz	"MsgID"

l_.str.11:                              ; @.str.11
	.asciz	"Target"

l_.str.12:                              ; @.str.12
	.asciz	"Source"

	.no_dead_strip	_oma_dm_build_hdr
.subsections_via_symbols
