	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_check_pubkey_match
_dpp_check_pubkey_match:                ## @dpp_check_pubkey_match
	.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
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, %rdi
	callq	_wpabuf_len
	movl	$-1, %r15d
	cmpl	(%rbx), %eax
	jne	LBB0_6
## %bb.1:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_dpp_get_pubkey_point
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_wpabuf_head
	movq	%rax, %r13
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_wpabuf_len
	movslq	%eax, %rcx
	movq	%rcx, -64(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wpa_hexdump
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movl	$1, %edi
	movq	%r14, %rcx
	callq	_sha256_vector
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_wpabuf_free
	testl	%r13d, %r13d
	js	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	callq	_wpabuf_head
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	(%r12), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	jmp	LBB0_6
LBB0_4:
	xorl	%r15d, %r15d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	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: Uncompressed public key"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: Received hash value does not match calculated public key hash value"

L_.str.2:                               ## @.str.2
	.asciz	"DPP: Calculated hash"

	.no_dead_strip	_dpp_check_pubkey_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_check_pubkey_match
_dpp_check_pubkey_match:                ; @dpp_check_pubkey_match
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #32
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x1
	bl	_wpabuf_len
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x21
	mov	w1, #1
	bl	_dpp_get_pubkey_point
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	bl	_wpabuf_head
	mov	x22, x0
	stur	x0, [x29, #-64]
	mov	x0, x21
	bl	_wpabuf_len
	mov	x3, x0
	sxtw	x8, w3
	stur	x8, [x29, #-72]
Lloh7:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump
	sub	x1, x29, #64
	sub	x2, x29, #72
	mov	w0, #1
	mov	x3, x19
	bl	_sha256_vector
	mov	x22, x0
	mov	x0, x21
	bl	_wpabuf_free
	tbnz	w22, #31, LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_wpabuf_head
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x19
	bl	_os_memcmp
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x24]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x24]
	ldr	w3, [x23]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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: Uncompressed public key"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: Received hash value does not match calculated public key hash value"

l_.str.2:                               ; @.str.2
	.asciz	"DPP: Calculated hash"

	.no_dead_strip	_dpp_check_pubkey_match
.subsections_via_symbols
