	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_snow_reset_contexts         ## -- Begin function ff_snow_reset_contexts
	.p2align	4, 0x90
_ff_snow_reset_contexts:                ## @ff_snow_reset_contexts
	.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
	movq	%rdi, %r12
	movq	_MAX_DECOMPOSITIONS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_15
## %bb.1:
	xorl	%r13d, %r13d
	movq	_MID_STATE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%ebx, %ebx
	testq	%r13, %r13
	setne	%bl
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	movl	$4, %edx
	callq	_memset
	incq	%rbx
	cmpq	$4, %rbx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jl	LBB0_2
## %bb.5:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.6:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	xorl	%ebx, %ebx
	testq	%r13, %r13
	setne	%bl
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	8(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	movl	$4, %edx
	callq	_memset
	incq	%rbx
	cmpq	$4, %rbx
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jl	LBB0_7
## %bb.10:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.11:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	xorl	%ebx, %ebx
	testq	%r13, %r13
	setne	%bl
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	16(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	movl	$4, %edx
	callq	_memset
	incq	%rbx
	cmpq	$4, %rbx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jl	LBB0_12
LBB0_15:
	movl	4(%r12), %edi
	movq	_MID_STATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r12), %edi
	movl	(%rbx), %esi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DECOMPOSITIONS,4,2         ## @MAX_DECOMPOSITIONS
	.comm	_MID_STATE,4,2                  ## @MID_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_snow_reset_contexts         ; -- Begin function ff_snow_reset_contexts
	.p2align	2
_ff_snow_reset_contexts:                ; @ff_snow_reset_contexts
	.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	x19, x0
Lloh0:
	adrp	x21, _MAX_DECOMPOSITIONS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_DECOMPOSITIONS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x20, _MID_STATE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MID_STATE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x22, #0
	mov	w23, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, #0
	cset	w8, ne
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	lsl	x25, x22, #3
	ldr	x9, [x9, x25]
	ldr	w0, [x9, w8, uxtw #2]
	ldr	w1, [x20]
	cinc	x24, x23, ne
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, x25]
	ldr	w0, [x8, x24, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	add	x8, x24, #1
	cmp	x8, #4
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	add	x8, x24, #2
	cmp	x8, #4
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	b	LBB0_2
LBB0_6:
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.7:
	mov	x22, #0
	mov	w23, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, #0
	cset	w8, ne
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #8]
	lsl	x25, x22, #3
	ldr	x9, [x9, x25]
	ldr	w0, [x9, w8, uxtw #2]
	ldr	w1, [x20]
	cinc	x24, x23, ne
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x25]
	ldr	w0, [x8, x24, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	add	x8, x24, #1
	cmp	x8, #4
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #8]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	add	x8, x24, #2
	cmp	x8, #4
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #8]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	b	LBB0_8
LBB0_12:
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.13:
	mov	x22, #0
	mov	w23, #1
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_18
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	x22, #0
	cset	w8, ne
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #16]
	lsl	x25, x22, #3
	ldr	x9, [x9, x25]
	ldr	w0, [x9, w8, uxtw #2]
	ldr	w1, [x20]
	cinc	x24, x23, ne
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8, x25]
	ldr	w0, [x8, x24, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	add	x8, x24, #1
	cmp	x8, #4
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #16]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	add	x8, x24, #2
	cmp	x8, #4
	b.eq	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, #16]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	b	LBB0_14
LBB0_18:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	mov	w2, #4
	bl	_memset
	ldr	w0, [x19]
	ldr	w1, [x20]
	mov	w2, #4
	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
	b	_memset
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DECOMPOSITIONS,4,2         ; @MAX_DECOMPOSITIONS
	.comm	_MID_STATE,4,2                  ; @MID_STATE
.subsections_via_symbols
