	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_check_confirm              ## -- Begin function sae_check_confirm
	.p2align	4, 0x90
_sae_check_confirm:                     ## @sae_check_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	%eax, %r14
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	addq	$2, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpq	%r13, %r14
	jbe	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, %r13
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_WPA_GET_LE16
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	movl	8(%r12), %edx
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:
	movl	4(%rsi), %r8d
	testl	%r8d, %r8d
	je	LBB0_6
## %bb.7:
	cmpq	$0, 24(%rsi)
	je	LBB0_11
## %bb.8:
	movl	16(%rsi), %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	je	LBB0_18
## %bb.9:
	movl	12(%rsi), %r9d
	testl	%r9d, %r9d
	je	LBB0_18
## %bb.10:
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r15, %rsi
	pushq	%r14
	callq	_sae_cn_confirm_ecc
	jmp	LBB0_14
LBB0_6:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_2:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_17:
	movl	$-1, %eax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	8(%rsi), %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	je	LBB0_18
## %bb.12:
	movl	(%rsi), %r9d
	testl	%r9d, %r9d
	je	LBB0_18
## %bb.13:
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r15, %rsi
	pushq	%r14
	callq	_sae_cn_confirm_ffc
LBB0_14:
	addq	$16, %rsp
	addq	$8, %r15
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r13), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump
	movl	(%r13), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	jmp	LBB0_17
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SAE: Too short confirm message"

L_.str.1:                               ## @.str.1
	.asciz	"SAE: peer-send-confirm %u"

L_.str.2:                               ## @.str.2
	.asciz	"SAE: Temporary data not yet available"

L_.str.3:                               ## @.str.3
	.asciz	"SAE: Confirm mismatch"

L_.str.4:                               ## @.str.4
	.asciz	"SAE: Received confirm"

L_.str.5:                               ## @.str.5
	.asciz	"SAE: Calculated verifier"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_check_confirm              ; -- Begin function sae_check_confirm
	.p2align	2
_sae_check_confirm:                     ; @sae_check_confirm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	sxtw	x12, w8
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	add	x8, x12, #2
Lloh7:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x24]
	cmp	x8, x2
	b.ls	LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	b	LBB0_10
LBB0_2:
	mov	x0, x20
	bl	_WPA_GET_LE16
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	add	sp, sp, #16
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	w2, [x21, #8]
	cbz	w2, LBB0_9
; %bb.4:
	ldr	w4, [x8, #4]
	cbz	w4, LBB0_9
; %bb.5:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_14
; %bb.6:
	ldr	w3, [x8, #16]
	cbz	w3, LBB0_11
; %bb.7:
	ldr	w5, [x8, #12]
	cbz	w5, LBB0_11
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	mov	x6, x19
	bl	_sae_cn_confirm_ecc
	b	LBB0_17
LBB0_9:
	ldr	w0, [x24]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	bl	_wpa_printf
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.13:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	w3, [x8, #8]
	cbz	w3, LBB0_11
; %bb.15:
	ldr	w5, [x8]
	cbz	w5, LBB0_11
; %bb.16:
	mov	x0, x21
	mov	x1, x20
	mov	x6, x19
	bl	_sae_cn_confirm_ffc
LBB0_17:
	add	x20, x20, #8
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_os_memcmp_const
	cbz	x0, LBB0_12
; %bb.18:
	ldr	w0, [x24]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x24]
	ldr	w3, [x23]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump
	ldr	w0, [x24]
	ldr	w3, [x23]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump
	b	LBB0_11
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SAE: Too short confirm message"

l_.str.1:                               ; @.str.1
	.asciz	"SAE: peer-send-confirm %u"

l_.str.2:                               ; @.str.2
	.asciz	"SAE: Temporary data not yet available"

l_.str.3:                               ; @.str.3
	.asciz	"SAE: Confirm mismatch"

l_.str.4:                               ; @.str.4
	.asciz	"SAE: Received confirm"

l_.str.5:                               ; @.str.5
	.asciz	"SAE: Calculated verifier"

.subsections_via_symbols
