	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_validate_ap_config_methods
_wps_validate_ap_config_methods:        ## @wps_validate_ap_config_methods
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_wps_validate_config_methods
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_4
## %bb.1:
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_WPA_GET_BE16
	movq	_WPS_CONFIG_PUSHBUTTON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_wpa_printf
	movl	$-1, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPS_CONFIG_PUSHBUTTON,4,2      ## @WPS_CONFIG_PUSHBUTTON
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS-STRICT: Invalid Configuration Methods attribute value 0x%04x in AP info (PushButton not allowed for registering new ER)"

	.no_dead_strip	_wps_validate_ap_config_methods
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_validate_ap_config_methods
_wps_validate_ap_config_methods:        ; @wps_validate_ap_config_methods
	.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
	bl	_wps_validate_config_methods
	tbnz	x0, #63, LBB0_4
; %bb.1:
	cbz	x19, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_WPA_GET_BE16
Lloh0:
	adrp	x8, _WPS_CONFIG_PUSHBUTTON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPS_CONFIG_PUSHBUTTON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:
	mov	x2, x0
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WPS_CONFIG_PUSHBUTTON,4,2      ; @WPS_CONFIG_PUSHBUTTON
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS-STRICT: Invalid Configuration Methods attribute value 0x%04x in AP info (PushButton not allowed for registering new ER)"

	.no_dead_strip	_wps_validate_ap_config_methods
.subsections_via_symbols
