	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_constants
_set_constants:                         ## @set_constants
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	%rcx, %rax
	movq	%r8, -168(%rbp)                 ## 8-byte Spill
	orq	%r8, %rax
	setne	%cl
	movq	_D3D_OK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	cmpl	$0, (%rsi)
	je	LBB0_43
## %bb.1:
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	movl	%edx, -152(%rbp)                ## 4-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_PRES_REGTAB_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movl	16(%rsi), %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rcx,%rdx), %esi
	movl	%r14d, %edi
	callq	_get_offset_reg
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_regstore_set_values
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	(%rsi), %ecx
	cmpq	%rcx, %rax
	jae	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
                                        ##       Child Loop BB0_38 Depth 3
                                        ##         Child Loop BB0_40 Depth 4
                                        ##       Child Loop BB0_25 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##         Child Loop BB0_34 Depth 4
                                        ##     Child Loop BB0_18 Depth 2
	movq	8(%rsi), %rcx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	32(%rcx,%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx,%rax), %r14d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	-96(%rbp), %esi                 ## 4-byte Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_is_param_dirty
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r12
	movl	4(%rcx,%rdx), %esi
	movl	%r14d, %edi
	callq	_get_offset_reg
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r15d
	cmpq	$0, 40(%rcx,%rdx)
	jne	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	16(%rbx), %edi
	callq	_table_type_from_param_type
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %r13d
	movq	16(%rdx,%rsi), %rax
	movq	_D3DXPC_SCALAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_D3DXPC_VECTOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movq	%rsi, %rbx
	leaq	(%rdx,%rsi), %rdi
	leaq	-144(%rbp), %rsi
	movq	%rdx, %r13
	callq	_get_const_upload_info
	leaq	(%rbx,%r13), %rax
	addq	$24, %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	cmpl	$0, 24(%r13,%rbx)
	je	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	addq	$8, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_get_offset_reg
	addl	%eax, %r15d
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movslq	8(%rcx), %rax
	movslq	12(%rcx), %rcx
	imulq	%rax, %rcx
	leaq	(%r12,%rcx,4), %r12
	incl	%r13d
	movq	-176(%rbp), %rax                ## 8-byte Reload
	cmpl	(%rax), %r13d
	jae	LBB0_27
LBB0_21:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_38 Depth 3
                                        ##         Child Loop BB0_40 Depth 4
                                        ##       Child Loop BB0_25 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##         Child Loop BB0_34 Depth 4
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movl	%r15d, %eax
	shlq	$2, %rax
	movl	-144(%rbp), %edx
	addq	(%rcx,%r14,8), %rax
	cmpq	$0, -120(%rbp)
	je	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	xorl	%ecx, %ecx
	testl	%edx, %edx
	je	LBB0_23
## %bb.37:                              ##   in Loop: Header=BB0_21 Depth=2
	movl	-140(%rbp), %esi
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=3
	incl	%ecx
	cmpl	%edx, %ecx
	jae	LBB0_23
LBB0_38:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_21 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_40 Depth 4
	testl	%esi, %esi
	movl	$0, %esi
	je	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=3
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_21 Depth=2
                                        ##       Parent Loop BB0_38 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	-132(%rbp), %esi
	imull	%edx, %esi
	addl	%ecx, %esi
	movl	(%r12,%rsi,4), %esi
	movl	-136(%rbp), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	movl	%esi, (%rax,%rbx,4)
	incl	%edx
	movl	-140(%rbp), %esi
	cmpl	%esi, %edx
	jb	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=3
	movl	-144(%rbp), %edx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=2
	cmpl	$0, -128(%rbp)
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=2
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_21 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-132(%rbp), %esi
	imull	%edx, %esi
	addl	%ecx, %esi
	movl	(%r12,%rsi,4), %esi
	movl	-136(%rbp), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	movl	%esi, (%rax,%rbx,4)
	incl	%edx
	cmpl	-128(%rbp), %edx
	jb	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=2
	testl	%edx, %edx
	je	LBB0_26
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=2
	xorl	%ecx, %ecx
	movl	-140(%rbp), %esi
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_32 Depth=3
	incl	%ecx
	movl	%ebx, %esi
	cmpl	%edx, %ecx
	jae	LBB0_26
