	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft_stroke_border_lineto
_ft_stroke_border_lineto:               ## @ft_stroke_border_lineto
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%rdi), %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_FT_ASSERT
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	32(%rbx), %rax
	movslq	8(%rbx), %rcx
	shlq	$4, %rcx
	movups	(%r15), %xmm0
	movups	%xmm0, -16(%rcx,%rax)
	jmp	LBB0_7
LBB0_2:
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	movq	32(%rbx), %rcx
	decl	%eax
	shlq	$4, %rax
	movq	8(%rcx,%rax), %rdi
	subq	8(%r15), %rdi
	callq	_FT_IS_SMALL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	32(%rbx), %rax
	movslq	8(%rbx), %rcx
	shlq	$4, %rcx
	movq	-16(%rcx,%rax), %rdi
	subq	(%r15), %rdi
	callq	_FT_IS_SMALL
	testq	%rax, %rax
	jne	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ft_stroke_border_grow
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	movslq	8(%rbx), %rdx
	movq	%rdx, %rsi
	shlq	$4, %rsi
	movups	(%r15), %xmm0
	movups	%xmm0, (%rcx,%rsi)
	movq	_FT_STROKE_TAG_ON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax,%rdx,4)
	incl	8(%rbx)
	xorl	%r12d, %r12d
LBB0_7:
	movq	%r14, 16(%rbx)
LBB0_8:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.comm	_FT_STROKE_TAG_ON,4,2           ## @FT_STROKE_TAG_ON
	.no_dead_strip	_ft_stroke_border_lineto
.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_lineto
_ft_stroke_border_lineto:               ; @ft_stroke_border_lineto
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x8, [x0]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_FT_ASSERT
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #32]
	ldrsw	x9, [x20, #8]
	add	x8, x8, x9, lsl #4
	ldr	q0, [x22]
	stur	q0, [x8, #-16]
	b	LBB0_7
LBB0_2:
	ldr	w8, [x20, #8]
	subs	w8, w8, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	x9, [x20, #32]
	add	x8, x9, w8, uxtw #4
	ldr	x8, [x8, #8]
	ldr	x9, [x22, #8]
	sub	x0, x8, x9
	bl	_FT_IS_SMALL
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #32]
	ldrsw	x9, [x20, #8]
	add	x8, x8, x9, lsl #4
	ldur	x8, [x8, #-16]
	ldr	x9, [x22]
	sub	x0, x8, x9
	bl	_FT_IS_SMALL
	cbnz	x0, LBB0_8
LBB0_5:
	mov	x0, x20
	mov	w1, #1
	bl	_ft_stroke_border_grow
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.6:
	ldrsw	x8, [x20, #8]
	ldp	x10, x9, [x20, #24]
	ldr	q0, [x22]
	str	q0, [x9, x8, lsl #4]
Lloh3:
	adrp	x9, _FT_STROKE_TAG_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FT_STROKE_TAG_ON@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x10, x8, lsl #2]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_7:
	str	x19, [x20, #16]
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.comm	_FT_STROKE_TAG_ON,4,2           ; @FT_STROKE_TAG_ON
	.no_dead_strip	_ft_stroke_border_lineto
.subsections_via_symbols
