	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function d3dfonts_w32_render_msg
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0x3e99999a                      ## float 0.300000012
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_d3dfonts_w32_render_msg:               ## @d3dfonts_w32_render_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.2:
	movq	%rsi, %r15
	movq	8(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.3:
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.4:
	movl	(%rdi), %r12d
	movl	4(%rdi), %r13d
	movl	32(%rbx), %edi
	callq	_FONT_COLOR_GET_ALPHA
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	callq	_FONT_COLOR_GET_RED
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	callq	_FONT_COLOR_GET_GREEN
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	callq	_FONT_COLOR_GET_BLUE
	movl	%eax, %r8d
	movl	(%rbx), %eax
	cmpl	$130, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.6:
	movq	_DT_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, -72(%rbp)
	imull	4(%rbx), %r12d
	jmp	LBB0_9
LBB0_12:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rax
	addq	$16, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_DT_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%rdi), %eax
	movl	12(%rdi), %ecx
	movl	%eax, %esi
	shll	$8, %esi
	subl	%eax, %esi
	movl	%ecx, %r13d
	shll	$8, %r13d
	subl	%ecx, %r13d
	movl	16(%rdi), %eax
	movl	%eax, %r8d
	shll	$8, %r8d
	subl	%eax, %r8d
	movl	$255, -48(%rbp)                 ## 4-byte Folded Spill
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_13
LBB0_7:
	movq	_DT_CENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %eax
	cvtsi2sd	%rax, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movl	%r12d, %eax
	cvtsi2sd	%rax, %xmm2
	mulsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %rax
	addsd	LCPI0_1(%rip), %xmm0
	movl	%eax, -72(%rbp)
	mulsd	%xmm2, %xmm0
	cvttsd2si	%xmm0, %r12
	jmp	LBB0_9
LBB0_8:
	movq	_DT_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %eax
	imull	%r12d, %eax
	movl	%eax, -72(%rbp)
