	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SRP_Calc_B                     ## -- Begin function SRP_Calc_B
	.p2align	4, 0x90
_SRP_Calc_B:                            ## @SRP_Calc_B
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.2:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.3:
	movq	%rcx, %r15
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.4:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	xorl	%eax, %eax
	callq	_BN_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_BN_mod_exp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_srp_Calc_k
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	movq	%rax, %r15
	callq	_BN_mod_mul
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_BN_mod_add
	testl	%eax, %eax
	jne	LBB0_18
	jmp	LBB0_17
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_9:
	xorl	%r15d, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_11:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	xorl	%r15d, %r15d
	jmp	LBB0_18
LBB0_13:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_17:
	movq	%rbx, %rdi
	callq	_BN_free
	xorl	%ebx, %ebx
LBB0_18:
	movq	%r14, %rdi
	callq	_BN_CTX_free
	movq	%r12, %rdi
	callq	_BN_clear_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_clear_free
	movq	%r15, %rdi
	callq	_BN_free
LBB0_19:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SRP_Calc_B                     ; -- Begin function SRP_Calc_B
	.p2align	2
_SRP_Calc_B:                            ; @SRP_Calc_B
	.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	x20, #0
	cbz	x0, LBB0_19
; %bb.1:
	mov	x23, x1
	cbz	x1, LBB0_19
; %bb.2:
	mov	x24, x2
	cbz	x2, LBB0_19
; %bb.3:
	mov	x25, x3
	cbz	x3, LBB0_19
; %bb.4:
	mov	x26, x0
	bl	_BN_CTX_new
	cbz	x0, LBB0_12
; %bb.5:
	mov	x19, x0
	bl	_BN_new
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.6:
	bl	_BN_new
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.7:
	bl	_BN_new
	mov	x20, x0
	cbz	x0, LBB0_15
; %bb.8:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x26
	mov	x3, x23
	mov	x4, x19
	bl	_BN_mod_exp
	cbz	w0, LBB0_16
; %bb.9:
	mov	x0, x23
	mov	x1, x24
	bl	_srp_Calc_k
	mov	x24, x0
	cbz	x0, LBB0_17
; %bb.10:
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x19
	bl	_BN_mod_mul
	cbz	w0, LBB0_17
; %bb.11:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x19
	bl	_BN_mod_add
	cbnz	w0, LBB0_18
	b	LBB0_17
LBB0_12:
	mov	x20, #0
	b	LBB0_19
LBB0_13:
	mov	x22, #0
LBB0_14:
	mov	x20, #0
LBB0_15:
	mov	x24, #0
	b	LBB0_18
LBB0_16:
	mov	x24, #0
LBB0_17:
	mov	x0, x20
	bl	_BN_free
	mov	x20, #0
LBB0_18:
	mov	x0, x19
	bl	_BN_CTX_free
	mov	x0, x21
	bl	_BN_clear_free
	mov	x0, x22
	bl	_BN_clear_free
	mov	x0, x24
	bl	_BN_free
LBB0_19:
	mov	x0, x20
	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
.subsections_via_symbols
