	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ctab_constant_type
_parse_ctab_constant_type:              ## @parse_ctab_constant_type
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	16(%rbp), %rax
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movslq	%esi, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movslq	(%rax), %r15
	addq	%rdi, %r15
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movl	32(%rbp), %esi
	movq	%r15, 8(%rdx)
	movq	(%rdi,%rbx), %rax
	movq	%rax, 16(%rdx)
	movl	28(%rdi,%rbx), %eax
	movl	%eax, 72(%rdx)
	movl	8(%rdi,%rbx), %eax
	movl	%eax, 24(%rdx)
	movl	12(%rdi,%rbx), %eax
	movl	%eax, 28(%rdx)
	movl	$1, %r14d
	testl	%ecx, %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	jne	LBB0_5
## %bb.4:
	movl	16(%rdi,%rbx), %r14d
LBB0_5:
	movl	%r14d, 32(%rdx)
	movl	20(%rdi,%rbx), %eax
	movl	%eax, 36(%rdx)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movslq	24(%rbp), %r13
	addq	%rdi, %r13
	movq	%r13, 40(%rdx)
	movl	%esi, 48(%rdx)
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, 52(%rdx)
	movl	%esi, %edi
	callq	_debug_d3dxparameter_registerset
	leaq	L_.str(%rip), %rdi
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r15, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%r12,%rbx), %rdi
	callq	_debug_d3dxparameter_class
	movslq	%eax, %r14
	movl	28(%r12,%rbx), %edi
	callq	_debug_d3dxparameter_type
	movl	8(%r12,%rbx), %ecx
	movl	12(%r12,%rbx), %r8d
	movl	16(%r12,%rbx), %r9d
	movl	20(%r12,%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	pushq	%r10
	callq	_TRACE
	addq	$16, %rsp
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movl	16(%r12,%rbx), %r14d
	cmpl	$1, %r14d
	jg	LBB0_10
LBB0_7:
	movq	(%r12,%rbx), %rcx
	movq	_D3DXPC_STRUCT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_19
## %bb.8:
	movl	20(%r12,%rbx), %r14d
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.9:
	movslq	24(%r12,%rbx), %rax
	addq	%r12, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_10:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r14d, %ecx
	shll	$4, %ecx
	leal	(%rcx,%rcx,4), %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	movq	%rax, %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, (%rax)
	testq	%rdx, %rdx
	je	LBB0_39
## %bb.11:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_38
## %bb.12:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	4(%rcx), %rbx
	shlq	$4, %rax
	leaq	(%rax,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-4(%rbx), %esi
	movl	(%rbx), %r10d
	xorl	%ecx, %ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %ecx
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	movl	24(%rbp), %eax
	movl	%eax, %r10d
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	32(%rbp), %eax
	addq	%r14, %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leal	(%rdi,%r13), %r8d
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r10
	pushq	16(%rbp)
	callq	_parse_ctab_constant_type
	addq	$32, %rsp
	movq	%rax, %r15
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	addl	64(%rdx,%r14), %r13d
	addq	$80, %r14
	addq	$8, %rbx
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_13
	jmp	LBB0_38
LBB0_19:
	movl	8(%r12,%rbx), %r13d
	movl	12(%r12,%rbx), %edx
	movl	%r13d, %ebx
	imull	%edx, %ebx
	movl	32(%rbp), %edi
	leal	-129(%rdi), %eax
	cmpl	$2, %eax
	jb	LBB0_25
## %bb.20:
	cmpl	$128, %edi
	je	LBB0_31
## %bb.21:
	cmpl	$131, %edi
	jne	LBB0_32
## %bb.22:
	leaq	-132(%rcx), %rax
	cmpq	$3, %rax
	jae	LBB0_24
## %bb.23:
	movl	%ebx, %r13d
	jmp	LBB0_36
LBB0_39:
	leaq	L_.str.2(%rip), %rdi
	callq	_ERR
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_25:
	addq	$-132, %rcx
	cmpq	$3, %rcx
	ja	LBB0_32
## %bb.26:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_27:
	movl	$1, %ebx
LBB0_28:
	movl	%r13d, %ecx
	shll	$2, %ecx
	movl	%ebx, %r13d
	movl	%ecx, %ebx
	jmp	LBB0_34
LBB0_17:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_40:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_46
## %bb.41:
	testl	%r14d, %r14d
	jle	LBB0_45
## %bb.42:
	callq	_free_constant
	cmpl	$1, %r14d
	je	LBB0_45
## %bb.43:
	movl	%r14d, %r14d
	decq	%r14
	movl	$80, %ebx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_free_constant
	addq	$80, %rbx
	decq	%r14
	jne	LBB0_44
LBB0_45:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	(%r12), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	$0, (%r12)
	jmp	LBB0_46
LBB0_32:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_33
LBB0_31:
	movq	_D3DXPC_OBJECT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	setne	%al
	movl	$1, %r13d
	jmp	LBB0_34
LBB0_24:
	xorl	%eax, %eax
	cmpq	$135, %rcx
	setne	%al
LBB0_33:
	movl	%ebx, %r13d
LBB0_34:
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_debug_d3dxparameter_registerset
	movl	%eax, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%r12,%rax), %rdi
	callq	_debug_d3dxparameter_class
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_FIXME
LBB0_36:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	shll	$2, %ebx
	addl	%ebx, (%rax)
LBB0_38:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	subl	-88(%rbp), %edi                 ## 4-byte Folded Reload
	movl	%r13d, %esi
	callq	_min
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_max
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 64(%rcx)
	movl	32(%rcx), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	imull	8(%r12,%rdx), %eax
	imull	12(%r12,%rdx), %eax
	shll	$2, %eax
	movl	%eax, 56(%rcx)
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_46:
	movq	%r15, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	leal	(,%r13,4), %ebx
	jmp	LBB0_34
LBB0_30:
	leal	(,%rdx,4), %ebx
	movl	%edx, %r13d
	jmp	LBB0_34
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_27
	.long	L0_0_set_28
	.long	L0_0_set_29
	.long	L0_0_set_30
	.end_data_region
                                        ## -- End function
	.comm	_D3D_OK,8,3                     ## @D3D_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name %s, elements %u, index %u, defaultvalue %p, regset %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"class %s, type %s, rows %d, columns %d, elements %d, struct_members %d\n"

	.comm	_D3DXPC_STRUCT,8,3              ## @D3DXPC_STRUCT
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
L_.str.2:                               ## @.str.2
	.asciz	"Out of memory\n"

	.comm	_E_OUTOFMEMORY,8,3              ## @E_OUTOFMEMORY
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_D3DXPC_OBJECT,4,2              ## @D3DXPC_OBJECT
L_.str.3:                               ## @.str.3
	.asciz	"Unhandled register set %s, type class %s\n"

	.no_dead_strip	_parse_ctab_constant_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ctab_constant_type
_parse_ctab_constant_type:              ; @parse_ctab_constant_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x26, x7
	mov	x22, x6
	stp	w5, w4, [sp, #56]               ; 8-byte Folded Spill
	mov	x27, x3
	mov	x19, x2
	ldr	w23, [x29, #16]
	str	w1, [sp, #44]                   ; 4-byte Folded Spill
	add	x25, x0, w1, sxtw
	cbz	x6, LBB0_2
; %bb.1:
	ldrsw	x8, [x22]
	add	x20, x0, x8
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	ldr	x8, [x25]
	stp	x20, x8, [x19, #8]
	ldr	w8, [x25, #28]
	str	w8, [x19, #72]
	ldr	d0, [x25, #8]
	str	d0, [x19, #24]
	cbz	w27, LBB0_5
; %bb.4:
	mov	w28, #1
	b	LBB0_6
LBB0_5:
	ldr	w28, [x25, #16]
LBB0_6:
	ldr	w8, [x25, #20]
	stp	w28, w8, [x19, #32]
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	add	x24, x0, w26, sxtw
	str	x24, [x19, #40]
	ldr	w21, [sp, #60]                  ; 4-byte Folded Reload
	stp	w23, w21, [x19, #48]
	mov	x0, x23
	bl	_debug_d3dxparameter_registerset
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x28
	mov	x3, x21
	bl	_TRACE
	ldr	x0, [x25]
	bl	_debug_d3dxparameter_class
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w0
	ldr	w0, [x25, #28]
	bl	_debug_d3dxparameter_type
	mov	x2, x0
	ldp	w3, w8, [x25, #8]
	ldp	w9, w10, [x25, #16]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x24
	bl	_TRACE
	cbnz	w27, LBB0_9
; %bb.7:
	ldr	w24, [x25, #16]
	cmp	w24, #1
	b.le	LBB0_9
; %bb.8:
	mov	x20, #0
	b	LBB0_12
LBB0_9:
	ldr	x8, [x25]
Lloh4:
	adrp	x9, _D3DXPC_STRUCT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _D3DXPC_STRUCT@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.10:
	ldr	w24, [x25, #20]
	cbz	w24, LBB0_20
; %bb.11:
	ldrsw	x8, [x25, #24]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x20, x9, x8
LBB0_12:
	bl	_GetProcessHeap
Lloh7:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	w8, w24, w24, lsl #2
	lsl	w2, w8, #4
	bl	_HeapAlloc
	str	x0, [x19]
	cbz	x0, LBB0_25
; %bb.13:
	cmp	w24, #1
	b.lt	LBB0_26
; %bb.14:
	stp	w24, w26, [sp, #36]             ; 8-byte Folded Spill
	mov	x26, x22
	mov	x22, #0
	mov	w27, #0
	add	x21, x20, #4
	mov	w8, #80
	umull	x24, w24, w8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w3, #0
	ldp	w1, w7, [x21, #-4]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w3, #1
	ldp	w7, w1, [sp, #40]               ; 8-byte Folded Reload
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x2, x0, x22
	ldp	w5, w8, [sp, #56]               ; 8-byte Folded Reload
	add	w4, w27, w8
	str	w23, [sp]
	mov	x0, x9
	mov	x6, x26
	bl	_parse_ctab_constant_type
Lloh10:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x19]
	add	x8, x0, x22
	ldr	w8, [x8, #64]
	add	w27, w27, w8
	add	x22, x22, #80
	add	x21, x21, #8
	cmp	x24, x22
	b.ne	LBB0_15
	b	LBB0_45
LBB0_20:
	ldp	w27, w9, [x25, #8]
	mul	w24, w27, w9
	sub	w10, w23, #129
	cmp	w10, #2
	b.lo	LBB0_27
; %bb.21:
	cmp	w23, #128
	b.eq	LBB0_38
; %bb.22:
	cmp	w23, #131
	b.ne	LBB0_37
; %bb.23:
	sub	x9, x8, #132
	cmp	x9, #3
	b.hs	LBB0_39
; %bb.24:
	mov	x27, x24
	b	LBB0_43
LBB0_25:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ERR
Lloh15:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh17:
	ldr	x28, [x8]
	ldr	x0, [x19]
	cbnz	x0, LBB0_32
	b	LBB0_46
LBB0_26:
	mov	w27, #0
	b	LBB0_45
LBB0_27:
	sub	x10, x8, #132
	cmp	x10, #3
	b.hi	LBB0_37
; %bb.28:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x11, lJTI0_0@PAGE
Lloh22:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_29
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_29:
	mov	w24, #1
LBB0_30:
	lsl	w9, w27, #2
	mov	x27, x24
	mov	x24, x9
	b	LBB0_41
LBB0_31:
	mov	x28, x0
	ldr	w24, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x0, [x19]
	cbz	x0, LBB0_46
LBB0_32:
	cmp	w24, #1
	b.lt	LBB0_36
; %bb.33:
	bl	_free_constant
	cmp	w24, #1
	b.eq	LBB0_36
; %bb.34:
	mov	w8, w24
	sub	x20, x8, #1
	mov	w21, #80
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x21
	bl	_free_constant
	add	x21, x21, #80
	subs	x20, x20, #1
	b.ne	LBB0_35
LBB0_36:
	bl	_GetProcessHeap
	ldr	x2, [x19]
	mov	w1, #0
	bl	_HeapFree
	str	xzr, [x19]
	b	LBB0_46
LBB0_37:
Lloh23:
	adrp	x8, _TRUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	b	LBB0_40
LBB0_38:
Lloh26:
	adrp	x9, _D3DXPC_OBJECT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _D3DXPC_OBJECT@GOTPAGEOFF]
Lloh28:
	ldrsw	x9, [x9]
	cmp	x8, x9
	cset	w8, ne
	mov	w27, #1
	b	LBB0_41
LBB0_39:
	cmp	x8, #135
	cset	w8, ne
LBB0_40:
	mov	x27, x24
LBB0_41:
	cbz	w8, LBB0_43
; %bb.42:
	mov	x0, x23
	bl	_debug_d3dxparameter_registerset
	mov	x23, x0
	ldr	x0, [x25]
	bl	_debug_d3dxparameter_class
	mov	x2, x0
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x23
	bl	_FIXME
LBB0_43:
	cbz	x22, LBB0_45
; %bb.44:
	ldr	w8, [x22]
	add	w8, w8, w24, lsl #2
	str	w8, [x22]
LBB0_45:
	ldp	w8, w9, [sp, #56]               ; 8-byte Folded Reload
	sub	w0, w8, w9
	mov	x1, x27
	bl	_min
	mov	x1, x0
	mov	w0, #0
	bl	_max
	str	x0, [x19, #64]
	ldr	w8, [x19, #32]
	ldp	w9, w10, [x25, #8]
	mul	w8, w8, w9
	mul	w8, w8, w10
	lsl	w8, w8, #2
	str	w8, [x19, #56]
Lloh31:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
Lloh33:
	ldr	x28, [x8]
LBB0_46:
	mov	x0, x28
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_47:
	lsl	w24, w27, #2
	b	LBB0_41
LBB0_48:
	lsl	w24, w9, #2
	mov	x27, x9
	b	LBB0_41
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_29-LBB0_29)>>2
	.byte	(LBB0_30-LBB0_29)>>2
	.byte	(LBB0_47-LBB0_29)>>2
	.byte	(LBB0_48-LBB0_29)>>2
                                        ; -- End function
	.comm	_D3D_OK,8,3                     ; @D3D_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name %s, elements %u, index %u, defaultvalue %p, regset %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"class %s, type %s, rows %d, columns %d, elements %d, struct_members %d\n"

	.comm	_D3DXPC_STRUCT,8,3              ; @D3DXPC_STRUCT
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
l_.str.2:                               ; @.str.2
	.asciz	"Out of memory\n"

	.comm	_E_OUTOFMEMORY,8,3              ; @E_OUTOFMEMORY
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_D3DXPC_OBJECT,4,2              ; @D3DXPC_OBJECT
l_.str.3:                               ; @.str.3
	.asciz	"Unhandled register set %s, type class %s\n"

	.no_dead_strip	_parse_ctab_constant_type
.subsections_via_symbols
