	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stbtt__v_prefilter
_stbtt__v_prefilter:                    ## @stbtt__v_prefilter
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_STBTT_MAX_OVERSAMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_24
## %bb.1:
	movl	%r12d, %eax
	subl	%r14d, %eax
	movslq	%r15d, %r8
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	incl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %r13                ## 8-byte Reload
	incq	%r13
	movl	-92(%rbp), %r15d                ## 4-byte Reload
	incl	%r15d
	cmpl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r12d, %r14d
	movl	%ebx, %r12d
	je	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	cmpl	$2, %r14d
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movl	%r15d, -92(%rbp)                ## 4-byte Spill
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, %r14d
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	_STBTT__OVER_MASK@GOTPCREL(%rip), %r11
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_6
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%r13, %rcx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx), %edx
	movl	(%r11), %esi
	leal	4(%rax), %ebx
	andl	%esi, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	andl	%eax, %esi
	movzbl	(%rdi,%rsi), %esi
	movb	%dl, (%rdi,%rbx)
	subl	%esi, %edx
	addl	%edx, %r15d
	movl	%r15d, %edx
	shrl	$2, %edx
	movb	%dl, (%rcx)
	incq	%rax
	addq	%r8, %rcx
	cmpq	%rax, %r9
	jne	LBB0_18
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	_STBTT__OVER_MASK@GOTPCREL(%rip), %r10
	js	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%r13, %rcx
	xorl	%r15d, %r15d
	movl	$2863311531, %r11d              ## imm = 0xAAAAAAAB
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx), %edx
	movl	(%r10), %esi
	leal	3(%rax), %ebx
	andl	%esi, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	andl	%eax, %esi
	movzbl	(%rdi,%rsi), %esi
	movb	%dl, (%rdi,%rbx)
	subl	%esi, %edx
	addl	%edx, %r15d
	movq	%r15, %rdx
	imulq	%r11, %rdx
	shrq	$33, %rdx
	movb	%dl, (%rcx)
	incq	%rax
	addq	%r8, %rcx
	cmpq	%rax, %r9
	jne	LBB0_9
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%r13, %rcx
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	_STBTT__OVER_MASK@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx), %edx
	movl	(%r10), %esi
	leal	2(%rax), %ebx
	andl	%esi, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	andl	%eax, %esi
	movzbl	(%rdi,%rsi), %esi
	movb	%dl, (%rdi,%rbx)
	subl	%esi, %edx
	addl	%edx, %r15d
	movl	%r15d, %edx
	shrl	%edx
	movb	%dl, (%rcx)
	incq	%rax
	addq	%r8, %rcx
	cmpq	%rax, %r9
	jne	LBB0_16
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movq	%r13, %rsi
	xorl	%r15d, %r15d
	movq	-112(%rbp), %r10                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rsi), %eax
	movl	(%r11), %edx
	leal	(%r10,%rcx), %ebx
	andl	%edx, %ebx
                                        ## kill: def $edx killed $edx def $rdx
	andl	%ecx, %edx
	movzbl	(%rdi,%rdx), %edx
	movb	%al, (%rdi,%rbx)
	subl	%edx, %eax
	addl	%eax, %r15d
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r14d
	movb	%al, (%rsi)
	incq	%rcx
	addq	%r8, %rsi
	cmpq	%rcx, %r9
	jne	LBB0_14
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r9d, %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r14d
	movl	%r12d, %ebx
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	jge	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %r13
	imulq	%r8, %r13
	addq	-104(%rbp), %r13                ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	cmpb	$0, (%r13)
	sete	%dil
	callq	_retro_assert
	movq	_STBTT__OVER_MASK@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax), %eax
	andl	%r14d, %eax
	movzbl	(%rdi,%rax), %eax
	subl	%eax, %r15d
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r12d
	movb	%al, (%r13)
	incl	%r14d
	addq	%r8, %r13
	cmpl	%r14d, %ebx
	jne	LBB0_22
	jmp	LBB0_23
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STBTT_MAX_OVERSAMPLE,4,2       ## @STBTT_MAX_OVERSAMPLE
	.comm	_STBTT__OVER_MASK,4,2           ## @STBTT__OVER_MASK
	.no_dead_strip	_stbtt__v_prefilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__v_prefilter
