	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	(%rbx), %rax
	movq	_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %r12
	movslq	16(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	20(%rbx), %rdx
	leaq	(%rax,%rdx,4), %rax
	movl	(%r15), %edi
	cmpq	%r12, %rax
	jbe	LBB0_5
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_3:
	movq	_EAP_EKE_FAIL_PROTO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_eke_fail                   ## TAILCALL
LBB0_5:
	leaq	16(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wpa_hexdump
	movslq	16(%rbx), %rax
	leaq	(,%rax,4), %r14
	addq	%r13, %r14
	movl	(%r15), %edi
	movl	20(%rbx), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	movslq	20(%rbx), %rax
	leaq	(%r14,%rax,4), %rdx
	movl	(%r15), %edi
	subq	%rdx, %r12
	shrq	$2, %r12
	leaq	L_.str.4(%rip), %rsi
	movl	%r12d, %ecx
	callq	_wpa_hexdump
	movl	44(%rbx), %edx
	movq	%rbx, %r15
	movl	48(%rbx), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rcx
	callq	_eap_eke_shared_secret
	testq	%rax, %rax
	js	LBB0_10
## %bb.6:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movl	36(%r15), %r8d
	movl	40(%r15), %ecx
	movq	%rbx, %rdi
	callq	_eap_eke_derive_ke_ki
	testq	%rax, %rax
	js	LBB0_11
## %bb.7:
	movq	$4, -56(%rbp)
	movl	20(%r15), %edx
	movl	32(%r15), %ecx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eap_eke_decrypt_prot
	testq	%rax, %rax
	js	LBB0_13
## %bb.8:
	movq	%r15, %rbx
	movq	24(%r15), %rcx
	cmpq	%rcx, -56(%rbp)
	jae	LBB0_14
## %bb.9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	jmp	LBB0_18
LBB0_10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_12
LBB0_11:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_12:
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	jmp	LBB0_4
LBB0_13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	leaq	L_.str.9(%rip), %rsi
	callq	_wpa_hexdump_key
	addq	$8, %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_wpabuf_len
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_wpabuf_resize
	testq	%rax, %rax
	js	LBB0_16
## %bb.15:
	movl	8(%r15), %edi
	movq	%r14, %rsi
	callq	_wpabuf_put_buf
	movq	_CONFIRM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_eap_eke_state
	jmp	LBB0_19
LBB0_16:
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %esi
	movq	%r15, %rdi
LBB0_18:
	callq	_eap_eke_fail
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-EKE: Received Response/Commit"

	.comm	_COMMIT,8,3                     ## @COMMIT
	.comm	_EAP_EKE_FAIL_PROTO_ERROR,4,2   ## @EAP_EKE_FAIL_PROTO_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"EAP-EKE: Too short EAP-EKE-Commit"

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

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

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

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.5:                               ## @.str.5
	.asciz	"EAP-EKE: Failed to derive shared secret"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ## @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
L_.str.6:                               ## @.str.6
	.asciz	"EAP-EKE: Failed to derive Ke/Ki"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-EKE: Failed to decrypt PNonce_P"

	.comm	_EAP_EKE_FAIL_AUTHENTICATION_FAIL,4,2 ## @EAP_EKE_FAIL_AUTHENTICATION_FAIL
L_.str.8:                               ## @.str.8
	.asciz	"EAP-EKE: PNonce_P protected data too short to include Nonce_P"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-EKE: Nonce_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:
	sub	sp, sp, #96
	.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
	mov	x24, x4
	mov	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _COMMIT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _COMMIT@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x19
	ldrsw	x3, [x21, #16]!
	add	x26, x23, x24, lsl #2
	add	x8, x23, x3, lsl #2
	ldrsw	x9, [x21, #4]
	add	x8, x8, x9, lsl #2
	ldr	w0, [x25]
	cmp	x8, x26
	b.ls	LBB0_5
; %bb.2:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_3:
Lloh9:
	adrp	x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAP_EKE_FAIL_PROTO_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_eap_eke_fail
LBB0_5:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump
	ldp	w8, w3, [x19, #16]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x24, x23, x8, lsl #2
	ldr	w0, [x25]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x24
	bl	_wpa_hexdump
	ldrsw	x8, [x19, #20]
	add	x2, x24, x8, lsl #2
	ldr	w0, [x25]
	sub	x8, x26, x2
	lsr	x3, x8, #2
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump
	ldp	w2, w1, [x19, #44]
	mov	x0, x21
	mov	x3, x23
	bl	_eap_eke_shared_secret
	tbnz	x0, #63, LBB0_10
; %bb.6:
	ldp	w2, w1, [x22]
	ldp	w4, w3, [x19, #36]
	mov	x0, x21
	bl	_eap_eke_derive_ke_ki
	tbnz	x0, #63, LBB0_11
; %bb.7:
	mov	w8, #4
	str	x8, [sp, #8]
	ldr	w2, [x19, #20]
	ldr	w3, [x19, #32]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x24
	bl	_eap_eke_decrypt_prot
	tbnz	x0, #63, LBB0_13
; %bb.8:
	ldr	x8, [sp, #8]
	ldr	x3, [x19, #24]
	cmp	x8, x3
	b.hs	LBB0_16
; %bb.9:
Lloh17:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_14
LBB0_10:
Lloh22:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh27:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_12:
	bl	_wpa_printf
Lloh32:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
Lloh34:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_14:
	bl	_wpa_printf
Lloh39:
	adrp	x8, _EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EAP_EKE_FAIL_AUTHENTICATION_FAIL@GOTPAGEOFF]
LBB0_15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_eke_fail
	b	LBB0_18
LBB0_16:
	ldr	w0, [x25]
	ldr	w2, [x19, #32]
Lloh41:
	adrp	x1, l_.str.9@PAGE
Lloh42:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_hexdump_key
	add	x21, x19, #8
	mov	x0, x20
	bl	_wpabuf_len
	mov	x1, x0
	mov	x0, x21
	bl	_wpabuf_resize
	tbnz	x0, #63, LBB0_19
; %bb.17:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_wpabuf_put_buf
Lloh43:
	adrp	x8, _CONFIRM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CONFIRM@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_eke_state
LBB0_18:
	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
	add	sp, sp, #96
	ret
LBB0_19:
Lloh46:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-EKE: Received Response/Commit"

	.comm	_COMMIT,8,3                     ; @COMMIT
	.comm	_EAP_EKE_FAIL_PROTO_ERROR,4,2   ; @EAP_EKE_FAIL_PROTO_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"EAP-EKE: Too short EAP-EKE-Commit"

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

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

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

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.5:                               ; @.str.5
	.asciz	"EAP-EKE: Failed to derive shared secret"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ; @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
l_.str.6:                               ; @.str.6
	.asciz	"EAP-EKE: Failed to derive Ke/Ki"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-EKE: Failed to decrypt PNonce_P"

	.comm	_EAP_EKE_FAIL_AUTHENTICATION_FAIL,4,2 ; @EAP_EKE_FAIL_AUTHENTICATION_FAIL
l_.str.8:                               ; @.str.8
	.asciz	"EAP-EKE: PNonce_P protected data too short to include Nonce_P"

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

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