	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_EC_prime_i31
_test_EC_prime_i31:                     ## @test_EC_prime_i31
	.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	_BR_EC_secp256r1@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_BR_EC_secp384r1@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	movl	$1, %ebx
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	movq	_BR_EC_secp521r1@GOTPCREL(%rip), %r12
	movb	(%r12), %al
	btsl	%eax, %edx
	leaq	L_.str(%rip), %r14
	movq	_br_ec_prime_i31@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_test_EC_KAT
	movb	(%r13), %cl
	shll	%cl, %ebx
	movq	_BR_EC_secp256r1@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %ebx
	movb	(%r12), %al
	btsl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_EC_keygen                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EC_prime_i31"

	.comm	_br_ec_prime_i31,4,2            ## @br_ec_prime_i31
	.comm	_BR_EC_secp256r1,4,2            ## @BR_EC_secp256r1
	.comm	_BR_EC_secp384r1,4,2            ## @BR_EC_secp384r1
	.comm	_BR_EC_secp521r1,4,2            ## @BR_EC_secp521r1
	.no_dead_strip	_test_EC_prime_i31
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_EC_prime_i31
_test_EC_prime_i31:                     ; @test_EC_prime_i31
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _BR_EC_secp256r1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BR_EC_secp256r1@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	w22, #1
	lsl	w8, w22, w8
Lloh2:
	adrp	x23, _BR_EC_secp384r1@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BR_EC_secp384r1@GOTPAGEOFF]
	ldr	w9, [x23]
	lsl	w9, w22, w9
	orr	w8, w9, w8
Lloh4:
	adrp	x24, _BR_EC_secp521r1@GOTPAGE
Lloh5:
	ldr	x24, [x24, _BR_EC_secp521r1@GOTPAGEOFF]
	ldr	w9, [x24]
	lsl	w9, w22, w9
	orr	w2, w8, w9
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
Lloh8:
	adrp	x20, _br_ec_prime_i31@GOTPAGE
Lloh9:
	ldr	x20, [x20, _br_ec_prime_i31@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_test_EC_KAT
	ldr	w8, [x21]
	lsl	w8, w22, w8
	ldr	w9, [x23]
	lsl	w9, w22, w9
	orr	w8, w9, w8
	ldr	w9, [x24]
	lsl	w9, w22, w9
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_test_EC_keygen
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EC_prime_i31"

	.comm	_br_ec_prime_i31,4,2            ; @br_ec_prime_i31
	.comm	_BR_EC_secp256r1,4,2            ; @BR_EC_secp256r1
	.comm	_BR_EC_secp384r1,4,2            ; @BR_EC_secp384r1
	.comm	_BR_EC_secp521r1,4,2            ; @BR_EC_secp521r1
	.no_dead_strip	_test_EC_prime_i31
.subsections_via_symbols
