	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_vp_index
_init_vp_index:                         ## @init_vp_index
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_vmbus_proto_version@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERSION_WS2008@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_4:
	movq	$0, (%r14)
	xorl	%edi, %edi
	callq	_hv_cpu_number_to_vp_number
	movq	%rax, 16(%r14)
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_VERSION_WIN7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_vmbus_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rsi,4)
	je	LBB0_4
## %bb.3:
	movq	32(%r14), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	callq	_alloc_cpumask_var
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_bind_channel_to_cpu_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	8(%r14), %rax
	movq	_HV_BALANCED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	testq	%r13, %r13
	je	LBB0_8
## %bb.7:
	movl	(%r13), %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, (%rax)
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_next_numa_node_id@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %ecx
	movl	%ecx, (%rax)
	movq	_nr_node_ids@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	callq	_cpumask_of_node
	movq	%rax, %rdi
	callq	_cpumask_empty
	testq	%rax, %rax
	jne	LBB0_8
## %bb.11:
	movl	%ebx, (%r14)
	movq	%r14, %r13
LBB0_12:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_hv_context@GOTPCREL(%rip), %rax
	movslq	%ebx, %rbx
	shlq	$2, %rbx
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_cpumask_weight
	movq	%rax, %r14
	movl	(%r13), %edi
	callq	_cpumask_of_node
	movq	%rax, %rdi
	callq	_cpumask_weight
	cmpq	%rax, %r14
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_cpumask_clear
LBB0_14:
	movl	-44(%rbp), %r14d
	movl	(%r13), %edi
	callq	_cpumask_of_node
	movl	%r14d, %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_cpumask_xor
	movq	8(%r13), %rax
	movq	_HV_LOCALIZED@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_17
## %bb.15:
	leaq	24(%r13), %rbx
	movl	(%r13), %edi
	callq	_cpumask_of_node
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_cpumask_equal
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_cpumask_clear
LBB0_17:
	leaq	24(%r13), %r12
	movl	$-1, %ebx
	movq	_nr_cpu_ids@GOTPCREL(%rip), %r15
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-44(%rbp), %ebx
	movl	(%r13), %edi
	callq	_cpumask_of_node
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_cpumask_copy
	movl	$-1, %ebx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %esi
	movl	%ebx, %edi
	callq	_cpumask_next
	cmpl	(%r15), %eax
	jge	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%eax, %ebx
	movq	8(%r13), %rax
	cmpq	(%r14), %rax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_cpumask_test_cpu
	testl	%eax, %eax
	jne	LBB0_18
## %bb.22:
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_cpumask_set_cpu
LBB0_23:
	movl	%ebx, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_cpumask_set_cpu
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%ebx, 4(%r14)
	movl	%ebx, %edi
	callq	_hv_cpu_number_to_vp_number
	movq	%rax, 16(%r14)
	movq	_bind_channel_to_cpu_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movl	-44(%rbp), %edi
	callq	_free_cpumask_var
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_vmbus_devs,8,3                 ## @vmbus_devs
	.comm	_vmbus_proto_version,8,3        ## @vmbus_proto_version
	.comm	_VERSION_WS2008,8,3             ## @VERSION_WS2008
	.comm	_VERSION_WIN7,8,3               ## @VERSION_WIN7
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_bind_channel_to_cpu_lock,4,2   ## @bind_channel_to_cpu_lock
	.comm	_HV_BALANCED,8,3                ## @HV_BALANCED
	.comm	_next_numa_node_id,4,2          ## @next_numa_node_id
	.comm	_nr_node_ids,4,2                ## @nr_node_ids
	.comm	_hv_context,8,3                 ## @hv_context
	.comm	_HV_LOCALIZED,8,3               ## @HV_LOCALIZED
	.comm	_nr_cpu_ids,4,2                 ## @nr_cpu_ids
	.no_dead_strip	_init_vp_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_vp_index
_init_vp_index:                         ; @init_vp_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _vmbus_proto_version@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmbus_proto_version@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VERSION_WS2008@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VERSION_WS2008@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.1:
Lloh6:
	adrp	x9, _vmbus_devs@GOTPAGE