_stbtt__v_prefilter:                    ; @stbtt__v_prefilter
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x19, x4
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x20, x2
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _STBTT_MAX_OVERSAMPLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STBTT_MAX_OVERSAMPLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	stur	w1, [x29, #-96]                 ; 4-byte Folded Spill
	cmp	w1, #1
	b.lt	LBB0_22
; %bb.1:
	mov	w24, #0
	sub	w8, w20, w19
	sxtw	x26, w3
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	add	w28, w8, #1
	mov	w8, w19
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh8:
	adrp	x21, _STBTT__OVER_MASK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _STBTT__OVER_MASK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldp	w8, w24, [x29, #-96]            ; 8-byte Folded Reload
	add	w24, w24, #1
	cmp	w24, w8
	b.eq	LBB0_22
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	mov	x0, x23
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	cmp	w19, #2
	stur	w24, [x29, #-92]                ; 4-byte Folded Spill
	b.eq	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #3
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #4
	b.ne	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w25, #0
	mov	x9, x22
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x21]
	and	x11, x8, x10
	ldrb	w11, [x23, x11]
	ldrb	w12, [x9]
	add	w13, w8, #4
	and	w10, w10, w13
	strb	w12, [x23, w10, uxtw]
	sub	w10, w12, w11
	add	w25, w10, w25
	lsr	w10, w25, #2
	strb	w10, [x9]
	add	x8, x8, #1
	add	x9, x9, x26
	cmp	x28, x8
	b.ne	LBB0_8
	b	LBB0_18
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w25, #0
	mov	x9, x22
	mov	w13, #43691
	movk	w13, #43690, lsl #16
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x9]
	ldr	w11, [x21]
	and	x12, x8, x11
	ldrb	w12, [x23, x12]
	sub	w12, w10, w12
	add	w25, w12, w25
	add	w12, w8, #3
	and	w11, w11, w12
	strb	w10, [x23, w11, uxtw]
	umull	x10, w25, w13
	lsr	x10, x10, #33
	strb	w10, [x9]
	add	x8, x8, #1
	add	x9, x9, x26
	cmp	x28, x8
	b.ne	LBB0_11
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w25, #0
	mov	x9, x22
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x21]
	and	x11, x8, x10
	ldrb	w11, [x23, x11]
	ldrb	w12, [x9]
	add	w13, w8, #2
	and	w10, w10, w13
	strb	w12, [x23, w10, uxtw]
	sub	w10, w12, w11
	add	w25, w10, w25
	lsr	w10, w25, #1
	strb	w10, [x9]
	add	x8, x8, #1
	add	x9, x9, x26
	cmp	x28, x8
	b.ne	LBB0_14
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w25, #0
	mov	x9, x22
	ldur	x14, [x29, #-112]               ; 8-byte Folded Reload
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x21]
	and	x11, x8, x10
	ldrb	w11, [x23, x11]
	ldrb	w12, [x9]
	add	w13, w14, w8
	and	w10, w10, w13
	strb	w12, [x23, w10, uxtw]
	sub	w10, w12, w11
	add	w25, w10, w25
	udiv	w10, w25, w19
	strb	w10, [x9]
	add	x8, x8, #1
	add	x9, x9, x26
	cmp	x28, x8
	b.ne	LBB0_17
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x28
	cmp	w27, w20
	b.ge	LBB0_2
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
	mov	w25, #0
	cmp	w27, w20
	b.ge	LBB0_2
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w27
	mul	x24, x26, x8
LBB0_21:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x22, x24]
	cmp	w8, #0
	cset	w0, eq
	bl	_retro_assert
	ldr	w8, [x21]
	mov	w9, w27
	and	x8, x8, x9
	ldrb	w8, [x23, x8]
	sub	w25, w25, w8
	udiv	w8, w25, w19
	strb	w8, [x22, x24]
	add	w27, w27, #1
	add	x24, x24, x26
	cmp	w20, w27
	b.ne	LBB0_21
	b	LBB0_2
LBB0_22:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_STBTT_MAX_OVERSAMPLE,4,2       ; @STBTT_MAX_OVERSAMPLE
	.comm	_STBTT__OVER_MASK,4,2           ; @STBTT__OVER_MASK
	.no_dead_strip	_stbtt__v_prefilter
.subsections_via_symbols
