	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageFilledArc               ## -- Begin function gdImageFilledArc
	.p2align	4, 0x90
_gdImageFilledArc:                      ## @gdImageFilledArc
	.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	$2984, %rsp                     ## imm = 0xBA8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r11d
	movl	%esi, -2968(%rbp)               ## 4-byte Spill
	movl	%edi, -2972(%rbp)               ## 4-byte Spill
	movslq	16(%rbp), %r10
	movl	32(%rbp), %eax
	movl	%eax, -2992(%rbp)               ## 4-byte Spill
	movl	24(%rbp), %eax
	movl	%eax, -2976(%rbp)               ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -48(%rbp)
	movslq	%r9d, %rdx
	imulq	$-1240768329, %rdx, %rsi        ## imm = 0xB60B60B7
	shrq	$32, %rsi
	addl	%r9d, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$8, %esi
	addl	%edi, %esi
	imull	$360, %esi, %esi                ## imm = 0x168
	subl	%esi, %edx
	imulq	$-1240768329, %r10, %rsi        ## imm = 0xB60B60B7
	shrq	$32, %rsi
	addl	%r10d, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$8, %esi
	addl	%edi, %esi
	imull	$360, %esi, %edi                ## imm = 0x168
	movl	%r10d, %esi
	subl	%edi, %esi
	movl	$360, %edi                      ## imm = 0x168
	xorl	%r15d, %r15d
	movl	$0, %r14d
	cmpl	%esi, %edx
	movl	%r11d, -2964(%rbp)              ## 4-byte Spill
	je	LBB0_3
## %bb.1:
	cmpl	$361, %r9d                      ## imm = 0x169
	cmovll	%r9d, %edx
	xorl	%ebx, %ebx
	testl	%edx, %edx
	movl	$0, %edi
	cmovgl	%edx, %edi
	movl	%edx, %r9d
	shrl	$31, %r9d
	subl	%edx, %edi
	subl	%r9d, %edi
	shrl	$3, %edi
	imulq	$381774871, %rdi, %rax          ## imm = 0x16C16C17
	shrq	$34, %rax
	addl	%r9d, %eax
	imull	$360, %eax, %r14d               ## imm = 0x168
	cmpl	$361, %r10d                     ## imm = 0x169
	cmovll	%r10d, %esi
	addl	%edx, %r14d
	xorl	%eax, %eax
	cmpl	%r14d, %esi
	movl	%r14d, %edx
	cmovgl	%esi, %edx
	setl	%al
	subl	%esi, %edx
	subl	%eax, %edx
	shrl	$3, %edx
	imulq	$381774871, %rdx, %rdx          ## imm = 0x16C16C17
	shrq	$34, %rdx
	addl	%eax, %edx
	imull	$360, %edx, %eax                ## imm = 0x168
	addl	%esi, %eax
	cmpl	%eax, %r14d
	movl	$360, %edi                      ## imm = 0x168
	cmovnel	%eax, %edi
	cmovel	%ebx, %r14d
	cmpl	%r14d, %edi
	jge	LBB0_3
## %bb.2:
	movl	%edi, -2996(%rbp)               ## 4-byte Spill
	movl	$-1, -2988(%rbp)                ## 4-byte Folded Spill
	movl	$1, %r13d
	xorl	%r12d, %r12d
	movl	$0, -2980(%rbp)                 ## 4-byte Folded Spill
	xorl	%r9d, %r9d
	movl	$-1, -2984(%rbp)                ## 4-byte Folded Spill
	movl	$-1, %eax
	movl	$-1, %ecx
	movl	-2968(%rbp), %r10d              ## 4-byte Reload
	movl	-2992(%rbp), %r8d               ## 4-byte Reload
	jmp	LBB0_20
