	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3dx9_parse_effect_typedef
_d3dx9_parse_effect_typedef:            ## @d3dx9_parse_effect_typedef
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r9, (%rsi)
	testq	%r8, %r8
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	je	LBB0_9
## %bb.1:
	movq	56(%rbx), %rax
	movq	%rax, 56(%r15)
	movl	8(%rbx), %eax
	movl	%eax, 8(%r15)
	movups	32(%rbx), %xmm0
	movups	%xmm0, 32(%r15)
	movl	$0, 12(%r15)
	movups	16(%rbx), %xmm0
	movups	%xmm0, 16(%r15)
LBB0_2:
	cmpl	$0, 12(%r15)
	je	LBB0_14
## %bb.3:
	movq	(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	12(%r15), %edx
	shll	$6, %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_22
## %bb.4:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	cmpl	$0, 12(%r15)
	je	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	48(%r15), %rdi
	addq	%rbx, %rdi
	callq	_param_set_magic_number
	movq	48(%r15), %rsi
	addq	%rbx, %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	callq	_d3dx9_parse_effect_typedef
	movq	%rax, %r14
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_25
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	48(%r15), %rax
	addl	24(%rax,%rbx), %r12d
	incq	%r13
	movslq	12(%r15), %rax
	addq	$64, %rbx
	cmpq	%rax, %r13
	jb	LBB0_6
LBB0_8:
	movl	%r12d, 24(%r15)
	jmp	LBB0_20
LBB0_9:
	leaq	56(%r15), %rsi
	movq	%r13, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	callq	_read_dword
	movq	56(%r15), %rdi
	callq	_debug_d3dxparameter_type
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	leaq	8(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	8(%r15), %edi
	callq	_debug_d3dxparameter_class
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	leaq	-44(%rbp), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	-44(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_TRACE
	leaq	40(%r15), %rdi
	movslq	-44(%rbp), %rsi
	addq	%r14, %rsi
	callq	_d3dx9_parse_name
	movq	%r14, %r12
	movq	%rax, %r14
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_21
## %bb.10:
	leaq	-44(%rbp), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	-44(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_TRACE
	leaq	32(%r15), %rdi
	movslq	-44(%rbp), %rsi
	addq	%r12, %rsi
	callq	_d3dx9_parse_name
	movq	%rax, %r14
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_23
## %bb.11:
	leaq	12(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	12(%r15), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_TRACE
	movl	8(%r15), %edi
	leal	-141(%rdi), %eax
	cmpl	$5, %eax
	ja	LBB0_41
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmpq	*%rax
LBB0_13:
	leaq	20(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	20(%r15), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_TRACE
	leaq	16(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	16(%r15), %esi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_43
LBB0_14:
	cmpl	$0, 28(%r15)
	je	LBB0_20
## %bb.15:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	28(%r15), %edx
	shll	$6, %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_26
## %bb.16:
	cmpl	$0, 28(%r15)
	je	LBB0_20
## %bb.17:
	movq	%rax, %rdi
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	addq	%rbx, %rdi
	callq	_param_set_magic_number
	movq	48(%r15), %rsi
	addq	%rbx, %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	callq	_d3dx9_parse_effect_typedef
	movq	%rax, %r14
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	48(%r15), %rdi
	movl	24(%rdi,%rbx), %eax
	addl	%eax, 24(%r15)
	incq	%r12
	movslq	28(%r15), %rax
	addq	$64, %rbx
	cmpq	%rax, %r12
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jb	LBB0_18
LBB0_20:
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_40
LBB0_21:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_24
LBB0_22:
	leaq	L_.str.12(%rip), %rdi
	callq	_ERR
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_30
LBB0_23:
	leaq	L_.str.5(%rip), %rdi
LBB0_24:
	xorl	%eax, %eax
	callq	_WARN
	jmp	LBB0_30
LBB0_25:
	leaq	L_.str.13(%rip), %rdi
	movq	%r13, %rsi
	jmp	LBB0_28
LBB0_26:
	leaq	L_.str.12(%rip), %rdi
	callq	_ERR
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_29
LBB0_27:
	leaq	L_.str.13(%rip), %rdi
	movq	%r12, %rsi
LBB0_28:
	xorl	%eax, %eax
	callq	_WARN
LBB0_29:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_30:
	movq	48(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.31:
	movl	12(%r15), %eax
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_33
## %bb.32:
	movl	28(%r15), %ebx
	testl	%ebx, %ebx
	je	LBB0_36
LBB0_33:
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_free_parameter
	cmpl	$1, %ebx
	je	LBB0_36
## %bb.34:
	movl	%ebx, %r13d
	decq	%r13
	movl	$64, %ebx
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	cmpl	$0, 12(%r15)
	setne	%sil
	movl	(%r12), %edx
	callq	_free_parameter
	addq	$64, %rbx
	decq	%r13
	jne	LBB0_35
LBB0_36:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	48(%r15), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	$0, 48(%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_37:
	testq	%rbx, %rbx
	jne	LBB0_39
## %bb.38:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	40(%r15), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	32(%r15), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
LBB0_39:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
LBB0_40:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_debug_d3dxparameter_class
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_42:
	leaq	16(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	16(%r15), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_TRACE
	leaq	20(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	20(%r15), %esi
	leaq	L_.str.8(%rip), %rdi
LBB0_43:
	callq	_TRACE
	movl	20(%r15), %eax
	imull	16(%r15), %eax
	shll	$2, %eax
	movl	%eax, 24(%r15)
	jmp	LBB0_2
LBB0_44:
	leaq	28(%r15), %rsi
	movq	%r13, %rdi
	callq	_read_dword
	movl	28(%r15), %esi
	leaq	L_.str.9(%rip), %rdi
	callq	_TRACE
	jmp	LBB0_2
LBB0_45:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	-128(%rdi), %rax
	cmpq	$12, %rax
	ja	LBB0_49
## %bb.46:
	movl	$4223, %ecx                     ## imm = 0x107F
	btq	%rax, %rcx
	jae	LBB0_48
## %bb.47:
	movl	$8, 24(%r15)
	jmp	LBB0_2
LBB0_48:
	movl	$0, 24(%r15)
	jmp	LBB0_2
LBB0_49:
	callq	_debug_d3dxparameter_type
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	jmp	LBB0_2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
LJTI0_0:
	.long	L0_0_set_42
	.long	L0_0_set_44
	.long	L0_0_set_13
	.long	L0_0_set_45
	.long	L0_0_set_13
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Type: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Class: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Type name offset: %#x\n"

	.comm	_D3D_OK,8,3                     ## @D3D_OK
L_.str.3:                               ## @.str.3
	.asciz	"Failed to parse name\n"

L_.str.4:                               ## @.str.4
	.asciz	"Type semantic offset: %#x\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to parse semantic\n"

L_.str.6:                               ## @.str.6
	.asciz	"Elements: %u\n"

L_.str.7:                               ## @.str.7
	.asciz	"Columns: %u\n"

L_.str.8:                               ## @.str.8
	.asciz	"Rows: %u\n"

L_.str.9:                               ## @.str.9
	.asciz	"Members: %u\n"

L_.str.10:                              ## @.str.10
	.asciz	"Unhandled type %s\n"

L_.str.11:                              ## @.str.11
	.asciz	"Unhandled class %s\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
L_.str.12:                              ## @.str.12
	.asciz	"Out of memory\n"

	.comm	_E_OUTOFMEMORY,8,3              ## @E_OUTOFMEMORY
L_.str.13:                              ## @.str.13
	.asciz	"Failed to parse member %u\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_d3dx9_parse_effect_typedef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3dx9_parse_effect_typedef
_d3dx9_parse_effect_typedef:            ; @d3dx9_parse_effect_typedef
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x27, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	str	x5, [x1]
	cbz	x4, LBB0_9
; %bb.1:
	ldr	x8, [x27, #56]
	str	x8, [x19, #56]
	ldr	w8, [x27, #8]
	ldp	x10, x9, [x27, #32]
	stp	x10, x9, [x19, #32]
	stp	w8, wzr, [x19, #8]
	ldr	q0, [x27, #16]
	str	q0, [x19, #16]
LBB0_2:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_14
; %bb.3:
	ldr	x26, [x22]
	bl	_GetProcessHeap
Lloh0:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w8, [x19, #12]
	lsl	w2, w8, #6
	bl	_HeapAlloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_20
; %bb.4:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_22
; %bb.5:
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	mov	x20, #0
	mov	w27, #0
	mov	x28, #0
Lloh3:
	adrp	x24, _D3D_OK@GOTPAGE
Lloh4:
	ldr	x24, [x24, _D3D_OK@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	x26, [x22]
	ldr	x8, [x19, #48]
	add	x0, x8, x20
	bl	_param_set_magic_number
	ldr	x8, [x19, #48]
	add	x1, x8, x20
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x23
	mov	x3, x22
	mov	x4, x19
	mov	x5, x21
	bl	_d3dx9_parse_effect_typedef
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #48]
	add	x8, x8, x20
	ldr	w8, [x8, #24]
	add	w27, w8, w27
	add	x28, x28, #1
	ldrsw	x8, [x19, #12]
	add	x20, x20, #64
	cmp	x28, x8
	b.lo	LBB0_6
; %bb.8:
	str	w27, [x19, #24]
	b	LBB0_23
LBB0_9:
	add	x26, x19, #56
	mov	x0, x22
	mov	x1, x26
	bl	_read_dword
	ldr	x0, [x19, #56]
	bl	_debug_d3dxparameter_type
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	add	x1, x19, #8
	mov	x0, x22
	bl	_read_dword
	ldr	w0, [x19, #8]
	bl	_debug_d3dxparameter_class
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	add	x1, sp, #28
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [sp, #28]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	add	x0, x19, #40
	ldrsw	x8, [sp, #28]
	add	x1, x23, x8
	bl	_d3dx9_parse_name
Lloh11:
	adrp	x20, _D3D_OK@GOTPAGE
Lloh12:
	ldr	x20, [x20, _D3D_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.10:
	add	x1, sp, #28
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [sp, #28]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE
	add	x0, x19, #32
	ldrsw	x8, [sp, #28]
	add	x1, x23, x8
	bl	_d3dx9_parse_name
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.11:
	add	x1, x19, #12
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [x19, #12]
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #8]
	sub	w8, w0, #141
	cmp	w8, #5
	b.hi	LBB0_38
; %bb.12:
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
	add	x1, x19, #20
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [x19, #20]
Lloh19:
	adrp	x0, l_.str.8@PAGE
Lloh20:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_TRACE
	add	x1, x19, #16
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [x19, #16]
Lloh21:
	adrp	x0, l_.str.7@PAGE
Lloh22:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_40
LBB0_14:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_23
; %bb.15:
	bl	_GetProcessHeap
Lloh23:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w8, [x19, #28]
	lsl	w2, w8, #6
	bl	_HeapAlloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_20
; %bb.16:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_23
; %bb.17:
	mov	x20, #0
	mov	x26, #0
Lloh26:
	adrp	x24, _D3D_OK@GOTPAGE
Lloh27:
	ldr	x24, [x24, _D3D_OK@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x0, x20
	bl	_param_set_magic_number
	ldr	x8, [x19, #48]
	add	x1, x8, x20
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x23
	mov	x3, x22
	mov	x4, #0
	mov	x5, x21
	bl	_d3dx9_parse_effect_typedef
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x19, #48]
	add	x8, x0, x20
	ldr	w8, [x8, #24]
	ldp	w9, w10, [x19, #24]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	w8, w9, w8
	str	w8, [x19, #24]
	add	x26, x26, #1
	add	x20, x20, #64
	cmp	x26, x10
	b.lo	LBB0_18
	b	LBB0_23
LBB0_20:
Lloh28:
	adrp	x0, l_.str.12@PAGE
Lloh29:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_ERR
Lloh30:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh32:
	ldr	x25, [x8]
	ldr	x0, [x19, #48]
	cbnz	x0, LBB0_28
	b	LBB0_34
LBB0_21:
	mov	x25, x0
Lloh33:
	adrp	x0, l_.str.3@PAGE
Lloh34:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_27
LBB0_22:
	mov	w27, #0
	str	wzr, [x19, #24]
LBB0_23:
Lloh35:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
Lloh37:
	ldr	x25, [x8]
	b	LBB0_37
LBB0_24:
	mov	x25, x0
Lloh38:
	adrp	x0, l_.str.5@PAGE
Lloh39:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_25:
	mov	x25, x0
	str	x28, [sp]
Lloh40:
	adrp	x0, l_.str.13@PAGE
Lloh41:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_WARN
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x0, [x19, #48]
	cbnz	x0, LBB0_28
	b	LBB0_34
LBB0_26:
	mov	x25, x0
	str	x26, [sp]
Lloh42:
	adrp	x0, l_.str.13@PAGE
Lloh43:
	add	x0, x0, l_.str.13@PAGEOFF
LBB0_27:
	bl	_WARN
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_34
LBB0_28:
	ldr	w8, [x19, #12]
	mov	x21, x8
	cbnz	w8, LBB0_30
; %bb.29:
	ldr	w21, [x19, #28]
	cbz	w21, LBB0_33
LBB0_30:
	cmp	w8, #0
	cset	w1, ne
Lloh44:
	adrp	x20, _TRUE@GOTPAGE
Lloh45:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_free_parameter
	cmp	w21, #1
	b.eq	LBB0_33
; %bb.31:
	mov	w8, w21
	sub	x21, x8, #1
	mov	w22, #64
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	ldr	w9, [x19, #12]
	add	x0, x8, x22
	cmp	w9, #0
	cset	w1, ne
	ldr	w2, [x20]
	bl	_free_parameter
	add	x22, x22, #64
	subs	x21, x21, #1
	b.ne	LBB0_32
LBB0_33:
	bl	_GetProcessHeap
	ldr	x2, [x19, #48]
	mov	w1, #0
	bl	_HeapFree
	str	xzr, [x19, #48]
LBB0_34:
	cbnz	x27, LBB0_36
; %bb.35:
	bl	_GetProcessHeap
	ldr	x2, [x19, #40]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	ldr	x2, [x19, #32]
	mov	w1, #0
	bl	_HeapFree
LBB0_36:
	stp	xzr, xzr, [x19, #32]
LBB0_37:
	mov	x0, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_38:
	bl	_debug_d3dxparameter_class
	mov	x1, x0
Lloh46:
	adrp	x0, l_.str.11@PAGE
Lloh47:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_FIXME
	b	LBB0_2
LBB0_39:
	add	x1, x19, #16
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [x19, #16]
Lloh48:
	adrp	x0, l_.str.7@PAGE
Lloh49:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_TRACE
	add	x1, x19, #20
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [x19, #20]
Lloh50:
	adrp	x0, l_.str.8@PAGE
Lloh51:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_40:
	bl	_TRACE
	ldp	w9, w8, [x19, #16]
	mul	w8, w8, w9
	lsl	w8, w8, #2
	str	w8, [x19, #24]
	b	LBB0_2
LBB0_41:
	add	x1, x19, #28
	mov	x0, x22
	bl	_read_dword
	ldr	w1, [x19, #28]
Lloh52:
	adrp	x0, l_.str.9@PAGE
Lloh53:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_TRACE
	b	LBB0_2
LBB0_42:
	ldr	x0, [x26]
	sub	x8, x0, #128
	cmp	x8, #12
	b.hi	LBB0_46
; %bb.43:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	w9, #4223
	tst	x8, x9
	b.eq	LBB0_45
; %bb.44:
	mov	w8, #8
	str	w8, [x19, #24]
	b	LBB0_2
LBB0_45:
	str	wzr, [x19, #24]
	b	LBB0_2
LBB0_46:
	bl	_debug_d3dxparameter_type
	mov	x1, x0
Lloh54:
	adrp	x0, l_.str.10@PAGE
Lloh55:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_FIXME
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_39-LBB0_13)>>2
	.byte	(LBB0_41-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_42-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Type: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Class: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Type name offset: %#x\n"

	.comm	_D3D_OK,8,3                     ; @D3D_OK
l_.str.3:                               ; @.str.3
	.asciz	"Failed to parse name\n"

l_.str.4:                               ; @.str.4
	.asciz	"Type semantic offset: %#x\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to parse semantic\n"

l_.str.6:                               ; @.str.6
	.asciz	"Elements: %u\n"

l_.str.7:                               ; @.str.7
	.asciz	"Columns: %u\n"

l_.str.8:                               ; @.str.8
	.asciz	"Rows: %u\n"

l_.str.9:                               ; @.str.9
	.asciz	"Members: %u\n"

l_.str.10:                              ; @.str.10
	.asciz	"Unhandled type %s\n"

l_.str.11:                              ; @.str.11
	.asciz	"Unhandled class %s\n"

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
l_.str.12:                              ; @.str.12
	.asciz	"Out of memory\n"

	.comm	_E_OUTOFMEMORY,8,3              ; @E_OUTOFMEMORY
l_.str.13:                              ; @.str.13
	.asciz	"Failed to parse member %u\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_d3dx9_parse_effect_typedef
.subsections_via_symbols
