	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftc_scaler_lookup_size
_ftc_scaler_lookup_size:                ## @ftc_scaler_lookup_size
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	$0, -32(%rbp)
	movl	32(%rsi), %esi
	leaq	-36(%rbp), %rdx
	callq	_FTC_Manager_LookupFace
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movl	-36(%rbp), %edi
	leaq	-32(%rbp), %rsi
	callq	_FT_New_Size
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	-32(%rbp), %rdi
	callq	_FT_Activate_Size
	cmpq	$0, 24(%r15)
	movl	-36(%rbp), %edi
	movq	16(%r15), %rsi
	je	LBB0_4
## %bb.3:
	movq	8(%r15), %rdx
	callq	_FT_Set_Pixel_Sizes
	jmp	LBB0_5
LBB0_4:
	movl	8(%r15), %edx
	movl	(%r15), %r8d
	movl	4(%r15), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FT_Set_Char_Size
LBB0_5:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	-32(%rbp), %rdi
	callq	_FT_Done_Size
	movq	$0, -32(%rbp)
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ftc_scaler_lookup_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftc_scaler_lookup_size
_ftc_scaler_lookup_size:                ; @ftc_scaler_lookup_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	str	xzr, [sp]
	ldr	w1, [x1, #32]
	add	x2, sp, #12
	bl	_FTC_Manager_LookupFace
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	w0, [sp, #12]
	mov	x1, sp
	bl	_FT_New_Size
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x0, [sp]
	bl	_FT_Activate_Size
	ldr	w0, [sp, #12]
	ldp	x1, x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x2, [x20, #8]
	bl	_FT_Set_Pixel_Sizes
	mov	x21, x0
	cbz	x0, LBB0_5
LBB0_4:
	ldr	x0, [sp]
	bl	_FT_Done_Size
	str	xzr, [sp]
LBB0_5:
	ldr	x8, [sp]
	str	x8, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	ldp	w3, w2, [x20, #4]
	ldr	w4, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FT_Set_Char_Size
	mov	x21, x0
	cbnz	x0, LBB0_4
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ftc_scaler_lookup_size
.subsections_via_symbols
