	.file	"extr_platform_fonts.c_LoadFace.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s - %d - %d - %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"LoadFace: Invalid font attachment index"
	.align 8
.LC2:
	.string	"LoadFace: Error creating face for %s"
	.align 8
.LC3:
	.string	"LoadFace: Error selecting charmap for %s"
	.align 8
.LC4:
	.string	"LoadFace: Failed to set font size for %s"
	.text
	.p2align 4
	.type	LoadFace, @function
LoadFace:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	mov	rsi, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 8[rsp], rax
	call	ConvertToLiveSize@PLT
	mov	r12d, eax
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR STYLE_HALFWIDTH[rip], eax
	je	.L2
	mov	r13d, r12d
	shr	r13d, 31
	add	r13d, r12d
	sar	r13d
.L3:
	mov	r8d, r12d
	lea	rdi, 24[rsp]
	mov	r9d, r13d
	mov	ecx, r15d
	mov	rdx, r14
	lea	rsi, .LC0[rip]
	call	asprintf@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	js	.L1
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	lea	rbx, 4[rax]
	mov	rdi, rbx
	call	vlc_dictionary_value_for_key@PLT
	mov	QWORD PTR 32[rsp], rax
	test	rax, rax
	je	.L29
.L6:
	mov	rdi, QWORD PTR 24[rsp]
	call	free@PLT
	mov	rax, QWORD PTR 32[rsp]
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L30
	add	rsp, 56
	.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
	lea	r13d, [r12+r12]
	test	DWORD PTR STYLE_DOUBLEWIDTH[rip], eax
	cmove	r13d, r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L29:
	cmp	BYTE PTR [r14], 58
	jne	.L7
	cmp	BYTE PTR 1[r14], 47
	je	.L31
.L7:
	mov	rax, QWORD PTR 8[rsp]
	lea	rcx, 32[rsp]
	mov	edx, r15d
	mov	rsi, r14
	mov	edi, DWORD PTR 8[rax]
	call	FT_New_Face@PLT
	test	rax, rax
	jne	.L26
