	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gt_init                  ## -- Begin function intel_gt_init
	.p2align	4, 0x90
_intel_gt_init:                         ## @intel_gt_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	leaq	12(%r14), %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	callq	_intel_gt_reset
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_vlv_force_wake_put@GOTPCREL(%rip), %r15
	movq	_vlv_force_wake_get@GOTPCREL(%rip), %r12
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_IS_IVYBRIDGE
	movq	___gen6_gt_force_wake_mt_put@GOTPCREL(%rip), %r15
	movq	___gen6_gt_force_wake_mt_get@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_IS_GEN6
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	___gen6_gt_force_wake_put@GOTPCREL(%rip), %r15
	movq	___gen6_gt_force_wake_get@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	movl	%eax, 8(%r14)
	movl	(%r15), %eax
	movl	%eax, 4(%r14)
LBB0_7:
	movq	_intel_gen6_powersave_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_INIT_DELAYED_WORK              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vlv_force_wake_get,4,2         ## @vlv_force_wake_get
	.comm	_vlv_force_wake_put,4,2         ## @vlv_force_wake_put
	.comm	___gen6_gt_force_wake_mt_get,4,2 ## @__gen6_gt_force_wake_mt_get
	.comm	___gen6_gt_force_wake_mt_put,4,2 ## @__gen6_gt_force_wake_mt_put
	.comm	___gen6_gt_force_wake_get,4,2   ## @__gen6_gt_force_wake_get
	.comm	___gen6_gt_force_wake_put,4,2   ## @__gen6_gt_force_wake_put
	.comm	_intel_gen6_powersave_work,4,2  ## @intel_gen6_powersave_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gt_init                  ; -- Begin function intel_gt_init
	.p2align	2
_intel_gt_init:                         ; @intel_gt_init
	.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
	ldr	x19, [x0]
	add	x0, x19, #12
	bl	_spin_lock_init
	mov	x0, x20
	bl	_intel_gt_reset
	mov	x0, x20
	bl	_IS_VALLEYVIEW
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _vlv_force_wake_put@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vlv_force_wake_put@GOTPAGEOFF]
Lloh2:
	adrp	x9, _vlv_force_wake_get@GOTPAGE
Lloh3:
	ldr	x9, [x9, _vlv_force_wake_get@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_IS_IVYBRIDGE
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_IS_HASWELL
	cbz	x0, LBB0_7
LBB0_4:
Lloh4:
	adrp	x8, ___gen6_gt_force_wake_mt_put@GOTPAGE
Lloh5:
	ldr	x8, [x8, ___gen6_gt_force_wake_mt_put@GOTPAGEOFF]
Lloh6:
	adrp	x9, ___gen6_gt_force_wake_mt_get@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___gen6_gt_force_wake_mt_get@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w8, w9, [x19, #4]
LBB0_6:
Lloh8:
	adrp	x8, _intel_gen6_powersave_work@GOTPAGE
Lloh9:
	ldr	x8, [x8, _intel_gen6_powersave_work@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_INIT_DELAYED_WORK
LBB0_7:
	mov	x0, x20
	bl	_IS_GEN6
	cbz	x0, LBB0_6
; %bb.8:
Lloh11:
	adrp	x8, ___gen6_gt_force_wake_put@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___gen6_gt_force_wake_put@GOTPAGEOFF]
Lloh13:
	adrp	x9, ___gen6_gt_force_wake_get@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___gen6_gt_force_wake_get@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_vlv_force_wake_get,4,2         ; @vlv_force_wake_get
	.comm	_vlv_force_wake_put,4,2         ; @vlv_force_wake_put
	.comm	___gen6_gt_force_wake_mt_get,4,2 ; @__gen6_gt_force_wake_mt_get
	.comm	___gen6_gt_force_wake_mt_put,4,2 ; @__gen6_gt_force_wake_mt_put
	.comm	___gen6_gt_force_wake_get,4,2   ; @__gen6_gt_force_wake_get
	.comm	___gen6_gt_force_wake_put,4,2   ; @__gen6_gt_force_wake_put
	.comm	_intel_gen6_powersave_work,4,2  ; @intel_gen6_powersave_work
.subsections_via_symbols