LBB0_9:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, -68(%rbp)
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	subsd	8(%rbx), %xmm0
	movl	%r13d, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
	mulsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%r15), %xmm0
	subsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, -64(%rbp)
	movl	%r13d, -60(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, %rcx
	shrq	$32, %rcx
	orl	%eax, %ecx
	je	LBB0_10
## %bb.11:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %xmm0
	leaq	-96(%rbp), %r12
	pshufd	$80, %xmm0, %xmm2               ## xmm2 = xmm0[0,0,1,1]
	movss	24(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	28(%rbx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movq	-72(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	-64(%rbp), %eax
	movl	%eax, -88(%rbp)
	movl	-60(%rbp), %eax
	movl	%eax, -84(%rbp)
	movdqa	-96(%rbp), %xmm3
	movdqa	%xmm3, %xmm4
	paddd	%xmm2, %xmm4
	psubd	%xmm2, %xmm3
	pblendw	$15, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,2,3],xmm3[4,5,6,7]
	movdqa	%xmm3, -96(%rbp)
	leaq	-72(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_13:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rax, %xmm2
	mulss	%xmm1, %xmm2
	cvttss2si	%xmm2, %rdi
	movl	%esi, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	mulss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rsi
	movl	%r13d, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	mulss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rdx
	movl	%r8d, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	mulss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rcx
	movl	4(%r15), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r8d, %r14d
	callq	_D3DCOLOR_ARGB
	movl	%eax, (%rsp)
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movl	$-1, %ecx
	movq	%r12, %r8
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r9d
	callq	_d3d9x_font_draw_text
	movl	%r14d, %r8d
	movq	%rbx, %r14
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_10:
	leaq	-72(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_14:
	movl	4(%r15), %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r8d, %ecx
	callq	_D3DCOLOR_ARGB
	movl	%eax, (%rsp)
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	$-1, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	%r12d, %r9d
	callq	_d3d9x_font_draw_text
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_LEFT,4,2                    ## @DT_LEFT
	.comm	_DT_RIGHT,4,2                   ## @DT_RIGHT
	.comm	_DT_CENTER,4,2                  ## @DT_CENTER
	.no_dead_strip	_d3dfonts_w32_render_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3dfonts_w32_render_msg
_d3dfonts_w32_render_msg:               ; @d3dfonts_w32_render_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_15
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_15
; %bb.2:
	mov	x20, x1
	ldr	x27, [x1, #8]
	cbz	x27, LBB0_15
; %bb.3:
	mov	x26, x3
	cbz	x3, LBB0_7
; %bb.4:
	ldp	w28, w27, [x0]
	ldr	w0, [x26, #32]
	bl	_FONT_COLOR_GET_ALPHA
	mov	x22, x0
	ldr	w0, [x26, #32]
	bl	_FONT_COLOR_GET_RED
	mov	x21, x0
	ldr	w0, [x26, #32]
	bl	_FONT_COLOR_GET_GREEN
	mov	x23, x0
	ldr	w0, [x26, #32]
	bl	_FONT_COLOR_GET_BLUE
	mov	x25, x0
	ldr	w8, [x26]
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.6:
Lloh0:
	adrp	x8, _DT_RIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DT_RIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	str	wzr, [sp, #16]
	ldr	w8, [x26, #4]
	mul	w28, w8, w28
	b	LBB0_10
LBB0_7:
	add	x26, x27, #16
Lloh3:
	adrp	x8, _DT_LEFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DT_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	ldp	w8, w9, [x0, #8]
	lsl	w10, w8, #8
	sub	w21, w10, w8
	lsl	w8, w9, #8
	sub	w23, w8, w9
	ldr	w8, [x0, #16]
	lsl	w9, w8, #8
	sub	w25, w9, w8
	mov	w22, #255
	fmov	s1, #1.00000000
	mov	w8, #39322
	movk	w8, #16025, lsl #16
	fmov	s0, w8
	b	LBB0_12
LBB0_8:
Lloh6:
	adrp	x8, _DT_CENTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DT_CENTER@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	ldr	s0, [x26, #4]
	ucvtf	d0, d0
	fmov	d1, #-1.00000000
	fadd	d1, d0, d1
	ucvtf	d2, w28
	fmul	d1, d1, d2
	fcvtzu	w8, d1
	str	w8, [sp, #16]
	fmov	d1, #1.00000000
	fadd	d0, d0, d1
	fmul	d0, d0, d2
	fcvtzu	w28, d0
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, _DT_LEFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DT_LEFT@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
	ldr	w8, [x26, #4]
	mul	w8, w8, w28
	str	w8, [sp, #16]
LBB0_10:
	fmov	d1, #1.00000000
	ldp	d2, d0, [x26, #8]
	fsub	d1, d1, d2
	ucvtf	d2, w27
	ldr	s3, [x20]
	sshll.2d	v3, v3, #0
	scvtf	d3, d3
	fnmsub	d1, d1, d2, d3
	fcvtzs	w8, d1
	stp	w28, w8, [sp, #20]
	str	w27, [sp, #28]
	fmov	w8, s0
	mov.s	w9, v0[1]
	orr	w8, w8, w9
	cbz	w8, LBB0_13
; %bb.11:
	mov	x27, sp
	zip1.4s	v2, v0, v0
	ldp	s0, s1, [x26, #24]
	ldr	q3, [sp, #16]
	str	q3, [sp]
	ldr	q3, [sp]
	add.4s	v4, v3, v2
	sub.4s	v2, v3, v2
	mov.d	v4[1], v2[1]
	str	q4, [sp]
	add	x26, sp, #16
LBB0_12:
	ucvtf	s2, w22
	fmul	s1, s1, s2
	fcvtzu	w0, s1
	ucvtf	s1, w21
	fmul	s1, s0, s1
	fcvtzu	w1, s1
	ucvtf	s1, w23
	fmul	s1, s0, s1
	fcvtzu	w2, s1
	ucvtf	s1, w25
	fmul	s0, s0, s1
	fcvtzu	w3, s0
	ldr	w28, [x20, #4]
	bl	_D3DCOLOR_ARGB
	mov	x6, x0
	mov	x0, x28
	mov	x1, #0
	mov	x2, x19
	mov	w3, #-1
	mov	x4, x27
	mov	x5, x24
	bl	_d3d9x_font_draw_text
	b	LBB0_14
LBB0_13:
	add	x26, sp, #16
LBB0_14:
	ldr	w20, [x20, #4]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x25
	bl	_D3DCOLOR_ARGB
	mov	x6, x0
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	mov	w3, #-1
	mov	x4, x26
	mov	x5, x24
	bl	_d3d9x_font_draw_text
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_LEFT,4,2                    ; @DT_LEFT
	.comm	_DT_RIGHT,4,2                   ; @DT_RIGHT
	.comm	_DT_CENTER,4,2                  ; @DT_CENTER
	.no_dead_strip	_d3dfonts_w32_render_msg
.subsections_via_symbols
