	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xen_vcpuop_set_next_event
_xen_vcpuop_set_next_event:             ## @xen_vcpuop_set_next_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	_CLOCK_EVT_MODE_ONESHOT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_get_abs_timeout
	movl	%eax, -28(%rbp)
	movq	_VCPU_SSHOTTMR_future@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_VCPUOP_set_singleshot_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rdx
	movl	%r15d, %esi
	callq	_HYPERVISOR_vcpu_op
	movl	%eax, %ebx
	testl	%eax, %eax
	setne	%al
	movq	_ETIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ebx, %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_BUG_ON
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_EVT_MODE_ONESHOT,8,3     ## @CLOCK_EVT_MODE_ONESHOT
	.comm	_VCPU_SSHOTTMR_future,4,2       ## @VCPU_SSHOTTMR_future
	.comm	_VCPUOP_set_singleshot_timer,4,2 ## @VCPUOP_set_singleshot_timer
	.comm	_ETIME,4,2                      ## @ETIME
	.no_dead_strip	_xen_vcpuop_set_next_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xen_vcpuop_set_next_event
_xen_vcpuop_set_next_event:             ; @xen_vcpuop_set_next_event
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_smp_processor_id
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CLOCK_EVT_MODE_ONESHOT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLOCK_EVT_MODE_ONESHOT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x20
	bl	_get_abs_timeout
Lloh3:
	adrp	x8, _VCPU_SSHOTTMR_future@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VCPU_SSHOTTMR_future@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w0, [sp, #8]
Lloh6:
	adrp	x8, _VCPUOP_set_singleshot_timer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VCPUOP_set_singleshot_timer@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	x1, x21
	bl	_HYPERVISOR_vcpu_op
	mov	x19, x0
Lloh9:
	adrp	x8, _ETIME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETIME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	ccmp	w0, #0, #4, ne
	cset	w0, ne
	bl	_BUG_ON
	mov	x0, 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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_EVT_MODE_ONESHOT,8,3     ; @CLOCK_EVT_MODE_ONESHOT
	.comm	_VCPU_SSHOTTMR_future,4,2       ; @VCPU_SSHOTTMR_future
	.comm	_VCPUOP_set_singleshot_timer,4,2 ; @VCPUOP_set_singleshot_timer
	.comm	_ETIME,4,2                      ; @ETIME
	.no_dead_strip	_xen_vcpuop_set_next_event
.subsections_via_symbols
