	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3dx_param_eval_set_shader_constants ## -- Begin function d3dx_param_eval_set_shader_constants
	.p2align	4, 0x90
_d3dx_param_eval_set_shader_constants:  ## @d3dx_param_eval_set_shader_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	12(%rdx), %r15
	leaq	16(%rdx), %r12
	movl	8(%rdx), %edi
	callq	_next_update_version
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	%eax, %r14d
	movq	%rbx, %rdx
	callq	_TRACE
	movq	_ULONG64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_is_const_tab_input_dirty
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %r9d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%rax
	callq	_set_constants
	addq	$16, %rsp
	movq	%r15, %rdi
	callq	_execute_preshader
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	%r15d, %eax
	addq	$24, %rsp
	jmp	LBB0_5
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_3:
	movl	(%rbx), %r9d
	addq	$4, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	pushq	%r13
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_set_constants
	addq	$40, %rsp
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device %p, peval %p, param_type %u.\n"

	.comm	_ULONG64_MAX,4,2                ## @ULONG64_MAX
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3dx_param_eval_set_shader_constants ; -- Begin function d3dx_param_eval_set_shader_constants
	.p2align	2
_d3dx_param_eval_set_shader_constants:  ; @d3dx_param_eval_set_shader_constants
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	add	x25, x2, #12
	add	x23, x2, #16
	ldr	w0, [x2, #8]
	bl	_next_update_version
	mov	x24, x0
Lloh0:
	adrp	x27, _FALSE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
	ldr	w26, [x27]
	ldr	w3, [x22]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	bl	_TRACE
Lloh4:
	adrp	x8, _ULONG64_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ULONG64_MAX@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_is_const_tab_input_dirty
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w5, [x22]
	ldr	w6, [x27]
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	mov	x3, #0
	mov	x4, #0
	mov	x7, x6
	bl	_set_constants
	mov	x0, x25
	bl	_execute_preshader
	mov	x25, x0
	bl	_FAILED
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w26, [x8]
LBB0_4:
	ldr	w5, [x22], #4
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	mov	x6, x19
	mov	x7, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_set_constants
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device %p, peval %p, param_type %u.\n"

	.comm	_ULONG64_MAX,4,2                ; @ULONG64_MAX
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
