	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function getPixelInterpolated
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_getPixelInterpolated
	.p2align	4, 0x90
_getPixelInterpolated:                  ## @getPixelInterpolated
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -116(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	_GD_BILINEAR_FIXED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.1:
	movq	_GD_BICUBIC_FIXED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.2:
	movq	_GD_NEAREST_NEIGHBOUR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.3:
	movq	_GD_WEIGHTED4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.5:
	movl	-116(%rbp), %esi                ## 4-byte Reload
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getPixelInterpolateWeight      ## TAILCALL
LBB0_6:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:
	movsd	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero
	movapd	%xmm0, %xmm4
	addsd	%xmm5, %xmm4
	xorpd	%xmm2, %xmm2
	movapd	%xmm0, %xmm3
	cmpltsd	%xmm2, %xmm3
	andpd	%xmm3, %xmm4
	andnpd	%xmm0, %xmm3
	movapd	%xmm0, %xmm6
	movapd	%xmm0, -144(%rbp)               ## 16-byte Spill
	orpd	%xmm4, %xmm3
	cvttsd2si	%xmm3, %r14d
	addsd	%xmm1, %xmm5
	movapd	%xmm1, %xmm3
	cmpltsd	%xmm2, %xmm3
	andpd	%xmm3, %xmm5
	andnpd	%xmm1, %xmm3
	orpd	%xmm5, %xmm3
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	cvttsd2si	%xmm3, %ebx
	leal	-1(%r14), %ecx
	leal	-1(%rbx), %r15d
	movl	%ecx, -208(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	subsd	%xmm6, %xmm0
	movapd	%xmm1, -112(%rbp)               ## 16-byte Spill
	callq	*%rax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -296(%rbp)               ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	subsd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -80(%rbp)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	subsd	-144(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -280(%rbp)               ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	subsd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -72(%rbp)
	leal	1(%r14), %eax
	movl	%eax, -204(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	subsd	-144(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -272(%rbp)               ## 8-byte Spill
	leal	1(%rbx), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	subsd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -64(%rbp)
	movq	%r14, -288(%rbp)                ## 8-byte Spill
	leal	2(%r14), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	subsd	-144(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -264(%rbp)               ## 8-byte Spill
	addl	$2, %ebx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	subsd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -56(%rbp)
	movslq	%r15d, %rax
	movslq	%ebx, %rcx
	movq	%rcx, -304(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	decq	%rax
	xorpd	%xmm2, %xmm2
	leaq	-80(%rbp), %r13
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movl	%r13d, %r15d
	movq	-240(%rbp), %r13                ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	incq	%rax
	incl	%r15d
	addq	$8, %r13
	cmpq	-304(%rbp), %rax                ## 8-byte Folded Reload
	jge	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movapd	%xmm2, -144(%rbp)               ## 16-byte Spill
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, -224(%rbp)               ## 16-byte Spill
	cmpl	$0, 8(%r12)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, -240(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	-208(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r15d, %r13d
	movl	-116(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_getPixelOverflowTC
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movl	%r15d, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -176(%rbp)               ## 16-byte Spill
	movl	%r15d, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	%r15d, %edi
	callq	_gdTrueColorGetAlpha
	movapd	-224(%rbp), %xmm1               ## 16-byte Reload
	mulsd	-296(%rbp), %xmm1               ## 8-byte Folded Reload
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	movapd	-160(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	movapd	-192(%rbp), %xmm0               ## 16-byte Reload
	unpcklpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
                                        ## xmm0 = xmm0[0],mem[0]
	mulpd	%xmm1, %xmm0
	movapd	-144(%rbp), %xmm2               ## 16-byte Reload
	addpd	%xmm0, %xmm2
	mulpd	%xmm1, %xmm3
	movapd	-112(%rbp), %xmm0               ## 16-byte Reload
	addpd	%xmm3, %xmm0
	cmpl	-120(%rbp), %r14d               ## 4-byte Folded Reload
	jge	LBB0_10
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movq	-288(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r13d, %edx
	movl	%ebx, %r15d
	movl	%ebx, %ecx
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movapd	%xmm2, -144(%rbp)               ## 16-byte Spill
	callq	_getPixelOverflowTC
	movl	%eax, %ebx
	movapd	-224(%rbp), %xmm0               ## 16-byte Reload
	movapd	%xmm0, %xmm1
	mulsd	-280(%rbp), %xmm1               ## 8-byte Folded Reload
	movapd	%xmm1, -176(%rbp)               ## 16-byte Spill
	movapd	%xmm0, %xmm1
	mulsd	-272(%rbp), %xmm1               ## 8-byte Folded Reload
	movapd	%xmm1, -320(%rbp)               ## 16-byte Spill
	mulsd	-264(%rbp), %xmm0               ## 8-byte Folded Reload
	movapd	%xmm0, -224(%rbp)               ## 16-byte Spill
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -256(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movddup	-176(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	movapd	-256(%rbp), %xmm2               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0]
	movapd	-192(%rbp), %xmm0               ## 16-byte Reload
	unpcklpd	-160(%rbp), %xmm0               ## 16-byte Folded Reload
                                        ## xmm0 = xmm0[0],mem[0]
	mulpd	%xmm1, %xmm0
	addpd	-144(%rbp), %xmm0               ## 16-byte Folded Reload
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movapd	%xmm2, %xmm0
	mulpd	%xmm1, %xmm0
	addpd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movapd	%xmm0, -256(%rbp)               ## 16-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-204(%rbp), %esi                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_getPixelOverflowTC
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -176(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movddup	-320(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	movapd	-160(%rbp), %xmm2               ## 16-byte Reload
	unpcklpd	-112(%rbp), %xmm2               ## 16-byte Folded Reload
                                        ## xmm2 = xmm2[0],mem[0]
	movapd	-176(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	mulpd	%xmm1, %xmm3
	addpd	-256(%rbp), %xmm3               ## 16-byte Folded Reload
	movapd	%xmm3, -176(%rbp)               ## 16-byte Spill
	mulpd	%xmm1, %xmm2
	addpd	-192(%rbp), %xmm2               ## 16-byte Folded Reload
	movapd	%xmm2, -160(%rbp)               ## 16-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-120(%rbp), %esi                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_getPixelOverflowTC
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -144(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	callq	_gdTrueColorGetAlpha
	movapd	-144(%rbp), %xmm2               ## 16-byte Reload
	movddup	-224(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	movapd	-112(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	movapd	%xmm3, %xmm0
	unpcklpd	-192(%rbp), %xmm2               ## 16-byte Folded Reload
                                        ## xmm2 = xmm2[0],mem[0]
	mulpd	%xmm1, %xmm2
	addpd	-160(%rbp), %xmm2               ## 16-byte Folded Reload
	mulpd	%xmm1, %xmm0
	addpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movl	-208(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	callq	_getPixelOverflowPalette
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -176(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movapd	-224(%rbp), %xmm1               ## 16-byte Reload
	mulsd	-296(%rbp), %xmm1               ## 8-byte Folded Reload
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	movapd	-160(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	movapd	-192(%rbp), %xmm0               ## 16-byte Reload
	unpcklpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
                                        ## xmm0 = xmm0[0],mem[0]
	mulpd	%xmm1, %xmm0
	movapd	-144(%rbp), %xmm2               ## 16-byte Reload
	addpd	%xmm0, %xmm2
	mulpd	%xmm1, %xmm3
	movapd	-112(%rbp), %xmm0               ## 16-byte Reload
	addpd	%xmm3, %xmm0
	cmpl	-120(%rbp), %r14d               ## 4-byte Folded Reload
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movq	-288(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %edx
	movl	-116(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %ecx
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movapd	%xmm2, -144(%rbp)               ## 16-byte Spill
	callq	_getPixelOverflowPalette
	movl	%eax, %ebx
	movapd	-224(%rbp), %xmm0               ## 16-byte Reload
	movapd	%xmm0, %xmm1
	mulsd	-280(%rbp), %xmm1               ## 8-byte Folded Reload
	movapd	%xmm1, -176(%rbp)               ## 16-byte Spill
	movapd	%xmm0, %xmm1
	mulsd	-272(%rbp), %xmm1               ## 8-byte Folded Reload
	movapd	%xmm1, -256(%rbp)               ## 16-byte Spill
	mulsd	-264(%rbp), %xmm0               ## 8-byte Folded Reload
	movapd	%xmm0, -224(%rbp)               ## 16-byte Spill
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -240(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movddup	-176(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	movapd	-240(%rbp), %xmm2               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0]
	movapd	-192(%rbp), %xmm0               ## 16-byte Reload
	unpcklpd	-160(%rbp), %xmm0               ## 16-byte Folded Reload
                                        ## xmm0 = xmm0[0],mem[0]
	mulpd	%xmm1, %xmm0
	addpd	-144(%rbp), %xmm0               ## 16-byte Folded Reload
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movapd	%xmm2, %xmm0
	mulpd	%xmm1, %xmm0
	addpd	-112(%rbp), %xmm0               ## 16-byte Folded Reload
	movapd	%xmm0, -240(%rbp)               ## 16-byte Spill
	movq	%r12, %rdi
	movl	-204(%rbp), %esi                ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_getPixelOverflowPalette
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -176(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movddup	-256(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	movapd	-160(%rbp), %xmm2               ## 16-byte Reload
	unpcklpd	-112(%rbp), %xmm2               ## 16-byte Folded Reload
                                        ## xmm2 = xmm2[0],mem[0]
	movapd	-176(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	mulpd	%xmm1, %xmm3
	addpd	-240(%rbp), %xmm3               ## 16-byte Folded Reload
	movapd	%xmm3, -176(%rbp)               ## 16-byte Spill
	mulpd	%xmm1, %xmm2
	addpd	-192(%rbp), %xmm2               ## 16-byte Folded Reload
	movapd	%xmm2, -160(%rbp)               ## 16-byte Spill
	movq	%r12, %rdi
	movl	-120(%rbp), %esi                ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_getPixelOverflowPalette
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_gdTrueColorGetRed
	movapd	%xmm0, -144(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movapd	-144(%rbp), %xmm2               ## 16-byte Reload
	movddup	-224(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	movapd	-112(%rbp), %xmm3               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm3                    ## xmm3 = xmm3[0],xmm0[0]
	movapd	%xmm3, %xmm0
	unpcklpd	-192(%rbp), %xmm2               ## 16-byte Folded Reload
                                        ## xmm2 = xmm2[0],mem[0]
	mulpd	%xmm1, %xmm2
	addpd	-160(%rbp), %xmm2               ## 16-byte Folded Reload
	mulpd	%xmm1, %xmm0
	addpd	-176(%rbp), %xmm0               ## 16-byte Folded Reload
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-200(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_14
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.18:
	movl	$-1, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movapd	%xmm2, %xmm0
	xorl	%edi, %edi
	movl	$255, %esi
	movapd	%xmm2, -144(%rbp)               ## 16-byte Spill
	callq	_CLAMP
	movsd	%xmm0, -224(%rbp)               ## 8-byte Spill
	movaps	-144(%rbp), %xmm0               ## 16-byte Reload
	movhlps	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	xorl	%edi, %edi
	movl	$255, %esi
	callq	_CLAMP
	movsd	%xmm0, -144(%rbp)               ## 8-byte Spill
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	xorl	%edi, %edi
	movl	$255, %esi
	callq	_CLAMP
	movsd	%xmm0, -200(%rbp)               ## 8-byte Spill
	movq	_gdAlphaMax@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movapd	-112(%rbp), %xmm0               ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	xorl	%edi, %edi
	callq	_CLAMP
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.16:
	cvttsd2si	-224(%rbp), %edi        ## 8-byte Folded Reload
	cvttsd2si	-144(%rbp), %esi        ## 8-byte Folded Reload
	cvttsd2si	-200(%rbp), %edx        ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %ecx
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdTrueColorAlpha               ## TAILCALL
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GD_BILINEAR_FIXED,8,3          ## @GD_BILINEAR_FIXED
	.comm	_GD_BICUBIC_FIXED,8,3           ## @GD_BICUBIC_FIXED
	.comm	_GD_NEAREST_NEIGHBOUR,8,3       ## @GD_NEAREST_NEIGHBOUR
	.comm	_GD_WEIGHTED4,8,3               ## @GD_WEIGHTED4
	.comm	_gdAlphaMax,4,2                 ## @gdAlphaMax
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getPixelInterpolated           ; -- Begin function getPixelInterpolated
	.p2align	2
_getPixelInterpolated:                  ; @getPixelInterpolated
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	d15, d14, [sp, #64]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #80]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #96]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	fmov	d8, d1
	fmov	d9, d0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	fmov	d1, #-1.00000000
	fadd	d0, d0, d1
	fcmp	d9, #0.0
	fcsel	d0, d0, d9, mi
	fadd	d1, d8, d1
	fcmp	d8, #0.0
	fcsel	d1, d1, d8, mi
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _GD_BILINEAR_FIXED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GD_BILINEAR_FIXED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _GD_BICUBIC_FIXED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GD_BICUBIC_FIXED@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _GD_NEAREST_NEIGHBOUR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _GD_NEAREST_NEIGHBOUR@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_3
LBB0_1:
	ldr	x8, [sp, #56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.2:
	mov	w0, #-1
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #96]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #80]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_3:
	mov	x19, x1
	mov	x20, x0
Lloh15:
	adrp	x9, _GD_WEIGHTED4@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GD_WEIGHTED4@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.5:
	mov	x0, x20
	fmov	d0, d9
	fmov	d1, d8
	mov	x1, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #96]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #80]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_getPixelInterpolateWeight
LBB0_6:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_1
; %bb.7:
	fcvtzs	w21, d0
	fcvtzs	w24, d1
	sub	w22, w21, #1
	sub	w23, w24, #1
	scvtf	d0, w22
	fsub	d0, d0, d9
	blr	x8
	scvtf	d12, x0
	ldr	x8, [x20, #16]
	scvtf	d0, w23
	fsub	d0, d0, d8
	blr	x8
	scvtf	d0, x0
	str	d0, [sp, #24]
	ldr	x8, [x20, #16]
	scvtf	d0, w21
	fsub	d0, d0, d9
	blr	x8
	scvtf	d0, x0
	str	d0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x20, #16]
	scvtf	d0, w24
	fsub	d0, d0, d8
	blr	x8
	scvtf	d0, x0
	str	d0, [sp, #32]
	ldr	x8, [x20, #16]
	add	w9, w21, #1
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	scvtf	d0, w9
	fsub	d0, d0, d9
	blr	x8
	scvtf	d0, x0
	str	d0, [sp]                        ; 8-byte Folded Spill
	ldr	x8, [x20, #16]
	add	w9, w24, #1
	scvtf	d0, w9
	fsub	d0, d0, d8
	blr	x8
	scvtf	d0, x0
	str	d0, [sp, #40]
	ldr	x8, [x20, #16]
	add	w25, w21, #2
	scvtf	d0, w25
	fsub	d0, d0, d9
	blr	x8
	scvtf	d15, x0
	ldr	x8, [x20, #16]
	add	w24, w24, #2
	scvtf	d0, w24
	fsub	d0, d0, d8
	blr	x8
	scvtf	d0, x0
	str	d0, [sp, #48]
	sxtw	x8, w23
	sxtw	x27, w24
	sub	x28, x8, #1
	movi	d8, #0000000000000000
	add	x24, sp, #24
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
	movi	d11, #0000000000000000
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, x0
	fmul	d13, d13, d15
	bl	_gdTrueColorGetRed
	fmadd	d11, d13, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d13, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d13, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d13, d0, d8
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x28, x28, #1
	add	w23, w23, #1
	add	x24, x24, #8
	cmp	x28, x27
	b.ge	LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	d13, [x24]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowTC
	mov	x26, x0
	fmul	d14, d13, d12
	bl	_gdTrueColorGetRed
	fmadd	d11, d14, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d14, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d14, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d14, d0, d8
	cmp	w22, w25
	b.ge	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowTC
	mov	x26, x0
	ldr	d0, [sp, #16]                   ; 8-byte Folded Reload
	fmul	d14, d13, d0
	bl	_gdTrueColorGetRed
	fmadd	d11, d14, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d14, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d14, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d14, d0, d8
	mov	x0, x20
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowTC
	mov	x26, x0
	ldr	d0, [sp]                        ; 8-byte Folded Reload
	fmul	d14, d13, d0
	bl	_gdTrueColorGetRed
	fmadd	d11, d14, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d14, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d14, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d14, d0, d8
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowTC
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowPalette
	mov	x26, x0
	fmul	d14, d13, d12
	bl	_gdTrueColorGetRed
	fmadd	d11, d14, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d14, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d14, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d14, d0, d8
	cmp	w22, w25
	b.ge	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowPalette
	mov	x26, x0
	ldr	d0, [sp, #16]                   ; 8-byte Folded Reload
	fmul	d14, d13, d0
	bl	_gdTrueColorGetRed
	fmadd	d11, d14, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d14, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d14, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d14, d0, d8
	mov	x0, x20
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowPalette
	mov	x26, x0
	ldr	d0, [sp]                        ; 8-byte Folded Reload
	fmul	d14, d13, d0
	bl	_gdTrueColorGetRed
	fmadd	d11, d14, d0, d11
	mov	x0, x26
	bl	_gdTrueColorGetGreen
	fmadd	d10, d14, d0, d10
	mov	x0, x26
	bl	_gdTrueColorGetBlue
	fmadd	d9, d14, d0, d9
	mov	x0, x26
	bl	_gdTrueColorGetAlpha
	fmadd	d8, d14, d0, d8
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	mov	x3, x19
	bl	_getPixelOverflowPalette
	b	LBB0_8
LBB0_15:
	fmov	d0, d11
	mov	w0, #0
	mov	w1, #255
	bl	_CLAMP
	fmov	d11, d0
	fmov	d0, d10
	mov	w0, #0
	mov	w1, #255
	bl	_CLAMP
	fmov	d10, d0
	fmov	d0, d9
	mov	w0, #0
	mov	w1, #255
	bl	_CLAMP
	fmov	d9, d0
Lloh21:
	adrp	x8, _gdAlphaMax@GOTPAGE
Lloh22:
	ldr	x8, [x8, _gdAlphaMax@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	fmov	d0, d8
	mov	w0, #0
	bl	_CLAMP
	ldr	x8, [sp, #56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	fcvtzs	w0, d11
	fcvtzs	w1, d10
	fcvtzs	w2, d9
	fcvtzs	w3, d0
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #96]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #80]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_gdTrueColorAlpha
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GD_BILINEAR_FIXED,8,3          ; @GD_BILINEAR_FIXED
	.comm	_GD_BICUBIC_FIXED,8,3           ; @GD_BICUBIC_FIXED
	.comm	_GD_NEAREST_NEIGHBOUR,8,3       ; @GD_NEAREST_NEIGHBOUR
	.comm	_GD_WEIGHTED4,8,3               ; @GD_WEIGHTED4
	.comm	_gdAlphaMax,4,2                 ; @gdAlphaMax
.subsections_via_symbols
