	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_bootstrap_key_hash         ## -- Begin function dpp_bootstrap_key_hash
	.p2align	4, 0x90
_dpp_bootstrap_key_hash:                ## @dpp_bootstrap_key_hash
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	4(%rdi), %edi
	callq	_dpp_bootstrap_key_der
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movq	%rbx, %rdi
	callq	_wpabuf_head
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_wpabuf_len
	movq	%rax, -56(%rbp)
	movl	(%r14), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	$1, %edi
	callq	_sha256_vector
	movl	%eax, %r15d
	movl	(%r12), %edi
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	(%r14), %edx
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_hexdump
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %r15d
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_5:
	movq	%rbx, %rdi
	callq	_wpabuf_free
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: Compressed public key (DER)"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: Failed to hash public key"

L_.str.2:                               ## @.str.2
	.asciz	"DPP: Public key hash"

	.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	_dpp_bootstrap_key_hash         ; -- Begin function dpp_bootstrap_key_hash
	.p2align	2
_dpp_bootstrap_key_hash:                ; @dpp_bootstrap_key_hash
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x0, #4]
	bl	_dpp_bootstrap_key_der
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_buf
	mov	x0, x19
	bl	_wpabuf_head
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_wpabuf_len
	str	x0, [sp, #8]
	ldr	w3, [x20]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	w0, #1
	bl	_sha256_vector
	mov	x21, x0
	ldr	w0, [x22]
	tbnz	w21, #31, LBB0_4
; %bb.2:
	ldr	w2, [x20]
Lloh7:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_hexdump
	b	LBB0_5
LBB0_3:
	mov	w21, #-1
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_5:
	mov	x0, x19
	bl	_wpabuf_free
LBB0_6:
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: Compressed public key (DER)"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: Failed to hash public key"

l_.str.2:                               ; @.str.2
	.asciz	"DPP: Public key hash"

	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
.subsections_via_symbols