LBB0_3:
	movslq	%ecx, %rax
	movq	%rax, -3024(%rbp)               ## 8-byte Spill
	movslq	%r8d, %rax
	movq	%rax, -3016(%rbp)               ## 8-byte Spill
	movl	%edi, -2996(%rbp)               ## 4-byte Spill
	notl	%edi
	addl	%r14d, %edi
	movl	%edi, -3008(%rbp)               ## 4-byte Spill
	movl	$1, %r13d
	movl	$-1, -2984(%rbp)                ## 4-byte Folded Spill
	movl	$-1, -2988(%rbp)                ## 4-byte Folded Spill
	xorl	%r9d, %r9d
	movl	$0, -2980(%rbp)                 ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movl	%r14d, -3000(%rbp)              ## 4-byte Spill
                                        ## kill: def $r14d killed $r14d def $r14
	movl	-2968(%rbp), %r10d              ## 4-byte Reload
	movl	-2992(%rbp), %r8d               ## 4-byte Reload
	jmp	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%r10d, -2960(%rbp)
	movl	%r11d, -2956(%rbp)
	movslq	%r13d, %rax
	movl	%ebx, -2960(%rbp,%rax,8)
	movl	%r12d, -2956(%rbp,%rax,8)
	movl	%ebx, %eax
	movl	%ebx, -2980(%rbp)               ## 4-byte Spill
	movl	%r12d, %r9d
	movl	%ebx, -2988(%rbp)               ## 4-byte Spill
	movl	%r12d, %eax
	movl	%r12d, -2984(%rbp)              ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	incl	%r13d
	cmpl	%r15d, -3008(%rbp)              ## 4-byte Folded Reload
	je	LBB0_19
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %esi
	movl	%r12d, %edx
	movslq	%r14d, %rax
	imulq	$-1240768329, %rax, %rcx        ## imm = 0xB60B60B7
	shrq	$32, %rcx
	addl	%r14d, %ecx
	movl	%ecx, %edi
	shrl	$31, %edi
	sarl	$8, %ecx
	addl	%edi, %ecx
	movq	_gdCosT@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	imull	$360, %ecx, %ecx                ## imm = 0x168
	subl	%ecx, %eax
	cltq
	movq	(%rdi,%rax,8), %rcx
	imulq	-3024(%rbp), %rcx               ## 8-byte Folded Reload
	leaq	2047(%rcx), %rbx
	testq	%rcx, %rcx
	cmovnsq	%rcx, %rbx
	shrq	$11, %rbx
	addl	%r10d, %ebx
	movq	_gdSinT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	imulq	-3016(%rbp), %rax               ## 8-byte Folded Reload
	leaq	2047(%rax), %r12
	testq	%rax, %rax
	cmovnsq	%rax, %r12
	shrq	$11, %r12
	addl	%r11d, %r12d
	movq	_gdChord@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	$1, %r15d
	jae	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_gdNoFill@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r8d, %eax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %eax
	movl	%ebx, -2980(%rbp)               ## 4-byte Spill
	movl	%r12d, %r9d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testl	%r8d, %eax
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_gdNoFill@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-2972(%rbp), %edi               ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	%r9d, -3004(%rbp)               ## 4-byte Spill
	movl	-2976(%rbp), %r9d               ## 4-byte Reload
	callq	_gdImageLine
	movl	-3004(%rbp), %r9d               ## 4-byte Reload
	movl	-2992(%rbp), %r8d               ## 4-byte Reload
	movl	-2968(%rbp), %r10d              ## 4-byte Reload
	movl	-2964(%rbp), %r11d              ## 4-byte Reload
	jmp	LBB0_5
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edx, %r12d
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	decl	%r13d
	leal	-271(%r14), %eax
	cmpl	$-182, %eax
	ja	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%esi, %ebx
	jg	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	-91(%r14), %eax
	cmpl	$178, %eax
	ja	LBB0_5
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%esi, %ebx
	jge	LBB0_5
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r13d, %rax
	movl	%ebx, -2960(%rbp,%rax,8)
	jmp	LBB0_5
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r13d, %rax
	movl	%ebx, -2960(%rbp,%rax,8)
	movl	%r12d, -2956(%rbp,%rax,8)
	jmp	LBB0_5
LBB0_19:
	movl	%ebx, %eax
	movl	%r12d, %ecx
	movl	-3000(%rbp), %r14d              ## 4-byte Reload
