	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_sub_rem
_cmd_sub_rem:                           ## @cmd_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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -1056(%rbp)
	movq	$0, -1048(%rbp)
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	testq	%r13, %r13
	jne	LBB0_7
## %bb.1:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	24(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	leaq	-1024(%rbp), %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_get_wpa_status
	testq	%rax, %rax
	jns	LBB0_5
## %bb.3:
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_53
LBB0_4:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	addq	$5, %r14
	leaq	L_.str.4(%rip), %rdx
	leaq	-1024(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r14, %rcx
	callq	_os_snprintf
	xorl	%r14d, %r14d
LBB0_5:
	movq	(%r15), %rdi
	callq	_os_free
	leaq	-1024(%rbp), %rdi
	callq	_os_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_54
## %bb.6:
	leaq	-560(%rbp), %rbx
	leaq	-352(%rbp), %r13
	movl	(%r12), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	-1024(%rbp), %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r15), %rcx
	leaq	L_.str.8(%rip), %rdx
	movq	%r13, %rdi
	movl	$300, %esi                      ## imm = 0x12C
	callq	_os_snprintf
	movq	(%r15), %rcx
	leaq	L_.str.9(%rip), %rdx
	movq	%rbx, %rdi
	movl	$200, %esi
	callq	_os_snprintf
LBB0_7:
	movq	%r13, %rdi
	callq	_os_file_exists
	movl	(%r12), %edi
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_os_file_exists
	testl	%eax, %eax
	je	LBB0_18
LBB0_10:
	movl	(%r12), %edi
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, 8(%r15)
	movl	20(%r15), %edi
	movq	%r13, %rsi
	callq	_node_from_file
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movq	%rax, %rbx
	cmpq	$0, (%r15)
	movq	%rax, -1072(%rbp)               ## 8-byte Spill
	je	LBB0_20
LBB0_12:
	movl	20(%r15), %edi
	leaq	L_.str.19(%rip), %rdx
	movq	%rbx, %rsi
	callq	_get_child_node
	testq	%rax, %rax
	je	LBB0_24
## %bb.13:
	movl	20(%r15), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.20(%rip), %rsi
	movq	%rax, %rdi
	callq	_os_strcasecmp
	testq	%rax, %rax
	je	LBB0_26
