	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_sm1_read_src_param
_shader_sm1_read_src_param:             ## @shader_sm1_read_src_param
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rsi), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	callq	_shader_get_param
	cltq
	shlq	$2, %rax
	addq	%rax, (%rbx)
	movl	-28(%rbp), %edi
	movq	_WINED3D_SM1_ADDRESS_MODE_RELATIVE@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	-32(%rbp), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_shader_parse_src_param
	movl	-28(%rbp), %edi
	movq	%r15, %rsi
	jmp	LBB0_3
LBB0_2:
	xorl	%esi, %esi
LBB0_3:
	movq	%r14, %rdx
	callq	_shader_parse_src_param
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_SM1_ADDRESS_MODE_RELATIVE,4,2 ## @WINED3D_SM1_ADDRESS_MODE_RELATIVE
	.no_dead_strip	_shader_sm1_read_src_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_sm1_read_src_param
_shader_sm1_read_src_param:             ; @shader_sm1_read_src_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	ldr	x1, [x1]
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_shader_get_param
	ldr	x8, [x21]
	add	x8, x8, w0, sxtw #2
	str	x8, [x21]
	ldr	w0, [sp, #12]
Lloh0:
	adrp	x8, _WINED3D_SM1_ADDRESS_MODE_RELATIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_SM1_ADDRESS_MODE_RELATIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	mov	x1, #0
	mov	x2, x20
	bl	_shader_parse_src_param
	ldr	w0, [sp, #12]
	mov	x1, x20
	b	LBB0_3
LBB0_2:
	mov	x1, #0
LBB0_3:
	mov	x2, x19
	bl	_shader_parse_src_param
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_SM1_ADDRESS_MODE_RELATIVE,4,2 ; @WINED3D_SM1_ADDRESS_MODE_RELATIVE
	.no_dead_strip	_shader_sm1_read_src_param
.subsections_via_symbols
