	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf_strong_reduce               ## -- Begin function gf_strong_reduce
	.p2align	4, 0x90
_gf_strong_reduce:                      ## @gf_strong_reduce
	.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, %r14
	callq	_gf_weak_reduce
	movq	_NLIMBS@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	cmpl	$0, (%r15)
	movl	$0, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r14
	movl	%ebx, %edi
	callq	_LIMBPERM
	addl	(%r14,%rax,4), %r13d
	movq	_MODULUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	%ebx, %edi
	callq	_LIMBPERM
	subl	(%r14,%rax,8), %r13d
	movl	%ebx, %edi
	callq	_LIMBPERM
	movq	%rax, %rdi
	callq	_LIMB_MASK
	movl	%eax, %r15d
	andl	%r13d, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movl	%ebx, %edi
	callq	_LIMBPERM
	movl	%r15d, (%r14,%rax,4)
	movq	_NLIMBS@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%ebx, %edi
	callq	_LIMBPERM
	movq	%rax, %rdi
	callq	_LIMB_PLACE_VALUE
	movl	%eax, %ecx
	sarl	%cl, %r13d
	incl	%ebx
	cmpl	(%r15), %ebx
	jb	LBB0_2
LBB0_3:
	leal	1(%r13), %eax
	xorl	%edi, %edi
	cmpl	$2, %eax
	setb	%dil
	callq	_assert
	cmpl	$0, (%r15)
	je	LBB0_6
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movl	%r14d, %edi
	callq	_LIMBPERM
	addl	(%r15,%rax,4), %ebx
	movq	_MODULUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movl	%r14d, %edi
	callq	_LIMBPERM
	movl	(%r15,%rax,8), %r12d
	andl	%r13d, %r12d
	addl	%ebx, %r12d
	movl	%r14d, %edi
	callq	_LIMBPERM
	movq	%rax, %rdi
	callq	_LIMB_MASK
	movl	%eax, %r15d
	andl	%r12d, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	%r14d, %edi
	callq	_LIMBPERM
	movl	%r15d, (%rbx,%rax,4)
	movl	%r14d, %edi
	callq	_LIMBPERM
	movq	%rax, %rdi
	callq	_LIMB_PLACE_VALUE
	movl	%eax, %ecx
	sarl	%cl, %r12d
	incl	%r14d
	movl	%r12d, %ebx
	movq	_NLIMBS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jb	LBB0_5
LBB0_6:
	movslq	%r13d, %rax
	cmpl	$2, %r12d
	setl	%cl
	movslq	%r12d, %rdx
	addq	%rax, %rdx
	sete	%al
	andb	%cl, %al
	movzbl	%al, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NLIMBS,4,2                     ## @NLIMBS
	.comm	_MODULUS,8,3                    ## @MODULUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf_strong_reduce               ; -- Begin function gf_strong_reduce
	.p2align	2
_gf_strong_reduce:                      ; @gf_strong_reduce
	.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
	bl	_gf_weak_reduce
Lloh0:
	adrp	x21, _NLIMBS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NLIMBS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _MODULUS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MODULUS@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w20, #0
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19]
	mov	x0, x20
	bl	_LIMBPERM
	ldr	w8, [x24, x0, lsl #2]
	add	w23, w8, w23
	ldr	x8, [x22]
	ldr	x24, [x8]
	mov	x0, x20
	bl	_LIMBPERM
	ldr	x8, [x24, x0, lsl #3]
	sub	w23, w23, w8
	mov	x0, x20
	bl	_LIMBPERM
	bl	_LIMB_MASK
	and	w24, w23, w0
	ldr	x25, [x19]
	mov	x0, x20
	bl	_LIMBPERM
	str	w24, [x25, x0, lsl #2]
	mov	x0, x20
	bl	_LIMBPERM
	bl	_LIMB_PLACE_VALUE
	asr	w23, w23, w0
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w23, #0
LBB0_4:
	add	w8, w23, #1
	cmp	w8, #2
	cset	w0, lo
	bl	_assert
	ldr	w8, [x21]
	cbz	w8, LBB0_7
; %bb.5:
	mov	w20, #0
	mov	w24, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19]
	mov	x0, x20
	bl	_LIMBPERM
	ldr	w8, [x25, x0, lsl #2]
	add	w24, w8, w24
	ldr	x8, [x22]
	ldr	x25, [x8]
	mov	x0, x20
	bl	_LIMBPERM
	ldr	x8, [x25, x0, lsl #3]
	and	w8, w23, w8
	add	w24, w24, w8
	mov	x0, x20
	bl	_LIMBPERM
	bl	_LIMB_MASK
	and	w25, w24, w0
	ldr	x26, [x19]
	mov	x0, x20
	bl	_LIMBPERM
	str	w25, [x26, x0, lsl #2]
	mov	x0, x20
	bl	_LIMBPERM
	bl	_LIMB_PLACE_VALUE
	asr	w24, w24, w0
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lo	LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w24, #0
LBB0_8:
	sxtw	x8, w24
	cmn	x8, w23, sxtw
	ccmp	w24, #2, #0, eq
	cset	w0, lt
	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	_assert
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NLIMBS,4,2                     ; @NLIMBS
	.comm	_MODULUS,8,3                    ; @MODULUS
.subsections_via_symbols
