	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_dischargevars             ## -- Begin function luaK_dischargevars
	.p2align	4, 0x90
_luaK_dischargevars:                    ## @luaK_dischargevars
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_luaK_setoneret                 ## TAILCALL
LBB0_6:
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_freereg
	movl	8(%rbx), %eax
	cmpl	$130, %eax
	jne	LBB0_8
## %bb.7:
	movq	24(%rbx), %rsi
	movq	%r14, %rdi
	callq	_freereg
	movq	_OP_GETTABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_OP_GETUPVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	jmp	LBB0_10
LBB0_2:
	movq	_VNONRELOC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	xorl	%edi, %edi
	cmpl	$129, %eax
	sete	%dil
	callq	_lua_assert
	movq	_OP_GETTABUP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	16(%rbx), %r8
	movq	24(%rbx), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_10:
	callq	_luaK_codeABC
	movq	%rax, 32(%rbx)
	movq	_VRELOCABLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_VNONRELOC,4,2                  ## @VNONRELOC
	.comm	_OP_GETUPVAL,4,2                ## @OP_GETUPVAL
	.comm	_VRELOCABLE,8,3                 ## @VRELOCABLE
	.comm	_OP_GETTABLE,4,2                ## @OP_GETTABLE
	.comm	_OP_GETTABUP,4,2                ## @OP_GETTABUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_dischargevars             ; -- Begin function luaK_dischargevars
	.p2align	2
_luaK_dischargevars:                    ; @luaK_dischargevars
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x20, x0
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:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_luaK_setoneret
LBB0_3:
	ldr	x1, [x19, #16]
	mov	x0, x20
	bl	_freereg
	ldr	w8, [x19, #8]
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.4:
	ldr	x1, [x19, #24]
	mov	x0, x20
	bl	_freereg
Lloh2:
	adrp	x8, _OP_GETTABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OP_GETTABLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _OP_GETUPVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OP_GETUPVAL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	x3, [x19, #32]
	mov	x0, x20
	mov	w2, #0
	mov	x4, #0
	b	LBB0_9
LBB0_6:
Lloh7:
	adrp	x8, _VNONRELOC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VNONRELOC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_10
LBB0_7:
	cmp	w8, #129
	cset	w0, eq
	bl	_lua_assert
Lloh10:
	adrp	x8, _OP_GETTABUP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OP_GETTABUP@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	ldp	x4, x3, [x19, #16]
	mov	x0, x20
	mov	w2, #0
LBB0_9:
	bl	_luaK_codeABC
	str	x0, [x19, #32]
Lloh12:
	adrp	x8, _VRELOCABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VRELOCABLE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_VNONRELOC,4,2                  ; @VNONRELOC
	.comm	_OP_GETUPVAL,4,2                ; @OP_GETUPVAL
	.comm	_VRELOCABLE,8,3                 ; @VRELOCABLE
	.comm	_OP_GETTABLE,4,2                ; @OP_GETTABLE
	.comm	_OP_GETTABUP,4,2                ; @OP_GETTABUP
.subsections_via_symbols
