	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_texreg2rgb
_shader_glsl_texreg2rgb:                ## @shader_glsl_texreg2rgb
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movl	(%rdi), %edi
	leaq	-40(%rbp), %r14
	movl	%r15d, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_shader_glsl_get_sample_function
	movq	8(%rbx), %rsi
	movl	-40(%rbp), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_shader_glsl_add_src_param
	movq	_WINED3DSP_NOSWIZZLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-32(%rbp), %eax
	movl	%eax, 24(%rsp)
	leaq	L_.str(%rip), %rax
	movq	%rax, 16(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_shader_glsl_gen_sample_code
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_shader_glsl_release_sample_function
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DSP_NOSWIZZLE,4,2        ## @WINED3DSP_NOSWIZZLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_shader_glsl_texreg2rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_texreg2rgb
_shader_glsl_texreg2rgb:                ; @shader_glsl_texreg2rgb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w20, [x8]
	ldr	w0, [x0]
	add	x4, sp, #24
	mov	x1, x20
	mov	x2, x20
	mov	w3, #0
	bl	_shader_glsl_get_sample_function
	ldr	x1, [x19, #8]
	ldr	w2, [sp, #24]
	add	x3, sp, #16
	mov	x0, x19
	bl	_shader_glsl_add_src_param
Lloh0:
	adrp	x8, _WINED3DSP_NOSWIZZLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3DSP_NOSWIZZLE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	ldr	w8, [sp, #16]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_shader_glsl_gen_sample_code
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_shader_glsl_release_sample_function
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DSP_NOSWIZZLE,4,2        ; @WINED3DSP_NOSWIZZLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_shader_glsl_texreg2rgb
.subsections_via_symbols
