	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ff_build_rac_states
LCPI0_0:
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_build_rac_states
	.p2align	4, 0x90
_ff_build_rac_states:                   ## @ff_build_rac_states
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	8(%r15), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movslq	%r14d, %rcx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	movq	%rax, %rbx
	cmpq	$128, %rax
	je	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rbx
	jge	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%rbx), %eax
	cmpl	$254, %eax
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	leal	1(%rbx), %edx
	movl	%edx, (%rax,%rbx,4)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rbx), %rax
	cmpq	%rcx, %rax
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$254, %ebx
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rdx
	leal	2(%rbx), %esi
	movl	%esi, 4(%rdx,%rbx,4)
	jmp	LBB0_7
LBB0_8:
	movl	$256, %edx                      ## imm = 0x100
	subl	%r14d, %edx
	movq	8(%r15), %rax
	cmpl	%r14d, %edx
	jle	LBB0_9
LBB0_13:
	movq	(%r15), %rcx
	leaq	4(%rcx), %rdx
	leaq	1024(%rax), %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_15
## %bb.14:
	leaq	1020(%rcx), %rdx
	leaq	8(%rax), %rdi
	movl	$1, %esi
	cmpq	%rdx, %rdi
	jb	LBB0_18
LBB0_15:
	leaq	52(%rcx), %rdx
	movl	$240, %esi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [256,256,256,256]
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqu	32(%rax,%rsi,4), %xmm1
	movdqu	48(%rax,%rsi,4), %xmm2
	movdqa	%xmm0, %xmm3
	psubd	%xmm2, %xmm3
	pshufd	$27, %xmm3, %xmm2               ## xmm2 = xmm3[3,2,1,0]
	movdqa	%xmm0, %xmm3
	psubd	%xmm1, %xmm3
	pshufd	$27, %xmm3, %xmm1               ## xmm1 = xmm3[3,2,1,0]
	movdqu	%xmm2, -48(%rdx)
	movdqu	%xmm1, -32(%rdx)
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movdqu	(%rax,%rsi,4), %xmm1
	movdqu	16(%rax,%rsi,4), %xmm2
	movdqa	%xmm0, %xmm3
	psubd	%xmm2, %xmm3
	pshufd	$27, %xmm3, %xmm2               ## xmm2 = xmm3[3,2,1,0]
	movdqa	%xmm0, %xmm3
	psubd	%xmm1, %xmm3
	pshufd	$27, %xmm3, %xmm1               ## xmm1 = xmm3[3,2,1,0]
	movdqu	%xmm2, -16(%rdx)
	movdqu	%xmm1, (%rdx)
	addq	$-16, %rsi
	addq	$64, %rdx
	jmp	LBB0_16
LBB0_9:
	movslq	%edx, %rdi
	leal	1(%r14), %r8d
	movl	$257, %esi                      ## imm = 0x101
	subl	%r14d, %esi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%esi
	movq	%rbx, %rdi
	cmpl	%r8d, %edx
	je	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdi), %rbx
	cmpl	$0, (%rax,%rdi,4)
	movl	%esi, %edx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rcx, %rdi
	movl	%r14d, %edx
	cmovll	%esi, %edx
	movl	%edx, (%rax,%rdi,4)
	movl	%ebx, %edx
	jmp	LBB0_12
LBB0_17:
	movl	$249, %esi
LBB0_18:
	leaq	(%rcx,%rsi,4), %rdx
	movl	$256, %ecx                      ## imm = 0x100
	subq	%rsi, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	$256, %edi                      ## imm = 0x100
	subl	(%rax,%rcx,4), %edi
	movl	%edi, (%rdx,%rsi)
	addq	$4, %rsi
	decq	%rcx
	cmpq	$8, %rsi
	jne	LBB0_19
## %bb.20:
	addq	%rsi, %rdx
	addq	$12, %rdx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	$256, %esi                      ## imm = 0x100
	subl	(%rax,%rcx,4), %esi
	movl	%esi, -12(%rdx)
	movl	$256, %esi                      ## imm = 0x100
	subl	-4(%rax,%rcx,4), %esi
	movl	%esi, -8(%rdx)
	movl	$256, %esi                      ## imm = 0x100
	subl	-8(%rax,%rcx,4), %esi
	movl	%esi, -4(%rdx)
	movl	$256, %esi                      ## imm = 0x100
	subl	-12(%rax,%rcx,4), %esi
	movl	%esi, (%rdx)
	addq	$-4, %rcx
	addq	$16, %rdx
	cmpq	$1, %rcx
	jne	LBB0_21
## %bb.22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_build_rac_states            ; -- Begin function ff_build_rac_states
	.p2align	2
_ff_build_rac_states:                   ; @ff_build_rac_states
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x8, #0
	sxtw	x9, w20
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x8, #128
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x9
	b.ge	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w10, w8, #1
	cmp	w10, #254
	b.hi	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x19, #8]
	add	w11, w8, #1
	str	w11, [x10, x8, lsl #2]
	b	LBB0_1
LBB0_5:
	mov	w10, #256
	ldr	x8, [x19, #8]
	sub	w10, w10, w20
	cmp	w10, w20
	b.le	LBB0_9
LBB0_6:
	ldr	x9, [x19]
	add	x10, x9, #4
	add	x11, x9, #1020
	add	x12, x8, #8
	add	x13, x8, #1024
	cmp	x10, x13
	ccmp	x12, x11, #2, lo
	b.lo	LBB0_13
; %bb.7:
	add	x11, x9, #36
	mov	w12, #960
	movi.4s	v0, #1, lsl #8
	mov	w10, #241
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x13, x8, x12
	ldp	q2, q1, [x13, #32]
	ldp	q4, q3, [x13]
	sub.4s	v1, v0, v1
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	sub.4s	v2, v0, v2
	rev64.4s	v2, v2
	ext.16b	v2, v2, v2, #8
	sub.4s	v3, v0, v3
	rev64.4s	v3, v3
	ext.16b	v3, v3, v3, #8
	sub.4s	v4, v0, v4
	rev64.4s	v4, v4
	stp	q1, q2, [x11, #-32]
	ext.16b	v1, v4, v4, #8
	stp	q3, q1, [x11], #64
	subs	x12, x12, #64
	b.ne	LBB0_8
	b	LBB0_14
LBB0_9:
	sxtw	x12, w10
	add	w10, w20, #1
	mov	w11, #257
	sub	w11, w11, w20
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w11, w11, #1
	mov	x12, x13
	cmp	w14, w10
	b.eq	LBB0_6
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x8, x12, lsl #2]
	add	x13, x12, #1
	mov	x14, x11
	cbnz	w15, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x12, x9
	csel	w14, w11, w20, lt
	str	w14, [x8, x12, lsl #2]
	mov	x14, x13
	b	LBB0_10
LBB0_13:
	mov	w10, #1
LBB0_14:
	mov	w11, #256
	sub	x12, x11, x10
	add	x8, x8, x12, lsl #2
	lsl	x10, x10, #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8], #-4
	sub	w12, w11, w12
	str	w12, [x9, x10]
	add	x10, x10, #4
	cmp	x10, #1020
	b.ne	LBB0_15
; %bb.16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
