	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_eke_process_confirm
_eap_eke_process_confirm:               ## @eap_eke_process_confirm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_EKE_MAX_NONCE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	addl	%r13d, %r13d
	shlq	$2, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_EAP_EKE_MAX_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_eap_get_id
	movl	%eax, %r14d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdx
	movq	_CONFIRM@GOTPCREL(%rip), %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movslq	8(%rsi), %rdx
	leaq	(%r15,%rdx,4), %rcx
	movq	16(%rsi), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_8
## %bb.7:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_2:
	movq	_EAP_EKE_FAIL_PROTO_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
	movq	%r13, -96(%rbp)
	movq	%rax, %r13
	leaq	-96(%rbp), %r8
	movq	%rax, %rdi
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	_eap_eke_decrypt_prot
	testq	%rax, %rax
	js	LBB0_9
## %bb.11:
	movq	-96(%rbp), %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	addq	%rax, %rax
	cmpq	%rax, %rcx
	jne	LBB0_12
## %bb.13:
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wpa_hexdump_key
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %edx
	movl	52(%rax), %edi
	movq	%r15, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_10
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
LBB0_4:
	movl	%r14d, %edx
LBB0_5:
	callq	_eap_eke_build_fail
	movq	%rax, %r13
LBB0_28:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	movq	%r13, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rdx
	movq	56(%rbx), %rdi
	leaq	(%r15,%rdx,4), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_os_memcpy
	movl	(%r12), %edi
	movq	56(%rbx), %rdx
	movl	24(%rbx), %ecx
	leaq	L_.str.7(%rip), %rsi
	callq	_wpa_hexdump_key
	movl	76(%rbx), %esi
	movl	72(%rbx), %edx
	movl	68(%rbx), %ecx
	movl	64(%rbx), %r8d
	movl	52(%rbx), %r9d
	subq	$8, %rsp
	movq	%r13, %rdi
	pushq	56(%rbx)
	callq	_eap_eke_derive_ka
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_16
## %bb.18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	80(%rax), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rcx
	callq	_eap_eke_auth
	testq	%rax, %rax
	js	LBB0_16
## %bb.19:
	movl	(%r12), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rcx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump
	movslq	8(%rbx), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	16(%rbx), %rdx
	movq	%r15, %rdi
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_21:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rdx
	addq	32(%rdi), %rdx
	movq	_EAP_EKE_CONFIRM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	callq	_eap_eke_build_msg
	testq	%rax, %rax
	je	LBB0_16
## %bb.22:
	movq	%rax, %r13
	movl	%r14d, -80(%rbp)                ## 4-byte Spill
	movq	%rax, %rdi
	callq	_wpabuf_tailroom
	movq	%rax, -104(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rbx
	movl	24(%rax), %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	leaq	-104(%rbp), %r8
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_eap_eke_prot
	testq	%rax, %rax
	js	LBB0_23
## %bb.24:
	movq	-104(%rbp), %rsi
	movq	%r13, %rdi
	callq	_wpabuf_put
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rsi
	movq	%r13, %rdi
	callq	_wpabuf_put
	movq	%rax, %r14
	movl	80(%rbx), %edx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rcx
	callq	_eap_eke_auth
	testq	%rax, %rax
	js	LBB0_23
## %bb.25:
	movl	(%r12), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rcx
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	movl	76(%rbx), %esi
	movl	72(%rbx), %edx
	movl	68(%rbx), %ecx
	movl	64(%rbx), %r8d
	movq	56(%rbx), %r9
	movl	52(%rbx), %r10d
	movl	44(%rbx), %eax
	movl	48(%rbx), %ebx
	subq	$8, %rsp
	movq	%r15, %rdi
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_eap_eke_derive_msk
	addq	$32, %rsp
	testq	%rax, %rax
	js	LBB0_26
## %bb.27:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	40(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_os_memset
	movq	%r15, %rdi
	callq	_eap_eke_session_clean
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_eap_eke_state
	movq	_METHOD_MAY_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx)
	movq	_DECISION_COND_SUCC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_28
LBB0_16:
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_26:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_23:
	movq	%r13, %rdi
	callq	_wpabuf_free
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_5
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_EKE_MAX_NONCE_LEN,4,2      ## @EAP_EKE_MAX_NONCE_LEN
	.comm	_EAP_EKE_MAX_HASH_LEN,4,2       ## @EAP_EKE_MAX_HASH_LEN
	.comm	_CONFIRM,8,3                    ## @CONFIRM
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-EKE: EAP-EKE-Confirm/Request received in unexpected state (%d)"

	.comm	_EAP_EKE_FAIL_PROTO_ERROR,4,2   ## @EAP_EKE_FAIL_PROTO_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"EAP-EKE: Received EAP-EKE-Confirm/Request"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-EKE: Too short EAP-EKE-Confirm"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"EAP-EKE: Failed to decrypt PNonce_PS"

	.comm	_EAP_EKE_FAIL_AUTHENTICATION_FAIL,4,2 ## @EAP_EKE_FAIL_AUTHENTICATION_FAIL
