	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_init_blt_ring_buffer     ## -- Begin function intel_init_blt_ring_buffer
	.p2align	4, 0x90
_intel_init_blt_ring_buffer:            ## @intel_init_blt_ring_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_BCS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	imulq	$88, %r8, %rcx
	leaq	(%rax,%rcx), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rdx, (%rax,%rcx)
	movq	%r8, 8(%rax,%rcx)
	movq	_BLT_RING_BASE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 80(%rax,%rcx)
	movq	_ring_write_tail@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 76(%rax,%rcx)
	movq	_blt_ring_flush@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 72(%rax,%rcx)
	movq	_gen6_add_request@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 68(%rax,%rcx)
	movq	_gen6_ring_get_seqno@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 64(%rax,%rcx)
	movq	_ring_set_seqno@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 60(%rax,%rcx)
	movq	_GEN6_BLITTER_USER_INTERRUPT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 56(%rax,%rcx)
	movq	_gen6_ring_get_irq@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 52(%rax,%rcx)
	movq	_gen6_ring_put_irq@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 48(%rax,%rcx)
	movq	_gen6_ring_dispatch_execbuffer@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 44(%rax,%rcx)
	movq	_gen6_ring_sync@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 40(%rax,%rcx)
	movq	_MI_SEMAPHORE_SYNC_BR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	32(%rax,%rcx), %r9
	movl	%r8d, (%r9)
	movq	_MI_SEMAPHORE_SYNC_BV@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%r9)
	movq	_MI_SEMAPHORE_SYNC_INVALID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 8(%r9)
	movq	_GEN6_RBSYNC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	24(%rax,%rcx), %r9
	movl	%r8d, (%r9)
	movq	_GEN6_VBSYNC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%r9)
	movq	_init_ring_common@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rax,%rcx)
	popq	%rbp
	jmp	_intel_init_ring_buffer         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BCS,8,3                        ## @BCS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"blitter ring"

	.comm	_BLT_RING_BASE,4,2              ## @BLT_RING_BASE
	.comm	_ring_write_tail,4,2            ## @ring_write_tail
	.comm	_blt_ring_flush,4,2             ## @blt_ring_flush
	.comm	_gen6_add_request,4,2           ## @gen6_add_request
	.comm	_gen6_ring_get_seqno,4,2        ## @gen6_ring_get_seqno
	.comm	_ring_set_seqno,4,2             ## @ring_set_seqno
	.comm	_GEN6_BLITTER_USER_INTERRUPT,4,2 ## @GEN6_BLITTER_USER_INTERRUPT
	.comm	_gen6_ring_get_irq,4,2          ## @gen6_ring_get_irq
	.comm	_gen6_ring_put_irq,4,2          ## @gen6_ring_put_irq
	.comm	_gen6_ring_dispatch_execbuffer,4,2 ## @gen6_ring_dispatch_execbuffer
	.comm	_gen6_ring_sync,4,2             ## @gen6_ring_sync
	.comm	_MI_SEMAPHORE_SYNC_BR,4,2       ## @MI_SEMAPHORE_SYNC_BR
	.comm	_MI_SEMAPHORE_SYNC_BV,4,2       ## @MI_SEMAPHORE_SYNC_BV
	.comm	_MI_SEMAPHORE_SYNC_INVALID,4,2  ## @MI_SEMAPHORE_SYNC_INVALID
	.comm	_GEN6_RBSYNC,4,2                ## @GEN6_RBSYNC
	.comm	_GEN6_VBSYNC,4,2                ## @GEN6_VBSYNC
	.comm	_init_ring_common,4,2           ## @init_ring_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_init_blt_ring_buffer     ; -- Begin function intel_init_blt_ring_buffer
	.p2align	2
_intel_init_blt_ring_buffer:            ; @intel_init_blt_ring_buffer
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _BCS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BCS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #88
	madd	x1, x9, x10, x8
Lloh3:
	adrp	x8, _BLT_RING_BASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLT_RING_BASE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x1, #80]
Lloh6:
	adrp	x8, _ring_write_tail@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ring_write_tail@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x1, #76]
Lloh9:
	adrp	x8, _blt_ring_flush@GOTPAGE