.L10:
	mov	rdi, QWORD PTR 32[rsp]
	test	rdi, rdi
	je	.L6
	mov	esi, DWORD PTR ft_encoding_unicode[rip]
	call	FT_Select_Charmap@PLT
	mov	rdx, QWORD PTR 24[rsp]
	lea	rsi, .LC3[rip]
	test	rax, rax
	jne	.L27
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, r12d
	mov	esi, r13d
	call	FT_Set_Pixel_Sizes@PLT
	test	rax, rax
	jne	.L32
	mov	rdx, QWORD PTR 32[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbx
	call	vlc_dictionary_insert@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdx, QWORD PTR 24[rsp]
	lea	rsi, .LC4[rip]
.L27:
	mov	rdi, rbp
	xor	eax, eax
	call	msg_Err@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	FT_Done_Face@PLT
	mov	QWORD PTR 32[rsp], 0
	jmp	.L6
.L9:
	mov	rcx, QWORD PTR 8[rsp]
	cdqe
	lea	r8, 32[rsp]
	mov	rdx, QWORD PTR 16[rcx]
	mov	edi, DWORD PTR 8[rcx]
	mov	ecx, r15d
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	esi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	call	FT_New_Memory_Face@PLT
	test	rax, rax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdx, QWORD PTR 24[rsp]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	msg_Err@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, 2[r14]
	call	atoi@PLT
	test	eax, eax
	js	.L8
	mov	rdx, QWORD PTR 8[rsp]
	cmp	DWORD PTR [rdx], eax
	jg	.L9
.L8:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	msg_Err@PLT
	jmp	.L10
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	LoadFace, .-LoadFace
	.comm	ft_encoding_unicode,4,4
	.comm	VLC_SUCCESS,8,8
	.comm	STYLE_HALFWIDTH,4,4
	.comm	STYLE_DOUBLEWIDTH,4,4
	.comm	FT_OPEN_STREAM,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_platform_fonts.c_LoadFace.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s - %d - %d - %d\000"
	.align	2
.LC1:
	.ascii	"LoadFace: Invalid font attachment index\000"
	.align	2
.LC2:
	.ascii	"LoadFace: Error creating face for %s\000"
	.align	2
.LC3:
	.ascii	"LoadFace: Error selecting charmap for %s\000"
	.align	2
.LC4:
	.ascii	"LoadFace: Failed to set font size for %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LoadFace, %function
LoadFace:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r3
	mov	r3, #0
	mov	r7, r2
	ldr	r2, .L33
	sub	sp, sp, #24
	mov	r6, r1
	mov	r1, r5
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r8, r0
	str	r3, [sp, #12]
	ldr	r9, [r0]
	bl	ConvertToLiveSize
	ldr	r2, .L33+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r4, r0
	tst	r3, r2
	addne	r5, r0, r0, lsr #31
	asrne	r5, r5, #1
	bne	.L3
	ldr	r2, .L33+8
	ldr	r2, [r2]
	tst	r3, r2
	moveq	r5, r0
	lslne	r5, r0, #1
.L3:
	mov	r3, r7
	mov	r2, r6
	stm	sp, {r4, r5}
	ldr	r1, .L33+12
	add	r0, sp, #12
	bl	asprintf
	cmp	r0, #0
	movlt	r0, #0
	blt	.L1
	add	r10, r9, #4
	mov	r0, r10
	ldr	r1, [sp, #12]
	bl	vlc_dictionary_value_for_key
	cmp	r0, #0
	str	r0, [sp, #16]
	beq	.L28
.L6:
	ldr	r0, [sp, #12]
	bl	free
	ldr	r0, [sp, #16]
.L1:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L28:
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L7
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L30
.L7:
	mov	r2, r7
	mov	r1, r6
	ldr	r0, [r9, #8]
	add	r3, sp, #16
	bl	FT_New_Face
	cmp	r0, #0
	bne	.L26
.L10:
	ldr	r0, [sp, #16]
	cmp	r0, #0
	beq	.L6
	ldr	r3, .L33+16
	ldr	r1, [r3]
	bl	FT_Select_Charmap
	subs	r6, r0, #0
	bne	.L31
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [sp, #16]
	bl	FT_Set_Pixel_Sizes
	cmp	r0, #0
	bne	.L32
	mov	r0, r10
	ldr	r2, [sp, #16]
	ldr	r1, [sp, #12]
	bl	vlc_dictionary_insert
	b	.L6
.L31:
	ldr	r2, [sp, #12]
	ldr	r1, .L33+20
	mov	r0, r8
	bl	msg_Err
	ldr	r0, [sp, #16]
	bl	FT_Done_Face
	mov	r3, #0
	str	r3, [sp, #16]
	b	.L6
.L9:
	ldr	r2, [r9, #12]
	add	ip, sp, #16
	ldr	r3, [r2, r3, lsl #2]
	ldr	r0, [r9, #8]
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	mov	r3, r7
	str	ip, [sp]
	bl	FT_New_Memory_Face
	cmp	r0, #0
	beq	.L10
.L26:
	mov	r0, r8
	ldr	r2, [sp, #12]
	ldr	r1, .L33+24
	bl	msg_Err
	b	.L10
.L32:
	ldr	r2, [sp, #12]
	ldr	r1, .L33+28
	mov	r0, r8
	bl	msg_Err
	ldr	r0, [sp, #16]
	bl	FT_Done_Face
	str	r6, [sp, #16]
	b	.L6
.L30:
	add	r0, r6, #2
	bl	atoi
	subs	r3, r0, #0
	blt	.L8
	ldr	r2, [r9]
	cmp	r2, r3
	bgt	.L9
.L8:
	mov	r0, r8
	ldr	r1, .L33+32
	bl	msg_Err
	b	.L10
.L29:
	bl	__stack_chk_fail
.L34:
	.align	2
.L33:
	.word	.LC5
	.word	STYLE_HALFWIDTH
	.word	STYLE_DOUBLEWIDTH
	.word	.LC0
	.word	ft_encoding_unicode
	.word	.LC3
	.word	.LC2
	.word	.LC4
	.word	.LC1
	.size	LoadFace, .-LoadFace
	.comm	ft_encoding_unicode,4,4
	.comm	VLC_SUCCESS,4,4
	.comm	STYLE_HALFWIDTH,4,4
	.comm	STYLE_DOUBLEWIDTH,4,4
	.comm	FT_OPEN_STREAM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
