	.file	"extr_glsl_shader.c_glsl_vertex_pipe_viewport.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	glsl_vertex_pipe_viewport, @function
glsl_vertex_pipe_viewport:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR WINED3D_TS_PROJECTION[rip]
	call	STATE_TRANSFORM@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	isStateDirty@PLT
	test	eax, eax
	je	.L7
.L2:
	mov	rdi, QWORD PTR WINED3D_RS_POINTSCALEENABLE[rip]
	call	STATE_RENDER@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	isStateDirty@PLT
	test	eax, eax
	mov	eax, DWORD PTR [rbx]
	jne	.L4
	mov	rdx, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR WINED3D_RS_POINTSCALEENABLE[rip]
	cmp	QWORD PTR [rdx+rcx*8], 0
	je	.L4
	or	eax, DWORD PTR WINED3D_SHADER_CONST_VS_POINTSIZE[rip]
	mov	DWORD PTR [rbx], eax
.L4:
	or	eax, DWORD PTR WINED3D_SHADER_CONST_POS_FIXUP[rip]
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR WINED3D_TS_PROJECTION[rip]
	call	STATE_TRANSFORM@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	mov	edx, eax
	call	glsl_vertex_pipe_projection@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	glsl_vertex_pipe_viewport, .-glsl_vertex_pipe_viewport
	.comm	WINED3D_TS_PROJECTION,4,4
	.comm	WINED3D_SHADER_CONST_VS_POINTSIZE,4,4
	.comm	WINED3D_SHADER_CONST_POS_FIXUP,4,4
	.comm	WINED3D_RS_POINTSCALEENABLE,8,8
	.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_glsl_shader.c_glsl_vertex_pipe_viewport.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	glsl_vertex_pipe_viewport, %function
glsl_vertex_pipe_viewport:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L11
	mov	r4, r0
	ldr	r0, [r5]
	mov	r6, r1
	bl	STATE_TRANSFORM
	mov	r1, r0
	mov	r0, r4
	bl	isStateDirty
	cmp	r0, #0
	beq	.L10
.L2:
	ldr	r5, .L11+4
	ldr	r0, [r5]
	bl	STATE_RENDER
	mov	r1, r0
	mov	r0, r4
	bl	isStateDirty
	cmp	r0, #0
	beq	.L3
	ldr	r2, [r4]
.L4:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	orr	r3, r3, r2
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r1, [r5]
	ldr	r3, [r6]
	ldr	r2, [r4]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r3, #0
	ldrne	r3, .L11+12
	ldrne	r3, [r3]
	orrne	r2, r2, r3
	strne	r2, [r4]
	b	.L4
.L10:
	ldr	r0, [r5]
	bl	STATE_TRANSFORM
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	glsl_vertex_pipe_projection
	b	.L2
.L12:
	.align	2
.L11:
	.word	WINED3D_TS_PROJECTION
	.word	WINED3D_RS_POINTSCALEENABLE
	.word	WINED3D_SHADER_CONST_POS_FIXUP
	.word	WINED3D_SHADER_CONST_VS_POINTSIZE
	.size	glsl_vertex_pipe_viewport, .-glsl_vertex_pipe_viewport
	.comm	WINED3D_TS_PROJECTION,4,4
	.comm	WINED3D_SHADER_CONST_VS_POINTSIZE,4,4
	.comm	WINED3D_SHADER_CONST_POS_FIXUP,4,4
	.comm	WINED3D_RS_POINTSCALEENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
