	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pps_cred_password
_set_pps_cred_password:                 ## @set_pps_cred_password
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	leaq	-44(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_xml_node_get_base64_text
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-44(%rbp), %eax
	leal	(%rax,%rax), %edi
	incl	%edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	leal	(%rax,%rax), %ebx
	incl	%ebx
	xorl	%r15d, %r15d
	leaq	L_.str.1(%rip), %r14
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13,%r15), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_snprintf
	addq	$2, %r12
	incq	%r15
	movslq	-44(%rbp), %rax
	addl	$-2, %ebx
	cmpq	%rax, %r15
	jl	LBB0_4
LBB0_5:
	movq	%r13, %rdi
	callq	_free
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_set_cred
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_7:
	movq	%r13, %rdi
	callq	_free
LBB0_8:
	addq	$24, %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	"- Credential/UsernamePassword/Password = %s"

L_.str.1:                               ## @.str.1
	.asciz	"%02x"

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

L_.str.3:                               ## @.str.3
	.asciz	"Failed to set cred password"

	.no_dead_strip	_set_pps_cred_password
.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_password
_set_pps_cred_password:                 ; @set_pps_cred_password
	.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	x8, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	add	x2, sp, #12
	mov	x1, x8
	bl	_xml_node_get_base64_text
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x26, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x26]
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [sp, #12]
	mov	w0, #1
	bfi	w0, w8, #1, #31
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x27, #0
	mov	w23, #1
	bfi	w23, w8, #1, #31
Lloh4:
	adrp	x24, l_.str.1@PAGE
Lloh5:
	add	x24, x24, l_.str.1@PAGEOFF
	mov	x25, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w3, [x22, x27]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_snprintf
	add	x25, x25, #2
	add	x27, x27, #1
	ldrsw	x8, [sp, #12]
	sub	w23, w23, #2
	cmp	x27, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x22
	bl	_free
	ldr	w0, [x20]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x3, x21
	bl	_set_cred
	tbz	x0, #63, LBB0_8
; %bb.6:
	ldr	w0, [x26]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_8
LBB0_7:
	mov	x21, x22
LBB0_8:
	mov	x0, x21
	bl	_free
LBB0_9:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"- Credential/UsernamePassword/Password = %s"

l_.str.1:                               ; @.str.1
	.asciz	"%02x"

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

l_.str.3:                               ; @.str.3
	.asciz	"Failed to set cred password"

	.no_dead_strip	_set_pps_cred_password
.subsections_via_symbols
