	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaD_poscall                   ## -- Begin function luaD_poscall
	.p2align	4, 0x90
_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
	movl	%ecx, %r14d
	movl	%edx, %eax
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rsi), %r15d
	movl	(%rdi), %ecx
	movq	_LUA_MASKRET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_LUA_MASKLINE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%edx, %esi
	testl	%ecx, %esi
	je	LBB0_1
## %bb.2:
	testl	%ecx, %edx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_savestack
	movl	%eax, %r13d
	movq	_LUA_HOOKRET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_luaD_hook
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_restorestack
LBB0_4:
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	movl	%edx, 16(%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	8(%r12), %rcx
LBB0_5:
	movl	16(%r12), %edx
	movq	%rcx, 8(%rbx)
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_moveresults                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_MASKRET,4,2                ## @LUA_MASKRET
	.comm	_LUA_MASKLINE,4,2               ## @LUA_MASKLINE
	.comm	_LUA_HOOKRET,4,2                ## @LUA_HOOKRET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaD_poscall                   ; -- Begin function luaD_poscall
	.p2align	2
_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, x3
	mov	x8, x2
	mov	x22, x1
	mov	x21, x0
	ldr	w20, [x1]
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _LUA_MASKRET@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LUA_MASKRET@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _LUA_MASKLINE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _LUA_MASKLINE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w11, w11, w10
	tst	w11, w9
	b.eq	LBB0_4
; %bb.1:
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x8
	bl	_savestack
	mov	x23, x0
Lloh6:
	adrp	x8, _LUA_HOOKRET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LUA_HOOKRET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #-1
	bl	_luaD_hook
	mov	x0, x21
	mov	x1, x23
	bl	_restorestack
	mov	x8, x0
LBB0_3:
	ldr	x9, [x22, #8]
	ldr	w10, [x9]
	str	w10, [x21, #16]
	b	LBB0_5
LBB0_4:
	ldr	x9, [x22, #8]
LBB0_5:
	ldr	w2, [x22, #16]
	str	x9, [x21, #8]
	mov	x0, x21
	mov	x1, x8
	mov	x3, x19
	mov	x4, x20
	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
	b	_moveresults
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_MASKRET,4,2                ; @LUA_MASKRET
	.comm	_LUA_MASKLINE,4,2               ; @LUA_MASKLINE
	.comm	_LUA_HOOKRET,4,2                ; @LUA_HOOKRET
.subsections_via_symbols