L_.str.4:                               ## @.str.4
	.asciz	"EAP-EKE: PNonce_PS protected data length does not match length of Nonce_P and Nonce_S"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-EKE: Received Nonce_P | Nonce_S"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-EKE: Received Nonce_P does not match transmitted Nonce_P"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-EKE: Nonce_S"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ## @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
L_.str.8:                               ## @.str.8
	.asciz	"EAP-EKE server"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-EKE: Auth_S"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-EKE: Auth_S does not match"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-EKE: Sending EAP-EKE-Confirm/Response"

	.comm	_EAP_EKE_CONFIRM,4,2            ## @EAP_EKE_CONFIRM
L_.str.12:                              ## @.str.12
	.asciz	"EAP-EKE peer"

L_.str.13:                              ## @.str.13
	.asciz	"EAP-EKE: Auth_P"

L_.str.14:                              ## @.str.14
	.asciz	"EAP-EKE: Failed to derive MSK/EMSK"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_METHOD_MAY_CONT,4,2            ## @METHOD_MAY_CONT
	.comm	_DECISION_COND_SUCC,4,2         ## @DECISION_COND_SUCC
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_eap_eke_process_confirm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_eke_process_confirm
_eap_eke_process_confirm:               ; @eap_eke_process_confirm
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x22, x4
	mov	x23, x3
	mov	x19, x1
	mov	x20, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _EAP_EKE_MAX_NONCE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_EKE_MAX_NONCE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	lsl	x26, x8, #2
	mov	x9, x26
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x7fffffff0
	sub	x25, x8, x9
	mov	sp, x25
Lloh8:
	adrp	x8, _EAP_EKE_MAX_HASH_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_EKE_MAX_HASH_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	mov	x0, x2
	bl	_eap_get_id
	mov	x21, x0
