	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pps_cred_policy_prp
_set_pps_cred_policy_prp:               ## @set_pps_cred_policy_prp
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rsi
	callq	_get_node
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rax, %rbx
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, -260(%rbp)                ## 4-byte Spill
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_xml_node_get_text_free
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rsi
	callq	_get_node
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	%rax, %r15
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r15, %rbx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.4(%rip), %rbx
LBB0_6:
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rsi
	callq	_get_node
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_xml_node_get_text
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rax, %r13
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r13, %rdi
	movl	$44, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %rdi
	incq	%rdi
	movb	$0, (%rax)
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	xorl	%r8d, %r8d
	testq	%rax, %rax
	setne	%r8b
	movq	%rbx, (%rsp)
	leaq	L_.str.7(%rip), %rdx
	leaq	-256(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$200, %esi
	movq	%r13, %rcx
	movl	-260(%rbp), %r9d                ## 4-byte Reload
	callq	_snprintf
	movl	4(%r12), %edi
	leaq	L_.str.9(%rip), %rdx
	movl	%r14d, %esi
	movq	%rbx, %rcx
	callq	_set_cred_quoted
	testq	%rax, %rax
	jns	LBB0_13
## %bb.10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_13
LBB0_12:
	xorl	%r13d, %r13d
LBB0_13:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_xml_node_get_text_free
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_xml_node_get_text_free
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Priority"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"- Policy/PreferredRoamingPartnerList/<X+>/Priority = %s"

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

L_.str.3:                               ## @.str.3
	.asciz	"- Policy/PreferredRoamingPartnerList/<X+>/Country = %s"

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

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

L_.str.6:                               ## @.str.6
	.asciz	"- Policy/PreferredRoamingPartnerList/<X+>/FQDN_Match = %s"

L_.str.7:                               ## @.str.7
	.asciz	"%s,%d,%d,%s"

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

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

L_.str.10:                              ## @.str.10
	.asciz	"Failed to set cred roaming_partner"

	.no_dead_strip	_set_pps_cred_policy_prp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pps_cred_policy_prp
_set_pps_cred_policy_prp:               ; @set_pps_cred_policy_prp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	mov	x23, 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, #-72]
	ldr	w0, [x0]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x23
	bl	_get_node
	cbz	x0, LBB0_13
; %bb.1:
	mov	x1, x0
	ldr	w0, [x19]
	bl	_xml_node_get_text
	cbz	x0, LBB0_13
; %bb.2:
	mov	x21, x0
Lloh5:
	adrp	x25, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x25, [x25, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x25]
	str	x21, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_atoi
	mov	x22, x0
	ldr	w0, [x19]
	mov	x1, x21
	bl	_xml_node_get_text_free
	ldr	w0, [x19]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_get_node
	cbz	x0, LBB0_5
; %bb.3:
	mov	x1, x0
	ldr	w0, [x19]
	bl	_xml_node_get_text
	cbz	x0, LBB0_13
; %bb.4:
	mov	x21, x0
	ldr	w0, [x25]
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	x24, x21
	b	LBB0_6
LBB0_5:
	mov	x21, #0
Lloh13:
	adrp	x24, l_.str.4@PAGE
Lloh14:
	add	x24, x24, l_.str.4@PAGEOFF
LBB0_6:
	ldr	w0, [x19]
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x23
	bl	_get_node
	cbz	x0, LBB0_11
; %bb.7:
	mov	x1, x0
	ldr	w0, [x19]
	bl	_xml_node_get_text
	mov	x23, x0
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w0, [x25]
	str	x23, [sp]
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	x0, x23
	mov	w1, #44
	bl	_strrchr
	cbz	x0, LBB0_12
; %bb.9:
	strb	wzr, [x0], #1
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w4, ne
Lloh21:
	adrp	x2, l_.str.7@PAGE
Lloh22:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x0, sp, #16
	mov	w1, #200
	mov	x3, x23
	mov	x5, x22
	mov	x6, x24
	bl	_snprintf
	ldr	w0, [x19, #4]
Lloh23:
	adrp	x2, l_.str.9@PAGE
Lloh24:
	add	x2, x2, l_.str.9@PAGEOFF
	add	x3, sp, #16
	mov	x1, x20
	bl	_set_cred_quoted
	tbz	x0, #63, LBB0_12
; %bb.10:
	ldr	w0, [x25]
Lloh25:
	adrp	x1, l_.str.10@PAGE
Lloh26:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	b	LBB0_12
LBB0_11:
	mov	x23, #0
LBB0_12:
	ldr	w0, [x19]
	mov	x1, x21
	bl	_xml_node_get_text_free
	ldr	w0, [x19]
	mov	x1, x23
	bl	_xml_node_get_text_free
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Priority"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"- Policy/PreferredRoamingPartnerList/<X+>/Priority = %s"

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

l_.str.3:                               ; @.str.3
	.asciz	"- Policy/PreferredRoamingPartnerList/<X+>/Country = %s"

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

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

l_.str.6:                               ; @.str.6
	.asciz	"- Policy/PreferredRoamingPartnerList/<X+>/FQDN_Match = %s"

l_.str.7:                               ; @.str.7
	.asciz	"%s,%d,%d,%s"

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

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

l_.str.10:                              ; @.str.10
	.asciz	"Failed to set cred roaming_partner"

	.no_dead_strip	_set_pps_cred_policy_prp
.subsections_via_symbols
