	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wined3d_cs_st_push_constants
_wined3d_cs_st_push_constants:          ## @wined3d_cs_st_push_constants
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	8(%rdi), %r15
	movq	_WINED3D_PUSH_CONSTANTS_VS_F@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	16(%r15), %rax
	addq	$8, %rax
	jmp	LBB0_4
LBB0_2:
	movq	_WINED3D_PUSH_CONSTANTS_PS_F@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	16(%r15), %rax
LBB0_4:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	*(%rax)
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_5:
	movq	_wined3d_cs_push_constant_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	leaq	(%rcx,%rcx,2), %r14
	movl	4(%rax,%r14,4), %ecx
	imull	%ecx, %ebx
	addl	(%rax,%r14,4), %ebx
	leaq	(,%rbx,4), %rdi
	addq	%r13, %rdi
	imull	%ecx, %r12d
	movq	%r8, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	(%r15), %esi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.6:
	movq	_wined3d_cs_push_constant_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax,%r14,4), %eax
	movq	8(%r15), %rdx
	leaq	-1(%rsi), %rdi
	movl	%esi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdi
	jae	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_8:
	andl	$-4, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rbx
	orl	%eax, (%rbx)
	movq	8(%rdx,%rdi,8), %rbx
	orl	%eax, (%rbx)
	movq	16(%rdx,%rdi,8), %rbx
	orl	%eax, (%rbx)
	movq	24(%rdx,%rdi,8), %rbx
	orl	%eax, (%rbx)
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_9
LBB0_10:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:
	leaq	(%rdx,%rdi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	orl	%eax, (%rdi)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_PUSH_CONSTANTS_VS_F,4,2 ## @WINED3D_PUSH_CONSTANTS_VS_F
	.comm	_WINED3D_PUSH_CONSTANTS_PS_F,4,2 ## @WINED3D_PUSH_CONSTANTS_PS_F
	.comm	_wined3d_cs_push_constant_info,8,3 ## @wined3d_cs_push_constant_info
	.no_dead_strip	_wined3d_cs_st_push_constants
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wined3d_cs_st_push_constants
_wined3d_cs_st_push_constants:          ; @wined3d_cs_st_push_constants
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x24, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _WINED3D_PUSH_CONSTANTS_VS_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_PUSH_CONSTANTS_VS_F@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	add	x8, x8, #8
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _WINED3D_PUSH_CONSTANTS_PS_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WINED3D_PUSH_CONSTANTS_PS_F@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #16]
LBB0_4:
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	blr	x8
LBB0_5:
Lloh6:
	adrp	x25, _wined3d_cs_push_constant_info@GOTPAGE
Lloh7:
	ldr	x25, [x25, _wined3d_cs_push_constant_info@GOTPAGEOFF]
	ldr	x8, [x25]
	mov	w9, #12
	umaddl	x8, w20, w9, x8
	ldp	w9, w8, [x8]
	madd	w9, w8, w23, w9
	add	x0, x24, w9, uxtw #2
	mul	w2, w8, w22
	mov	x1, x21
	bl	_memcpy
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.6:
	mov	w9, w20
	ldr	x10, [x25]
	mov	w11, #12
	madd	x9, x9, x11, x10
	ldr	w9, [x9, #8]
	ldr	x10, [x19, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	ldr	w12, [x11]
	orr	w12, w12, w9
	str	w12, [x11]
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_PUSH_CONSTANTS_VS_F,4,2 ; @WINED3D_PUSH_CONSTANTS_VS_F
	.comm	_WINED3D_PUSH_CONSTANTS_PS_F,4,2 ; @WINED3D_PUSH_CONSTANTS_PS_F
	.comm	_wined3d_cs_push_constant_info,8,3 ; @wined3d_cs_push_constant_info
	.no_dead_strip	_wined3d_cs_st_push_constants
.subsections_via_symbols
