	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function luaO_chunkid
_luaO_chunkid:                          ## @luaO_chunkid
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movb	(%rsi), %al
	cmpb	$64, %al
	je	LBB0_3
## %bb.1:
	cmpb	$61, %al
	jne	LBB0_7
## %bb.2:
	incq	%r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strncpy
	movb	$0, -1(%rbx,%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	incq	%r15
	addq	$-8, %rbx
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcpy
	subq	%rbx, %r12
	jbe	LBB0_5
## %bb.4:
	addq	%r12, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcat
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcspn
	addq	$-17, %rbx
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcpy
	cmpb	$0, (%r15,%rbx)
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strncat
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	jmp	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
LBB0_10:
	callq	_strcat
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcat                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"..."

L_.str.2:                               ## @.str.2
	.asciz	"\n\r"

L_.str.3:                               ## @.str.3
	.asciz	"[string \""

L_.str.4:                               ## @.str.4
	.asciz	"\"]"

	.no_dead_strip	_luaO_chunkid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function luaO_chunkid
_luaO_chunkid:                          ; @luaO_chunkid
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldrb	w8, [x1]
	cmp	w8, #64
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #61
	b.ne	LBB0_6
; %bb.2:
	add	x1, x20, #1
	mov	x0, x19
	mov	x2, x21
	bl	_strncpy
	add	x8, x21, x19
	sturb	wzr, [x8, #-1]
	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
LBB0_3:
	add	x20, x20, #1
	sub	x22, x21, #8
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	subs	x8, x21, x22
	b.ls	LBB0_5
; %bb.4:
	add	x20, x20, x8
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcat
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	b	LBB0_10
LBB0_6:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcspn
	sub	x8, x21, #17
	cmp	x0, x8
	csel	x21, x0, x8, lo
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	ldrb	w8, [x20, x21]
	cbz	w8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_strncat
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x20
LBB0_9:
	bl	_strcat
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
LBB0_10:
	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
	b	_strcat
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"..."

l_.str.2:                               ; @.str.2
	.asciz	"\n\r"

l_.str.3:                               ; @.str.3
	.asciz	"[string \""

l_.str.4:                               ; @.str.4
	.asciz	"\"]"

	.no_dead_strip	_luaO_chunkid
.subsections_via_symbols
