	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emulate_mov
_emulate_mov:                           ## @emulate_mov
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-136, %ecx
	addl	20(%r15), %ecx
	cmpl	$63, %ecx
	ja	LBB0_14
## %bb.1:
	movq	%r9, %r11
	movq	%r8, %rbx
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	16(%rbp), %r9
	movslq	(%r15), %r8
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	leaq	-60(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movq	%r9, %r15
	movq	%r11, %rbx
	callq	_vie_read_bytereg
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movq	%r15, %r9
	movl	-60(%rbp), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	$1, %r8d
	callq	*%rbx
	jmp	LBB0_14
LBB0_4:
	movq	_gpr_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movl	(%rax,%rcx,4), %edx
	jmp	LBB0_5
LBB0_7:
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	$1, %r8d
	callq	*%rbx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movl	-44(%rbp), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_vie_write_bytereg
	jmp	LBB0_14
LBB0_9:
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%r8, %r13
	callq	*%rbx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:
	movq	_gpr_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movl	(%rax,%rcx,4), %edx
	movl	-44(%rbp), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %r8d
	jmp	LBB0_13
LBB0_11:
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%r8, %r15
	callq	*%rbx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movq	_VM_REG_GUEST_RAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-44(%rbp), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %r8d
LBB0_13:
	callq	_vie_update_register
	jmp	LBB0_14
LBB0_18:
	movq	_VM_REG_GUEST_RAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_5:
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r9, %r15
	movq	%r8, %rbx
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	callq	_vie_read_register
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_14
## %bb.6:
	movq	%rbx, %r8
	movq	%r15, %r9
	movq	_size2mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %ecx
	andl	(%rax,%rbx,4), %ecx
	movl	%ecx, -44(%rbp)
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	*%r10
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	16(%r15), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	$1, %r8d
	jmp	LBB0_16
LBB0_17:
	movq	_size2mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r8,4), %ecx
	andl	16(%r15), %ecx
	movl	%ecx, -44(%rbp)
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%r11                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_gpr_map,8,3                    ## @gpr_map
	.comm	_size2mask,8,3                  ## @size2mask
	.comm	_VM_REG_GUEST_RAX,4,2           ## @VM_REG_GUEST_RAX
	.no_dead_strip	_emulate_mov
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emulate_mov
_emulate_mov:                           ; @emulate_mov
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
Lloh0:
	adrp	x9, _EINVAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	w9, [x3, #20]
	sub	w9, w9, #136
	cmp	w9, #63
	b.hi	LBB0_16
; %bb.1:
	mov	x21, x6
	mov	x6, x5
	mov	x8, x4
	mov	x24, x3
	mov	x23, x2
	mov	x19, x1
	ldrsw	x22, [x3]
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	str	x6, [sp]                        ; 8-byte Folded Spill
	bl	_vie_read_bytereg
	ldr	x6, [sp]                        ; 8-byte Folded Reload
	cbnz	w0, LBB0_16
; %bb.3:
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	w4, #1
	b	LBB0_15
LBB0_4:
Lloh5:
	adrp	x8, _gpr_map@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gpr_map@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x24, #8]
	ldr	w2, [x8, x9, lsl #2]
	b	LBB0_13
LBB0_5:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	w4, #1
	mov	x5, x21
	blr	x8
	cbnz	w0, LBB0_16
; %bb.6:
	ldr	w3, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_vie_write_bytereg
	b	LBB0_16
LBB0_7:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x4, x22
	mov	x5, x21
	blr	x8
	cbnz	w0, LBB0_16
; %bb.8:
Lloh8:
	adrp	x8, _gpr_map@GOTPAGE
Lloh9:
	ldr	x8, [x8, _gpr_map@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x24, #8]
	ldr	w2, [x8, x9, lsl #2]
	b	LBB0_11
LBB0_9:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x4, x22
	mov	x5, x21
	blr	x8
	cbnz	w0, LBB0_16
; %bb.10:
Lloh11:
	adrp	x8, _VM_REG_GUEST_RAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VM_REG_GUEST_RAX@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
LBB0_11:
	ldr	w3, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x22
	bl	_vie_update_register
	b	LBB0_16
LBB0_12:
Lloh14:
	adrp	x8, _VM_REG_GUEST_RAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VM_REG_GUEST_RAX@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
LBB0_13:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	str	x6, [sp]                        ; 8-byte Folded Spill
	bl	_vie_read_register
	ldr	x6, [sp]                        ; 8-byte Folded Reload
	cbnz	w0, LBB0_16
; %bb.14:
Lloh17:
	adrp	x8, _size2mask@GOTPAGE
Lloh18:
	ldr	x8, [x8, _size2mask@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w8, [x8, x22, lsl #2]
	ldr	w9, [sp, #8]
	and	w3, w9, w8
	str	w3, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x4, x22
LBB0_15:
	mov	x5, x21
	blr	x6
LBB0_16:
	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
	add	sp, sp, #80
	ret
LBB0_17:
	ldr	w3, [x24, #16]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	w4, #1
	b	LBB0_19
LBB0_18:
Lloh20:
	adrp	x8, _size2mask@GOTPAGE
Lloh21:
	ldr	x8, [x8, _size2mask@GOTPAGEOFF]
	ldr	w9, [x24, #16]
Lloh22:
	ldr	x8, [x8]
	ldr	w8, [x8, x22, lsl #2]
	and	w3, w8, w9
	str	w3, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x4, x22
LBB0_19:
	mov	x5, x21
	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
	add	sp, sp, #80
	br	x6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_gpr_map,8,3                    ; @gpr_map
	.comm	_size2mask,8,3                  ; @size2mask
	.comm	_VM_REG_GUEST_RAX,4,2           ; @VM_REG_GUEST_RAX
	.no_dead_strip	_emulate_mov
.subsections_via_symbols
