	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_ring_setup_status_page   ## -- Begin function intel_ring_setup_status_page
	.p2align	4, 0x90
_intel_ring_setup_status_page:          ## @intel_ring_setup_status_page
	.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	24(%rdi), %rdi
	callq	_IS_GEN7
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.4:
	movq	_RENDER_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	24(%r14), %rdi
	callq	_IS_GEN6
	movl	16(%r14), %edi
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	callq	_RING_HWS_PGA_GEN6
	jmp	LBB0_10
LBB0_6:
	movq	_BSD_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_5:
	movq	_BLT_HWS_PGA_GEN7@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	callq	_RING_HWS_PGA
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movl	8(%r14), %esi
	movl	%ebx, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RENDER_HWS_PGA_GEN7,4,2        ## @RENDER_HWS_PGA_GEN7
	.comm	_BLT_HWS_PGA_GEN7,4,2           ## @BLT_HWS_PGA_GEN7
	.comm	_BSD_HWS_PGA_GEN7,4,2           ## @BSD_HWS_PGA_GEN7
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_ring_setup_status_page   ; -- Begin function intel_ring_setup_status_page
	.p2align	2
_intel_ring_setup_status_page:          ; @intel_ring_setup_status_page
	.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	x0, [x0, #24]
	bl	_IS_GEN7
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.4:
Lloh0:
	adrp	x8, _RENDER_HWS_PGA_GEN7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RENDER_HWS_PGA_GEN7@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_5:
	ldr	x0, [x19, #24]
	bl	_IS_GEN6
	mov	x8, x0
	ldr	w0, [x19, #16]
	cbz	x8, LBB0_10
; %bb.6:
	bl	_RING_HWS_PGA_GEN6
	b	LBB0_11
LBB0_7:
Lloh3:
	adrp	x8, _BSD_HWS_PGA_GEN7@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BSD_HWS_PGA_GEN7@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_8:
Lloh6:
	adrp	x8, _BLT_HWS_PGA_GEN7@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BLT_HWS_PGA_GEN7@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_9:
	mov	w20, #0
	b	LBB0_12
LBB0_10:
	bl	_RING_HWS_PGA
LBB0_11:
	mov	x20, x0
LBB0_12:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_I915_WRITE
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_POSTING_READ
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RENDER_HWS_PGA_GEN7,4,2        ; @RENDER_HWS_PGA_GEN7
	.comm	_BLT_HWS_PGA_GEN7,4,2           ; @BLT_HWS_PGA_GEN7
	.comm	_BSD_HWS_PGA_GEN7,4,2           ; @BSD_HWS_PGA_GEN7
.subsections_via_symbols
