	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_dequote
_opt_dequote:                           ## @opt_dequote
	.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	%rsi, %r15
	movq	(%rdi), %rbx
	movq	$0, (%rsi)
	cmpb	$34, (%rbx)
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%rax, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%rbx), %edx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movb	%dl, (%rcx)
	incq	%rcx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	cmpb	$92, %dl
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%dl, %dl
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$34, %dl
	jne	LBB0_12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$34, 1(%rbx)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r15)
	jmp	LBB0_14
LBB0_16:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r15)
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.2(%rip), %rcx
	movq	%rcx, (%r15)
	movq	%rax, %rdi
	callq	_free
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movb	$0, (%rcx)
	incq	%rbx
	movq	%rbx, (%r14)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing start quote"

L_.str.1:                               ## @.str.1
	.asciz	"memory allocation failed"

L_.str.2:                               ## @.str.2
	.asciz	"missing end quote"

	.no_dead_strip	_opt_dequote
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_dequote
_opt_dequote:                           ; @opt_dequote
	.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
	ldr	x8, [x0]
	str	xzr, [x1]
	ldrb	w9, [x8]
	cmp	w9, #34
	b.ne	LBB0_9
; %bb.1:
	mov	x20, x0
	add	x21, x8, #1
	mov	x0, x21
	bl	_strlen
	add	x0, x0, #1
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.2:
	mov	x8, x0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, x21
	ldrb	w10, [x9, #1]!
	cmp	w10, #34
	csel	x21, x9, x21, eq
	ldrb	w9, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	strb	w9, [x8], #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21]
	cmp	w9, #92
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w9, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #34
	b.ne	LBB0_4
; %bb.8:
	strb	wzr, [x8]
	add	x8, x21, #1
	str	x8, [x20]
	b	LBB0_12
LBB0_9:
	mov	x0, #0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
	b	LBB0_12
LBB0_10:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
	b	LBB0_12
LBB0_11:
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x19]
	bl	_free
	mov	x0, #0
LBB0_12:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing start quote"

l_.str.1:                               ; @.str.1
	.asciz	"memory allocation failed"

l_.str.2:                               ; @.str.2
	.asciz	"missing end quote"

	.no_dead_strip	_opt_dequote
.subsections_via_symbols
