	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft_stroke_border_close
_ft_stroke_border_close:                ## @ft_stroke_border_close
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %r12d
	movl	4(%rdi), %r15d
	movl	%r12d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_FT_ASSERT
	leal	1(%r12), %eax
	cmpl	%eax, %r15d
	jbe	LBB0_1
## %bb.2:
	leal	-1(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	24(%rbx), %rdx
	movl	(%rdx,%rax,4), %ecx
	movl	%ecx, (%rdx,%r12,4)
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	leaq	(%rdx,%rax,4), %rsi
	leaq	(%rdx,%r12,4), %rcx
	addq	$-4, %rsi
	addq	$4, %rcx
	cmpq	%rsi, %rcx
	jae	LBB0_7
## %bb.5:
	leaq	(%rdx,%rax,4), %rdx
	addq	$-8, %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	movl	4(%rdx), %edi
	movl	%edi, (%rcx)
	movl	%esi, 4(%rdx)
	addq	$4, %rcx
	leaq	-4(%rdx), %rsi
	cmpq	%rdx, %rcx
	movq	%rsi, %rdx
	jb	LBB0_6
LBB0_7:
	movq	16(%rbx), %rcx
	leaq	(%rcx,%rax,4), %rsi
	addq	$-4, %rsi
	leaq	(%rcx,%r12,4), %rdx
	addq	$4, %rdx
	cmpq	%rsi, %rdx
	jae	LBB0_10
## %bb.8:
	leaq	(%rcx,%rax,4), %rax
	addq	$-8, %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	4(%rax), %edi
	movl	%edi, (%rdx)
	movl	%esi, 4(%rax)
	addq	$4, %rdx
	leaq	-4(%rax), %rsi
	cmpq	%rax, %rdx
	movq	%rsi, %rax
	jb	LBB0_9
	jmp	LBB0_10
LBB0_1:
	movl	%r12d, 4(%rbx)
	jmp	LBB0_11
LBB0_3:
	movq	16(%rbx), %rcx
LBB0_10:
	movq	_FT_STROKE_TAG_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rcx,%r12,4)
	movq	_FT_STROKE_TAG_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-2, %r15d
	orl	%eax, (%rcx,%r15,4)
LBB0_11:
	movl	$-1, (%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_STROKE_TAG_BEGIN,4,2        ## @FT_STROKE_TAG_BEGIN
	.comm	_FT_STROKE_TAG_END,4,2          ## @FT_STROKE_TAG_END
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_ft_stroke_border_close
.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_close
_ft_stroke_border_close:                ; @ft_stroke_border_close
	.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	x20, x1
	mov	x19, x0
	ldp	w22, w21, [x0]
	mvn	w8, w22
	lsr	w0, w8, #31
	bl	_FT_ASSERT
	add	w8, w22, #1
	cmp	w21, w8
	b.ls	LBB0_8
; %bb.1:
	sub	w9, w21, #1
	str	w9, [x19, #4]
	ldr	x10, [x19, #24]
	add	x8, x10, w9, uxtw #2
	ldr	w12, [x8]
	add	x11, x10, x22, lsl #2
	str	w12, [x11]
	cbz	x20, LBB0_9
; %bb.2:
	sub	x12, x8, #4
	add	x8, x11, #4
	cmp	x8, x12
	b.hs	LBB0_5
; %bb.3:
	add	x10, x10, x9, lsl #2
	sub	x10, x10, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	ldr	w12, [x10, #4]
	str	w12, [x8], #4
	str	w11, [x10, #4]
	sub	x11, x10, #4
	cmp	x8, x10
	mov	x10, x11
	b.lo	LBB0_4
LBB0_5:
	ldr	x8, [x19, #16]
	add	x11, x8, x22, lsl #2
	add	x10, x8, x9, lsl #2
	sub	x12, x10, #4
	add	x9, x11, #4
	cmp	x9, x12
	b.hs	LBB0_10
; %bb.6:
	sub	x10, x10, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	ldr	w12, [x10, #4]
	str	w12, [x9], #4
	str	w11, [x10, #4]
	sub	x11, x10, #4
	cmp	x9, x10
	mov	x10, x11
	b.lo	LBB0_7
	b	LBB0_10
LBB0_8:
	str	w22, [x19, #4]
	b	LBB0_11
LBB0_9:
	ldr	x8, [x19, #16]
LBB0_10:
Lloh0:
	adrp	x9, _FT_STROKE_TAG_BEGIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FT_STROKE_TAG_BEGIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	x10, x22, #2
	ldr	w11, [x8, x10]
	orr	w9, w11, w9
	str	w9, [x8, x10]
Lloh3:
	adrp	x9, _FT_STROKE_TAG_END@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FT_STROKE_TAG_END@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w10, w21, #2
	lsl	x10, x10, #2
	ldr	w11, [x8, x10]
	orr	w9, w11, w9
	str	w9, [x8, x10]
LBB0_11:
	mov	w8, #-1
	str	w8, [x19]
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_STROKE_TAG_BEGIN,4,2        ; @FT_STROKE_TAG_BEGIN
	.comm	_FT_STROKE_TAG_END,4,2          ; @FT_STROKE_TAG_END
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_ft_stroke_border_close
.subsections_via_symbols
