	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srp_Verify_N_and_g
_srp_Verify_N_and_g:                    ## @srp_Verify_N_and_g
	.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	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	testq	%r12, %r12
	je	LBB0_12
## %bb.2:
	testq	%r13, %r13
	je	LBB0_12
## %bb.3:
	movq	%rbx, %rdi
	callq	_BN_is_odd
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	_SRP_NUMBER_ITERATIONS_FOR_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_BN_is_prime_ex
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.5:
	testq	%r15, %r15
	je	LBB0_12
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_BN_rshift1
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	_SRP_NUMBER_ITERATIONS_FOR_PRIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_BN_is_prime_ex
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	_BN_mod_exp
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_BN_add_word
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_BN_cmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	callq	_BN_CTX_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRP_NUMBER_ITERATIONS_FOR_PRIME,4,2 ## @SRP_NUMBER_ITERATIONS_FOR_PRIME
	.no_dead_strip	_srp_Verify_N_and_g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srp_Verify_N_and_g
_srp_Verify_N_and_g:                    ; @srp_Verify_N_and_g
	.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
	mov	x23, x1
	mov	x22, x0
	bl	_BN_CTX_new
	mov	x19, x0
	bl	_BN_new
	mov	x20, x0
	bl	_BN_new
	mov	x21, x0
	mov	w24, #0
	cbz	x22, LBB0_12
; %bb.1:
	cbz	x23, LBB0_12
; %bb.2:
	cbz	x19, LBB0_12
; %bb.3:
	mov	x0, x22
	bl	_BN_is_odd
	cbz	x0, LBB0_11
; %bb.4:
Lloh0:
	adrp	x24, _SRP_NUMBER_ITERATIONS_FOR_PRIME@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SRP_NUMBER_ITERATIONS_FOR_PRIME@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x19
	mov	x3, #0
	bl	_BN_is_prime_ex
	cmp	w0, #1
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_11
; %bb.5:
	mov	x0, x20
	mov	x1, x22
	bl	_BN_rshift1
	cbz	x0, LBB0_11
; %bb.6:
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x19
	mov	x3, #0
	bl	_BN_is_prime_ex
	mov	w24, #0
	cmp	w0, #1
	b.ne	LBB0_12
; %bb.7:
	cbz	x21, LBB0_12
; %bb.8:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	mov	x4, x19
	bl	_BN_mod_exp
	cbz	x0, LBB0_11
; %bb.9:
	mov	x0, x21
	mov	w1, #1
	bl	_BN_add_word
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	mov	x1, x22
	bl	_BN_cmp
	cmp	x0, #0
	cset	w24, eq
	b	LBB0_12
LBB0_11:
	mov	w24, #0
LBB0_12:
	mov	x0, x21
	bl	_BN_free
	mov	x0, x20
	bl	_BN_free
	mov	x0, x19
	bl	_BN_CTX_free
	mov	x0, x24
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SRP_NUMBER_ITERATIONS_FOR_PRIME,4,2 ; @SRP_NUMBER_ITERATIONS_FOR_PRIME
	.no_dead_strip	_srp_Verify_N_and_g
.subsections_via_symbols
