	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function luaD_poscall
_luaD_poscall:                          ## @luaD_poscall
	.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	%rdi, %r15
	movslq	16(%rdi), %rax
	leal	-1(%rax), %ecx
	movl	%ecx, 16(%rdi)
	movq	(%rax), %r13
	movl	8(%rax), %r14d
	movl	-8(%rax), %ecx
	movl	%ecx, 12(%rdi)
	movl	-12(%rax), %eax
	movl	%eax, 8(%rdi)
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rbx), %rax
	cmpq	(%r15), %rax
	jge	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rbx,%r13), %esi
	leal	(%r12,%rbx), %edx
	movq	%r15, %rdi
	callq	_setobj
	incq	%rbx
	cmpl	%ebx, %r14d
	jne	LBB0_2
## %bb.4:
	addq	%rbx, %r13
	jmp	LBB0_5
LBB0_6:
	movl	%r14d, %eax
	subl	%ebx, %eax
	addq	%rbx, %r13
	testl	%eax, %eax
	jle	LBB0_5
## %bb.7:
	movq	%r14, %r12
	subq	%rbx, %r12
	incq	%r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r13), %rbx
	movl	%r13d, %edi
	callq	_setnilvalue
	decl	%r12d
	movq	%rbx, %r13
	cmpl	$1, %r12d
	ja	LBB0_8
	jmp	LBB0_9
LBB0_5:
	movq	%r13, %rbx
LBB0_9:
	movq	%rbx, (%r15)
	incl	%r14d
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_luaD_poscall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function luaD_poscall
_luaD_poscall:                          ; @luaD_poscall
	.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	x19, x0
	ldrsw	x8, [x0, #16]
	sub	w9, w8, #1
	str	w9, [x0, #16]
	ldr	x22, [x8]
	ldr	w21, [x8, #8]
	ldur	d0, [x8, #-12]
	str	d0, [x0, #8]
	cbz	w21, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x9, x20, x23
	cmp	x9, x8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w1, w22, w23
	add	w2, w20, w23
	mov	x0, x19
	bl	_setobj
	add	x23, x23, #1
	cmp	w21, w23
	b.ne	LBB0_2
; %bb.4:
	add	x22, x22, x23
	b	LBB0_9
LBB0_5:
	sub	w8, w21, w23
	add	x0, x22, x23
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	sub	x8, x21, x23
	add	x20, x8, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x0, #1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_setnilvalue
	sub	w20, w20, #1
	mov	x0, x22
	cmp	w20, #1
	b.hi	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	x22, x0
LBB0_9:
	str	x22, [x19]
	add	w0, w21, #1
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_luaD_poscall
.subsections_via_symbols
