	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_pwd_process_commit_resp
_eap_pwd_process_commit_resp:           ## @eap_pwd_process_commit_resp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_crypto_ec_prime_len
	movq	%rax, %r13
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_crypto_ec_order_len
	leaq	(%rax,%r13,2), %rcx
	cmpq	%rbx, %rcx
	jne	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_crypto_bignum_init
	movl	%eax, (%r12)
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_crypto_ec_point_init
	movq	%rax, %r14
	cmpl	$0, (%r12)
	je	LBB0_4
## %bb.3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.7:
	movq	8(%r12), %rdi
	movq	%r15, %rsi
	callq	_eap_pwd_get_element
	movl	%eax, 20(%r12)
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	addq	%r13, %r13
	leaq	(%r15,%r13,4), %rsi
	movq	8(%r12), %rdi
	callq	_eap_pwd_get_scalar
	movl	%eax, 24(%r12)
	testl	%eax, %eax
	je	LBB0_4
## %bb.10:
	movl	32(%r12), %edi
	movl	%eax, %esi
	callq	_crypto_bignum_cmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	28(%r12), %esi
	movl	20(%r12), %edx
	callq	_crypto_ec_point_cmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	8(%rax), %rsi
	movl	24(%r12), %edx
	movq	%r14, %rcx
	callq	_crypto_ec_point_mul
	testq	%rax, %rax
	js	LBB0_16
## %bb.14:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	20(%r12), %edx
	movq	%r14, %rsi
	movq	%r14, %rcx
	callq	_crypto_ec_point_add
	testq	%rax, %rax
	js	LBB0_16
## %bb.15:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	16(%r12), %edx
	movq	%r14, %rsi
	movq	%r14, %rcx
	callq	_crypto_ec_point_mul
	testq	%rax, %rax
	js	LBB0_16
## %bb.17:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_crypto_ec_point_is_at_infinity
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_16:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_5:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
LBB0_6:
	movl	$1, %esi
	callq	_crypto_ec_point_deinit
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_pwd_state                  ## TAILCALL
LBB0_19:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	movq	%r14, %rsi
	callq	_crypto_ec_point_x
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_5
LBB0_21:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_crypto_ec_point_deinit
	movq	_PWD_Confirm_Req@GOTPCREL(%rip), %rax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-pwd: Received commit response"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-pwd: Unexpected Commit payload length %u (expected %u)"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-PWD (server): peer data allocation fail"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-PWD (server): setting peer element fail"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-PWD (server): detected reflection attack!"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-PWD (server): computing shared key fail"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-PWD (server): shared key point is at infinity"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-PWD (server): unable to extract shared secret from secret point"

	.comm	_PWD_Confirm_Req,4,2            ## @PWD_Confirm_Req
	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_eap_pwd_process_commit_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_pwd_process_commit_resp
_eap_pwd_process_commit_resp:           ; @eap_pwd_process_commit_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_crypto_ec_prime_len
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_crypto_ec_order_len
	lsl	x22, x22, #1
	add	x8, x0, x22
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.1:
	bl	_crypto_bignum_init
	str	w0, [x19]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_crypto_ec_point_init
	mov	x20, x0
	ldr	w8, [x19]
	cbz	w8, LBB0_13
; %bb.2:
	cbz	x20, LBB0_13
; %bb.3:
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_eap_pwd_get_element
	str	w0, [x19, #20]
	cbz	w0, LBB0_14
; %bb.4:
	add	x1, x21, x22, lsl #2
	ldr	x0, [x19, #8]
	bl	_eap_pwd_get_scalar
	str	w0, [x19, #24]
	cbz	w0, LBB0_13
; %bb.5:
	mov	x1, x0
	ldr	w0, [x19, #32]
	bl	_crypto_bignum_cmp
	cbz	x0, LBB0_15
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w1, [x19, #28]
	ldr	w2, [x19, #20]
	bl	_crypto_ec_point_cmp
	cbz	x0, LBB0_15
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	x1, [x8, #8]
	ldr	w2, [x19, #24]
	mov	x3, x20
	bl	_crypto_ec_point_mul
	tbnz	x0, #63, LBB0_16
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [x19, #20]
	mov	x1, x20
	mov	x3, x20
	bl	_crypto_ec_point_add
	tbnz	x0, #63, LBB0_16
; %bb.9:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [x19, #16]
	mov	x1, x20
	mov	x3, x20
	bl	_crypto_ec_point_mul
	tbnz	x0, #63, LBB0_16
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_crypto_ec_point_is_at_infinity
	cbz	x0, LBB0_20
; %bb.11:
Lloh5:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.6@PAGE
Lloh9:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_12:
Lloh10:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	stp	x20, x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, #0
	b	LBB0_18
LBB0_13:
Lloh15:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_14:
Lloh20:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_15:
Lloh25:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh30:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_17:
	bl	_wpa_printf
	mov	x0, x20
LBB0_18:
	mov	w1, #1
	bl	_crypto_ec_point_deinit
Lloh35:
	adrp	x8, _FAILURE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_19:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_eap_pwd_state
LBB0_20:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [x19]
	mov	x1, x20
	bl	_crypto_ec_point_x
	cbz	x0, LBB0_22
; %bb.21:
Lloh37:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_17
LBB0_22:
	mov	x0, x20
	mov	w1, #1
	bl	_crypto_ec_point_deinit
Lloh42:
	adrp	x8, _PWD_Confirm_Req@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PWD_Confirm_Req@GOTPAGEOFF]
	b	LBB0_19
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-pwd: Received commit response"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-pwd: Unexpected Commit payload length %u (expected %u)"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-PWD (server): peer data allocation fail"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-PWD (server): setting peer element fail"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-PWD (server): detected reflection attack!"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-PWD (server): computing shared key fail"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-PWD (server): shared key point is at infinity"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-PWD (server): unable to extract shared secret from secret point"

	.comm	_PWD_Confirm_Req,4,2            ; @PWD_Confirm_Req
	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_eap_pwd_process_commit_resp
.subsections_via_symbols
