	.file	"extr_dpp.c_dpp_configuration_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"psk"
.LC1:
	.string	"sae"
.LC2:
	.string	"psk-sae"
.LC3:
	.string	"psk+sae"
.LC4:
	.string	"sae-dpp"
.LC5:
	.string	"dpp+sae"
.LC6:
	.string	"psk-sae-dpp"
.LC7:
	.string	"dpp+psk+sae"
.LC8:
	.string	"dpp"
	.text
	.p2align 4
	.globl	dpp_configuration_alloc
	.type	dpp_configuration_alloc, @function
dpp_configuration_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	edi, 4
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	os_zalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	esi, 32
	mov	rdi, r13
	call	os_strchr@PLT
	test	rax, rax
	je	.L3
	sub	rax, r13
	mov	rbp, rax
.L4:
	lea	rdx, .LC0[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR DPP_AKM_PSK[rip]
	mov	DWORD PTR [r12], eax
.L1:
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR DPP_AKM_SAE[rip]
	mov	DWORD PTR [r12], eax
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdx, .LC2[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	je	.L8
.L9:
	mov	eax, DWORD PTR DPP_AKM_PSK_SAE[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, r12
	xor	r12d, r12d
	call	dpp_configuration_free@PLT
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, r13
	call	os_strlen@PLT
	mov	rbp, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdx, .LC3[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	jne	.L9
	lea	rdx, .LC4[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	je	.L10
.L11:
	mov	eax, DWORD PTR DPP_AKM_SAE_DPP[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L1
.L10:
	lea	rdx, .LC5[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	jne	.L11
	lea	rdx, .LC6[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	je	.L12
.L13:
	mov	eax, DWORD PTR DPP_AKM_PSK_SAE_DPP[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L1
.L12:
	lea	rdx, .LC7[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	jne	.L13
	lea	rdx, .LC8[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	bin_str_eq@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR DPP_AKM_DPP[rip]
	mov	DWORD PTR [r12], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	dpp_configuration_alloc, .-dpp_configuration_alloc
	.comm	DPP_AKM_SAE_DPP,4,4
	.comm	DPP_AKM_SAE,4,4
	.comm	DPP_AKM_PSK_SAE_DPP,4,4
	.comm	DPP_AKM_PSK_SAE,4,4
	.comm	DPP_AKM_PSK,4,4
	.comm	DPP_AKM_DPP,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_configuration_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"psk\000"
	.align	2
.LC1:
	.ascii	"sae\000"
	.align	2
.LC2:
	.ascii	"psk-sae\000"
	.align	2
.LC3:
	.ascii	"psk+sae\000"
	.align	2
.LC4:
	.ascii	"sae-dpp\000"
	.align	2
.LC5:
	.ascii	"dpp+sae\000"
	.align	2
.LC6:
	.ascii	"psk-sae-dpp\000"
	.align	2
.LC7:
	.ascii	"dpp+psk+sae\000"
	.align	2
.LC8:
	.ascii	"dpp\000"
	.text
	.align	2
	.global	dpp_configuration_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	dpp_configuration_alloc, %function
dpp_configuration_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r0, #4
	bl	os_zalloc
	subs	r5, r0, #0
	beq	.L2
	mov	r1, #32
	mov	r0, r6
	bl	os_strchr
	subs	r4, r0, #0
	subne	r4, r4, r6
	beq	.L22
.L4:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23
	bl	bin_str_eq
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L23+4
	ldr	r3, [r3]
	str	r3, [r5]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+8
	bl	bin_str_eq
	cmp	r0, #0
	beq	.L7
	ldr	r3, .L23+12
	mov	r0, r5
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L7:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+16
	bl	bin_str_eq
	cmp	r0, #0
	beq	.L8
.L9:
	ldr	r3, .L23+20
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L2:
	mov	r0, r5
	mov	r5, #0
	bl	dpp_configuration_free
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L22:
	mov	r0, r6
	bl	os_strlen
	mov	r4, r0
	b	.L4
.L8:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+24
	bl	bin_str_eq
	cmp	r0, #0
	bne	.L9
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+28
	bl	bin_str_eq
	cmp	r0, #0
	beq	.L10
.L11:
	ldr	r3, .L23+32
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L10:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+36
	bl	bin_str_eq
	cmp	r0, #0
	bne	.L11
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+40
	bl	bin_str_eq
	cmp	r0, #0
	beq	.L12
.L13:
	ldr	r3, .L23+44
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L12:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+48
	bl	bin_str_eq
	cmp	r0, #0
	bne	.L13
	mov	r1, r4
	mov	r0, r6
	ldr	r2, .L23+52
	bl	bin_str_eq
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L23+56
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	DPP_AKM_PSK
	.word	.LC1
	.word	DPP_AKM_SAE
	.word	.LC2
	.word	DPP_AKM_PSK_SAE
	.word	.LC3
	.word	.LC4
	.word	DPP_AKM_SAE_DPP
	.word	.LC5
	.word	.LC6
	.word	DPP_AKM_PSK_SAE_DPP
	.word	.LC7
	.word	.LC8
	.word	DPP_AKM_DPP
	.size	dpp_configuration_alloc, .-dpp_configuration_alloc
	.comm	DPP_AKM_SAE_DPP,4,4
	.comm	DPP_AKM_SAE,4,4
	.comm	DPP_AKM_PSK_SAE_DPP,4,4
	.comm	DPP_AKM_PSK_SAE,4,4
	.comm	DPP_AKM_PSK,4,4
	.comm	DPP_AKM_DPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