LBB0_15:
	movl	$0, -1028(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_27
LBB0_16:
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdx
	jmp	LBB0_19
LBB0_17:
	movl	(%r12), %edi
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_53
LBB0_18:
	movl	(%r12), %edi
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdx
LBB0_19:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_54
LBB0_20:
	movl	20(%r15), %edi
	leaq	L_.str.15(%rip), %rdx
	movq	%rbx, %rsi
	callq	_get_child_node
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	movl	20(%r15), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_52
## %bb.22:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_os_strdup
	movq	%rax, (%r15)
	movl	20(%r15), %edi
	movq	%rbx, %rsi
	callq	_xml_node_get_text_free
	cmpq	$0, (%r15)
	movq	-1072(%rbp), %rbx               ## 8-byte Reload
	jne	LBB0_12
## %bb.23:
	movl	(%r12), %edi
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_53
LBB0_24:
	movl	(%r12), %edi
	leaq	L_.str.21(%rip), %rsi
	movl	$0, -1028(%rbp)                 ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_27
LBB0_25:
	movl	(%r12), %edi
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_53
LBB0_26:
	movb	$1, %al
	movl	%eax, -1028(%rbp)               ## 4-byte Spill
LBB0_27:
	leaq	L_.str.22(%rip), %rdx
	leaq	-1056(%rbp), %rcx
	leaq	-1048(%rbp), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_user_pw
	movq	-1056(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_29
## %bb.28:
	movl	(%r12), %edi
	leaq	L_.str.23(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_29:
	movq	-1048(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_31
## %bb.30:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.24(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpq	$0, -1048(%rbp)
	sete	%al
	jmp	LBB0_32
LBB0_31:
	movb	$1, %al
LBB0_32:
	xorl	%ecx, %ecx
	movq	%rcx, -1064(%rbp)               ## 8-byte Spill
	cmpq	$0, -1056(%rbp)
	jne	LBB0_37
## %bb.33:
	movl	$0, %ecx
	movq	%rcx, -1040(%rbp)               ## 8-byte Spill
	testb	%al, %al
	je	LBB0_38
## %bb.34:
	movl	20(%r15), %edi
	leaq	L_.str.25(%rip), %rdx
	movq	%rbx, %rsi
	callq	_get_child_node
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movl	(%r12), %edi
	leaq	L_.str.26(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r15), %rcx
	leaq	L_.str.27(%rip), %rdx
	leaq	-1024(%rbp), %rdi
	movq	%rdi, -1064(%rbp)               ## 8-byte Spill
	movl	$200, %esi
	callq	_os_snprintf
	movq	(%r15), %rcx
	leaq	L_.str.28(%rip), %rdx
	leaq	-768(%rbp), %rdi
	movq	%rdi, -1040(%rbp)               ## 8-byte Spill
	movl	$200, %esi
	callq	_os_snprintf
	movl	$1, 16(%r15)
	jmp	LBB0_38
LBB0_36:
	xorl	%eax, %eax
	movq	%rax, -1064(%rbp)               ## 8-byte Spill
LBB0_37:
	xorl	%eax, %eax
	movq	%rax, -1040(%rbp)               ## 8-byte Spill
LBB0_38:
	movl	20(%r15), %edi
	leaq	L_.str.29(%rip), %rdx
	movq	%rbx, %rsi
	callq	_get_child_node
	testq	%rax, %rax
	je	LBB0_43
## %bb.39:
	movl	20(%r15), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_43
## %bb.40:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_42
## %bb.41:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_45
LBB0_42:
	movl	(%r12), %edi
	leaq	L_.str.30(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %r14
	jmp	LBB0_45
LBB0_43:
	testq	%r14, %r14
	je	LBB0_51
## %bb.44:
	xorl	%ebx, %ebx
LBB0_45:
	leaq	L_.str.32(%rip), %rsi
	movq	%r15, %rdi
	callq	_write_summary
	movl	(%r12), %edi
	leaq	L_.str.33(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	24(%r15), %edi
	movl	$15, %esi
	callq	_wait_ip_addr
	testq	%rax, %rax
	jns	LBB0_47
## %bb.46:
	movl	(%r12), %edi
	leaq	L_.str.34(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_47:
	movq	%rbx, %r12
	movq	-1056(%rbp), %r9
	movq	-1048(%rbp), %rax
	cmpb	$0, -1028(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_49
## %bb.48:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-1064(%rbp), %rcx               ## 8-byte Reload
	movq	-1040(%rbp), %r8                ## 8-byte Reload
	movq	-1072(%rbp), %rbx               ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_oma_dm_sub_rem
	jmp	LBB0_50
LBB0_49:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	-1064(%rbp), %rcx               ## 8-byte Reload
	movq	-1040(%rbp), %r8                ## 8-byte Reload
	movq	-1072(%rbp), %rbx               ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_spp_sub_rem
LBB0_50:
	addq	$16, %rsp
	movl	20(%r15), %edi
	movq	%r12, %rsi
	callq	_xml_node_get_text_free
	movl	20(%r15), %edi
	movq	-1056(%rbp), %rsi
	callq	_xml_node_get_text_free
	movq	-1048(%rbp), %rdi
	callq	_str_clear_free
	movl	20(%r15), %edi
	movq	%rbx, %rsi
	callq	_xml_node_free
	xorl	%eax, %eax
	jmp	LBB0_55
LBB0_51:
	movl	(%r12), %edi
	leaq	L_.str.31(%rip), %rsi
	jmp	LBB0_53
LBB0_52:
	movl	(%r12), %edi
	leaq	L_.str.17(%rip), %rsi
LBB0_53:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_54:
	movl	$-1, %eax
LBB0_55:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_57
## %bb.56:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Subscription remediation requested with Server URL: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Determining PPS file based on Home SP information"

L_.str.2:                               ## @.str.2
	.asciz	"fqdn="

L_.str.3:                               ## @.str.3
	.asciz	"Use requested FQDN from command line"

L_.str.4:                               ## @.str.4
	.asciz	"%s"

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

L_.str.6:                               ## @.str.6
	.asciz	"Could not get provisioning Home SP FQDN from wpa_supplicant"

L_.str.7:                               ## @.str.7
	.asciz	"Home SP FQDN for current credential: %s"

L_.str.8:                               ## @.str.8
	.asciz	"SP/%s/pps.xml"

L_.str.9:                               ## @.str.9
	.asciz	"SP/%s/ca.pem"

L_.str.10:                              ## @.str.10
	.asciz	"PPS file '%s' does not exist or is not accessible"

L_.str.11:                              ## @.str.11
	.asciz	"Using PPS file: %s"

L_.str.12:                              ## @.str.12
	.asciz	"CA file '%s' does not exist or is not accessible"

L_.str.13:                              ## @.str.13
	.asciz	"Using server trust root: %s"

L_.str.14:                              ## @.str.14
	.asciz	"Could not read PPS MO"

L_.str.15:                              ## @.str.15
	.asciz	"HomeSP/FQDN"

L_.str.16:                              ## @.str.16
	.asciz	"No HomeSP/FQDN found from PPS"

L_.str.17:                              ## @.str.17
	.asciz	"No HomeSP/FQDN text found from PPS"

L_.str.18:                              ## @.str.18
	.asciz	"No FQDN known"

L_.str.19:                              ## @.str.19
	.asciz	"SubscriptionUpdate/UpdateMethod"

L_.str.20:                              ## @.str.20
	.asciz	"OMA-DM-ClientInitiated"

L_.str.21:                              ## @.str.21
	.asciz	"No UpdateMethod specified - assume SPP"

L_.str.22:                              ## @.str.22
	.asciz	"SubscriptionUpdate/UsernamePassword"

L_.str.23:                              ## @.str.23
	.asciz	"Using username: %s"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.24:                              ## @.str.24
	.asciz	"Using password: %s"

L_.str.25:                              ## @.str.25
	.asciz	"Credential/DigitalCertificate"

L_.str.26:                              ## @.str.26
	.asciz	"Using client certificate"

L_.str.27:                              ## @.str.27
	.asciz	"SP/%s/client-cert.pem"

L_.str.28:                              ## @.str.28
	.asciz	"SP/%s/client-key.pem"

L_.str.29:                              ## @.str.29
	.asciz	"SubscriptionUpdate/URI"

L_.str.30:                              ## @.str.30
	.asciz	"Override sub rem URI based on PPS: %s"

L_.str.31:                              ## @.str.31
	.asciz	"Server URL not known"

L_.str.32:                              ## @.str.32
	.asciz	"Wait for IP address for subscriptiom remediation"

L_.str.33:                              ## @.str.33
	.asciz	"Wait for IP address before starting subscription remediation"

L_.str.34:                              ## @.str.34
	.asciz	"Could not get IP address for WLAN - try connection anyway"

	.no_dead_strip	_cmd_sub_rem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_sub_rem
_cmd_sub_rem:                           ; @cmd_sub_rem
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #992
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x26, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x26]
	str	x1, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	cbnz	x21, LBB0_7
; %bb.1:
	ldr	w0, [x26]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #5
	bl	_os_strncmp
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #24]
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #28
	mov	w3, #256
	bl	_get_wpa_status
	tbz	x0, #63, LBB0_5
; %bb.3:
	ldr	w0, [x26]
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_52
LBB0_4:
	ldr	w0, [x26]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	add	x3, x20, #5
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #28
	mov	w1, #256
	bl	_os_snprintf
	mov	x20, #0
LBB0_5:
	ldr	x0, [x19]
	bl	_os_free
	add	x23, sp, #28
	add	x0, sp, #28
	bl	_os_strdup
	str	x0, [x19]
	cbz	x0, LBB0_53
; %bb.6:
	add	x22, sp, #484
	add	x21, sp, #684
	ldr	w0, [x26]
	str	x23, [sp]
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	ldr	x3, [x19]
Lloh21:
	adrp	x2, l_.str.8@PAGE
Lloh22:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x0, sp, #684
	mov	w1, #300
	bl	_os_snprintf
	ldr	x3, [x19]
Lloh23:
	adrp	x2, l_.str.9@PAGE
Lloh24:
	add	x2, x2, l_.str.9@PAGEOFF
	add	x0, sp, #484
	mov	w1, #200
	bl	_os_snprintf
LBB0_7:
	mov	x0, x21
	bl	_os_file_exists
	mov	x8, x0
	ldr	w0, [x26]
	cbz	w8, LBB0_16
; %bb.8:
	str	x21, [sp]
Lloh25:
	adrp	x1, l_.str.11@PAGE
Lloh26:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	cbz	x22, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_os_file_exists
	cbz	w0, LBB0_18
LBB0_10:
	ldr	w0, [x26]
	str	x22, [sp]
Lloh27:
	adrp	x1, l_.str.13@PAGE
Lloh28:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_wpa_printf
	str	x22, [x19, #8]
	ldr	w0, [x19, #20]
	mov	x1, x21
	bl	_node_from_file
	cbz	x0, LBB0_17
; %bb.11:
	mov	x22, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_19
LBB0_12:
	ldr	w0, [x19, #20]
Lloh29:
	adrp	x2, l_.str.19@PAGE
Lloh30:
	add	x2, x2, l_.str.19@PAGEOFF
	mov	x1, x22
	bl	_get_child_node
	cbz	x0, LBB0_23
; %bb.13:
	mov	x1, x0
	ldr	w0, [x19, #20]
	bl	_xml_node_get_text
	cbz	x0, LBB0_24
; %bb.14:
Lloh31:
	adrp	x1, l_.str.20@PAGE
Lloh32:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_os_strcasecmp
	cbnz	x0, LBB0_24
; %bb.15:
	mov	w27, #1
	b	LBB0_25
LBB0_16:
	str	x21, [sp]
Lloh33:
	adrp	x1, l_.str.10@PAGE
Lloh34:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_52
LBB0_17:
	ldr	w0, [x26]
Lloh35:
	adrp	x1, l_.str.14@PAGE
Lloh36:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_52
LBB0_18:
	ldr	w0, [x26]
	str	x22, [sp]
Lloh37:
	adrp	x1, l_.str.12@PAGE
Lloh38:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_52
LBB0_19:
	ldr	w0, [x19, #20]
Lloh39:
	adrp	x2, l_.str.15@PAGE
Lloh40:
	add	x2, x2, l_.str.15@PAGEOFF
	mov	x1, x22
	bl	_get_child_node
	cbz	x0, LBB0_35
; %bb.20:
	mov	x1, x0
	ldr	w0, [x19, #20]
	bl	_xml_node_get_text
	cbz	x0, LBB0_51
; %bb.21:
	mov	x23, x0
	bl	_os_strdup
	str	x0, [x19]
	ldr	w0, [x19, #20]
	mov	x1, x23
	bl	_xml_node_get_text_free
	ldr	x8, [x19]
	cbnz	x8, LBB0_12
; %bb.22:
	ldr	w0, [x26]
Lloh41:
	adrp	x1, l_.str.18@PAGE
Lloh42:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_52
LBB0_23:
	ldr	w0, [x26]
Lloh43:
	adrp	x1, l_.str.21@PAGE
Lloh44:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_wpa_printf
LBB0_24:
	mov	w27, #0
LBB0_25:
Lloh45:
	adrp	x2, l_.str.22@PAGE
Lloh46:
	add	x2, x2, l_.str.22@PAGEOFF
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_get_user_pw
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	w0, [x26]
	str	x8, [sp]
Lloh47:
	adrp	x1, l_.str.23@PAGE
Lloh48:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_wpa_printf
LBB0_27:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_29
; %bb.28:
Lloh49:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh50:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh52:
	adrp	x1, l_.str.24@PAGE
Lloh53:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w8, eq
	b	LBB0_30
LBB0_29:
	mov	w8, #1
LBB0_30:
	mov	x23, #0
	ldr	x9, [sp, #16]
	cbnz	x9, LBB0_34
; %bb.31:
	mov	x24, x23
	cbz	w8, LBB0_37
; %bb.32:
	ldr	w0, [x19, #20]
Lloh54:
	adrp	x2, l_.str.25@PAGE
Lloh55:
	add	x2, x2, l_.str.25@PAGEOFF
	mov	x1, x22
	bl	_get_child_node
	cbz	x0, LBB0_36
; %bb.33:
	add	x24, sp, #284
	add	x23, sp, #28
	ldr	w0, [x26]
Lloh56:
	adrp	x1, l_.str.26@PAGE
Lloh57:
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_wpa_printf
	ldr	x3, [x19]
Lloh58:
	adrp	x2, l_.str.27@PAGE
Lloh59:
	add	x2, x2, l_.str.27@PAGEOFF
	add	x0, sp, #28
	mov	w1, #200
	bl	_os_snprintf
	ldr	x3, [x19]
Lloh60:
	adrp	x2, l_.str.28@PAGE
Lloh61:
	add	x2, x2, l_.str.28@PAGEOFF
	add	x0, sp, #284
	mov	w1, #200
	bl	_os_snprintf
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_37
LBB0_34:
	mov	x24, x23
	b	LBB0_37
LBB0_35:
	ldr	w0, [x26]
Lloh62:
	adrp	x1, l_.str.16@PAGE
Lloh63:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_52
LBB0_36:
	mov	x23, #0
	mov	x24, #0
LBB0_37:
	ldr	w0, [x19, #20]
Lloh64:
	adrp	x2, l_.str.29@PAGE
Lloh65:
	add	x2, x2, l_.str.29@PAGEOFF
	mov	x1, x22
	bl	_get_child_node
	cbz	x0, LBB0_42
; %bb.38:
	mov	x1, x0
	ldr	w0, [x19, #20]
	bl	_xml_node_get_text
	cbz	x0, LBB0_42
; %bb.39:
	mov	x25, x0
	cbz	x20, LBB0_41
; %bb.40:
	mov	x0, x20
	mov	x1, x25
	bl	_os_strcmp
	cbz	x0, LBB0_44
LBB0_41:
	ldr	w0, [x26]
	str	x25, [sp]
Lloh66:
	adrp	x1, l_.str.30@PAGE
Lloh67:
	add	x1, x1, l_.str.30@PAGEOFF
	bl	_wpa_printf
	mov	x20, x25
	b	LBB0_44
LBB0_42:
	cbz	x20, LBB0_50
; %bb.43:
	mov	x25, #0
LBB0_44:
Lloh68:
	adrp	x1, l_.str.32@PAGE
Lloh69:
	add	x1, x1, l_.str.32@PAGEOFF
	mov	x0, x19
	bl	_write_summary
	ldr	w0, [x26]
Lloh70:
	adrp	x1, l_.str.33@PAGE
Lloh71:
	add	x1, x1, l_.str.33@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #24]
	mov	w1, #15
	bl	_wait_ip_addr
	tbz	x0, #63, LBB0_46
; %bb.45:
	ldr	w0, [x26]
Lloh72:
	adrp	x1, l_.str.34@PAGE
Lloh73:
	add	x1, x1, l_.str.34@PAGEOFF
	bl	_wpa_printf
LBB0_46:
	ldp	x6, x5, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	mov	x4, x24
	mov	x7, x22
	tbz	w27, #0, LBB0_48
; %bb.47:
	bl	_oma_dm_sub_rem
	b	LBB0_49
LBB0_48:
	bl	_spp_sub_rem
LBB0_49:
	ldr	w0, [x19, #20]
	mov	x1, x25
	bl	_xml_node_get_text_free
	ldr	w0, [x19, #20]
	ldr	x1, [sp, #16]
	bl	_xml_node_get_text_free
	ldr	x0, [sp, #8]
	bl	_str_clear_free
	ldr	w0, [x19, #20]
	mov	x1, x22
	bl	_xml_node_free
	mov	w0, #0
	b	LBB0_54
LBB0_50:
	ldr	w0, [x26]
Lloh74:
	adrp	x1, l_.str.31@PAGE
Lloh75:
	add	x1, x1, l_.str.31@PAGEOFF
	b	LBB0_52
LBB0_51:
	ldr	w0, [x26]
Lloh76:
	adrp	x1, l_.str.17@PAGE
Lloh77:
	add	x1, x1, l_.str.17@PAGEOFF
LBB0_52:
	bl	_wpa_printf
LBB0_53:
	mov	w0, #-1
LBB0_54:
	ldur	x8, [x29, #-88]
Lloh78:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh79:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.55:
	add	sp, sp, #992
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Subscription remediation requested with Server URL: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Determining PPS file based on Home SP information"

l_.str.2:                               ; @.str.2
	.asciz	"fqdn="

l_.str.3:                               ; @.str.3
	.asciz	"Use requested FQDN from command line"

l_.str.4:                               ; @.str.4
	.asciz	"%s"

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

l_.str.6:                               ; @.str.6
	.asciz	"Could not get provisioning Home SP FQDN from wpa_supplicant"

l_.str.7:                               ; @.str.7
	.asciz	"Home SP FQDN for current credential: %s"

l_.str.8:                               ; @.str.8
	.asciz	"SP/%s/pps.xml"

l_.str.9:                               ; @.str.9
	.asciz	"SP/%s/ca.pem"

l_.str.10:                              ; @.str.10
	.asciz	"PPS file '%s' does not exist or is not accessible"

l_.str.11:                              ; @.str.11
	.asciz	"Using PPS file: %s"

l_.str.12:                              ; @.str.12
	.asciz	"CA file '%s' does not exist or is not accessible"

l_.str.13:                              ; @.str.13
	.asciz	"Using server trust root: %s"

l_.str.14:                              ; @.str.14
	.asciz	"Could not read PPS MO"

l_.str.15:                              ; @.str.15
	.asciz	"HomeSP/FQDN"

l_.str.16:                              ; @.str.16
	.asciz	"No HomeSP/FQDN found from PPS"

l_.str.17:                              ; @.str.17
	.asciz	"No HomeSP/FQDN text found from PPS"

l_.str.18:                              ; @.str.18
	.asciz	"No FQDN known"

l_.str.19:                              ; @.str.19
	.asciz	"SubscriptionUpdate/UpdateMethod"

l_.str.20:                              ; @.str.20
	.asciz	"OMA-DM-ClientInitiated"

l_.str.21:                              ; @.str.21
	.asciz	"No UpdateMethod specified - assume SPP"

l_.str.22:                              ; @.str.22
	.asciz	"SubscriptionUpdate/UsernamePassword"

l_.str.23:                              ; @.str.23
	.asciz	"Using username: %s"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.24:                              ; @.str.24
	.asciz	"Using password: %s"

l_.str.25:                              ; @.str.25
	.asciz	"Credential/DigitalCertificate"

l_.str.26:                              ; @.str.26
	.asciz	"Using client certificate"

l_.str.27:                              ; @.str.27
	.asciz	"SP/%s/client-cert.pem"

l_.str.28:                              ; @.str.28
	.asciz	"SP/%s/client-key.pem"

l_.str.29:                              ; @.str.29
	.asciz	"SubscriptionUpdate/URI"

l_.str.30:                              ; @.str.30
	.asciz	"Override sub rem URI based on PPS: %s"

l_.str.31:                              ; @.str.31
	.asciz	"Server URL not known"

l_.str.32:                              ; @.str.32
	.asciz	"Wait for IP address for subscriptiom remediation"

l_.str.33:                              ; @.str.33
	.asciz	"Wait for IP address before starting subscription remediation"

l_.str.34:                              ; @.str.34
	.asciz	"Could not get IP address for WLAN - try connection anyway"

	.no_dead_strip	_cmd_sub_rem
.subsections_via_symbols
