	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_sta_cred_cb
_wps_sta_cred_cb:                       ## @wps_sta_cred_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	movq	_WPS_AUTH_WPA2PSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	jne	LBB0_2
## %bb.1:
	movq	_WPS_AUTH_WPAPSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_3
LBB0_2:
	movl	%eax, (%rbx)
LBB0_3:
	movl	4(%rbx), %ecx
	movq	_WPS_ENCR_AES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	jne	LBB0_5
## %bb.4:
	movq	_WPS_ENCR_TKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_6
LBB0_5:
	movl	%eax, 4(%rbx)
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	8(%rbx), %rcx
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPS_AUTH_WPA2PSK,4,2           ## @WPS_AUTH_WPA2PSK
	.comm	_WPS_AUTH_WPAPSK,4,2            ## @WPS_AUTH_WPAPSK
	.comm	_WPS_ENCR_AES,4,2               ## @WPS_ENCR_AES
	.comm	_WPS_ENCR_TKIP,4,2              ## @WPS_ENCR_TKIP
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: Update local configuration based on the AP configuration"

	.no_dead_strip	_wps_sta_cred_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_sta_cred_cb
_wps_sta_cred_cb:                       ; @wps_sta_cred_cb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _WPS_AUTH_WPA2PSK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPS_AUTH_WPA2PSK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _WPS_AUTH_WPAPSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WPS_AUTH_WPAPSK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_3
LBB0_2:
	str	w8, [x19]
LBB0_3:
	ldr	w9, [x19, #4]
Lloh6:
	adrp	x8, _WPS_ENCR_AES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPS_ENCR_AES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _WPS_ENCR_TKIP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WPS_ENCR_TKIP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_6
LBB0_5:
	str	w8, [x19, #4]
LBB0_6:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19, #8]
	ldr	x2, [x8, #8]
	cbz	x2, LBB0_8
; %bb.7:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WPS_AUTH_WPA2PSK,4,2           ; @WPS_AUTH_WPA2PSK
	.comm	_WPS_AUTH_WPAPSK,4,2            ; @WPS_AUTH_WPAPSK
	.comm	_WPS_ENCR_AES,4,2               ; @WPS_ENCR_AES
	.comm	_WPS_ENCR_TKIP,4,2              ; @WPS_ENCR_TKIP
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: Update local configuration based on the AP configuration"

	.no_dead_strip	_wps_sta_cred_cb
.subsections_via_symbols