Lloh7:
	ldr	x9, [x9, _vmbus_devs@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x9, x1, lsl #2]
Lloh9:
	adrp	x10, _VERSION_WIN7@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VERSION_WIN7@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_9
; %bb.2:
	ldr	x23, [x19, #32]
Lloh12:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_alloc_cpumask_var
	cbz	w0, LBB0_9
; %bb.3:
Lloh15:
	adrp	x0, _bind_channel_to_cpu_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _bind_channel_to_cpu_lock@GOTPAGEOFF]
	bl	_spin_lock
	ldr	x8, [x19, #8]
Lloh17:
	adrp	x9, _HV_BALANCED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _HV_BALANCED@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x23, #0, #4, ne
	b.ne	LBB0_11
; %bb.4:
Lloh20:
	adrp	x21, _next_numa_node_id@GOTPAGE
Lloh21:
	ldr	x21, [x21, _next_numa_node_id@GOTPAGEOFF]
Lloh22:
	adrp	x22, _nr_node_ids@GOTPAGE
Lloh23:
	ldr	x22, [x22, _nr_node_ids@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x21]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x21]
	add	w8, w20, #1
	str	w8, [x21]
	ldr	w8, [x22]
	cmp	w20, w8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_cpumask_of_node
	bl	_cpumask_empty
	cbnz	x0, LBB0_6
; %bb.8:
	str	w20, [x19]
	mov	x23, x19
	b	LBB0_12
LBB0_9:
	str	xzr, [x19]
	mov	w0, #0
	bl	_hv_cpu_number_to_vp_number
	str	x0, [x19, #16]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	ldr	w20, [x23]
LBB0_12:
Lloh24:
	adrp	x8, _hv_context@GOTPAGE
Lloh25:
	ldr	x8, [x8, _hv_context@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x20, x8, w20, sxtw #2
	mov	x0, x20
	bl	_cpumask_weight
	mov	x21, x0
	ldr	w0, [x23]
	bl	_cpumask_of_node
	bl	_cpumask_weight
	cmp	x21, x0
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_cpumask_clear
LBB0_14:
	ldr	w21, [sp, #12]
	ldr	w0, [x23]
	bl	_cpumask_of_node
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_cpumask_xor
	ldr	x8, [x23, #8]
Lloh27:
	adrp	x24, _HV_LOCALIZED@GOTPAGE
Lloh28:
	ldr	x24, [x24, _HV_LOCALIZED@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.15:
	mov	x21, x23
	ldr	w0, [x21], #24
	bl	_cpumask_of_node
	mov	x1, x0
	mov	x0, x21
	bl	_cpumask_equal
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x21
	bl	_cpumask_clear
LBB0_17:
	add	x21, x23, #24
	mov	w22, #-1
Lloh29:
	adrp	x25, _nr_cpu_ids@GOTPAGE
Lloh30:
	ldr	x25, [x25, _nr_cpu_ids@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w22, [sp, #12]
	ldr	w0, [x23]
	bl	_cpumask_of_node
	mov	x1, x0
	mov	x0, x22
	bl	_cpumask_copy
	mov	w22, #-1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x22
	bl	_cpumask_next
	ldr	w8, [x25]
	cmp	w0, w8
	b.ge	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x22, x0
	ldr	x8, [x23, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_cpumask_test_cpu
	cbnz	w0, LBB0_19
; %bb.22:
	mov	x0, x22
	mov	x1, x21
	bl	_cpumask_set_cpu
LBB0_23:
	mov	x0, x22
	mov	x1, x20
	bl	_cpumask_set_cpu
	str	w22, [x19, #4]
	mov	x0, x22
	bl	_hv_cpu_number_to_vp_number
	str	x0, [x19, #16]
Lloh31:
	adrp	x0, _bind_channel_to_cpu_lock@GOTPAGE
Lloh32:
	ldr	x0, [x0, _bind_channel_to_cpu_lock@GOTPAGEOFF]
	bl	_spin_unlock
	ldr	w0, [sp, #12]
	bl	_free_cpumask_var
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_vmbus_devs,8,3                 ; @vmbus_devs
	.comm	_vmbus_proto_version,8,3        ; @vmbus_proto_version
	.comm	_VERSION_WS2008,8,3             ; @VERSION_WS2008
	.comm	_VERSION_WIN7,8,3               ; @VERSION_WIN7
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_bind_channel_to_cpu_lock,4,2   ; @bind_channel_to_cpu_lock
	.comm	_HV_BALANCED,8,3                ; @HV_BALANCED
	.comm	_next_numa_node_id,4,2          ; @next_numa_node_id
	.comm	_nr_node_ids,4,2                ; @nr_node_ids
	.comm	_hv_context,8,3                 ; @hv_context
	.comm	_HV_LOCALIZED,8,3               ; @HV_LOCALIZED
	.comm	_nr_cpu_ids,4,2                 ; @nr_cpu_ids
	.no_dead_strip	_init_vp_index
.subsections_via_symbols
