	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3dx_evaluate_parameter        ## -- Begin function d3dx_evaluate_parameter
	.p2align	4, 0x90
_d3dx_evaluate_parameter:               ## @d3dx_evaluate_parameter
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_TRACE
	leaq	16(%r15), %rbx
	movq	_ULONG64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_is_const_tab_input_dirty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	28(%r15), %edi
	callq	_next_update_version
	movl	24(%r15), %r9d
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r10
	pushq	%r10
	callq	_set_constants
	addq	$16, %rsp
	movq	%r15, %rdi
	callq	_execute_preshader
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_6
LBB0_2:
	movq	_PRES_REGTAB_OCONST@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	8(%r15), %rax
	movl	(%rax,%rdi,4), %esi
	callq	_get_offset_reg
	movl	(%r14), %esi
	sarl	$2, %esi
	movl	%eax, %edi
	callq	_min
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	(%r15), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rbx
	movl	%eax, %r15d
	movq	_D3DXPT_FLOAT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14), %esi
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_set_number
	addq	$4, %r12
	addq	$4, %rbx
	decq	%r15
	jne	LBB0_4
LBB0_5:
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"peval %p, param %p, param_value %p.\n"

	.comm	_ULONG64_MAX,4,2                ## @ULONG64_MAX
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_PRES_REGTAB_OCONST,8,3         ## @PRES_REGTAB_OCONST
	.comm	_D3DXPT_FLOAT,4,2               ## @D3DXPT_FLOAT
	.comm	_D3D_OK,4,2                     ## @D3D_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d3dx_evaluate_parameter        ; -- Begin function d3dx_evaluate_parameter
	.p2align	2
_d3dx_evaluate_parameter:               ; @d3dx_evaluate_parameter
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_TRACE
	add	x22, x21, #16
Lloh2:
	adrp	x8, _ULONG64_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ULONG64_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_is_const_tab_input_dirty
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21, #28]
	bl	_next_update_version
	mov	x2, x0
	ldr	w5, [x21, #24]
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x3, #0
	mov	x4, #0
	mov	x7, x6
	bl	_set_constants
	mov	x0, x21
	bl	_execute_preshader
	mov	x22, x0
	bl	_FAILED
	cbnz	x0, LBB0_6
LBB0_2:
Lloh8:
	adrp	x22, _PRES_REGTAB_OCONST@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PRES_REGTAB_OCONST@GOTPAGEOFF]
	ldr	x0, [x22]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, x0, lsl #2]
	bl	_get_offset_reg
	ldr	w8, [x20]
	asr	w1, w8, #2
	bl	_min
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x21, [x8, x9, lsl #3]
	mov	w22, w0
Lloh10:
	adrp	x23, _D3DXPT_FLOAT@GOTPAGE
Lloh11:
	ldr	x23, [x23, _D3DXPT_FLOAT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #4]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_set_number
	add	x19, x19, #4
	add	x21, x21, #4
	subs	x22, x22, #1
	b.ne	LBB0_4
LBB0_5:
Lloh12:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"peval %p, param %p, param_value %p.\n"

	.comm	_ULONG64_MAX,4,2                ; @ULONG64_MAX
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_PRES_REGTAB_OCONST,8,3         ; @PRES_REGTAB_OCONST
	.comm	_D3DXPT_FLOAT,4,2               ; @D3DXPT_FLOAT
	.comm	_D3D_OK,4,2                     ; @D3D_OK
.subsections_via_symbols
