	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_parse_commit               ## -- Begin function sae_parse_commit
	.p2align	4, 0x90
_sae_parse_commit:                      ## @sae_parse_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$1, %rdx
	jg	LBB0_2
## %bb.1:
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
	jmp	LBB0_18
LBB0_2:
	movq	%r9, %r15
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_WPA_GET_LE16
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_sae_group_allowed
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_18
## %bb.3:
	leaq	(%rbx,%r14,4), %r14
	addq	$8, %rbx
	movq	%rbx, -56(%rbp)
	leaq	-56(%rbp), %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_sae_parse_commit_token
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_sae_parse_commit_scalar
	cmpq	(%r15), %rax
	jne	LBB0_18
## %bb.4:
	leaq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_sae_parse_commit_element
	cmpq	(%r15), %rax
	jne	LBB0_18
## %bb.5:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_sae_parse_password_identifier
	cmpq	(%r15), %rax
	jne	LBB0_18
## %bb.6:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	32(%rax), %edi
	testl	%edi, %edi
	je	LBB0_15
## %bb.7:
	movl	8(%rbx), %esi
	callq	_crypto_bignum_cmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_15:
	movq	(%r15), %rax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rcx
	movq	(%rbx), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_12
## %bb.9:
	movl	20(%rax), %edi
	testl	%edi, %edi
	je	LBB0_15
## %bb.10:
	movl	16(%rax), %esi
	callq	_crypto_bignum_cmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.11:
	movq	(%rbx), %rax
LBB0_12:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.13:
	movl	4(%rax), %esi
	testl	%esi, %esi
	je	LBB0_15
## %bb.14:
	movl	(%rax), %edx
	callq	_crypto_ec_point_cmp
	testq	%rax, %rax
	jne	LBB0_15
LBB0_16:
	movq	_SAE_SILENTLY_DISCARD@GOTPCREL(%rip), %rax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,8,3 ## @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_STATUS_SUCCESS,8,3        ## @WLAN_STATUS_SUCCESS
	.comm	_SAE_SILENTLY_DISCARD,8,3       ## @SAE_SILENTLY_DISCARD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_parse_commit               ; -- Begin function sae_parse_commit
	.p2align	2
_sae_parse_commit:                      ; @sae_parse_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	x2, #1
	b.gt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGEOFF]
LBB0_2:
	ldr	x0, [x8]
	b	LBB0_10
LBB0_3:
	mov	x24, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x1
	bl	_WPA_GET_LE16
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_sae_group_allowed
Lloh2:
	adrp	x24, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.4:
	add	x20, x23, x20, lsl #2
	add	x8, x23, #8
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	mov	x4, x21
	bl	_sae_parse_commit_token
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_sae_parse_commit_scalar
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_sae_parse_commit_element
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.6:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_sae_parse_password_identifier
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.7:
	ldr	x8, [x19]
	ldr	w0, [x8, #32]
	cbz	w0, LBB0_9
; %bb.8:
	ldr	w1, [x19, #8]
	bl	_crypto_bignum_cmp
	cbz	x0, LBB0_11
LBB0_9:
	ldr	x0, [x24]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_15
; %bb.12:
	ldr	w0, [x8, #20]
	cbz	w0, LBB0_9
; %bb.13:
	ldr	w1, [x8, #16]
	bl	_crypto_bignum_cmp
	cbnz	x0, LBB0_9
; %bb.14:
	ldr	x8, [x19]
LBB0_15:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_18
; %bb.16:
	ldr	w1, [x8, #4]
	cbz	w1, LBB0_9
; %bb.17:
	ldr	w2, [x8]
	bl	_crypto_ec_point_cmp
	cbnz	x0, LBB0_9
LBB0_18:
Lloh4:
	adrp	x8, _SAE_SILENTLY_DISCARD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SAE_SILENTLY_DISCARD@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,8,3 ; @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_STATUS_SUCCESS,8,3        ; @WLAN_STATUS_SUCCESS
	.comm	_SAE_SILENTLY_DISCARD,8,3       ; @SAE_SILENTLY_DISCARD
.subsections_via_symbols
