	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_pkex_finish                ## -- Begin function dpp_pkex_finish
	.p2align	4, 0x90
_dpp_pkex_finish:                       ## @dpp_pkex_finish
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$48, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_dpp_next_id
	movl	%eax, 44(%rbx)
	movq	_DPP_BOOTSTRAP_PKEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	36(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_os_memcpy
	movl	$1, (%rbx)
	movq	8(%rbx), %rax
	movl	%r12d, (%rax)
	movq	8(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	movq	$0, (%r15)
	movq	%rbx, %rdi
	callq	_dpp_bootstrap_key_hash
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_dpp_pkex_free
	movq	%rbx, %rsi
	addq	$16, %rsi
	movq	%r14, %rdi
	callq	_dl_list_add
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_dpp_bootstrap_info_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPP_BOOTSTRAP_PKEX,4,2         ## @DPP_BOOTSTRAP_PKEX
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_pkex_finish                ; -- Begin function dpp_pkex_finish
	.p2align	2
_dpp_pkex_finish:                       ; @dpp_pkex_finish
	.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
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #48
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_dpp_next_id
Lloh0:
	adrp	x8, _DPP_BOOTSTRAP_PKEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPP_BOOTSTRAP_PKEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #40]
	ldr	w0, [x19, #36]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_os_memcpy
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x19, #8]
	str	w22, [x8]
	ldp	x9, x8, [x21]
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	x9, [x19, #24]
	str	xzr, [x21]
	mov	x0, x19
	bl	_dpp_bootstrap_key_hash
	tbnz	x0, #63, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_dpp_pkex_free
	add	x1, x19, #16
	mov	x0, x20
	bl	_dl_list_add
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_dpp_bootstrap_info_free
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPP_BOOTSTRAP_PKEX,4,2         ; @DPP_BOOTSTRAP_PKEX
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
