	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walk_parameter_dep
_walk_parameter_dep:                    ## @walk_parameter_dep
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	40(%rdi), %rbx
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	callq	*%r15
	movq	_TRUE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jne	LBB0_20
## %bb.1:
	movl	36(%rbx), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_walk_param_eval_dep
	testq	%rax, %rax
	jne	LBB0_20
## %bb.2:
	movq	(%rbx), %rax
	movq	_D3DXPC_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movl	32(%rbx), %edi
	callq	_is_param_type_sampler
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	8(%rbx), %edi
	movl	$1, %esi
	callq	_max
	movq	_FALSE@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_20
## %bb.5:
	leaq	24(%rbx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_6:
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	12(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_22
LBB0_8:
	movq	%rbx, %r13
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%rbx), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_walk_param_eval_dep
	testq	%rax, %rax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	$16, %rbx
	decq	%r12
	jne	LBB0_9
LBB0_22:
	movq	_FALSE@GOTPCREL(%rip), %r13
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	cmpq	-48(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	cmpl	$0, 8(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rbx), %rax
	movq	%rdx, %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$8, %rax
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	cmpl	$0, (%r13)
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rdi
	addq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_walk_state_dep
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	incq	%rbx
	movl	(%r13), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_17
	jmp	LBB0_12
LBB0_19:
	movq	_TRUE@GOTPCREL(%rip), %r13
LBB0_20:
	movl	(%r13), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_D3DXPC_OBJECT,8,3              ## @D3DXPC_OBJECT
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_walk_parameter_dep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walk_parameter_dep
_walk_parameter_dep:                    ; @walk_parameter_dep
	.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, x2
	mov	x20, x1
	ldr	x21, [x0, #40]
	mov	x0, x2
	mov	x1, x21
	blr	x20
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21, #36]
	mov	x1, x20
	mov	x2, x19
	bl	_walk_param_eval_dep
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x22, _TRUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x22]
	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_4:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _D3DXPC_OBJECT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _D3DXPC_OBJECT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [x21, #32]
	bl	_is_param_type_sampler
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w0, [x21, #8]
	mov	w1, #1
	bl	_max
	cbz	w0, LBB0_21
; %bb.7:
	mov	x23, #0
	add	x24, x21, #24
Lloh5:
	adrp	x22, _FALSE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	mov	w26, w0
	b	LBB0_14
LBB0_8:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_10
; %bb.9:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_21
LBB0_10:
	mov	x23, #0
Lloh7:
	adrp	x24, _TRUE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
Lloh9:
	adrp	x22, _FALSE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	mov	w25, w8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	w0, [x8, x23]
	mov	x1, x20
	mov	x2, x19
	bl	_walk_param_eval_dep
	cbnz	x0, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #16
	subs	x25, x25, #1
	b.ne	LBB0_11
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x23, x23, #1
	cmp	x23, x26
	b.eq	LBB0_3
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	w9, [x21, #8]
	mov	x8, x24
	cbz	w9, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x21, #16]
	add	x8, x8, x23, lsl #4
	add	x8, x8, #8
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x27, [x8]
	ldr	w8, [x27]
	cbz	w8, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x28, #0
	mov	x25, #0
LBB0_18:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27, #8]
	add	x0, x8, x28
	mov	x1, x20
	mov	x2, x19
	bl	_walk_state_dep
	cbnz	x0, LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x25, x25, #1
	ldr	w8, [x27]
	add	x28, x28, #4
	cmp	x25, x8
	b.lo	LBB0_18
	b	LBB0_13
LBB0_20:
	mov	x22, x24
	b	LBB0_3
LBB0_21:
Lloh11:
	adrp	x22, _FALSE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_D3DXPC_OBJECT,8,3              ; @D3DXPC_OBJECT
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_walk_parameter_dep
.subsections_via_symbols
