	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tt_get_advances
_tt_get_advances:                       ## @tt_get_advances
	.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
	movq	%r8, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movslq	%edi, %r12
	movq	_FT_LOAD_VERTICAL_LAYOUT@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	testq	%rbx, %rbx
	jle	LBB0_7
## %bb.2:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%r13), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_TT_Get_VMetrics
	movl	-44(%rbp), %eax
	movl	%eax, (%r14,%r13,4)
	incq	%r13
	cmpq	%r13, %rbx
	jne	LBB0_3
	jmp	LBB0_7
LBB0_4:
	testq	%rbx, %rbx
	jle	LBB0_7
## %bb.5:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%r13), %rsi
	movq	%r12, %rdi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_TT_Get_HMetrics
	movl	-44(%rbp), %eax
	movl	%eax, (%r14,%r13,4)
	incq	%r13
	cmpq	%r13, %rbx
	jne	LBB0_6
LBB0_7:
	movq	_FT_Err_Ok@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_LOAD_VERTICAL_LAYOUT,4,2    ## @FT_LOAD_VERTICAL_LAYOUT
	.comm	_FT_Err_Ok,4,2                  ## @FT_Err_Ok
	.comm	_TT_FACE_FLAG_VAR_HADVANCE,4,2  ## @TT_FACE_FLAG_VAR_HADVANCE
	.comm	_TT_FACE_FLAG_VAR_VADVANCE,4,2  ## @TT_FACE_FLAG_VAR_VADVANCE
	.comm	_Unimplemented_Feature,4,2      ## @Unimplemented_Feature
	.no_dead_strip	_tt_get_advances
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tt_get_advances
_tt_get_advances:                       ; @tt_get_advances
	.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, x4
	mov	x20, x2
	mov	x21, x1
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
Lloh0:
	adrp	x8, _FT_LOAD_VERTICAL_LAYOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_LOAD_VERTICAL_LAYOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_3
; %bb.1:
	cmp	x20, #1
	b.lt	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_TT_Get_VMetrics
	ldr	w8, [sp, #8]
	str	w8, [x19], #4
	add	x21, x21, #1
	subs	x20, x20, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_3:
	cmp	x20, #1
	b.lt	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_TT_Get_HMetrics
	ldr	w8, [sp, #8]
	str	w8, [x19], #4
	add	x21, x21, #1
	subs	x20, x20, #1
	b.ne	LBB0_4
LBB0_5:
Lloh3:
	adrp	x8, _FT_Err_Ok@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FT_Err_Ok@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_LOAD_VERTICAL_LAYOUT,4,2    ; @FT_LOAD_VERTICAL_LAYOUT
	.comm	_FT_Err_Ok,4,2                  ; @FT_Err_Ok
	.comm	_TT_FACE_FLAG_VAR_HADVANCE,4,2  ; @TT_FACE_FLAG_VAR_HADVANCE
	.comm	_TT_FACE_FLAG_VAR_VADVANCE,4,2  ; @TT_FACE_FLAG_VAR_VADVANCE
	.comm	_Unimplemented_Feature,4,2      ; @Unimplemented_Feature
	.no_dead_strip	_tt_get_advances
.subsections_via_symbols