LBB0_20:
	movq	_gdChord@GOTPCREL(%rip), %rsi
	movq	_gdNoFill@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%r8d, (%rsi)
	je	LBB0_26
## %bb.21:
	testl	%r8d, %edx
	je	LBB0_31
## %bb.22:
	movl	%r9d, %r13d
	movq	_gdEdged@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_24
## %bb.23:
	movl	-2972(%rbp), %r15d              ## 4-byte Reload
	movl	%r15d, %edi
	movl	%r10d, %esi
	movl	%r11d, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	-2976(%rbp), %r14d              ## 4-byte Reload
	movl	%r14d, %r9d
	callq	_gdImageLine
	movl	%r15d, %edi
	movl	-2968(%rbp), %esi               ## 4-byte Reload
	movl	-2964(%rbp), %edx               ## 4-byte Reload
	movl	-2980(%rbp), %ecx               ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	callq	_gdImageLine
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_71
## %bb.25:
	movl	-2972(%rbp), %edi               ## 4-byte Reload
	movl	-2980(%rbp), %esi               ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	jmp	LBB0_30
LBB0_26:
	testl	%r8d, %edx
	je	LBB0_32
## %bb.27:
	movq	_gdEdged@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_69
## %bb.28:
	movl	%r9d, %r15d
	movl	-2972(%rbp), %edi               ## 4-byte Reload
	movl	%r10d, %esi
	movl	%r11d, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	-2976(%rbp), %r9d               ## 4-byte Reload
	movl	%r11d, %r14d
	movl	%r10d, %ebx
	callq	_gdImageLine
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_71
## %bb.29:
	movl	-2972(%rbp), %edi               ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	-2980(%rbp), %ecx               ## 4-byte Reload
	movl	%r15d, %r8d
LBB0_30:
	movl	-2976(%rbp), %r9d               ## 4-byte Reload
	addq	$2984, %rsp                     ## imm = 0xBA8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdImageLine                    ## TAILCALL
LBB0_31:
	movl	-2980(%rbp), %eax               ## 4-byte Reload
	movl	%eax, -2960(%rbp)
	movl	%r9d, -2956(%rbp)
	movl	%ebx, -2952(%rbp)
	movl	%r12d, -2948(%rbp)
	movl	%r10d, -2944(%rbp)
	movl	%r11d, -2940(%rbp)
	leaq	-2960(%rbp), %rsi
	movl	-2972(%rbp), %edi               ## 4-byte Reload
	movl	$3, %edx
	jmp	LBB0_68
LBB0_32:
	movl	-2996(%rbp), %edx               ## 4-byte Reload
	subl	%r14d, %edx
	cmpl	$359, %edx                      ## imm = 0x167
	jg	LBB0_67
## %bb.33:
	movl	-2988(%rbp), %ebx               ## 4-byte Reload
	cmpl	%ebx, -2952(%rbp)
	je	LBB0_64
## %bb.34:
	movl	-2984(%rbp), %r14d              ## 4-byte Reload
	cmpl	%r14d, -2948(%rbp)
	jne	LBB0_64
## %bb.35:
	cmpl	$2, %r13d
	jl	LBB0_63
## %bb.36:
	movl	%r13d, %edx
	xorl	%r11d, %r11d
	movq	%rdx, %rsi
	subq	$2, %rsi
	cmovaeq	%rsi, %r11
	incq	%r11
	cmpq	$2, %r11
	jae	LBB0_38
LBB0_60:
	movl	-2964(%rbp), %r11d              ## 4-byte Reload
LBB0_61:
	incq	%rdx
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rdx), %esi
	movl	-2960(%rbp,%rsi,8), %edi
	movl	%edi, -2968(%rbp,%rdx,8)
	movl	-2956(%rbp,%rsi,8), %esi
	movl	%esi, -2964(%rbp,%rdx,8)
	decq	%rdx
	cmpq	$2, %rdx
	ja	LBB0_62
LBB0_63:
	movl	%ebx, -2952(%rbp)
	movl	%r14d, -2948(%rbp)
	incl	%r13d
LBB0_64:
	movslq	%r13d, %rdx
	cmpl	%eax, -2968(%rbp,%rdx,8)
	je	LBB0_67
