	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bxt_idle_state_table_update
_bxt_idle_state_table_update:           ## @bxt_idle_state_table_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MSR_PKGC6_IRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	callq	_irtl_2_usec
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_bxt_cstates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 16(%rcx)
	movl	%eax, 20(%rcx)
LBB0_2:
	movq	_MSR_PKGC7_IRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	callq	_irtl_2_usec
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_bxt_cstates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 24(%rcx)
	movl	%eax, 28(%rcx)
LBB0_4:
	movq	_MSR_PKGC8_IRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	callq	_irtl_2_usec
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_bxt_cstates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 32(%rcx)
	movl	%eax, 36(%rcx)
LBB0_6:
	movq	_MSR_PKGC9_IRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	callq	_irtl_2_usec
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_bxt_cstates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 40(%rcx)
	movl	%eax, 44(%rcx)
LBB0_8:
	movq	_MSR_PKGC10_IRTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	callq	_irtl_2_usec
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_bxt_cstates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 48(%rcx)
	movl	%eax, 52(%rcx)
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_PKGC6_IRTL,4,2             ## @MSR_PKGC6_IRTL
	.comm	_bxt_cstates,8,3                ## @bxt_cstates
	.comm	_MSR_PKGC7_IRTL,4,2             ## @MSR_PKGC7_IRTL
	.comm	_MSR_PKGC8_IRTL,4,2             ## @MSR_PKGC8_IRTL
	.comm	_MSR_PKGC9_IRTL,4,2             ## @MSR_PKGC9_IRTL
	.comm	_MSR_PKGC10_IRTL,4,2            ## @MSR_PKGC10_IRTL
	.no_dead_strip	_bxt_idle_state_table_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bxt_idle_state_table_update
_bxt_idle_state_table_update:           ; @bxt_idle_state_table_update
	.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
Lloh0:
	adrp	x8, _MSR_PKGC6_IRTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSR_PKGC6_IRTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rdmsrl
	bl	_irtl_2_usec
Lloh3:
	adrp	x19, _bxt_cstates@GOTPAGE
Lloh4:
	ldr	x19, [x19, _bxt_cstates@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	stp	w0, w0, [x8, #16]
LBB0_2:
Lloh5:
	adrp	x8, _MSR_PKGC7_IRTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSR_PKGC7_IRTL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_rdmsrl
	bl	_irtl_2_usec
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	stp	w0, w0, [x8, #24]
LBB0_4:
Lloh8:
	adrp	x8, _MSR_PKGC8_IRTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSR_PKGC8_IRTL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_rdmsrl
	bl	_irtl_2_usec
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	stp	w0, w0, [x8, #32]
LBB0_6:
Lloh11:
	adrp	x8, _MSR_PKGC9_IRTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSR_PKGC9_IRTL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_rdmsrl
	bl	_irtl_2_usec
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x19]
	stp	w0, w0, [x8, #40]
LBB0_8:
Lloh14:
	adrp	x8, _MSR_PKGC10_IRTL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSR_PKGC10_IRTL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_rdmsrl
	bl	_irtl_2_usec
	cbz	w0, LBB0_10
; %bb.9:
	ldr	x8, [x19]
	stp	w0, w0, [x8, #48]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_PKGC6_IRTL,4,2             ; @MSR_PKGC6_IRTL
	.comm	_bxt_cstates,8,3                ; @bxt_cstates
	.comm	_MSR_PKGC7_IRTL,4,2             ; @MSR_PKGC7_IRTL
	.comm	_MSR_PKGC8_IRTL,4,2             ; @MSR_PKGC8_IRTL
	.comm	_MSR_PKGC9_IRTL,4,2             ; @MSR_PKGC9_IRTL
	.comm	_MSR_PKGC10_IRTL,4,2            ; @MSR_PKGC10_IRTL
	.no_dead_strip	_bxt_idle_state_table_update
.subsections_via_symbols
