	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function traceexec
_traceexec:                             ## @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	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movq	24(%rdi), %rcx
	movq	%rsi, 24(%rdi)
	movq	_LUA_MASKCOUNT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	%rcx, %r12
	movq	%rbx, %rdi
	callq	_resethookcount
	movq	_LUA_HOOKCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_luaD_callhook
	movq	%r12, %rcx
LBB0_3:
	movq	_LUA_MASKLINE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.4:
	movq	%rcx, %r12
	movl	16(%rbx), %edi
	callq	_ci_func
	movq	(%rax), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_pcRel
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_getline
	movq	%r12, %rdi
	movl	%eax, %r12d
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.5:
	cmpq	%r15, %rdi
	jae	LBB0_8
## %bb.6:
	movq	%r13, %rsi
	callq	_pcRel
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_getline
	cmpl	%eax, %r12d
	jne	LBB0_8
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_LUA_HOOKLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaD_callhook                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_MASKCOUNT,4,2              ## @LUA_MASKCOUNT
	.comm	_LUA_HOOKCOUNT,4,2              ## @LUA_HOOKCOUNT
	.comm	_LUA_MASKLINE,4,2               ## @LUA_MASKLINE
	.comm	_LUA_HOOKLINE,4,2               ## @LUA_HOOKLINE
	.no_dead_strip	_traceexec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function traceexec
_traceexec:                             ; @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	x21, x1
	mov	x19, x0
	ldr	w22, [x0]
	ldr	x20, [x0, #24]
	str	x1, [x0, #24]
Lloh0:
	adrp	x8, _LUA_MASKCOUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_MASKCOUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_resethookcount
Lloh3:
	adrp	x8, _LUA_HOOKCOUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LUA_HOOKCOUNT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_luaD_callhook
LBB0_3:
Lloh6:
	adrp	x8, _LUA_MASKLINE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LUA_MASKLINE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.4:
	ldr	w0, [x19, #16]
	bl	_ci_func
	ldr	x23, [x0]
	mov	x0, x21
	mov	x1, x23
	bl	_pcRel
	mov	x24, x0
	mov	x0, x23
	mov	x1, x24
	bl	_getline
	mov	x22, x0
	cmp	w24, #0
	ccmp	x20, x21, #2, ne
	b.hs	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x23
	bl	_pcRel
	mov	x1, x0
	mov	x0, x23
	bl	_getline
	cmp	w22, w0
	b.ne	LBB0_7
LBB0_6:
	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_7:
Lloh9:
	adrp	x8, _LUA_HOOKLINE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LUA_HOOKLINE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	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_callhook
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_MASKCOUNT,4,2              ; @LUA_MASKCOUNT
	.comm	_LUA_HOOKCOUNT,4,2              ; @LUA_HOOKCOUNT
	.comm	_LUA_MASKLINE,4,2               ; @LUA_MASKLINE
	.comm	_LUA_HOOKLINE,4,2               ; @LUA_HOOKLINE
	.no_dead_strip	_traceexec
.subsections_via_symbols
