	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_set_pubkey_point
_dpp_set_pubkey_point:                  ## @dpp_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	testb	$1, %bl
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	callq	_EVP_PKEY_get1_EC_KEY
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_EC_KEY_get0_group
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	shrq	%rbx
	leaq	(%r15,%rbx,4), %rdx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_dpp_set_pubkey_point_group
	movq	%rax, %rbx
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_3:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_EC_KEY_free
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: Could not get EC_KEY from group_key"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: Could not get EC group"

	.no_dead_strip	_dpp_set_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_set_pubkey_point
_dpp_set_pubkey_point:                  ; @dpp_set_pubkey_point
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	tbnz	w21, #0, LBB0_4
; %bb.1:
	mov	x20, x1
	bl	_EVP_PKEY_get1_EC_KEY
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	bl	_EC_KEY_get0_group
	cbz	x0, LBB0_6
; %bb.3:
	lsr	x3, x21, #1
	add	x2, x20, x3, lsl #2
	mov	x1, x20
	bl	_dpp_set_pubkey_point_group
	mov	x20, x0
	b	LBB0_7
LBB0_4:
	mov	x20, #0
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x20, #0
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x20, #0
LBB0_7:
	mov	x0, x19
	bl	_EC_KEY_free
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: Could not get EC_KEY from group_key"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: Could not get EC group"

	.no_dead_strip	_dpp_set_pubkey_point
.subsections_via_symbols
