	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function scale_and_bias_rgba
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_scale_and_bias_rgba:                   ## @scale_and_bias_rgba
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	8(%r13), %r15d
	imull	(%rdx,%rbx,4), %edi
	addl	4(%r13), %edi
	imull	(%rcx,%rbx,4), %r15d
	addl	12(%r13), %r15d
	movl	16(%r13), %r12d
	imull	(%r8,%rbx,4), %r12d
	addl	20(%r13), %r12d
	movl	24(%r13), %r14d
	imull	(%r9,%rbx,4), %r14d
	addl	28(%r13), %r14d
	xorps	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_CLAMP
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	xorps	%xmm0, %xmm0
	movl	%r15d, %edi
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_CLAMP
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	xorps	%xmm0, %xmm0
	movl	%r12d, %edi
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_CLAMP
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	xorps	%xmm0, %xmm0
	movl	%r14d, %edi
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_CLAMP
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	%eax, (%r9,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %rsi
	jne	LBB0_2
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_scale_and_bias_rgba
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scale_and_bias_rgba
_scale_and_bias_rgba:                   ; @scale_and_bias_rgba
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldp	w9, w10, [x24]
	madd	w0, w9, w8, w10
	ldr	w8, [x21]
	ldp	w9, w10, [x24, #8]
	madd	w25, w9, w8, w10
	ldr	w8, [x20]
	ldp	w9, w10, [x24, #16]
	madd	w26, w9, w8, w10
	ldr	w8, [x19]
	ldp	w9, w10, [x24, #24]
	madd	w27, w9, w8, w10
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_CLAMP
	str	w0, [x22], #4
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	mov	x0, x25
	bl	_CLAMP
	str	w0, [x21], #4
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	mov	x0, x26
	bl	_CLAMP
	str	w0, [x20], #4
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	mov	x0, x27
	bl	_CLAMP
	str	w0, [x19], #4
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_scale_and_bias_rgba
.subsections_via_symbols
