	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sq_dequote_step
_sq_dequote_step:                       ## @sq_dequote_step
	.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
	cmpb	$39, (%rdi)
	jne	LBB0_18
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdi, %r12
	movq	%rdi, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%al, (%r12)
	incq	%r12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %eax
	cmpb	$39, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%al, %al
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	2(%rbx), %eax
	cmpl	$92, %eax
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movsbl	3(%rbx), %edi
	callq	_need_bs_quote
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$39, 4(%rbx)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	3(%rbx), %eax
	addq	$4, %rbx
	jmp	LBB0_5
LBB0_7:
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movb	$0, (%r12)
	testq	%r14, %r14
	je	LBB0_19
## %bb.9:
	xorl	%ebx, %ebx
	movq	%rbx, (%r14)
	jmp	LBB0_19
LBB0_13:
	testq	%r14, %r14
	je	LBB0_18
## %bb.14:
	addq	$2, %rbx
	movsbl	(%rbx), %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testl	%eax, %eax
	jne	LBB0_15
## %bb.16:
	movb	$0, (%r12)
	movq	%rbx, (%r14)
	jmp	LBB0_19
LBB0_18:
	xorl	%r15d, %r15d
LBB0_19:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sq_dequote_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sq_dequote_step
_sq_dequote_step:                       ; @sq_dequote_step
	.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
	ldrb	w8, [x0]
	cmp	w8, #39
	b.ne	LBB0_16
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x21, x0
	mov	x22, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_16
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x9
	strb	w8, [x21], #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x22
	ldrb	w8, [x9, #1]!
	cmp	w8, #39
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w8, [x22, #2]
	cmp	w8, #92
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x22, #3]
	bl	_need_bs_quote
	cbz	w0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, x22
	ldrb	w8, [x9, #4]!
	cmp	w8, #39
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22, #3]
	b	LBB0_3
LBB0_9:
	cbnz	w8, LBB0_12
; %bb.10:
	strb	wzr, [x21]
	cbz	x20, LBB0_17
; %bb.11:
	mov	x22, #0
	str	xzr, [x20]
	b	LBB0_17
LBB0_12:
	cbz	x20, LBB0_16
; %bb.13:
	add	x22, x22, #2
	ldrsb	w0, [x22]
	bl	_isspace
	cbz	w0, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x22, #1]!
	bl	_isspace
	cbnz	w0, LBB0_14
; %bb.15:
	strb	wzr, [x21]
	str	x22, [x20]
	b	LBB0_17
LBB0_16:
	mov	x19, #0
LBB0_17:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sq_dequote_step
.subsections_via_symbols
