	.file	"extr_stext-device.c_fz_stext_fill_text.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fz_stext_fill_text, @function
fz_stext_fill_text:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	QWORD PTR 8[rsi], rdx
	je	.L1
	mov	rsi, r8
	mov	rdx, r9
	mov	r12, rdi
	mov	r13d, ecx
	call	hexrgb_from_color@PLT
	mov	rbx, QWORD PTR [r14]
	mov	DWORD PTR 0[rbp], 1
	mov	DWORD PTR 16[rbp], eax
	test	rbx, rbx
	je	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, rbx
	mov	ecx, r13d
	mov	rsi, rbp
	mov	rdi, r12
	call	fz_stext_extract@PLT
	mov	rbx, QWORD PTR [rbx]
	test	rbx, rbx
	jne	.L4
.L3:
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, r12
	call	fz_drop_text@PLT
	mov	rsi, r14
	mov	rdi, r12
	call	fz_keep_text@PLT
	mov	QWORD PTR 8[rbp], rax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fz_stext_fill_text, .-fz_stext_fill_text
	.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_stext-device.c_fz_stext_fill_text.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fz_stext_fill_text, %function
fz_stext_fill_text:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r1, [r1, #4]
	cmp	r1, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r8, r2
	ldr	r1, [sp, #24]
	ldr	r2, [sp, #28]
	mov	r7, r3
	mov	r6, r0
	bl	hexrgb_from_color
	mov	r3, #1
	ldr	r4, [r8]
	str	r0, [r5, #8]
	cmp	r4, #0
	str	r3, [r5]
	beq	.L3
.L4:
	mov	r2, r4
	mov	r3, r7
	mov	r1, r5
	mov	r0, r6
	bl	fz_stext_extract
	ldr	r4, [r4]
	cmp	r4, #0
	bne	.L4
.L3:
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	fz_drop_text
	mov	r1, r8
	mov	r0, r6
	bl	fz_keep_text
	str	r0, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	fz_stext_fill_text, .-fz_stext_fill_text
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
