	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaD_pcall                     ## -- Begin function luaD_pcall
	.p2align	4, 0x90
_luaD_pcall:                            ## @luaD_pcall
	.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	%rcx, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %r13
	movl	16(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movzwl	(%rdi), %eax
	movw	%ax, -42(%rbp)                  ## 2-byte Spill
	movq	8(%rdi), %r12
	movq	%r8, 8(%rdi)
	callq	_luaD_rawrunprotected
	movl	%eax, %r14d
	movq	_LUA_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_restorestack
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_luaF_close
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_seterrorobj
	movq	%r13, 24(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rbx)
	movzwl	-42(%rbp), %eax                 ## 2-byte Folded Reload
	movw	%ax, (%rbx)
	movq	%rbx, %rdi
	callq	_luaD_shrinkstack
LBB0_2:
	movq	%r12, 8(%rbx)
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_OK,4,2                     ## @LUA_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaD_pcall                     ; -- Begin function luaD_pcall
	.p2align	2
_luaD_pcall:                            ; @luaD_pcall
	.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, x3
	mov	x19, x0
	ldr	x23, [x0, #24]
	ldr	w24, [x0, #16]
	ldrh	w25, [x0]
	ldr	x22, [x0, #8]
	str	x4, [x0, #8]
	bl	_luaD_rawrunprotected
	mov	x20, x0
Lloh0:
	adrp	x8, _LUA_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_restorestack
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_luaF_close
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_seterrorobj
	str	x23, [x19, #24]
	str	w24, [x19, #16]
	strh	w25, [x19]
	mov	x0, x19
	bl	_luaD_shrinkstack
LBB0_2:
	str	x22, [x19, #8]
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_OK,4,2                     ; @LUA_OK
.subsections_via_symbols
