	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc_parse_operand_lua
_rc_parse_operand_lua:                  ## @rc_parse_operand_lua
	.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), %r13
	movq	_RC_INVALID_LUA_OPERAND@GOTPCREL(%rip), %r15
	cmpb	$64, (%r13)
	jne	LBB0_12
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	incq	%r13
	movsbl	(%r13), %edi
	callq	_isalpha
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13,%rbx), %edi
	callq	_isalnum
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$95, (%r13,%rbx)
	je	LBB0_5
## %bb.6:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.7:
	movl	8(%r12), %esi
	callq	_lua_istable
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movq	(%r12), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_lua_pushlstring
	movq	(%r12), %rdi
	movl	8(%r12), %esi
	callq	_lua_gettable
	movq	(%r12), %rdi
	movl	$-1, %esi
	callq	_lua_isfunction
	movq	(%r12), %rdi
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	_LUA_REGISTRYINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_luaL_ref
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
LBB0_11:
	addq	%rbx, %r13
	movq	_RC_OPERAND_LUA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%r13, (%r14)
	movq	_RC_OK@GOTPCREL(%rip), %r15
	jmp	LBB0_12
LBB0_9:
	movl	$1, %esi
	callq	_lua_pop
LBB0_12:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RC_INVALID_LUA_OPERAND,4,2     ## @RC_INVALID_LUA_OPERAND
	.comm	_LUA_REGISTRYINDEX,4,2          ## @LUA_REGISTRYINDEX
	.comm	_RC_OPERAND_LUA,4,2             ## @RC_OPERAND_LUA
	.comm	_RC_OK,4,2                      ## @RC_OK
	.no_dead_strip	_rc_parse_operand_lua
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc_parse_operand_lua
_rc_parse_operand_lua:                  ; @rc_parse_operand_lua
	.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
	ldr	x21, [x1]
	ldrb	w8, [x21], #1
	cmp	w8, #64
	b.ne	LBB0_12
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldrsb	w0, [x21]
	bl	_isalpha
	cbz	w0, LBB0_12
; %bb.2:
	mov	x23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21, x23]
	bl	_isalnum
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x21, x23]
	cmp	w8, #95
	b.eq	LBB0_3
; %bb.6:
	ldr	x0, [x22]
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w1, [x22, #8]
	bl	_lua_istable
	cbz	w0, LBB0_12
; %bb.8:
	ldr	x0, [x22]
	mov	x1, x21
	mov	x2, x23
	bl	_lua_pushlstring
	ldr	x0, [x22]
	ldr	w1, [x22, #8]
	bl	_lua_gettable
	ldr	x0, [x22]
	mov	w1, #-1
	bl	_lua_isfunction
	mov	x8, x0
	ldr	x0, [x22]
	cbz	w8, LBB0_11
; %bb.9:
Lloh0:
	adrp	x8, _LUA_REGISTRYINDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_REGISTRYINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_luaL_ref
	str	w0, [x20, #4]
LBB0_10:
Lloh3:
	adrp	x8, _RC_OPERAND_LUA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC_OPERAND_LUA@GOTPAGEOFF]
	add	x9, x21, x23
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	str	x9, [x19]
Lloh6:
	adrp	x8, _RC_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RC_OK@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	w1, #1
	bl	_lua_pop
LBB0_12:
Lloh8:
	adrp	x8, _RC_INVALID_LUA_OPERAND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RC_INVALID_LUA_OPERAND@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RC_INVALID_LUA_OPERAND,4,2     ; @RC_INVALID_LUA_OPERAND
	.comm	_LUA_REGISTRYINDEX,4,2          ; @LUA_REGISTRYINDEX
	.comm	_RC_OPERAND_LUA,4,2             ; @RC_OPERAND_LUA
	.comm	_RC_OK,4,2                      ; @RC_OK
	.no_dead_strip	_rc_parse_operand_lua
.subsections_via_symbols
