	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quote_identifier               ## -- Begin function quote_identifier
	.p2align	4, 0x90
_quote_identifier:                      ## @quote_identifier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movb	(%rdi), %dl
	leal	-97(%rdx), %eax
	cmpb	$26, %al
	setb	%al
	cmpb	$95, %dl
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	testb	%dl, %dl
	je	LBB0_1
## %bb.2:
	leaq	1(%rbx), %rcx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rcx), %edx
	incq	%rcx
	testb	%dl, %dl
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-97(%rdx), %esi
	cmpb	$26, %sil
	jb	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$95, %dl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-48(%rdx), %esi
	cmpb	$10, %sil
	jb	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpb	$34, %dl
	sete	%al
	addl	%eax, %r14d
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
LBB0_8:
	movq	_quote_all_identifiers@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_12
## %bb.9:
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movq	_ScanKeywords@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ScanKeywordLookup
	testl	%eax, %eax
	js	LBB0_19
## %bb.11:
	movq	_ScanKeywordCategories@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rax
	movq	_UNRESERVED_KEYWORD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
LBB0_12:
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%r14d, %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$3, %rdi
	callq	_palloc
	movb	$34, (%rax)
	movq	%rax, %rcx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	$34, 1(%rcx)
	addq	$2, %rcx
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	%dl, (%rcx)
	incq	%rbx
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	cmpb	$34, %dl
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	testb	%dl, %dl
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rcx
	jmp	LBB0_17
LBB0_18:
	movw	$34, 1(%rcx)
	movq	%rax, %rbx
LBB0_19:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_quote_all_identifiers,8,3      ## @quote_all_identifiers
	.comm	_ScanKeywords,4,2               ## @ScanKeywords
	.comm	_ScanKeywordCategories,8,3      ## @ScanKeywordCategories
	.comm	_UNRESERVED_KEYWORD,8,3         ## @UNRESERVED_KEYWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quote_identifier               ; -- Begin function quote_identifier
	.p2align	2
_quote_identifier:                      ; @quote_identifier
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrb	w9, [x0]
	sub	w8, w9, #97
	cmp	w9, #95
	ccmp	w8, #26, #0, ne
	cset	w8, lo
	mov	w20, #0
	cbz	w9, LBB0_3
; %bb.1:
	add	x10, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w9, #97
	sub	w12, w9, #48
	cmp	w9, #34
	cinc	w13, w20, eq
	cmp	w12, #10
	csel	w12, w8, wzr, lo
	csel	w13, w20, w13, lo
	cmp	w9, #95
	csel	w9, w8, w12, eq
	csel	w12, w20, w13, eq
	cmp	w11, #26
	csel	w8, w8, w9, lo
	csel	w20, w20, w12, lo
	ldrb	w9, [x10], #1
	cbnz	w9, LBB0_2
LBB0_3:
Lloh0:
	adrp	x9, _quote_all_identifiers@GOTPAGE
Lloh1:
	ldr	x9, [x9, _quote_all_identifiers@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_6
; %bb.4:
Lloh3:
	adrp	x1, _ScanKeywords@GOTPAGE
Lloh4:
	ldr	x1, [x1, _ScanKeywords@GOTPAGEOFF]
	mov	x0, x19
	bl	_ScanKeywordLookup
	tbnz	w0, #31, LBB0_13
; %bb.5:
Lloh5:
	adrp	x8, _ScanKeywordCategories@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ScanKeywordCategories@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
Lloh8:
	adrp	x9, _UNRESERVED_KEYWORD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UNRESERVED_KEYWORD@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
LBB0_6:
	mov	x0, x19
	bl	_strlen
	add	x8, x0, w20, sxtw
	add	x0, x8, #3
	bl	_palloc
	mov	w8, #34
	strb	w8, [x0]
	mov	x9, x0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	strb	w8, [x9, #1]
	add	x9, x9, #2
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	strb	w10, [x9]
	add	x19, x19, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19]
	cmp	w10, #34
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	w10, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x9, #1
	b	LBB0_8
LBB0_12:
	mov	w8, #34
	sturh	w8, [x9, #1]
	mov	x19, x0
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_quote_all_identifiers,8,3      ; @quote_all_identifiers
	.comm	_ScanKeywords,4,2               ; @ScanKeywords
	.comm	_ScanKeywordCategories,8,3      ; @ScanKeywordCategories
	.comm	_UNRESERVED_KEYWORD,8,3         ; @UNRESERVED_KEYWORD
.subsections_via_symbols
