	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hv_synic_cleanup               ## -- Begin function hv_synic_cleanup
	.p2align	4, 0x90
_hv_synic_cleanup:                      ## @hv_synic_cleanup
	.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
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	_hv_context@GOTPCREL(%rip), %r14
	cmpl	$0, 16(%r14)
	je	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	movq	_HV_X64_MSR_SINT0@GOTPCREL(%rip), %r12
	movq	_VMBUS_MESSAGE_SINT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r12), %rdi
	movl	$1, %esi
	callq	_rdmsrl
	movq	(%rbx), %rdi
	addq	(%r12), %rdi
	movl	$1, %esi
	callq	_wrmsrl
	movq	_HV_X64_MSR_SIMP@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_rdmsrl
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_wrmsrl
	movq	_HV_X64_MSR_SIEFP@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_rdmsrl
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_wrmsrl
	movq	8(%r14), %rax
	movslq	%r15d, %rbx
	movq	(%rax,%rbx,8), %rdi
	callq	_free_page
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_page                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hv_context,24,3                ## @hv_context
	.comm	_HV_X64_MSR_SINT0,8,3           ## @HV_X64_MSR_SINT0
	.comm	_VMBUS_MESSAGE_SINT,8,3         ## @VMBUS_MESSAGE_SINT
	.comm	_HV_X64_MSR_SIMP,8,3            ## @HV_X64_MSR_SIMP
	.comm	_HV_X64_MSR_SIEFP,8,3           ## @HV_X64_MSR_SIEFP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hv_synic_cleanup               ; -- Begin function hv_synic_cleanup
	.p2align	2
_hv_synic_cleanup:                      ; @hv_synic_cleanup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_smp_processor_id
Lloh0:
	adrp	x20, _hv_context@GOTPAGE
Lloh1:
	ldr	x20, [x20, _hv_context@GOTPAGEOFF]
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x21, _HV_X64_MSR_SINT0@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HV_X64_MSR_SINT0@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh4:
	adrp	x22, _VMBUS_MESSAGE_SINT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _VMBUS_MESSAGE_SINT@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	mov	w1, #1
	bl	_rdmsrl
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x0, x9, x8
	mov	w1, #1
	bl	_wrmsrl
Lloh6:
	adrp	x21, _HV_X64_MSR_SIMP@GOTPAGE
Lloh7:
	ldr	x21, [x21, _HV_X64_MSR_SIMP@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_rdmsrl
	ldr	x0, [x21]
	mov	w1, #0
	bl	_wrmsrl
Lloh8:
	adrp	x21, _HV_X64_MSR_SIEFP@GOTPAGE
Lloh9:
	ldr	x21, [x21, _HV_X64_MSR_SIEFP@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_rdmsrl
	ldr	x0, [x21]
	mov	w1, #0
	bl	_wrmsrl
	ldr	x8, [x20, #8]
	sbfiz	x19, x19, #3, #32
	ldr	x0, [x8, x19]
	bl	_free_page
	ldr	x8, [x20]
	ldr	x0, [x8, x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free_page
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_hv_context,24,3                ; @hv_context
	.comm	_HV_X64_MSR_SINT0,8,3           ; @HV_X64_MSR_SINT0
	.comm	_VMBUS_MESSAGE_SINT,8,3         ; @VMBUS_MESSAGE_SINT
	.comm	_HV_X64_MSR_SIMP,8,3            ; @HV_X64_MSR_SIMP
	.comm	_HV_X64_MSR_SIEFP,8,3           ; @HV_X64_MSR_SIEFP
.subsections_via_symbols
