	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_draw_rectangle              ## -- Begin function ff_draw_rectangle
	.p2align	4, 0x90
_ff_draw_rectangle:                     ## @ff_draw_rectangle
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r12
	cmpq	$4, %r12
	je	LBB0_6
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%r12), %eax
	cmpl	$2, %eax
	movl	$0, %r15d
	cmovbl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	$0, %ebx
	cmovbl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	32(%rbp), %edi
	movl	%r15d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	40(%rbp), %edi
	movl	%ebx, %esi
	callq	_AV_CEIL_RSHIFT
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testl	%eax, %eax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	movslq	(%rsi,%r12,4), %rax
	movl	24(%rbp), %edx
	movl	%ebx, %ecx
	sarl	%cl, %edx
	movslq	%edx, %r13
	imulq	%rax, %r13
	shlq	$2, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax,%r12,8), %r13
	movl	16(%rbp), %ebx
	movl	%r15d, %ecx
	sarl	%cl, %ebx
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%r12,4), %edx
	movl	%edx, %eax
	imull	-52(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	movq	%rdi, %r15
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	(%r8,%r12,8), %rsi
	imull	-56(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%r8, %rbx
	callq	_memcpy
	movq	%rbx, %r8
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi,%r12,4), %rax
	leaq	(%r13,%rax,4), %r13
	decl	%r14d
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_ff_draw_rectangle              ; -- Begin function ff_draw_rectangle
	.p2align	2
_ff_draw_rectangle:                     ; @ff_draw_rectangle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w5, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x8, [x0]
	cbz	x8, LBB0_16
; %bb.1:
	mov	x27, x7
	mov	x19, x6
	mov	x28, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	ldp	w0, w25, [x29, #16]
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	w1, #0
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	str	w25, [sp, #24]                  ; 4-byte Folded Spill
	mov	x0, x25
	mov	w1, #0
	bl	_AV_CEIL_RSHIFT
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x25, x0
	ldr	x8, [x24]
	ldr	w9, [x22]
	mul	w9, w9, w27
	add	x26, x8, w9, sxtw #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	mul	w9, w8, w19
	add	x0, x26, w9, sxtw #2
	ldr	x1, [x21]
	mul	w2, w8, w23
	bl	_memcpy
	ldrsw	x8, [x22]
	add	x26, x26, x8, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_3
LBB0_4:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_16
; %bb.5:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	mov	x1, x28
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	ldp	w0, w26, [sp, #24]              ; 8-byte Folded Reload
	mov	x1, x26
	bl	_AV_CEIL_RSHIFT
	asr	w8, w27, w26
	stp	w27, w8, [sp, #12]              ; 8-byte Folded Spill
	asr	w26, w19, w28
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x25, x0
	ldr	x8, [x24, #8]
	ldr	w9, [x22, #4]
	ldr	w10, [sp, #16]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	add	x27, x8, w9, sxtw #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #4]
	mul	w9, w8, w26
	add	x0, x27, w9, sxtw #2
	ldr	x1, [x21, #8]
	mul	w2, w8, w23
	bl	_memcpy
	ldrsw	x8, [x22, #4]
	add	x27, x27, x8, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_7
LBB0_8:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_16
; %bb.9:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	mov	x1, x28
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	ldp	w0, w1, [sp, #24]               ; 8-byte Folded Reload
	bl	_AV_CEIL_RSHIFT
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x25, x0
	ldr	x8, [x24, #16]
	ldr	w9, [x22, #8]
	ldr	w10, [sp, #16]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	add	x27, x8, w9, sxtw #2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #8]
	mul	w9, w8, w26
	add	x0, x27, w9, sxtw #2
	ldr	x1, [x21, #16]
	mul	w2, w8, w23
	bl	_memcpy
	ldrsw	x8, [x22, #8]
	add	x27, x27, x8, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_11
LBB0_12:
	ldr	x8, [x24, #24]
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	cbz	x8, LBB0_16
; %bb.13:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	mov	w1, #0
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	ldr	w0, [sp, #24]                   ; 4-byte Folded Reload
	mov	w1, #0
	bl	_AV_CEIL_RSHIFT
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x25, x0
	ldr	x8, [x24, #24]
	ldr	w9, [x22, #12]
	mul	w9, w9, w26
	add	x24, x8, w9, sxtw #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #12]
	mul	w9, w8, w19
	add	x0, x24, w9, sxtw #2
	ldr	x1, [x21, #24]
	mul	w2, w8, w23
	bl	_memcpy
	ldrsw	x8, [x22, #12]
	add	x24, x24, x8, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_15
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
