	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getfuncname
_getfuncname:                           ## @getfuncname
	.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, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_isLua
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rbx)
	jg	LBB0_6
LBB0_2:
	addq	$-8, %rbx
	movq	%rbx, %rdi
	callq	_isLua
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_ci_func
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_currentpc
	movl	(%r12,%rax,4), %r12d
	movl	%r12d, %edi
	callq	_GET_OPCODE
	movq	_OP_CALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movl	%r12d, %edi
	callq	_GET_OPCODE
	movq	_OP_TAILCALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movl	%r12d, %edi
	callq	_GET_OPCODE
	movq	_OP_TFORLOOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_7:
	movl	%r12d, %edi
	callq	_GETARG_A
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getobjname                     ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_CALL,8,3                    ## @OP_CALL
	.comm	_OP_TAILCALL,8,3                ## @OP_TAILCALL
	.comm	_OP_TFORLOOP,8,3                ## @OP_TFORLOOP
	.no_dead_strip	_getfuncname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getfuncname
_getfuncname:                           ; @getfuncname
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_isLua
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	cmp	x8, #0
	b.gt	LBB0_7
LBB0_2:
	sub	x21, x21, #8
	mov	x0, x21
	bl	_isLua
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x21
	bl	_ci_func
	ldr	x8, [x0]
	ldr	x22, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_currentpc
	ldr	w22, [x22, x0, lsl #2]
	mov	x0, x22
	bl	_GET_OPCODE
Lloh0:
	adrp	x8, _OP_CALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_CALL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x22
	bl	_GET_OPCODE
Lloh3:
	adrp	x8, _OP_TAILCALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_TAILCALL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_GET_OPCODE
Lloh6:
	adrp	x8, _OP_TFORLOOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_TFORLOOP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x22
	bl	_GETARG_A
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	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	_getobjname
LBB0_7:
	mov	x0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_CALL,8,3                    ; @OP_CALL
	.comm	_OP_TAILCALL,8,3                ; @OP_TAILCALL
	.comm	_OP_TFORLOOP,8,3                ; @OP_TFORLOOP
	.no_dead_strip	_getfuncname
.subsections_via_symbols
