	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_set_irq
_svm_set_irq:                           ## @svm_set_irq
	.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
	callq	_to_svm
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_gif_set
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movl	(%rbx), %edi
	callq	_trace_kvm_inj_virq
	incl	4(%rbx)
	movq	_SVM_EVTINJ_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movq	_SVM_EVTINJ_TYPE_INTR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVM_EVTINJ_VALID,4,2           ## @SVM_EVTINJ_VALID
	.comm	_SVM_EVTINJ_TYPE_INTR,4,2       ## @SVM_EVTINJ_TYPE_INTR
	.no_dead_strip	_svm_set_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_set_irq
_svm_set_irq:                           ; @svm_set_irq
	.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	_to_svm
	mov	x20, x0
	bl	_gif_set
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w0, [x19]
	bl	_trace_kvm_inj_virq
	ldp	w9, w8, [x19]
	add	w8, w8, #1
	str	w8, [x19, #4]
Lloh0:
	adrp	x8, _SVM_EVTINJ_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVM_EVTINJ_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh3:
	adrp	x9, _SVM_EVTINJ_TYPE_INTR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVM_EVTINJ_TYPE_INTR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x20]
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVM_EVTINJ_VALID,4,2           ; @SVM_EVTINJ_VALID
	.comm	_SVM_EVTINJ_TYPE_INTR,4,2       ; @SVM_EVTINJ_TYPE_INTR
	.no_dead_strip	_svm_set_irq
.subsections_via_symbols
