	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cf2_font_setup
_cf2_font_setup:                        ## @cf2_font_setup
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	184(%rdi), %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 160(%rdi)
	movq	%r15, %rdi
	callq	_cf2_getSubfont
	movq	%rax, %r12
	cmpq	%rax, 176(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r12, 176(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_2:
	cmpl	$0, 168(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_cf2_getVStore
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	4(%r12), %eax
	movl	%eax, 152(%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 144(%rbx)
	movl	(%r12), %eax
	movl	%eax, 140(%rbx)
	movl	$0, 136(%rbx)
	movq	$0, 128(%rbx)
LBB0_5:
	movq	%r15, %rdi
	callq	_cf2_getPpemY
	cmpq	%rax, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rax, 16(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_7:
	movq	_CF2_FlagsHinted@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	28(%rbx), %eax
	movl	%eax, 24(%rbx)
	leaq	116(%rbx), %rsi
	movq	%r14, %rdi
	movl	$32, %edx
	callq	_ft_memcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r14), %rax
	movq	%rax, 116(%rbx)
	xorl	%edi, %edi
	callq	_cf2_intToFixed
	movl	%eax, 120(%rbx)
	movl	%eax, 116(%rbx)
	movq	(%r14), %rax
	movq	%rax, 108(%rbx)
	movl	$1, %edi
	callq	_cf2_intToFixed
	movl	%eax, 96(%rbx)
	movl	%eax, 92(%rbx)
	xorl	%edi, %edi
	callq	_cf2_intToFixed
	movl	%eax, 104(%rbx)
	movl	%eax, 100(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_9:
	movq	_CF2_FlagsDarkened@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	28(%rbx), %eax
	cmpl	%eax, 32(%rbx)
	je	LBB0_11
## %bb.10:
	movl	%eax, 32(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_11:
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.12:
	movl	36(%rbx), %r12d
	testl	%r12d, %r12d
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovel	%eax, %r12d
	movl	$4, %edi
	callq	_cf2_intToFixed
	movslq	%eax, %rdi
	movq	16(%rbx), %rsi
	callq	_FT_MAX
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_cf2_intToFixed
	cltd
	idivl	%r12d
	movslq	%eax, %r14
	movq	%r15, %rdi
	callq	_cf2_getStdVW
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	jg	LBB0_14
## %bb.13:
	movl	$75, %edi
	callq	_cf2_intToFixed
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_FT_DivFix
	movq	%rax, 40(%rbx)
LBB0_14:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	jle	LBB0_16
## %bb.15:
	movl	%r12d, %edi
	callq	_cf2_intToFixed
	movl	%eax, %edi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_FT_DivFix
	movq	%r13, %rdi
	movq	%r12, %r13
	movq	%rax, %rsi
	callq	_FT_MAX
	movq	40(%rbx), %rdx
	leaq	84(%rbx), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r12
	movq	(%r12), %r9
	movl	88(%rbx), %esi
	movl	%esi, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rax, %r8
	callq	_cf2_computeDarkening
	jmp	LBB0_17
LBB0_25:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	84(%rbx), %rcx
	movslq	32(%rbx), %r9
	movl	88(%rbx), %edx
	movl	%edx, (%rsp)
	movq	%r14, %rdi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	callq	_cf2_computeDarkening
	movq	_FALSE@GOTPCREL(%rip), %r12
LBB0_17:
	movq	%r15, %rdi
	callq	_cf2_getStdHW
	testq	%rax, %rax
	jle	LBB0_19
## %bb.18:
	movq	40(%rbx), %r15
	movl	$2, %edi
	movq	%rax, %rsi
	callq	_MUL_INT32
	movl	$75, %edi
	cmpq	%rax, %r15
	jg	LBB0_20
LBB0_19:
	movl	$110, %edi
LBB0_20:
	callq	_cf2_intToFixed
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_FT_DivFix
	movq	%rax, 48(%rbx)
	leaq	80(%rbx), %r15
	movslq	32(%rbx), %r9
	movl	88(%rbx), %ecx
	movl	%ecx, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_cf2_computeDarkening
	cmpl	$0, 84(%rbx)
	jne	LBB0_22
## %bb.21:
	cmpl	$0, (%r15)
	je	LBB0_23
LBB0_22:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	movq	(%r12), %rax
LBB0_24:
	movq	%rax, 64(%rbx)
	leaq	56(%rbx), %rdi
	movq	%rbx, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cf2_blues_init                 ## TAILCALL
LBB0_23:
	movq	(%r12), %rax
	movq	%rax, 72(%rbx)
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_CF2_FlagsHinted,4,2            ## @CF2_FlagsHinted
	.comm	_CF2_FlagsDarkened,4,2          ## @CF2_FlagsDarkened
	.comm	_fontMatrix,8,3                 ## @fontMatrix
	.no_dead_strip	_cf2_font_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cf2_font_setup
_cf2_font_setup:                        ; @cf2_font_setup
	.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
	mov	x23, x1
	mov	x19, x0
	ldr	x21, [x0, #184]
Lloh0:
	adrp	x26, _FALSE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	ldr	x25, [x26]
	ldp	x22, x20, [x0]
Lloh2:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0, #160]
	mov	x0, x21
	bl	_cf2_getSubfont
	mov	x24, x0
	ldr	x8, [x19, #176]
Lloh5:
	adrp	x27, _TRUE@GOTPAGE
Lloh6:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	cmp	x8, x0
	b.eq	LBB0_2
; %bb.1:
	str	x24, [x19, #176]
	ldr	x25, [x27]
LBB0_2:
	ldr	w8, [x19, #168]
	cbnz	w8, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_cf2_getVStore
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.4:
	ldp	w9, w8, [x24]
	str	w8, [x19, #152]
	ldr	x8, [x26]
	str	x8, [x19, #144]
	stp	wzr, w9, [x19, #136]
	str	xzr, [x19, #128]
LBB0_5:
	mov	x0, x21
	bl	_cf2_getPpemY
	ldr	x8, [x19, #16]
	cmp	x8, x0
	b.eq	LBB0_7
; %bb.6:
	str	x0, [x19, #16]
	ldr	x25, [x27]
LBB0_7:
	ldr	w8, [x19, #28]
Lloh7:
	adrp	x9, _CF2_FlagsHinted@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CF2_FlagsHinted@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #24]
	add	x1, x19, #116
	mov	x0, x23
	mov	w2, #32
	bl	_ft_memcmp
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x23]
	stur	x8, [x19, #116]
	mov	w0, #0
	bl	_cf2_intToFixed
	stp	w0, w0, [x19, #116]
	ldr	x8, [x23]
	stur	x8, [x19, #108]
	mov	w0, #1
	bl	_cf2_intToFixed
	stp	w0, w0, [x19, #92]
	mov	w0, #0
	bl	_cf2_intToFixed
	stp	w0, w0, [x19, #100]
	ldr	x25, [x27]
LBB0_9:
	ldp	w8, w9, [x19, #28]
Lloh10:
	adrp	x10, _CF2_FlagsDarkened@GOTPAGE
Lloh11:
	ldr	x10, [x10, _CF2_FlagsDarkened@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	and	w8, w10, w8
	cmp	w9, w8
	b.eq	LBB0_11
; %bb.10:
	str	w8, [x19, #32]
	ldr	x25, [x27]
LBB0_11:
	cbz	w25, LBB0_15
; %bb.12:
	ldr	w8, [x19, #36]
	mov	w9, #1000
	cmp	w8, #0
	csel	w25, w9, w8, eq
	mov	w0, #4
	bl	_cf2_intToFixed
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldr	x1, [x19, #16]
	bl	_FT_MAX
	mov	x23, x0
	mov	w0, #1000
	bl	_cf2_intToFixed
	sdiv	w8, w0, w25
	sxtw	x24, w8
	mov	x0, x21
	bl	_cf2_getStdVW
	mov	x2, x0
	str	x0, [x19, #40]
	cmp	x0, #0
	b.le	LBB0_16
; %bb.13:
	cmp	x22, #1
	b.lt	LBB0_17
LBB0_14:
	mov	x0, x25
	bl	_cf2_intToFixed
	mov	x1, x23
	bl	_FT_DivFix
	mov	x1, x0
	mov	x0, x22
	bl	_FT_MAX
	mov	x4, x0
	ldr	x2, [x19, #40]
	add	x3, x19, #84
	ldr	x5, [x26]
	ldr	w6, [x19, #88]
	mov	x0, x24
	mov	x1, x23
	b	LBB0_18
LBB0_15:
	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_16:
	mov	w0, #75
	bl	_cf2_intToFixed
	mov	x1, x24
	bl	_FT_DivFix
	mov	x2, x0
	str	x0, [x19, #40]
	cmp	x22, #1
	b.ge	LBB0_14
LBB0_17:
	add	x3, x19, #84
	ldrsw	x5, [x19, #32]
	ldr	w6, [x19, #88]
	mov	x0, x24
	mov	x1, x23
	mov	x4, #0
LBB0_18:
	bl	_cf2_computeDarkening
	mov	x0, x21
	bl	_cf2_getStdHW
	cmp	x0, #1
	b.lt	LBB0_21
; %bb.19:
	mov	x1, x0
	ldr	x21, [x19, #40]
	mov	w0, #2
	bl	_MUL_INT32
	cmp	x21, x0
	b.le	LBB0_21
; %bb.20:
	mov	w0, #75
	b	LBB0_22
LBB0_21:
	mov	w0, #110
LBB0_22:
	bl	_cf2_intToFixed
	mov	x1, x24
	bl	_FT_DivFix
	mov	x2, x0
	str	x0, [x19, #48]
	add	x21, x19, #80
	ldrsw	x5, [x19, #32]
	ldr	w6, [x19, #88]
	mov	x0, x24
	mov	x1, x23
	mov	x3, x21
	mov	x4, x20
	bl	_cf2_computeDarkening
	ldr	w8, [x19, #84]
	cbnz	w8, LBB0_24
; %bb.23:
	ldr	w8, [x21]
	cbz	w8, LBB0_26
LBB0_24:
	ldr	x8, [x27]
	str	x8, [x19, #72]
	ldr	x8, [x26]
LBB0_25:
	str	x8, [x19, #64]
	add	x0, x19, #56
	mov	x1, x19
	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
	b	_cf2_blues_init
LBB0_26:
	ldr	x8, [x26]
	str	x8, [x19, #72]
	b	LBB0_25
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_CF2_FlagsHinted,4,2            ; @CF2_FlagsHinted
	.comm	_CF2_FlagsDarkened,4,2          ; @CF2_FlagsDarkened
	.comm	_fontMatrix,8,3                 ; @fontMatrix
	.no_dead_strip	_cf2_font_setup
.subsections_via_symbols
