	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_configurator_own_config    ## -- Begin function dpp_configurator_own_config
	.p2align	4, 0x90
_dpp_configurator_own_config:           ## @dpp_configurator_own_config
	.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
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.6:
	movq	%r15, %rdi
	callq	_dpp_get_curve_name
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_3:
	movq	_dpp_curves@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	24(%rbx), %rdi
	callq	_dpp_gen_keypair
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	%rbx, %rdi
	callq	_dpp_copy_netaccesskey
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rcx, (%rbx)
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dpp_copy_csign
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dpp_build_conf_obj
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	callq	_wpabuf_head
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_wpabuf_len
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_dpp_parse_conf_obj
	movl	%eax, %r15d
	jmp	LBB0_11
LBB0_5:
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_9:
	movl	$-1, %r15d
LBB0_11:
	movq	%r14, %rdi
	callq	_wpabuf_free
	movq	$0, (%rbx)
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: No configurator specified"

	.comm	_dpp_curves,8,3                 ## @dpp_curves
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"DPP: Unsupported curve: %s"

L_.str.2:                               ## @.str.2
	.asciz	"DPP: Building own configuration/connector with curve %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_configurator_own_config    ; -- Begin function dpp_configurator_own_config
	.p2align	2
_dpp_configurator_own_config:           ; @dpp_configurator_own_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x1, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_dpp_get_curve_name
	str	x0, [x19, #24]
	cbnz	x0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	bl	_wpa_printf
	mov	w21, #-1
	b	LBB0_13
LBB0_6:
Lloh10:
	adrp	x8, _dpp_curves@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dpp_curves@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	str	x0, [x19, #24]
LBB0_7:
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x9, [x0]
	str	x9, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
	ldr	x0, [x19, #24]
	bl	_dpp_gen_keypair
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_dpp_copy_netaccesskey
	ldp	x9, x8, [x19, #8]
	str	x8, [x19]
	ldr	w1, [x9]
	mov	x0, x19
	bl	_dpp_copy_csign
	mov	x0, x19
	mov	x1, x20
	bl	_dpp_build_conf_obj
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_wpabuf_head
	mov	x21, x0
	mov	x0, x20
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_dpp_parse_conf_obj
	mov	x21, x0
	b	LBB0_12
LBB0_10:
	mov	w21, #-1
	b	LBB0_13
LBB0_11:
	mov	w21, #-1
LBB0_12:
	mov	x0, x20
	bl	_wpabuf_free
	str	xzr, [x19]
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: No configurator specified"

	.comm	_dpp_curves,8,3                 ; @dpp_curves
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"DPP: Unsupported curve: %s"

l_.str.2:                               ; @.str.2
	.asciz	"DPP: Building own configuration/connector with curve %s"

.subsections_via_symbols
