	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_clip_plane_uniform
_shader_glsl_clip_plane_uniform:        ## @shader_glsl_clip_plane_uniform
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movl	%edx, %r15d
	movl	(%rax,%r15,4), %eax
	movl	%eax, -32(%rbp)
	movq	%rsi, %rdi
	callq	_use_vs
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_WINED3D_TS_VIEW@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%rbx), %rsi
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_invert_matrix
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_transpose_matrix
	leaq	-32(%rbp), %rdi
	movq	%rdi, %rsi
	movq	%rbx, %rdx
	callq	_multiply_vector_matrix
LBB0_2:
	addq	(%r14), %r15
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_glUniform4fv
	movl	%eax, %edi
	callq	_GL_EXTCALL
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_TS_VIEW,8,3            ## @WINED3D_TS_VIEW
	.no_dead_strip	_shader_glsl_clip_plane_uniform
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_clip_plane_uniform
_shader_glsl_clip_plane_uniform:        ; @shader_glsl_clip_plane_uniform
	.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	x19, x3
	mov	x20, x1
	ldr	x8, [x1, #8]
	mov	w21, w2
	ldr	w8, [x8, w2, uxtw #2]
	str	w8, [sp]
	mov	x0, x1
	bl	_use_vs
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _WINED3D_TS_VIEW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3D_TS_VIEW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	add	x0, sp, #8
	bl	_invert_matrix
	add	x0, sp, #8
	add	x1, sp, #8
	bl	_transpose_matrix
	mov	x0, sp
	mov	x1, sp
	add	x2, sp, #8
	bl	_multiply_vector_matrix
LBB0_2:
	ldr	x8, [x19]
	add	x0, x8, x21
	mov	x2, sp
	mov	w1, #1
	bl	_glUniform4fv
	bl	_GL_EXTCALL
	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_TS_VIEW,8,3            ; @WINED3D_TS_VIEW
	.no_dead_strip	_shader_glsl_clip_plane_uniform
.subsections_via_symbols
