	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_config_parse_string        ## -- Begin function wpa_config_parse_string
	.p2align	4, 0x90
_wpa_config_parse_string:               ## @wpa_config_parse_string
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movb	(%rdi), %al
	cmpb	$80, %al
	je	LBB0_5
## %bb.1:
	cmpb	$34, %al
	jne	LBB0_9
## %bb.2:
	incq	%rbx
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_os_strrchr
	testq	%rax, %rax
	je	LBB0_23
## %bb.3:
	cmpb	$0, 1(%rax)
	jne	LBB0_23
## %bb.17:
	subq	%rbx, %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dup_binstr                     ## TAILCALL
LBB0_5:
	cmpb	$34, 1(%rbx)
	jne	LBB0_9
## %bb.6:
	addq	$2, %rbx
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_os_strrchr
	testq	%rax, %rax
	je	LBB0_23
## %bb.7:
	movq	%rax, %r12
	cmpb	$0, 1(%rax)
	jne	LBB0_23
## %bb.20:
	subq	%rbx, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_dup_binstr
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:
	movq	%rax, %rbx
	incq	%r12
	movq	%r12, %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_printf_decode
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_os_free
	jmp	LBB0_24
LBB0_9:
	movq	%rbx, %rdi
	callq	_os_strlen
	movq	%rax, %r12
	testb	$1, %r12b
	jne	LBB0_23
## %bb.10:
	shrq	%r12
	leaq	1(%r12), %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.11:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_hexstr2bin
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%r15, %rdi
LBB0_13:
	callq	_os_free
LBB0_23:
	xorl	%r15d, %r15d
LBB0_24:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movb	$0, (%r15,%r12)
	movq	%r12, (%r14)
	jmp	LBB0_24
LBB0_25:
	movq	%rbx, %rdi
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_config_parse_string        ; -- Begin function wpa_config_parse_string
	.p2align	2
_wpa_config_parse_string:               ; @wpa_config_parse_string
	.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	x19, x1
	mov	x21, x0
	ldrb	w8, [x0]
	cmp	w8, #80
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #34
	b.ne	LBB0_12
; %bb.2:
	add	x20, x21, #1
	mov	x0, x20
	mov	w1, #34
	bl	_os_strrchr
	cbz	x0, LBB0_16
; %bb.3:
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_16
; %bb.4:
	sub	x1, x0, x20
	str	x1, [x19]
	mov	x0, x20
	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
	b	_dup_binstr
LBB0_5:
	ldrb	w8, [x21, #1]
	cmp	w8, #34
	b.ne	LBB0_12
; %bb.6:
	add	x20, x21, #2
	mov	x0, x20
	mov	w1, #34
	bl	_os_strrchr
	cbz	x0, LBB0_16
; %bb.7:
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_16
; %bb.8:
	sub	x22, x0, x20
	mov	x0, x20
	mov	x1, x22
	bl	_dup_binstr
	cbz	x0, LBB0_16
; %bb.9:
	mov	x21, x0
	add	x22, x22, #1
	mov	x0, x22
	bl	_os_malloc
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_printf_decode
	str	x0, [x19]
LBB0_11:
	mov	x0, x21
	bl	_os_free
	b	LBB0_17
LBB0_12:
	mov	x0, x21
	bl	_os_strlen
	tbnz	w0, #0, LBB0_16
; %bb.13:
	lsr	x22, x0, #1
	add	x0, x22, #1
	bl	_os_malloc
	mov	x20, x0
	cbz	x0, LBB0_17
; %bb.14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_hexstr2bin
	cbz	x0, LBB0_18
; %bb.15:
	mov	x0, x20
	bl	_os_free
LBB0_16:
	mov	x20, #0
LBB0_17:
	mov	x0, x20
	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
LBB0_18:
	strb	wzr, [x20, x22]
	str	x22, [x19]
	b	LBB0_17
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
