	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_eke_check
_eap_eke_check:                         ## @eap_eke_check
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_EKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, -24(%rbp)
	je	LBB0_2
## %bb.3:
	movq	(%rax), %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%rbx), %rcx
	movq	_IDENTITY@GOTPCREL(%rip), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_EAP_EKE_ID@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r14
	je	LBB0_11
LBB0_5:
	movq	_COMMIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	movq	_EAP_EKE_COMMIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r14
	je	LBB0_11
LBB0_7:
	movq	_CONFIRM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorq	%rcx, %rdx
	movq	_EAP_EKE_CONFIRM@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorq	%r14, %rsi
	orq	%rdx, %rsi
	je	LBB0_11
## %bb.8:
	movq	_EAP_EKE_FAILURE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %r14
	je	LBB0_11
## %bb.9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_2:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_EKE,4,2               ## @EAP_TYPE_EKE
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-EKE: Invalid frame"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"EAP-EKE: Received frame: EKE-Exch=%d"

	.comm	_IDENTITY,8,3                   ## @IDENTITY
	.comm	_EAP_EKE_ID,8,3                 ## @EAP_EKE_ID
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_COMMIT,8,3                     ## @COMMIT
	.comm	_EAP_EKE_COMMIT,8,3             ## @EAP_EKE_COMMIT
	.comm	_CONFIRM,8,3                    ## @CONFIRM
	.comm	_EAP_EKE_CONFIRM,8,3            ## @EAP_EKE_CONFIRM
	.comm	_EAP_EKE_FAILURE,8,3            ## @EAP_EKE_FAILURE
L_.str.2:                               ## @.str.2
	.asciz	"EAP-EKE: Unexpected EKE-Exch=%d in state=%d"

	.no_dead_strip	_eap_eke_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_eke_check
_eap_eke_check:                         ; @eap_eke_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_EKE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_EKE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #24
	bl	_eap_hdr_validate
	ldr	x8, [sp, #24]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_3
; %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
LBB0_2:
	bl	_wpa_printf
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	ldr	x20, [x0]
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _IDENTITY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IDENTITY@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _EAP_EKE_ID@GOTPAGE
Lloh22:
	ldr	x10, [x10, _EAP_EKE_ID@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x20, x10, #0, eq
	b.eq	LBB0_6
; %bb.4:
Lloh24:
	adrp	x9, _COMMIT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _COMMIT@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
Lloh27:
	adrp	x10, _EAP_EKE_COMMIT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _EAP_EKE_COMMIT@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x20, x10, #0, eq
	b.eq	LBB0_6
; %bb.5:
Lloh30:
	adrp	x9, _CONFIRM@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CONFIRM@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
Lloh33:
	adrp	x10, _EAP_EKE_CONFIRM@GOTPAGE
Lloh34:
	ldr	x10, [x10, _EAP_EKE_CONFIRM@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	cmp	x20, x10
	ccmp	x8, x9, #0, eq
Lloh36:
	adrp	x9, _EAP_EKE_FAILURE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _EAP_EKE_FAILURE@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	ccmp	x20, x9, #4, ne
	b.ne	LBB0_8
LBB0_6:
Lloh39:
	adrp	x8, _FALSE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh41:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh42:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x9]
	stp	x20, x8, [sp]
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_EKE,4,2               ; @EAP_TYPE_EKE
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-EKE: Invalid frame"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"EAP-EKE: Received frame: EKE-Exch=%d"

	.comm	_IDENTITY,8,3                   ; @IDENTITY
	.comm	_EAP_EKE_ID,8,3                 ; @EAP_EKE_ID
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_COMMIT,8,3                     ; @COMMIT
	.comm	_EAP_EKE_COMMIT,8,3             ; @EAP_EKE_COMMIT
	.comm	_CONFIRM,8,3                    ; @CONFIRM
	.comm	_EAP_EKE_CONFIRM,8,3            ; @EAP_EKE_CONFIRM
	.comm	_EAP_EKE_FAILURE,8,3            ; @EAP_EKE_FAILURE
l_.str.2:                               ; @.str.2
	.asciz	"EAP-EKE: Unexpected EKE-Exch=%d in state=%d"

	.no_dead_strip	_eap_eke_check
.subsections_via_symbols