Lloh10:
	ldr	x8, [x8, _blt_ring_flush@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x1, #72]
Lloh12:
	adrp	x8, _gen6_add_request@GOTPAGE
Lloh13:
	ldr	x8, [x8, _gen6_add_request@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x1, #68]
Lloh15:
	adrp	x8, _gen6_ring_get_seqno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _gen6_ring_get_seqno@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x1, #64]
Lloh18:
	adrp	x8, _ring_set_seqno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ring_set_seqno@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x1, #60]
Lloh21:
	adrp	x8, _GEN6_BLITTER_USER_INTERRUPT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GEN6_BLITTER_USER_INTERRUPT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x1, #56]
Lloh24:
	adrp	x8, _gen6_ring_get_irq@GOTPAGE
Lloh25:
	ldr	x8, [x8, _gen6_ring_get_irq@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x1, #52]
Lloh27:
	adrp	x8, _gen6_ring_put_irq@GOTPAGE
Lloh28:
	ldr	x8, [x8, _gen6_ring_put_irq@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x1, #48]
Lloh30:
	adrp	x8, _gen6_ring_dispatch_execbuffer@GOTPAGE
Lloh31:
	ldr	x8, [x8, _gen6_ring_dispatch_execbuffer@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x1, #44]
Lloh33:
	adrp	x8, _gen6_ring_sync@GOTPAGE
Lloh34:
	ldr	x8, [x8, _gen6_ring_sync@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x1, #40]
Lloh36:
	adrp	x8, _MI_SEMAPHORE_SYNC_BR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MI_SEMAPHORE_SYNC_BR@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldp	x11, x10, [x1, #24]
	str	w8, [x10]
Lloh39:
	adrp	x8, _MI_SEMAPHORE_SYNC_BV@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MI_SEMAPHORE_SYNC_BV@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x12, _MI_SEMAPHORE_SYNC_INVALID@GOTPAGE
Lloh43:
	ldr	x12, [x12, _MI_SEMAPHORE_SYNC_INVALID@GOTPAGEOFF]
Lloh44:
	ldr	w12, [x12]
	stp	w8, w12, [x10, #4]
Lloh45:
	adrp	x8, l_.str@PAGE
Lloh46:
	add	x8, x8, l_.str@PAGEOFF
	stp	x8, x9, [x1]
Lloh47:
	adrp	x8, _GEN6_RBSYNC@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GEN6_RBSYNC@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x11]
Lloh50:
	adrp	x8, _GEN6_VBSYNC@GOTPAGE
Lloh51:
	ldr	x8, [x8, _GEN6_VBSYNC@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	str	w8, [x11, #4]
Lloh53:
	adrp	x8, _init_ring_common@GOTPAGE
Lloh54:
	ldr	x8, [x8, _init_ring_common@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	str	w8, [x1, #16]
	b	_intel_init_ring_buffer
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BCS,8,3                        ; @BCS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"blitter ring"

	.comm	_BLT_RING_BASE,4,2              ; @BLT_RING_BASE
	.comm	_ring_write_tail,4,2            ; @ring_write_tail
	.comm	_blt_ring_flush,4,2             ; @blt_ring_flush
	.comm	_gen6_add_request,4,2           ; @gen6_add_request
	.comm	_gen6_ring_get_seqno,4,2        ; @gen6_ring_get_seqno
	.comm	_ring_set_seqno,4,2             ; @ring_set_seqno
	.comm	_GEN6_BLITTER_USER_INTERRUPT,4,2 ; @GEN6_BLITTER_USER_INTERRUPT
	.comm	_gen6_ring_get_irq,4,2          ; @gen6_ring_get_irq
	.comm	_gen6_ring_put_irq,4,2          ; @gen6_ring_put_irq
	.comm	_gen6_ring_dispatch_execbuffer,4,2 ; @gen6_ring_dispatch_execbuffer
	.comm	_gen6_ring_sync,4,2             ; @gen6_ring_sync
	.comm	_MI_SEMAPHORE_SYNC_BR,4,2       ; @MI_SEMAPHORE_SYNC_BR
	.comm	_MI_SEMAPHORE_SYNC_BV,4,2       ; @MI_SEMAPHORE_SYNC_BV
	.comm	_MI_SEMAPHORE_SYNC_INVALID,4,2  ; @MI_SEMAPHORE_SYNC_INVALID
	.comm	_GEN6_RBSYNC,4,2                ; @GEN6_RBSYNC
	.comm	_GEN6_VBSYNC,4,2                ; @GEN6_VBSYNC
	.comm	_init_ring_common,4,2           ; @init_ring_common
.subsections_via_symbols
