	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_pixels
_fill_pixels:                           ## @fill_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	%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
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	movq	48(%rbp), %rbx
	movq	40(%rbp), %r13
	movq	32(%rbp), %r10
	movq	24(%rbp), %r11
	movq	(%rdi), %r12
	movq	(%rsi), %r9
	movq	(%rdx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r10), %r14d
	movslq	%r14d, %r10
	movl	(%r13), %ecx
	movl	(%rbx), %r15d
	cmpl	$2, %r15d
	je	LBB0_8
## %bb.1:
	cmpl	$1, %r15d
	je	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	jne	LBB0_13
## %bb.3:
	movq	(%r11), %r8
	leaq	(%r10,%r10), %rbx
	shlq	$4, %r10
	addq	%r8, (%r12,%r10)
	movq	8(%r11), %r8
	orl	$1, %ebx
	movslq	%ebx, %r15
	addq	%r8, (%r12,%r15,8)
	movq	16(%r11), %rbx
	addq	%rbx, (%r9,%r10)
	movq	24(%r11), %rax
	addq	%rax, (%r9,%r15,8)
	movq	48(%rbp), %rbx
	movl	$1, %r15d
	jmp	LBB0_13
LBB0_4:
	movq	(%r11), %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, (%rax,%r10,8)
	movq	8(%r11), %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, (%rax,%r10,8)
	incl	%r10d
	cmpl	56(%rbp), %r10d
	jl	LBB0_7
## %bb.5:
	incl	%ecx
	movl	$1, %eax
	cmpl	64(%rbp), %ecx
	jge	LBB0_14
## %bb.6:
	addl	%r8d, %r8d
	movslq	%r8d, %rax
	shlq	$3, %rax
	subq	%rax, %r12
	subq	%rax, %r9
	movslq	-68(%rbp), %rax                 ## 4-byte Folded Reload
	shlq	$3, %rax
	subq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	movslq	16(%rbp), %rax
	shlq	$3, %rax
	subq	%rax, -56(%rbp)                 ## 8-byte Folded Spill
	xorl	%r10d, %r10d
LBB0_7:
	movq	16(%r11), %r8
	leal	(%r10,%r10), %ebx
	movslq	%ebx, %rbx
	addq	%r8, (%r12,%rbx,8)
	movq	24(%r11), %r8
	leal	(%r10,%r10), %ebx
	incl	%ebx
	movslq	%ebx, %rbx
	addq	%r8, (%r12,%rbx,8)
	movl	$2, %r15d
	movl	%r10d, %r14d
	jmp	LBB0_12
LBB0_8:
	movq	(%r11), %rbx
	movq	%r10, %rax
	shlq	$4, %rax
	addq	%rbx, (%r9,%rax)
	leaq	(%r10,%r10), %rax
	movq	8(%r11), %rbx
	orl	$1, %eax
	cltq
	addq	%rbx, (%r9,%rax,8)
	movq	16(%r11), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	%rax, (%rbx,%r10,8)
	movq	24(%r11), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	%rax, (%rbx,%r10,8)
	movl	%r10d, %r14d
	incl	%r14d
	xorl	%r15d, %r15d
	cmpl	56(%rbp), %r14d
	jl	LBB0_11
## %bb.9:
	incl	%ecx
	movl	$1, %eax
	cmpl	64(%rbp), %ecx
	jge	LBB0_14
## %bb.10:
	addl	%r8d, %r8d
	movslq	%r8d, %rax
	shlq	$3, %rax
	subq	%rax, %r12
	subq	%rax, %r9
	movslq	-68(%rbp), %rax                 ## 4-byte Folded Reload
	shlq	$3, %rax
	subq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	movslq	16(%rbp), %rax
	shlq	$3, %rax
	subq	%rax, -56(%rbp)                 ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
LBB0_11:
	movq	40(%rbp), %r13
LBB0_12:
	movq	48(%rbp), %rbx
LBB0_13:
	movq	32(%rbp), %r8
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rdi)
	movq	%r9, (%rsi)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%rdx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rax)
	movl	%r15d, (%rbx)
	movl	%r14d, (%r8)
	movl	%ecx, (%r13)
	xorl	%eax, %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fill_pixels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_pixels
