	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hotplug_tests
_hotplug_tests:                         ## @hotplug_tests
	.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	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdi
	callq	_alloc_cpumask_var
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	leaq	-56(%rbp), %rdi
	callq	_alloc_init_cpu_groups
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	___get_free_page
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movq	_cpu_online_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi
	callq	_down_and_up_cpus
	movq	%rax, %r13
	testl	%ebx, %ebx
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_6
## %bb.4:
	movl	%ebx, %r14d
	leaq	L_.str.1(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edx
	movl	$1, %edi
	movq	%r15, %rsi
	callq	_cpumap_print_to_pagebuf
	cltq
	movb	$0, -1(%rax,%r15)
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_pr_info
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	movl	-44(%rbp), %esi
	callq	_down_and_up_cpus
	movslq	%r13d, %r13
	addq	%rax, %r13
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_free_page
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
LBB0_7:
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edi
	callq	_free_cpu_groups
LBB0_8:
	movl	-44(%rbp), %edi
	callq	_free_cpumask_var
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying to turn off and on again all CPUs\n"

	.comm	_cpu_online_mask,4,2            ## @cpu_online_mask
L_.str.1:                               ## @.str.1
	.asciz	"Trying to turn off and on again group %d (CPUs %s)\n"

	.no_dead_strip	_hotplug_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hotplug_tests
_hotplug_tests:                         ; @hotplug_tests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
Lloh3:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #28
	bl	_alloc_cpumask_var
	cbz	w0, LBB0_9
; %bb.1:
	add	x0, sp, #16
	bl	_alloc_init_cpu_groups
	tbnz	w0, #31, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w0, [x21]
	bl	___get_free_page
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh7:
	adrp	x8, _cpu_online_mask@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cpu_online_mask@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w1, [sp, #28]
	bl	_down_and_up_cpus
	mov	x19, x0
	cbz	w20, LBB0_6
; %bb.4:
	mov	x23, #0
	mov	w24, w20
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	lsl	x25, x23, #2
	ldr	w2, [x8, x25]
	mov	w0, #1
	mov	x1, x21
	bl	_cpumap_print_to_pagebuf
	add	x8, x21, w0, sxtw
	sturb	wzr, [x8, #-1]
	stp	x23, x21, [sp]
	mov	x0, x22
	bl	_pr_info
	ldr	x8, [sp, #16]
	ldr	w0, [x8, x25]
	ldr	w1, [sp, #28]
	bl	_down_and_up_cpus
	add	x19, x0, w19, sxtw
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x21
	bl	_free_page
LBB0_7:
	add	x1, sp, #16
	mov	x0, x20
	bl	_free_cpu_groups
LBB0_8:
	ldr	w0, [sp, #28]
	bl	_free_cpumask_var
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying to turn off and on again all CPUs\n"

	.comm	_cpu_online_mask,4,2            ; @cpu_online_mask
l_.str.1:                               ; @.str.1
	.asciz	"Trying to turn off and on again group %d (CPUs %s)\n"

	.no_dead_strip	_hotplug_tests
.subsections_via_symbols
