	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_oma_dm_1
_build_oma_dm_1:                        ## @build_oma_dm_1
	.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
	movq	%rcx, %r15
	movq	%rdi, %rbx
	callq	_oma_dm_build_hdr
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r12
	movq	_DM_CLIENT_INITIATED_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_add_alert
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mo_str
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_oma_dm_add_hs20_generic_alert
	movq	%r13, %rdi
	callq	_os_free
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$3, %edx
	callq	_add_replace_devinfo
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_xml_node_create
	jmp	LBB0_7
LBB0_5:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_xml_node_free
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$8, %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	"SyncBody"

	.comm	_DM_CLIENT_INITIATED_MGMT,4,2   ## @DM_CLIENT_INITIATED_MGMT
L_.str.1:                               ## @.str.1
	.asciz	"devdetail.xml"

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

	.no_dead_strip	_build_oma_dm_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_oma_dm_1
_build_oma_dm_1:                        ; @build_oma_dm_1
	.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
	mov	x21, x3
	mov	x20, x0
	bl	_oma_dm_build_hdr
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w0, [x20]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, #0
	bl	_xml_node_create
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
Lloh2:
	adrp	x8, _DM_CLIENT_INITIATED_MGMT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DM_CLIENT_INITIATED_MGMT@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #1
	bl	_add_alert
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	bl	_mo_str
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	mov	w2, #2
	mov	x3, x21
	mov	x4, x23
	bl	_oma_dm_add_hs20_generic_alert
	mov	x0, x23
	bl	_os_free
	mov	x0, x20
	mov	x1, x22
	mov	w2, #3
	bl	_add_replace_devinfo
	ldr	w0, [x20]
Lloh7:
	adrp	x3, l_.str.2@PAGE
Lloh8:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x1, x22
	mov	x2, #0
	bl	_xml_node_create
	b	LBB0_5
LBB0_4:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_xml_node_free
	mov	x19, #0
LBB0_5:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SyncBody"

	.comm	_DM_CLIENT_INITIATED_MGMT,4,2   ; @DM_CLIENT_INITIATED_MGMT
l_.str.1:                               ; @.str.1
	.asciz	"devdetail.xml"

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

	.no_dead_strip	_build_oma_dm_1
.subsections_via_symbols
