	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_setlist                   ## -- Begin function luaK_setlist
	.p2align	4, 0x90
_luaK_setlist:                          ## @luaK_setlist
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r12d
	movq	%rdi, %r14
	leal	-1(%rdx), %eax
	movq	_LFIELDS_PER_FLUSH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cltd
	idivl	%esi
	movl	%eax, %ebx
	leal	1(%rbx), %r15d
	movq	_LUA_MULTRET@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	%ecx, (%rax)
	cmovnel	%ecx, %r13d
	testl	%ecx, %ecx
	setne	%al
	cmpl	%ecx, %esi
	setge	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_lua_assert
	movq	_MAXARG_C@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_2
## %bb.1:
	movq	_OP_SETLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	callq	_luaK_codeABC
	jmp	LBB0_5
LBB0_2:
	movq	_MAXARG_Ax@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_4
## %bb.3:
	movq	_OP_SETLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	callq	_luaK_codeABC
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_codeextraarg
	jmp	LBB0_5
LBB0_4:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_luaX_syntaxerror
LBB0_5:
	incl	%r12d
	movl	%r12d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LFIELDS_PER_FLUSH,4,2          ## @LFIELDS_PER_FLUSH
	.comm	_LUA_MULTRET,4,2                ## @LUA_MULTRET
	.comm	_MAXARG_C,4,2                   ## @MAXARG_C
	.comm	_OP_SETLIST,4,2                 ## @OP_SETLIST
	.comm	_MAXARG_Ax,4,2                  ## @MAXARG_Ax
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"constructor too long"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_setlist                   ; -- Begin function luaK_setlist
	.p2align	2
_luaK_setlist:                          ; @luaK_setlist
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LFIELDS_PER_FLUSH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LFIELDS_PER_FLUSH@GOTPAGEOFF]
	sub	w9, w2, #1
Lloh2:
	ldr	w8, [x8]
	sdiv	w23, w9, w8
	add	w21, w23, #1
Lloh3:
	adrp	x9, _LUA_MULTRET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LUA_MULTRET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w3
	csel	w22, wzr, w3, eq
	cmp	w3, #0
	ccmp	w8, w3, #8, ne
	cset	w0, ge
	bl	_lua_assert
Lloh6:
	adrp	x8, _MAXARG_C@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAXARG_C@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ge	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _OP_SETLIST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OP_SETLIST@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	mov	x4, x21
	bl	_luaK_codeABC
	b	LBB0_5
LBB0_2:
Lloh12:
	adrp	x8, _MAXARG_Ax@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAXARG_Ax@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ge	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _OP_SETLIST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OP_SETLIST@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	mov	w4, #0
	bl	_luaK_codeABC
	mov	x0, x19
	mov	x1, x21
	bl	_codeextraarg
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #4]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_luaX_syntaxerror
LBB0_5:
	add	w8, w20, #1
	str	w8, [x19]
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_LFIELDS_PER_FLUSH,4,2          ; @LFIELDS_PER_FLUSH
	.comm	_LUA_MULTRET,4,2                ; @LUA_MULTRET
	.comm	_MAXARG_C,4,2                   ; @MAXARG_C
	.comm	_OP_SETLIST,4,2                 ; @OP_SETLIST
	.comm	_MAXARG_Ax,4,2                  ; @MAXARG_Ax
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"constructor too long"

.subsections_via_symbols
