	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_evaluate_operand            ## -- Begin function rc_evaluate_operand
	.p2align	4, 0x90
_rc_evaluate_operand:                   ## @rc_evaluate_operand
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	xorl	%ebx, %ebx
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_13
## %bb.1:
	movq	%rcx, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	16(%rdi), %rax
	movl	8(%rax), %ebx
	jmp	LBB0_13
LBB0_3:
	testq	%r14, %r14
	je	LBB0_13
## %bb.4:
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	_LUA_REGISTRYINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rdi), %edx
	movq	%r14, %rdi
	callq	_lua_rawgeti
	movq	_rc_luapeek@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lua_pushcfunction
	movl	%r12d, -40(%rbp)
	movq	%r15, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lua_pushlightuserdata
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$2, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_lua_pcall
	movq	_LUA_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_isboolean
	movq	%r14, %rdi
	movl	$-1, %esi
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	callq	_lua_toboolean
	jmp	LBB0_8
LBB0_11:
	movq	16(%rdi), %rax
	movl	4(%rax), %ebx
	jmp	LBB0_13
LBB0_2:
	movl	8(%rdi), %ebx
	jmp	LBB0_13
LBB0_10:
	movq	16(%rdi), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
LBB0_7:
	callq	_lua_tonumber
LBB0_8:
	movl	%eax, %ebx
LBB0_9:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_lua_pop
LBB0_13:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_2
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_LUA_REGISTRYINDEX,4,2          ## @LUA_REGISTRYINDEX
	.comm	_rc_luapeek,4,2                 ## @rc_luapeek
	.comm	_LUA_OK,4,2                     ## @LUA_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_evaluate_operand            ; -- Begin function rc_evaluate_operand
	.p2align	2
_rc_evaluate_operand:                   ; @rc_evaluate_operand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	w20, #0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_14
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x0, #16]
	ldr	w20, [x8, #8]
	b	LBB0_14
LBB0_3:
	mov	x19, x3
	cbz	x3, LBB0_10
; %bb.4:
	mov	x21, x2
	mov	x22, x1
Lloh2:
	adrp	x8, _LUA_REGISTRYINDEX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LUA_REGISTRYINDEX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x0, #24]
	mov	x0, x19
	bl	_lua_rawgeti
Lloh5:
	adrp	x8, _rc_luapeek@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rc_luapeek@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lua_pushcfunction
	str	w22, [sp, #8]
	str	x21, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_lua_pushlightuserdata
	mov	x0, x19
	mov	w1, #2
	mov	w2, #1
	mov	w3, #0
	bl	_lua_pcall
	mov	w20, #0
Lloh8:
	adrp	x8, _LUA_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LUA_OK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.5:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isboolean
	cbz	w0, LBB0_11
; %bb.6:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_toboolean
	b	LBB0_12
LBB0_7:
	ldr	x8, [x0, #16]
	ldr	w20, [x8, #4]
	b	LBB0_14
LBB0_8:
	ldr	w20, [x0, #8]
	b	LBB0_14
LBB0_9:
	ldr	x8, [x0, #16]
	ldr	w20, [x8]
	b	LBB0_14
LBB0_10:
	mov	w20, #0
	b	LBB0_14
LBB0_11:
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tonumber
LBB0_12:
	mov	x20, x0
LBB0_13:
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_LUA_REGISTRYINDEX,4,2          ; @LUA_REGISTRYINDEX
	.comm	_rc_luapeek,4,2                 ; @rc_luapeek
	.comm	_LUA_OK,4,2                     ; @LUA_OK
.subsections_via_symbols
