	.file	"extr_pshglob.c_psh_globals_scale_widths.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	psh_globals_scale_widths, @function
psh_globals_scale_widths:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rdx, [rsi+rsi*2]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	lea	rax, [rax+rdx*8]
	mov	rbx, QWORD PTR 8[rax]
	test	rbx, rbx
	jne	.L15
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rbp, QWORD PTR 16[rax]
	mov	r12d, DWORD PTR [rax]
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, r12d
	lea	r13, 24[rbp]
	call	FT_MulFix@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	rdi, rax
	call	FT_PIX_ROUND@PLT
	mov	QWORD PTR 8[rbp], rax
	sub	rbx, 1
	je	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 16[r13]
	mov	esi, r12d
	call	FT_MulFix@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	mov	ecx, edi
	sub	ecx, eax
	sub	edx, edi
	cmovs	edx, ecx
	cmp	edx, 127
	cmovg	edi, eax
	add	r13, 24
	mov	DWORD PTR -24[r13], edi
	call	FT_PIX_ROUND@PLT
	mov	QWORD PTR -16[r13], rax
	sub	rbx, 1
	jne	.L5
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	psh_globals_scale_widths, .-psh_globals_scale_widths
	.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_pshglob.c_psh_globals_scale_widths.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	psh_globals_scale_widths, %function
psh_globals_scale_widths:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	add	r1, r1, r1, lsl #1
	add	r2, r3, r1, lsl #2
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r2, #4]
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	lsl	r1, r1, #2
	ldr	r6, [r2, #8]
	ldr	r7, [r3, r1]
	ldr	r0, [r6, #8]
	mov	r1, r7
	bl	FT_MulFix
	str	r0, [r6]
	bl	FT_PIX_ROUND
	subs	r5, r5, #1
	str	r0, [r6, #4]
	popeq	{r4, r5, r6, r7, r8, pc}
	add	r4, r6, #24
.L5:
	mov	r1, r7
	ldr	r0, [r4, #-4]
	bl	FT_MulFix
	ldr	r3, [r6]
	add	r4, r4, #12
	subs	r2, r0, r3
	submi	r2, r3, r0
	cmp	r2, #127
	movle	r0, r3
	str	r0, [r4, #-24]
	bl	FT_PIX_ROUND
	subs	r5, r5, #1
	str	r0, [r4, #-20]
	bne	.L5
	pop	{r4, r5, r6, r7, r8, pc}
	.size	psh_globals_scale_widths, .-psh_globals_scale_widths
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
