	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_validate_wps_state
_wps_validate_wps_state:                ## @wps_validate_wps_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.4:
	movq	(%rdi), %rdx
	movq	_WPS_STATE_NOT_CONFIGURED@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	je	LBB0_8
## %bb.5:
	movq	_WPS_STATE_CONFIGURED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_8
## %bb.6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_1:
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS-STRICT: Wi-Fi Protected Setup State attribute missing"

	.comm	_WPS_STATE_NOT_CONFIGURED,8,3   ## @WPS_STATE_NOT_CONFIGURED
	.comm	_WPS_STATE_CONFIGURED,8,3       ## @WPS_STATE_CONFIGURED
L_.str.1:                               ## @.str.1
	.asciz	"WPS-STRICT: Invalid Wi-Fi Protected Setup State attribute value 0x%x"

	.no_dead_strip	_wps_validate_wps_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_validate_wps_state
_wps_validate_wps_state:                ; @wps_validate_wps_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WPS_STATE_NOT_CONFIGURED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPS_STATE_NOT_CONFIGURED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _WPS_STATE_CONFIGURED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WPS_STATE_CONFIGURED@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_6
; %bb.2:
Lloh6:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
	cbz	w1, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS-STRICT: Wi-Fi Protected Setup State attribute missing"

	.comm	_WPS_STATE_NOT_CONFIGURED,8,3   ; @WPS_STATE_NOT_CONFIGURED
	.comm	_WPS_STATE_CONFIGURED,8,3       ; @WPS_STATE_CONFIGURED
l_.str.1:                               ; @.str.1
	.asciz	"WPS-STRICT: Invalid Wi-Fi Protected Setup State attribute value 0x%x"

	.no_dead_strip	_wps_validate_wps_state
.subsections_via_symbols
