	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function its_map_vm
_its_map_vm:                            ## @its_map_vm
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_its_list_map@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_vmovp_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_lock_irqsave
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %edx
	leal	1(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	testl	%edx, %edx
	jne	LBB0_5
## %bb.2:
	cmpl	$0, 8(%r15)
	jle	LBB0_5
## %bb.3:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r13,8), %rbx
	movl	4(%rbx), %edi
	callq	_irq_get_irq_data
	movq	%rax, %r12
	movq	_cpu_online_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpumask_first
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_its_send_vmapp
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_its_send_vinvall
	movl	(%rbx), %edi
	callq	_cpumask_of
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_irq_data_update_effective_affinity
	incq	%r13
	movslq	8(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_4
LBB0_5:
	movq	_vmovp_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock_irqrestore     ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_its_list_map,4,2               ## @its_list_map
	.comm	_vmovp_lock,4,2                 ## @vmovp_lock
	.comm	_cpu_online_mask,4,2            ## @cpu_online_mask
	.no_dead_strip	_its_map_vm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function its_map_vm
_its_map_vm:                            ; @its_map_vm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _its_list_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _its_list_map@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x0, _vmovp_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _vmovp_lock@GOTPAGEOFF]
	bl	_raw_spin_lock_irqsave
	ldr	x8, [x19]
	ldr	x9, [x20]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w11, w10, #1
	str	w11, [x8, x9]
	cbnz	w10, LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, #0
Lloh5:
	adrp	x24, _cpu_online_mask@GOTPAGE
Lloh6:
	ldr	x24, [x24, _cpu_online_mask@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x21, [x8, x23, lsl #3]
	ldr	w0, [x21, #4]
	bl	_irq_get_irq_data
	mov	x22, x0
	ldr	w0, [x24]
	bl	_cpumask_first
	str	w0, [x21]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_its_send_vmapp
	mov	x0, x20
	mov	x1, x21
	bl	_its_send_vinvall
	ldr	w0, [x21]
	bl	_cpumask_of
	mov	x1, x0
	mov	x0, x22
	bl	_irq_data_update_effective_affinity
	add	x23, x23, #1
	ldrsw	x8, [x19, #8]
	cmp	x23, x8
	b.lt	LBB0_4
LBB0_5:
Lloh7:
	adrp	x0, _vmovp_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _vmovp_lock@GOTPAGEOFF]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_raw_spin_unlock_irqrestore
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_its_list_map,4,2               ; @its_list_map
	.comm	_vmovp_lock,4,2                 ; @vmovp_lock
	.comm	_cpu_online_mask,4,2            ; @cpu_online_mask
	.no_dead_strip	_its_map_vm
.subsections_via_symbols
