	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_parse_connector
_dpp_parse_connector:                   ## @dpp_parse_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_json_parse
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_json_get_member
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	movq	_JSON_ARRAY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.6:
	movq	24(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.7:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_JSON_STRING@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_json_get_member
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_json_get_member
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	8(%r14), %edx
	movl	8(%rax), %ecx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%rbx), %rbx
	decl	%r12d
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.15:
	testl	%r12d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_16
## %bb.17:
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_json_get_member
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_19
## %bb.23:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	8(%rbx), %edi
	leaq	12(%r14), %rsi
	callq	_dpp_key_expired
	testq	%rax, %rax
	je	LBB0_20
## %bb.24:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_2
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_30:
	movq	%r12, %rdi
	callq	_EVP_PKEY_free
	movq	%r15, %rdi
	callq	_json_free
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_2
LBB0_13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_2
LBB0_19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_20:
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_json_get_member
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	(%rax), %rcx
	movq	_JSON_OBJECT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_22
## %bb.25:
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_dpp_parse_jwk
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	%rax, %r12
	leaq	L_.str.15(%rip), %rdi
	movq	%rax, %rsi
	callq	_dpp_debug_print_key
	movl	8(%r14), %esi
	movq	%r12, %rdi
	callq	_EVP_PKEY_cmp
	cmpl	$1, %eax
	jne	LBB0_29
## %bb.28:
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_22:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_2
LBB0_26:
	xorl	%r12d, %r12d
	jmp	LBB0_30
LBB0_29:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: JSON parsing of connector failed"

L_.str.1:                               ## @.str.1
	.asciz	"groups"

	.comm	_JSON_ARRAY,8,3                 ## @JSON_ARRAY
L_.str.2:                               ## @.str.2
	.asciz	"DPP: No groups array found"

L_.str.3:                               ## @.str.3
	.asciz	"groupId"

	.comm	_JSON_STRING,8,3                ## @JSON_STRING
L_.str.4:                               ## @.str.4
	.asciz	"DPP: Missing groupId string"

L_.str.5:                               ## @.str.5
	.asciz	"netRole"

L_.str.6:                               ## @.str.6
	.asciz	"DPP: Missing netRole string"

L_.str.7:                               ## @.str.7
	.asciz	"DPP: connector group: groupId='%s' netRole='%s'"

L_.str.8:                               ## @.str.8
	.asciz	"DPP: Connector includes no groups"

L_.str.9:                               ## @.str.9
	.asciz	"expiry"

L_.str.10:                              ## @.str.10
	.asciz	"DPP: No expiry string found - connector does not expire"

L_.str.11:                              ## @.str.11
	.asciz	"DPP: expiry = %s"

L_.str.12:                              ## @.str.12
	.asciz	"DPP: Connector (netAccessKey) has expired"

L_.str.13:                              ## @.str.13
	.asciz	"netAccessKey"

	.comm	_JSON_OBJECT,8,3                ## @JSON_OBJECT
L_.str.14:                              ## @.str.14
	.asciz	"DPP: No netAccessKey object found"

L_.str.15:                              ## @.str.15
	.asciz	"DPP: Received netAccessKey"

L_.str.16:                              ## @.str.16
	.asciz	"DPP: netAccessKey in connector does not match own protocol key"

	.no_dead_strip	_dpp_parse_connector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_parse_connector
_dpp_parse_connector:                   ; @dpp_parse_connector
	.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	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_json_parse
	mov	x19, x0
	cbz	x0, LBB0_17
