	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_wsc_check
_eap_wsc_check:                         ## @eap_wsc_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_EAP_VENDOR_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_VENDOR_TYPE_WSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$1, -8(%rbp)
	jbe	LBB0_3
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_WFA,4,2             ## @EAP_VENDOR_WFA
	.comm	_EAP_VENDOR_TYPE_WSC,4,2        ## @EAP_VENDOR_TYPE_WSC
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-WSC: Invalid frame"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_eap_wsc_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_wsc_check
_eap_wsc_check:                         ; @eap_wsc_check
	.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
Lloh0:
	adrp	x8, _EAP_VENDOR_WFA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_WFA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_VENDOR_TYPE_WSC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_VENDOR_TYPE_WSC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	bl	_eap_hdr_validate
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, #1, #0, ne
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_WFA,4,2             ; @EAP_VENDOR_WFA
	.comm	_EAP_VENDOR_TYPE_WSC,4,2        ; @EAP_VENDOR_TYPE_WSC
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-WSC: Invalid frame"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_eap_wsc_check
.subsections_via_symbols
