	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __get_rc6
___get_rc6:                             ## @__get_rc6
	.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	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_GEN6_GT_GFX_RC6@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_VLV_GT_RENDER_RC6@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_rc6_residency_ns
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_HAS_RC6p
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_GEN6_GT_GFX_RC6p@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_rc6_residency_ns
	addq	%rax, %r14
LBB0_5:
	movq	%rbx, %rdi
	callq	_HAS_RC6pp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_GEN6_GT_GFX_RC6pp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_rc6_residency_ns
	addq	%rax, %r14
LBB0_7:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VLV_GT_RENDER_RC6,4,2          ## @VLV_GT_RENDER_RC6
	.comm	_GEN6_GT_GFX_RC6,4,2            ## @GEN6_GT_GFX_RC6
	.comm	_GEN6_GT_GFX_RC6p,4,2           ## @GEN6_GT_GFX_RC6p
	.comm	_GEN6_GT_GFX_RC6pp,4,2          ## @GEN6_GT_GFX_RC6pp
	.no_dead_strip	___get_rc6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __get_rc6
___get_rc6:                             ; @__get_rc6
	.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
	ldr	x19, [x0]
	mov	x0, x19
	bl	_IS_VALLEYVIEW
Lloh0:
	adrp	x8, _VLV_GT_RENDER_RC6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLV_GT_RENDER_RC6@GOTPAGEOFF]
Lloh2:
	adrp	x9, _GEN6_GT_GFX_RC6@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GEN6_GT_GFX_RC6@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_rc6_residency_ns
	mov	x20, x0
	mov	x0, x19
	bl	_HAS_RC6p
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _GEN6_GT_GFX_RC6p@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GEN6_GT_GFX_RC6p@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_rc6_residency_ns
	add	x20, x0, x20
LBB0_2:
	mov	x0, x19
	bl	_HAS_RC6pp
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _GEN6_GT_GFX_RC6pp@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GEN6_GT_GFX_RC6pp@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_rc6_residency_ns
	add	x20, x0, x20
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VLV_GT_RENDER_RC6,4,2          ; @VLV_GT_RENDER_RC6
	.comm	_GEN6_GT_GFX_RC6,4,2            ; @GEN6_GT_GFX_RC6
	.comm	_GEN6_GT_GFX_RC6p,4,2           ; @GEN6_GT_GFX_RC6p
	.comm	_GEN6_GT_GFX_RC6pp,4,2          ; @GEN6_GT_GFX_RC6pp
	.no_dead_strip	___get_rc6
.subsections_via_symbols
