	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_disable_gt_powersave     ## -- Begin function intel_disable_gt_powersave
	.p2align	4, 0x90
_intel_disable_gt_powersave:            ## @intel_disable_gt_powersave
	.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, %rbx
	movq	(%rdi), %r14
	callq	_IS_IRONLAKE_M
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	callq	_ironlake_disable_drps
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ironlake_disable_rc6           ## TAILCALL
LBB0_1:
	callq	_INTEL_INFO
	cmpl	$6, (%rax)
	jl	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testl	%eax, %eax
	je	LBB0_5
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	4(%r14), %rdi
	callq	_cancel_delayed_work_sync
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_gen6_disable_rps
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_disable_gt_powersave     ; -- Begin function intel_disable_gt_powersave
	.p2align	2
_intel_disable_gt_powersave:            ; @intel_disable_gt_powersave
	.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, x0
	ldr	x20, [x0]
	bl	_IS_IRONLAKE_M
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ironlake_disable_drps
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ironlake_disable_rc6
LBB0_2:
	mov	x0, x19
	bl	_INTEL_INFO
	ldr	w8, [x0]
	cmp	w8, #6
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_IS_VALLEYVIEW
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	add	x0, x20, #4
	bl	_cancel_delayed_work_sync
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x19
	bl	_gen6_disable_rps
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
