	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uncore_forcewake_init
_uncore_forcewake_init:                 ## @uncore_forcewake_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	8(%rdi), %r15
	callq	_intel_uncore_has_forcewake
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_GEM_BUG_ON
	movq	%rbx, %rdi
	callq	_intel_uncore_fw_domains_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_forcewake_early_sanitize
	movq	%r15, %rdi
	movl	$6, %esi
	movl	$7, %edx
	callq	_IS_GEN_RANGE
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_gen6@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_WRITE_MMIO_VFUNCS
	movq	%r15, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	___vlv_fw_ranges@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_FW_DOMAINS_TABLE
	movq	_fwtable@GOTPCREL(%rip), %r12
	jmp	LBB0_13
LBB0_4:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_IS_GEN
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	___chv_fw_ranges@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movl	$9, %esi
	movl	$10, %edx
	callq	_IS_GEN_RANGE
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	___gen9_fw_ranges@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_FW_DOMAINS_TABLE
	movq	_fwtable@GOTPCREL(%rip), %r12
LBB0_12:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_WRITE_MMIO_VFUNCS
	jmp	LBB0_13
LBB0_8:
	movq	_gen8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_WRITE_MMIO_VFUNCS
	movq	_gen6@GOTPCREL(%rip), %r12
LBB0_13:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_READ_MMIO_VFUNCS
	movq	_i915_pmic_bus_access_notifier@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_iosf_mbi_register_pmic_bus_access_notifier
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	___gen11_fw_ranges@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ASSIGN_FW_DOMAINS_TABLE
	movq	_gen11_fwtable@GOTPCREL(%rip), %r12
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_gen6,4,2                       ## @gen6
	.comm	___vlv_fw_ranges,4,2            ## @__vlv_fw_ranges
	.comm	_fwtable,4,2                    ## @fwtable
	.comm	___chv_fw_ranges,4,2            ## @__chv_fw_ranges
	.comm	_gen8,4,2                       ## @gen8
	.comm	___gen9_fw_ranges,4,2           ## @__gen9_fw_ranges
	.comm	___gen11_fw_ranges,4,2          ## @__gen11_fw_ranges
	.comm	_gen11_fwtable,4,2              ## @gen11_fwtable
	.comm	_i915_pmic_bus_access_notifier,4,2 ## @i915_pmic_bus_access_notifier
	.no_dead_strip	_uncore_forcewake_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uncore_forcewake_init
_uncore_forcewake_init:                 ; @uncore_forcewake_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0, #8]
	bl	_intel_uncore_has_forcewake
	cmp	w0, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
	mov	x0, x19
	bl	_intel_uncore_fw_domains_init
	mov	x20, x0
	cbnz	w0, LBB0_13
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_forcewake_early_sanitize
	mov	x0, x21
	mov	w1, #6
	mov	w2, #7
	bl	_IS_GEN_RANGE
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x22, _gen6@GOTPAGE
Lloh1:
	ldr	x22, [x22, _gen6@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ASSIGN_WRITE_MMIO_VFUNCS
	mov	x0, x21
	bl	_IS_VALLEYVIEW
	cbz	x0, LBB0_12
; %bb.3:
Lloh2:
	adrp	x8, ___vlv_fw_ranges@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___vlv_fw_ranges@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ASSIGN_FW_DOMAINS_TABLE
Lloh5:
	adrp	x22, _fwtable@GOTPAGE
Lloh6:
	ldr	x22, [x22, _fwtable@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	mov	x0, x21
	mov	w1, #8
	bl	_IS_GEN
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_11
; %bb.6:
Lloh7:
	adrp	x8, ___chv_fw_ranges@GOTPAGE
Lloh8:
	ldr	x8, [x8, ___chv_fw_ranges@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	mov	w1, #9
	mov	w2, #10
	bl	_IS_GEN_RANGE
	cbz	x0, LBB0_14
; %bb.8:
Lloh9:
	adrp	x8, ___gen9_fw_ranges@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___gen9_fw_ranges@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ASSIGN_FW_DOMAINS_TABLE
Lloh11:
	adrp	x22, _fwtable@GOTPAGE
Lloh12:
	ldr	x22, [x22, _fwtable@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ASSIGN_WRITE_MMIO_VFUNCS
	b	LBB0_12
LBB0_11:
Lloh13:
	adrp	x8, _gen8@GOTPAGE
Lloh14:
	ldr	x8, [x8, _gen8@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ASSIGN_WRITE_MMIO_VFUNCS
Lloh16:
	adrp	x22, _gen6@GOTPAGE
Lloh17:
	ldr	x22, [x22, _gen6@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ASSIGN_READ_MMIO_VFUNCS
Lloh18:
	adrp	x8, _i915_pmic_bus_access_notifier@GOTPAGE
Lloh19:
	ldr	x8, [x8, _i915_pmic_bus_access_notifier@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	bl	_iosf_mbi_register_pmic_bus_access_notifier
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh21:
	adrp	x8, ___gen11_fw_ranges@GOTPAGE
Lloh22:
	ldr	x8, [x8, ___gen11_fw_ranges@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ASSIGN_FW_DOMAINS_TABLE
Lloh24:
	adrp	x22, _gen11_fwtable@GOTPAGE
Lloh25:
	ldr	x22, [x22, _gen11_fwtable@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_gen6,4,2                       ; @gen6
	.comm	___vlv_fw_ranges,4,2            ; @__vlv_fw_ranges
	.comm	_fwtable,4,2                    ; @fwtable
	.comm	___chv_fw_ranges,4,2            ; @__chv_fw_ranges
	.comm	_gen8,4,2                       ; @gen8
	.comm	___gen9_fw_ranges,4,2           ; @__gen9_fw_ranges
	.comm	___gen11_fw_ranges,4,2          ; @__gen11_fw_ranges
	.comm	_gen11_fwtable,4,2              ; @gen11_fwtable
	.comm	_i915_pmic_bus_access_notifier,4,2 ; @i915_pmic_bus_access_notifier
	.no_dead_strip	_uncore_forcewake_init
.subsections_via_symbols
