	.file	"extr_effect.c_d3dx9_base_effect_set_matrix_pointer_array.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unhandled class %s\n"
.LC1:
	.string	"Parameter not found.\n"
	.text
	.p2align 4
	.type	d3dx9_base_effect_set_matrix_pointer_array, @function
d3dx9_base_effect_set_matrix_pointer_array:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	get_valid_parameter@PLT
	test	rax, rax
	je	.L2
	mov	rbx, rax
	cmp	QWORD PTR [rax], r13
	jl	.L2
	mov	edi, DWORD PTR 8[rax]
	cmp	edi, 130
	jg	.L3
	cmp	edi, 127
	jg	.L2
.L4:
	call	debug_d3dxparameter_class@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	FIXME@PLT
.L2:
	lea	rdi, .LC1[rip]
	call	WARN@PLT
	mov	eax, DWORD PTR D3DERR_INVALIDCALL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	edi, 131
	jne	.L4
	mov	rdi, rax
	call	set_dirty@PLT
	test	r13, r13
	jle	.L5
	sal	r13, 2
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, QWORD PTR 16[rbx]
	mov	rsi, QWORD PTR [r12+rbp*2]
	add	rdi, rbp
	add	rbp, 4
	call	set_matrix@PLT
	cmp	r13, rbp
	jne	.L6
.L5:
	mov	eax, DWORD PTR D3D_OK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	d3dx9_base_effect_set_matrix_pointer_array, .-d3dx9_base_effect_set_matrix_pointer_array
	.comm	D3D_OK,4,4
	.comm	D3DERR_INVALIDCALL,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_effect.c_d3dx9_base_effect_set_matrix_pointer_array.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unhandled class %s\012\000"
	.align	2
.LC1:
	.ascii	"Parameter not found.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d3dx9_base_effect_set_matrix_pointer_array, %function
d3dx9_base_effect_set_matrix_pointer_array:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r5, r3
	bl	get_valid_parameter
	subs	r4, r0, #0
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, r5
	blt	.L2
	ldr	r3, [r4, #4]
	cmp	r3, #130
	bgt	.L3
	cmp	r3, #127
	bgt	.L2
.L4:
	mov	r0, r3
	bl	debug_d3dxparameter_class
	mov	r1, r0
	ldr	r0, .L14
	bl	FIXME
.L2:
	ldr	r0, .L14+4
	bl	WARN
	ldr	r3, .L14+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	cmp	r3, #131
	bne	.L4
	bl	set_dirty
	cmp	r5, #0
	ble	.L5
	sub	r6, r7, #4
	add	r5, r6, r5, lsl #2
	rsb	r7, r7, #4
.L6:
	ldr	r0, [r4, #8]
	add	r3, r7, r6
	ldr	r1, [r6, #4]!
	add	r0, r0, r3
	bl	set_matrix
	cmp	r6, r5
	bne	.L6
.L5:
	ldr	r3, .L14+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.word	D3DERR_INVALIDCALL
	.word	D3D_OK
	.size	d3dx9_base_effect_set_matrix_pointer_array, .-d3dx9_base_effect_set_matrix_pointer_array
	.comm	D3D_OK,4,4
	.comm	D3DERR_INVALIDCALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
