	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_pmu_register_cpuhp_state
_i915_pmu_register_cpuhp_state:         ## @i915_pmu_register_cpuhp_state
	.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	%rdi, %r14
	movq	_CPUHP_AP_ONLINE_DYN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_i915_pmu_cpu_online@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_i915_pmu_cpu_offline@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_cpuhp_setup_state_multi
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_cpuhp_state_add_instance
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_cpuhp_remove_multi_state
	movl	%r14d, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_cpuhp_slot@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUHP_AP_ONLINE_DYN,4,2        ## @CPUHP_AP_ONLINE_DYN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"perf/x86/intel/i915:online"

	.comm	_i915_pmu_cpu_online,4,2        ## @i915_pmu_cpu_online
	.comm	_i915_pmu_cpu_offline,4,2       ## @i915_pmu_cpu_offline
	.comm	_cpuhp_slot,4,2                 ## @cpuhp_slot
	.no_dead_strip	_i915_pmu_register_cpuhp_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_pmu_register_cpuhp_state
_i915_pmu_register_cpuhp_state:         ; @i915_pmu_register_cpuhp_state
	.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	x20, x0
Lloh0:
	adrp	x8, _CPUHP_AP_ONLINE_DYN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPUHP_AP_ONLINE_DYN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _i915_pmu_cpu_online@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i915_pmu_cpu_online@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _i915_pmu_cpu_offline@GOTPAGE
Lloh7:
	ldr	x8, [x8, _i915_pmu_cpu_offline@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_cpuhp_setup_state_multi
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_cpuhp_state_add_instance
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_cpuhp_remove_multi_state
	mov	x19, x20
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _cpuhp_slot@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cpuhp_slot@GOTPAGEOFF]
Lloh13:
	str	w19, [x8]
	mov	w19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUHP_AP_ONLINE_DYN,4,2        ; @CPUHP_AP_ONLINE_DYN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"perf/x86/intel/i915:online"

	.comm	_i915_pmu_cpu_online,4,2        ; @i915_pmu_cpu_online
	.comm	_i915_pmu_cpu_offline,4,2       ; @i915_pmu_cpu_offline
	.comm	_cpuhp_slot,4,2                 ; @cpuhp_slot
	.no_dead_strip	_i915_pmu_register_cpuhp_state
.subsections_via_symbols
