	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_eke_process_commit
_eap_eke_process_commit:                ## @eap_eke_process_commit
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	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_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_EAP_EKE_MAX_DH_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	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_eap_get_id
	movl	%eax, %r12d
	movq	(%r15), %rdx
	movq	_COMMIT@GOTPCREL(%rip), %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-144(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_eap_get_config_password
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%r15, %rbx
	movslq	16(%r15), %rcx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, %rcx
	jle	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_PROTO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	jmp	LBB0_27
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_PROTO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	jmp	LBB0_28
LBB0_3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_PASSWD_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	jmp	LBB0_27
LBB0_6:
	leaq	16(%rbx), %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	movq	%rbx, %r14
	movq	-120(%rbp), %r12                ## 8-byte Reload
	leaq	(%r12,%rax,4), %rbx
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump
	movslq	16(%r14), %rax
	leaq	(%r12,%rax,4), %rdx
	movq	%r14, %r12
	movl	(%r15), %edi
	subq	%rdx, %rbx
	sarq	$2, %rbx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	callq	_wpa_hexdump
	movq	-144(%rbp), %rdx
	movl	56(%r14), %ecx
	movl	52(%r14), %r8d
	movl	44(%r14), %eax
	movl	48(%r14), %r9d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	pushq	%r15
	pushq	%rax
	callq	_eap_eke_derive_key
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_7
## %bb.8:
	movl	32(%r12), %edi
	movl	60(%r12), %esi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_eap_eke_dh_init
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	js	LBB0_9
## %bb.10:
	movl	60(%r12), %edx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	callq	_eap_eke_shared_secret
	testq	%rax, %rax
	js	LBB0_11
## %bb.13:
	movl	56(%r12), %esi
	movl	52(%r12), %edx
	movl	44(%r12), %r8d
	movl	48(%r12), %ecx
	movq	%r13, %rdi
	callq	_eap_eke_derive_ke_ki
	testq	%rax, %rax
	js	LBB0_14
## %bb.15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movslq	16(%r12), %rdx
	addq	24(%r12), %rdx
	movq	_EAP_EKE_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_eap_eke_build_msg
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:
	movq	%rax, %r15
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_wpabuf_put
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%rax, %rcx
	callq	_eap_eke_dhcomp
	testq	%rax, %rax
	js	LBB0_20
## %bb.21:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	shll	$2, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_forced_memzero
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movslq	16(%r12), %rcx
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	movl	20(%r12), %esi
	movl	40(%r12), %edi
	callq	_random_get_bytes
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:
	movq	%r15, %rdi
	callq	_wpabuf_free
	jmp	LBB0_23
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_26:
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
LBB0_27:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
LBB0_28:
	callq	_eap_eke_build_fail
	movq	%rax, %r15
LBB0_31:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_32:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	shll	$2, %esi
	movq	%r15, %rdi
LBB0_17:
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_forced_memzero
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	jmp	LBB0_18
LBB0_11:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_12
LBB0_14:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
LBB0_12:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	shll	$2, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_forced_memzero
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
LBB0_18:
	callq	_eap_eke_build_fail
	movq	%rax, %r15
	jmp	LBB0_32
LBB0_16:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	shll	$2, %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_20:
	movq	%r15, %rdi
	callq	_wpabuf_free
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	shll	$2, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_forced_memzero
LBB0_23:
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	jmp	LBB0_28
LBB0_24:
	movl	(%rbx), %edi
	movl	20(%r12), %ecx
	movl	40(%r12), %edx
	leaq	L_.str.13(%rip), %rsi
	callq	_wpa_hexdump_key
	movq	%r15, %rdi
	callq	_wpabuf_tailroom
	movq	%rax, -104(%rbp)
	movl	20(%r12), %r14d
	movq	%rbx, %r13
	movl	40(%r12), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	leaq	-104(%rbp), %r8
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_eap_eke_prot
	testq	%rax, %rax
	js	LBB0_25
## %bb.29:
	movl	(%r13), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	movq	-104(%rbp), %rcx
	leaq	L_.str.14(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_wpa_hexdump
	movq	-104(%rbp), %rsi
	movq	%r15, %rdi
	callq	_wpabuf_put
	leaq	8(%r12), %r13
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_wpabuf_len
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_wpabuf_len
	addq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_wpabuf_resize
	testq	%rax, %rax
	js	LBB0_25
## %bb.30:
	movl	8(%r12), %edi
	movq	%r14, %rsi
	callq	_wpabuf_put_buf
	movl	8(%r12), %edi
	movq	%r15, %rsi
	callq	_wpabuf_put_buf
	movq	_CONFIRM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_eap_eke_state
	jmp	LBB0_31
LBB0_25:
	movq	%r15, %rdi
	callq	_wpabuf_free
	jmp	LBB0_26
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_EKE_MAX_KEY_LEN,4,2        ## @EAP_EKE_MAX_KEY_LEN
	.comm	_EAP_EKE_MAX_DH_LEN,4,2         ## @EAP_EKE_MAX_DH_LEN
	.comm	_COMMIT,8,3                     ## @COMMIT
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-EKE: EAP-EKE-Commit/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-Commit/Request"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"EAP-EKE: No password configured!"

	.comm	_EAP_EKE_FAIL_PASSWD_NOT_FOUND,4,2 ## @EAP_EKE_FAIL_PASSWD_NOT_FOUND
L_.str.3:                               ## @.str.3
	.asciz	"EAP-EKE: Too short EAP-EKE-Commit"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-EKE: DHComponent_S"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-EKE: CBValue"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-EKE: Failed to derive key"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ## @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
L_.str.7:                               ## @.str.7
	.asciz	"EAP-EKE: Failed to initialize DH"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-EKE: Failed to derive shared secret"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-EKE: Failed to derive Ke/Ki"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-EKE: Sending EAP-EKE-Commit/Response"

	.comm	_EAP_EKE_COMMIT,4,2             ## @EAP_EKE_COMMIT
L_.str.11:                              ## @.str.11
	.asciz	"EAP-EKE: Failed to build DHComponent_P"

L_.str.12:                              ## @.str.12
	.asciz	"EAP-EKE: DHComponent_P"

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

L_.str.14:                              ## @.str.14
	.asciz	"EAP-EKE: PNonce_P"

	.comm	_CONFIRM,4,2                    ## @CONFIRM
	.no_dead_strip	_eap_eke_process_commit
.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_commit
_eap_eke_process_commit:                ; @eap_eke_process_commit
	.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, #48
	mov	x27, x5
	mov	x24, x4
	mov	x21, x2
	mov	x19, x1
	mov	x25, x0
	mov	x28, 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_KEY_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_EKE_MAX_KEY_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	lsl	x8, x20, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x8, _EAP_EKE_MAX_DH_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_EKE_MAX_DH_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	x26, x9, x8
	mov	sp, x26
	stur	x3, [x29, #-120]                ; 8-byte Folded Spill
	mov	x0, x3
	bl	_eap_get_id
	mov	x22, x0
Lloh13:
	adrp	x9, _COMMIT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _COMMIT@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x10, [x10, _MSG_DEBUG@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x10]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	stur	w22, [x29, #-108]               ; 4-byte Folded Spill
	stur	x21, [x29, #-128]               ; 8-byte Folded Spill
	mov	x21, x28
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	sub	x1, x29, #104
	mov	x0, x25
	bl	_eap_get_config_password
	cbz	x0, LBB0_6
; %bb.2:
	mov	x25, x19
	ldrsw	x3, [x25, #16]!
	cmp	x3, x27
	b.le	LBB0_7
; %bb.3:
Lloh21:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh26:
	adrp	x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGEOFF]
	b	LBB0_16
LBB0_4:
	str	x8, [sp, #-16]!
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
Lloh30:
	adrp	x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
LBB0_5:
	bl	_eap_eke_build_fail
	mov	x24, x0
	b	LBB0_17
LBB0_6:
Lloh33:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh38:
	adrp	x8, _EAP_EKE_FAIL_PASSWD_NOT_FOUND@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EAP_EKE_FAIL_PASSWD_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
	mov	x28, x0
	add	x27, x24, x27, lsl #2
Lloh40:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh41:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x24
	bl	_wpa_hexdump
	ldrsw	x8, [x19, #16]
	add	x2, x24, x8, lsl #2
	ldr	w0, [x22]
	sub	x8, x27, x2
	asr	x3, x8, #2
Lloh44:
	adrp	x1, l_.str.5@PAGE
Lloh45:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump
	ldur	x2, [x29, #-104]
	ldp	w4, w3, [x19, #52]
	ldp	w6, w5, [x19, #44]
	mov	x0, x25
	mov	x1, x28
	mov	x7, x23
	bl	_eap_eke_derive_key
	tbnz	x0, #63, LBB0_15
; %bb.8:
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #60]
	mov	x2, x26
	bl	_eap_eke_dh_init
	mov	x28, x21
	ldur	w27, [x29, #-108]               ; 4-byte Folded Reload
	tbnz	x0, #63, LBB0_19
; %bb.9:
	ldr	w2, [x19, #60]
	mov	x0, x25
	mov	x1, x23
	mov	x3, x24
	bl	_eap_eke_shared_secret
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
	tbnz	x0, #63, LBB0_20
; %bb.10:
	ldp	w2, w1, [x19, #52]
	ldp	w4, w3, [x19, #44]
	mov	x0, x25
	bl	_eap_eke_derive_ke_ki
	tbnz	x0, #63, LBB0_21
; %bb.11:
Lloh46:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.10@PAGE
Lloh50:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	ldrsw	x8, [x19, #16]
	ldr	x9, [x19, #24]
	add	x2, x9, x8
Lloh51:
	adrp	x8, _EAP_EKE_COMMIT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EAP_EKE_COMMIT@GOTPAGEOFF]
Lloh53:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x27
	bl	_eap_eke_build_msg
	cbz	x0, LBB0_23
; %bb.12:
	mov	x24, x0
	ldrsw	x1, [x25]
	bl	_wpabuf_put
	mov	x27, x0
	mov	x0, x25
	mov	x1, x23
	mov	x2, x26
	mov	x3, x27
	bl	_eap_eke_dhcomp
	tbnz	x0, #63, LBB0_25
; %bb.13:
	lsl	w1, w20, #2
	mov	x0, x23
	bl	_forced_memzero
Lloh54:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh55:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	ldrsw	x3, [x19, #16]
Lloh56:
	adrp	x1, l_.str.12@PAGE
Lloh57:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x27
	bl	_wpa_hexdump
	ldr	w0, [x19, #40]
	ldr	w1, [x19, #20]
	bl	_random_get_bytes
	cbz	x0, LBB0_27
; %bb.14:
	mov	x0, x24
	bl	_wpabuf_free
	b	LBB0_26
LBB0_15:
Lloh58:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
Lloh61:
	adrp	x1, l_.str.6@PAGE
Lloh62:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
Lloh63:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_16:
	ldr	w3, [x8]
	mov	x0, x19
	ldur	x1, [x29, #-128]                ; 8-byte Folded Reload
	ldur	w2, [x29, #-108]                ; 4-byte Folded Reload
	bl	_eap_eke_build_fail
	mov	x24, x0
	mov	x28, x21
LBB0_17:
	mov	sp, x28
	ldur	x8, [x29, #-88]
Lloh65:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh66:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.18:
	mov	x0, x24
	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_19:
Lloh68:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh69:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
Lloh71:
	adrp	x1, l_.str.7@PAGE
Lloh72:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	lsl	w1, w20, #2
	mov	x0, x23
	bl	_forced_memzero
Lloh73:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh75:
	ldr	w3, [x8]
	mov	x0, x19
	ldur	x1, [x29, #-128]                ; 8-byte Folded Reload
	b	LBB0_24
LBB0_20:
Lloh76:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
Lloh79:
	adrp	x1, l_.str.8@PAGE
Lloh80:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh81:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
Lloh84:
	adrp	x1, l_.str.9@PAGE
Lloh85:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_22:
	bl	_wpa_printf
LBB0_23:
	lsl	w1, w20, #2
	mov	x0, x23
	bl	_forced_memzero
Lloh86:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh87:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh88:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
LBB0_24:
	mov	x2, x27
	b	LBB0_5
LBB0_25:
	mov	x0, x24
	bl	_wpabuf_free
Lloh89:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
Lloh92:
	adrp	x1, l_.str.11@PAGE
Lloh93:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	lsl	w1, w20, #2
	mov	x0, x23
	bl	_forced_memzero
LBB0_26:
Lloh94:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh95:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh96:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	ldur	w2, [x29, #-108]                ; 4-byte Folded Reload
	b	LBB0_5
LBB0_27:
	ldr	w0, [x22]
	ldr	w2, [x19, #40]
	ldr	w3, [x19, #20]
Lloh97:
	adrp	x1, l_.str.13@PAGE
Lloh98:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_wpa_hexdump_key
	mov	x0, x24
	bl	_wpabuf_tailroom
	stur	x0, [x29, #-96]
	ldr	w23, [x19, #40]
	ldr	w26, [x19, #20]
	mov	x0, x24
	mov	x1, #0
	bl	_wpabuf_put
	mov	x3, x0
	sub	x4, x29, #96
	mov	x0, x25
	mov	x1, x23
	mov	x2, x26
	bl	_eap_eke_prot
	ldur	w20, [x29, #-108]               ; 4-byte Folded Reload
	tbnz	x0, #63, LBB0_30
; %bb.28:
	ldr	w23, [x22]
	mov	x0, x24
	mov	x1, #0
	bl	_wpabuf_put
	mov	x2, x0
	ldur	x3, [x29, #-96]
Lloh99:
	adrp	x1, l_.str.14@PAGE
Lloh100:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x23
	bl	_wpa_hexdump
	ldur	x1, [x29, #-96]
	mov	x0, x24
	bl	_wpabuf_put
	add	x23, x19, #8
	ldur	x22, [x29, #-120]               ; 8-byte Folded Reload
	mov	x0, x22
	bl	_wpabuf_len
	mov	x25, x0
	mov	x0, x24
	bl	_wpabuf_len
	add	x1, x0, x25
	mov	x0, x23
	bl	_wpabuf_resize
	tbnz	x0, #63, LBB0_30
; %bb.29:
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_wpabuf_put_buf
	ldr	w0, [x19, #8]
	mov	x1, x24
	bl	_wpabuf_put_buf
Lloh101:
	adrp	x8, _CONFIRM@GOTPAGE
Lloh102:
	ldr	x8, [x8, _CONFIRM@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_eke_state
	b	LBB0_17
LBB0_30:
	mov	x0, x24
	bl	_wpabuf_free
Lloh104:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh105:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh106:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	b	LBB0_5
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.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	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_EKE_MAX_KEY_LEN,4,2        ; @EAP_EKE_MAX_KEY_LEN
	.comm	_EAP_EKE_MAX_DH_LEN,4,2         ; @EAP_EKE_MAX_DH_LEN
	.comm	_COMMIT,8,3                     ; @COMMIT
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-EKE: EAP-EKE-Commit/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-Commit/Request"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"EAP-EKE: No password configured!"

	.comm	_EAP_EKE_FAIL_PASSWD_NOT_FOUND,4,2 ; @EAP_EKE_FAIL_PASSWD_NOT_FOUND
l_.str.3:                               ; @.str.3
	.asciz	"EAP-EKE: Too short EAP-EKE-Commit"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-EKE: DHComponent_S"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-EKE: CBValue"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-EKE: Failed to derive key"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ; @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
l_.str.7:                               ; @.str.7
	.asciz	"EAP-EKE: Failed to initialize DH"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-EKE: Failed to derive shared secret"

l_.str.9:                               ; @.str.9
	.asciz	"EAP-EKE: Failed to derive Ke/Ki"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-EKE: Sending EAP-EKE-Commit/Response"

	.comm	_EAP_EKE_COMMIT,4,2             ; @EAP_EKE_COMMIT
l_.str.11:                              ; @.str.11
	.asciz	"EAP-EKE: Failed to build DHComponent_P"

l_.str.12:                              ; @.str.12
	.asciz	"EAP-EKE: DHComponent_P"

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

l_.str.14:                              ; @.str.14
	.asciz	"EAP-EKE: PNonce_P"

	.comm	_CONFIRM,4,2                    ; @CONFIRM
	.no_dead_strip	_eap_eke_process_commit
.subsections_via_symbols
