	.file	"extr_dpp.c_dpp_configurator_own_config.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DPP: No configurator specified"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"DPP: Unsupported curve: %s"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"DPP: Building own configuration/connector with curve %s"
	.text
	.p2align 4
	.globl	dpp_configurator_own_config
	.type	dpp_configurator_own_config, @function
dpp_configurator_own_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR 8[rdi], 0
	je	.L12
	mov	rbx, rdi
	mov	r12, rsi
	mov	ebp, edx
	test	rsi, rsi
	je	.L13
	mov	rdi, rsi
	call	dpp_get_curve_name@PLT
	mov	QWORD PTR 24[rbx], rax
	test	rax, rax
	je	.L14
.L5:
	mov	rdx, QWORD PTR [rax]
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	rdi, QWORD PTR 24[rbx]
	call	dpp_gen_keypair@PLT
	mov	QWORD PTR 16[rbx], rax
	test	rax, rax
	je	.L7
	mov	rdi, rbx
	mov	r12d, -1
	call	dpp_copy_netaccesskey@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, rbx
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rax]
	call	dpp_copy_csign@PLT
	mov	esi, ebp
	mov	rdi, rbx
	call	dpp_build_conf_obj@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	rdi, rax
	call	wpabuf_len@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	wpabuf_head@PLT
	mov	edx, r12d
	mov	rdi, rbx
	mov	esi, eax
	call	dpp_parse_conf_obj@PLT
	mov	r12d, eax
.L6:
	mov	rdi, rbp
	call	wpabuf_free@PLT
	mov	QWORD PTR [rbx], 0
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR dpp_curves[rip]
	mov	QWORD PTR 24[rdi], rax
	jmp	.L5
.L7:
	mov	r12d, -1
	jmp	.L1
.L12:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L1
.L14:
	mov	edi, DWORD PTR MSG_INFO[rip]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	dpp_configurator_own_config, .-dpp_configurator_own_config
	.comm	dpp_curves,8,8
	.comm	MSG_INFO,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dpp.c_dpp_configurator_own_config.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DPP: No configurator specified\000"
	.align	2
.LC1:
	.ascii	"DPP: Unsupported curve: %s\000"
	.align	2
.LC2:
	.ascii	"DPP: Building own configuration/connector with curv"
	.ascii	"e %s\000"
	.text
	.align	2
	.global	dpp_configurator_own_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	dpp_configurator_own_config, %function
dpp_configurator_own_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	beq	.L11
	cmp	r1, #0
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	beq	.L12
	mov	r0, r1
	bl	dpp_get_curve_name
	cmp	r0, #0
	str	r0, [r4, #12]
	beq	.L13
.L5:
	ldr	r3, .L14
	ldr	r2, [r0]
	ldr	r1, .L14+4
	ldr	r0, [r3]
	bl	wpa_printf
	ldr	r0, [r4, #12]
	bl	dpp_gen_keypair
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L7
	mov	r0, r4
	bl	dpp_copy_netaccesskey
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	str	r2, [r4]
	ldr	r1, [r3]
	mov	r0, r4
	bl	dpp_copy_csign
	mov	r1, r6
	mov	r0, r4
	bl	dpp_build_conf_obj
	subs	r5, r0, #0
	mvneq	r6, #0
	beq	.L6
	bl	wpabuf_head
	mov	r6, r0
	mov	r0, r5
	bl	wpabuf_len
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	dpp_parse_conf_obj
	mov	r6, r0
.L6:
	mov	r0, r5
	bl	wpabuf_free
	mov	r3, #0
	str	r3, [r4]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	str	r0, [r4, #12]
	b	.L5
.L7:
	mvn	r6, #0
	b	.L1
.L11:
	ldr	r3, .L14
	ldr	r1, .L14+12
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r6, #0
	b	.L1
.L13:
	ldr	r3, .L14+16
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L14+20
	bl	wpa_printf
	mvn	r6, #0
	b	.L1
.L15:
	.align	2
.L14:
	.word	MSG_DEBUG
	.word	.LC2
	.word	dpp_curves
	.word	.LC0
	.word	MSG_INFO
	.word	.LC1
	.size	dpp_configurator_own_config, .-dpp_configurator_own_config
	.comm	dpp_curves,4,4
	.comm	MSG_INFO,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
