	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_vcs
_setup_vcs:                             ## @setup_vcs
	.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	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$6, %eax
	jl	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_gen6_bsd_set_default_submission@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
LBB0_3:
	movq	_gen6_bsd_ring_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_GT_BSD_USER_INTERRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_gen6_xcs_emit_breadcrumb@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_bsd_ring_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ILK_BSD_USER_INTERRUPT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movq	_gen7_xcs_emit_breadcrumb@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_11
LBB0_9:
	movq	_I915_BSD_USER_INTERRUPT@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gen6_bsd_set_default_submission,4,2 ## @gen6_bsd_set_default_submission
	.comm	_gen6_bsd_ring_flush,4,2        ## @gen6_bsd_ring_flush
	.comm	_GT_BSD_USER_INTERRUPT,4,2      ## @GT_BSD_USER_INTERRUPT
	.comm	_gen6_xcs_emit_breadcrumb,4,2   ## @gen6_xcs_emit_breadcrumb
	.comm	_gen7_xcs_emit_breadcrumb,4,2   ## @gen7_xcs_emit_breadcrumb
	.comm	_bsd_ring_flush,4,2             ## @bsd_ring_flush
	.comm	_ILK_BSD_USER_INTERRUPT,4,2     ## @ILK_BSD_USER_INTERRUPT
	.comm	_I915_BSD_USER_INTERRUPT,4,2    ## @I915_BSD_USER_INTERRUPT
	.no_dead_strip	_setup_vcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_vcs
_setup_vcs:                             ; @setup_vcs
	.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	x20, [x0, #16]
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #6
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x20
	mov	w1, #6
	bl	_IS_GEN
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _gen6_bsd_set_default_submission@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gen6_bsd_set_default_submission@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_3:
Lloh3:
	adrp	x8, _gen6_bsd_ring_flush@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gen6_bsd_ring_flush@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GT_BSD_USER_INTERRUPT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GT_BSD_USER_INTERRUPT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	x0, x20
	mov	w1, #6
	bl	_IS_GEN
	cbz	x0, LBB0_7
; %bb.4:
Lloh9:
	adrp	x8, _gen6_xcs_emit_breadcrumb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _gen6_xcs_emit_breadcrumb@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x8, _bsd_ring_flush@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bsd_ring_flush@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x20
	mov	w1, #5
	bl	_IS_GEN
	cbz	x0, LBB0_9
; %bb.6:
Lloh14:
	adrp	x8, _ILK_BSD_USER_INTERRUPT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ILK_BSD_USER_INTERRUPT@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _gen7_xcs_emit_breadcrumb@GOTPAGE
Lloh17:
	ldr	x8, [x8, _gen7_xcs_emit_breadcrumb@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_11
LBB0_9:
Lloh18:
	adrp	x8, _I915_BSD_USER_INTERRUPT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I915_BSD_USER_INTERRUPT@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_gen6_bsd_set_default_submission,4,2 ; @gen6_bsd_set_default_submission
	.comm	_gen6_bsd_ring_flush,4,2        ; @gen6_bsd_ring_flush
	.comm	_GT_BSD_USER_INTERRUPT,4,2      ; @GT_BSD_USER_INTERRUPT
	.comm	_gen6_xcs_emit_breadcrumb,4,2   ; @gen6_xcs_emit_breadcrumb
	.comm	_gen7_xcs_emit_breadcrumb,4,2   ; @gen7_xcs_emit_breadcrumb
	.comm	_bsd_ring_flush,4,2             ; @bsd_ring_flush
	.comm	_ILK_BSD_USER_INTERRUPT,4,2     ; @ILK_BSD_USER_INTERRUPT
	.comm	_I915_BSD_USER_INTERRUPT,4,2    ; @I915_BSD_USER_INTERRUPT
	.no_dead_strip	_setup_vcs
.subsections_via_symbols
