	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function field_tests
_field_tests:                           ## @field_tests
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_BN_CTX_start
	movq	%rbx, %rdi
	callq	_BN_CTX_get
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_BN_CTX_get
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_BN_CTX_get
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_TEST_ptr
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	callq	_EC_GROUP_new
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_BN_bin2bn
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movslq	%r12d, %rdi
	addq	%r13, %rdi
	movl	%r12d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_BN_bin2bn
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	leal	(%r12,%r12), %eax
	cltq
	addq	%rax, %r13
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_BN_bin2bn
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_EC_GROUP_set_curve
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_group_field_tests
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_9
LBB0_2:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%rbx, %rdi
	callq	_BN_CTX_end
	movq	%rbx, %rdi
	callq	_BN_CTX_free
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_EC_GROUP_free
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_field_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function field_tests
_field_tests:                           ; @field_tests
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_BN_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_BN_CTX_start
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x23, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x24, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x25, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x20
	bl	_EC_GROUP_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_10
; %bb.3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_BN_bin2bn
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.4:
	sxtw	x26, w21
	add	x0, x22, x26
	mov	x1, x21
	mov	x2, x24
	bl	_BN_bin2bn
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.5:
	add	x0, x22, x26, lsl #1
	mov	x1, x21
	mov	x2, x25
	bl	_BN_bin2bn
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x19
	bl	_EC_GROUP_set_curve
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_group_field_tests
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_11
LBB0_8:
	mov	w21, #0
	b	LBB0_13
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x19
	bl	_BN_CTX_end
	mov	x0, x19
	bl	_BN_CTX_free
	cbz	x20, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_EC_GROUP_free
LBB0_13:
	mov	x0, x21
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_field_tests
.subsections_via_symbols
