	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_configuration_parse
_dpp_configuration_parse:               ## @dpp_configuration_parse
	.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	%rsi, %r12
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	addq	$10, %rax
	movq	%rax, %rdi
	callq	_dpp_configuration_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_47
LBB0_5:
	addq	$9, %rax
	movq	%rax, %rdi
	callq	_dpp_configuration_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r15
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_45
## %bb.8:
	movq	%rax, %rbx
	addq	$6, %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	subq	%rbx, %rax
	jmp	LBB0_14
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_13:
	movq	%rbx, %rdi
	callq	_os_strlen
LBB0_14:
	movq	%rax, %rdx
	shrq	%rdx
	movq	%rdx, (%r15)
	cmpq	$17, %rax
	ja	LBB0_45
## %bb.16:
	movq	8(%r15), %rsi
	movq	%rbx, %rdi
	callq	_hexstr2bin
	testq	%rax, %rax
	js	LBB0_45
## %bb.17:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_26
## %bb.18:
	movq	%rax, %r14
	addq	$6, %r14
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	%rax, %rbx
	subq	%r14, %rbx
	jmp	LBB0_22
LBB0_21:
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%rax, %rbx
LBB0_22:
	leaq	-128(%rbx), %rax
	cmpq	$-112, %rax
	jb	LBB0_45
## %bb.24:
	shrq	%rbx
	leaq	1(%rbx), %rdi
	callq	_os_zalloc
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_45
## %bb.25:
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_hexstr2bin
	testq	%rax, %rax
	js	LBB0_45
LBB0_26:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:
	addq	$5, %rax
	movq	16(%r15), %rsi
	movq	_PMK_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rax, %rdi
	callq	_hexstr2bin
	testq	%rax, %rax
	js	LBB0_45
## %bb.28:
	movl	$1, 24(%r15)
LBB0_29:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_37
## %bb.30:
	movq	%rax, %r14
	addq	$10, %r14
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_34
## %bb.31:
	movq	%rax, %rbx
	subq	%r14, %rbx
	jmp	LBB0_35
LBB0_34:
	movq	%r14, %rdi
	callq	_os_strlen
	movq	%rax, %rbx
LBB0_35:
	leaq	1(%rbx), %rdi
	callq	_os_malloc
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_45
## %bb.36:
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_os_memcpy
	movq	32(%r15), %rax
	movb	$0, (%rax,%rbx)
LBB0_37:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_os_strstr
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_40
## %bb.38:
	addq	$8, %rax
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	testq	%rax, %rax
	jle	LBB0_45
## %bb.39:
	movq	%rax, 40(%r15)
LBB0_40:
	movq	%r15, %rdi
	callq	_dpp_configuration_valid
	testl	%eax, %eax
	je	LBB0_45