Lloh13:
	adrp	x9, _CONFIRM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CONFIRM@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x28]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	add	x8, x23, x22, lsl #2
	mov	x22, x20
	ldrsw	x2, [x22, #8]!
	add	x9, x23, x2, lsl #2
	ldr	x10, [x22, #8]
	add	x9, x9, x10, lsl #2
	cmp	x9, x8
	b.ls	LBB0_5
; %bb.2:
	ldr	w0, [x28]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	b	LBB0_4
LBB0_3:
	str	x8, [sp, #-16]!
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
LBB0_4:
Lloh24:
	adrp	x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	stur	x26, [x29, #-104]
	sub	x4, x29, #104
	mov	x0, x22
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x25
	bl	_eap_eke_decrypt_prot
	tbnz	x0, #63, LBB0_9
; %bb.6:
	ldur	x3, [x29, #-104]
	ldr	x8, [x20, #24]
	cmp	x3, x8, lsl #1
	b.ne	LBB0_10
; %bb.7:
	ldr	w0, [x28]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x25
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump_key
	ldr	w0, [x20, #52]
	ldr	w2, [x20, #24]
	mov	x1, x25
	bl	_os_memcmp
	cbz	x0, LBB0_15
; %bb.8:
Lloh28:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.6@PAGE
Lloh32:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh33:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh38:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_11:
	bl	_wpa_printf
Lloh43:
	adrp	x8, _EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPAGEOFF]
LBB0_12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_eap_eke_build_fail
	mov	x23, x0
LBB0_13:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.14:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	x0, [x20, #56]
	ldr	x2, [x20, #24]
	add	x1, x25, x2, lsl #2
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_os_memcpy
	ldr	w0, [x28]
	ldr	x2, [x20, #56]
	ldr	w3, [x20, #24]
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_hexdump_key
	ldp	w2, w1, [x20, #72]
	ldp	w4, w3, [x20, #64]
	ldr	w5, [x20, #52]
	ldr	x6, [x20, #56]
	mov	x0, x22
	bl	_eap_eke_derive_ka
	tbnz	x0, #63, LBB0_26
; %bb.16:
	ldr	w2, [x20, #80]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	mov	x3, x24
	bl	_eap_eke_auth
	tbnz	x0, #63, LBB0_26
; %bb.17:
	ldr	w0, [x28]
	ldr	x3, [x20, #16]
Lloh52:
	adrp	x1, l_.str.9@PAGE
Lloh53:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x24
	bl	_wpa_hexdump
	ldrsw	x8, [x20, #8]
	add	x1, x23, x8, lsl #2
	ldr	x2, [x20, #16]
	mov	x0, x24
	bl	_os_memcmp_const
	cbz	x0, LBB0_19
; %bb.18:
Lloh54:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x1, l_.str.10@PAGE
Lloh58:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_11
LBB0_19:
	ldr	w0, [x28]
Lloh59:
	adrp	x1, l_.str.11@PAGE
Lloh60:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x20, #32]
	ldr	x9, [x20, #16]
	add	x2, x9, x8
Lloh61:
	adrp	x8, _EAP_EKE_CONFIRM@GOTPAGE
Lloh62:
	ldr	x8, [x8, _EAP_EKE_CONFIRM@GOTPAGEOFF]
Lloh63:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_eap_eke_build_msg
	cbz	x0, LBB0_26
; %bb.20:
	mov	x23, x0
	bl	_wpabuf_tailroom
	stur	x0, [x29, #-96]
	ldr	x24, [x20, #56]
	ldr	w25, [x20, #24]
	mov	x0, x23
	mov	x1, #0
	bl	_wpabuf_put
	mov	x3, x0
	sub	x4, x29, #96
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_eap_eke_prot
	tbnz	x0, #63, LBB0_25
; %bb.21:
	ldur	x1, [x29, #-96]
	mov	x0, x23
	bl	_wpabuf_put
	ldr	x1, [x20, #16]
	mov	x0, x23
	bl	_wpabuf_put
	mov	x24, x0
	ldr	w2, [x20, #80]
Lloh64:
	adrp	x1, l_.str.12@PAGE
Lloh65:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	mov	x3, x24
	bl	_eap_eke_auth
	tbnz	x0, #63, LBB0_25
; %bb.22:
	ldr	w0, [x28]
	ldr	x3, [x20, #16]
Lloh66:
	adrp	x1, l_.str.13@PAGE
Lloh67:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x2, x24
	bl	_wpa_hexdump
	ldp	w2, w1, [x20, #72]
	ldp	w4, w3, [x20, #64]
	ldr	x5, [x20, #56]
	ldp	w7, w6, [x20, #48]
	ldr	w8, [x20, #44]
	str	w8, [sp, #-16]!
	mov	x0, x22
	bl	_eap_eke_derive_msk
	add	sp, sp, #16
	tbnz	x0, #63, LBB0_24
; %bb.23:
	ldr	w0, [x20, #40]
	mov	w1, #0
	mov	w2, #4
	bl	_os_memset
	mov	x0, x22
	bl	_eap_eke_session_clean
Lloh68:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_eke_state
Lloh71:
	adrp	x8, _METHOD_MAY_CONT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _METHOD_MAY_CONT@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh74:
	adrp	x8, _DECISION_COND_SUCC@GOTPAGE
Lloh75:
	ldr	x8, [x8, _DECISION_COND_SUCC@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _FALSE@GOTPAGE
Lloh78:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_13
LBB0_24:
Lloh80:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh81:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
Lloh83:
	adrp	x1, l_.str.14@PAGE
Lloh84:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_wpa_printf
LBB0_25:
	mov	x0, x23
	bl	_wpabuf_free
LBB0_26:
Lloh85:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_12
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_EKE_MAX_NONCE_LEN,4,2      ; @EAP_EKE_MAX_NONCE_LEN
	.comm	_EAP_EKE_MAX_HASH_LEN,4,2       ; @EAP_EKE_MAX_HASH_LEN
	.comm	_CONFIRM,8,3                    ; @CONFIRM
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-EKE: EAP-EKE-Confirm/Request received in unexpected state (%d)"

	.comm	_EAP_EKE_FAIL_PROTO_ERROR,4,2   ; @EAP_EKE_FAIL_PROTO_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"EAP-EKE: Received EAP-EKE-Confirm/Request"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-EKE: Too short EAP-EKE-Confirm"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"EAP-EKE: Failed to decrypt PNonce_PS"

	.comm	_EAP_EKE_FAIL_AUTHENTICATION_FAIL,4,2 ; @EAP_EKE_FAIL_AUTHENTICATION_FAIL
l_.str.4:                               ; @.str.4
	.asciz	"EAP-EKE: PNonce_PS protected data length does not match length of Nonce_P and Nonce_S"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-EKE: Received Nonce_P | Nonce_S"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-EKE: Received Nonce_P does not match transmitted Nonce_P"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-EKE: Nonce_S"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ; @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
l_.str.8:                               ; @.str.8
	.asciz	"EAP-EKE server"

l_.str.9:                               ; @.str.9
	.asciz	"EAP-EKE: Auth_S"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-EKE: Auth_S does not match"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-EKE: Sending EAP-EKE-Confirm/Response"

	.comm	_EAP_EKE_CONFIRM,4,2            ; @EAP_EKE_CONFIRM
l_.str.12:                              ; @.str.12
	.asciz	"EAP-EKE peer"

l_.str.13:                              ; @.str.13
	.asciz	"EAP-EKE: Auth_P"

l_.str.14:                              ; @.str.14
	.asciz	"EAP-EKE: Failed to derive MSK/EMSK"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_METHOD_MAY_CONT,4,2            ; @METHOD_MAY_CONT
	.comm	_DECISION_COND_SUCC,4,2         ; @DECISION_COND_SUCC
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_eap_eke_process_confirm
.subsections_via_symbols