LBB0_32:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_21 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_34 Depth 4
	movl	$0, %ebx
	testl	%esi, %esi
	je	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=3
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_21 Depth=2
                                        ##       Parent Loop BB0_32 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	imull	%ecx, %esi
	addl	%edx, %esi
	movl	(%r12,%rsi,4), %esi
	movl	-136(%rbp), %ebx
	imull	%ecx, %ebx
	addl	%edx, %ebx
	movl	%esi, (%rax,%rbx,4)
	incl	%edx
	movl	-140(%rbp), %esi
	cmpl	%esi, %edx
	jb	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=3
	movl	-144(%rbp), %edx
	movl	%esi, %ebx
	jmp	LBB0_36
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %edi
	movl	12(%rax), %esi
	callq	_max
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_get_reg_components
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	24(%rcx,%rdx), %r8d
	cmpl	%eax, %ebx
	jae	LBB0_57
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r8d, %r8d
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	je	LBB0_6
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r15d
	movq	%r14, %rbx
	leaq	(%rcx,%rdx), %rax
	addq	$24, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_get_offset_reg
                                        ## kill: def $eax killed $eax def $rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leal	(%rax,%rcx), %edx
	movl	%r13d, %eax
	leaq	(%r12,%rax,4), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r15d, %r8d
	movl	-76(%rbp), %r9d                 ## 4-byte Reload
	callq	_regstore_set_data
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	addl	%r15d, %r13d
	cmpq	%rax, %r14
	jb	LBB0_18
	jmp	LBB0_6
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r15,%rbx), %rax
	addq	$4, %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_get_offset_reg
	movq	%r15, %rcx
	movl	%eax, %r15d
	movq	_table_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, (%rax,%r14,4)
	je	LBB0_6
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	movl	%r15d, %ebx
	shlq	$2, %rbx
	addq	(%rax,%r14,8), %rbx
	movl	8(%rcx,%rdx), %esi
	movl	%r14d, %edi
	callq	_get_offset_reg
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	imull	(%rcx), %eax
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	jmp	LBB0_29
LBB0_57:                                ##   in Loop: Header=BB0_2 Depth=1
	imull	%ebx, %r8d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%r12, %rcx
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r9d
	callq	_regstore_set_data
	jmp	LBB0_6
