	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DoSyscall
_DoSyscall:                             ## @DoSyscall
	.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	_currentVM@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	_vm_programStack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-4(%rax), %rcx
	movq	%rcx, 16(%rbx)
	movq	_vm_syscallNum@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	cmpl	$129, %edx
	je	LBB0_5
## %bb.3:
	cmpl	$128, %edx
	jne	LBB0_8
## %bb.4:
	xorl	%eax, %eax
	callq	_ErrJump
	jmp	LBB0_9
LBB0_1:
	movq	8(%rbx), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$4, %rdi
	movq	_vm_opStackBase@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r15
	movq	_vm_opStackOfs@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %r12
	notl	%edx
	movl	%edx, 4(%rax,%rcx)
	callq	*(%rbx)
	movl	%eax, 4(%r15,%r12,4)
	jmp	LBB0_9
LBB0_5:
	movq	_vm_opStackOfs@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jg	LBB0_7
## %bb.6:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_Com_Error
	movl	(%r15), %eax
LBB0_7:
	movq	_vm_opStackBase@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	-4(%rcx,%rax,4), %edi
	movl	(%rcx,%rax,4), %esi
	movq	_vm_arg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_VM_BlockCopy
	jmp	LBB0_9
LBB0_8:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_Com_Error
LBB0_9:
	movq	%rbx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_currentVM,8,3                  ## @currentVM
	.comm	_vm_programStack,8,3            ## @vm_programStack
	.comm	_vm_syscallNum,4,2              ## @vm_syscallNum
	.comm	_vm_opStackBase,8,3             ## @vm_opStackBase
	.comm	_vm_opStackOfs,4,2              ## @vm_opStackOfs
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM_BLOCK_COPY failed due to corrupted opStack"

	.comm	_vm_arg,4,2                     ## @vm_arg
L_.str.1:                               ## @.str.1
	.asciz	"Unknown VM operation %d"

	.comm	_MAX_VMSYSCALL_ARGS,4,2         ## @MAX_VMSYSCALL_ARGS
	.no_dead_strip	_DoSyscall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DoSyscall
_DoSyscall:                             ; @DoSyscall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x19, _currentVM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _currentVM@GOTPAGEOFF]
	ldr	x20, [x19]
Lloh2:
	adrp	x8, _vm_programStack@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vm_programStack@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x8]
	sub	x8, x9, #4
	str	x8, [x20, #16]
Lloh5:
	adrp	x8, _vm_syscallNum@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vm_syscallNum@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.3:
	bl	_ErrJump
	b	LBB0_9
LBB0_4:
	ldp	x11, x10, [x20]
	add	x0, x9, x10
Lloh8:
	adrp	x9, _vm_opStackBase@GOTPAGE
Lloh9:
	ldr	x9, [x9, _vm_opStackBase@GOTPAGEOFF]
Lloh10:
	adrp	x10, _vm_opStackOfs@GOTPAGE
Lloh11:
	ldr	x10, [x10, _vm_opStackOfs@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	ldrsw	x10, [x10]
	add	x21, x9, x10, lsl #2
	mvn	w8, w8
	str	w8, [x0, #4]!
	blr	x11
	str	w0, [x21, #4]
	b	LBB0_9
LBB0_5:
Lloh14:
	adrp	x21, _vm_opStackOfs@GOTPAGE
Lloh15:
	ldr	x21, [x21, _vm_opStackOfs@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #0
	b.gt	LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	ldr	w8, [x21]
LBB0_7:
Lloh21:
	adrp	x9, _vm_opStackBase@GOTPAGE
Lloh22:
	ldr	x9, [x9, _vm_opStackBase@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x8, x9, w8, sxtw #2
	ldp	w0, w1, [x8, #-4]
Lloh24:
	adrp	x8, _vm_arg@GOTPAGE
Lloh25:
	ldr	x8, [x8, _vm_arg@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	_VM_BlockCopy
	b	LBB0_9
LBB0_8:
Lloh27:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
LBB0_9:
	str	x20, [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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_currentVM,8,3                  ; @currentVM
	.comm	_vm_programStack,8,3            ; @vm_programStack
	.comm	_vm_syscallNum,4,2              ; @vm_syscallNum
	.comm	_vm_opStackBase,8,3             ; @vm_opStackBase
	.comm	_vm_opStackOfs,4,2              ; @vm_opStackOfs
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM_BLOCK_COPY failed due to corrupted opStack"

	.comm	_vm_arg,4,2                     ; @vm_arg
l_.str.1:                               ; @.str.1
	.asciz	"Unknown VM operation %d"

	.comm	_MAX_VMSYSCALL_ARGS,4,2         ; @MAX_VMSYSCALL_ARGS
	.no_dead_strip	_DoSyscall
.subsections_via_symbols
