	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft_stroke_border_arcto
_ft_stroke_border_arcto:                ## @ft_stroke_border_arcto
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	-96(%rbp), %rdi
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %esi
	movq	%rcx, %rdx
	callq	_FT_Vector_From_Polar
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movdqu	(%rbx), %xmm0
	paddq	-96(%rbp), %xmm0
	movdqa	%xmm0, -96(%rbp)
	movq	_FT_ANGLE_PI2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	negq	%rcx
	testq	%r12, %r12
	cmovnsq	%rax, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	je	LBB0_5
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_FT_ARC_CUBIC_ANGLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rbx
	negq	%rbx
	cmpq	%rbx, %r12
	cmovgq	%r12, %rbx
	cmpq	%rax, %r12
	cmovgq	%rax, %rbx
	leaq	(%rbx,%r13), %rdx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, %r15
	negq	%r15
	cmovsq	%rbx, %r15
	shrq	%r15
	leaq	-80(%rbp), %rdi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_FT_Vector_From_Polar
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movdqu	(%rax), %xmm0
	paddq	-80(%rbp), %xmm0
	movdqa	%xmm0, -80(%rbp)
	movq	%r15, %rdi
	callq	_FT_Sin
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_FT_Cos
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,2), %edx
	addl	$196608, %edx                   ## imm = 0x30000
	movl	%r14d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_FT_MulDiv
	movl	%eax, %r14d
	movq	-120(%rbp), %r15                ## 8-byte Reload
	addq	%r15, %r13
	leaq	-112(%rbp), %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	movq	-136(%rbp), %r13                ## 8-byte Reload
	callq	_FT_Vector_From_Polar
	movdqa	-112(%rbp), %xmm0
	paddq	-96(%rbp), %xmm0
	movdqa	%xmm0, -112(%rbp)
	movq	%r13, %rdx
	subq	%r15, %rdx
	leaq	-160(%rbp), %r15
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_FT_Vector_From_Polar
	movdqa	-160(%rbp), %xmm0
	paddq	-80(%rbp), %xmm0
	movdqa	%xmm0, -160(%rbp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	leaq	-112(%rbp), %rsi
	movq	%r15, %rdx
	leaq	-80(%rbp), %rcx
	callq	_ft_stroke_border_cubicto
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movdqa	-80(%rbp), %xmm0
	movdqa	%xmm0, -96(%rbp)
	subq	%rbx, %r12
	jne	LBB0_1
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_2:
	movq	%rax, %r14
LBB0_5:
	movq	%r14, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,8,3                  ## @FT_Err_Ok
	.comm	_FT_ANGLE_PI2,8,3               ## @FT_ANGLE_PI2
	.comm	_FT_ARC_CUBIC_ANGLE,8,3         ## @FT_ARC_CUBIC_ANGLE
	.no_dead_strip	_ft_stroke_border_arcto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ft_stroke_border_arcto
_ft_stroke_border_arcto:                ; @ft_stroke_border_arcto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	add	x0, sp, #48
	mov	x1, x2
	mov	x2, x3
	bl	_FT_Vector_From_Polar
	ldr	q0, [x21]
	ldr	q1, [sp, #48]
	add.2d	v0, v1, v0
	str	q0, [sp, #48]
Lloh3:
	adrp	x8, _FT_ANGLE_PI2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FT_ANGLE_PI2@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x19, #0
	cneg	x27, x8, lt
	cbz	x19, LBB0_5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
Lloh6:
	adrp	x8, _FT_ARC_CUBIC_ANGLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FT_ARC_CUBIC_ANGLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	neg	x9, x8
	cmp	x19, x9
	csneg	x9, x19, x8, gt
	cmp	x19, x8
	csel	x28, x8, x9, gt
	add	x24, x28, x23
	cmp	x28, #0
	cneg	x8, x28, mi
	lsr	x25, x8, #1
	add	x0, sp, #32
	mov	x1, x20
	mov	x2, x24
	bl	_FT_Vector_From_Polar
	ldr	q0, [x21]
	ldr	q1, [sp, #32]
	add.2d	v0, v1, v0
	str	q0, [sp, #32]
	mov	x0, x25
	bl	_FT_Sin
	lsl	w26, w0, #2
	mov	x0, x25
	bl	_FT_Cos
	add	w8, w0, w0, lsl #1
	add	w2, w8, #48, lsl #12            ; =196608
	mov	x0, x20
	mov	x1, x26
	bl	_FT_MulDiv
	mov	x25, x0
	add	x2, x23, x27
	add	x0, sp, #16
	mov	x1, x25
	bl	_FT_Vector_From_Polar
	ldr	q0, [sp, #48]
	ldr	q1, [sp, #16]
	add.2d	v0, v1, v0
	str	q0, [sp, #16]
	sub	x2, x24, x27
	mov	x0, sp
	mov	x1, x25
	bl	_FT_Vector_From_Polar
	ldr	q0, [sp, #32]
	ldr	q1, [sp]
	add.2d	v0, v1, v0
	str	q0, [sp]
	add	x1, sp, #16
	mov	x2, sp
	add	x3, sp, #32
	mov	x0, x22
	bl	_ft_stroke_border_cubicto
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	q0, [sp, #32]
	str	q0, [sp, #48]
	mov	x23, x24
	subs	x19, x19, x28
	b.ne	LBB0_1
; %bb.3:
	mov	x25, #0
	b	LBB0_5
LBB0_4:
	mov	x25, x0
LBB0_5:
	mov	x0, x25
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,8,3                  ; @FT_Err_Ok
	.comm	_FT_ANGLE_PI2,8,3               ; @FT_ANGLE_PI2
	.comm	_FT_ARC_CUBIC_ANGLE,8,3         ; @FT_ARC_CUBIC_ANGLE
	.no_dead_strip	_ft_stroke_border_arcto
.subsections_via_symbols
