	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_set_pubkey_point_group
_dpp_set_pubkey_point_group:            ## @dpp_set_pubkey_point_group
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_BN_CTX_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_EC_POINT_new
	movq	%r14, %rdi
	movq	%rax, %r14
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_EC_POINT_set_affine_coordinates_GFp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_EC_POINT_is_on_curve
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_EC_POINT_is_at_infinity
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_21
LBB0_5:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_wpa_printf
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_8:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movq	%rbx, %r13
	movl	(%rax), %ebx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r13, %rbx
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_dpp_debug_print_point
	xorl	%eax, %eax
	callq	_EC_KEY_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_EC_KEY_set_group
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_EC_KEY_set_public_key
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.16:
	movq	_OPENSSL_EC_NAMED_CURVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rdi
	callq	_EC_KEY_set_asn1_flag
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_PKEY_set1_EC_KEY
	cmpl	$1, %eax
	je	LBB0_20
LBB0_18:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_19
LBB0_15:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_19:
	movq	%r13, %rdi
	callq	_EVP_PKEY_free
	xorl	%r13d, %r13d
LBB0_20:
	movq	%r15, %rdi
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_EC_KEY_free
	movq	%r14, %rdi
	callq	_EC_POINT_free
	movq	%r12, %rdi
	callq	_BN_CTX_free
LBB0_21:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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: Out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: OpenSSL: EC_POINT_set_affine_coordinates_GFp failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"DPP: Invalid point"

L_.str.3:                               ## @.str.3
	.asciz	"DPP: dpp_set_pubkey_point_group"

L_.str.4:                               ## @.str.4
	.asciz	"DPP: Failed to set EC_KEY: %s"

	.comm	_OPENSSL_EC_NAMED_CURVE,4,2     ## @OPENSSL_EC_NAMED_CURVE
L_.str.5:                               ## @.str.5
	.asciz	"DPP: Could not create EVP_PKEY"

	.no_dead_strip	_dpp_set_pubkey_point_group
.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_group
_dpp_set_pubkey_point_group:            ; @dpp_set_pubkey_point_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x24, x0
	bl	_BN_CTX_new
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x0, x24
	bl	_EC_POINT_new
	mov	x20, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, #0
	bl	_BN_bin2bn
	mov	x21, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, #0
	bl	_BN_bin2bn
	mov	x22, x0
	cbz	x20, LBB0_9
; %bb.2:
	cbz	x21, LBB0_9
; %bb.3:
	cbz	x22, LBB0_9
; %bb.4:
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x19
	bl	_EC_POINT_set_affine_coordinates_GFp
	cbz	w0, LBB0_10
; %bb.5:
	mov	x0, x24
	mov	x1, x20
	mov	x2, x19
	bl	_EC_POINT_is_on_curve
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x24
	mov	x1, x20
	bl	_EC_POINT_is_at_infinity
	cbz	x0, LBB0_16
LBB0_7:
Lloh0:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh5:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x24, #0
	b	LBB0_15
LBB0_9:
Lloh10:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
LBB0_11:
	bl	_wpa_printf
	mov	x23, #0
LBB0_12:
	mov	x24, #0
LBB0_13:
	mov	x0, x24
	bl	_EVP_PKEY_free
	mov	x24, #0
LBB0_14:
	mov	x0, x21
	bl	_BN_free
	mov	x0, x22
	bl	_BN_free
	mov	x0, x23
	bl	_EC_KEY_free
	mov	x0, x20
	bl	_EC_POINT_free
	mov	x0, x19
	bl	_BN_CTX_free
LBB0_15:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x24
	mov	x2, x20
	bl	_dpp_debug_print_point
	bl	_EC_KEY_new
	mov	x23, x0
	cbz	x0, LBB0_22
; %bb.17:
	mov	x0, x23
	mov	x1, x24
	bl	_EC_KEY_set_group
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.18:
	mov	x0, x23
	mov	x1, x20
	bl	_EC_KEY_set_public_key
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.19:
Lloh22:
	adrp	x8, _OPENSSL_EC_NAMED_CURVE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OPENSSL_EC_NAMED_CURVE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_EC_KEY_set_asn1_flag
	bl	_EVP_PKEY_new
	mov	x24, x0
	cbz	x0, LBB0_21
; %bb.20:
	mov	x0, x24
	mov	x1, x23
	bl	_EVP_PKEY_set1_EC_KEY
	cmp	w0, #1
	b.eq	LBB0_14
LBB0_21:
Lloh25:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_13
LBB0_22:
Lloh30:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w24, [x8]
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_wpa_printf
	b	LBB0_12
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: Out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: OpenSSL: EC_POINT_set_affine_coordinates_GFp failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"DPP: Invalid point"

l_.str.3:                               ; @.str.3
	.asciz	"DPP: dpp_set_pubkey_point_group"

l_.str.4:                               ; @.str.4
	.asciz	"DPP: Failed to set EC_KEY: %s"

	.comm	_OPENSSL_EC_NAMED_CURVE,4,2     ; @OPENSSL_EC_NAMED_CURVE
l_.str.5:                               ; @.str.5
	.asciz	"DPP: Could not create EVP_PKEY"

	.no_dead_strip	_dpp_set_pubkey_point_group
.subsections_via_symbols