## %bb.41:
	movq	%r13, 8(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	xorl	%r13d, %r13d
	jmp	LBB0_47
LBB0_45:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_46:
	movq	%r13, %rdi
	callq	_dpp_configuration_free
	movq	%rbx, %rdi
	callq	_dpp_configuration_free
	movl	$-1, %r13d
LBB0_47:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" conf=sta-"

L_.str.1:                               ## @.str.1
	.asciz	" conf=ap-"

L_.str.2:                               ## @.str.2
	.asciz	" ssid="

L_.str.3:                               ## @.str.3
	.asciz	" pass="

L_.str.4:                               ## @.str.4
	.asciz	" psk="

	.comm	_PMK_LEN,8,3                    ## @PMK_LEN
L_.str.5:                               ## @.str.5
	.asciz	" group_id="

L_.str.6:                               ## @.str.6
	.asciz	" expiry="

	.no_dead_strip	_dpp_configuration_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_configuration_parse
_dpp_configuration_parse:               ; @dpp_configuration_parse
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_4
; %bb.1:
	add	x0, x0, #10
	bl	_dpp_configuration_alloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x21, #0
	mov	x23, x19
	b	LBB0_8
LBB0_4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_37
; %bb.5:
	mov	x19, #0
LBB0_6:
	add	x0, x0, #9
	bl	_dpp_configuration_alloc
	cbz	x0, LBB0_11
; %bb.7:
	mov	x23, x0
	mov	x21, x0
LBB0_8:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_36
; %bb.9:
	add	x24, x0, #6
	mov	x0, x24
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_12
; %bb.10:
	sub	x0, x0, x24
	b	LBB0_13
LBB0_11:
	mov	x21, #0
	b	LBB0_36
LBB0_12:
	mov	x0, x24
	bl	_os_strlen
LBB0_13:
	lsr	x2, x0, #1
	str	x2, [x23]
	cmp	x0, #17
	b.hi	LBB0_36
; %bb.14:
	ldr	x1, [x23, #8]
	mov	x0, x24
	bl	_hexstr2bin
	tbnz	x0, #63, LBB0_36
; %bb.15:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_22
; %bb.16:
	add	x24, x0, #6
	mov	x0, x24
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_18
; %bb.17:
	sub	x0, x0, x24
	b	LBB0_19
LBB0_18:
	mov	x0, x24
	bl	_os_strlen
LBB0_19:
	sub	x8, x0, #128
	cmn	x8, #112
	b.lo	LBB0_36
; %bb.20:
	lsr	x25, x0, #1
	add	x0, x25, #1
	bl	_os_zalloc
	str	x0, [x23, #48]
	cbz	x0, LBB0_36
; %bb.21:
	mov	x1, x0
	mov	x0, x24
	mov	x2, x25
	bl	_hexstr2bin
	tbnz	x0, #63, LBB0_36
LBB0_22:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_25
; %bb.23:
	add	x0, x0, #5
	ldr	x1, [x23, #16]
Lloh12:
	adrp	x8, _PMK_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PMK_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
	bl	_hexstr2bin
	tbnz	x0, #63, LBB0_36
; %bb.24:
	mov	w8, #1
	str	w8, [x23, #24]
LBB0_25:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_31
; %bb.26:
	add	x24, x0, #10
	mov	x0, x24
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_28
; %bb.27:
	sub	x25, x0, x24
	b	LBB0_29
LBB0_28:
	mov	x0, x24
	bl	_os_strlen
	mov	x25, x0
LBB0_29:
	add	x0, x25, #1
	bl	_os_malloc
	str	x0, [x23, #32]
	cbz	x0, LBB0_36
; %bb.30:
	mov	x1, x24
	mov	x2, x25
	bl	_os_memcpy
	ldr	x8, [x23, #32]
	strb	wzr, [x8, x25]
LBB0_31:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_os_strstr
	cbz	x0, LBB0_34
; %bb.32:
	add	x0, x0, #8
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	cmp	x0, #1
	b.lt	LBB0_36
; %bb.33:
	str	x0, [x23, #40]
LBB0_34:
	mov	x0, x23
	bl	_dpp_configuration_valid
	cbz	w0, LBB0_36
; %bb.35:
	mov	w0, #0
	stp	x21, x19, [x20]
	b	LBB0_37
LBB0_36:
	mov	x0, x19
	bl	_dpp_configuration_free
	mov	x0, x21
	bl	_dpp_configuration_free
	mov	w0, #-1
LBB0_37:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" conf=sta-"

l_.str.1:                               ; @.str.1
	.asciz	" conf=ap-"

l_.str.2:                               ; @.str.2
	.asciz	" ssid="

l_.str.3:                               ; @.str.3
	.asciz	" pass="

l_.str.4:                               ; @.str.4
	.asciz	" psk="

	.comm	_PMK_LEN,8,3                    ; @PMK_LEN
l_.str.5:                               ; @.str.5
	.asciz	" group_id="

l_.str.6:                               ; @.str.6
	.asciz	" expiry="

	.no_dead_strip	_dpp_configuration_parse
.subsections_via_symbols
