	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pps_cred_digital_cert
_set_pps_cred_digital_cert:             ## @set_pps_cred_digital_cert
	.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	%r12
	pushq	%rbx
	subq	$416, %rsp                      ## imm = 0x1A0
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MSG_INFO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	leaq	-448(%rbp), %rdi
	movl	$200, %esi
	callq	_getcwd
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	movl	%r14d, %esi
	callq	_set_cred_quoted
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
LBB0_3:
	leaq	L_.str.4(%rip), %rdx
	leaq	-240(%rbp), %rdi
	leaq	-448(%rbp), %rcx
	movl	$200, %esi
	movq	%rbx, %r8
	callq	_os_snprintf
	movl	$200, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	leaq	-240(%rbp), %rdi
	callq	_os_file_exists
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rdx
	leaq	-240(%rbp), %rcx
	movl	%r14d, %esi
	callq	_set_cred_quoted
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_wpa_printf
LBB0_7:
	leaq	L_.str.7(%rip), %rdx
	leaq	-240(%rbp), %rdi
	leaq	-448(%rbp), %rcx
	movl	$200, %esi
	movq	%rbx, %r8
	callq	_os_snprintf
	movl	$200, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	je	LBB0_8
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$416, %rsp                      ## imm = 0x1A0
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	-240(%rbp), %rdi
	callq	_os_file_exists
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	(%r15), %edi
	leaq	L_.str.8(%rip), %rdx
	leaq	-240(%rbp), %rcx
	movl	%r14d, %esi
	callq	_set_cred_quoted
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movl	(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"- Credential/DigitalCertificate"

L_.str.1:                               ## @.str.1
	.asciz	"username"

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"Failed to set client_cert"

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

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

L_.str.9:                               ## @.str.9
	.asciz	"Failed to set private_key"

	.no_dead_strip	_set_pps_cred_digital_cert
.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_digital_cert
_set_pps_cred_digital_cert:             ; @set_pps_cred_digital_cert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #480
	.cfi_def_cfa_offset 480
	stp	x28, x27, [sp, #416]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #432]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #448]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #464]            ; 16-byte Folded Spill
	add	x29, sp, #464
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	x0, sp, #8
	mov	w1, #200
	bl	_getcwd
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w0, [x20]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_set_cred_quoted
	tbz	x0, #63, LBB0_3
; %bb.2:
	ldr	w0, [x22]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
LBB0_3:
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #208
	add	x3, sp, #8
	mov	w1, #200
	mov	x4, x21
	bl	_os_snprintf
	mov	x1, x0
	mov	w0, #200
	bl	_os_snprintf_error
	cbnz	x0, LBB0_8
; %bb.4:
	add	x0, sp, #208
	bl	_os_file_exists
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x20]
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x3, sp, #208
	mov	x1, x19
	bl	_set_cred_quoted
	tbz	x0, #63, LBB0_7
; %bb.6:
	ldr	w0, [x22]
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
LBB0_7:
Lloh19:
	adrp	x2, l_.str.7@PAGE
Lloh20:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x0, sp, #208
	add	x3, sp, #8
	mov	w1, #200
	mov	x4, x21
	bl	_os_snprintf
	mov	x1, x0
	mov	w0, #200
	bl	_os_snprintf_error
	cbz	x0, LBB0_10
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.9:
	ldp	x29, x30, [sp, #464]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #448]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #432]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #416]            ; 16-byte Folded Reload
	add	sp, sp, #480
	ret
LBB0_10:
	add	x0, sp, #208
	bl	_os_file_exists
	cbz	x0, LBB0_8
; %bb.11:
	ldr	w0, [x20]
Lloh24:
	adrp	x2, l_.str.8@PAGE
Lloh25:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x3, sp, #208
	mov	x1, x19
	bl	_set_cred_quoted
	tbz	x0, #63, LBB0_8
; %bb.12:
	ldr	w0, [x22]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	b	LBB0_8
LBB0_13:
	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	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"- Credential/DigitalCertificate"

l_.str.1:                               ; @.str.1
	.asciz	"username"

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"Failed to set client_cert"

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

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

l_.str.9:                               ; @.str.9
	.asciz	"Failed to set private_key"

	.no_dead_strip	_set_pps_cred_digital_cert
.subsections_via_symbols
