	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_process_signed_connector
_dpp_process_signed_connector:          ## @dpp_process_signed_connector
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -112(%rbp)
	movq	%rsi, %rdi
	callq	_EVP_PKEY_get1_EC_KEY
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_EC_KEY_get0_group
	testq	%rax, %rax
	je	LBB0_22
## %bb.2:
	movq	%rax, %rdi
	callq	_EC_GROUP_get_curve_name
	movl	%eax, %edi
	callq	_dpp_get_curve_nid
	testq	%rax, %rax
	je	LBB0_22
## %bb.3:
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movq	%r12, %rdi
	movl	$46, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_24
## %bb.4:
	movq	%rax, %r15
	movl	%r15d, %esi
	subl	%r12d, %esi
	leaq	-128(%rbp), %rdx
	movq	%r12, %rdi
	callq	_base64_url_decode
	movl	(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_25
## %bb.5:
	movq	%rax, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_ascii
	movq	-128(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dpp_parse_jws_prot_hdr
	testq	%rax, %rax
	je	LBB0_30
## %bb.6:
	movq	%rax, %r14
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_wpabuf_len
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_31
## %bb.7:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	incq	%r15
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_33
## %bb.8:
	movq	%rax, %rbx
	movl	%ebx, %esi
	subl	%r15d, %esi
	leaq	8(%r13), %r14
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_base64_url_decode
	movq	%rax, (%r13)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_34
## %bb.9:
	movq	(%r14), %rcx
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_ascii
	leaq	1(%rbx), %r14
	movq	%r14, %rdi
	callq	_os_strlen
	leaq	-120(%rbp), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_base64_url_decode
	movq	%rax, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%r15, %r15
	je	LBB0_35
## %bb.10:
	movq	%rbx, %r13
	movl	-120(%rbp), %ecx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_dpp_check_pubkey_match
	testq	%rax, %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	js	LBB0_37
## %bb.11:
	movq	-120(%rbp), %rdx
	testb	$1, %dl
	jne	LBB0_38
## %bb.12:
	shrq	%rdx
	movq	%r15, %rdi
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	-120(%rbp), %rsi
	shrq	%rsi
	addq	%rsi, %rdi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ECDSA_SIG_new
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_40
## %bb.13:
	testq	%rbx, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_41
## %bb.14:
	testq	%r14, %r14
	je	LBB0_41
## %bb.15:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_ECDSA_SIG_set0
	cmpl	$1, %eax
	jne	LBB0_39
## %bb.16:
	leaq	-112(%rbp), %rsi
	movq	%r14, %rdi
	callq	_i2d_ECDSA_SIG
	movl	%eax, %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%ebx, %ebx
	jle	LBB0_44
## %bb.17:
	movq	-112(%rbp), %rdx
	leaq	L_.str.12(%rip), %rsi
	movl	%ebx, %ecx
	callq	_wpa_hexdump
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_create
	testq	%rax, %rax
	je	LBB0_45
## %bb.18:
	movq	%rax, %r15
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ERR_clear_error
	movq	-136(%rbp), %rdx
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_EVP_DigestVerifyInit
	cmpl	$1, %eax
	jne	LBB0_46
## %bb.19:
	decq	%r13
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	subl	%esi, %r13d
	incl	%r13d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_EVP_DigestVerifyUpdate
	cmpl	$1, %eax
	jne	LBB0_47
## %bb.20:
	movq	-112(%rbp), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_EVP_DigestVerifyFinal
	cmpl	$1, %eax
	jne	LBB0_49
## %bb.21:
	movq	_DPP_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_50
LBB0_22:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_29
LBB0_23:
	xorl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_29
LBB0_24:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_26
LBB0_25:
	leaq	L_.str.2(%rip), %rsi
LBB0_26:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DPP_STATUS_INVALID_CONNECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
LBB0_27:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_28:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_29:
	movq	%rax, %rdi
	callq	_EC_KEY_free
	movq	%r12, %rdi
	callq	_EVP_MD_CTX_destroy
	movq	%r13, %rdi
	callq	_os_free
	movq	%r14, %rdi
	callq	_wpabuf_free
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	%r15, %rdi
	callq	_ECDSA_SIG_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	-112(%rbp), %rdi
	callq	_OPENSSL_free
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	_DPP_STATUS_INVALID_CONNECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	jmp	LBB0_27
LBB0_31:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_wpabuf_len
	movq	(%rbx), %rcx
	leaq	L_.str.4(%rip), %rsi
	xorl	%edx, %edx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DPP_STATUS_INVALID_CONNECTOR@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_33:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_36
LBB0_34:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_36
LBB0_35:
	leaq	L_.str.8(%rip), %rsi
LBB0_36:
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DPP_STATUS_INVALID_CONNECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_37:
	movq	_DPP_STATUS_NO_MATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_38:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%r12d, %r12d
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DPP_STATUS_INVALID_CONNECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_39:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_40:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_41:
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	xorl	%r12d, %r12d
LBB0_42:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
LBB0_43:
	movq	%r14, %r15
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_44:
	leaq	L_.str.11(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_wpa_printf
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_43
LBB0_45:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_43
LBB0_46:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_48
LBB0_47:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str.14(%rip), %rsi
LBB0_48:
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_51
LBB0_49:
	movl	%eax, %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str.15(%rip), %rsi
	movl	%r12d, %edi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DPP_STATUS_INVALID_CONNECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_50:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_51:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: C-sign-key group: %s"

L_.str.1:                               ## @.str.1
	.asciz	"DPP: Missing dot(1) in signedConnector"

	.comm	_DPP_STATUS_INVALID_CONNECTOR,4,2 ## @DPP_STATUS_INVALID_CONNECTOR
L_.str.2:                               ## @.str.2
	.asciz	"DPP: Failed to base64url decode signedConnector JWS Protected Header"

L_.str.3:                               ## @.str.3
	.asciz	"DPP: signedConnector - JWS Protected Header"

	.comm	_SHA256_MAC_LEN,8,3             ## @SHA256_MAC_LEN
L_.str.4:                               ## @.str.4
	.asciz	"DPP: Unexpected signedConnector JWS Protected Header kid length: %u (expected %u)"

L_.str.5:                               ## @.str.5
	.asciz	"DPP: Missing dot(2) in signedConnector"

L_.str.6:                               ## @.str.6
	.asciz	"DPP: Failed to base64url decode signedConnector JWS Payload"

L_.str.7:                               ## @.str.7
	.asciz	"DPP: signedConnector - JWS Payload"

L_.str.8:                               ## @.str.8
	.asciz	"DPP: Failed to base64url decode signedConnector signature"

L_.str.9:                               ## @.str.9
	.asciz	"DPP: signedConnector - signature"

	.comm	_DPP_STATUS_NO_MATCH,4,2        ## @DPP_STATUS_NO_MATCH
L_.str.10:                              ## @.str.10
	.asciz	"DPP: Unexpected signedConnector signature length (%d)"

L_.str.11:                              ## @.str.11
	.asciz	"DPP: Could not DER encode signature"

L_.str.12:                              ## @.str.12
	.asciz	"DPP: DER encoded signature"

L_.str.13:                              ## @.str.13
	.asciz	"DPP: EVP_DigestVerifyInit failed: %s"

L_.str.14:                              ## @.str.14
	.asciz	"DPP: EVP_DigestVerifyUpdate failed: %s"

L_.str.15:                              ## @.str.15
	.asciz	"DPP: EVP_DigestVerifyFinal failed (res=%d): %s"

	.comm	_DPP_STATUS_OK,4,2              ## @DPP_STATUS_OK
	.no_dead_strip	_dpp_process_signed_connector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_process_signed_connector
_dpp_process_signed_connector:          ; @dpp_process_signed_connector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x28, x2
	mov	x21, x1
	mov	x22, x0
	stp	xzr, xzr, [sp, #64]
	stp	xzr, xzr, [sp, #48]
	mov	x0, x1
	bl	_EVP_PKEY_get1_EC_KEY
	mov	x19, x0
	cbz	x0, LBB0_22
; %bb.1:
	mov	x0, x19
	bl	_EC_KEY_get0_group
	cbz	x0, LBB0_22
; %bb.2:
	bl	_EC_GROUP_get_curve_name
	bl	_dpp_get_curve_nid
	mov	x23, x0
	cbz	x0, LBB0_25
; %bb.3:
Lloh0:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
	ldr	w8, [x23]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	mov	x0, x28
	mov	w1, #46
	bl	_os_strchr
	mov	x24, x0
	cbz	x0, LBB0_26
; %bb.4:
	sub	w1, w24, w28
	add	x2, sp, #72
	mov	x0, x28
	bl	_base64_url_decode
	mov	x20, x0
	ldr	w0, [x25]
	cbz	x20, LBB0_27
; %bb.5:
	ldr	x3, [sp, #72]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_ascii
	ldr	x2, [sp, #72]
	add	x3, sp, #56
	mov	x0, x23
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	mov	x1, x20
	bl	_dpp_parse_jws_prot_hdr
	cbz	x0, LBB0_29
; %bb.6:
	mov	x20, x0
	bl	_wpabuf_len
Lloh6:
	adrp	x23, _SHA256_MAC_LEN@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_30
; %bb.7:
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	add	x23, x24, #1
	mov	x0, x23
	mov	w1, #46
	bl	_os_strchr
	mov	x26, x0
	cbz	x0, LBB0_31
; %bb.8:
	sub	w1, w26, w23
	add	x24, x22, #8
	mov	x0, x23
	mov	x2, x24
	bl	_base64_url_decode
	mov	x2, x0
	str	x0, [x22]
	ldr	w0, [x25]
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	cbz	x2, LBB0_35
; %bb.9:
	ldr	x3, [x24]
Lloh8:
	adrp	x1, l_.str.7@PAGE
Lloh9:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_hexdump_ascii
	add	x22, x26, #1
	mov	x0, x22
	bl	_os_strlen
	mov	x1, x0
	add	x2, sp, #64
	mov	x0, x22
	bl	_base64_url_decode
	mov	x22, x0
	ldr	w0, [x25]
	cbz	x22, LBB0_36
; %bb.10:
	ldr	w3, [sp, #64]
Lloh10:
	adrp	x1, l_.str.9@PAGE
Lloh11:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump
	mov	x0, x21
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	bl	_dpp_check_pubkey_match
	tbnz	x0, #63, LBB0_37
; %bb.11:
	ldr	x8, [sp, #64]
	tbnz	w8, #0, LBB0_38
; %bb.12:
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	lsr	x1, x8, #1
	mov	x0, x22
	mov	x2, #0
	bl	_BN_bin2bn
	mov	x25, x0
	ldr	x8, [sp, #64]
	lsr	x1, x8, #1
	add	x0, x22, x1
	mov	x2, #0
	bl	_BN_bin2bn
	mov	x26, x0
	bl	_ECDSA_SIG_new
	mov	x23, x0
	mov	x24, #0
	mov	w27, #255
	cbz	x25, LBB0_42
; %bb.13:
	cbz	x26, LBB0_42
; %bb.14:
	cbz	x23, LBB0_42
; %bb.15:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x26
	bl	_ECDSA_SIG_set0
	cmp	w0, #1
	b.ne	LBB0_43
; %bb.16:
	add	x1, sp, #48
	mov	x0, x23
	bl	_i2d_ECDSA_SIG
	mov	x25, x0
Lloh12:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x26]
	cmp	w25, #0
	b.le	LBB0_44
; %bb.17:
	ldr	x2, [sp, #48]
Lloh14:
	adrp	x1, l_.str.12@PAGE
Lloh15:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x3, x25
	bl	_wpa_hexdump
	bl	_EVP_MD_CTX_create
	mov	x24, x0
	cbz	x0, LBB0_48
; %bb.18:
	bl	_ERR_clear_error
	ldr	x2, [sp, #56]
	mov	x0, x24
	mov	x1, #0
	mov	x3, #0
	mov	x4, x21
	bl	_EVP_DigestVerifyInit
	cmp	w0, #1
	b.ne	LBB0_45
; %bb.19:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sub	x8, x8, #1
	sub	w8, w8, w28
	add	w2, w8, #1
	mov	x0, x24
	mov	x1, x28
	bl	_EVP_DigestVerifyUpdate
	cmp	w0, #1
	b.ne	LBB0_46
; %bb.20:
	ldr	x1, [sp, #48]
	mov	x0, x24
	mov	x2, x25
	bl	_EVP_DigestVerifyFinal
	cmp	w0, #1
	b.ne	LBB0_50
; %bb.21:
	mov	x25, #0
	mov	x26, #0
Lloh16:
	adrp	x8, _DPP_STATUS_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DPP_STATUS_OK@GOTPAGEOFF]
	b	LBB0_33
LBB0_22:
	mov	x22, #0
	mov	x20, #0
	mov	x24, #0
	mov	x23, #0
LBB0_23:
	mov	x25, #0
	mov	x26, #0
	mov	x21, #0
	mov	w27, #255
LBB0_24:
	mov	x0, x19
	bl	_EC_KEY_free
	mov	x0, x24
	bl	_EVP_MD_CTX_destroy
	mov	x0, x20
	bl	_os_free
	mov	x0, x21
	bl	_wpabuf_free
	mov	x0, x22
	bl	_os_free
	mov	x0, x23
	bl	_ECDSA_SIG_free
	mov	x0, x25
	bl	_BN_free
	mov	x0, x26
	bl	_BN_free
	ldr	x0, [sp, #48]
	bl	_OPENSSL_free
	mov	x0, x27
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_25:
	mov	x22, #0
	mov	x20, #0
	mov	x24, #0
	b	LBB0_23
LBB0_26:
	ldr	w0, [x25]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x22, #0
	mov	x20, #0
	b	LBB0_28
LBB0_27:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x22, #0
	mov	x24, #0
LBB0_28:
	mov	x23, #0
	mov	x25, #0
	mov	x26, #0
	mov	x21, #0
Lloh22:
	adrp	x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGEOFF]
Lloh24:
	ldr	w27, [x8]
	b	LBB0_24
LBB0_29:
	mov	x22, #0
	mov	x24, #0
	mov	x23, #0
	mov	x25, #0
	mov	x26, #0
	mov	x21, #0
Lloh25:
	adrp	x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGEOFF]
Lloh27:
	ldr	w27, [x8]
	b	LBB0_34
LBB0_30:
	ldr	w21, [x25]
	mov	x0, x20
	bl	_wpabuf_len
	ldr	x8, [x23]
	stp	x0, x8, [sp]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	mov	x22, #0
	mov	x24, #0
	mov	x23, #0
	mov	x25, #0
	mov	x26, #0
Lloh30:
	adrp	x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGEOFF]
Lloh32:
	ldr	w27, [x8]
	mov	x21, x20
	b	LBB0_34
LBB0_31:
	ldr	w0, [x25]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	mov	x22, #0
	mov	x24, #0
	mov	x23, #0
	mov	x25, #0
LBB0_32:
Lloh35:
	adrp	x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGEOFF]
LBB0_33:
	ldr	w27, [x8]
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
LBB0_34:
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_24
LBB0_35:
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	x22, #0
	b	LBB0_40
LBB0_36:
Lloh39:
	adrp	x1, l_.str.8@PAGE
Lloh40:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_39
LBB0_37:
	mov	x24, #0
	mov	x23, #0
	mov	x25, #0
	mov	x26, #0
Lloh41:
	adrp	x8, _DPP_STATUS_NO_MATCH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DPP_STATUS_NO_MATCH@GOTPAGEOFF]
	b	LBB0_41
LBB0_38:
	ldr	w0, [x25]
	str	x8, [sp]
Lloh43:
	adrp	x1, l_.str.10@PAGE
Lloh44:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_39:
	bl	_wpa_printf
LBB0_40:
	mov	x24, #0
	mov	x23, #0
	mov	x25, #0
	mov	x26, #0
Lloh45:
	adrp	x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DPP_STATUS_INVALID_CONNECTOR@GOTPAGEOFF]
LBB0_41:
	ldr	w27, [x8]
LBB0_42:
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_24
LBB0_43:
	mov	x24, #0
	b	LBB0_49
LBB0_44:
Lloh47:
	adrp	x1, l_.str.11@PAGE
Lloh48:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	mov	x24, #0
	b	LBB0_48
LBB0_45:
	ldr	w21, [x26]
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
	str	x0, [sp]
Lloh49:
	adrp	x1, l_.str.13@PAGE
Lloh50:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_47
LBB0_46:
	ldr	w21, [x26]
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
	str	x0, [sp]
Lloh51:
	adrp	x1, l_.str.14@PAGE
Lloh52:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_47:
	mov	x0, x21
	bl	_wpa_printf
LBB0_48:
	mov	x25, #0
	mov	x26, #0
LBB0_49:
	mov	w27, #255
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_24
LBB0_50:
	mov	x21, x0
Lloh53:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh55:
	ldr	w25, [x8]
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
	stp	x21, x0, [sp]
Lloh56:
	adrp	x1, l_.str.15@PAGE
Lloh57:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x25
	bl	_wpa_printf
	mov	x25, #0
	mov	x26, #0
	b	LBB0_32
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: C-sign-key group: %s"

l_.str.1:                               ; @.str.1
	.asciz	"DPP: Missing dot(1) in signedConnector"

	.comm	_DPP_STATUS_INVALID_CONNECTOR,4,2 ; @DPP_STATUS_INVALID_CONNECTOR
l_.str.2:                               ; @.str.2
	.asciz	"DPP: Failed to base64url decode signedConnector JWS Protected Header"

l_.str.3:                               ; @.str.3
	.asciz	"DPP: signedConnector - JWS Protected Header"

	.comm	_SHA256_MAC_LEN,8,3             ; @SHA256_MAC_LEN
l_.str.4:                               ; @.str.4
	.asciz	"DPP: Unexpected signedConnector JWS Protected Header kid length: %u (expected %u)"

l_.str.5:                               ; @.str.5
	.asciz	"DPP: Missing dot(2) in signedConnector"

l_.str.6:                               ; @.str.6
	.asciz	"DPP: Failed to base64url decode signedConnector JWS Payload"

l_.str.7:                               ; @.str.7
	.asciz	"DPP: signedConnector - JWS Payload"

l_.str.8:                               ; @.str.8
	.asciz	"DPP: Failed to base64url decode signedConnector signature"

l_.str.9:                               ; @.str.9
	.asciz	"DPP: signedConnector - signature"

	.comm	_DPP_STATUS_NO_MATCH,4,2        ; @DPP_STATUS_NO_MATCH
l_.str.10:                              ; @.str.10
	.asciz	"DPP: Unexpected signedConnector signature length (%d)"

l_.str.11:                              ; @.str.11
	.asciz	"DPP: Could not DER encode signature"

l_.str.12:                              ; @.str.12
	.asciz	"DPP: DER encoded signature"

l_.str.13:                              ; @.str.13
	.asciz	"DPP: EVP_DigestVerifyInit failed: %s"

l_.str.14:                              ; @.str.14
	.asciz	"DPP: EVP_DigestVerifyUpdate failed: %s"

l_.str.15:                              ; @.str.15
	.asciz	"DPP: EVP_DigestVerifyFinal failed (res=%d): %s"

	.comm	_DPP_STATUS_OK,4,2              ; @DPP_STATUS_OK
	.no_dead_strip	_dpp_process_signed_connector
.subsections_via_symbols
