	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen7_setup_fixed_func_scheduler
_gen7_setup_fixed_func_scheduler:       ## @gen7_setup_fixed_func_scheduler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GEN7_FF_THREAD_MODE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_I915_READ
	movq	_GEN7_FF_SCHED_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_GEN7_FF_TS_SCHED_HW@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_GEN7_FF_VS_SCHED_HW@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_GEN7_FF_DS_SCHED_HW@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %edi
	callq	_IS_HASWELL
	movq	_GEN7_FF_VS_REF_CNT_FFME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%esi, %esi
	cmpq	$1, %rax
	sbbl	%esi, %esi
	notl	%ecx
	orl	%ecx, %esi
	andl	%ebx, %esi
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN7_FF_THREAD_MODE,4,2        ## @GEN7_FF_THREAD_MODE
	.comm	_GEN7_FF_SCHED_MASK,4,2         ## @GEN7_FF_SCHED_MASK
	.comm	_GEN7_FF_TS_SCHED_HW,4,2        ## @GEN7_FF_TS_SCHED_HW
	.comm	_GEN7_FF_VS_SCHED_HW,4,2        ## @GEN7_FF_VS_SCHED_HW
	.comm	_GEN7_FF_DS_SCHED_HW,4,2        ## @GEN7_FF_DS_SCHED_HW
	.comm	_GEN7_FF_VS_REF_CNT_FFME,4,2    ## @GEN7_FF_VS_REF_CNT_FFME
	.no_dead_strip	_gen7_setup_fixed_func_scheduler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen7_setup_fixed_func_scheduler
_gen7_setup_fixed_func_scheduler:       ; @gen7_setup_fixed_func_scheduler
	.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
Lloh0:
	adrp	x20, _GEN7_FF_THREAD_MODE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GEN7_FF_THREAD_MODE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_I915_READ
Lloh2:
	adrp	x8, _GEN7_FF_SCHED_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GEN7_FF_SCHED_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _GEN7_FF_TS_SCHED_HW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GEN7_FF_TS_SCHED_HW@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _GEN7_FF_VS_SCHED_HW@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GEN7_FF_VS_SCHED_HW@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _GEN7_FF_DS_SCHED_HW@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GEN7_FF_DS_SCHED_HW@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w21, w8, w9
	ldr	w0, [x19]
	bl	_IS_HASWELL
Lloh14:
	adrp	x8, _GEN7_FF_VS_REF_CNT_FFME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GEN7_FF_VS_REF_CNT_FFME@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	x0, #0
	mov	w9, #-1
	csinv	w8, w9, w8, eq
	and	w1, w8, w21
	ldr	w0, [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
	b	_I915_WRITE
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN7_FF_THREAD_MODE,4,2        ; @GEN7_FF_THREAD_MODE
	.comm	_GEN7_FF_SCHED_MASK,4,2         ; @GEN7_FF_SCHED_MASK
	.comm	_GEN7_FF_TS_SCHED_HW,4,2        ; @GEN7_FF_TS_SCHED_HW
	.comm	_GEN7_FF_VS_SCHED_HW,4,2        ; @GEN7_FF_VS_SCHED_HW
	.comm	_GEN7_FF_DS_SCHED_HW,4,2        ; @GEN7_FF_DS_SCHED_HW
	.comm	_GEN7_FF_VS_REF_CNT_FFME,4,2    ; @GEN7_FF_VS_REF_CNT_FFME
	.no_dead_strip	_gen7_setup_fixed_func_scheduler
.subsections_via_symbols
