	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isst_if_cpu_online
_isst_if_cpu_online:                    ## @isst_if_cpu_online
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_MSR_CPU_BUS_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rsi
	callq	_rdmsrl_safe
	movl	%r14d, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_isst_cpu_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	movl	$-1, (%rax)
	movl	$-1, %ecx
	jmp	LBB0_3
LBB0_2:
	movzbl	-28(%rbp), %ecx
	movq	_isst_cpu_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rax
	movl	%ecx, (%rax)
	movzbl	-27(%rbp), %ecx
LBB0_3:
	movl	%ecx, 4(%rax)
	movq	_MSR_THREAD_ID_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rsi
	callq	_rdmsrl_safe
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_isst_cpu_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rbx
	movl	$-1, 8(%rax,%rbx)
	jmp	LBB0_6
LBB0_5:
	movl	-28(%rbp), %eax
	movq	_isst_cpu_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rbx
	movl	%eax, 8(%rcx,%rbx)
	movl	%r14d, %edi
	callq	_isst_restore_msr_local
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_CPU_BUS_NUMBER,4,2         ## @MSR_CPU_BUS_NUMBER
	.comm	_isst_cpu_info,8,3              ## @isst_cpu_info
	.comm	_MSR_THREAD_ID_INFO,4,2         ## @MSR_THREAD_ID_INFO
	.no_dead_strip	_isst_if_cpu_online
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isst_if_cpu_online
_isst_if_cpu_online:                    ; @isst_if_cpu_online
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _MSR_CPU_BUS_NUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSR_CPU_BUS_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_rdmsrl_safe
Lloh3:
	adrp	x21, _isst_cpu_info@GOTPAGE
Lloh4:
	ldr	x21, [x21, _isst_cpu_info@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	mov	w9, w19
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	mov	w9, #-1
	str	w9, [x8]
	b	LBB0_3
LBB0_2:
	ldrb	w9, [sp, #12]
	ldr	x8, [x21]
	mov	w10, w19
	lsl	x10, x10, #4
	ldr	x8, [x8, x10]
	str	w9, [x8]
	ldrb	w9, [sp, #13]
LBB0_3:
	str	w9, [x8, #4]
Lloh5:
	adrp	x8, _MSR_THREAD_ID_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSR_THREAD_ID_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_rdmsrl_safe
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x8, [x21]
	add	x8, x8, w19, uxtw #4
	mov	w9, #-1
	str	w9, [x8, #8]
	b	LBB0_6
LBB0_5:
	ldr	w8, [sp, #12]
	ldr	x9, [x21]
	add	x9, x9, w19, uxtw #4
	str	w8, [x9, #8]
	mov	x0, x19
	bl	_isst_restore_msr_local
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_CPU_BUS_NUMBER,4,2         ; @MSR_CPU_BUS_NUMBER
	.comm	_isst_cpu_info,8,3              ; @isst_cpu_info
	.comm	_MSR_THREAD_ID_INFO,4,2         ; @MSR_THREAD_ID_INFO
	.no_dead_strip	_isst_if_cpu_online
.subsections_via_symbols
