	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function d3d11_font_render_msg
LCPI0_0:
	.long	0x437f0000                      ## float 255
LCPI0_1:
	.long	0x3e99999a                      ## float 0.300000012
LCPI0_2:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_d3d11_font_render_msg:                 ## @d3d11_font_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_10
## %bb.1:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.2:
	cmpb	$0, (%r12)
	je	LBB0_10
## %bb.3:
	movq	%rcx, %r13
	movq	%rsi, %r15
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	testq	%r13, %r13
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	je	LBB0_4
## %bb.5:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movss	(%r13), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	4(%r13), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movss	8(%r13), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	12(%r13), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	20(%r13), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movss	24(%r13), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -80(%rbp)                ## 4-byte Spill
	movss	28(%r13), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -72(%rbp)                ## 4-byte Spill
	movl	32(%r13), %edi
	callq	_FONT_COLOR_GET_RED
	movl	%eax, %r14d
	movl	32(%r13), %edi
	callq	_FONT_COLOR_GET_GREEN
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	32(%r13), %edi
	callq	_FONT_COLOR_GET_BLUE
	movl	%eax, %r15d
	movl	32(%r13), %edi
	callq	_FONT_COLOR_GET_ALPHA
	movl	%eax, %ebx
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_DXGI_COLOR_RGBA
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %ecx
	movl	%esi, %eax
	orl	%edx, %eax
	je	LBB0_6
## %bb.7:
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	movss	-80(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	movl	%r15d, %ebx
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movss	-72(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	jmp	LBB0_8
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movss	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movss	12(%rdi), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	_TEXT_ALIGN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	16(%rdi), %eax
	movl	%eax, %r13d
	shll	$8, %r13d
	subl	%eax, %r13d
	movl	20(%rdi), %eax
	movl	%eax, %r14d
	shll	$8, %r14d
	subl	%eax, %r14d
	movl	24(%rdi), %eax
	movl	%eax, %ebx
	shll	$8, %ebx
	subl	%eax, %ebx
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$255, %ecx
	callq	_DXGI_COLOR_RGBA
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$-2, -64(%rbp)                  ## 4-byte Folded Spill
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	LCPI0_2(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movss	%xmm3, -44(%rbp)                ## 4-byte Spill
	movl	$-2, -60(%rbp)                  ## 4-byte Folded Spill
LBB0_8:
	movl	%r13d, %eax
	cvtsi2ss	%rax, %xmm1
	mulss	%xmm0, %xmm3
	mulss	%xmm2, %xmm1
	cvttss2si	%xmm1, %rdi
	movl	%r14d, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	%xmm2, %xmm0
	cvttss2si	%xmm0, %rsi
	movl	%ebx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	%xmm2, %xmm0
	cvttss2si	%xmm0, %rdx
	cvttss2si	%xmm3, %rcx
                                        ## 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
	callq	_DXGI_COLOR_RGBA
	xorps	%xmm1, %xmm1
	cvtsi2ssl	-64(%rbp), %xmm1        ## 4-byte Folded Reload
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rcx, %xmm2
	divss	%xmm2, %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2ssl	-60(%rbp), %xmm2        ## 4-byte Folded Reload
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	xorps	%xmm3, %xmm3
	cvtsi2ss	%rcx, %xmm3
	addss	-52(%rbp), %xmm1                ## 4-byte Folded Reload
	mulss	%xmm0, %xmm2
	divss	%xmm3, %xmm2
	addss	-48(%rbp), %xmm2                ## 4-byte Folded Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_d3d11_font_render_message
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %rdi
	jmp	LBB0_9
LBB0_6:
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
LBB0_9:
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %r8d
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_d3d11_font_render_message      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TEXT_ALIGN_LEFT,4,2            ## @TEXT_ALIGN_LEFT
	.no_dead_strip	_d3d11_font_render_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3d11_font_render_msg
_d3d11_font_render_msg:                 ; @d3d11_font_render_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_6
; %bb.2:
	ldrb	w8, [x19]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x23, x3
	mov	x20, x1
	mov	x21, x0
	ldp	w9, w8, [x0]
	stp	w9, w8, [sp, #8]                ; 8-byte Folded Spill
	cbz	x3, LBB0_7
; %bb.4:
	ldp	s8, s9, [x23]
	ldr	s10, [x23, #8]
	ldp	w8, w28, [x23, #12]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w22, [x23, #20]
	ldp	s11, s12, [x23, #24]
	ldr	w0, [x23, #32]
	bl	_FONT_COLOR_GET_RED
	mov	x24, x0
	ldr	w0, [x23, #32]
	bl	_FONT_COLOR_GET_GREEN
	mov	x25, x0
	ldr	w0, [x23, #32]
	bl	_FONT_COLOR_GET_BLUE
	mov	x26, x0
	ldr	w0, [x23, #32]
	bl	_FONT_COLOR_GET_ALPHA
	mov	x27, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	bl	_DXGI_COLOR_RGBA
	mov	x23, x0
	orr	w8, w28, w22
	cbz	w8, LBB0_9
; %bb.5:
	ucvtf	s0, w27
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_8
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_7:
	ldp	s8, s9, [x21, #8]
Lloh0:
	adrp	x8, _TEXT_ALIGN_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEXT_ALIGN_LEFT@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	ldp	w8, w9, [x21, #16]
	lsl	w10, w8, #8
	sub	w24, w10, w8
	lsl	w8, w9, #8
	sub	w25, w8, w9
	ldr	w8, [x21, #24]
	lsl	w9, w8, #8
	sub	w26, w9, w8
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	w3, #255
	bl	_DXGI_COLOR_RGBA
	mov	x23, x0
	mov	w28, #-2
	fmov	s10, #1.00000000
	mov	w8, #1132396544
	fmov	s0, w8
	mov	w8, #39322
	movk	w8, #16025, lsl #16
	fmov	s11, w8
	fmov	s12, #1.00000000
	mov	w22, #-2
LBB0_8:
	ucvtf	s1, w24
	fmul	s1, s11, s1
	fcvtzu	w0, s1
	ucvtf	s1, w25
	fmul	s1, s11, s1
	fcvtzu	w1, s1
	ucvtf	s1, w26
	fmul	s1, s11, s1
	fcvtzu	w2, s1
	fmul	s0, s12, s0
	fcvtzu	w3, s0
	bl	_DXGI_COLOR_RGBA
	mov	x3, x0
	scvtf	s0, w28
	fmul	s0, s10, s0
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	ucvtf	s1, w8
	fdiv	s0, s0, s1
	scvtf	s2, w22
	fadd	s1, s8, s0
	fmul	s0, s10, s2
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	ucvtf	s2, w8
	fdiv	s0, s0, s2
	fadd	s2, s9, s0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	fmov	s0, s10
	mov	x4, x27
	bl	_d3d11_font_render_message
	b	LBB0_10
LBB0_9:
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	fmov	s0, s10
	mov	x3, x23
	fmov	s1, s8
	fmov	s2, s9
	mov	x4, x27
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_d3d11_font_render_message
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TEXT_ALIGN_LEFT,4,2            ; @TEXT_ALIGN_LEFT
	.no_dead_strip	_d3d11_font_render_msg
.subsections_via_symbols
