	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_quote
_scan_quote:                            ## @scan_quote
	.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, %rbx
	movq	%rdi, %r14
	movb	(%rsi), %r15b
	leaq	1(%rsi), %r12
	movsbl	1(%rsi), %esi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rbx
	incq	%r12
	movsbl	1(%rbx), %esi
	movq	%r14, %rdi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_IS_EOF
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%rbx), %eax
	cmpb	%r15b, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_IS_ESC
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	2(%rbx), %esi
	addq	$2, %rbx
	movq	%r14, %rdi
	callq	_IS_EOF
	movq	%rbx, %r12
	testq	%rax, %rax
	je	LBB0_5
	jmp	LBB0_7
LBB0_6:
	cmpb	%r15b, 1(%rbx)
	leaq	2(%rbx), %rbx
	cmovneq	%r12, %rbx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scan_quote
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_quote
_scan_quote:                            ; @scan_quote
	.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	x20, x0
	ldrb	w21, [x1]
	mov	x22, x1
	ldrsb	w1, [x22, #1]!
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x19, x22
	ldrsb	w1, [x22, #1]!
	mov	x0, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_IS_EOF
	cbnz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x19, #1]
	cmp	w8, w21
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w1, w8
	mov	x0, x20
	bl	_IS_ESC
	cbz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w1, [x19, #2]!
	mov	x0, x20
	bl	_IS_EOF
	mov	x22, x19
	cbz	x0, LBB0_1
	b	LBB0_7
LBB0_6:
	ldrb	w8, [x19, #1]
	add	x9, x19, #2
	cmp	w8, w21
	csel	x19, x9, x22, eq
LBB0_7:
	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	_scan_quote
.subsections_via_symbols
