	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgui_color_rect
_rgui_color_rect:                       ## @rgui_color_rect
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	%edx, %r8d
	movl	%edx, %eax
	cmovbl	%r8d, %eax
	addl	16(%rbp), %r8d
	cmpl	%edx, %r8d
	cmovael	%edx, %r8d
	cmpl	%r8d, %eax
	jae	LBB0_15
## %bb.1:
	addl	%ecx, %r9d
	cmpl	%esi, %r9d
	cmovael	%esi, %r9d
	movl	24(%rbp), %r10d
	cmpl	%esi, %ecx
	cmovael	%esi, %ecx
	movl	%eax, %r11d
	movl	%r8d, %r8d
	movq	%r9, %rdi
	subq	%rcx, %rdi
	leaq	-8(%rdi), %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	shrq	$3, %rdx
	incq	%rdx
	movq	%rdi, %rbx
	andq	$-8, %rbx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	addq	%rcx, %rbx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movl	%edx, %r15d
	andl	$3, %r15d
	andq	$-4, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rbx
	addq	$112, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	imull	%esi, %eax
	addq	$16, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	shlq	$5, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	addl	%esi, %eax
	cmpq	%r8, %r11
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movl	%eax, %eax
	cmpl	%r9d, %ecx
	jae	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rbx
	cmpq	$8, %rdi
	jb	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$24, -104(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %r14
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%r14,%r12,4)
	movdqu	%xmm0, -96(%r14,%r12,4)
	movdqu	%xmm0, -80(%r14,%r12,4)
	movdqu	%xmm0, -64(%r14,%r12,4)
	movdqu	%xmm0, -48(%r14,%r12,4)
	movdqu	%xmm0, -32(%r14,%r12,4)
	movdqu	%xmm0, -16(%r14,%r12,4)
	movdqu	%xmm0, (%r14,%r12,4)
	addq	$32, %r12
	addq	$-4, %r13
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, %r12
	addq	%rax, %r12
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r12,4), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rbx,%rdx)
	movdqu	%xmm0, (%rbx,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r15
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	cmpq	-96(%rbp), %rdi                 ## 8-byte Folded Reload
	je	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r10d, (%rdx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r9
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rgui_color_rect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgui_color_rect
_rgui_color_rect:                       ; @rgui_color_rect
	.cfi_startproc
; %bb.0:
	cmp	w4, w2
	csel	w8, w4, w2, lo
	add	w9, w6, w4
	cmp	w9, w2
	csel	w9, w9, w2, lo
	cmp	w8, w9
	b.hs	LBB0_10
; %bb.1:
	add	w10, w5, w3
	cmp	w10, w1
	csel	w10, w10, w1, lo
	cmp	w3, w1
	csel	w11, w3, w1, lo
	sub	x12, x10, x11
	and	x13, x12, #0xfffffffffffffff0
	add	x14, x13, x11
	dup.4s	v0, w7
	add	x15, x0, w11, uxtw #2
	add	x15, x15, #32
	mul	w17, w1, w8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	w17, w16, w1
	cmp	x8, x9
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	mov	w16, w17
	cmp	w11, w10
	b.hs	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x11
	cmp	x12, #16
	b.lo	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x17, x15, w17, uxtw #2
	mov	x2, x13
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x17, #-32]
	stp	q0, q0, [x17], #64
	subs	x2, x2, #16
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x14
	cmp	x12, x13
	b.eq	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x17, x2, x16
	add	x17, x0, x17, lsl #2
	sub	x2, x10, x2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w7, [x17], #4
	subs	x2, x2, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rgui_color_rect
.subsections_via_symbols
