	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_scissors
_set_scissors:                          ## @set_scissors
	.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	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r12d
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	movl	$12, %edi
	callq	_BEGIN_RING
	movq	_R600_IT_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movq	_R600_PA_SC_SCREEN_SCISSOR_TL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_R600_SET_CONTEXT_REG_OFFSET@GOTPCREL(%rip), %r13
	subl	(%r13), %edi
	sarl	$2, %edi
	callq	_OUT_RING
	shll	$16, %ebx
	orl	%r12d, %ebx
	movl	%ebx, %edi
	callq	_OUT_RING
	shll	$16, %r14d
	orl	%r15d, %r14d
	movl	%r14d, %edi
	callq	_OUT_RING
	movq	_R600_IT_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movq	_R600_PA_SC_GENERIC_SCISSOR_TL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subl	(%r13), %edi
	sarl	$2, %edi
	callq	_OUT_RING
	orl	$-2147483648, %ebx              ## imm = 0x80000000
	movl	%ebx, %edi
	callq	_OUT_RING
	movl	%r14d, %edi
	callq	_OUT_RING
	movq	_R600_IT_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movq	_R600_PA_SC_WINDOW_SCISSOR_TL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subl	(%r13), %edi
	sarl	$2, %edi
	callq	_OUT_RING
	movl	%ebx, %edi
	callq	_OUT_RING
	movl	%r14d, %edi
	callq	_OUT_RING
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ADVANCE_RING                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_LOCALS,4,2                ## @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_R600_IT_SET_CONTEXT_REG,4,2    ## @R600_IT_SET_CONTEXT_REG
	.comm	_R600_PA_SC_SCREEN_SCISSOR_TL,4,2 ## @R600_PA_SC_SCREEN_SCISSOR_TL
	.comm	_R600_SET_CONTEXT_REG_OFFSET,4,2 ## @R600_SET_CONTEXT_REG_OFFSET
	.comm	_R600_PA_SC_GENERIC_SCISSOR_TL,4,2 ## @R600_PA_SC_GENERIC_SCISSOR_TL
	.comm	_R600_PA_SC_WINDOW_SCISSOR_TL,4,2 ## @R600_PA_SC_WINDOW_SCISSOR_TL
	.no_dead_strip	_set_scissors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_scissors
_set_scissors:                          ; @set_scissors
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	mov	w0, #12
	bl	_BEGIN_RING
Lloh2:
	adrp	x23, _R600_IT_SET_CONTEXT_REG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _R600_IT_SET_CONTEXT_REG@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #2
	bl	_CP_PACKET3
	bl	_OUT_RING
Lloh4:
	adrp	x8, _R600_PA_SC_SCREEN_SCISSOR_TL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R600_PA_SC_SCREEN_SCISSOR_TL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x24, _R600_SET_CONTEXT_REG_OFFSET@GOTPAGE
Lloh8:
	ldr	x24, [x24, _R600_SET_CONTEXT_REG_OFFSET@GOTPAGEOFF]
	ldr	w9, [x24]
	sub	w8, w8, w9
	asr	w0, w8, #2
	bl	_OUT_RING
	orr	w21, w22, w21, lsl #16
	mov	x0, x21
	bl	_OUT_RING
	orr	w19, w20, w19, lsl #16
	mov	x0, x19
	bl	_OUT_RING
	ldr	w0, [x23]
	mov	w1, #2
	bl	_CP_PACKET3
	bl	_OUT_RING
Lloh9:
	adrp	x8, _R600_PA_SC_GENERIC_SCISSOR_TL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _R600_PA_SC_GENERIC_SCISSOR_TL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x24]
	sub	w8, w8, w9
	asr	w0, w8, #2
	bl	_OUT_RING
	orr	w20, w21, #0x80000000
	mov	x0, x20
	bl	_OUT_RING
	mov	x0, x19
	bl	_OUT_RING
	ldr	w0, [x23]
	mov	w1, #2
	bl	_CP_PACKET3
	bl	_OUT_RING
Lloh12:
	adrp	x8, _R600_PA_SC_WINDOW_SCISSOR_TL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R600_PA_SC_WINDOW_SCISSOR_TL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x24]
	sub	w8, w8, w9
	asr	w0, w8, #2
	bl	_OUT_RING
	mov	x0, x20
	bl	_OUT_RING
	mov	x0, x19
	bl	_OUT_RING
	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
	b	_ADVANCE_RING
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_LOCALS,4,2                ; @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_R600_IT_SET_CONTEXT_REG,4,2    ; @R600_IT_SET_CONTEXT_REG
	.comm	_R600_PA_SC_SCREEN_SCISSOR_TL,4,2 ; @R600_PA_SC_SCREEN_SCISSOR_TL
	.comm	_R600_SET_CONTEXT_REG_OFFSET,4,2 ; @R600_SET_CONTEXT_REG_OFFSET
	.comm	_R600_PA_SC_GENERIC_SCISSOR_TL,4,2 ; @R600_PA_SC_GENERIC_SCISSOR_TL
	.comm	_R600_PA_SC_WINDOW_SCISSOR_TL,4,2 ; @R600_PA_SC_WINDOW_SCISSOR_TL
	.no_dead_strip	_set_scissors
.subsections_via_symbols
