	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_scissor_pixels              ## -- Begin function gl_scissor_pixels
	.p2align	4, 0x90
_gl_scissor_pixels:                     ## @gl_scissor_pixels
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %r9
	movq	8(%rax), %r10
	movq	16(%rax), %r11
	movq	24(%rax), %r15
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rax,8), %rbx
	cmpq	%r9, %rbx
	setge	%r14b
	cmpq	%r10, %rbx
	setle	%r12b
	andb	%r14b, %r12b
	movq	(%rcx,%rax,8), %rdi
	cmpq	%r11, %rdi
	setge	%r14b
	cmpq	%r15, %rdi
	setle	%bl
	andb	%r14b, %bl
	andb	%r12b, %bl
	movzbl	%bl, %edi
	andl	%edi, (%r8,%rax,4)
	incq	%rax
	cmpq	%rax, %rsi
	jne	LBB0_2
LBB0_3:
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_scissor_pixels              ; -- Begin function gl_scissor_pixels
	.p2align	2
_gl_scissor_pixels:                     ; @gl_scissor_pixels
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_8
; %bb.1:
	ldr	x11, [x0]
	ldp	x8, x9, [x11]
	ldp	x10, x11, [x11, #16]
	cmp	x1, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x12, #0
	b	LBB0_6
LBB0_3:
	dup.2d	v0, x8
	dup.2d	v1, x9
	dup.2d	v2, x10
	dup.2d	v3, x11
	and	x12, x1, #0xfffffffffffffff8
	add	x13, x2, #32
	add	x14, x4, #16
	add	x15, x3, #32
	movi.2s	v4, #1
	mov	x16, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q5, q6, [x13, #-32]
	ldp	q7, q16, [x13], #64
	cmge.2d	v17, v5, v0
	cmge.2d	v18, v6, v0
	cmge.2d	v19, v7, v0
	cmge.2d	v20, v16, v0
	cmge.2d	v5, v1, v5
	cmge.2d	v6, v1, v6
	cmge.2d	v7, v1, v7
	cmge.2d	v16, v1, v16
	and.16b	v5, v17, v5
	and.16b	v6, v18, v6
	and.16b	v7, v19, v7
	and.16b	v16, v20, v16
	ldp	q17, q18, [x15, #-32]
	ldp	q19, q20, [x15], #64
	cmge.2d	v21, v17, v2
	cmge.2d	v22, v18, v2
	cmge.2d	v23, v19, v2
	cmge.2d	v24, v20, v2
	and.16b	v5, v5, v21
	and.16b	v6, v6, v22
	and.16b	v7, v7, v23
	and.16b	v16, v16, v24
	cmge.2d	v17, v3, v17
	cmge.2d	v18, v3, v18
	cmge.2d	v19, v3, v19
	cmge.2d	v20, v3, v20
	and.16b	v5, v17, v5
	xtn.2s	v5, v5
	and.16b	v6, v18, v6
	xtn.2s	v6, v6
	and.16b	v7, v19, v7
	xtn.2s	v7, v7
	and.16b	v16, v20, v16
	xtn.2s	v16, v16
	ldp	d17, d18, [x14, #-16]
	and.8b	v5, v5, v17
	and.8b	v6, v6, v18
	ldp	d17, d18, [x14]
	and.8b	v7, v7, v17
	and.8b	v16, v16, v18
	and.8b	v5, v5, v4
	and.8b	v6, v6, v4
	and.8b	v7, v7, v4
	and.8b	v16, v16, v4
	stur	d5, [x14, #-16]
	stur	d6, [x14, #-8]
	str	d7, [x14]
	str	d16, [x14, #8]
	add	x14, x14, #32
	subs	x16, x16, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x12, x1
	b.eq	LBB0_8
LBB0_6:
	sub	x13, x1, x12
	add	x14, x4, x12, lsl #2
	lsl	x15, x12, #3
	add	x12, x3, x15
	add	x15, x2, x15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x16, [x15], #8
	cmp	x16, x8
	ccmp	x16, x9, #0, ge
	ldr	x16, [x12], #8
	ccmp	x16, x10, #8, le
	ccmp	x16, x11, #0, ge
	cset	w16, le
	ldr	w17, [x14]
	and	w16, w17, w16
	str	w16, [x14], #4
	subs	x13, x13, #1
	b.ne	LBB0_7
LBB0_8:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
