	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_write_commit               ## -- Begin function sae_write_commit
	.p2align	4, 0x90
_sae_write_commit:                      ## @sae_write_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	8(%rdi), %esi
	movq	%r15, %rdi
	callq	_wpabuf_put_le16
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_wpabuf_put_buf
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_wpabuf_head
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_wpabuf_len
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_wpa_hexdump
LBB0_3:
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movl	24(%rax), %edi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_crypto_bignum_to_bin
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	movq	(%r12), %rax
	cmpq	$0, 16(%rax)
	movl	(%rax), %esi
	je	LBB0_5
## %bb.4:
	addl	%esi, %esi
	movq	%r15, %rdi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	16(%rax), %rdi
	movl	8(%rax), %esi
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	%rbx, %rdx
	callq	_crypto_ec_point_to_bin
	movl	(%r14), %edi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	movl	(%r14), %edi
	movq	(%r12), %rax
	movslq	(%rax), %rcx
	leaq	(%rbx,%rcx,4), %rdx
	leaq	L_.str.3(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_wpabuf_put
	movq	%rax, %rbx
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edi
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_crypto_bignum_to_bin
	movl	(%r14), %edi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
LBB0_6:
	callq	_wpa_hexdump
	testq	%r13, %r13
	je	LBB0_7
## %bb.8:
	movq	_WLAN_EID_EXTENSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_wpabuf_put_u8
	movq	%r13, %rdi
	callq	_os_strlen
	leaq	1(%rax), %rsi
	movq	%r15, %rdi
	callq	_wpabuf_put_u8
	movq	_WLAN_EID_EXT_PASSWORD_IDENTIFIER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_wpabuf_put_u8
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_wpabuf_put_str
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SAE: Anti-clogging token"

L_.str.1:                               ## @.str.1
	.asciz	"SAE: own commit-scalar"

L_.str.2:                               ## @.str.2
	.asciz	"SAE: own commit-element(x)"

L_.str.3:                               ## @.str.3
	.asciz	"SAE: own commit-element(y)"

L_.str.4:                               ## @.str.4
	.asciz	"SAE: own commit-element"

	.comm	_WLAN_EID_EXTENSION,8,3         ## @WLAN_EID_EXTENSION
	.comm	_WLAN_EID_EXT_PASSWORD_IDENTIFIER,8,3 ## @WLAN_EID_EXT_PASSWORD_IDENTIFIER
L_.str.5:                               ## @.str.5
	.asciz	"SAE: own Password Identifier: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sae_write_commit               ; -- Begin function sae_write_commit
	.p2align	2
_sae_write_commit:                      ; @sae_write_commit
	.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]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x0, #8]
	mov	x0, x20
	bl	_wpabuf_put_le16
Lloh0:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	bl	_wpabuf_put_buf
	ldr	w23, [x25]
	mov	x0, x22
	bl	_wpabuf_head
	mov	x24, x0
	mov	x0, x22
	bl	_wpabuf_len
	mov	x3, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	bl	_wpa_hexdump
LBB0_3:
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put
	mov	x22, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #24]
	ldr	w2, [x8]
	mov	x1, x22
	mov	x3, x2
	bl	_crypto_bignum_to_bin
	ldr	w0, [x25]
	ldr	x8, [x21]
	ldr	w3, [x8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
	ldr	w1, [x8]
	cbz	x9, LBB0_6
; %bb.4:
	lsl	w1, w1, #1
	mov	x0, x20
	bl	_wpabuf_put
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x0, [x8, #16]
	ldr	w1, [x8, #8]
	ldrsw	x8, [x8]
	add	x3, x22, x8, lsl #2
	mov	x2, x22
	bl	_crypto_ec_point_to_bin
	ldr	w0, [x25]
	ldr	x8, [x21]
	ldr	w3, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump
	ldr	w0, [x25]
	ldr	x8, [x21]
	ldrsw	x3, [x8]
	add	x2, x22, x3, lsl #2
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump
	cbz	x19, LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _WLAN_EID_EXTENSION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WLAN_EID_EXTENSION@GOTPAGEOFF]
Lloh12:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
	mov	x0, x19
	bl	_os_strlen
	add	x1, x0, #1
	mov	x0, x20
	bl	_wpabuf_put_u8
Lloh13:
	adrp	x8, _WLAN_EID_EXT_PASSWORD_IDENTIFIER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WLAN_EID_EXT_PASSWORD_IDENTIFIER@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
	mov	x0, x20
	mov	x1, x19
	bl	_wpabuf_put_str
	ldr	w0, [x25]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	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_6:
	mov	x0, x20
	bl	_wpabuf_put
	mov	x22, x0
	ldr	x8, [x21]
	ldp	w2, w0, [x8]
	mov	x1, x22
	mov	x3, x2
	bl	_crypto_bignum_to_bin
	ldr	w0, [x25]
	ldr	x8, [x21]
	ldr	w3, [x8]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump
	cbnz	x19, LBB0_5
LBB0_7:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SAE: Anti-clogging token"

l_.str.1:                               ; @.str.1
	.asciz	"SAE: own commit-scalar"

l_.str.2:                               ; @.str.2
	.asciz	"SAE: own commit-element(x)"

l_.str.3:                               ; @.str.3
	.asciz	"SAE: own commit-element(y)"

l_.str.4:                               ; @.str.4
	.asciz	"SAE: own commit-element"

	.comm	_WLAN_EID_EXTENSION,8,3         ; @WLAN_EID_EXTENSION
	.comm	_WLAN_EID_EXT_PASSWORD_IDENTIFIER,8,3 ; @WLAN_EID_EXT_PASSWORD_IDENTIFIER
l_.str.5:                               ; @.str.5
	.asciz	"SAE: own Password Identifier: %s"

.subsections_via_symbols
