	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function stateblock_savedstates_set_all
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_1:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	65535                           ## 0xffff
LCPI0_2:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stateblock_savedstates_set_all:        ## @stateblock_savedstates_set_all
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, (%rdi)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,1,1,65535]
	movups	%xmm0, 16(%rdi)
	movabsq	$4503595332468735, %rax         ## imm = 0xFFFFF0000FFFF
	movq	%rax, 32(%rdi)
	movl	88(%rdi), %edi
	movq	_HIGHEST_TRANSFORMSTATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	callq	_stateblock_set_bits
	movl	84(%rbx), %edi
	movq	_WINEHIGHEST_RENDER_STATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	callq	_stateblock_set_bits
	movq	_MAX_TEXTURES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	40(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$262143, (%rcx,%rdx,4)          ## imm = 0x3FFFF
	incq	%rdx
	movl	(%rax), %esi
	cmpq	%rsi, %rdx
	jb	LBB0_2
LBB0_3:
	movq	_MAX_COMBINED_SAMPLERS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.4:
	movq	48(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$16382, (%rcx,%rdx,4)           ## imm = 0x3FFE
	incq	%rdx
	movl	(%rax), %esi
	cmpq	%rsi, %rdx
	jb	LBB0_5
LBB0_6:
	movq	_MAX_CLIP_DISTANCES@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movl	%eax, 56(%rbx)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [65535,65535,65535,65535]
	movups	%xmm0, 60(%rbx)
	movl	80(%rbx), %edi
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	shll	$2, %r15d
	movl	%r15d, %edx
	callq	_memset
	movl	76(%rbx), %edi
	movl	(%r12), %esi
	shll	$2, %r14d
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HIGHEST_TRANSFORMSTATE,8,3     ## @HIGHEST_TRANSFORMSTATE
	.comm	_WINEHIGHEST_RENDER_STATE,8,3   ## @WINEHIGHEST_RENDER_STATE
	.comm	_MAX_TEXTURES,4,2               ## @MAX_TEXTURES
	.comm	_MAX_COMBINED_SAMPLERS,4,2      ## @MAX_COMBINED_SAMPLERS
	.comm	_MAX_CLIP_DISTANCES,4,2         ## @MAX_CLIP_DISTANCES
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_stateblock_savedstates_set_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function stateblock_savedstates_set_all
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	65535                           ; 0xffff
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	65535                           ; 0xffff
	.long	1048575                         ; 0xfffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_stateblock_savedstates_set_all:        ; @stateblock_savedstates_set_all
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	movi.4s	v0, #1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	stp	q0, q1, [x0]
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x0, #32]
	ldr	w0, [x0, #88]
Lloh4:
	adrp	x8, _HIGHEST_TRANSFORMSTATE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HIGHEST_TRANSFORMSTATE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x1, x8, #1
	bl	_stateblock_set_bits
	ldr	w0, [x20, #84]
Lloh7:
	adrp	x8, _WINEHIGHEST_RENDER_STATE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WINEHIGHEST_RENDER_STATE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	add	x1, x8, #1
	bl	_stateblock_set_bits
Lloh10:
	adrp	x8, _MAX_TEXTURES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_TEXTURES@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x20, #40]
	mov	w11, #262143
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldr	w12, [x8]
	cmp	x9, x12
	b.lo	LBB0_2
LBB0_3:
Lloh12:
	adrp	x8, _MAX_COMBINED_SAMPLERS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_COMBINED_SAMPLERS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_6
; %bb.4:
	mov	x9, #0
	ldr	x10, [x20, #48]
	mov	w11, #16382
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldr	w12, [x8]
	cmp	x9, x12
	b.lo	LBB0_5
LBB0_6:
Lloh14:
	adrp	x8, _MAX_CLIP_DISTANCES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_CLIP_DISTANCES@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w8, w8
	str	w8, [x20, #56]
	movi.2d	v0, #0x00ffff0000ffff
	stur	q0, [x20, #60]
	ldr	w0, [x20, #80]
Lloh17:
	adrp	x22, _TRUE@GOTPAGE
Lloh18:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	w1, [x22]
	lsl	w2, w21, #2
	bl	_memset
	ldr	w0, [x20, #76]
	ldr	w1, [x22]
	lsl	w2, w19, #2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HIGHEST_TRANSFORMSTATE,8,3     ; @HIGHEST_TRANSFORMSTATE
	.comm	_WINEHIGHEST_RENDER_STATE,8,3   ; @WINEHIGHEST_RENDER_STATE
	.comm	_MAX_TEXTURES,4,2               ; @MAX_TEXTURES
	.comm	_MAX_COMBINED_SAMPLERS,4,2      ; @MAX_COMBINED_SAMPLERS
	.comm	_MAX_CLIP_DISTANCES,4,2         ; @MAX_CLIP_DISTANCES
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_stateblock_savedstates_set_all
.subsections_via_symbols
