	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_vcpu_yield_to              ## -- Begin function kvm_vcpu_yield_to
	.p2align	4, 0x90
_kvm_vcpu_yield_to:                     ## @kvm_vcpu_yield_to
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movq	_PIDTYPE_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_pid_task
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	movq	_PF_VCPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_put_task_struct
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_yield_to
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_put_task_struct
	movl	%r14d, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PIDTYPE_PID,4,2                ## @PIDTYPE_PID
	.comm	_PF_VCPU,4,2                    ## @PF_VCPU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_vcpu_yield_to              ; -- Begin function kvm_vcpu_yield_to
	.p2align	2
_kvm_vcpu_yield_to:                     ; @kvm_vcpu_yield_to
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rcu_read_lock
	ldr	w0, [x19]
	bl	_rcu_dereference
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _PIDTYPE_PID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIDTYPE_PID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_get_pid_task
	mov	x19, x0
	bl	_rcu_read_unlock
	cbz	x19, LBB0_5
; %bb.2:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _PF_VCPU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PF_VCPU@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_put_task_struct
	b	LBB0_5
LBB0_4:
	bl	_rcu_read_unlock
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	bl	_yield_to
	mov	x20, x0
	mov	x0, x19
	bl	_put_task_struct
	mov	x0, x20
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PIDTYPE_PID,4,2                ; @PIDTYPE_PID
	.comm	_PF_VCPU,4,2                    ; @PF_VCPU
.subsections_via_symbols
