	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_fill_rectangle              ## -- Begin function ff_fill_rectangle
	.p2align	4, 0x90
_ff_fill_rectangle:                     ## @ff_fill_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_16
## %bb.1:
	movq	%rcx, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rbx), %rax
	cmpq	%rax, %rcx
	movq	%rcx, %r13
	jge	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movq	%rbx, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	callq	_pointer_at
	movq	%rax, %r14
	movq	32(%rbx), %rax
	movl	(%rax,%r13,4), %esi
	movl	16(%rbp), %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	24(%rbx), %rax
	movl	(%rax,%r13,4), %esi
	movl	24(%rbp), %edi
	callq	_AV_CEIL_RSHIFT
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_HAVE_BIGENDIAN@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%rbx, %r15
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rax
	movq	(%rax), %rax
	cmpl	$9, (%rax)
	jl	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	cmpl	$0, (%rax,%r13,4)
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	shlq	$4, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r14
	addq	$8, %r14
	movq	8(%rcx,%rax), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rbx,2), %edi
	callq	_av_bswap16
	movq	(%r14), %rcx
	movl	%eax, (%rcx,%rbx,2)
	movq	8(%r15), %rax
	addq	$2, %rbx
	cmpl	(%rax,%r13,4), %ebx
	jl	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	shlq	$4, %rax
	addq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%r15), %rax
	movq	%r13, %rcx
	movl	(%rax,%r13,4), %r13d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movq	%rcx, %rbx
	callq	_memcpy
	movq	%rbx, %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	(%rax,%rbx,4), %r13
	leaq	(%r15,%r13,4), %r15
	decl	%r14d
	jne	LBB0_11
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	%r13, %rcx
	movl	(%rax,%r13,4), %r13d
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r12d
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jl	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	imull	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movslq	(%r15,%rcx,4), %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rbx
	decl	%r12d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %r14
	movq	%rcx, %r15
	callq	_memcpy
	movq	%r15, %rcx
	movq	%r14, %r15
	movslq	(%r14,%rcx,4), %rax
	leaq	(%rbx,%rax,4), %rbx
	decl	%r12d
	jne	LBB0_14
	jmp	LBB0_15
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_BIGENDIAN,8,3             ## @HAVE_BIGENDIAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_fill_rectangle              ; -- Begin function ff_fill_rectangle
	.p2align	2
_ff_fill_rectangle:                     ; @ff_fill_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
	stp	w6, w7, [sp, #24]               ; 8-byte Folded Spill
	stp	w4, w5, [sp, #16]               ; 8-byte Folded Spill
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x23, x3
	mov	x24, x2
	mov	x25, x0
	mov	x26, #0
	ldr	x8, [x1]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.ge	LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x26
	ldp	w4, w5, [sp, #16]               ; 8-byte Folded Reload
	bl	_pointer_at
	mov	x20, x0
	ldr	x8, [x25, #32]
	lsl	x19, x26, #2
	ldr	w1, [x8, x19]
	ldr	w0, [sp, #24]                   ; 4-byte Folded Reload
	bl	_AV_CEIL_RSHIFT
	mov	x28, x0
	ldr	x8, [x25, #24]
	ldr	w1, [x8, x19]
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	bl	_AV_CEIL_RSHIFT
	cbz	w0, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x0
Lloh0:
	adrp	x8, _HAVE_BIGENDIAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HAVE_BIGENDIAN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #9
	b.lt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, #8]
	ldr	w8, [x8, x26, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
	mov	x21, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x22, x8, x26, lsl #4
	ldr	x8, [x22, #8]!
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x8, x21]
	bl	_av_bswap16
	ldr	x8, [x22]
	str	w0, [x8, x21]
	ldr	x9, [x25, #8]
	ldr	w9, [x9, x26, lsl #2]
	add	x21, x21, #4
	add	w27, w27, #2
	cmp	w27, w9
	b.lt	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w28, #0
	b.le	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x21, x8, x26, lsl #4
	ldr	x8, [x25, #8]
	ldr	w2, [x8, x26, lsl #2]
	mov	x22, x28
	mov	x27, x20
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x21]
	mov	x0, x27
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	x8, [x25, #8]
	ldrsw	x2, [x8, x26, lsl #2]
	add	x27, x27, x2, lsl #2
	subs	w22, w22, #1
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #2
	b.lt	LBB0_2
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, #8]
	ldr	w2, [x8, x26, lsl #2]
	cmp	w19, #2
	b.lt	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	w28, w2, w28
	ldrsw	x8, [x23, x26, lsl #2]
	add	x27, x20, x8, lsl #2
	sub	w19, w19, #1
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x27
	mov	x1, x20
	mov	x2, x28
	bl	_memcpy
	ldrsw	x8, [x23, x26, lsl #2]
	add	x27, x27, x8, lsl #2
	subs	w19, w19, #1
	b.ne	LBB0_15
	b	LBB0_2
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_BIGENDIAN,8,3             ; @HAVE_BIGENDIAN
.subsections_via_symbols
