	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_write_confirm              ## -- Begin function sae_write_confirm
	.p2align	4, 0x90
_sae_write_confirm:                     ## @sae_write_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_wpabuf_put_le16
	movl	(%rbx), %eax
	cmpl	$65534, %eax                    ## imm = 0xFFFE
	jg	LBB0_3
## %bb.2:
	incl	%eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	8(%rbx), %rax
	cmpq	$0, 24(%rax)
	movl	8(%rax), %r12d
	je	LBB0_5
## %bb.4:
	movl	12(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rax), %r14d
	movl	16(%rbx), %r13d
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wpabuf_put
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sae_cn_confirm_ecc
	jmp	LBB0_6
LBB0_5:
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %r13d
	movl	16(%rbx), %r14d
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wpabuf_put
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_sae_cn_confirm_ffc
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_write_confirm              ; -- Begin function sae_write_confirm
	.p2align	2
_sae_write_confirm:                     ; @sae_write_confirm
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	bl	_wpabuf_put
	mov	x20, x0
	ldr	w1, [x19]
	mov	x0, x21
	bl	_wpabuf_put_le16
	ldr	w8, [x19]
	mov	w9, #65534
	cmp	w8, w9
	b.gt	LBB0_3
; %bb.2:
	add	w8, w8, #1
	str	w8, [x19]
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #24]
	ldr	w22, [x8, #8]
	cbz	x9, LBB0_6
; %bb.4:
	ldr	w23, [x19, #16]
	ldp	w25, w24, [x8, #12]
Lloh0:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put
	mov	x6, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x24
	mov	x4, x23
	mov	x5, x25
	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	_sae_cn_confirm_ecc
LBB0_5:
	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
LBB0_6:
	ldr	w23, [x19, #16]
	ldp	w25, w24, [x8]
Lloh3:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put
	mov	x6, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x24
	mov	x4, x23
	mov	x5, x25
	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	_sae_cn_confirm_ffc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
.subsections_via_symbols
