	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addquoted
_addquoted:                             ## @addquoted
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$34, %esi
	callq	_luaL_addchar
	testq	%r14, %r14
	je	LBB0_10
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	$92, %esi
	callq	_luaL_addchar
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%rbx,%r12), %esi
	movq	%r15, %rdi
	callq	_luaL_addchar
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%r12), %eax
	cmpb	$10, %al
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$92, %al
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$34, %al
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %edi
	callq	_uchar
	movq	%rax, %rdi
	callq	_iscntrl
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	1(%rbx,%r12), %edi
	callq	_uchar
	movq	%rax, %rdi
	callq	_isdigit
	movl	%eax, %r13d
	movsbl	(%rbx,%r12), %edi
	callq	_uchar
	testl	%r13d, %r13d
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str(%rip), %rcx
	cmoveq	%rcx, %rdx
	leaq	-58(%rbp), %r13
	movq	%r13, %rdi
	movl	$10, %esi
	movl	%eax, %ecx
	callq	_l_sprintf
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_luaL_addstring
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	movl	$34, %esi
	callq	_luaL_addchar
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\%d"

L_.str.1:                               ## @.str.1
	.asciz	"\\%03d"

	.no_dead_strip	_addquoted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addquoted
_addquoted:                             ; @addquoted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w1, #34
	bl	_luaL_addchar
	cbz	x20, LBB0_9
; %bb.1:
Lloh3:
	adrp	x23, l_.str.1@PAGE
Lloh4:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh5:
	adrp	x24, l_.str@PAGE
Lloh6:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #92
	bl	_luaL_addchar
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w1, [x21]
	mov	x0, x19
	bl	_luaL_addchar
	add	x21, x21, #1
	cbz	x20, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	ldrb	w8, [x21]
	cmp	w8, #10
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #92
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #34
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w8
	bl	_uchar
	bl	_iscntrl
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x21, #1]
	bl	_uchar
	bl	_isdigit
	mov	x22, x0
	ldrsb	w0, [x21]
	bl	_uchar
	mov	x3, x0
	cmp	w22, #0
	csel	x2, x24, x23, eq
	add	x0, sp, #14
	mov	w1, #10
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_l_sprintf
	add	x1, sp, #14
	mov	x0, x19
	bl	_luaL_addstring
	add	x21, x21, #1
	cbnz	x20, LBB0_4
LBB0_9:
	mov	x0, x19
	mov	w1, #34
	bl	_luaL_addchar
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\%d"

l_.str.1:                               ; @.str.1
	.asciz	"\\%03d"

	.no_dead_strip	_addquoted
.subsections_via_symbols