## %bb.65:
	leaq	-1(%rdx), %rsi
	cmpl	%ecx, -2956(%rbp,%rsi,8)
	jne	LBB0_67
## %bb.66:
	movl	%eax, -2960(%rbp,%rdx,8)
	movl	%ecx, -2956(%rbp,%rdx,8)
	incl	%edx
	movl	%edx, %r13d
LBB0_67:
	movslq	%r13d, %rdx
	movl	%r10d, -2960(%rbp,%rdx,8)
	movl	%r11d, -2956(%rbp,%rdx,8)
	incl	%edx
	leaq	-2960(%rbp), %rsi
	movl	-2972(%rbp), %edi               ## 4-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_68:
	movl	-2976(%rbp), %ecx               ## 4-byte Reload
	callq	_gdImageFilledPolygon
LBB0_69:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_71
## %bb.70:
	addq	$2984, %rsp                     ## imm = 0xBA8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	xorl	%r9d, %r9d
	movq	%rdx, %rsi
	subq	$2, %rsi
	cmovaeq	%rsi, %r9
	leal	-1(%r13), %r8d
	cmpl	%r9d, %r8d
	jb	LBB0_60
## %bb.39:
	leaq	-2960(,%r8,8), %rdi
	addq	%rbp, %rdi
	shlq	$3, %r9
	movq	%rdi, %rsi
	subq	%r9, %rsi
	cmpq	%rdi, %rsi
	ja	LBB0_60
## %bb.40:
	leaq	-2956(,%r8,8), %rsi
	addq	%rbp, %rsi
	movq	%rsi, %rdi
	subq	%r9, %rdi
	cmpq	%rsi, %rdi
	ja	LBB0_60
## %bb.41:
	leaq	-2960(,%rdx,8), %rsi
	addq	%rbp, %rsi
	movq	%rsi, %rdi
	subq	%r9, %rdi
	cmpq	%rsi, %rdi
	ja	LBB0_60
## %bb.42:
	leaq	-2956(,%rdx,8), %r15
	addq	%rbp, %r15
	movq	%r15, %rdi
	subq	%r9, %rdi
	cmpq	%r15, %rdi
	ja	LBB0_60
## %bb.43:
	cmpq	$2, %rdx
	movl	$2, %edi
	cmovbq	%rdx, %rdi
	leaq	(%rdi,%r8), %rsi
	subq	%rdx, %rsi
	leaq	-2960(,%rsi,8), %r9
	addq	%rbp, %r9
	leaq	-2956(%rbp,%r8,8), %r10
	leaq	-2960(,%rdi,8), %r14
	addq	%rbp, %r14
	leaq	-2956(,%rsi,8), %r12
	addq	%rbp, %r12
	leaq	-2956(,%rdi,8), %rdi
	addq	%rbp, %rdi
	cmpq	%r15, %r9
	setb	%r9b
	cmpq	%r10, %r14
	setb	%r10b
	leaq	-2952(,%rdx,8), %rsi
	addq	%rbp, %rsi
	cmpq	%rsi, %r12
	setb	%r14b
	leaq	-2952(,%r8,8), %rsi
	addq	%rbp, %rsi
	cmpq	%rsi, %rdi
	setb	%sil
	testb	%r10b, %r9b
	jne	LBB0_52
## %bb.44:
	andb	%sil, %r14b
	movl	-2984(%rbp), %r14d              ## 4-byte Reload
	jne	LBB0_50
## %bb.45:
	movl	$4294967295, %r8d               ## imm = 0xFFFFFFFF
	movq	%r11, %r9
	andq	$-2, %r9
	leaq	-2(%r9), %rsi
	movq	%rsi, %r10
	shrq	%r10
	incq	%r10
	testq	%rsi, %rsi
	je	LBB0_53