; %bb.1:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_json_get_member
Lloh2:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x0, LBB0_15
; %bb.2:
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _JSON_ARRAY@GOTPAGE
Lloh5:
	ldr	x9, [x9, _JSON_ARRAY@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.3:
	ldr	x21, [x0, #24]
	cbz	x21, LBB0_16
; %bb.4:
	mov	w28, #0
Lloh7:
	adrp	x22, l_.str.3@PAGE
Lloh8:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh9:
	adrp	x27, _JSON_STRING@GOTPAGE
Lloh10:
	ldr	x27, [x27, _JSON_STRING@GOTPAGEOFF]
Lloh11:
	adrp	x23, l_.str.5@PAGE
Lloh12:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh13:
	adrp	x24, l_.str.7@PAGE
Lloh14:
	add	x24, x24, l_.str.7@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_json_get_member
	cbz	x0, LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	ldr	x8, [x0]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_json_get_member
	cbz	x0, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x25, #8]
	ldr	w10, [x0, #8]
	stp	x9, x10, [sp]
	mov	x0, x8
	mov	x1, x24
	bl	_wpa_printf
	ldr	x21, [x21, #16]
	sub	w28, w28, #1
	cbnz	x21, LBB0_5
; %bb.10:
	cbz	w28, LBB0_16
; %bb.11:
Lloh15:
	adrp	x1, l_.str.9@PAGE
Lloh16:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_json_get_member
	cbz	x0, LBB0_23
; %bb.12:
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.13:
	ldr	w0, [x26]
	ldr	w8, [x21, #8]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.11@PAGE
Lloh18:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x21, #8]
	add	x1, x20, #12
	bl	_dpp_key_expired
	cbz	x0, LBB0_24
; %bb.14:
	ldr	w0, [x26]
Lloh19:
	adrp	x1, l_.str.12@PAGE
Lloh20:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_18
LBB0_15:
	ldr	w0, [x26]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
LBB0_16:
	ldr	w0, [x26]
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh25:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
LBB0_18:
	bl	_wpa_printf
	mov	x21, #0
LBB0_19:
	mov	w20, #-1
LBB0_20:
	mov	x0, x21
	bl	_EVP_PKEY_free
	mov	x0, x19
	bl	_json_free
	mov	x0, x20
	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	w0, [x26]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_22:
	ldr	w0, [x26]
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_23:
	ldr	w0, [x26]
Lloh34:
	adrp	x1, l_.str.10@PAGE
Lloh35:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
LBB0_24:
Lloh36:
	adrp	x1, l_.str.13@PAGE
Lloh37:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_json_get_member
	cbz	x0, LBB0_29
; %bb.25:
	ldr	x8, [x0]
Lloh38:
	adrp	x9, _JSON_OBJECT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _JSON_OBJECT@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.26:
	add	x1, sp, #24
	bl	_dpp_parse_jwk
	mov	x21, x0
	cbz	x0, LBB0_19
; %bb.27:
Lloh41:
	adrp	x0, l_.str.15@PAGE
Lloh42:
	add	x0, x0, l_.str.15@PAGEOFF
	mov	x1, x21
	bl	_dpp_debug_print_key
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_EVP_PKEY_cmp
	cmp	w0, #1
	b.ne	LBB0_30
; %bb.28:
	mov	w20, #0
	b	LBB0_20
LBB0_29:
	ldr	w0, [x26]
Lloh43:
	adrp	x1, l_.str.14@PAGE
Lloh44:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_18
LBB0_30:
	ldr	w0, [x26]
Lloh45:
	adrp	x1, l_.str.16@PAGE
Lloh46:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_wpa_printf
	b	LBB0_19
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: JSON parsing of connector failed"

l_.str.1:                               ; @.str.1
	.asciz	"groups"

	.comm	_JSON_ARRAY,8,3                 ; @JSON_ARRAY
l_.str.2:                               ; @.str.2
	.asciz	"DPP: No groups array found"

l_.str.3:                               ; @.str.3
	.asciz	"groupId"

	.comm	_JSON_STRING,8,3                ; @JSON_STRING
l_.str.4:                               ; @.str.4
	.asciz	"DPP: Missing groupId string"

l_.str.5:                               ; @.str.5
	.asciz	"netRole"

l_.str.6:                               ; @.str.6
	.asciz	"DPP: Missing netRole string"

l_.str.7:                               ; @.str.7
	.asciz	"DPP: connector group: groupId='%s' netRole='%s'"

l_.str.8:                               ; @.str.8
	.asciz	"DPP: Connector includes no groups"

l_.str.9:                               ; @.str.9
	.asciz	"expiry"

l_.str.10:                              ; @.str.10
	.asciz	"DPP: No expiry string found - connector does not expire"

l_.str.11:                              ; @.str.11
	.asciz	"DPP: expiry = %s"

l_.str.12:                              ; @.str.12
	.asciz	"DPP: Connector (netAccessKey) has expired"

l_.str.13:                              ; @.str.13
	.asciz	"netAccessKey"

	.comm	_JSON_OBJECT,8,3                ; @JSON_OBJECT
l_.str.14:                              ; @.str.14
	.asciz	"DPP: No netAccessKey object found"

l_.str.15:                              ; @.str.15
	.asciz	"DPP: Received netAccessKey"

l_.str.16:                              ; @.str.16
	.asciz	"DPP: netAccessKey in connector does not match own protocol key"

	.no_dead_strip	_dpp_parse_connector
.subsections_via_symbols
