	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i830_dispatch_execbuffer
_i830_dispatch_execbuffer:              ## @i830_dispatch_execbuffer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	_I915_DISPATCH_PINNED@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_intel_ring_begin
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:
	movq	_MI_BATCH_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	_I915_DISPATCH_SECURE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	$0, %esi
	andl	(%rax), %r12d
	jne	LBB0_4
## %bb.3:
	movq	_MI_BATCH_NON_SECURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_4:
	orl	%r13d, %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	leal	(%r14,%r13), %esi
	addl	$-8, %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	_MI_NOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_11
LBB0_5:
	movq	_I830_BATCH_LIMIT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jge	LBB0_7
## %bb.6:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_7:
	movq	(%r15), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_intel_ring_begin
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movq	_XY_SRC_COPY_BLT_CMD@GOTPCREL(%rip), %rax
	movq	_XY_SRC_COPY_BLT_WRITE_ALPHA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_XY_SRC_COPY_BLT_WRITE_RGB@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	_BLT_DEPTH_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BLT_ROP_GXCOPY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	orl	$4096, %esi                     ## imm = 0x1000
	movq	%r15, %rdi
	callq	_intel_ring_emit
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_ring_emit
	movl	%r14d, %edi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	shll	$16, %eax
	leal	1024(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_intel_ring_emit
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_ring_emit
	movq	%r15, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_intel_ring_emit
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_intel_ring_emit
	movq	_MI_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	_MI_BATCH_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	_I915_DISPATCH_SECURE@GOTPCREL(%rip), %rax
	movl	$0, %esi
	andl	(%rax), %r12d
	jne	LBB0_10
## %bb.9:
	movq	_MI_BATCH_NON_SECURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_10:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	orl	%r12d, %esi
	movq	%r15, %rdi
	callq	_intel_ring_emit
	leal	(%r14,%r12), %esi
	addl	$-8, %esi
LBB0_11:
	movq	%r15, %rdi
	callq	_intel_ring_emit
	movq	%r15, %rdi
	callq	_intel_ring_advance
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_DISPATCH_PINNED,4,2       ## @I915_DISPATCH_PINNED
	.comm	_MI_BATCH_BUFFER,4,2            ## @MI_BATCH_BUFFER
	.comm	_I915_DISPATCH_SECURE,4,2       ## @I915_DISPATCH_SECURE
	.comm	_MI_BATCH_NON_SECURE,4,2        ## @MI_BATCH_NON_SECURE
	.comm	_MI_NOOP,4,2                    ## @MI_NOOP
	.comm	_I830_BATCH_LIMIT,4,2           ## @I830_BATCH_LIMIT
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_XY_SRC_COPY_BLT_CMD,4,2        ## @XY_SRC_COPY_BLT_CMD
	.comm	_XY_SRC_COPY_BLT_WRITE_ALPHA,4,2 ## @XY_SRC_COPY_BLT_WRITE_ALPHA
	.comm	_XY_SRC_COPY_BLT_WRITE_RGB,4,2  ## @XY_SRC_COPY_BLT_WRITE_RGB
	.comm	_BLT_DEPTH_32,4,2               ## @BLT_DEPTH_32
	.comm	_BLT_ROP_GXCOPY,4,2             ## @BLT_ROP_GXCOPY
	.comm	_MI_FLUSH,4,2                   ## @MI_FLUSH
	.no_dead_strip	_i830_dispatch_execbuffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i830_dispatch_execbuffer
_i830_dispatch_execbuffer:              ; @i830_dispatch_execbuffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _I915_DISPATCH_PINNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I915_DISPATCH_PINNED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #4
	bl	_intel_ring_begin
	cbnz	w0, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _MI_BATCH_BUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MI_BATCH_BUFFER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_ring_emit
Lloh6:
	adrp	x8, _I915_DISPATCH_SECURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I915_DISPATCH_SECURE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MI_BATCH_NON_SECURE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MI_BATCH_NON_SECURE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w21
	csel	w8, w9, wzr, eq
	orr	w1, w8, w22
	mov	x0, x19
	bl	_intel_ring_emit
	add	w8, w20, w22
	sub	w1, w8, #8
	mov	x0, x19
	bl	_intel_ring_emit
Lloh12:
	adrp	x8, _MI_NOOP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MI_NOOP@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	b	LBB0_7
LBB0_3:
Lloh15:
	adrp	x8, _I830_BATCH_LIMIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I830_BATCH_LIMIT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ge	LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19]
	ldr	w23, [x8]
	mov	x0, x19
	mov	w1, #12
	bl	_intel_ring_begin
	cbnz	w0, LBB0_8
