	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function gdImageRotateBilinear
LCPI0_0:
	.long	0x43340000                      ## float 180
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gdImageRotateBilinear
	.p2align	4, 0x90
_gdImageRotateBilinear:                 ## @gdImageRotateBilinear
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	movq	_M_PI@GOTPCREL(%rip), %rax
	divss	LCPI0_0(%rip), %xmm0
	mulss	(%rax), %xmm0
	movss	%xmm0, -72(%rbp)                ## 4-byte Spill
	callq	_gdImageSX
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_gdImageSY
	movl	%eax, %ebx
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_gd_ftofx
	movq	%rax, %r14
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	shrl	%edi
	callq	_gd_itofx
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movl	%r13d, %edi
	shrl	%edi
	callq	_gd_itofx
	movq	%rax, %r13
	movss	-72(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	callq	_gd_ftofx
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movss	-72(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_sin
	callq	_gd_ftofx
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movl	$1, %edi
	callq	_gd_itofx
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	leaq	-168(%rbp), %rsi
	movq	%r12, -200(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_gdRotatedImageSize
	movl	-168(%rbp), %edi
	movl	-164(%rbp), %esi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_gdImageCreateTrueColor
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_13
## %bb.2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	negl	%ecx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	negl	%ecx
	movq	%rcx, -328(%rbp)                ## 8-byte Spill
	addq	%r14, -144(%rbp)                ## 8-byte Folded Spill
	addq	%r14, %r13
	movq	-136(%rbp), %rax                ## 8-byte Reload
	decl	%eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	decl	%eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, -116(%rbp)               ## 4-byte Spill
	movq	%r13, -184(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	%esi, %r14d
	movl	%r12d, %edi
	callq	_gdTrueColorGetRed
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edi
	callq	_gdTrueColorGetRed
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetRed
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_gdTrueColorGetRed
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -304(%rbp)                ## 8-byte Spill
	movl	%r12d, %edi
	callq	_gdTrueColorGetGreen
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	movl	%r13d, %edi
	callq	_gdTrueColorGetGreen
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetGreen
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -280(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_gdTrueColorGetGreen
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	movl	%r12d, %edi
	callq	_gdTrueColorGetBlue
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	movl	%r13d, %edi
	callq	_gdTrueColorGetBlue
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetBlue
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_gdTrueColorGetBlue
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movl	%r12d, %edi
	callq	_gdTrueColorGetAlpha
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movl	%r13d, %edi
	callq	_gdTrueColorGetAlpha
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_gdTrueColorGetAlpha
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_gdTrueColorGetAlpha
	movl	%eax, %edi
	callq	_gd_itofx
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_gd_mulfx
	movq	%rax, %r14
	movq	-160(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	-320(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r14
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-312(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r14
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-304(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r14
	movq	%r12, %rdi
	movq	-296(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%r15, %r12
	movq	-288(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r13
	movq	%rbx, %rdi
	movq	-280(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r13
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	-272(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-264(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	-256(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %rbx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-248(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	-240(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-232(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	movq	%r15, %r12
	movq	%rax, %r15
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	-224(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r15
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-216(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r15
	movq	%r12, %rdi
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	callq	_gd_mulfx
	addq	%rax, %r15
	movq	%r14, %rdi
	callq	_gd_fxtoi
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_gd_fxtoi
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_gd_fxtoi
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_CLAMP
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_gd_fxtoi
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$127, %edx
	callq	_CLAMP
	movzbl	%r14b, %edi
	movzbl	%r12b, %esi
	movzbl	%bl, %edx
	movzbl	%al, %ecx
	callq	_gdTrueColorAlpha
	movq	-184(%rbp), %r13                ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	%rbx, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_12
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-120(%rbp), %edi                ## 4-byte Reload
	callq	_gd_itofx
	movq	%rax, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-328(%rbp), %rax                ## 8-byte Reload
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leal	(%rax,%rbx), %edi
	callq	_gd_itofx
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	-336(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_gd_mulfx
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r13, %r14
	movq	-344(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_gd_mulfx
	addq	-144(%rbp), %r12                ## 8-byte Folded Reload
	addq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %r13
	callq	_gd_mulfx
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	callq	_gd_mulfx
	addq	%r14, %rbx
	subq	%rax, %rbx
	movq	%r12, %rdi
	callq	_gd_fxtoi
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_gd_fxtoi
	movl	%eax, %ecx
	movl	%r15d, %eax
	cmpl	-112(%rbp), %r14d               ## 4-byte Folded Reload
	jae	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	%r15d, %eax
	cmpl	-108(%rbp), %ecx                ## 4-byte Folded Reload
	jae	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	callq	_gd_itofx
	subq	%rax, %r12
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_gd_itofx
	subq	%rax, %rbx
	movq	-192(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r13
	subq	%r12, %r13
	subq	%rbx, %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_gd_mulfx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_gd_mulfx
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_gd_mulfx
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_gd_mulfx
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	%edi, %eax
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%r14d, %edx
	movq	8(%rcx,%rdx,8), %rdx
	movl	4(%rdx,%rax,4), %r12d
	addl	$2, %r14d
	movl	%r12d, %esi
	movl	%r12d, %ebx
	movl	%r12d, %r13d
	cmpl	-136(%rbp), %r14d               ## 4-byte Folded Reload
	jae	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	addl	$2, %edi
	movl	%r12d, %esi
	movl	%r12d, %ebx
	movl	%r12d, %r13d
	cmpl	-128(%rbp), %edi                ## 4-byte Folded Reload
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rax
	movl	%edi, %esi
	movl	(%rdx,%rsi,4), %r13d
	movl	%r14d, %edx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx,%rax,4), %ebx
	movl	(%rcx,%rsi,4), %esi
	jmp	LBB0_10
LBB0_13:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageRotateBilinear          ; -- Begin function gdImageRotateBilinear
	.p2align	2
_gdImageRotateBilinear:                 ; @gdImageRotateBilinear
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	d9, d8, [sp, #256]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	mov	x25, x1
	fmov	s8, s0
	mov	x23, x0
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	s9, [x8]
	bl	_gdImageSX
	mov	x21, x0
	mov	x0, x23
	bl	_gdImageSY
	mov	x20, x0
	fmov	s0, #0.50000000
	bl	_gd_ftofx
	mov	x19, x0
	str	w20, [sp, #68]                  ; 4-byte Folded Spill
	lsr	w0, w20, #1
	bl	_gd_itofx
	mov	x20, x0
	str	w21, [sp, #20]                  ; 4-byte Folded Spill
	lsr	w0, w21, #1
	bl	_gd_itofx
	mov	x21, x0
	mov	w8, #1127481344
	fmov	s0, w8
	fdiv	s0, s8, s0
	fmul	s9, s0, s9
	fmov	s0, s9
	bl	_cos
	bl	_gd_ftofx
	mov	x27, x0
	fmov	s0, s9
	bl	_sin
	bl	_gd_ftofx
	mov	x28, x0
	mov	w22, #1
	mov	w0, #1
	bl	_gd_itofx
	stp	x0, x23, [sp, #48]              ; 16-byte Folded Spill
	sub	x1, x29, #112
	mov	x0, x23
	fmov	s0, s8
	bl	_gdRotatedImageSize
	ldp	w0, w1, [x29, #-112]
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
                                        ; kill: def $w0 killed $w0 killed $x0
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_gdImageCreateTrueColor
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
	cbz	x0, LBB0_12
; %bb.1:
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	w22, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	w8, LBB0_12
; %bb.2:
	mov	x22, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w8, #0
	cinc	w8, w8, lt
	neg	w8, w8, asr #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cmp	w8, #0
	cinc	w8, w8, lt
	neg	w9, w8, asr #1
	add	x8, x20, x19
	stp	x8, x9, [x29, #-152]            ; 16-byte Folded Spill
	add	x8, x21, x19
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	sub	w8, w8, #1
	stur	w8, [x29, #-164]                ; 4-byte Folded Spill
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	sub	w8, w8, #1
	stur	w8, [x29, #-168]                ; 4-byte Folded Spill
	str	w25, [sp, #44]                  ; 4-byte Folded Spill
	stp	x28, x27, [sp, #24]             ; 16-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x22, x8
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	add	w8, w8, w22
	stur	w8, [x29, #-124]                ; 4-byte Folded Spill
	str	x22, [sp, #72]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x25
	bl	_gdTrueColorGetRed
	bl	_gd_itofx
	mov	x23, x0
	mov	x0, x27
	bl	_gdTrueColorGetRed
	bl	_gd_itofx
	str	x0, [sp, #176]                  ; 8-byte Folded Spill
	mov	x0, x28
	bl	_gdTrueColorGetRed
	bl	_gd_itofx
	str	x0, [sp, #168]                  ; 8-byte Folded Spill
	mov	x0, x24
	bl	_gdTrueColorGetRed
	bl	_gd_itofx
	str	x0, [sp, #160]                  ; 8-byte Folded Spill
	mov	x0, x25
	bl	_gdTrueColorGetGreen
	bl	_gd_itofx
	str	x0, [sp, #152]                  ; 8-byte Folded Spill
	mov	x0, x27
	bl	_gdTrueColorGetGreen
	bl	_gd_itofx
	str	x0, [sp, #144]                  ; 8-byte Folded Spill
	mov	x0, x28
	bl	_gdTrueColorGetGreen
	bl	_gd_itofx
	str	x0, [sp, #136]                  ; 8-byte Folded Spill
	mov	x0, x24
	bl	_gdTrueColorGetGreen
	bl	_gd_itofx
	str	x0, [sp, #128]                  ; 8-byte Folded Spill
	mov	x0, x25
	bl	_gdTrueColorGetBlue
	bl	_gd_itofx
	str	x0, [sp, #120]                  ; 8-byte Folded Spill
	mov	x0, x27
	bl	_gdTrueColorGetBlue
	bl	_gd_itofx
	str	x0, [sp, #112]                  ; 8-byte Folded Spill
	mov	x0, x28
	bl	_gdTrueColorGetBlue
	bl	_gd_itofx
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	mov	x0, x24
	bl	_gdTrueColorGetBlue
	bl	_gd_itofx
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	mov	x0, x25
	bl	_gdTrueColorGetAlpha
	bl	_gd_itofx
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	mov	x0, x27
	bl	_gdTrueColorGetAlpha
	bl	_gd_itofx
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	mov	x0, x28
	bl	_gdTrueColorGetAlpha
	bl	_gd_itofx
	mov	x28, x0
	mov	x0, x24
	bl	_gdTrueColorGetAlpha
	bl	_gd_itofx
	mov	x27, x0
	mov	x0, x22
	mov	x1, x23
	bl	_gd_mulfx
	mov	x23, x0
	mov	x0, x19
	ldr	x1, [sp, #176]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x23, x0, x23
	mov	x0, x20
	ldr	x1, [sp, #168]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x23, x23, x0
	mov	x0, x21
	ldr	x1, [sp, #160]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x23, x23, x0
	mov	x0, x22
	ldr	x1, [sp, #152]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	mov	x24, x0
	mov	x0, x19
	ldr	x1, [sp, #144]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x24, x0, x24
	mov	x0, x20
	ldr	x1, [sp, #136]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x24, x24, x0
	mov	x0, x21
	ldr	x1, [sp, #128]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x24, x24, x0
	mov	x0, x22
	ldr	x1, [sp, #120]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	mov	x25, x0
	mov	x0, x19
	ldr	x1, [sp, #112]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x25, x0, x25
	mov	x0, x20
	ldr	x1, [sp, #104]                  ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x25, x25, x0
	mov	x0, x21
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x25, x25, x0
	mov	x0, x22
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
	bl	_gd_mulfx
	mov	x22, x0
	mov	x0, x19
	ldr	x1, [sp, #80]                   ; 8-byte Folded Reload
	bl	_gd_mulfx
	add	x19, x0, x22
	mov	x0, x20
	mov	x1, x28
	bl	_gd_mulfx
	add	x19, x19, x0
	mov	x0, x21
	mov	x1, x27
	bl	_gd_mulfx
	add	x19, x19, x0
	mov	x0, x23
	bl	_gd_fxtoi
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	mov	x20, x0
	mov	x0, x24
	bl	_gd_fxtoi
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	mov	x21, x0
	mov	x0, x25
	bl	_gd_fxtoi
	mov	w1, #0
	mov	w2, #255
	bl	_CLAMP
	mov	x22, x0
	mov	x0, x19
	bl	_gd_fxtoi
	mov	w1, #0
	mov	w2, #127
	bl	_CLAMP
	and	w8, w20, #0xff
	and	w1, w21, #0xff
	and	w2, w22, #0xff
	and	w3, w0, #0xff
	mov	x0, x8
	bl	_gdTrueColorAlpha
	ldr	w25, [sp, #44]                  ; 4-byte Folded Reload
	ldp	x28, x27, [sp, #24]             ; 16-byte Folded Reload
	ldr	x22, [sp, #72]                  ; 8-byte Folded Reload
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x22, lsl #3]
	str	w0, [x8, x26, lsl #2]
	add	x26, x26, #1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cmp	x8, x26
	b.eq	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w0, [x29, #-124]                ; 4-byte Folded Reload
	bl	_gd_itofx
	mov	x20, x0
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	add	w0, w8, w26
	bl	_gd_itofx
	mov	x21, x0
	mov	x1, x28
	bl	_gd_mulfx
	mov	x19, x0
	mov	x0, x20
	mov	x1, x27
	bl	_gd_mulfx
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	add	x8, x8, x19
	add	x19, x8, x0
	mov	x0, x21
	mov	x1, x27
	bl	_gd_mulfx
	mov	x21, x0
	mov	x0, x20
	mov	x1, x28
	bl	_gd_mulfx
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	add	x8, x8, x21
	sub	x20, x8, x0
	mov	x0, x19
	bl	_gd_fxtoi
	mov	x24, x0
	mov	x0, x20
	bl	_gd_fxtoi
	mov	x23, x0
	ldur	w8, [x29, #-164]                ; 4-byte Folded Reload
	cmp	w24, w8
	ldur	w8, [x29, #-168]                ; 4-byte Folded Reload
	ccmp	w0, w8, #2, lo
	mov	x0, x25
	b.hs	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x24
	bl	_gd_itofx
	sub	x21, x19, x0
	mov	x0, x23
	bl	_gd_itofx
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	sub	x19, x8, x21
	sub	x25, x20, x0
	sub	x20, x8, x25
	mov	x0, x19
	mov	x1, x20
	bl	_gd_mulfx
	mov	x22, x0
	mov	x0, x19
	mov	x1, x25
	bl	_gd_mulfx
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_gd_mulfx
	mov	x20, x0
	mov	x0, x21
	mov	x1, x25
	bl	_gd_mulfx
	mov	x21, x0
	add	w8, w23, #1
	add	w10, w24, #1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
	ldr	x10, [x9, w10, uxtw #3]
	ldr	w25, [x10, w8, uxtw #2]
	add	w11, w24, #2
	mov	x24, x25
	mov	x28, x25
	mov	x27, x25
	ldr	w12, [sp, #68]                  ; 4-byte Folded Reload
	cmp	w11, w12
	b.hs	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	add	w12, w23, #2
	mov	x24, x25
	mov	x28, x25
	mov	x27, x25
	ldr	w13, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w12, w13
	b.hs	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	lsl	x12, x12, #2
	ldr	w27, [x10, x12]
	ldr	x9, [x9, w11, uxtw #3]
	ldr	w28, [x9, x8, lsl #2]
	ldr	w24, [x9, x12]
	b	LBB0_6
LBB0_12:
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #256]              ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
.subsections_via_symbols