_fill_pixels:                           ; @fill_pixels
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	ldp	w20, w8, [sp, #72]
	ldp	x9, x10, [sp, #56]
	ldr	x11, [sp, #48]
	ldr	x12, [x0]
	ldr	x13, [x1]
	ldr	x14, [x2]
	ldr	x15, [x3]
	ldr	w17, [x11]
	sxtw	x21, w17
	ldr	w16, [x9]
	ldr	w19, [x10]
	cmp	w19, #2
	b.eq	LBB0_8
; %bb.1:
	cmp	w19, #1
	b.eq	LBB0_4
; %bb.2:
	cbnz	w19, LBB0_12
; %bb.3:
	ldr	x8, [x7]
	lsl	x4, x21, #4
	ldr	x5, [x12, x4]
	add	x8, x5, x8
	str	x8, [x12, x4]
	ldr	x8, [x7, #8]
	mov	w19, #1
	mov	w5, #1
	bfi	w5, w21, #1, #31
	sbfiz	x5, x5, #3, #32
	ldr	x6, [x12, x5]
	add	x8, x6, x8
	str	x8, [x12, x5]
	ldr	x8, [x7, #16]
	ldr	x6, [x13, x4]
	add	x8, x6, x8
	str	x8, [x13, x4]
	ldr	x8, [x7, #24]
	ldr	x4, [x13, x5]
	add	x8, x4, x8
	str	x8, [x13, x5]
	b	LBB0_12
LBB0_4:
	lsl	x19, x21, #3
	ldr	x21, [x14, x19]
	ldr	x22, [x7]
	add	x21, x21, x22
	str	x21, [x14, x19]
	ldr	x21, [x15, x19]
	ldr	x22, [x7, #8]
	add	x21, x21, x22
	str	x21, [x15, x19]
	add	w17, w17, #1
	cmp	w17, w20
	b.lt	LBB0_7
; %bb.5:
	add	w16, w16, #1
	cmp	w16, w8
	b.ge	LBB0_14
; %bb.6:
	mov	w17, #0
	lsl	w8, w4, #1
	sbfiz	x8, x8, #3, #32
	sub	x12, x12, x8
	sub	x13, x13, x8
	sub	x14, x14, w5, sxtw #3
	sub	x15, x15, w6, sxtw #3
LBB0_7:
	ldr	x8, [x7, #16]
	lsl	w4, w17, #1
	sbfiz	x4, x4, #3, #32
	ldr	x5, [x12, x4]
	add	x8, x5, x8
	str	x8, [x12, x4]
	ldr	x8, [x7, #24]
	add	x4, x12, w17, sxtw #4
	ldr	x5, [x4, #8]
	add	x8, x5, x8
	str	x8, [x4, #8]
	mov	w19, #2
	b	LBB0_12
LBB0_8:
	ldr	x19, [x7]
	lsl	x22, x21, #4
	ldr	x23, [x13, x22]
	add	x19, x23, x19
	str	x19, [x13, x22]
	ldr	x19, [x7, #8]
	mov	w22, #1
	bfi	w22, w21, #1, #31
	sbfiz	x22, x22, #3, #32
	ldr	x23, [x13, x22]
	add	x19, x23, x19
	str	x19, [x13, x22]
	lsl	x19, x21, #3
	ldr	x21, [x14, x19]
	ldr	x22, [x7, #16]
	add	x21, x21, x22
	str	x21, [x14, x19]
	ldr	x21, [x15, x19]
	ldr	x7, [x7, #24]
	add	x7, x21, x7
	str	x7, [x15, x19]
	add	w17, w17, #1
	cmp	w17, w20
	b.ge	LBB0_10
; %bb.9:
	mov	w19, #0
	b	LBB0_12
LBB0_10:
	add	w16, w16, #1
	cmp	w16, w8
	b.ge	LBB0_14
; %bb.11:
	mov	w17, #0
	mov	w19, #0
	lsl	w8, w4, #1
	sbfiz	x8, x8, #3, #32
	sub	x12, x12, x8
	sub	x13, x13, x8
	sub	x14, x14, w5, sxtw #3
	sub	x15, x15, w6, sxtw #3
LBB0_12:
	mov	w8, #0
	str	x12, [x0]
	str	x13, [x1]
	str	x14, [x2]
	str	x15, [x3]
	str	w19, [x10]
	str	w17, [x11]
	str	w16, [x9]
LBB0_13:
	mov	x0, x8
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w8, #1
	b	LBB0_13
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fill_pixels
.subsections_via_symbols
