	.file	"extr_ttdriver.c_tt_get_advances.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tt_get_advances, @function
tt_get_advances:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movsx	r12, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	DWORD PTR FT_LOAD_VERTICAL_LAYOUT[rip], ecx
	jne	.L2
	test	rdx, rdx
	jle	.L4
	mov	rax, rsi
	lea	rbp, [rdx+rsi]
	lea	r14, 4[rsp]
	mov	r13, rsp
	neg	rax
	lea	r15, [r8+rax*4]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rdi, r12
	call	TT_Get_HMetrics@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR [r15+rbx*4], eax
	add	rbx, 1
	cmp	rbx, rbp
	jne	.L6
.L4:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR FT_Err_Ok[rip]
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	rdx, rdx
	jle	.L4
	mov	rax, rsi
	lea	rbp, [rdx+rsi]
	lea	r14, 4[rsp]
	mov	r13, rsp
	neg	rax
	lea	r15, [r8+rax*4]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rbx
	mov	r8, r14
	mov	rcx, r13
	xor	edx, edx
	mov	rdi, r12
	call	TT_Get_VMetrics@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR [r15+rbx*4], eax
	add	rbx, 1
	cmp	rbx, rbp
	jne	.L5
	jmp	.L4
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tt_get_advances, .-tt_get_advances
	.comm	Unimplemented_Feature,4,4
	.comm	TT_FACE_FLAG_VAR_VADVANCE,4,4
	.comm	TT_FACE_FLAG_VAR_HADVANCE,4,4
	.comm	FT_LOAD_VERTICAL_LAYOUT,4,4
	.comm	FT_Err_Ok,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ttdriver.c_tt_get_advances.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tt_get_advances, %function
tt_get_advances:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	ip, .L13
	mov	r6, r0
	ldr	r0, [ip]
	sub	sp, sp, #28
	tst	r3, r0
	ldr	r3, .L13+4
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r5, [sp, #56]
	bne	.L2
	cmp	r2, #0
	subgt	r5, r5, #4
	addgt	r7, r2, r1
	addgt	r9, sp, #12
	addgt	r8, sp, #16
	ble	.L4
.L6:
	mov	r3, r8
	mov	r1, r4
	mov	r2, r9
	mov	r0, r6
	bl	TT_Get_HMetrics
	add	r4, r4, #1
	ldr	r3, [sp, #16]
	cmp	r4, r7
	str	r3, [r5, #4]!
	bne	.L6
.L4:
	ldr	r3, .L13+8
	ldr	r0, [r3]
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	cmp	r2, #0
	ble	.L4
	sub	r5, r5, #4
	add	r7, r2, r1
	add	r9, sp, #12
	add	r8, sp, #16
.L5:
	mov	r3, r9
	mov	r1, r4
	mov	r2, #0
	mov	r0, r6
	str	r8, [sp]
	bl	TT_Get_VMetrics
	add	r4, r4, #1
	ldr	r3, [sp, #16]
	cmp	r4, r7
	str	r3, [r5, #4]!
	bne	.L5
	b	.L4
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	FT_LOAD_VERTICAL_LAYOUT
	.word	.LC0
	.word	FT_Err_Ok
	.size	tt_get_advances, .-tt_get_advances
	.comm	Unimplemented_Feature,4,4
	.comm	TT_FACE_FLAG_VAR_VADVANCE,4,4
	.comm	TT_FACE_FLAG_VAR_HADVANCE,4,4
	.comm	FT_LOAD_VERTICAL_LAYOUT,4,4
	.comm	FT_Err_Ok,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
