	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gx_render_arrowhead
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gx_render_arrowhead
	.p2align	4, 0x90
_gx_render_arrowhead:                   ## @gx_render_arrowhead
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movl	%r8d, -104(%rbp)                ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r13d
	movl	%edi, %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-108(%rbp), %rdi
	callq	_gx_priv_save
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	movq	$0, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	_VG_PAINT_LINEAR_GRADIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rcx
	movl	%ebx, %edi
	movl	$4, %edx
	callq	_vgSetParameterfv
	movq	_VG_FILL_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_vgSetPaint
	movq	_VG_PATH_FORMAT_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VG_PATH_DATATYPE_S_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VG_PATH_CAPABILITY_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	movl	$8, %edx
	movl	$8, %ecx
	callq	_vgCreatePath
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %r14d
	movl	%r13d, -96(%rbp)
	movl	%r12d, -92(%rbp)
	addl	%r13d, %r15d
	movl	%r15d, -88(%rbp)
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	leal	(%rax,%r12), %ecx
	movl	%ecx, -84(%rbp)
	movl	%r15d, -80(%rbp)
	subl	%eax, %r12d
	movl	%r12d, -76(%rbp)
	leaq	-96(%rbp), %rsi
	movl	%r14d, %edi
	movl	$3, %edx
	movl	$1, %ecx
	callq	_vguPolygon
	movq	_VG_FILL_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_vgDrawPath
	movl	%r14d, %edi
	callq	_vgDestroyPath
	xorl	%eax, %eax
	callq	_vgGetError
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_vcos_assert
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_6
LBB0_3:
	xorl	%edi, %edi
	callq	_vcos_assert
	movq	_VCOS_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_VCOS_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
LBB0_6:
	leaq	-108(%rbp), %rdi
	callq	_gx_priv_restore
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VCOS_SUCCESS,4,2               ## @VCOS_SUCCESS
	.comm	_VCOS_EINVAL,4,2                ## @VCOS_EINVAL
	.comm	_VG_PAINT_LINEAR_GRADIENT,4,2   ## @VG_PAINT_LINEAR_GRADIENT
	.comm	_VG_FILL_PATH,4,2               ## @VG_FILL_PATH
	.comm	_VG_PATH_FORMAT_STANDARD,4,2    ## @VG_PATH_FORMAT_STANDARD
	.comm	_VG_PATH_DATATYPE_S_32,4,2      ## @VG_PATH_DATATYPE_S_32
	.comm	_VG_PATH_CAPABILITY_ALL,4,2     ## @VG_PATH_CAPABILITY_ALL
	.comm	_VCOS_ENOMEM,4,2                ## @VCOS_ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gx_render_arrowhead            ; -- Begin function gx_render_arrowhead
	.p2align	2
_gx_render_arrowhead:                   ; @gx_render_arrowhead
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x24, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x1, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	add	x0, sp, #12
	bl	_gx_priv_save
	cbz	w24, LBB0_3
; %bb.1:
	str	xzr, [sp, #40]
	str	wzr, [sp, #48]
Lloh6:
	adrp	x8, _VG_PAINT_LINEAR_GRADIENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VG_PAINT_LINEAR_GRADIENT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x3, sp, #40
	mov	x0, x24
	mov	w2, #4
	bl	_vgSetParameterfv
Lloh9:
	adrp	x25, _VG_FILL_PATH@GOTPAGE
Lloh10:
	ldr	x25, [x25, _VG_FILL_PATH@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x24
	bl	_vgSetPaint
Lloh11:
	adrp	x8, _VG_PATH_FORMAT_STANDARD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VG_PATH_FORMAT_STANDARD@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _VG_PATH_DATATYPE_S_32@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VG_PATH_DATATYPE_S_32@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _VG_PATH_CAPABILITY_ALL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VG_PATH_CAPABILITY_ALL@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	fmov	d0, #1.00000000
	movi	d1, #0000000000000000
	mov	w2, #8
	mov	w3, #8
	bl	_vgCreatePath
	cbz	w0, LBB0_4
; %bb.2:
	mov	x24, x0
	stp	w23, w20, [sp, #16]
	add	w8, w22, w23
	cmp	w21, #0
	cinc	w9, w21, lt
	asr	w9, w9, #1
	add	w10, w9, w20
	stp	w8, w10, [sp, #24]
	sub	w9, w20, w9
	stp	w8, w9, [sp, #32]
	add	x1, sp, #16
	mov	w2, #3
	mov	w3, #1
	bl	_vguPolygon
	ldr	w1, [x25]
	mov	x0, x24
	bl	_vgDrawPath
	mov	x0, x24
	bl	_vgDestroyPath
	bl	_vgGetError
	cmp	x0, #0
	cset	w0, eq
	bl	_vcos_assert
	b	LBB0_6
LBB0_3:
	mov	w0, #0
	bl	_vcos_assert
Lloh20:
	adrp	x8, _VCOS_EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VCOS_EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh22:
	adrp	x8, _VCOS_ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VCOS_ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w19, [x8]
LBB0_6:
	add	x0, sp, #12
	bl	_gx_priv_restore
	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_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_VCOS_SUCCESS,4,2               ; @VCOS_SUCCESS
	.comm	_VCOS_EINVAL,4,2                ; @VCOS_EINVAL
	.comm	_VG_PAINT_LINEAR_GRADIENT,4,2   ; @VG_PAINT_LINEAR_GRADIENT
	.comm	_VG_FILL_PATH,4,2               ; @VG_FILL_PATH
	.comm	_VG_PATH_FORMAT_STANDARD,4,2    ; @VG_PATH_FORMAT_STANDARD
	.comm	_VG_PATH_DATATYPE_S_32,4,2      ; @VG_PATH_DATATYPE_S_32
	.comm	_VG_PATH_CAPABILITY_ALL,4,2     ; @VG_PATH_CAPABILITY_ALL
	.comm	_VCOS_ENOMEM,4,2                ; @VCOS_ENOMEM
.subsections_via_symbols
