	.file	"extr_glsl_shader.c_set_glsl_compute_shader_program.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Compute shader is NULL.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Failed to find GLSL program for compute shader %p.\n"
	.text
	.p2align 4
	.type	set_glsl_compute_shader_program, @function
set_glsl_compute_shader_program:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR WINED3D_SHADER_TYPE_COMPUTE[rip]
	bt	edx, eax
	jnc	.L1
	mov	rdx, QWORD PTR [rsi]
	mov	r12, rcx
	mov	r13, QWORD PTR [rdx+rax*8]
	test	r13, r13
	je	.L12
	mov	rsi, rbp
	mov	rdx, r13
	lea	r14, 4[rsp]
	call	find_glsl_compute_shader@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, r14
	mov	ebx, eax
	call	memset@PLT
	mov	rdi, rbp
	mov	rsi, r14
	mov	DWORD PTR 4[rsp], ebx
	call	get_glsl_program_entry@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L13
.L4:
	mov	QWORD PTR [r12], rbp
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rsi, r13
	lea	rdi, .LC1[rip]
	call	ERR@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC0[rip]
	call	WARN@PLT
	mov	QWORD PTR [r12], 0
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_glsl_compute_shader_program, .-set_glsl_compute_shader_program
	.comm	WINED3D_SHADER_TYPE_COMPUTE,4,4
	.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_set_glsl_compute_shader_program.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Compute shader is NULL.\012\000"
	.align	2
.LC1:
	.ascii	"Failed to find GLSL program for compute shader %p.\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_glsl_compute_shader_program, %function
set_glsl_compute_shader_program:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	lr, .L15
	ldr	ip, [r0]
	ldr	lr, [lr]
	mov	r5, r3
	lsr	ip, ip, lr
	ldr	r3, .L15+4
	sub	sp, sp, #8
	tst	ip, #1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L1
	ldr	r3, [r1]
	ldr	r6, [r3, lr, lsl #2]
	cmp	r6, #0
	beq	.L12
	mov	r4, r2
	mov	r2, r6
	mov	r1, r4
	bl	find_glsl_compute_shader
	mov	r3, r0
	mov	r1, sp
	mov	r0, r4
	str	r3, [sp]
	bl	get_glsl_program_entry
	subs	r4, r0, #0
	beq	.L13
.L4:
	str	r4, [r5]
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	mov	r1, r6
	ldr	r0, .L15+8
	bl	ERR
	b	.L4
.L12:
	ldr	r0, .L15+12
	bl	WARN
	str	r6, [r5]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	WINED3D_SHADER_TYPE_COMPUTE
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	set_glsl_compute_shader_program, .-set_glsl_compute_shader_program
	.comm	WINED3D_SHADER_TYPE_COMPUTE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
