	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3dx9_base_effect_set_float
_d3dx9_base_effect_set_float:           ## @d3dx9_base_effect_set_float
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movss	%xmm0, -12(%rbp)
	callq	_get_valid_parameter
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	cmpl	$0, 20(%rax)
	jne	LBB0_7
## %bb.2:
	cmpl	$1, (%rbx)
	jne	LBB0_7
## %bb.3:
	cmpl	$1, 4(%rbx)
	jne	LBB0_7
## %bb.4:
	movl	16(%rbx), %esi
	movq	_D3DXPT_FLOAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rdi
	leaq	-12(%rbp), %rdx
	callq	_set_number
	movq	-24(%rbp), %rax
	movq	8(%rbx), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_set_dirty
	movq	-24(%rbp), %rax
	movq	8(%rbx), %rcx
LBB0_6:
	movq	%rax, (%rcx)
	movq	_D3D_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	_D3DERR_INVALIDCALL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D3DXPT_FLOAT,4,2               ## @D3DXPT_FLOAT
	.comm	_D3D_OK,4,2                     ## @D3D_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parameter not found.\n"

	.comm	_D3DERR_INVALIDCALL,4,2         ## @D3DERR_INVALIDCALL
	.no_dead_strip	_d3dx9_base_effect_set_float
.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_set_float
_d3dx9_base_effect_set_float:           ; @d3dx9_base_effect_set_float
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	s0, [sp, #12]
	bl	_get_valid_parameter
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.4:
	ldr	w1, [x19, #16]
Lloh0:
	adrp	x8, _D3DXPT_FLOAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D3DXPT_FLOAT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, sp
	add	x2, sp, #12
	bl	_set_number
	ldr	x8, [sp]
	ldr	x9, [x19, #8]
	ldr	x10, [x9]
	cmp	x8, x10
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_set_dirty
	ldr	x8, [sp]
	ldr	x9, [x19, #8]
LBB0_6:
	str	x8, [x9]
Lloh3:
	adrp	x8, _D3D_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3D_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh7:
	adrp	x8, _D3DERR_INVALIDCALL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _D3DERR_INVALIDCALL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_D3DXPT_FLOAT,4,2               ; @D3DXPT_FLOAT
	.comm	_D3D_OK,4,2                     ; @D3D_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parameter not found.\n"

	.comm	_D3DERR_INVALIDCALL,4,2         ; @D3DERR_INVALIDCALL
	.no_dead_strip	_d3dx9_base_effect_set_float
.subsections_via_symbols
