	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oma_dm_sub_rem                 ## -- Begin function oma_dm_sub_rem
	.p2align	4, 0x90
_oma_dm_sub_rem:                        ## @oma_dm_sub_rem
	.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	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -56(%rbp)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %r15
	movq	%r15, %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_write_summary
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_build_oma_dm_1_sub_rem
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movl	$2, %r15d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	cmoveq	%r14, %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	16(%rbp), %r9
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_oma_dm_send_recv
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movl	%r15d, %ecx
	leaq	-56(%rbp), %r8
	movq	24(%rbp), %r9
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_oma_dm_process
	addq	$16, %rsp
	movq	%rax, %r12
	movl	4(%rbx), %edi
	movq	%r13, %rsi
	callq	_xml_node_free
	incl	%r15d
	movq	-56(%rbp), %rsi
	testq	%r12, %r12
	jne	LBB0_2
## %bb.4:
	movq	%rsi, %rdi
	callq	_os_free
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_write_summary
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_cmd_set_pps
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_command
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_write_summary
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OMA-DM subscription remediation"

L_.str.1:                               ## @.str.1
	.asciz	"Update wpa_supplicant credential based on updated PPS MO and request reconnection"

L_.str.2:                               ## @.str.2
	.asciz	"INTERWORKING_SELECT auto"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to request wpa_supplicant to reconnect"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oma_dm_sub_rem                 ; -- Begin function oma_dm_sub_rem
	.p2align	2
_oma_dm_sub_rem:                        ; @oma_dm_sub_rem
	.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, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	stp	x2, xzr, [sp]                   ; 8-byte Folded Spill
	mov	x26, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	mov	x1, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	bl	_write_summary
	mov	x0, x19
	mov	x1, x26
	mov	w2, #1
	bl	_build_oma_dm_1_sub_rem
	cbz	x0, LBB0_6
; %bb.1:
	mov	x28, x0
	mov	x0, #0
	mov	w27, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x0, #0
	csel	x1, x26, x0, eq
	mov	x0, x19
	mov	x2, x28
	mov	x3, #0
	mov	x4, x23
	mov	x5, x22
	mov	x6, x25
	mov	x7, x24
	bl	_oma_dm_send_recv
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, x0
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x26
	mov	x2, x20
	mov	x3, x27
	mov	x5, x21
	ldr	x6, [sp]                        ; 8-byte Folded Reload
	bl	_oma_dm_process
	mov	x28, x0
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_xml_node_free
	ldr	x0, [sp, #8]
	add	w27, w27, #1
	cbnz	x28, LBB0_2
; %bb.4:
	bl	_os_free
Lloh5:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	bl	_write_summary
	mov	x0, x19
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_cmd_set_pps
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_command
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x20, l_.str.3@PAGE
Lloh16:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_wpa_printf
	mov	x0, x19
	mov	x1, x20
	bl	_write_summary
LBB0_6:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OMA-DM subscription remediation"

l_.str.1:                               ; @.str.1
	.asciz	"Update wpa_supplicant credential based on updated PPS MO and request reconnection"

l_.str.2:                               ; @.str.2
	.asciz	"INTERWORKING_SELECT auto"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to request wpa_supplicant to reconnect"

.subsections_via_symbols
