	.file	"extr_effect.c_d3dx9_parse_state.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Operation: %#x (%s)\n"
.LC1:
	.string	"Index: %#x\n"
.LC2:
	.string	"Typedef offset: %#x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Failed to parse type definition\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Value offset: %#x\n"
.LC5:
	.string	"Failed to parse value\n"
	.text
	.p2align 4
	.type	d3dx9_parse_state, @function
d3dx9_parse_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	rdi, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR ST_CONSTANT[rip]
	mov	DWORD PTR 12[rsi], eax
	call	read_dword@PLT
	movsx	rdx, DWORD PTR 0[rbp]
	mov	rax, QWORD PTR state_table[rip]
	lea	rdi, .LC0[rip]
	mov	rsi, rdx
	mov	edx, DWORD PTR [rax+rdx*4]
	xor	eax, eax
	call	TRACE@PLT
	lea	rsi, 4[rbp]
	mov	rdi, r15
	add	rbp, 8
	call	read_dword@PLT
	mov	esi, DWORD PTR -4[rbp]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	TRACE@PLT
	lea	r11, 28[rsp]
	mov	rdi, r15
	mov	rsi, r11
	mov	QWORD PTR 8[rsp], r11
	call	read_dword@PLT
	mov	esi, DWORD PTR 28[rsp]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	TRACE@PLT
	movsx	rax, DWORD PTR 28[rsp]
	xor	r9d, r9d
	xor	r8d, r8d
	lea	rcx, 32[rsp]
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	add	rax, r13
	mov	QWORD PTR 32[rsp], rax
	call	d3dx9_parse_effect_typedef@PLT
	cmp	QWORD PTR D3D_OK[rip], rax
	mov	r11, QWORD PTR 8[rsp]
	je	.L2
	lea	rdi, .LC3[rip]
	mov	r12, rax
	call	WARN@PLT
.L3:
	mov	esi, DWORD PTR FALSE[rip]
	mov	rdi, rbp
	mov	edx, esi
	call	free_parameter@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, r11
	mov	rdi, r15
	call	read_dword@PLT
	mov	esi, DWORD PTR 28[rsp]
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	TRACE@PLT
	movsx	rcx, DWORD PTR 28[rsp]
	mov	r8, rbx
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	add	rcx, r13
	call	d3dx9_parse_init_value@PLT
	cmp	QWORD PTR D3D_OK[rip], rax
	mov	r12, rax
	je	.L1
	lea	rdi, .LC5[rip]
	call	WARN@PLT
	jmp	.L3
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	d3dx9_parse_state, .-d3dx9_parse_state
	.comm	state_table,8,8
	.comm	ST_CONSTANT,4,4
	.comm	FALSE,4,4
	.comm	D3D_OK,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_effect.c_d3dx9_parse_state.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Operation: %#x (%s)\012\000"
	.align	2
.LC1:
	.ascii	"Index: %#x\012\000"
	.align	2
.LC2:
	.ascii	"Typedef offset: %#x\012\000"
	.align	2
.LC3:
	.ascii	"Failed to parse type definition\012\000"
	.align	2
.LC4:
	.ascii	"Value offset: %#x\012\000"
	.align	2
.LC5:
	.ascii	"Failed to parse value\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d3dx9_parse_state, %function
d3dx9_parse_state:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r3
	mov	r5, r1
	mov	r4, r1
	ldr	r3, .L9
	sub	sp, sp, #24
	ldr	r3, [r3]
	mov	r8, r0
	str	r3, [r1, #12]
	ldr	r3, .L9+4
	mov	r0, r6
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r9, [sp, #56]
	bl	read_dword
	ldr	r3, .L9+8
	ldr	r1, [r5], #4
	ldr	r3, [r3]
	ldr	r0, .L9+12
	ldr	r2, [r3, r1, lsl #2]
	bl	TRACE
	mov	r1, r5
	mov	r0, r6
	bl	read_dword
	ldr	r1, [r4, #4]
	ldr	r0, .L9+16
	bl	TRACE
	add	r1, sp, #12
	mov	r0, r6
	bl	read_dword
	ldr	r1, [sp, #12]
	ldr	r0, .L9+20
	bl	TRACE
	mov	r3, #0
	ldr	ip, [sp, #12]
	add	r4, r4, #8
	add	ip, r7, ip
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r1, r4
	add	r3, sp, #16
	mov	r2, r7
	mov	r0, r8
	str	ip, [sp, #16]
	bl	d3dx9_parse_effect_typedef
	ldr	r10, .L9+24
	ldr	r3, [r10]
	cmp	r3, r0
	beq	.L2
	mov	r5, r0
	ldr	r0, .L9+28
	bl	WARN
.L3:
	ldr	r3, .L9+32
	mov	r0, r4
	ldr	r2, [r3]
	mov	r1, r2
	bl	free_parameter
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	add	r1, sp, #12
	mov	r0, r6
	bl	read_dword
	ldr	r1, [sp, #12]
	ldr	r0, .L9+36
	bl	TRACE
	ldr	r3, [sp, #12]
	mov	r0, r8
	add	r3, r7, r3
	mov	r2, r7
	mov	r1, r4
	str	r9, [sp]
	bl	d3dx9_parse_init_value
	ldr	r3, [r10]
	mov	r5, r0
	cmp	r3, r0
	beq	.L1
	ldr	r0, .L9+40
	bl	WARN
	b	.L3
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	ST_CONSTANT
	.word	.LC6
	.word	state_table
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	D3D_OK
	.word	.LC3
	.word	FALSE
	.word	.LC4
	.word	.LC5
	.size	d3dx9_parse_state, .-d3dx9_parse_state
	.comm	state_table,4,4
	.comm	ST_CONSTANT,4,4
	.comm	FALSE,4,4
	.comm	D3D_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
