	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stbtt__close_shape
_stbtt__close_shape:                    ## @stbtt__close_shape
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	40(%rbp), %r9d
	movl	32(%rbp), %r8d
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	movl	24(%rbp), %r10d
	movl	16(%rbp), %r13d
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movslq	%ebx, %rax
	incl	%ebx
	leaq	(%r12,%rax,4), %rdi
	movq	_STBTT_vcurve@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	(%r8,%r13), %edx
	sarl	%edx
	leal	(%r9,%r10), %ecx
	sarl	%ecx
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_stbtt_setvertex
	movl	24(%rbp), %r10d
LBB0_3:
	movslq	%ebx, %rax
	leaq	(%r12,%rax,4), %rdi
	movq	_STBTT_vcurve@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%r10d, %r9d
	jmp	LBB0_7
LBB0_4:
	movslq	%ebx, %rax
	leaq	(%r12,%rax,4), %rdi
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:
	movq	_STBTT_vcurve@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	jmp	LBB0_7
LBB0_6:
	movq	_STBTT_vline@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
LBB0_7:
	callq	_stbtt_setvertex
	incl	%ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STBTT_vcurve,4,2               ## @STBTT_vcurve
	.comm	_STBTT_vline,4,2                ## @STBTT_vline
	.no_dead_strip	_stbtt__close_shape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__close_shape
_stbtt__close_shape:                    ; @stbtt__close_shape
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x5
	mov	x21, x4
	mov	x19, x1
	mov	x24, x0
	ldp	w4, w5, [x29, #16]
	cbz	w3, LBB0_4
; %bb.1:
	mov	x22, x7
	mov	x23, x6
Lloh0:
	adrp	x25, _STBTT_vcurve@GOTPAGE
Lloh1:
	ldr	x25, [x25, _STBTT_vcurve@GOTPAGEOFF]
	cbz	w2, LBB0_3
; %bb.2:
	add	w26, w19, #1
	add	x0, x24, w19, sxtw #2
	ldr	w1, [x25]
	add	w8, w4, w23
	asr	w2, w8, #1
	add	w8, w5, w22
	asr	w3, w8, #1
	bl	_stbtt_setvertex
	mov	x19, x26
LBB0_3:
	add	x0, x24, w19, sxtw #2
	ldr	w1, [x25]
	mov	x2, x21
	mov	x3, x20
	mov	x4, x23
	mov	x5, x22
	b	LBB0_7
LBB0_4:
	add	x0, x24, w19, sxtw #2
	cbz	w2, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _STBTT_vcurve@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STBTT_vcurve@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x20
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _STBTT_vline@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STBTT_vline@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
LBB0_7:
	bl	_stbtt_setvertex
	add	w0, w19, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STBTT_vcurve,4,2               ; @STBTT_vcurve
	.comm	_STBTT_vline,4,2                ; @STBTT_vline
	.no_dead_strip	_stbtt__close_shape
.subsections_via_symbols
