	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjust_assign
_adjust_assign:                         ## @adjust_assign
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%esi, %r12d
	movq	(%rdi), %r14
	subl	%edx, %r12d
	movq	(%rcx), %rdi
	callq	_hasmultret
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testl	%r12d, %r12d
	movl	$-1, %ebx
	cmovnsl	%r12d, %ebx
	leal	1(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_luaK_setreturns
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaK_reserveregs               ## TAILCALL
LBB0_3:
	movq	(%r15), %rax
	movq	_VVOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_luaK_exp2nextreg
LBB0_5:
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.7:
	movl	(%r14), %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_luaK_reserveregs
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaK_nil                       ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VVOID,8,3                      ## @VVOID
	.no_dead_strip	_adjust_assign
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjust_assign
_adjust_assign:                         ; @adjust_assign
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x3
	ldr	x19, [x0]
	sub	w20, w1, w2
	ldr	x0, [x3]
	bl	_hasmultret
	cbz	x0, LBB0_3
; %bb.1:
	cmp	w20, #0
	csinv	w20, w20, wzr, ge
	add	w2, w20, #1
	mov	x0, x19
	mov	x1, x21
	bl	_luaK_setreturns
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_luaK_reserveregs
LBB0_3:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _VVOID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VVOID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_luaK_exp2nextreg
LBB0_5:
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	w21, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_luaK_reserveregs
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_luaK_nil
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VVOID,8,3                      ; @VVOID
	.no_dead_strip	_adjust_assign
.subsections_via_symbols
