	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_configuration_alloc        ## -- Begin function dpp_configuration_alloc
	.p2align	4, 0x90
_dpp_configuration_alloc:               ## @dpp_configuration_alloc
	.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
	movq	%rdi, %r14
	movl	$4, %edi
	callq	_os_zalloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	subq	%r14, %rbx
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%rax, %rbx
LBB0_4:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_DPP_AKM_PSK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_DPP_AKM_SAE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	_DPP_AKM_PSK_SAE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_21
LBB0_12:
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	je	LBB0_15
LBB0_14:
	movq	_DPP_AKM_SAE_DPP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_15:
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	leaq	L_.str.7(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	je	LBB0_18
LBB0_17:
	movq	_DPP_AKM_PSK_SAE_DPP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_18:
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bin_str_eq
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_DPP_AKM_DPP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_20:
	movq	%r15, %rdi
	callq	_dpp_configuration_free
	xorl	%r15d, %r15d
LBB0_21:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"psk"

	.comm	_DPP_AKM_PSK,4,2                ## @DPP_AKM_PSK
L_.str.1:                               ## @.str.1
	.asciz	"sae"

	.comm	_DPP_AKM_SAE,4,2                ## @DPP_AKM_SAE
L_.str.2:                               ## @.str.2
	.asciz	"psk-sae"

L_.str.3:                               ## @.str.3
	.asciz	"psk+sae"

	.comm	_DPP_AKM_PSK_SAE,4,2            ## @DPP_AKM_PSK_SAE
L_.str.4:                               ## @.str.4
	.asciz	"sae-dpp"

L_.str.5:                               ## @.str.5
	.asciz	"dpp+sae"

	.comm	_DPP_AKM_SAE_DPP,4,2            ## @DPP_AKM_SAE_DPP
L_.str.6:                               ## @.str.6
	.asciz	"psk-sae-dpp"

L_.str.7:                               ## @.str.7
	.asciz	"dpp+psk+sae"

	.comm	_DPP_AKM_PSK_SAE_DPP,4,2        ## @DPP_AKM_PSK_SAE_DPP
L_.str.8:                               ## @.str.8
	.asciz	"dpp"

	.comm	_DPP_AKM_DPP,4,2                ## @DPP_AKM_DPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_configuration_alloc        ; -- Begin function dpp_configuration_alloc
	.p2align	2
_dpp_configuration_alloc:               ; @dpp_configuration_alloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	mov	w0, #4
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_20
; %bb.1:
	mov	x0, x20
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_3
; %bb.2:
	sub	x21, x0, x20
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_os_strlen
	mov	x21, x0
LBB0_4:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbz	x0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _DPP_AKM_PSK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DPP_AKM_PSK@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbz	x0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _DPP_AKM_SAE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DPP_AKM_SAE@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbnz	x0, LBB0_10
; %bb.9:
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbz	x0, LBB0_12
LBB0_10:
Lloh12:
	adrp	x8, _DPP_AKM_PSK_SAE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DPP_AKM_PSK_SAE@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_21
LBB0_12:
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbnz	x0, LBB0_14
; %bb.13:
Lloh16:
	adrp	x2, l_.str.5@PAGE
Lloh17:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbz	x0, LBB0_15
LBB0_14:
Lloh18:
	adrp	x8, _DPP_AKM_SAE_DPP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DPP_AKM_SAE_DPP@GOTPAGEOFF]
	b	LBB0_11
LBB0_15:
Lloh20:
	adrp	x2, l_.str.6@PAGE
Lloh21:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbnz	x0, LBB0_17
; %bb.16:
Lloh22:
	adrp	x2, l_.str.7@PAGE
Lloh23:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbz	x0, LBB0_18
LBB0_17:
Lloh24:
	adrp	x8, _DPP_AKM_PSK_SAE_DPP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DPP_AKM_PSK_SAE_DPP@GOTPAGEOFF]
	b	LBB0_11
LBB0_18:
Lloh26:
	adrp	x2, l_.str.8@PAGE
Lloh27:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_bin_str_eq
	cbz	x0, LBB0_20
; %bb.19:
Lloh28:
	adrp	x8, _DPP_AKM_DPP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DPP_AKM_DPP@GOTPAGEOFF]
	b	LBB0_11
LBB0_20:
	mov	x0, x19
	bl	_dpp_configuration_free
	mov	x19, #0
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.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 AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"psk"

	.comm	_DPP_AKM_PSK,4,2                ; @DPP_AKM_PSK
l_.str.1:                               ; @.str.1
	.asciz	"sae"

	.comm	_DPP_AKM_SAE,4,2                ; @DPP_AKM_SAE
l_.str.2:                               ; @.str.2
	.asciz	"psk-sae"

l_.str.3:                               ; @.str.3
	.asciz	"psk+sae"

	.comm	_DPP_AKM_PSK_SAE,4,2            ; @DPP_AKM_PSK_SAE
l_.str.4:                               ; @.str.4
	.asciz	"sae-dpp"

l_.str.5:                               ; @.str.5
	.asciz	"dpp+sae"

	.comm	_DPP_AKM_SAE_DPP,4,2            ; @DPP_AKM_SAE_DPP
l_.str.6:                               ; @.str.6
	.asciz	"psk-sae-dpp"

l_.str.7:                               ; @.str.7
	.asciz	"dpp+psk+sae"

	.comm	_DPP_AKM_PSK_SAE_DPP,4,2        ; @DPP_AKM_PSK_SAE_DPP
l_.str.8:                               ; @.str.8
	.asciz	"dpp"

	.comm	_DPP_AKM_DPP,4,2                ; @DPP_AKM_DPP
.subsections_via_symbols
