	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_cpu_soft_notify
_acpi_cpu_soft_notify:                  ## @acpi_cpu_soft_notify
	.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	%rsi, %r14
	movq	_processors@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edx, %esi
	callq	_per_cpu
	movq	%rax, %rbx
	movq	_CPU_ONLINE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_5
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	%rbx, %rdi
	callq	_acpi_processor_start
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_WARN
	movq	$0, (%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_acpi_processor_ppc_has_changed
	movq	%rbx, %rdi
	callq	_acpi_processor_cst_has_changed
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_acpi_processor_reevaluate_tstate
	movq	%rbx, %rdi
	callq	_acpi_processor_tstate_has_changed
LBB0_5:
	movq	_CPU_DEAD@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_8
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_acpi_processor_reevaluate_tstate
LBB0_8:
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_processors,4,2                 ## @processors
	.comm	_CPU_ONLINE,8,3                 ## @CPU_ONLINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Will online and init hotplugged CPU: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to start CPU: %d\n"

	.comm	_CPU_DEAD,8,3                   ## @CPU_DEAD
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.no_dead_strip	_acpi_cpu_soft_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_cpu_soft_notify
_acpi_cpu_soft_notify:                  ; @acpi_cpu_soft_notify
	.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, x1
Lloh0:
	adrp	x8, _processors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _processors@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x2
	bl	_per_cpu
	mov	x20, x0
Lloh3:
	adrp	x8, _CPU_ONLINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPU_ONLINE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	ccmp	x0, #0, #4, eq
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x20, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	x0, x20
	bl	_acpi_processor_start
	ldr	w2, [x20, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN
	str	xzr, [x20]
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_acpi_processor_ppc_has_changed
	mov	x0, x20
	bl	_acpi_processor_cst_has_changed
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_processor_reevaluate_tstate
	mov	x0, x20
	bl	_acpi_processor_tstate_has_changed
LBB0_4:
Lloh10:
	adrp	x8, _CPU_DEAD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CPU_DEAD@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, x19
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_processor_reevaluate_tstate
LBB0_6:
Lloh13:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	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
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_processors,4,2                 ; @processors
	.comm	_CPU_ONLINE,8,3                 ; @CPU_ONLINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Will online and init hotplugged CPU: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to start CPU: %d\n"

	.comm	_CPU_DEAD,8,3                   ; @CPU_DEAD
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.no_dead_strip	_acpi_cpu_soft_notify
.subsections_via_symbols
