	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_clip_space
_update_clip_space:                     ## @update_clip_space
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cvtsi2ssl	8(%rsi), %xmm0
	movq	%rdi, %rbx
	movss	%xmm0, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -76(%rbp)
	cvtsi2ssl	4(%rsi), %xmm1
	movss	%xmm1, -60(%rbp)
	movups	%xmm0, -56(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -40(%rbp)
	movl	$0, -36(%rbp)
	movl	8(%rdx), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rdx), %eax
	movl	%eax, -28(%rbp)
	movl	(%rdx), %eax
	movl	%eax, -24(%rbp)
	movl	$1, -20(%rbp)
	leaq	68(%rdi), %rdx
	leaq	-144(%rbp), %r14
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_multiply_matrix
	movl	64(%rbx), %edi
	movq	_WINED3D_TS_PROJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_wined3d_device_set_transform
	movups	-80(%rbp), %xmm0
	movups	-64(%rbp), %xmm1
	movups	-48(%rbp), %xmm2
	movups	-32(%rbp), %xmm3
	movups	%xmm0, (%rbx)
	movups	%xmm1, 16(%rbx)
	movups	%xmm2, 32(%rbx)
	movups	%xmm3, 48(%rbx)
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_TS_PROJECTION,4,2      ## @WINED3D_TS_PROJECTION
	.no_dead_strip	_update_clip_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_clip_space
_update_clip_space:                     ; @update_clip_space
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	s1, s0, [x1, #4]
	scvtf	s0, s0
	str	s0, [sp, #64]
	stur	xzr, [sp, #76]
	stur	xzr, [sp, #68]
	scvtf	s0, s1
	str	s0, [sp, #84]
	stp	xzr, xzr, [sp, #88]
	ldr	w8, [x1]
	stp	w8, wzr, [sp, #104]
	ldur	d0, [x2, #4]
	rev64.2s	v0, v0
	str	d0, [sp, #112]
	ldr	w8, [x2]
	mov	w9, #1
	stp	w8, w9, [sp, #120]
	add	x2, x0, #68
	mov	x0, sp
	add	x1, sp, #64
	bl	_multiply_matrix
	ldr	w0, [x19, #64]
Lloh0:
	adrp	x8, _WINED3D_TS_PROJECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_TS_PROJECTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_wined3d_device_set_transform
	ldp	q0, q1, [sp, #64]
	stp	q0, q1, [x19]
	ldp	q0, q1, [sp, #96]
	stp	q0, q1, [x19, #32]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_TS_PROJECTION,4,2      ; @WINED3D_TS_PROJECTION
	.no_dead_strip	_update_clip_space
.subsections_via_symbols
