	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_auth_derive_l_responder
_dpp_auth_derive_l_responder:           ## @dpp_auth_derive_l_responder
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_BN_new
	testq	%r15, %r15
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.1:
	testq	%r13, %r13
	je	LBB0_17
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.3:
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	24(%r14), %rax
	movl	(%rax), %edi
	callq	_EVP_PKEY_get1_EC_KEY
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_EC_KEY_get0_public_key
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_EC_KEY_get0_group
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_EVP_PKEY_get1_EC_KEY
	movq	%rax, %r15
	movl	12(%r14), %edi
	callq	_EVP_PKEY_get1_EC_KEY
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	testq	%r15, %r15
	je	LBB0_21
## %bb.7:
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.8:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_EC_KEY_get0_private_key
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_EC_KEY_get0_private_key
	xorl	%r13d, %r13d
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_25
## %bb.9:
	testq	%rax, %rax
	je	LBB0_25
## %bb.10:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_EC_GROUP_get_order
	cmpl	$1, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_26
## %bb.11:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%r13, %rcx
	movq	%rbx, %r8
	callq	_BN_mod_add
	cmpl	$1, %eax
	jne	LBB0_26
## %bb.12:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_EC_POINT_new
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_27
## %bb.13:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_EC_POINT_mul
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.14:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_EC_POINT_get_affine_coordinates_GFp
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.15:
	movl	(%r14), %edx
	movl	8(%r14), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_dpp_bn2bin_pad
	testq	%rax, %rax
	js	LBB0_28
## %bb.16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %ecx
	movl	8(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump_key
	movl	(%r14), %eax
	movl	%eax, 4(%r14)
	xorl	%r14d, %r14d
	jmp	LBB0_29
LBB0_17:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	$-1, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_18:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_19:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
LBB0_20:
	xorl	%r13d, %r13d
LBB0_21:
	movl	$-1, %r14d
LBB0_22:
	movq	%r13, %rdi
	callq	_EC_POINT_clear_free
	movq	%r12, %rdi
	callq	_EC_KEY_free
	movq	%r15, %rdi
	callq	_EC_KEY_free
	movq	%rbx, %rdi
	callq	_EC_KEY_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_clear_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_clear_free
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_CTX_free
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	$-1, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_26:
	xorl	%r13d, %r13d
	jmp	LBB0_28
LBB0_27:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_wpa_printf
LBB0_28:
	movl	$-1, %r14d
LBB0_29:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenSSL: failed: %s"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"DPP: L.x"

	.no_dead_strip	_dpp_auth_derive_l_responder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_auth_derive_l_responder
_dpp_auth_derive_l_responder:           ; @dpp_auth_derive_l_responder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x0
	bl	_BN_CTX_new
	mov	x19, x0
	bl	_BN_new
	mov	x20, x0
	bl	_BN_new
	mov	x21, x0
	bl	_BN_new
	mov	x22, x0
	mov	x23, #0
	mov	w28, #-1
	cbz	x19, LBB0_19
; %bb.1:
	cbz	x20, LBB0_19
; %bb.2:
	cbz	x21, LBB0_19
; %bb.3:
	mov	x25, x23
	mov	x24, x23
	mov	x26, x23
	cbz	x22, LBB0_20
; %bb.4:
	ldr	x8, [x27, #24]
	ldr	w0, [x8]
	bl	_EVP_PKEY_get1_EC_KEY
	mov	x24, x0
	cbz	x0, LBB0_17
; %bb.5:
	mov	x0, x24
	bl	_EC_KEY_get0_public_key
	mov	x23, x0
	mov	x0, x24
	bl	_EC_KEY_get0_group
	cbz	x0, LBB0_17
; %bb.6:
	stp	x23, x0, [sp, #16]              ; 16-byte Folded Spill
	ldr	x8, [x27, #16]
	ldr	w0, [x8]
	bl	_EVP_PKEY_get1_EC_KEY
	mov	x25, x0
	ldr	w0, [x27, #12]
	bl	_EVP_PKEY_get1_EC_KEY
	mov	x23, x0
	mov	x26, #0
	mov	w28, #-1
	cbz	x25, LBB0_20
; %bb.7:
	cbz	x23, LBB0_20
; %bb.8:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x25
	bl	_EC_KEY_get0_private_key
	mov	x22, x0
	mov	x0, x23
	bl	_EC_KEY_get0_private_key
	mov	x26, #0
	mov	w28, #-1
	str	x22, [sp]                       ; 8-byte Folded Spill
	cbz	x22, LBB0_21
; %bb.9:
	cbz	x0, LBB0_21
; %bb.10:
	mov	x26, x0
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x28
	mov	x1, x21
	mov	x2, x19
	bl	_EC_GROUP_get_order
	cmp	w0, #1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b.ne	LBB0_18
; %bb.11:
	mov	x0, x20
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x26
	mov	x3, x21
	mov	x4, x19
	bl	_BN_mod_add
	cmp	w0, #1
	b.ne	LBB0_18
; %bb.12:
	mov	x0, x28
	bl	_EC_POINT_new
	mov	x26, x0
	cbz	x0, LBB0_22
; %bb.13:
	mov	x0, x28
	mov	x1, x26
	mov	x2, #0
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	mov	x4, x20
	mov	x5, x19
	bl	_EC_POINT_mul
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.14:
	mov	x0, x28
	mov	x1, x26
	mov	x2, x22
	mov	x3, #0
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates_GFp
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.15:
	ldr	w1, [x27, #8]
	ldr	w2, [x27]
	mov	x0, x22
	bl	_dpp_bn2bin_pad
	tbnz	x0, #63, LBB0_23
; %bb.16:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x27, #8]
	ldr	w3, [x27]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump_key
	mov	w28, #0
	ldr	w8, [x27]
	str	w8, [x27, #4]
	b	LBB0_20
LBB0_17:
	mov	x23, #0
	mov	x25, #0
LBB0_18:
	mov	x26, #0
	mov	w28, #-1
	b	LBB0_20
LBB0_19:
	mov	x25, x23
	mov	x24, x23
	mov	x26, x23
LBB0_20:
	mov	x0, x26
	bl	_EC_POINT_clear_free
	mov	x0, x24
	bl	_EC_KEY_free
	mov	x0, x25
	bl	_EC_KEY_free
	mov	x0, x23
	bl	_EC_KEY_free
	mov	x0, x22
	bl	_BN_clear_free
	mov	x0, x20
	bl	_BN_clear_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x19
	bl	_BN_CTX_free
	mov	x0, x28
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_20
LBB0_22:
Lloh5:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w27, [x8]
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x27
	bl	_wpa_printf
LBB0_23:
	mov	w28, #-1
	b	LBB0_20
	.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	"OpenSSL: failed: %s"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"DPP: L.x"

	.no_dead_strip	_dpp_auth_derive_l_responder
.subsections_via_symbols
