	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_configurator_get_key       ## -- Begin function dpp_configurator_get_key
	.p2align	4, 0x90
_dpp_configurator_get_key:              ## @dpp_configurator_get_key
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -40(%rbp)
	movl	(%rdi), %edi
	movl	$-1, %ebx
	testl	%edi, %edi
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r12
	callq	_EVP_PKEY_get1_EC_KEY
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r14
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_i2d_ECPrivateKey
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_wpa_snprintf_hex
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_EC_KEY_free
	movq	-40(%rbp), %rdi
	callq	_OPENSSL_free
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_configurator_get_key       ; -- Begin function dpp_configurator_get_key
	.p2align	2
_dpp_configurator_get_key:              ; @dpp_configurator_get_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	xzr, [sp, #8]
	ldr	w0, [x0]
	cbz	w0, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	bl	_EVP_PKEY_get1_EC_KEY
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	add	x1, sp, #8
	bl	_i2d_ECPrivateKey
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x3, x0
	ldr	x2, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_wpa_snprintf_hex
	mov	x20, x0
	b	LBB0_6
LBB0_4:
	mov	w20, #-1
	b	LBB0_7
LBB0_5:
	mov	w20, #-1
LBB0_6:
	mov	x0, x19
	bl	_EC_KEY_free
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
LBB0_7:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
