	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function stbtt__handle_clipped_edge
LCPI0_0:
	.long	0xbf000000                      ## float -0.5
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stbtt__handle_clipped_edge:            ## @stbtt__handle_clipped_edge
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	ucomiss	%xmm3, %xmm1
	jne	LBB0_1
	jnp	LBB0_15
LBB0_1:
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%edi, %edi
	ucomiss	%xmm1, %xmm3
	seta	%dil
	movss	%xmm2, -40(%rbp)                ## 4-byte Spill
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movss	%xmm3, -32(%rbp)                ## 4-byte Spill
	movss	%xmm1, -28(%rbp)                ## 4-byte Spill
	callq	_assert
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	xorl	%edi, %edi
	ucomiss	(%rbx), %xmm0
	setae	%dil
	callq	_assert
	movss	-28(%rbp), %xmm7                ## 4-byte Reload
                                        ## xmm7 = mem[0],zero,zero,zero
	movss	-32(%rbp), %xmm6                ## 4-byte Reload
                                        ## xmm6 = mem[0],zero,zero,zero
	movss	-36(%rbp), %xmm5                ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	movss	-40(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm7
	ja	LBB0_15
## %bb.2:
	movss	(%rbx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm6, %xmm1
	ja	LBB0_15
## %bb.3:
	ucomiss	%xmm7, %xmm1
	jbe	LBB0_4
## %bb.5:
	movaps	%xmm4, %xmm2
	subss	%xmm5, %xmm2
	movaps	%xmm1, %xmm3
	subss	%xmm7, %xmm3
	mulss	%xmm2, %xmm3
	movaps	%xmm6, %xmm2
	subss	%xmm7, %xmm2
	divss	%xmm2, %xmm3
	addss	%xmm3, %xmm5
	ucomiss	%xmm0, %xmm6
	ja	LBB0_8
LBB0_7:
	movaps	%xmm6, %xmm0
	jmp	LBB0_9
LBB0_4:
	movaps	%xmm7, %xmm1
	ucomiss	%xmm0, %xmm6
	jbe	LBB0_7
LBB0_8:
	movaps	%xmm4, %xmm2
	subss	%xmm5, %xmm2
	movaps	%xmm0, %xmm3
	subss	%xmm6, %xmm3
	mulss	%xmm2, %xmm3
	subss	%xmm1, %xmm6
	divss	%xmm6, %xmm3
	addss	%xmm3, %xmm4
LBB0_9:
	xorps	%xmm2, %xmm2
	cvtsi2ss	%r15d, %xmm2
	ucomiss	%xmm5, %xmm2
	jb	LBB0_12
## %bb.10:
	ucomiss	%xmm4, %xmm2
	jb	LBB0_12
## %bb.11:
	subss	%xmm1, %xmm0
	mulss	8(%rbx), %xmm0
	movslq	%r15d, %rax
	addss	(%r14,%rax,4), %xmm0
	movss	%xmm0, (%r14,%rax,4)
	jmp	LBB0_15
LBB0_12:
	leal	1(%r15), %eax
	xorps	%xmm3, %xmm3
	cvtsi2ss	%eax, %xmm3
	ucomiss	%xmm3, %xmm5
	jb	LBB0_14
## %bb.13:
	ucomiss	%xmm3, %xmm4
	jae	LBB0_15
LBB0_14:
	subss	%xmm1, %xmm0
	mulss	8(%rbx), %xmm0
	subss	%xmm2, %xmm5
	subss	%xmm2, %xmm4
	addss	%xmm5, %xmm4
	mulss	LCPI0_0(%rip), %xmm4
	addss	LCPI0_1(%rip), %xmm4
	mulss	%xmm0, %xmm4
	movslq	%r15d, %rax
	addss	(%r14,%rax,4), %xmm4
	movss	%xmm4, (%r14,%rax,4)
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stbtt__handle_clipped_edge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__handle_clipped_edge
_stbtt__handle_clipped_edge:            ; @stbtt__handle_clipped_edge
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	fcmp	s1, s3
	b.eq	LBB0_13
; %bb.1:
	fmov	s10, s3
	fmov	s8, s2
	fmov	s11, s1
	fmov	s9, s0
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cset	w0, mi
	bl	_assert
	ldp	s0, s1, [x21]
	fcmp	s0, s1
	cset	w0, ls
	bl	_assert
	ldr	s0, [x21, #4]
	fcmp	s0, s11
	b.mi	LBB0_13
; %bb.2:
	ldr	s1, [x21]
	fcmp	s1, s10
	b.gt	LBB0_13
; %bb.3:
	fcmp	s1, s11
	b.le	LBB0_6
; %bb.4:
	fsub	s2, s8, s9
	fsub	s3, s1, s11
	fmul	s2, s2, s3
	fsub	s3, s10, s11
	fdiv	s2, s2, s3
	fadd	s9, s2, s9
	fcmp	s0, s10
	b.mi	LBB0_7
LBB0_5:
	fmov	s0, s10
	b	LBB0_8
LBB0_6:
	fmov	s1, s11
	fcmp	s0, s10
	b.pl	LBB0_5
LBB0_7:
	fsub	s2, s8, s9
	fsub	s3, s0, s10
	fmul	s2, s3, s2
	fsub	s3, s10, s1
	fdiv	s2, s2, s3
	fadd	s8, s2, s8
LBB0_8:
	scvtf	s2, w20
	fcmp	s9, s2
	fccmp	s8, s2, #2, ls
	b.ls	LBB0_11
; %bb.9:
	add	w8, w20, #1
	scvtf	s3, w8
	fcmp	s9, s3
	fccmp	s8, s3, #8, ge
	b.ge	LBB0_13
; %bb.10:
	ldr	s3, [x21, #8]
	fsub	s0, s0, s1
	fmul	s0, s0, s3
	fsub	s1, s9, s2
	fsub	s2, s8, s2
	fadd	s1, s1, s2
	fmov	s2, #-0.50000000
	fmul	s1, s1, s2
	fmov	s2, #1.00000000
	fadd	s1, s1, s2
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sbfiz	x8, x20, #2, #32
	ldr	s2, [x19, x8]
	fmadd	s0, s0, s1, s2
	b	LBB0_12
LBB0_11:
	ldr	s2, [x21, #8]
	fsub	s0, s0, s1
	sbfiz	x8, x20, #2, #32
	ldr	s1, [x19, x8]
	fmadd	s0, s2, s0, s1
LBB0_12:
	str	s0, [x19, x8]
LBB0_13:
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stbtt__handle_clipped_edge
.subsections_via_symbols
