	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vie_update_register            ## -- Begin function vie_update_register
	.p2align	4, 0x90
_vie_update_register:                   ## @vie_update_register
	.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	%r8d, %ebx
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	leal	-1(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	cmpl	$4, %ebx
	je	LBB0_6
## %bb.2:
	cmpl	$8, %ebx
	je	LBB0_6
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_4:
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_vie_read_register
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	_size2mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movl	-44(%rbp), %edx
	xorl	%edx, %r13d
	andl	(%rax,%rcx,4), %r13d
	xorl	%edx, %r13d
LBB0_6:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_vm_set_register
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_size2mask,8,3                  ## @size2mask
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vie_update_register            ; -- Begin function vie_update_register
	.p2align	2
_vie_update_register:                   ; @vie_update_register
	.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	x23, x4
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	sub	w8, w4, #1
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w23, #4
	b.eq	LBB0_6
; %bb.2:
	cmp	w23, #8
	b.eq	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_4:
	add	x3, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_vie_read_register
	cbnz	w0, LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _size2mask@GOTPAGE
Lloh4:
	ldr	x8, [x8, _size2mask@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8, w23, uxtw #2]
	and	w9, w8, w20
	ldr	w10, [sp, #12]
	bic	w8, w10, w8
	orr	w20, w8, w9
LBB0_6:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	bl	_vm_set_register
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_size2mask,8,3                  ; @size2mask
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
