	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_string_literal
_parse_string_literal:                  ## @parse_string_literal
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	addq	$8, %r15
	movq	%r15, (%rdi)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rdi), %r8
	cmpq	%r8, %r15
	jae	LBB0_1
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	%r15, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rbx
	cmpq	%rdx, %rbx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	cmpq	$92, %rbx
	sete	%dil
	leaq	8(%rcx,%rdi,8), %rcx
	cmoveq	%r9, %rax
	movq	%rcx, (%r14)
	cmpq	%r8, %rcx
	jb	LBB0_3
LBB0_5:
	cmpq	%r8, %rcx
	je	LBB0_6
LBB0_8:
	movq	%rsi, %rbx
	movq	%rcx, %r13
	subq	%r15, %r13
	movq	%r13, %rdx
	sarq	$3, %rdx
	movq	%rdx, -48(%rbp)
	addq	$8, %rcx
	movq	%rcx, (%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_parser_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_unescape
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	movq	-48(%rbp), %rdx
	jmp	LBB0_14
LBB0_1:
	movq	%r15, %rcx
	cmpq	%r8, %rcx
	jne	LBB0_8
LBB0_6:
	movq	_JS_E_UNTERMINATED_STRING@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movq	%r15, %r12
LBB0_14:
	movl	16(%r14), %edi
	movq	%r12, %rsi
	callq	_compiler_alloc_string_len
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:
	movq	_tStringLiteral@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_11:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lex_error                      ## TAILCALL
LBB0_15:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_19:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	_E_FAIL@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lex_error
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_JS_E_UNTERMINATED_STRING,4,2   ## @JS_E_UNTERMINATED_STRING
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unescape failed\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
	.comm	_tStringLiteral,4,2             ## @tStringLiteral
	.no_dead_strip	_parse_string_literal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_string_literal
_parse_string_literal:                  ; @parse_string_literal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	x8, x9, [x0]
	add	x21, x8, #8
	str	x21, [x0]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x21, x9
	b.hs	LBB0_11
; %bb.1:
Lloh3:
	adrp	x10, _TRUE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x10]
	mov	w12, #8
	mov	w13, #16
	mov	x10, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x10]
	cmp	x14, x2
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x14, #92
	csel	x14, x13, x12, eq
	csel	x8, x11, x8, eq
	add	x10, x10, x14
	cmp	x10, x9
	str	x10, [x19]
	b.lo	LBB0_2
LBB0_4:
	cmp	x10, x9
	b.eq	LBB0_12
LBB0_5:
	sub	x23, x10, x21
	asr	x2, x23, #3
	str	x2, [sp, #8]
	add	x9, x10, #8
	str	x9, [x19]
	cbz	x8, LBB0_9
; %bb.6:
	mov	x0, x19
	mov	x1, x23
	bl	_parser_alloc
	cbz	x0, LBB0_13
; %bb.7:
	mov	x22, x0
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x22
	bl	_unescape
	cbz	w0, LBB0_16
; %bb.8:
	ldr	x2, [sp, #8]
	mov	x21, x22
LBB0_9:
	ldr	w0, [x19, #16]
	mov	x1, x21
	bl	_compiler_alloc_string_len
	str	x0, [x20]
	cbz	x0, LBB0_15
; %bb.10:
Lloh6:
	adrp	x8, _tStringLiteral@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tStringLiteral@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_18
LBB0_11:
	mov	x10, x21
	cmp	x10, x9
	b.ne	LBB0_5
LBB0_12:
Lloh9:
	adrp	x8, _JS_E_UNTERMINATED_STRING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JS_E_UNTERMINATED_STRING@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh11:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
LBB0_14:
	ldr	w1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_lex_error
LBB0_15:
Lloh13:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh17:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lex_error
LBB0_18:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_JS_E_UNTERMINATED_STRING,4,2   ; @JS_E_UNTERMINATED_STRING
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unescape failed\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
	.comm	_tStringLiteral,4,2             ; @tStringLiteral
	.no_dead_strip	_parse_string_literal
.subsections_via_symbols
