	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_derive_pmkid
_dpp_derive_pmkid:                      ## @dpp_derive_pmkid
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rsp, %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
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_dpp_get_pubkey_point
	movq	%rax, %r13
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dpp_get_pubkey_point
	movq	%rax, %r15
	movl	$-1, %ebx
	testq	%r13, %r13
	je	LBB0_8
## %bb.1:
	testq	%r15, %r15
	je	LBB0_8
## %bb.2:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_wpabuf_head
	movq	%rax, %r14
	movq	%rax, -64(%rbp)
	movq	%r13, %rdi
	callq	_wpabuf_len
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_wpabuf_head
	movq	%rax, %r12
	movq	%rax, -56(%rbp)
	movq	%r15, %rdi
	callq	_wpabuf_len
	movd	%ebx, %xmm0
	pinsrd	$1, %eax, %xmm0
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	pmovsxdq	%xmm1, %xmm0
	movdqa	%xmm0, -112(%rbp)
	movd	%xmm1, %ebx
	pextrd	$1, %xmm1, %eax
	cmpl	%eax, %ebx
	jne	LBB0_3
## %bb.4:
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%xmm0, %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	jle	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_wpabuf_head
	movq	%rax, %r14
	movq	%rax, -64(%rbp)
	movq	%r13, %rdi
	callq	_wpabuf_head
	movq	%rax, %r12
	movq	%rax, -56(%rbp)
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_wpa_hexdump
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_wpa_hexdump
	leaq	-64(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movl	$2, %edi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_sha256_vector
	testl	%eax, %eax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	$-1, %ebx
	js	LBB0_8
## %bb.7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	movq	_PMKID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_os_memcpy
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PMKID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_3:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	$-1, %ebx
LBB0_8:
	movq	%r13, %rdi
	callq	_wpabuf_free
	movq	%r15, %rdi
	callq	_wpabuf_free
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	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	"DPP: PMKID hash payload 1"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: PMKID hash payload 2"

L_.str.2:                               ## @.str.2
	.asciz	"DPP: PMKID hash output"

	.comm	_PMKID_LEN,4,2                  ## @PMKID_LEN
L_.str.3:                               ## @.str.3
	.asciz	"DPP: PMKID"

	.no_dead_strip	_dpp_derive_pmkid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_derive_pmkid
_dpp_derive_pmkid:                      ; @dpp_derive_pmkid
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x19, x3
	mov	x21, x2
	mov	x0, x1
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	w1, #0
	bl	_dpp_get_pubkey_point
	mov	x20, x0
	mov	x0, x21
	mov	w1, #0
	bl	_dpp_get_pubkey_point
	mov	x21, x0
	mov	w23, #-1
	cbz	x20, LBB0_8
; %bb.1:
	cbz	x21, LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_wpabuf_head
	mov	x23, x0
	stur	x0, [x29, #-104]
	mov	x0, x20
	bl	_wpabuf_len
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w28, w8, #1
	sbfx	x24, x8, #1, #31
	stur	x24, [x29, #-120]
	mov	x0, x21
	bl	_wpabuf_head
	mov	x26, x0
	stur	x0, [x29, #-96]
	mov	x0, x21
	bl	_wpabuf_len
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w25, w8, #1
	sbfx	x8, x8, #1, #31
	stur	x8, [x29, #-112]
	cmp	w28, w25
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x23
	mov	x1, x26
	mov	x2, x24
	bl	_os_memcmp
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_wpabuf_head
	mov	x23, x0
	stur	x0, [x29, #-104]
	mov	x0, x20
	bl	_wpabuf_head
	mov	x26, x0
	stur	x0, [x29, #-96]
LBB0_5:
Lloh8:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	mov	x3, x24
	bl	_wpa_hexdump
	ldr	w0, [x28]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x26
	mov	x3, x25
	bl	_wpa_hexdump
	sub	x1, x29, #104
	sub	x2, x29, #120
	mov	w0, #2
	mov	x3, x22
	bl	_sha256_vector
	tbnz	w0, #31, LBB0_7
; %bb.6:
	ldr	w0, [x28]
Lloh14:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump
Lloh19:
	adrp	x23, _PMKID_LEN@GOTPAGE
Lloh20:
	ldr	x23, [x23, _PMKID_LEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x22
	bl	_os_memcpy
	ldr	w0, [x28]
	ldr	w3, [x23]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump
	mov	w23, #0
	b	LBB0_8
LBB0_7:
	mov	w23, #-1
LBB0_8:
	mov	x0, x20
	bl	_wpabuf_free
	mov	x0, x21
	bl	_wpabuf_free
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.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	"DPP: PMKID hash payload 1"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: PMKID hash payload 2"

l_.str.2:                               ; @.str.2
	.asciz	"DPP: PMKID hash output"

	.comm	_PMKID_LEN,4,2                  ; @PMKID_LEN
l_.str.3:                               ; @.str.3
	.asciz	"DPP: PMKID"

	.no_dead_strip	_dpp_derive_pmkid
.subsections_via_symbols
