	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_nil                       ## -- Begin function luaK_nil
	.p2align	4, 0x90
_luaK_nil:                              ## @luaK_nil
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movslq	(%rdi), %r13
	cmpl	4(%rdi), %r13d
	jle	LBB0_7
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-4(%rax,%r13,4), %edi
	callq	_GET_OPCODE
	movq	_OP_LOADNIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	leal	(%r15,%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	-4(%r12,%r13,4), %edi
	callq	_GETARG_A
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	-4(%r12,%r13,4), %edi
	callq	_GETARG_B
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r12d
	cmpl	%r14d, %edx
	jg	LBB0_4
## %bb.3:
	leal	(%r12,%rdx), %eax
	incl	%eax
	cmpl	%r14d, %eax
	jge	LBB0_6
LBB0_4:
	cmpl	%r14d, %edx
	jl	LBB0_7
## %bb.5:
	cmpl	%ecx, %edx
	jg	LBB0_7
LBB0_6:
	leal	(%r15,%r14), %eax
	decl	%eax
	addl	%edx, %r12d
	cmpl	%r14d, %edx
	cmovll	%edx, %r14d
	cmpl	%ecx, %r12d
	cmovll	%eax, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-4(%rbx,%r13,4), %edi
	movl	%r14d, %esi
	callq	_SETARG_A
	movl	-4(%rbx,%r13,4), %edi
	subl	%r14d, %r12d
	movl	%r12d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SETARG_B                       ## TAILCALL
LBB0_7:
	movq	_OP_LOADNIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decl	%r15d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaK_codeABC                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_LOADNIL,8,3                 ## @OP_LOADNIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_nil                       ; -- Begin function luaK_nil
	.p2align	2
_luaK_nil:                              ; @luaK_nil
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
Lloh0:
	adrp	x24, _OP_LOADNIL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OP_LOADNIL@GOTPAGEOFF]
	cmp	w8, w9
	b.le	LBB0_4
; %bb.1:
	ldr	x9, [x20, #8]
	ldr	x23, [x9]
	sub	x22, x8, #1
	ldr	w0, [x23, x22, lsl #2]
	bl	_GET_OPCODE
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	add	w26, w21, w19
	lsl	x25, x22, #2
	ldr	w0, [x23, x25]
	bl	_GETARG_A
	mov	x22, x0
	ldr	w0, [x23, x25]
	bl	_GETARG_B
	add	w8, w0, w22
	add	w9, w8, #1
	cmp	w22, w19
	ccmp	w9, w19, #8, le
	b.ge	LBB0_5
; %bb.3:
	cmp	w22, w19
	ccmp	w22, w26, #0, ge
	b.le	LBB0_5
LBB0_4:
	ldr	x1, [x24]
	sub	w3, w21, #1
	mov	x0, x20
	mov	x2, x19
	mov	w4, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_luaK_codeABC
LBB0_5:
	sub	w9, w26, #1
	cmp	w22, w19
	csel	w19, w22, w19, lt
	cmp	w8, w26
	csel	w20, w9, w8, lt
	ldr	w0, [x23, x25]
	mov	x1, x19
	bl	_SETARG_A
	ldr	w0, [x23, x25]
	sub	w1, w20, w19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_SETARG_B
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_LOADNIL,8,3                 ; @OP_LOADNIL
.subsections_via_symbols
