	.file	"extr_d3d10_font.c_d3d10_font_render_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	d3d10_font_render_msg, @function
d3d10_font_render_msg:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L22
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	test	rdx, rdx
	je	.L1
	cmp	BYTE PTR [rdx], 0
	je	.L1
	mov	eax, DWORD PTR [rdi]
	mov	rbp, rdi
	mov	r14, rsi
	mov	rbx, rcx
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR 4[rdi]
	mov	DWORD PTR 40[rsp], eax
	test	rcx, rcx
	je	.L3
	movss	xmm3, DWORD PTR 8[rcx]
	mov	r8d, DWORD PTR 12[rcx]
	movss	xmm2, DWORD PTR 24[rcx]
	movss	xmm4, DWORD PTR [rcx]
	movss	xmm5, DWORD PTR 4[rcx]
	mov	esi, DWORD PTR 20[rcx]
	mov	DWORD PTR 28[rsp], r8d
	movss	xmm6, DWORD PTR 28[rcx]
	mov	eax, DWORD PTR 16[rcx]
	movss	DWORD PTR 32[rsp], xmm3
	mov	edi, DWORD PTR 32[rcx]
	movss	DWORD PTR 24[rsp], xmm2
	mov	DWORD PTR 16[rsp], esi
	movss	DWORD PTR [rsp], xmm4
	movss	DWORD PTR 4[rsp], xmm5
	movss	DWORD PTR 44[rsp], xmm6
	mov	DWORD PTR 12[rsp], eax
	call	FONT_COLOR_GET_RED@PLT
	mov	edi, DWORD PTR 32[rbx]
	mov	DWORD PTR 8[rsp], eax
	call	FONT_COLOR_GET_GREEN@PLT
	mov	edi, DWORD PTR 32[rbx]
	mov	r12d, eax
	call	FONT_COLOR_GET_BLUE@PLT
	mov	edi, DWORD PTR 32[rbx]
	mov	r13d, eax
	call	FONT_COLOR_GET_ALPHA@PLT
	mov	edi, DWORD PTR 8[rsp]
	mov	edx, r13d
	mov	esi, r12d
	mov	ecx, eax
	mov	DWORD PTR 20[rsp], eax
	call	DXGI_COLOR_RGBA@PLT
	mov	ecx, DWORD PTR 20[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	mov	r11d, eax
	mov	eax, DWORD PTR 12[rsp]
	or	eax, DWORD PTR 16[rsp]
	movss	xmm2, DWORD PTR 24[rsp]
	movss	xmm3, DWORD PTR 32[rsp]
	jne	.L26
.L4:
	movss	xmm2, DWORD PTR 4[rsp]
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, rbp
	movss	xmm1, DWORD PTR [rsp]
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	ecx, r11d
	movaps	xmm0, xmm3
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	d3d10_font_render_message@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	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
.L3:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[rdi]
	movss	xmm7, DWORD PTR 8[rdi]
	mov	ecx, 255
	movss	xmm4, DWORD PTR 12[rdi]
	mov	r8d, DWORD PTR TEXT_ALIGN_LEFT[rip]
	mov	ebx, edx
	movss	DWORD PTR [rsp], xmm7
	sal	ebx, 8
	mov	DWORD PTR 20[rsp], r8d
	sub	ebx, edx
	mov	edx, DWORD PTR 20[rbp]
	movss	DWORD PTR 4[rsp], xmm4
	mov	edi, ebx
	mov	DWORD PTR 8[rsp], ebx
	mov	r12d, edx
	sal	r12d, 8
	sub	r12d, edx
	mov	edx, DWORD PTR 24[rbp]
	mov	esi, r12d
	mov	r13d, edx
	sal	r13d, 8
	sub	r13d, edx
	mov	edx, r13d
	call	DXGI_COLOR_RGBA@PLT
	mov	DWORD PTR 16[rsp], -2
	movss	xmm2, DWORD PTR .LC0[rip]
	mov	ecx, 255
	mov	DWORD PTR 12[rsp], -2
	movss	xmm3, DWORD PTR .LC1[rip]
	mov	r11d, eax
	mov	r8d, DWORD PTR 20[rsp]
.L7:
	pxor	xmm1, xmm1
	mov	ebx, DWORD PTR 8[rsp]
	pxor	xmm0, xmm0
	mov	DWORD PTR 28[rsp], r11d
	cvtsi2ss	xmm1, r13
	mov	DWORD PTR 20[rsp], r8d
	cvtsi2ss	xmm0, rbx
	movss	DWORD PTR 24[rsp], xmm3
	mulss	xmm1, xmm2
	mulss	xmm0, xmm2
	cvttss2si	rdx, xmm1
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, r12
	cvttss2si	rdi, xmm0
	mulss	xmm1, xmm2
	cvttss2si	rsi, xmm1
	call	DXGI_COLOR_RGBA@PLT
	pxor	xmm2, xmm2
	mov	edx, DWORD PTR 40[rsp]
	mov	rsi, r14
	cvtsi2ss	xmm2, DWORD PTR 16[rsp]
	pxor	xmm0, xmm0
	pxor	xmm1, xmm1
	mov	ecx, eax
	movss	xmm3, DWORD PTR 24[rsp]
	cvtsi2ss	xmm0, rdx
	mov	edx, DWORD PTR 36[rsp]
	mov	rdi, rbp
	cvtsi2ss	xmm1, DWORD PTR 12[rsp]
	mov	r8d, DWORD PTR 20[rsp]
	movss	DWORD PTR 8[rsp], xmm3
	mulss	xmm2, xmm3
	mov	DWORD PTR 12[rsp], r8d
	mulss	xmm1, xmm3
	divss	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	mov	rdx, r15
	divss	xmm1, xmm0
	addss	xmm2, DWORD PTR 4[rsp]
	movaps	xmm0, xmm3
	addss	xmm1, DWORD PTR [rsp]
	call	d3d10_font_render_message@PLT
	mov	r11d, DWORD PTR 28[rsp]
	mov	r8d, DWORD PTR 12[rsp]
	movss	xmm3, DWORD PTR 8[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_def_cfa_offset 112
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rcx
	mulss	xmm0, DWORD PTR 44[rsp]
	cvttss2si	rcx, xmm0
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	d3d10_font_render_msg, .-d3d10_font_render_msg
	.comm	TEXT_ALIGN_LEFT,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1050253722
	.align 4
.LC1:
	.long	1065353216
	.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_d3d10_font.c_d3d10_font_render_msg.c"
	.text
	.global	__aeabi_ui2f
	.global	__aeabi_fmul
	.global	__aeabi_f2uiz
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fadd
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d3d10_font_render_msg, %function
d3d10_font_render_msg:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	cmpne	r1, #0
	bxeq	lr
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	ldrb	r3, [r2]	@ zero_extendqisi2
	mov	r4, r2
	cmp	r3, #0
	sub	sp, sp, #60
	beq	.L1
	ldr	r3, [r0]
	cmp	r9, #0
	str	r3, [sp, #44]
	ldr	r3, [r0, #4]
	mov	r6, r1
	mov	r5, r0
	str	r3, [sp, #48]
	beq	.L3
	ldr	r3, [r9]	@ float
	ldr	r1, [r9, #28]	@ float
	str	r3, [sp, #20]	@ float
	ldr	r3, [r9, #4]	@ float
	ldr	r2, [r9, #20]
	str	r3, [sp, #24]	@ float
	ldr	r3, [r9, #12]
	ldr	r0, [r9, #32]
	str	r3, [sp, #16]
	ldr	r3, [r9, #16]
	str	r1, [sp, #52]	@ float
	str	r3, [sp, #28]
	str	r2, [sp, #32]
	ldr	r10, [r9, #8]	@ float
	ldr	fp, [r9, #24]	@ float
	bl	FONT_COLOR_GET_RED
	mov	r7, r0
	ldr	r0, [r9, #32]
	bl	FONT_COLOR_GET_GREEN
	mov	r8, r0
	ldr	r0, [r9, #32]
	bl	FONT_COLOR_GET_BLUE
	mov	r2, r0
	ldr	r0, [r9, #32]
	mov	r9, r2
	bl	FONT_COLOR_GET_ALPHA
	mov	r2, r9
	mov	r3, r0
	str	r0, [sp, #40]
	mov	r1, r8
	mov	r0, r7
	bl	DXGI_COLOR_RGBA
	ldr	r3, [sp, #28]
	ldr	r2, [sp, #32]
	str	r0, [sp, #36]
	orrs	r3, r3, r2
	ldr	r3, [sp, #40]
	bne	.L17
.L4:
	ldr	r3, [sp, #16]
	mov	r2, r4
	str	r3, [sp, #12]
	ldr	r3, [sp, #24]	@ float
	mov	r1, r6
	str	r3, [sp, #8]	@ float
	ldr	r3, [sp, #20]	@ float
	mov	r0, r5
	str	r3, [sp, #4]	@ float
	ldr	r3, [sp, #36]
	str	r3, [sp]
	mov	r3, r10
	bl	d3d10_font_render_message
.L1:
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	ldr	ip, .L18
	ldr	r2, [r0, #24]
	ldr	ip, [ip]
	ldr	r7, [r0, #16]
	str	ip, [sp, #16]
	ldr	ip, [r5, #8]	@ float
	ldr	r8, [r0, #20]
	str	ip, [sp, #20]	@ float
	ldr	ip, [r5, #12]	@ float
	rsb	r7, r7, r7, lsl #8
	str	ip, [sp, #24]	@ float
	mvn	ip, #1
	mov	r10, ip
	rsb	r8, r8, r8, lsl #8
	rsb	r9, r2, r2, lsl #8
	mov	r3, #255
	mov	r0, r7
	mov	r1, r8
	mov	r2, r9
	str	ip, [sp, #32]
	bl	DXGI_COLOR_RGBA
	str	r10, [sp, #28]
	mov	r3, #255
	mov	r10, #1065353216
	ldr	fp, .L18+4
	str	r0, [sp, #36]
.L5:
	mov	r0, r9
	str	r3, [sp, #40]
	bl	__aeabi_ui2f
	mov	r1, fp
	bl	__aeabi_fmul
	bl	__aeabi_f2uiz
	mov	r2, r0
	mov	r0, r8
	mov	r8, r2
	bl	__aeabi_ui2f
	mov	r1, fp
	bl	__aeabi_fmul
	bl	__aeabi_f2uiz
	mov	r2, r0
	mov	r0, r7
	mov	r7, r2
	bl	__aeabi_ui2f
	mov	r1, fp
	bl	__aeabi_fmul
	bl	__aeabi_f2uiz
	mov	r2, r8
	mov	r1, r7
	ldr	r3, [sp, #40]
	bl	DXGI_COLOR_RGBA
	ldr	r3, [sp, #16]
	mov	r7, r0
	ldr	r0, [sp, #32]
	str	r3, [sp, #12]
	bl	__aeabi_i2f
	mov	r1, r10
	bl	__aeabi_fmul
	mov	r8, r0
	ldr	r0, [sp, #48]
	bl	__aeabi_ui2f
	mov	r1, r0
	mov	r0, r8
	bl	__aeabi_fdiv
	ldr	r1, [sp, #24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r0, [sp, #28]
	str	r3, [sp, #8]	@ float
	bl	__aeabi_i2f
	mov	r1, r10
	bl	__aeabi_fmul
	mov	r8, r0
	ldr	r0, [sp, #44]
	bl	__aeabi_ui2f
	mov	r1, r0
	mov	r0, r8
	bl	__aeabi_fdiv
	ldr	r1, [sp, #20]	@ float
	bl	__aeabi_fadd
	mov	r3, r10
	str	r0, [sp, #4]	@ float
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	str	r7, [sp]
	bl	d3d10_font_render_message
	b	.L4
.L17:
	mov	r0, r3
	bl	__aeabi_ui2f
	ldr	r1, [sp, #52]	@ float
	bl	__aeabi_fmul
	bl	__aeabi_f2uiz
	mov	r3, r0
	b	.L5
.L19:
	.align	2
.L18:
	.word	TEXT_ALIGN_LEFT
	.word	1050253722
	.size	d3d10_font_render_msg, .-d3d10_font_render_msg
	.comm	TEXT_ALIGN_LEFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
