	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_get_pubkey_point
_dpp_get_pubkey_point:                  ## @dpp_get_pubkey_point
	.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	%esi, %r12d
	callq	_EVP_PKEY_get1_EC_KEY
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	_POINT_CONVERSION_UNCOMPRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EC_KEY_set_conv_form
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_i2o_ECPublicKey
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_wpabuf_put
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_i2o_ECPublicKey
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_EC_KEY_free
	cmpl	%r15d, %r13d
	jne	LBB0_9
## %bb.4:
	testl	%r12d, %r12d
	jne	LBB0_11
## %bb.5:
	movq	%r14, %rdi
	callq	_wpabuf_mhead
	movq	%rax, -48(%rbp)
	leaq	1(%rax), %rsi
	decl	%r15d
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_os_memmove
	decl	(%r14)
	jmp	LBB0_11
LBB0_7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_EC_KEY_free
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_EC_KEY_free
	jmp	LBB0_10
LBB0_9:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	callq	_wpabuf_free
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POINT_CONVERSION_UNCOMPRESSED,4,2 ## @POINT_CONVERSION_UNCOMPRESSED
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DDP: Failed to determine public key encoding length"

L_.str.1:                               ## @.str.1
	.asciz	"DDP: Failed to encode public key (res=%d/%d)"

	.no_dead_strip	_dpp_get_pubkey_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_get_pubkey_point
_dpp_get_pubkey_point:                  ; @dpp_get_pubkey_point
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	bl	_EVP_PKEY_get1_EC_KEY
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _POINT_CONVERSION_UNCOMPRESSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POINT_CONVERSION_UNCOMPRESSED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_EC_KEY_set_conv_form
	mov	x0, x21
	mov	x1, #0
	bl	_i2o_ECPublicKey
	cmp	w0, #0
	b.le	LBB0_6
; %bb.2:
	mov	x22, x0
	bl	_wpabuf_alloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	bl	_wpabuf_put
	str	x0, [sp, #24]
	add	x1, sp, #24
	mov	x0, x21
	bl	_i2o_ECPublicKey
	mov	x23, x0
	mov	x0, x21
	bl	_EC_KEY_free
	cmp	w23, w22
	b.ne	LBB0_8
; %bb.4:
	cbnz	w20, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_wpabuf_mhead
	str	x0, [sp, #24]
	add	x1, x0, #1
	sub	w2, w22, #1
	bl	_os_memmove
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_EC_KEY_free
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_EC_KEY_free
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	stp	x23, x22, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_wpabuf_free
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_POINT_CONVERSION_UNCOMPRESSED,4,2 ; @POINT_CONVERSION_UNCOMPRESSED
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DDP: Failed to determine public key encoding length"

l_.str.1:                               ; @.str.1
	.asciz	"DDP: Failed to encode public key (res=%d/%d)"

	.no_dead_strip	_dpp_get_pubkey_point
.subsections_via_symbols