## %bb.46:
	movq	%r10, %rbx
	andq	$-2, %rbx
	leaq	-2968(,%rdx,8), %r12
	addq	%rbp, %r12
	leaq	(%rdx,%r8), %r14
	addq	$-2, %r14
	leaq	(%rdx,%r8), %r15
	xorl	%edi, %edi
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%rdi), %esi
	movups	-2968(%rbp,%rsi,8), %xmm0
	movups	%xmm0, (%r12,%rdi,8)
	leal	(%r14,%rdi), %esi
	movups	-2968(%rbp,%rsi,8), %xmm0
	movups	%xmm0, -16(%r12,%rdi,8)
	addq	$-4, %rdi
	addq	$-2, %rbx
	jne	LBB0_47
## %bb.48:
	negq	%rdi
	movl	-2988(%rbp), %ebx               ## 4-byte Reload
	movl	-2984(%rbp), %r14d              ## 4-byte Reload
	jmp	LBB0_54
LBB0_50:
	movl	-2964(%rbp), %r11d              ## 4-byte Reload
	movl	-2968(%rbp), %r10d              ## 4-byte Reload
	jmp	LBB0_61
LBB0_52:
	movl	-2964(%rbp), %r11d              ## 4-byte Reload
	movl	-2968(%rbp), %r10d              ## 4-byte Reload
	movl	-2984(%rbp), %r14d              ## 4-byte Reload
	jmp	LBB0_61
LBB0_53:
	xorl	%edi, %edi
LBB0_54:
	testb	$1, %r10b
	je	LBB0_56
## %bb.55:
	movq	%rdx, %rsi
	subq	%rdi, %rsi
	addl	%esi, %r8d
	movups	-2968(%rbp,%r8,8), %xmm0
	movups	%xmm0, -2968(%rbp,%rsi,8)
LBB0_56:
	cmpq	%r9, %r11
	movl	-2964(%rbp), %r11d              ## 4-byte Reload
	movl	-2968(%rbp), %r10d              ## 4-byte Reload
	je	LBB0_63
## %bb.57:
	subq	%r9, %rdx
	jmp	LBB0_61
LBB0_71:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_gdCosT,8,3                     ## @gdCosT
	.comm	_gdSinT,8,3                     ## @gdSinT
	.comm	_gdChord,4,2                    ## @gdChord
	.comm	_gdNoFill,4,2                   ## @gdNoFill
	.comm	_gdEdged,4,2                    ## @gdEdged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageFilledArc               ; -- Begin function gdImageFilledArc
	.p2align	2
