	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function d3d9_set_font_rect
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0xc0000000                      ## float -2
	.long	0xc0000000                      ## float -2
	.long	0x40000000                      ## float 2
	.long	0x40000000                      ## float 2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_d3d9_set_font_rect:                    ## @d3d9_set_font_rect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movss	8(%rax), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	mulss	8(%r14), %xmm0
	movq	%r14, %rcx
	addq	$4, %rcx
	movq	%r14, %rax
	testq	%rbx, %rbx
	je	LBB0_5
LBB0_4:
	movss	32(%rbx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movss	36(%rbx), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	movss	(%rax), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	subss	(%rcx), %xmm4
	movss	%xmm3, 16(%rbx)
	movss	%xmm1, 20(%rbx)
	mulss	%xmm2, %xmm4
	subss	%xmm0, %xmm4
	movss	%xmm4, 24(%rbx)
	movss	%xmm2, 28(%rbx)
	movups	16(%rbx), %xmm0
	movups	%xmm0, (%rbx)
	movups	(%rbx), %xmm0
	addps	LCPI0_1(%rip), %xmm0
	movups	%xmm0, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rax, %rcx
	addq	$4, %rcx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_d3d9_set_font_rect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function d3d9_set_font_rect
lCPI0_0:
	.long	0xc0000000                      ; float -2
	.long	0xc0000000                      ; float -2
	.long	0x40000000                      ; float 2
	.long	0x40000000                      ; float 2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_d3d9_set_font_rect:                    ; @d3d9_set_font_rect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_config_get_ptr
	ldr	s0, [x0, #8]
	cbz	x20, LBB0_4
; %bb.1:
	add	x8, x20, #4
	ldr	s1, [x20, #8]
	fmul	s0, s0, s1
	mov	x0, x20
	cbz	x19, LBB0_3
LBB0_2:
	ldr	s1, [x8]
	ldr	s2, [x0]
	ldp	s3, s4, [x19, #32]
	fmul	s2, s2, s3
	str	s2, [x19, #16]
	str	s3, [x19, #20]
	fmov	s2, #1.00000000
	fsub	s1, s2, s1
	fnmsub	s0, s1, s4, s0
	str	s0, [x19, #24]
	str	s4, [x19, #28]
	ldr	q0, [x19, #16]
	str	q0, [x19]
	ldr	q0, [x19]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	fadd.4s	v0, v0, v1
	str	q0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x8, x0, #4
	cbnz	x19, LBB0_2
	b	LBB0_3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_d3d9_set_font_rect
.subsections_via_symbols
