	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sae_parse_commit_token
_sae_parse_commit_token:                ## @sae_parse_commit_token
	.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	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	$0, (%r12)
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	$0, (%r15)
LBB0_4:
	movq	(%rdi), %rax
	movslq	(%rax), %rcx
	cmpq	$1, 8(%rax)
	movl	$3, %eax
	sbbq	$0, %rax
	imulq	%rcx, %rax
	movq	(%rsi), %rcx
	movq	%r13, %rdx
	subq	%rcx, %rdx
	sarq	$3, %rdx
	cmpq	%rax, %rdx
	jbe	LBB0_14
## %bb.5:
	leaq	(%rcx,%rax,8), %r14
	movq	%r13, %rbx
	subq	%r14, %rbx
	sarq	$3, %rbx
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_6
## %bb.15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_6:
	movq	%r14, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_sae_is_password_id_elem
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,8), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_sae_is_password_id_elem
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	subq	8(%r14), %rbx
	addq	$-2, %rbx
LBB0_9:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rcx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:
	movq	(%rcx), %rax
	movq	%rax, (%r12)
LBB0_11:
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	movq	%rbx, (%r15)
LBB0_13:
	shlq	$3, %rbx
	addq	%rbx, (%rcx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_MAC_LEN,8,3             ## @SHA256_MAC_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SAE: Too short optional data (%u octets) to include our Anti-Clogging Token"

L_.str.1:                               ## @.str.1
	.asciz	"SAE: Anti-Clogging Token"

	.no_dead_strip	_sae_parse_commit_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sae_parse_commit_token
_sae_parse_commit_token:                ; @sae_parse_commit_token
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	cbz	x3, LBB0_2
; %bb.1:
	str	xzr, [x21]
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	str	xzr, [x20]
LBB0_4:
	ldr	x8, [x0]
	ldr	x9, [x8, #8]
	ldrsw	x8, [x8]
	cmp	x9, #0
	mov	w9, #2
	cinc	x9, x9, ne
	mul	x8, x9, x8
	ldr	x9, [x19]
	sub	x10, x23, x9
	cmp	x8, x10, asr #3
	b.hs	LBB0_15
; %bb.5:
	add	x24, x9, x8, lsl #3
	sub	x8, x23, x24
	asr	x22, x8, #3
Lloh0:
	adrp	x25, _SHA256_MAC_LEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x22, x9
	b.hs	LBB0_7
; %bb.6:
	lsr	x2, x8, #3
Lloh2:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_wpa_printf
LBB0_7:
	mov	x0, x24
	mov	x1, x23
	bl	_sae_is_password_id_elem
	cbnz	x0, LBB0_15
; %bb.8:
	ldr	x8, [x25]
	add	x24, x24, x8, lsl #3
	mov	x0, x24
	mov	x1, x23
	bl	_sae_is_password_id_elem
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [x24, #8]
	sub	x8, x22, x8
	sub	x22, x8, #2
LBB0_10:
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x22
	bl	_wpa_hexdump
	cbz	x21, LBB0_12
; %bb.11:
	ldr	x8, [x19]
	str	x8, [x21]
LBB0_12:
	cbz	x20, LBB0_14
; %bb.13:
	str	x22, [x20]
LBB0_14:
	ldr	x8, [x19]
	add	x8, x8, x22, lsl #3
	str	x8, [x19]
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,8,3             ; @SHA256_MAC_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SAE: Too short optional data (%u octets) to include our Anti-Clogging Token"

l_.str.1:                               ; @.str.1
	.asciz	"SAE: Anti-Clogging Token"

	.no_dead_strip	_sae_parse_commit_token
.subsections_via_symbols
