	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_field_inv_all_var          ## -- Begin function run_field_inv_all_var
	.p2align	4, 0x90
_run_field_inv_all_var:                 ## @run_field_inv_all_var
	.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
	subq	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r15d, %r15d
	leaq	-176(%rbp), %r12
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_secp256k1_fe_inv_all_var
	movq	_count@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jg	LBB0_1
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_secp256k1_fe_inv_all_var
	leaq	-240(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_secp256k1_fe_inv_all_var
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r15d
	movq	_count@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_10
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movl	$15, %edi
	callq	_secp256k1_rand_int
	incl	%eax
	movslq	%eax, %rbx
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$2, %rbx
	movl	$1, %r13d
	movq	%rbx, -248(%rbp)                ## 8-byte Spill
	cmovaeq	%rbx, %r13
	leaq	-112(%rbp), %rbx
	movq	%r13, %r14
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_random_fe_non_zero
	addq	$4, %rbx
	decq	%r14
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rsi
	movq	-248(%rbp), %rdx                ## 8-byte Reload
	callq	_secp256k1_fe_inv_all_var
	movq	%r12, %r14
	movq	%r13, %r12
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_check_fe_inverse
	movl	%eax, %edi
	callq	_CHECK
	addq	$4, %r14
	addq	$4, %rbx
	decq	%r12
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-240(%rbp), %rbx
	movq	%rbx, %rdi
	leaq	-176(%rbp), %r12
	movq	%r12, %rsi
	movq	-248(%rbp), %rdx                ## 8-byte Reload
	callq	_secp256k1_fe_inv_all_var
	leaq	-112(%rbp), %r14
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_check_fe_equal
	movl	%eax, %edi
	callq	_CHECK
	addq	$4, %rbx
	addq	$4, %r14
	decq	%r13
	jne	LBB0_8
	jmp	LBB0_9
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_count,4,2                      ## @count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_field_inv_all_var          ; -- Begin function run_field_inv_all_var
	.p2align	2
_run_field_inv_all_var:                 ; @run_field_inv_all_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x0, sp, #72
	add	x1, sp, #136
	mov	x2, #0
	bl	_secp256k1_fe_inv_all_var
Lloh3:
	adrp	x22, _count@GOTPAGE
Lloh4:
	ldr	x22, [x22, _count@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #72
	add	x1, sp, #136
	mov	x2, x19
	bl	_secp256k1_fe_inv_all_var
	add	x0, sp, #8
	add	x1, sp, #72
	mov	x2, x19
	bl	_secp256k1_fe_inv_all_var
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	mov	w0, #15
	bl	_secp256k1_rand_int
	adds	w8, w0, #1
	sxtw	x19, w8
	b.hs	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x19, #1
	csinc	x24, x19, xzr, hi
	add	x20, sp, #136
	mov	x21, x24
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_random_fe_non_zero
	add	x20, x20, #4
	subs	x21, x21, #1
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, sp, #72
	add	x21, sp, #136
	add	x0, sp, #72
	add	x1, sp, #136
	mov	x2, x19
	bl	_secp256k1_fe_inv_all_var
	mov	x25, x24
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_check_fe_inverse
	bl	_CHECK
	add	x20, x20, #4
	add	x21, x21, #4
	subs	x25, x25, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, sp, #8
	add	x0, sp, #8
	add	x1, sp, #72
	mov	x2, x19
	bl	_secp256k1_fe_inv_all_var
	add	x19, sp, #136
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x20
	bl	_check_fe_equal
	bl	_CHECK
	add	x20, x20, #4
	add	x19, x19, #4
	subs	x24, x24, #1
	b.ne	LBB0_10
	b	LBB0_3
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_count,4,2                      ; @count
.subsections_via_symbols