; %bb.6:
Lloh21:
	adrp	x8, _XY_SRC_COPY_BLT_CMD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _XY_SRC_COPY_BLT_CMD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _XY_SRC_COPY_BLT_WRITE_ALPHA@GOTPAGE
Lloh25:
	ldr	x9, [x9, _XY_SRC_COPY_BLT_WRITE_ALPHA@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _XY_SRC_COPY_BLT_WRITE_RGB@GOTPAGE
Lloh28:
	ldr	x9, [x9, _XY_SRC_COPY_BLT_WRITE_RGB@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_intel_ring_emit
Lloh30:
	adrp	x8, _BLT_DEPTH_32@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BLT_DEPTH_32@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _BLT_ROP_GXCOPY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BLT_ROP_GXCOPY@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w1, w8, #0x1000
	mov	x0, x19
	bl	_intel_ring_emit
	mov	x0, x19
	mov	w1, #0
	bl	_intel_ring_emit
	mov	x0, x20
	mov	w1, #4096
	bl	_DIV_ROUND_UP
	mov	w1, #1024
	bfi	w1, w0, #16, #16
	mov	x0, x19
	bl	_intel_ring_emit
	mov	x0, x19
	mov	x1, x23
	bl	_intel_ring_emit
	mov	x0, x19
	mov	w1, #0
	bl	_intel_ring_emit
	mov	x0, x19
	mov	w1, #4096
	bl	_intel_ring_emit
	mov	x0, x19
	mov	x1, x22
	bl	_intel_ring_emit
Lloh36:
	adrp	x8, _MI_FLUSH@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MI_FLUSH@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_ring_emit
Lloh39:
	adrp	x8, _MI_BATCH_BUFFER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MI_BATCH_BUFFER@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_ring_emit
Lloh42:
	adrp	x8, _I915_DISPATCH_SECURE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _I915_DISPATCH_SECURE@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _MI_BATCH_NON_SECURE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MI_BATCH_NON_SECURE@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w8, w21
	csel	w8, w9, wzr, eq
	orr	w1, w8, w23
	mov	x0, x19
	bl	_intel_ring_emit
	add	w8, w20, w23
	sub	w1, w8, #8
LBB0_7:
	mov	x0, x19
	bl	_intel_ring_emit
	mov	x0, x19
	bl	_intel_ring_advance
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_DISPATCH_PINNED,4,2       ; @I915_DISPATCH_PINNED
	.comm	_MI_BATCH_BUFFER,4,2            ; @MI_BATCH_BUFFER
	.comm	_I915_DISPATCH_SECURE,4,2       ; @I915_DISPATCH_SECURE
	.comm	_MI_BATCH_NON_SECURE,4,2        ; @MI_BATCH_NON_SECURE
	.comm	_MI_NOOP,4,2                    ; @MI_NOOP
	.comm	_I830_BATCH_LIMIT,4,2           ; @I830_BATCH_LIMIT
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_XY_SRC_COPY_BLT_CMD,4,2        ; @XY_SRC_COPY_BLT_CMD
	.comm	_XY_SRC_COPY_BLT_WRITE_ALPHA,4,2 ; @XY_SRC_COPY_BLT_WRITE_ALPHA
	.comm	_XY_SRC_COPY_BLT_WRITE_RGB,4,2  ; @XY_SRC_COPY_BLT_WRITE_RGB
	.comm	_BLT_DEPTH_32,4,2               ; @BLT_DEPTH_32
	.comm	_BLT_ROP_GXCOPY,4,2             ; @BLT_ROP_GXCOPY
	.comm	_MI_FLUSH,4,2                   ; @MI_FLUSH
	.no_dead_strip	_i830_dispatch_execbuffer
.subsections_via_symbols