_gdImageFilledArc:                      ; @gdImageFilledArc
	.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
	sub	sp, sp, #2976
	stp	w0, w7, [sp, #36]               ; 8-byte Folded Spill
                                        ; kill: def $w4 killed $w4 def $x4
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x21, x2
	mov	x23, x1
	ldr	w19, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	w16, #24759
	movk	w16, #46603, lsl #16
	smull	x8, w5, w16
	lsr	x8, x8, #32
	add	w8, w8, w5
	asr	w9, w8, #8
	add	w8, w9, w8, lsr #31
	mov	w17, #360
	msub	w9, w8, w17, w5
	smull	x8, w6, w16
	lsr	x8, x8, #32
	add	w8, w8, w6
	asr	w10, w8, #8
	add	w8, w10, w8, lsr #31
	msub	w8, w8, w17, w6
Lloh3:
	adrp	x15, _gdChord@GOTPAGE
Lloh4:
	ldr	x15, [x15, _gdChord@GOTPAGEOFF]
Lloh5:
	adrp	x14, _gdNoFill@GOTPAGE
Lloh6:
	ldr	x14, [x14, _gdNoFill@GOTPAGEOFF]
	cmp	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w22, #0
	mov	w8, #360
	b	LBB0_4
LBB0_2:
	cmp	w5, #360
	csel	w9, w9, w5, gt
	cmp	w9, #0
	csel	w10, w9, wzr, gt
	lsr	w11, w9, #31
	add	w12, w9, w11
	sub	w10, w10, w12
	lsr	w10, w10, #3
	mov	w12, #27671
	movk	w12, #5825, lsl #16
	umull	x10, w10, w12
	lsr	x10, x10, #34
	add	w10, w11, w10
	cmp	w6, #360
	csel	w8, w8, w6, gt
	madd	w9, w10, w17, w9
	cmp	w8, w9
	csel	w10, w8, w9, gt
	cinc	w11, w8, lt
	sub	w10, w10, w11
	cmp	w8, w9
	lsr	w10, w10, #3
	umull	x10, w10, w12
	lsr	x10, x10, #34
	cinc	w10, w10, lt
	madd	w8, w10, w17, w8
	cmp	w9, w8
	csel	w8, w17, w8, eq
	csel	w22, wzr, w9, eq
	cmp	w8, w22
	b.ge	LBB0_4
; %bb.3:
	stp	w22, w8, [sp]                   ; 8-byte Folded Spill
	mov	w25, #0
	mov	w26, #0
	mov	w28, #0
	mov	w20, #0
	mov	w9, #-1
	mov	w27, #1
	mov	w8, #-1
	stp	w8, w9, [sp, #28]               ; 8-byte Folded Spill
	mov	w8, #-1
	mov	w9, #-1
	b	LBB0_21
LBB0_4:
	mov	w24, #0
	mov	w20, #0
	mov	w28, #0
	mov	w26, #0
	mov	w25, #0
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	add	w11, w8, #1
	sxtw	x12, w3
	sxtw	x0, w4
	mov	w27, #1
Lloh7:
	adrp	x3, _gdCosT@GOTPAGE
Lloh8:
	ldr	x3, [x3, _gdCosT@GOTPAGEOFF]
	mov	w8, #-1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh9:
	adrp	x4, _gdSinT@GOTPAGE
Lloh10:
	ldr	x4, [x4, _gdSinT@GOTPAGEOFF]
	mov	w8, #-1
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	str	w22, [sp]                       ; 4-byte Folded Spill
	stp	x0, x12, [sp, #8]               ; 16-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	stp	w23, w21, [sp, #56]
	add	x8, sp, #56
	add	x8, x8, w27, sxtw #3
	stp	w25, w26, [x8]
	mov	x28, x25
	mov	x20, x26
	stp	w26, w25, [sp, #28]             ; 8-byte Folded Spill
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w22, w22, #1
	add	w27, w27, #1
	sub	w24, w24, #1
	cmp	w11, w22
	b.eq	LBB0_20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x25
	mov	x2, x26
	ldr	x8, [x3]
	smull	x9, w22, w16
	lsr	x9, x9, #32
	add	w9, w9, w22
	asr	w10, w9, #8
	add	w9, w10, w9, lsr #31
	msub	w9, w9, w17, w22
	sbfiz	x9, x9, #3, #32
	ldr	x8, [x8, x9]
	mul	x8, x8, x12
	add	x10, x8, #2047
	cmp	x8, #0
	csel	x8, x10, x8, lt
	lsr	x8, x8, #11
	add	w25, w8, w23
	ldr	x8, [x4]
	ldr	x8, [x8, x9]
	mul	x8, x8, x0
	add	x9, x8, #2047
	cmp	x8, #0
	csel	x8, x9, x8, lt
	lsr	x8, x8, #11
	add	w26, w8, w21
	ldr	w8, [x15]
	cbz	w24, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	tst	w8, w19
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x14]
	tst	w8, w19
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	w0, w5, [sp, #36]               ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x26
	stp	w20, w28, [sp, #48]             ; 8-byte Folded Spill
	mov	x20, x23
	mov	x23, x21
	mov	x21, x14
	mov	x28, x25
	mov	x25, x15
	str	w26, [sp, #44]                  ; 4-byte Folded Spill
	mov	x26, x11
	bl	_gdImageLine
Lloh11:
	adrp	x4, _gdSinT@GOTPAGE
Lloh12:
	ldr	x4, [x4, _gdSinT@GOTPAGEOFF]
Lloh13:
	adrp	x3, _gdCosT@GOTPAGE
Lloh14:
	ldr	x3, [x3, _gdCosT@GOTPAGEOFF]
	ldp	x0, x12, [sp, #8]               ; 16-byte Folded Reload
	mov	x11, x26
	mov	w17, #360
	mov	w16, #24759
	movk	w16, #46603, lsl #16
	mov	x15, x25
	mov	x25, x28
	mov	x14, x21
	mov	x21, x23
	mov	x23, x20
	ldp	w26, w20, [sp, #44]             ; 8-byte Folded Reload
	ldr	w28, [sp, #52]                  ; 4-byte Folded Reload
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x14]
	orr	w8, w9, w8
	tst	w8, w19
	b.eq	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x25
	mov	x20, x26
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w26, w2
	b.ne	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	sxtw	x8, w27
	sub	x27, x8, #1
	sub	w8, w22, #271
	cmn	w8, #182
	b.hi	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w25, w1
	b.gt	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w22, #91
	cmp	w8, #178
	b.hi	LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w25, w1
	b.ge	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	x8, x27, #3
	add	x9, sp, #56
	str	w25, [x9, x8]
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, sp, #56
	add	x8, x8, w27, sxtw #3
	stp	w25, w26, [x8]
	b	LBB0_6
LBB0_20:
	mov	x8, x25
	mov	x9, x26
LBB0_21:
	ldr	w11, [x15]
	ldr	w10, [x14]
	and	w10, w10, w19
	tst	w11, w19
	b.eq	LBB0_27
; %bb.22:
	cbz	w10, LBB0_32
; %bb.23:
Lloh15:
	adrp	x8, _gdEdged@GOTPAGE
Lloh16:
	ldr	x8, [x8, _gdEdged@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_25
; %bb.24:
	mov	x22, x20
	ldp	w20, w19, [sp, #36]             ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x25
	mov	x4, x26
	mov	x5, x19
	bl	_gdImageLine
	mov	x0, x20
	mov	x20, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x28
	mov	x4, x22
	mov	x5, x19
	bl	_gdImageLine
LBB0_25:
	ldur	x8, [x29, #-96]
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_59
; %bb.26:
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	mov	x1, x28
	mov	x2, x20
	mov	x3, x25
	mov	x4, x26
	b	LBB0_31
LBB0_27:
	cbz	w10, LBB0_33
; %bb.28:
Lloh21:
	adrp	x8, _gdEdged@GOTPAGE
Lloh22:
	ldr	x8, [x8, _gdEdged@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_47
; %bb.29:
	ldp	w0, w5, [sp, #36]               ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x21
	mov	x3, x25
	mov	x4, x26
	bl	_gdImageLine
	ldur	x8, [x29, #-96]
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_59
; %bb.30:
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	mov	x1, x23
	mov	x2, x21
	mov	x3, x28
	mov	x4, x20
LBB0_31:
	ldr	w5, [sp, #40]                   ; 4-byte Folded Reload
	add	sp, sp, #2976
	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
	b	_gdImageLine
LBB0_32:
	stp	w28, w20, [sp, #56]
	stp	w25, w26, [sp, #64]
	stp	w23, w21, [sp, #72]
	add	x1, sp, #56
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	mov	w2, #3
	b	LBB0_46
LBB0_33:
	ldp	w11, w10, [sp]                  ; 8-byte Folded Reload
	sub	w10, w10, w11
	cmp	w10, #359
	b.gt	LBB0_45
; %bb.34:
	ldr	w10, [sp, #64]
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	cmp	w10, w2
	b.eq	LBB0_42
; %bb.35:
	ldr	w10, [sp, #68]
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w10, w3
	b.ne	LBB0_42
; %bb.36:
	cmp	w27, #2
	b.lt	LBB0_41
; %bb.37:
	mov	w11, w27
	subs	x10, x11, #2
	csel	x10, xzr, x10, lo
	add	x10, x10, #1
	cmp	x10, #8
	b.hs	LBB0_49
LBB0_38:
	mov	x12, x11
LBB0_39:
	add	x10, sp, #56
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	sub	x11, x12, #1
	ldr	d0, [x10, w11, uxtw #3]
	str	d0, [x10, x12, lsl #3]
	cmp	x12, #2
	mov	x12, x11
	b.hi	LBB0_40
LBB0_41:
	stp	w2, w3, [sp, #64]
	add	w27, w27, #1
LBB0_42:
	mov	x10, x27
	sxtw	x10, w10
	sub	x11, x10, #1
	lsl	x13, x11, #3
	add	x12, sp, #56
	ldr	w13, [x12, x13]
	cmp	w13, w8
	b.eq	LBB0_45
; %bb.43:
	add	x11, x12, x11, lsl #3
	ldr	w11, [x11, #4]
	cmp	w11, w9
	b.ne	LBB0_45
; %bb.44:
	add	x11, sp, #56
	add	x10, x11, x10, lsl #3
	stp	w8, w9, [x10]
	add	w27, w27, #1
LBB0_45:
	add	x8, sp, #56
	add	x8, x8, w27, sxtw #3
	stp	w23, w21, [x8]
	add	w2, w27, #1
	add	x1, sp, #56
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
LBB0_46:
	ldr	w3, [sp, #40]                   ; 4-byte Folded Reload
	bl	_gdImageFilledPolygon
LBB0_47:
	ldur	x8, [x29, #-96]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.48:
	add	sp, sp, #2976
	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
LBB0_49:
	subs	x12, x11, #2
	csel	x13, xzr, x12, lo
	sub	w12, w27, #1
	cmp	w12, w13
	b.lo	LBB0_38
; %bb.50:
	add	x14, sp, #56
	add	x15, x14, w12, uxtw #3
	lsl	x13, x13, #3
	sub	x16, x15, x13
	cmp	x16, x15
	b.hi	LBB0_38
; %bb.51:
	orr	x15, x15, #0x4
	sub	x16, x15, x13
	cmp	x16, x15
	b.hi	LBB0_38
; %bb.52:
	add	x14, x14, x11, lsl #3
	sub	x15, x14, x13
	cmp	x15, x14
	b.hi	LBB0_38
; %bb.53:
	orr	x14, x14, #0x4
	sub	x13, x14, x13
	cmp	x13, x14
	b.hi	LBB0_38
; %bb.54:
	mov	w13, #2
	cmp	x11, #2
	csel	x13, x11, x13, lo
	add	x14, x13, x12
	sub	x14, x14, x11
	add	x15, sp, #56
	add	x14, x15, x14, lsl #3
	add	x12, x15, w12, uxtw #3
	orr	x16, x12, #0x4
	add	x13, x15, x13, lsl #3
	add	x15, x15, x11, lsl #3
	orr	x17, x15, #0x4
	orr	x0, x14, #0x4
	orr	x1, x13, #0x4
	add	x15, x15, #8
	cmp	x0, x15
	add	x12, x12, #8
	ccmp	x1, x12, #2, lo
	cset	w12, lo
	cmp	x13, x16
	ccmp	x14, x17, #2, lo
	b.lo	LBB0_38
; %bb.55:
	tbnz	w12, #0, LBB0_38
; %bb.56:
	and	x13, x10, #0xfffffffffffffff8
	sub	x12, x11, x13
	mov	w14, #-5
	add	x14, x11, x14
	add	x15, sp, #56
	add	x11, x15, x11, lsl #3
	sub	x11, x11, #24
	mov	x16, x13
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	add	w17, w14, #4
	add	x17, x15, w17, uxtw #3
	sub	x17, x17, #24
	ld2.4s	{ v0, v1 }, [x17]
	add	x17, x15, w14, uxtw #3
	sub	x17, x17, #24
	ld2.4s	{ v2, v3 }, [x17]
	st2.4s	{ v0, v1 }, [x11]
	sub	x17, x11, #32
	st2.4s	{ v2, v3 }, [x17]
	sub	x14, x14, #8
	sub	x11, x11, #64
	sub	x16, x16, #8
	cbnz	x16, LBB0_57
; %bb.58:
	cmp	x10, x13
	b.ne	LBB0_39
	b	LBB0_41
LBB0_59:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_gdCosT,8,3                     ; @gdCosT
	.comm	_gdSinT,8,3                     ; @gdSinT
	.comm	_gdChord,4,2                    ; @gdChord
	.comm	_gdNoFill,4,2                   ; @gdNoFill
	.comm	_gdEdged,4,2                    ; @gdEdged
.subsections_via_symbols