LBB0_7:
	movl	-152(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 16(%rsi)
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	_D3D_OK@GOTPCREL(%rip), %rdi
	je	LBB0_44
## %bb.8:
	testl	%ecx, %ecx
	je	LBB0_56
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	movl	-148(%rbp), %r14d               ## 4-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	4(%r13,%rbx), %r8d
	movl	24(%r13,%rbx), %edx
	imull	8(%r13,%rbx), %edx
	movl	%r12d, %r14d
LBB0_52:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	movl	(%rsi), %eax
	addq	$48, %rbx
	cmpq	%rax, %r15
	jae	LBB0_53
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %r13
	cmpl	$0, 16(%rbp)
	je	LBB0_11
LBB0_46:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r13,%rbx), %r12d
	cmpl	%r14d, %r12d
	jne	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	(%r8,%rdx), %eax
	cmpl	4(%r13,%rbx), %eax
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	24(%r13,%rbx), %eax
	imull	8(%r13,%rbx), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_10 Depth=1
	testl	%edx, %edx
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	movl	%r8d, %esi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	callq	_get_offset_reg
	cltq
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r8
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%rsp)
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movq	-56(%rbp), %r9                  ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_set_constants_device
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmovnel	%r14d, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	32(%r13,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_45
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-96(%rbp), %esi                 ## 4-byte Reload
	movq	%r8, %r12
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	callq	_is_param_dirty
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_46
	jmp	LBB0_52
LBB0_45:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$0, 24(%rbp)
	jne	LBB0_46
	jmp	LBB0_52
LBB0_43:
	movl	%edx, 16(%rsi)
	testb	%cl, %cl
	jne	LBB0_56
LBB0_44:
	movl	(%rdi), %eax
	jmp	LBB0_56
LBB0_53:
	testl	%edx, %edx
	je	LBB0_54
## %bb.55:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r14d, %ebx
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r14
	movl	%ebx, %edi
	movl	%r8d, %esi
	movq	%r8, %r15
	movq	%rdx, %r12
	callq	_get_offset_reg
	cltq
	leaq	(%r14,%rax,4), %r8
	movl	%r12d, (%rsp)
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%r15d, %r9d
	callq	_set_constants_device
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmovnel	%ebx, %eax
	jmp	LBB0_56
LBB0_54:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_56:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRES_REGTAB_COUNT,4,2          ## @PRES_REGTAB_COUNT
	.comm	_D3D_OK,4,2                     ## @D3D_OK
	.comm	_D3DXPC_SCALAR,8,3              ## @D3DXPC_SCALAR
	.comm	_D3DXPC_VECTOR,8,3              ## @D3DXPC_VECTOR
	.comm	_table_info,8,3                 ## @table_info
	.no_dead_strip	_set_constants
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_constants
_set_constants:                         ; @set_constants
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	w7, [sp, #32]                   ; 4-byte Folded Spill
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	str	x3, [sp, #48]                   ; 8-byte Folded Spill
	orr	x8, x3, x4
	cmp	x8, #0
	cset	w10, ne
Lloh0:
	adrp	x9, _D3D_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _D3D_OK@GOTPAGEOFF]
	ldr	w26, [x9]
	ldr	w8, [x1]
	cbz	w8, LBB0_50
; %bb.1:
	stp	w10, w2, [sp, #20]              ; 8-byte Folded Spill
	stp	w5, w6, [sp, #40]               ; 8-byte Folded Spill
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	str	w26, [sp, #28]                  ; 4-byte Folded Spill
	mov	x27, #0
Lloh2:
	adrp	x8, _PRES_REGTAB_COUNT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRES_REGTAB_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w8, [x1, #16]
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	mov	w9, #48
	mov	x26, x1
	str	x1, [sp, #56]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x27, x25, x28
	ldr	w1, [x8, #8]
	mov	x0, x23
	bl	_get_offset_reg
	mov	x4, x0
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	bl	_regstore_set_values
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	ldr	w8, [x26]
	cmp	x27, x8
	mov	w9, #48
	b.hs	LBB0_36
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;         Child Loop BB0_21 Depth 4
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_29 Depth 3
                                        ;         Child Loop BB0_31 Depth 4
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x28, [x26, #8]
	madd	x19, x27, x9, x28
	ldr	x24, [x19, #32]
	cbz	x24, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w23, [x19]
	mov	x0, x24
	ldr	w1, [sp, #68]                   ; 4-byte Folded Reload
	bl	_is_param_dirty
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x24]
	mov	w25, #48
	madd	x20, x27, x25, x28
	ldr	w1, [x20, #4]!
	mov	x0, x23
	bl	_get_offset_reg
	mov	x22, x0
	ldur	x8, [x20, #36]
	cbnz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, #16]
	bl	_table_type_from_param_type
	madd	x8, x27, x25, x28
	ldr	x8, [x8, #16]
Lloh5:
	adrp	x9, _D3DXPC_SCALAR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _D3DXPC_SCALAR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _D3DXPC_VECTOR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _D3DXPC_VECTOR@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x0
	ldp	w0, w1, [x24, #8]
	bl	_max
	mov	x24, x0
	mov	x0, x23
	bl	_get_reg_components
	madd	x20, x27, x25, x28
	ldr	w8, [x20, #24]!
	cmp	w24, w0
	b.hs	LBB0_35
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x19
	mov	w25, #0
	mov	x19, #0
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x19
	bl	_get_offset_reg
	add	w2, w0, w22
	add	x3, x21, w25, uxtw #2
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x4, x24
	mov	x5, x28
	bl	_regstore_set_data
	add	x19, x19, #1
	ldr	w8, [x20]
	add	w25, w25, w24
	cmp	x19, x8
	b.lo	LBB0_11
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	add	x1, sp, #80
	mov	x0, x19
	bl	_get_const_upload_info
	madd	x19, x27, x25, x28
	ldr	w8, [x19, #24]!
	cbz	w8, LBB0_33
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	mov	w8, #48
	madd	x8, x27, x8, x28
	add	x26, x8, #8
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w1, [x26]
	mov	x0, x23
	bl	_get_offset_reg
	add	w22, w0, w22
	ldp	w8, w9, [x24, #8]
	mul	w8, w9, w8
	add	x21, x21, w8, sxtw #2
	add	w25, w25, #1
	ldr	w8, [x19]
	cmp	w25, w8
	b.hs	LBB0_33
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;         Child Loop BB0_21 Depth 4
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_29 Depth 3
                                        ;         Child Loop BB0_31 Depth 4
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8, x23, lsl #3]
	add	x8, x8, w22, uxtw #2
	ldr	x9, [sp, #104]
	ldr	w10, [sp, #80]
	cbz	x9, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w9, #0
	cbz	w10, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w11, [sp, #84]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=3
	add	w9, w9, #1
	cmp	w9, w10
	b.hs	LBB0_23
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_21 Depth 4
	cbz	w11, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=3
	mov	w10, #0
LBB0_21:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ;       Parent Loop BB0_19 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldp	w12, w11, [sp, #88]
	madd	w11, w11, w10, w9
	ldr	w11, [x21, w11, uxtw #2]
	madd	w12, w9, w12, w10
	str	w11, [x8, w12, uxtw #2]
	add	w10, w10, #1
	ldr	w11, [sp, #84]
	cmp	w10, w11
	b.lo	LBB0_21
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=3
	ldr	w10, [sp, #80]
	b	LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w10, [sp, #96]
	cbz	w10, LBB0_14
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w10, #0
LBB0_25:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	w12, w11, [sp, #88]
	madd	w11, w11, w10, w9
	ldr	w11, [x21, w11, uxtw #2]
	madd	w12, w12, w9, w10
	str	w11, [x8, w12, uxtw #2]
	add	w10, w10, #1
	ldr	w11, [sp, #96]
	cmp	w10, w11
	b.lo	LBB0_25
	b	LBB0_14
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=2
	cbz	w10, LBB0_14
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w9, #0
	ldr	w11, [sp, #84]
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=3
	add	w9, w9, #1
	cmp	w9, w10
	b.hs	LBB0_14
LBB0_29:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_31 Depth 4
	cbz	w11, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=3
	mov	w10, #0
LBB0_31:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ;       Parent Loop BB0_29 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	madd	w11, w9, w11, w10
	ldr	w11, [x21, w11, uxtw #2]
	ldr	w12, [sp, #88]
	madd	w12, w9, w12, w10
	str	w11, [x8, w12, uxtw #2]
	add	w10, w10, #1
	ldr	w11, [sp, #84]
	cmp	w10, w11
	b.lo	LBB0_31
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=3
	ldr	w10, [sp, #80]
	b	LBB0_28
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20]
	mov	x0, x23
	bl	_get_offset_reg
Lloh11:
	adrp	x8, _table_info@GOTPAGE
Lloh12:
	ldr	x8, [x8, _table_info@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w8, [x8, x23, lsl #2]
	ldr	w24, [sp, #36]                  ; 4-byte Folded Reload
	cmp	w8, w24
	ldr	x26, [sp, #56]                  ; 8-byte Folded Reload
	b.eq	LBB0_3
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
	ldr	x22, [sp, #72]                  ; 8-byte Folded Reload
	ldr	x8, [x22]
	ldr	x8, [x8, x23, lsl #3]
	add	x21, x8, w0, uxtw #2
	mov	w8, #48
	madd	x8, x27, x8, x28
	ldr	w1, [x8, #8]
	mov	x0, x23
	bl	_get_offset_reg
	ldr	w8, [x19]
	mul	w4, w8, w0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	mov	x3, x21
	mov	x5, x24
	bl	_regstore_set_data
	b	LBB0_3
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	mul	w4, w8, w24
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x5, x19
	bl	_regstore_set_data
	b	LBB0_3
LBB0_36:
	ldp	w10, w9, [sp, #20]              ; 8-byte Folded Reload
	str	w9, [x26, #16]
	ldr	w26, [sp, #28]                  ; 4-byte Folded Reload
Lloh14:
	adrp	x9, _D3D_OK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _D3D_OK@GOTPAGEOFF]
	tbz	w10, #0, LBB0_51
; %bb.37:
	cbz	w8, LBB0_52
; %bb.38:
	mov	x22, #0
	mov	x23, #0
	mov	w20, #0
	mov	w21, #0
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w19, [sp, #44]                  ; 4-byte Folded Reload
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=1
	add	x8, x24, x22
	ldp	w20, w9, [x8, #4]
	ldr	w8, [x8, #24]
	mul	w21, w8, w9
	mov	x27, x25
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	add	x23, x23, #1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	add	x22, x22, #48
	cmp	x23, x8
	b.hs	LBB0_53
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x9, #8]
	cbz	w19, LBB0_47
LBB0_42:                                ;   in Loop: Header=BB0_41 Depth=1
	ldr	w25, [x24, x22]
	cmp	w25, w27
	b.ne	LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x8, x24, x22
	ldr	w9, [x8, #4]
	add	w10, w20, w21
	cmp	w10, w9
	b.ne	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_41 Depth=1
	ldr	w9, [x8, #8]
	ldr	w8, [x8, #24]
	madd	w21, w8, w9, w21
	b	LBB0_40
LBB0_45:                                ;   in Loop: Header=BB0_41 Depth=1
	cbz	w21, LBB0_39
; %bb.46:                               ;   in Loop: Header=BB0_41 Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x19, [x8, w27, uxtw #3]
	mov	x0, x27
	mov	x1, x20
	bl	_get_offset_reg
	add	x4, x19, w0, sxtw #2
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x28
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	mov	x3, x27
	mov	x5, x20
	mov	x6, x21
	bl	_set_constants_device
	mov	x19, x0
	bl	_FAILED
	cmp	x0, #0
	csel	w26, w26, w19, eq
	ldr	w19, [sp, #44]                  ; 4-byte Folded Reload
	b	LBB0_39
LBB0_47:                                ;   in Loop: Header=BB0_41 Depth=1
	add	x8, x24, x22
	ldr	x0, [x8, #32]
	cbz	x0, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_41 Depth=1
	ldr	w1, [sp, #68]                   ; 4-byte Folded Reload
	bl	_is_param_dirty
	cbnz	w0, LBB0_42
	b	LBB0_40
LBB0_49:                                ;   in Loop: Header=BB0_41 Depth=1
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_42
	b	LBB0_40
LBB0_50:
	str	w2, [x1, #16]
	tbnz	w10, #0, LBB0_52
LBB0_51:
	ldr	w26, [x9]
LBB0_52:
	mov	x0, x26
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_53:
	cbz	w21, LBB0_52
; %bb.54:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x19, [x8, w27, uxtw #3]
	mov	x0, x27
	mov	x1, x20
	bl	_get_offset_reg
	add	x4, x19, w0, sxtw #2
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x28
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	mov	x3, x27
	mov	x5, x20
	mov	x6, x21
	bl	_set_constants_device
	mov	x19, x0
	bl	_FAILED
	cmp	x0, #0
	csel	w26, w26, w19, eq
	b	LBB0_52
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PRES_REGTAB_COUNT,4,2          ; @PRES_REGTAB_COUNT
	.comm	_D3D_OK,4,2                     ; @D3D_OK
	.comm	_D3DXPC_SCALAR,8,3              ; @D3DXPC_SCALAR
	.comm	_D3DXPC_VECTOR,8,3              ; @D3DXPC_VECTOR
	.comm	_table_info,8,3                 ; @table_info
	.no_dead_strip	_set_constants
.subsections_via_symbols
