	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_init_cpu_groups
_alloc_init_cpu_groups:                 ## @alloc_init_cpu_groups
	.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, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdi
	callq	_alloc_cpumask_var
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_nb_available_cpus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi
	movq	_cpu_online_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_cpumask_copy
	movl	-44(%rbp), %edi
	callq	_cpumask_empty
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	xorl	%r12d, %r12d
	movq	%r15, %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi
	callq	_cpumask_any
	movl	%eax, %edi
	callq	_topology_core_cpumask
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_alloc_cpumask_var
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_cpumask_copy
	movl	-44(%rbp), %edi
	movl	%edi, %esi
	movq	%rbx, %rdx
	callq	_cpumask_andnot
	movl	-44(%rbp), %edi
	callq	_cpumask_empty
	incl	%r12d
	addq	$4, %r13
	testl	%eax, %eax
	je	LBB0_5
LBB0_8:
	movl	-44(%rbp), %edi
	callq	_free_cpumask_var
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	jmp	LBB0_9
LBB0_6:
	leaq	-64(%rbp), %rsi
	movl	%r12d, %edi
	callq	_free_cpu_groups
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nb_available_cpus,4,2          ## @nb_available_cpus
	.comm	_cpu_online_mask,8,3            ## @cpu_online_mask
	.no_dead_strip	_alloc_init_cpu_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_init_cpu_groups
_alloc_init_cpu_groups:                 ; @alloc_init_cpu_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x0, sp, #12
	bl	_alloc_cpumask_var
	cbz	w0, LBB0_8
; %bb.1:
Lloh2:
	adrp	x8, _nb_available_cpus@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nb_available_cpus@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w2, [x24]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [sp]
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w0, [sp, #12]
Lloh5:
	adrp	x8, _cpu_online_mask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cpu_online_mask@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	bl	_cpumask_copy
	ldr	w0, [sp, #12]
	bl	_cpumask_empty
	mov	w21, #0
	cbnz	w0, LBB0_6
; %bb.3:
	mov	x22, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #12]
	bl	_cpumask_any
	bl	_topology_core_cpumask
	mov	x23, x0
	ldr	w1, [x24]
	mov	x0, x22
	bl	_alloc_cpumask_var
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22], #4
	mov	x1, x23
	bl	_cpumask_copy
	ldr	w0, [sp, #12]
	mov	x1, x0
	mov	x2, x23
	bl	_cpumask_andnot
	ldr	w0, [sp, #12]
	bl	_cpumask_empty
	add	w21, w21, #1
	cbz	w0, LBB0_4
LBB0_6:
	ldr	w0, [sp, #12]
	bl	_free_cpumask_var
	str	x20, [x19]
	b	LBB0_9
LBB0_7:
	mov	x1, sp
	mov	x0, x21
	bl	_free_cpu_groups
LBB0_8:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nb_available_cpus,4,2          ; @nb_available_cpus
	.comm	_cpu_online_mask,8,3            ; @cpu_online_mask
	.no_dead_strip	_alloc_init_cpu_groups
.subsections_via_symbols
