	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3dx9_base_effect_get_parameter_by_semantic
_d3dx9_base_effect_get_parameter_by_semantic: ## @d3dx9_base_effect_get_parameter_by_semantic
	.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, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_get_valid_parameter
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.10:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	testq	%r14, %r14
	je	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	addq	$24, %r13
	cmpq	%rax, %rbx
	jae	LBB0_19
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %r12
	movl	8(%r12,%r13), %edi
	testl	%edi, %edi
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rax
	jmp	LBB0_18
LBB0_1:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r14, %r14
	je	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addq	$24, %r13
	cmpq	%rax, %rbx
	jae	LBB0_19
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r15
	movl	8(%r15,%r13), %edi
	testl	%edi, %edi
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	jmp	LBB0_9
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	callq	_WARN
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	addq	%r13, %r12
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_TRACE
	movq	%r12, %rdi
	jmp	LBB0_6
LBB0_5:
	addq	%r13, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_TRACE
	movq	%r15, %rdi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_parameter_handle           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Returning parameter %p\n"

L_.str.1:                               ## @.str.1
	.asciz	"Parameter not found.\n"

	.no_dead_strip	_d3dx9_base_effect_get_parameter_by_semantic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3dx9_base_effect_get_parameter_by_semantic
_d3dx9_base_effect_get_parameter_by_semantic: ; @d3dx9_base_effect_get_parameter_by_semantic
	.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	x22, x1
	mov	x20, x0
	bl	_get_valid_parameter
	cbz	x22, LBB0_9
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_16
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_16
; %bb.3:
	mov	x20, #0
	mov	x22, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	x19, LBB0_17
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x20, x20, #24
	cmp	x22, x8
	b.hs	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x21, #16]
	add	x9, x23, x20
	ldr	w0, [x9, #8]
	cbz	w0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x19
	bl	_strcasecmp
	cbz	w0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	b	LBB0_5
LBB0_9:
	ldr	x8, [x20]
	cbz	x8, LBB0_16
; %bb.10:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	cbz	x19, LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	add	x21, x21, #24
	cmp	x22, x8
	b.hs	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20, #8]
	add	x9, x23, x21
	ldr	w0, [x9, #8]
	cbz	w0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x19
	bl	_strcasecmp
	cbz	w0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x20]
	b	LBB0_12
LBB0_16:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
	mov	x0, #0
	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
LBB0_17:
	add	x19, x23, x20
	b	LBB0_19
LBB0_18:
	add	x19, x23, x21
LBB0_19:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	mov	x0, x19
	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
	b	_get_parameter_handle
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Returning parameter %p\n"

l_.str.1:                               ; @.str.1
	.asciz	"Parameter not found.\n"

	.no_dead_strip	_d3dx9_base_effect_get_parameter_by_semantic
.subsections_via_symbols
