	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_perf_overflow_intr
_kvm_perf_overflow_intr:                ## @kvm_perf_overflow_intr
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	(%r12), %rsi
	movl	8(%r12), %edi
	addq	$8, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_kvm_perf_overflow
	movq	_KVM_REQ_PMU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	callq	_set_bit
	xorl	%eax, %eax
	callq	_kvm_is_in_guest
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_KVM_REQ_PMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_4:
	movq	(%r12), %rdi
	addq	$4, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_irq_work_queue                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_REQ_PMU,4,2                ## @KVM_REQ_PMU
	.comm	_KVM_REQ_PMI,4,2                ## @KVM_REQ_PMI
	.no_dead_strip	_kvm_perf_overflow_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_perf_overflow_intr
_kvm_perf_overflow_intr:                ; @kvm_perf_overflow_intr
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	ldr	x8, [x22]
	ldr	w0, [x22, #8]
	add	x1, x8, #8
	bl	_test_and_set_bit
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_kvm_perf_overflow
Lloh0:
	adrp	x8, _KVM_REQ_PMU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KVM_REQ_PMU@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x1, [x22]
	bl	_set_bit
	bl	_kvm_is_in_guest
	cbz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _KVM_REQ_PMI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KVM_REQ_PMI@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x22]
	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	_set_bit
LBB0_4:
	ldr	x8, [x22]
	add	x0, x8, #4
	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	_irq_work_queue
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_REQ_PMU,4,2                ; @KVM_REQ_PMU
	.comm	_KVM_REQ_PMI,4,2                ; @KVM_REQ_PMI
	.no_dead_strip	_kvm_perf_overflow_intr
.subsections_via_symbols
