	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaG_traceexec                 ## -- Begin function luaG_traceexec
	.p2align	4, 0x90
_luaG_traceexec:                        ## @luaG_traceexec
	.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, %r12
	movq	40(%rdi), %r14
	movl	(%rdi), %ebx
	decq	8(%rdi)
	sete	%al
	movq	_LUA_MASKCOUNT@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	setne	%r15b
	andb	%al, %r15b
	je	LBB0_1
## %bb.4:
	movq	%r12, %rdi
	callq	_resethookcount
	movl	(%r14), %eax
	movq	_CIST_HOOKYIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.5:
	movq	_LUA_HOOKCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_luaD_hook
	movq	_LUA_MASKLINE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_6
## %bb.14:
	movq	16(%r14), %rax
	movq	%rax, 16(%r12)
	movq	24(%r12), %rsi
	movq	_LUA_YIELD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_15
	jmp	LBB0_12
LBB0_1:
	movq	_LUA_MASKLINE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.2:
	movl	(%r14), %eax
	movq	_CIST_HOOKYIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_6
LBB0_3:
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	callq	_ci_func
	movq	(%rax), %rbx
	movq	16(%r14), %rdi
	movq	%rbx, %rsi
	callq	_pcRel
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_getfuncline
	movl	%eax, %edx
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.7:
	movq	16(%r12), %rdi
	cmpq	%rdi, 16(%r14)
	jle	LBB0_9
## %bb.8:
	movq	%rbx, %rsi
	movl	%edx, %r13d
	callq	_pcRel
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_getfuncline
	movl	%r13d, %edx
	cmpl	%eax, %r13d
	je	LBB0_10
LBB0_9:
	movq	_LUA_HOOKLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_luaD_hook
LBB0_10:
	movq	16(%r14), %rax
	movq	%rax, 16(%r12)
	movq	24(%r12), %rsi
	movq	_LUA_YIELD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_15
## %bb.11:
	testb	%r15b, %r15b
	je	LBB0_13
LBB0_12:
	movq	$1, 8(%r12)
LBB0_13:
	decq	%rax
	movq	%rax, 16(%r14)
	movq	_CIST_HOOKYIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	32(%r12), %rax
	decq	%rax
	movq	%rax, 8(%r14)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaD_throw                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_MASKCOUNT,4,2              ## @LUA_MASKCOUNT
	.comm	_LUA_MASKLINE,4,2               ## @LUA_MASKLINE
	.comm	_CIST_HOOKYIELD,4,2             ## @CIST_HOOKYIELD
	.comm	_LUA_HOOKCOUNT,4,2              ## @LUA_HOOKCOUNT
	.comm	_LUA_HOOKLINE,4,2               ## @LUA_HOOKLINE
	.comm	_LUA_YIELD,8,3                  ## @LUA_YIELD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaG_traceexec                 ; -- Begin function luaG_traceexec
	.p2align	2
_luaG_traceexec:                        ; @luaG_traceexec
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x19, [x0, #40]
	ldr	w21, [x0]
	ldr	x8, [x0, #8]
	sub	x8, x8, #1
	str	x8, [x0, #8]
Lloh0:
	adrp	x9, _LUA_MASKCOUNT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LUA_MASKCOUNT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w21
	ccmp	x8, #0, #0, ne
	cset	w24, eq
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_resethookcount
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _CIST_HOOKYIELD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CIST_HOOKYIELD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _LUA_HOOKCOUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LUA_HOOKCOUNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	bl	_luaD_hook
Lloh9:
	adrp	x8, _LUA_MASKLINE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LUA_MASKLINE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_8
; %bb.3:
	ldr	x8, [x19, #16]
	str	x8, [x20, #16]
	ldr	x1, [x20, #24]
Lloh12:
	adrp	x9, _LUA_YIELD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LUA_YIELD@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x1, x9
	b.ne	LBB0_7
	b	LBB0_14
LBB0_4:
Lloh15:
	adrp	x8, _LUA_MASKLINE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LUA_MASKLINE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.5:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _CIST_HOOKYIELD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CIST_HOOKYIELD@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_6:
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	bl	_ci_func
	ldr	x22, [x0]
	ldr	x0, [x19, #16]
	mov	x1, x22
	bl	_pcRel
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_getfuncline
	mov	x21, x0
	cbz	w23, LBB0_11
; %bb.9:
	ldr	x8, [x19, #16]
	ldr	x0, [x20, #16]
	cmp	x8, x0
	b.le	LBB0_11
; %bb.10:
	mov	x1, x22
	bl	_pcRel
	mov	x1, x0
	mov	x0, x22
	bl	_getfuncline
	cmp	w21, w0
	b.eq	LBB0_12
LBB0_11:
Lloh21:
	adrp	x8, _LUA_HOOKLINE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LUA_HOOKLINE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_luaD_hook
LBB0_12:
	ldr	x8, [x19, #16]
	str	x8, [x20, #16]
	ldr	x1, [x20, #24]
Lloh24:
	adrp	x9, _LUA_YIELD@GOTPAGE
Lloh25:
	ldr	x9, [x9, _LUA_YIELD@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x1, x9
	b.ne	LBB0_7
; %bb.13:
	cbz	w24, LBB0_15
LBB0_14:
	mov	w9, #1
	str	x9, [x20, #8]
LBB0_15:
	sub	x8, x8, #1
Lloh27:
	adrp	x9, _CIST_HOOKYIELD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CIST_HOOKYIELD@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
	ldr	x9, [x20, #32]
	sub	x9, x9, #1
	stp	x9, x8, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_luaD_throw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_MASKCOUNT,4,2              ; @LUA_MASKCOUNT
	.comm	_LUA_MASKLINE,4,2               ; @LUA_MASKLINE
	.comm	_CIST_HOOKYIELD,4,2             ; @CIST_HOOKYIELD
	.comm	_LUA_HOOKCOUNT,4,2              ; @LUA_HOOKCOUNT
	.comm	_LUA_HOOKLINE,4,2               ; @LUA_HOOKLINE
	.comm	_LUA_YIELD,8,3                  ; @LUA_YIELD
.subsections_via_symbols
